hyoo_sync_client 0.0.659 → 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.mjs CHANGED
@@ -3438,6 +3438,34 @@ var $;
3438
3438
  $.$mol_storage = $mol_storage;
3439
3439
  })($ || ($ = {}));
3440
3440
 
3441
+ ;
3442
+ "use strict";
3443
+ var $;
3444
+ (function ($) {
3445
+ /**
3446
+ * Disable reaping of current subscriber
3447
+ */
3448
+ function $mol_wire_solid() {
3449
+ let current = $mol_wire_auto();
3450
+ if (current.temp)
3451
+ current = current.host;
3452
+ if (current.reap !== nothing) {
3453
+ current?.sub_on(sub, sub.data.length);
3454
+ }
3455
+ current.reap = nothing;
3456
+ }
3457
+ $.$mol_wire_solid = $mol_wire_solid;
3458
+ const nothing = () => { };
3459
+ const sub = new $mol_wire_pub_sub;
3460
+ })($ || ($ = {}));
3461
+
3462
+ ;
3463
+ "use strict";
3464
+ var $;
3465
+ (function ($) {
3466
+ $.$mol_mem_persist = $mol_wire_solid;
3467
+ })($ || ($ = {}));
3468
+
3441
3469
  ;
3442
3470
  "use strict";
3443
3471
  var $;
@@ -3475,6 +3503,7 @@ var $;
3475
3503
  return true;
3476
3504
  }
3477
3505
  static stats() {
3506
+ $mol_mem_persist();
3478
3507
  $mol_state_time.now(1000);
3479
3508
  return $node.fs.statfsSync('.');
3480
3509
  }
@@ -3734,27 +3763,6 @@ var $;
3734
3763
  $.$mol_file_transaction = $mol_file_transaction;
3735
3764
  })($ || ($ = {}));
3736
3765
 
3737
- ;
3738
- "use strict";
3739
- var $;
3740
- (function ($) {
3741
- /**
3742
- * Disable reaping of current subscriber
3743
- */
3744
- function $mol_wire_solid() {
3745
- let current = $mol_wire_auto();
3746
- if (current.temp)
3747
- current = current.host;
3748
- if (current.reap !== nothing) {
3749
- current?.sub_on(sub, sub.data.length);
3750
- }
3751
- current.reap = nothing;
3752
- }
3753
- $.$mol_wire_solid = $mol_wire_solid;
3754
- const nothing = () => { };
3755
- const sub = new $mol_wire_pub_sub;
3756
- })($ || ($ = {}));
3757
-
3758
3766
  ;
3759
3767
  "use strict";
3760
3768
  var $;
package/node.test.js CHANGED
@@ -3429,6 +3429,34 @@ var $;
3429
3429
  $.$mol_storage = $mol_storage;
3430
3430
  })($ || ($ = {}));
3431
3431
 
3432
+ ;
3433
+ "use strict";
3434
+ var $;
3435
+ (function ($) {
3436
+ /**
3437
+ * Disable reaping of current subscriber
3438
+ */
3439
+ function $mol_wire_solid() {
3440
+ let current = $mol_wire_auto();
3441
+ if (current.temp)
3442
+ current = current.host;
3443
+ if (current.reap !== nothing) {
3444
+ current?.sub_on(sub, sub.data.length);
3445
+ }
3446
+ current.reap = nothing;
3447
+ }
3448
+ $.$mol_wire_solid = $mol_wire_solid;
3449
+ const nothing = () => { };
3450
+ const sub = new $mol_wire_pub_sub;
3451
+ })($ || ($ = {}));
3452
+
3453
+ ;
3454
+ "use strict";
3455
+ var $;
3456
+ (function ($) {
3457
+ $.$mol_mem_persist = $mol_wire_solid;
3458
+ })($ || ($ = {}));
3459
+
3432
3460
  ;
3433
3461
  "use strict";
3434
3462
  var $;
@@ -3466,6 +3494,7 @@ var $;
3466
3494
  return true;
3467
3495
  }
3468
3496
  static stats() {
3497
+ $mol_mem_persist();
3469
3498
  $mol_state_time.now(1000);
3470
3499
  return $node.fs.statfsSync('.');
3471
3500
  }
@@ -3725,27 +3754,6 @@ var $;
3725
3754
  $.$mol_file_transaction = $mol_file_transaction;
3726
3755
  })($ || ($ = {}));
3727
3756
 
3728
- ;
3729
- "use strict";
3730
- var $;
3731
- (function ($) {
3732
- /**
3733
- * Disable reaping of current subscriber
3734
- */
3735
- function $mol_wire_solid() {
3736
- let current = $mol_wire_auto();
3737
- if (current.temp)
3738
- current = current.host;
3739
- if (current.reap !== nothing) {
3740
- current?.sub_on(sub, sub.data.length);
3741
- }
3742
- current.reap = nothing;
3743
- }
3744
- $.$mol_wire_solid = $mol_wire_solid;
3745
- const nothing = () => { };
3746
- const sub = new $mol_wire_pub_sub;
3747
- })($ || ($ = {}));
3748
-
3749
3757
  ;
3750
3758
  "use strict";
3751
3759
  var $;
@@ -8798,6 +8806,18 @@ var $;
8798
8806
  });
8799
8807
  })($ || ($ = {}));
8800
8808
 
8809
+ ;
8810
+ "use strict";
8811
+ var $;
8812
+ (function ($) {
8813
+ $mol_test({
8814
+ async 'storage level'() {
8815
+ // prevent async in tests
8816
+ await $mol_wire_async($mol_storage).level();
8817
+ }
8818
+ });
8819
+ })($ || ($ = {}));
8820
+
8801
8821
  ;
8802
8822
  "use strict";
8803
8823
  var $;