@dittolive/ditto 4.5.2-rc.3 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -269,6 +269,8 @@ const ditto = (function () {
269
269
  if (target === 'darwin-x64') return require('./ditto.darwin-x64.node')
270
270
  if (target === 'darwin-arm64') return require('./ditto.darwin-arm64.node')
271
271
  if (target === 'linux-x64') return require('./ditto.linux-x64.node')
272
+ if (target === 'linux-arm') return require('./ditto.linux-arm.node')
273
+ if (target === 'win32-x64') return require('./ditto.win32-x64.node')
272
274
  } catch (error) {
273
275
  throw new Error("Couldn't load native module 'ditto." + target + ".node' due to error:" + error.toString())
274
276
  }
@@ -1785,7 +1787,7 @@ class AttachmentToken {
1785
1787
 
1786
1788
  // NOTE: this is patched up with the actual build version by Jake task
1787
1789
  // build:package and has to be a valid semantic version as defined here: https://semver.org.
1788
- const fullBuildVersionString = '4.5.2-rc.2';
1790
+ const fullBuildVersionString = '4.5.2';
1789
1791
 
1790
1792
  //
1791
1793
  // Copyright © 2021 DittoLive Incorporated. All rights reserved.
@@ -9167,10 +9169,10 @@ class Ditto {
9167
9169
  *
9168
9170
  * @throws {Error} if called in a React Native environment.
9169
9171
  */
9170
- disableSyncWithV3() {
9172
+ async disableSyncWithV3() {
9171
9173
  const dittoHandle = Bridge.ditto.handleFor(this);
9172
- return this.deferClose(() => {
9173
- dittoDisableSyncWithV3(dittoHandle.deref());
9174
+ return this.deferCloseAsync(async () => {
9175
+ await dittoDisableSyncWithV3(dittoHandle.deref());
9174
9176
  });
9175
9177
  }
9176
9178
  /**