@apifn/core 0.0.3 → 0.0.4

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/dist/index.cjs CHANGED
@@ -6415,7 +6415,7 @@ function upconvertNode(value) {
6415
6415
  if (key === "nullable" && nodeValue === true) {
6416
6416
  continue;
6417
6417
  }
6418
- output[key] = upconvertNode(nodeValue);
6418
+ Object.defineProperty(output, key, { value: upconvertNode(nodeValue), enumerable: true, writable: true, configurable: true });
6419
6419
  }
6420
6420
  if (value.nullable === true) {
6421
6421
  const currentType = output.type;