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.js CHANGED
@@ -1214,13 +1214,15 @@ var $;
1214
1214
  //mol/wire/async/async.ts
1215
1215
  ;
1216
1216
  "use strict";
1217
- //mol/type/error/error.ts
1217
+ //mol/type/tail/tail.ts
1218
1218
  ;
1219
1219
  "use strict";
1220
1220
  var $;
1221
1221
  (function ($) {
1222
1222
  function $mol_wire_solo(host, field, descr) {
1223
- const orig = descr.value;
1223
+ if (!descr)
1224
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1225
+ const orig = descr?.value ?? host[field];
1224
1226
  const sup = Reflect.getPrototypeOf(host);
1225
1227
  if (typeof sup[field] === 'function') {
1226
1228
  Object.defineProperty(orig, 'name', { value: sup[field].name });
@@ -1252,10 +1254,15 @@ var $;
1252
1254
  //mol/wire/solo/solo.ts
1253
1255
  ;
1254
1256
  "use strict";
1257
+ //mol/type/error/error.ts
1258
+ ;
1259
+ "use strict";
1255
1260
  var $;
1256
1261
  (function ($) {
1257
1262
  function $mol_wire_plex(host, field, descr) {
1258
- const orig = descr.value;
1263
+ if (!descr)
1264
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1265
+ const orig = descr?.value ?? host[field];
1259
1266
  const sup = Reflect.getPrototypeOf(host);
1260
1267
  if (typeof sup[field] === 'function') {
1261
1268
  Object.defineProperty(orig, 'name', { value: sup[field].name });