Skip to content

Commit

Permalink
Removed "user" and "server" prefix from api key credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Jun 19, 2023
1 parent f1489ab commit be5d4f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/realm/bindgen/js_opt_in_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ classes:
- custom
- username_password
- function
- user_api_key
- api_key

SyncUser:
methods:
Expand Down
2 changes: 1 addition & 1 deletion packages/realm/bindgen/vendor/realm-core
Submodule realm-core updated 81 files
+20 −0 .project
+58 −0 CHANGELOG.md
+2 −2 CMakeLists.txt
+17 −12 Jenkinsfile
+1 −10 Package.swift
+2 −4 bindgen/spec.yml
+3 −3 dependencies.list
+1 −1 evergreen/config.yml
+3 −0 evergreen/install_baas.sh
+1 −1 external/catch
+0 −0 linux.Dockerfile
+0 −2 packaging.Dockerfile
+2 −4 src/realm.h
+8 −0 src/realm/db.cpp
+4 −0 src/realm/db.hpp
+0 −39 src/realm/geospatial.hpp
+3 −9 src/realm/object-store/c_api/app.cpp
+1 −1 src/realm/object-store/impl/realm_coordinator.cpp
+26 −7 src/realm/object-store/results.cpp
+12 −0 src/realm/object-store/schema.cpp
+2 −0 src/realm/object-store/schema.hpp
+6 −2 src/realm/object-store/shared_realm.cpp
+7 −18 src/realm/object-store/sync/app_credentials.cpp
+5 −14 src/realm/object-store/sync/app_credentials.hpp
+5 −1 src/realm/object-store/sync/impl/emscripten/network_transport.cpp
+1 −1 src/realm/object-store/sync/sync_manager.cpp
+1 −1 src/realm/object-store/sync/sync_manager.hpp
+5 −23 src/realm/object-store/sync/sync_session.cpp
+177 −153 src/realm/parser/driver.cpp
+5 −4 src/realm/parser/driver.hpp
+6 −0 src/realm/query.cpp
+3 −0 src/realm/query.hpp
+66 −20 src/realm/query_engine.cpp
+21 −13 src/realm/query_engine.hpp
+77 −24 src/realm/sort_descriptor.cpp
+52 −7 src/realm/sort_descriptor.hpp
+149 −21 src/realm/sync/client.cpp
+13 −0 src/realm/sync/client_base.hpp
+15 −0 src/realm/sync/config.hpp
+1 −1 src/realm/sync/instruction_applier.cpp
+118 −95 src/realm/sync/noinst/client_impl_base.cpp
+5 −1 src/realm/sync/noinst/client_impl_base.hpp
+1 −1 src/realm/sync/noinst/client_reset.cpp
+1 −1 src/realm/sync/noinst/migration_store.cpp
+2 −2 src/realm/sync/noinst/migration_store.hpp
+7 −7 src/realm/sync/noinst/protocol_codec.hpp
+0 −29 src/realm/sync/subscriptions.cpp
+0 −4 src/realm/sync/subscriptions.hpp
+1 −1 test/benchmark-common-tasks/main.cpp
+66 −0 test/object-store/c_api/c_api.cpp
+168 −0 test/object-store/dictionary.cpp
+48 −4 test/object-store/realm.cpp
+45 −51 test/object-store/sync/app.cpp
+4 −4 test/object-store/sync/client_reset.cpp
+3 −3 test/object-store/sync/file.cpp
+7 −7 test/object-store/sync/flx_migration.cpp
+188 −38 test/object-store/sync/flx_sync.cpp
+8 −8 test/object-store/sync/metadata.cpp
+6 −6 test/object-store/sync/migration_store_test.cpp
+7 −7 test/object-store/sync/sync_manager.cpp
+5 −5 test/object-store/sync/user.cpp
+1 −1 test/object-store/util/test_utils.cpp
+4 −0 test/sync_fixtures.hpp
+1 −1 test/test_link_query_view.cpp
+45 −5 test/test_parser.cpp
+16 −16 test/test_query_geo.cpp
+63 −3 test/test_sync.cpp
+2 −2 test/test_table.cpp
+7 −7 test/test_table_view.cpp
+0 −29 tools/build-apple-device.sh
+1 −0 tools/build-cocoa.sh
+2 −2 tools/cmake/RealmConfig.cmake.in
+3 −0 tools/cmake/aarch64-linux-gnu.toolchain.cmake
+0 −16 tools/cmake/aarch64.toolchain.cmake
+0 −88 tools/cmake/android-build-openssl.sh.in
+0 −17 tools/cmake/armhf.toolchain.cmake
+3 −0 tools/cmake/armv7-linux-gnueabihf.toolchain.cmake
+19 −0 tools/cmake/linux.toolchain.base.cmake
+0 −3 tools/cmake/run_ldconfig.sh
+3 −0 tools/cmake/x86_64-linux-gnu.toolchain.cmake
+8 −33 tools/cmake/xcode.toolchain.cmake
2 changes: 1 addition & 1 deletion packages/realm/src/app-services/Credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class Credentials {
* @return {Credentials} An instance of `Credentials` that can be used in {@link App.logIn}.
*/
static apiKey(key: string): Credentials {
return new Credentials(binding.AppCredentials.userApiKey(key));
return new Credentials(binding.AppCredentials.apiKey(key));
}

/**
Expand Down

0 comments on commit be5d4f8

Please sign in to comment.