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/node.js CHANGED
@@ -1911,13 +1911,15 @@ var $;
1911
1911
  //mol/wire/field/field.ts
1912
1912
  ;
1913
1913
  "use strict";
1914
- //mol/type/error/error.ts
1914
+ //mol/type/tail/tail.ts
1915
1915
  ;
1916
1916
  "use strict";
1917
1917
  var $;
1918
1918
  (function ($) {
1919
1919
  function $mol_wire_solo(host, field, descr) {
1920
- const orig = descr.value;
1920
+ if (!descr)
1921
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1922
+ const orig = descr?.value ?? host[field];
1921
1923
  const sup = Reflect.getPrototypeOf(host);
1922
1924
  if (typeof sup[field] === 'function') {
1923
1925
  Object.defineProperty(orig, 'name', { value: sup[field].name });
@@ -1949,10 +1951,15 @@ var $;
1949
1951
  //mol/wire/solo/solo.ts
1950
1952
  ;
1951
1953
  "use strict";
1954
+ //mol/type/error/error.ts
1955
+ ;
1956
+ "use strict";
1952
1957
  var $;
1953
1958
  (function ($) {
1954
1959
  function $mol_wire_plex(host, field, descr) {
1955
- const orig = descr.value;
1960
+ if (!descr)
1961
+ descr = Reflect.getOwnPropertyDescriptor(host, field);
1962
+ const orig = descr?.value ?? host[field];
1956
1963
  const sup = Reflect.getPrototypeOf(host);
1957
1964
  if (typeof sup[field] === 'function') {
1958
1965
  Object.defineProperty(orig, 'name', { value: sup[field].name });