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
|
}
|
|
@@ -7966,7 +7967,7 @@
|
|
|
7966
7967
|
const syncComplete = new rxjs.Subject();
|
|
7967
7968
|
dexie.cloud = {
|
|
7968
7969
|
// @ts-ignore
|
|
7969
|
-
version: "4.1.0-alpha.
|
|
7970
|
+
version: "4.1.0-alpha.8",
|
|
7970
7971
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
7971
7972
|
schema: null,
|
|
7972
7973
|
get currentUserId() {
|
|
@@ -8268,7 +8269,7 @@
|
|
|
8268
8269
|
}
|
|
8269
8270
|
}
|
|
8270
8271
|
// @ts-ignore
|
|
8271
|
-
dexieCloud.version = "4.1.0-alpha.
|
|
8272
|
+
dexieCloud.version = "4.1.0-alpha.8";
|
|
8272
8273
|
Dexie.Cloud = dexieCloud;
|
|
8273
8274
|
|
|
8274
8275
|
exports.default = dexieCloud;
|