mol_jsx_lib 0.0.71 → 0.0.74

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/web.js CHANGED
@@ -1402,13 +1402,15 @@ var $;
1402
1402
  //mol/wire/field/field.ts
1403
1403
  ;
1404
1404
  "use strict";
1405
- //mol/type/error/error.ts
1405
+ //mol/type/tail/tail.ts
1406
1406
  ;
1407
1407
  "use strict";
1408
1408
  var $;
1409
1409
  (function ($) {
1410
1410
  function $mol_wire_solo(host, field, descr) {
1411
- const orig = descr.value;
1411
+ if (!descr)
1412
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1413
+ const orig = descr?.value ?? host[field];
1412
1414
  const sup = Reflect.getPrototypeOf(host);
1413
1415
  if (typeof sup[field] === 'function') {
1414
1416
  Object.defineProperty(orig, 'name', { value: sup[field].name });
@@ -1440,10 +1442,15 @@ var $;
1440
1442
  //mol/wire/solo/solo.ts
1441
1443
  ;
1442
1444
  "use strict";
1445
+ //mol/type/error/error.ts
1446
+ ;
1447
+ "use strict";
1443
1448
  var $;
1444
1449
  (function ($) {
1445
1450
  function $mol_wire_plex(host, field, descr) {
1446
- const orig = descr.value;
1451
+ if (!descr)
1452
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1453
+ const orig = descr?.value ?? host[field];
1447
1454
  const sup = Reflect.getPrototypeOf(host);
1448
1455
  if (typeof sup[field] === 'function') {
1449
1456
  Object.defineProperty(orig, 'name', { value: sup[field].name });