openlayer 0.0.2 → 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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -248,7 +248,10 @@ class OpenAIMonitor {
248
248
  }
249
249
  return response;
250
250
  });
251
- this.OpenAIClient = new openai_1.default({ apiKey: openAiApiKey });
251
+ this.OpenAIClient = new openai_1.default({
252
+ apiKey: openAiApiKey,
253
+ dangerouslyAllowBrowser: true,
254
+ });
252
255
  this.openlayerApiKey = openlayerApiKey;
253
256
  this.openlayerInferencePipelineName = openlayerInferencePipelineName;
254
257
  this.openlayerProjectName = openlayerProjectName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openlayer",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "The Openlayer TypeScript client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",