mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
subscribeToObjects is implemented in JS. (#1611)
This commit is contained in:
parent
425387c41a
commit
fccc782612
@ -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.
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user