hyoo_sync_client 0.0.396 → 0.0.398

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
@@ -1016,6 +1016,12 @@ var $;
1016
1016
  .replace(/^(?! +at )(.*)/gm, ' at | $1 (#)')).join('\n')
1017
1017
  });
1018
1018
  }
1019
+ static [Symbol.toPrimitive]() {
1020
+ return this.toString();
1021
+ }
1022
+ static toString() {
1023
+ return $$.$mol_func_name(this);
1024
+ }
1019
1025
  static make(...params) {
1020
1026
  return new this(...params);
1021
1027
  }
package/node.test.js CHANGED
@@ -1007,6 +1007,12 @@ var $;
1007
1007
  .replace(/^(?! +at )(.*)/gm, ' at | $1 (#)')).join('\n')
1008
1008
  });
1009
1009
  }
1010
+ static [Symbol.toPrimitive]() {
1011
+ return this.toString();
1012
+ }
1013
+ static toString() {
1014
+ return $$.$mol_func_name(this);
1015
+ }
1010
1016
  static make(...params) {
1011
1017
  return new this(...params);
1012
1018
  }