aimyapi 0.1.8 → 0.1.9

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.js CHANGED
@@ -127,7 +127,7 @@ async function createWithAPI(options) {
127
127
  ...apiGlobals,
128
128
  [apiGlobalName]: {
129
129
  value: apiObject,
130
- apiWhitelist
130
+ whitelist: apiWhitelist
131
131
  }
132
132
  }, options.debug);
133
133
  try {
package/lib/index.ts CHANGED
@@ -166,7 +166,7 @@ async function createWithAPI(options:AIMyAPIOptions): Promise<CreateWithAPIExpor
166
166
  ...apiGlobals,
167
167
  [apiGlobalName]: {
168
168
  value: apiObject,
169
- apiWhitelist
169
+ whitelist: apiWhitelist
170
170
  }
171
171
  }, options.debug);
172
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aimyapi",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "AI My API! Use LLMs to create small programs that safely* run and make calls against your API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",