mol_view_tree2_lib 1.0.301 → 1.0.303
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
|
@@ -4311,6 +4311,7 @@ var $;
|
|
|
4311
4311
|
return next ?? $mol_wire_sync(native).persisted();
|
|
4312
4312
|
}
|
|
4313
4313
|
static estimate(next) {
|
|
4314
|
+
$mol_mem_persist();
|
|
4314
4315
|
const res = $mol_wire_sync(this.native() ?? {}).estimate();
|
|
4315
4316
|
new this.$.$mol_after_timeout(1000, $mol_wire_async(() => this.estimate(null)));
|
|
4316
4317
|
return res;
|
package/web.test.js
CHANGED
|
@@ -5972,6 +5972,18 @@ Clear
|
|
|
5972
5972
|
})($$ = $_1.$$ || ($_1.$$ = {}));
|
|
5973
5973
|
})($ || ($ = {}));
|
|
5974
5974
|
|
|
5975
|
+
;
|
|
5976
|
+
"use strict";
|
|
5977
|
+
var $;
|
|
5978
|
+
(function ($) {
|
|
5979
|
+
$mol_test({
|
|
5980
|
+
async 'storage level'() {
|
|
5981
|
+
// prevent async in tests
|
|
5982
|
+
await $mol_wire_async($mol_storage).level();
|
|
5983
|
+
}
|
|
5984
|
+
});
|
|
5985
|
+
})($ || ($ = {}));
|
|
5986
|
+
|
|
5975
5987
|
;
|
|
5976
5988
|
"use strict";
|
|
5977
5989
|
var $;
|