diff --git a/dependencies.list b/dependencies.list index 077e4324..cde7817d 100644 --- a/dependencies.list +++ b/dependencies.list @@ -1,5 +1,5 @@ PACKAGE_NAME=realm-js -VERSION=2.0.0-rc4 -REALM_CORE_VERSION=3.1.0 -REALM_SYNC_VERSION=2.0.0-rc18 -REALM_OBJECT_SERVER_VERSION=2.0.0-alpha.22 +VERSION=2.0.0-rc7 +REALM_CORE_VERSION=3.2.1 +REALM_SYNC_VERSION=2.0.0-rc21 +REALM_OBJECT_SERVER_VERSION=2.0.0-alpha.34 diff --git a/src/js_realm.hpp b/src/js_realm.hpp index f0e8ff08..6f85e18a 100644 --- a/src/js_realm.hpp +++ b/src/js_realm.hpp @@ -414,7 +414,7 @@ void RealmClass::constructor(ContextType ctx, ObjectType this_object, size_t static const String compact_on_launch_string = "shouldCompactOnLaunch"; ValueType compact_value = Object::get_property(ctx, object, compact_on_launch_string); if (!Value::is_undefined(ctx, compact_value)) { - if (config.schema_mode == SchemaMode::ReadOnly) { + if (config.schema_mode == SchemaMode::Immutable) { throw std::invalid_argument("Cannot set 'shouldCompactOnLaunch' when 'readOnly' is set."); } if (config.sync_config) { diff --git a/src/object-store b/src/object-store index d1a101fd..30b8a785 160000 --- a/src/object-store +++ b/src/object-store @@ -1 +1 @@ -Subproject commit d1a101fda6999e070c1e73cc5aff002c3de7c129 +Subproject commit 30b8a7853b17762719aa7671aac6ebea04473e33