subscribeToObjects is implemented in JS. (#1611)

This commit is contained in:
Kenneth Geisshirt 2018-01-12 10:28:05 +01:00 committed by GitHub
parent 425387c41a
commit fccc782612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ X.Y.Z Release notes
### Bug fixes
* Fix a bug where `Realm.open` could unexpectedly raise a "Realm at path ... already opened with different schema version" error.
* `subscribeToObjects` was added as a property for Chrome debugging (#1608).
* Increased request timeout for token refresh requests to 10 seconds. This
should help with failing token refreshes on a loaded server (#1586).
* Increased request timeout for token refresh requests to 10 seconds. This should help with failing token refreshes on a loaded server.

View File

@ -61,7 +61,6 @@ function setupRealm(realm, realmId) {
'syncSession',
'isInTransaction',
'isClosed',
'subscribeToObjects',
].forEach((name) => {
Object.defineProperty(realm, name, {get: util.getterForProperty(name)});
});
@ -131,6 +130,7 @@ util.createMethods(Realm.prototype, objectTypes.REALM, [
'close',
'_waitForDownload',
'_objectForObjectId',
'_subscribeToObjects',
]);
// Mutating methods: