mol_wire_lib 1.0.204 → 1.0.207

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.test.js CHANGED
@@ -1206,13 +1206,15 @@ var $;
1206
1206
  //mol/wire/async/async.ts
1207
1207
  ;
1208
1208
  "use strict";
1209
- //mol/type/error/error.ts
1209
+ //mol/type/tail/tail.ts
1210
1210
  ;
1211
1211
  "use strict";
1212
1212
  var $;
1213
1213
  (function ($) {
1214
1214
  function $mol_wire_solo(host, field, descr) {
1215
- const orig = descr.value;
1215
+ if (!descr)
1216
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1217
+ const orig = descr?.value ?? host[field];
1216
1218
  const sup = Reflect.getPrototypeOf(host);
1217
1219
  if (typeof sup[field] === 'function') {
1218
1220
  Object.defineProperty(orig, 'name', { value: sup[field].name });
@@ -1244,10 +1246,15 @@ var $;
1244
1246
  //mol/wire/solo/solo.ts
1245
1247
  ;
1246
1248
  "use strict";
1249
+ //mol/type/error/error.ts
1250
+ ;
1251
+ "use strict";
1247
1252
  var $;
1248
1253
  (function ($) {
1249
1254
  function $mol_wire_plex(host, field, descr) {
1250
- const orig = descr.value;
1255
+ if (!descr)
1256
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1257
+ const orig = descr?.value ?? host[field];
1251
1258
  const sup = Reflect.getPrototypeOf(host);
1252
1259
  if (typeof sup[field] === 'function') {
1253
1260
  Object.defineProperty(orig, 'name', { value: sup[field].name });
@@ -3157,6 +3164,9 @@ var $;
3157
3164
  //mol/wire/async/async.test.ts
3158
3165
  ;
3159
3166
  "use strict";
3167
+ //mol/type/tail/tail.test.ts
3168
+ ;
3169
+ "use strict";
3160
3170
  var $;
3161
3171
  (function ($_1) {
3162
3172
  $mol_test({