mol_dump_lib 0.0.1088 → 0.0.1089

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/web.mjs CHANGED
@@ -5595,7 +5595,16 @@ var $;
5595
5595
  }
5596
5596
  static estimate() {
5597
5597
  $mol_state_time.now(1000);
5598
- return $mol_wire_sync(this.native() ?? {}).estimate();
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;