@neon-rs/load 0.0.154 → 0.0.155

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -123,7 +123,7 @@ function lazyV2(options) {
123
123
  return loaded;
124
124
  }
125
125
  let module = {};
126
- for (const key of exports) {
126
+ for (const key of options.exports) {
127
127
  Object.defineProperty(module, key, { get() { return load()[key]; } });
128
128
  }
129
129
  return module;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/load",
3
- "version": "0.0.154",
3
+ "version": "0.0.155",
4
4
  "description": "Utilities for loading Neon modules.",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",