hyoo_sync_client 0.0.235 → 0.0.236
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.deps.json +1 -1
- package/node.js +2 -7
- package/node.js.map +1 -1
- package/node.mjs +2 -7
- package/node.test.js +2 -7
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +5 -14
- package/web.deps.json +1 -1
- package/web.js +27 -40
- package/web.js.map +1 -1
- package/web.mjs +27 -40
package/node.mjs
CHANGED
|
@@ -2626,12 +2626,7 @@ var $;
|
|
|
2626
2626
|
}
|
|
2627
2627
|
else {
|
|
2628
2628
|
this.native().setItem(key, JSON.stringify(next));
|
|
2629
|
-
|
|
2630
|
-
this.$.$mol_storage.persisted(true);
|
|
2631
|
-
}
|
|
2632
|
-
catch (error) {
|
|
2633
|
-
$mol_fail_log(error);
|
|
2634
|
-
}
|
|
2629
|
+
this.$.$mol_storage.persisted(true);
|
|
2635
2630
|
}
|
|
2636
2631
|
return next;
|
|
2637
2632
|
}
|
|
@@ -4407,7 +4402,7 @@ var $;
|
|
|
4407
4402
|
Unit.put(unit, [unit.land, unit.head, unit.self]);
|
|
4408
4403
|
}
|
|
4409
4404
|
await trans.commit();
|
|
4410
|
-
this.$.$mol_storage.
|
|
4405
|
+
this.$.$mol_storage.persisted(true);
|
|
4411
4406
|
}
|
|
4412
4407
|
reconnects(reset) {
|
|
4413
4408
|
return ($mol_wire_probe(() => this.reconnects()) ?? 0) + 1;
|
package/node.test.js
CHANGED
|
@@ -2618,12 +2618,7 @@ var $;
|
|
|
2618
2618
|
}
|
|
2619
2619
|
else {
|
|
2620
2620
|
this.native().setItem(key, JSON.stringify(next));
|
|
2621
|
-
|
|
2622
|
-
this.$.$mol_storage.persisted(true);
|
|
2623
|
-
}
|
|
2624
|
-
catch (error) {
|
|
2625
|
-
$mol_fail_log(error);
|
|
2626
|
-
}
|
|
2621
|
+
this.$.$mol_storage.persisted(true);
|
|
2627
2622
|
}
|
|
2628
2623
|
return next;
|
|
2629
2624
|
}
|
|
@@ -4399,7 +4394,7 @@ var $;
|
|
|
4399
4394
|
Unit.put(unit, [unit.land, unit.head, unit.self]);
|
|
4400
4395
|
}
|
|
4401
4396
|
await trans.commit();
|
|
4402
|
-
this.$.$mol_storage.
|
|
4397
|
+
this.$.$mol_storage.persisted(true);
|
|
4403
4398
|
}
|
|
4404
4399
|
reconnects(reset) {
|
|
4405
4400
|
return ($mol_wire_probe(() => this.reconnects()) ?? 0) + 1;
|