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
|
*
|
|
@@ -6836,12 +6836,12 @@
|
|
|
6836
6836
|
ws.onmessage = (event) => {
|
|
6837
6837
|
if (!this.pinger)
|
|
6838
6838
|
return;
|
|
6839
|
-
console.debug('dexie-cloud WebSocket onmessage', event.data);
|
|
6840
6839
|
this.lastServerActivity = new Date();
|
|
6841
6840
|
try {
|
|
6842
6841
|
const msg = typeof event.data === 'string'
|
|
6843
6842
|
? TSON.parse(event.data)
|
|
6844
6843
|
: decodeYMessage(new Uint8Array(event.data));
|
|
6844
|
+
console.debug('dexie-cloud WebSocket onmessage', msg.type, msg);
|
|
6845
6845
|
if (msg.type === 'error') {
|
|
6846
6846
|
throw new Error(`Error message from dexie-cloud: ${msg.error}`);
|
|
6847
6847
|
}
|
|
@@ -6897,6 +6897,7 @@
|
|
|
6897
6897
|
this.webSocketStatus.value !== 'connected') {
|
|
6898
6898
|
this.webSocketStatus.next('connected');
|
|
6899
6899
|
}
|
|
6900
|
+
console.debug('dexie-cloud WebSocket send', msg.type, msg);
|
|
6900
6901
|
if (msg.type === 'ready') {
|
|
6901
6902
|
(_a = this.ws) === null || _a === void 0 ? void 0 : _a.send(TSON.stringify(msg));
|
|
6902
6903
|
}
|
|
@@ -7959,7 +7960,7 @@
|
|
|
7959
7960
|
const syncComplete = new rxjs.Subject();
|
|
7960
7961
|
dexie.cloud = {
|
|
7961
7962
|
// @ts-ignore
|
|
7962
|
-
version: "4.1.0-alpha.
|
|
7963
|
+
version: "4.1.0-alpha.8",
|
|
7963
7964
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
7964
7965
|
schema: null,
|
|
7965
7966
|
get currentUserId() {
|
|
@@ -8261,7 +8262,7 @@
|
|
|
8261
8262
|
}
|
|
8262
8263
|
}
|
|
8263
8264
|
// @ts-ignore
|
|
8264
|
-
dexieCloud.version = "4.1.0-alpha.
|
|
8265
|
+
dexieCloud.version = "4.1.0-alpha.8";
|
|
8265
8266
|
Dexie.Cloud = dexieCloud;
|
|
8266
8267
|
|
|
8267
8268
|
// In case the SW lives for a while, let it reuse already opened connections:
|