hyoo_sync_client 0.0.660 → 0.0.661
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.d.ts +11 -7
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +29 -21
- package/node.js.map +1 -1
- package/node.mjs +29 -21
- package/node.test.js +41 -21
- package/node.test.js.map +1 -1
- package/package.json +3 -2
- package/web.deps.json +1 -1
- package/web.js +1 -0
- package/web.js.map +1 -1
- package/web.mjs +1 -0
- package/web.test.js +12 -0
- package/web.test.js.map +1 -1
package/web.mjs
CHANGED
|
@@ -3117,6 +3117,7 @@ var $;
|
|
|
3117
3117
|
return next ?? $mol_wire_sync(native).persisted();
|
|
3118
3118
|
}
|
|
3119
3119
|
static estimate(next) {
|
|
3120
|
+
$mol_mem_persist();
|
|
3120
3121
|
const res = $mol_wire_sync(this.native() ?? {}).estimate();
|
|
3121
3122
|
new this.$.$mol_after_timeout(1000, $mol_wire_async(() => this.estimate(null)));
|
|
3122
3123
|
return res;
|
package/web.test.js
CHANGED
|
@@ -2302,6 +2302,18 @@ var $;
|
|
|
2302
2302
|
});
|
|
2303
2303
|
})($ || ($ = {}));
|
|
2304
2304
|
|
|
2305
|
+
;
|
|
2306
|
+
"use strict";
|
|
2307
|
+
var $;
|
|
2308
|
+
(function ($) {
|
|
2309
|
+
$mol_test({
|
|
2310
|
+
async 'storage level'() {
|
|
2311
|
+
// prevent async in tests
|
|
2312
|
+
await $mol_wire_async($mol_storage).level();
|
|
2313
|
+
}
|
|
2314
|
+
});
|
|
2315
|
+
})($ || ($ = {}));
|
|
2316
|
+
|
|
2305
2317
|
;
|
|
2306
2318
|
"use strict";
|
|
2307
2319
|
var $;
|