hyoo_sync_client 0.0.276 → 0.0.278
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/node.js +2 -2
- package/node.js.map +1 -1
- package/node.mjs +2 -2
- package/node.test.js +2 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +2 -2
- package/web.js.map +1 -1
- package/web.mjs +2 -2
package/node.mjs
CHANGED
|
@@ -4439,10 +4439,10 @@ var $;
|
|
|
4439
4439
|
return [...this.native.objectStoreNames];
|
|
4440
4440
|
}
|
|
4441
4441
|
read(...names) {
|
|
4442
|
-
return new $mol_db_transaction(this.native.transaction(names, 'readonly')).stores;
|
|
4442
|
+
return new $mol_db_transaction(this.native.transaction(names, 'readonly', { durability: 'relaxed' })).stores;
|
|
4443
4443
|
}
|
|
4444
4444
|
change(...names) {
|
|
4445
|
-
return new $mol_db_transaction(this.native.transaction(names, 'readwrite'));
|
|
4445
|
+
return new $mol_db_transaction(this.native.transaction(names, 'readwrite', { durability: 'relaxed' }));
|
|
4446
4446
|
}
|
|
4447
4447
|
kill() {
|
|
4448
4448
|
this.native.close();
|
package/node.test.js
CHANGED
|
@@ -4431,10 +4431,10 @@ var $;
|
|
|
4431
4431
|
return [...this.native.objectStoreNames];
|
|
4432
4432
|
}
|
|
4433
4433
|
read(...names) {
|
|
4434
|
-
return new $mol_db_transaction(this.native.transaction(names, 'readonly')).stores;
|
|
4434
|
+
return new $mol_db_transaction(this.native.transaction(names, 'readonly', { durability: 'relaxed' })).stores;
|
|
4435
4435
|
}
|
|
4436
4436
|
change(...names) {
|
|
4437
|
-
return new $mol_db_transaction(this.native.transaction(names, 'readwrite'));
|
|
4437
|
+
return new $mol_db_transaction(this.native.transaction(names, 'readwrite', { durability: 'relaxed' }));
|
|
4438
4438
|
}
|
|
4439
4439
|
kill() {
|
|
4440
4440
|
this.native.close();
|