mol_dump_lib 0.0.1088 → 0.0.1090
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/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +10 -1
- package/web.js.map +1 -1
- package/web.mjs +10 -1
package/web.mjs
CHANGED
|
@@ -5595,7 +5595,16 @@ var $;
|
|
|
5595
5595
|
}
|
|
5596
5596
|
static estimate() {
|
|
5597
5597
|
$mol_state_time.now(1000);
|
|
5598
|
-
|
|
5598
|
+
try {
|
|
5599
|
+
return $mol_wire_sync(this.native() ?? {}).estimate();
|
|
5600
|
+
}
|
|
5601
|
+
catch (error) {
|
|
5602
|
+
$mol_fail_log(error);
|
|
5603
|
+
return {
|
|
5604
|
+
usage: 0,
|
|
5605
|
+
quota: 0,
|
|
5606
|
+
};
|
|
5607
|
+
}
|
|
5599
5608
|
}
|
|
5600
5609
|
static total() {
|
|
5601
5610
|
return this.estimate().quota ?? 0;
|