@dittolive/ditto 4.10.0-rc.2 → 4.10.0
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.
- package/README.md +2 -2
- package/node/ditto.cjs.js +3 -3
- package/node/ditto.darwin-arm64.node +0 -0
- package/node/ditto.darwin-x64.node +0 -0
- package/node/ditto.linux-arm64.node +0 -0
- package/node/ditto.linux-x64.node +0 -0
- package/node/ditto.win32-x64.node +0 -0
- package/package.json +1 -1
- package/react-native/ditto.es6.js +1 -1
- package/web/ditto.es6.js +1 -1
- package/web/ditto.umd.js +1 -1
- package/web/ditto.wasm +0 -0
package/README.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
_Ditto is a cross-platform SDK that allows mobile, web, and IoT apps to sync
|
|
4
4
|
with and even without connectivity._
|
|
5
5
|
|
|
6
|
-
Version: **4.10.0
|
|
6
|
+
Version: **4.10.0**
|
|
7
7
|
|
|
8
8
|
For more information please visit [ditto.live](https://ditto.live), as well as the
|
|
9
|
-
[API Reference](https://software.ditto.live/js/Ditto/4.10.0
|
|
9
|
+
[API Reference](https://software.ditto.live/js/Ditto/4.10.0/api-reference/) for this particular version.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
package/node/ditto.cjs.js
CHANGED
|
@@ -2174,7 +2174,7 @@ class AttachmentToken {
|
|
|
2174
2174
|
|
|
2175
2175
|
// NOTE: this is patched up with the actual build version by Jake task
|
|
2176
2176
|
// build:package and has to be a valid semantic version as defined here: https://semver.org.
|
|
2177
|
-
const fullBuildVersionString = '4.10.0
|
|
2177
|
+
const fullBuildVersionString = '4.10.0';
|
|
2178
2178
|
|
|
2179
2179
|
//
|
|
2180
2180
|
// Copyright © 2021 DittoLive Incorporated. All rights reserved.
|
|
@@ -9592,7 +9592,7 @@ class Ditto {
|
|
|
9592
9592
|
// _only_ for the onlineWithAuthentication and online identities and
|
|
9593
9593
|
// transfer ownership of it to the authenticator.
|
|
9594
9594
|
if (validIdentity.type === 'onlineWithAuthentication') {
|
|
9595
|
-
enableDittoCloudSync = (_a = validIdentity.enableDittoCloudSync) !== null && _a !== void 0 ? _a :
|
|
9595
|
+
enableDittoCloudSync = (_a = validIdentity.enableDittoCloudSync) !== null && _a !== void 0 ? _a : true;
|
|
9596
9596
|
this.auth = new OnlineAuthenticator(this.keepAlive, this, validIdentity.authHandler);
|
|
9597
9597
|
const loginProviderX = dittoAuthClientMakeLoginProvider(function (secondsRemaining) {
|
|
9598
9598
|
const strongThis = weakThis.deref();
|
|
@@ -9616,7 +9616,7 @@ class Ditto {
|
|
|
9616
9616
|
void dittoAuthSetLoginProvider(dittoPointer, loginProviderX);
|
|
9617
9617
|
}
|
|
9618
9618
|
else if (validIdentity.type === 'onlinePlayground') {
|
|
9619
|
-
enableDittoCloudSync = (_b = validIdentity.enableDittoCloudSync) !== null && _b !== void 0 ? _b :
|
|
9619
|
+
enableDittoCloudSync = (_b = validIdentity.enableDittoCloudSync) !== null && _b !== void 0 ? _b : true;
|
|
9620
9620
|
this.auth = new OnlineAuthenticator(this.keepAlive, this, {
|
|
9621
9621
|
authenticationRequired: function (authenticator) {
|
|
9622
9622
|
// No-op.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dittolive/ditto",
|
|
3
|
-
"version": "4.10.0
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "Ditto is a cross-platform SDK that allows apps to sync with and even without internet connectivity.",
|
|
5
5
|
"homepage": "https://ditto.live",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|