hyoo_sync_client 0.0.640 → 0.0.642
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/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +2 -1
- package/web.js.map +1 -1
- package/web.mjs +2 -1
package/web.mjs
CHANGED
|
@@ -3117,8 +3117,9 @@ var $;
|
|
|
3117
3117
|
return next ?? $mol_wire_sync(native).persisted();
|
|
3118
3118
|
}
|
|
3119
3119
|
static estimate(next) {
|
|
3120
|
+
const res = $mol_wire_sync(this.native() ?? {}).estimate();
|
|
3120
3121
|
new this.$.$mol_after_timeout(1000, $mol_wire_async(() => this.estimate(null)));
|
|
3121
|
-
return
|
|
3122
|
+
return res;
|
|
3122
3123
|
}
|
|
3123
3124
|
static total() {
|
|
3124
3125
|
return this.estimate().quota ?? 0;
|