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
|
@@ -101,7 +101,7 @@ function __spreadArray$1(to, from, pack) {
|
|
|
101
101
|
*
|
|
102
102
|
* ==========================================================================
|
|
103
103
|
*
|
|
104
|
-
* Version 4.0.0-beta.
|
|
104
|
+
* Version 4.0.0-beta.22, Mon Sep 05 2022
|
|
105
105
|
*
|
|
106
106
|
* https://dexie.org
|
|
107
107
|
*
|
|
@@ -2141,10 +2141,17 @@ var b64decode = typeof Buffer !== "undefined"
|
|
|
2141
2141
|
return bytes;
|
|
2142
2142
|
};
|
|
2143
2143
|
var b64encode = typeof Buffer !== "undefined"
|
|
2144
|
-
? function (b) {
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2144
|
+
? function (b) {
|
|
2145
|
+
if (ArrayBuffer.isView(b)) {
|
|
2146
|
+
return Buffer.from(b.buffer, b.byteOffset, b.byteLength).toString("base64");
|
|
2147
|
+
}
|
|
2148
|
+
else {
|
|
2149
|
+
return Buffer.from(b).toString("base64");
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
: function (b) {
|
|
2153
|
+
return btoa(String.fromCharCode.apply(null, ArrayBuffer.isView(b) ? b : new Uint8Array(b)));
|
|
2154
|
+
};
|
|
2148
2155
|
function interactWithUser(userInteraction, req) {
|
|
2149
2156
|
return new Promise(function (resolve, reject) {
|
|
2150
2157
|
var interactionProps = Object.assign(Object.assign({}, req), { onSubmit: function (res) {
|
|
@@ -6861,7 +6868,7 @@ function dexieCloud(dexie) {
|
|
|
6861
6868
|
currentUserEmitter.next(UNAUTHORIZED_USER);
|
|
6862
6869
|
});
|
|
6863
6870
|
dexie.cloud = {
|
|
6864
|
-
version: '4.0.0-beta.
|
|
6871
|
+
version: '4.0.0-beta.22',
|
|
6865
6872
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6866
6873
|
schema: null,
|
|
6867
6874
|
get currentUserId() {
|
|
@@ -7192,7 +7199,7 @@ function dexieCloud(dexie) {
|
|
|
7192
7199
|
});
|
|
7193
7200
|
}
|
|
7194
7201
|
}
|
|
7195
|
-
dexieCloud.version = '4.0.0-beta.
|
|
7202
|
+
dexieCloud.version = '4.0.0-beta.22';
|
|
7196
7203
|
Dexie.Cloud = dexieCloud;
|
|
7197
7204
|
|
|
7198
7205
|
export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId };
|