dexie-cloud-addon 4.4.10 → 4.4.12
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 +600 -451
- 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/middlewares/blobResolveMiddleware.d.ts +5 -4
- package/dist/modern/service-worker.js +406 -257
- 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/modern/sync/BlobDownloadTracker.d.ts +80 -20
- package/dist/modern/sync/BlobSavingQueue.d.ts +20 -2
- package/dist/modern/sync/eagerBlobDownloader.d.ts +37 -3
- package/dist/modern/types/TXExpandos.d.ts +2 -0
- package/dist/umd/dexie-cloud-addon.js +607 -458
- 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 +408 -259
- 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 +3 -3
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
* Uses Dexie.waitFor() only for explicit rw transactions to keep them alive.
|
|
9
9
|
* For readonly or implicit transactions, resolves directly (no waitFor needed).
|
|
10
10
|
*
|
|
11
|
-
* Resolved blobs are
|
|
12
|
-
*
|
|
13
|
-
* Each blob is saved atomically
|
|
14
|
-
* avoid race conditions with other
|
|
11
|
+
* Resolved blobs are persisted via db.blobDownloadTracker.enqueueSave(),
|
|
12
|
+
* which internally uses a queue that runs in a fresh JS task to completely
|
|
13
|
+
* isolate from Dexie's transaction context. Each blob is saved atomically
|
|
14
|
+
* using Table.update() with its keyPath to avoid race conditions with other
|
|
15
|
+
* property changes.
|
|
15
16
|
*
|
|
16
17
|
* Blob downloads use Authorization header (same as sync) via the server
|
|
17
18
|
* proxy endpoint: GET /blob/{ref}
|