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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.0.0-beta.
|
|
11
|
+
* Version 4.0.0-beta.22, Mon Sep 05 2022
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -2004,10 +2004,17 @@ const b64decode = typeof Buffer !== "undefined"
|
|
|
2004
2004
|
return bytes;
|
|
2005
2005
|
};
|
|
2006
2006
|
const b64encode = typeof Buffer !== "undefined"
|
|
2007
|
-
? (b) =>
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2007
|
+
? (b) => {
|
|
2008
|
+
if (ArrayBuffer.isView(b)) {
|
|
2009
|
+
return Buffer.from(b.buffer, b.byteOffset, b.byteLength).toString("base64");
|
|
2010
|
+
}
|
|
2011
|
+
else {
|
|
2012
|
+
return Buffer.from(b).toString("base64");
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
: (b) => {
|
|
2016
|
+
return btoa(String.fromCharCode.apply(null, ArrayBuffer.isView(b) ? b : new Uint8Array(b)));
|
|
2017
|
+
};
|
|
2011
2018
|
|
|
2012
2019
|
function interactWithUser(userInteraction, req) {
|
|
2013
2020
|
let done = false;
|
|
@@ -5861,7 +5868,7 @@ function dexieCloud(dexie) {
|
|
|
5861
5868
|
currentUserEmitter.next(UNAUTHORIZED_USER);
|
|
5862
5869
|
});
|
|
5863
5870
|
dexie.cloud = {
|
|
5864
|
-
version: '4.0.0-beta.
|
|
5871
|
+
version: '4.0.0-beta.22',
|
|
5865
5872
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
5866
5873
|
schema: null,
|
|
5867
5874
|
get currentUserId() {
|
|
@@ -6114,7 +6121,7 @@ function dexieCloud(dexie) {
|
|
|
6114
6121
|
});
|
|
6115
6122
|
}
|
|
6116
6123
|
}
|
|
6117
|
-
dexieCloud.version = '4.0.0-beta.
|
|
6124
|
+
dexieCloud.version = '4.0.0-beta.22';
|
|
6118
6125
|
Dexie.Cloud = dexieCloud;
|
|
6119
6126
|
|
|
6120
6127
|
export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId };
|