dexie-cloud-addon 4.0.0-beta.21 → 4.0.0-beta.22
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/dist/modern/dexie-cloud-addon.js +14 -7
- package/dist/modern/dexie-cloud-addon.js.map +1 -1
- package/dist/modern/dexie-cloud-addon.min.js +1 -1
- package/dist/modern/dexie-cloud-addon.min.js.map +1 -1
- package/dist/modern/service-worker.js +13 -6
- package/dist/modern/service-worker.js.map +1 -1
- package/dist/modern/service-worker.min.js +1 -1
- package/dist/modern/service-worker.min.js.map +1 -1
- package/dist/module-es5/dexie-cloud-addon.js +14 -7
- package/dist/module-es5/dexie-cloud-addon.js.map +1 -1
- package/dist/module-es5/dexie-cloud-addon.min.js +1 -1
- package/dist/module-es5/dexie-cloud-addon.min.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.js +14 -7
- package/dist/umd/dexie-cloud-addon.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.min.js +1 -1
- package/dist/umd/dexie-cloud-addon.min.js.map +1 -1
- package/dist/umd/service-worker.js +13 -6
- package/dist/umd/service-worker.js.map +1 -1
- package/dist/umd/service-worker.min.js +1 -1
- package/dist/umd/service-worker.min.js.map +1 -1
- package/dist/umd-modern/dexie-cloud-addon.js +11 -4
- package/dist/umd-modern/dexie-cloud-addon.js.map +1 -1
- package/package.json +2 -2
|
@@ -1794,10 +1794,17 @@ const b64decode = typeof Buffer !== "undefined"
|
|
|
1794
1794
|
return bytes;
|
|
1795
1795
|
};
|
|
1796
1796
|
const b64encode = typeof Buffer !== "undefined"
|
|
1797
|
-
? (b) =>
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1797
|
+
? (b) => {
|
|
1798
|
+
if (ArrayBuffer.isView(b)) {
|
|
1799
|
+
return Buffer.from(b.buffer, b.byteOffset, b.byteLength).toString("base64");
|
|
1800
|
+
}
|
|
1801
|
+
else {
|
|
1802
|
+
return Buffer.from(b).toString("base64");
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
: (b) => {
|
|
1806
|
+
return btoa(String.fromCharCode.apply(null, ArrayBuffer.isView(b) ? b : new Uint8Array(b)));
|
|
1807
|
+
};
|
|
1801
1808
|
|
|
1802
1809
|
function computeRealmSetHash({ realms, inviteRealms, }) {
|
|
1803
1810
|
return __awaiter$1(this, void 0, void 0, function* () {
|
|
@@ -5836,7 +5843,7 @@ function dexieCloud(dexie) {
|
|
|
5836
5843
|
currentUserEmitter.next(UNAUTHORIZED_USER);
|
|
5837
5844
|
});
|
|
5838
5845
|
dexie.cloud = {
|
|
5839
|
-
version: '4.0.0-beta.
|
|
5846
|
+
version: '4.0.0-beta.22',
|
|
5840
5847
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
5841
5848
|
schema: null,
|
|
5842
5849
|
get currentUserId() {
|
|
@@ -6089,7 +6096,7 @@ function dexieCloud(dexie) {
|
|
|
6089
6096
|
});
|
|
6090
6097
|
}
|
|
6091
6098
|
}
|
|
6092
|
-
dexieCloud.version = '4.0.0-beta.
|
|
6099
|
+
dexieCloud.version = '4.0.0-beta.22';
|
|
6093
6100
|
Dexie.Cloud = dexieCloud;
|
|
6094
6101
|
|
|
6095
6102
|
// In case the SW lives for a while, let it reuse already opened connections:
|