hyoo_sync_client 0.0.255 → 0.0.256

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
@@ -91,7 +91,7 @@ var $;
91
91
  try {
92
92
  if (!having)
93
93
  return false;
94
- if (typeof having !== 'object')
94
+ if (typeof having !== 'object' && typeof having !== 'function')
95
95
  return false;
96
96
  if (having instanceof $mol_delegate)
97
97
  return false;
@@ -227,11 +227,12 @@ var $;
227
227
  return this.name;
228
228
  }
229
229
  destructor() { }
230
+ static destructor() { }
230
231
  toString() {
231
232
  return this[Symbol.toStringTag] || this.constructor.name + '()';
232
233
  }
233
234
  static toJSON() {
234
- return this.$.$mol_func_name(this);
235
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
235
236
  }
236
237
  toJSON() {
237
238
  return this.toString();
package/node.test.js CHANGED
@@ -83,7 +83,7 @@ var $;
83
83
  try {
84
84
  if (!having)
85
85
  return false;
86
- if (typeof having !== 'object')
86
+ if (typeof having !== 'object' && typeof having !== 'function')
87
87
  return false;
88
88
  if (having instanceof $mol_delegate)
89
89
  return false;
@@ -219,11 +219,12 @@ var $;
219
219
  return this.name;
220
220
  }
221
221
  destructor() { }
222
+ static destructor() { }
222
223
  toString() {
223
224
  return this[Symbol.toStringTag] || this.constructor.name + '()';
224
225
  }
225
226
  static toJSON() {
226
- return this.$.$mol_func_name(this);
227
+ return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
227
228
  }
228
229
  toJSON() {
229
230
  return this.toString();