dexie-cloud-addon 4.1.0-alpha.5 → 4.1.0-alpha.8
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 +5 -4
- 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 +5 -4
- 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/umd/dexie-cloud-addon.js +5 -4
- 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 +5 -4
- 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/package.json +2 -2
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.1.0-alpha.
|
|
11
|
+
* Version 4.1.0-alpha.8, Tue Oct 15 2024
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -6833,12 +6833,12 @@ class WSConnection extends Subscription$1 {
|
|
|
6833
6833
|
ws.onmessage = (event) => {
|
|
6834
6834
|
if (!this.pinger)
|
|
6835
6835
|
return;
|
|
6836
|
-
console.debug('dexie-cloud WebSocket onmessage', event.data);
|
|
6837
6836
|
this.lastServerActivity = new Date();
|
|
6838
6837
|
try {
|
|
6839
6838
|
const msg = typeof event.data === 'string'
|
|
6840
6839
|
? TSON.parse(event.data)
|
|
6841
6840
|
: decodeYMessage(new Uint8Array(event.data));
|
|
6841
|
+
console.debug('dexie-cloud WebSocket onmessage', msg.type, msg);
|
|
6842
6842
|
if (msg.type === 'error') {
|
|
6843
6843
|
throw new Error(`Error message from dexie-cloud: ${msg.error}`);
|
|
6844
6844
|
}
|
|
@@ -6894,6 +6894,7 @@ class WSConnection extends Subscription$1 {
|
|
|
6894
6894
|
this.webSocketStatus.value !== 'connected') {
|
|
6895
6895
|
this.webSocketStatus.next('connected');
|
|
6896
6896
|
}
|
|
6897
|
+
console.debug('dexie-cloud WebSocket send', msg.type, msg);
|
|
6897
6898
|
if (msg.type === 'ready') {
|
|
6898
6899
|
(_a = this.ws) === null || _a === void 0 ? void 0 : _a.send(TSON.stringify(msg));
|
|
6899
6900
|
}
|
|
@@ -7963,7 +7964,7 @@ function dexieCloud(dexie) {
|
|
|
7963
7964
|
const syncComplete = new Subject();
|
|
7964
7965
|
dexie.cloud = {
|
|
7965
7966
|
// @ts-ignore
|
|
7966
|
-
version: "4.1.0-alpha.
|
|
7967
|
+
version: "4.1.0-alpha.8",
|
|
7967
7968
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
7968
7969
|
schema: null,
|
|
7969
7970
|
get currentUserId() {
|
|
@@ -8265,7 +8266,7 @@ function dexieCloud(dexie) {
|
|
|
8265
8266
|
}
|
|
8266
8267
|
}
|
|
8267
8268
|
// @ts-ignore
|
|
8268
|
-
dexieCloud.version = "4.1.0-alpha.
|
|
8269
|
+
dexieCloud.version = "4.1.0-alpha.8";
|
|
8269
8270
|
Dexie.Cloud = dexieCloud;
|
|
8270
8271
|
|
|
8271
8272
|
export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId, resolveText };
|