@midscene/core 0.8.17-beta-20250107021140.0 → 0.8.17

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.
@@ -6349,7 +6349,8 @@ async function createChatClient({
6349
6349
  const apiKey = getAIConfig(ANTHROPIC_API_KEY);
6350
6350
  (0, import_node_assert3.default)(apiKey, "ANTHROPIC_API_KEY is required");
6351
6351
  openai = new import_sdk.Anthropic({
6352
- apiKey
6352
+ apiKey,
6353
+ dangerouslyAllowBrowser: true
6353
6354
  });
6354
6355
  }
6355
6356
  if (typeof openai !== "undefined" && openai.messages) {
package/dist/lib/index.js CHANGED
@@ -5577,7 +5577,7 @@ function stringifyDumpData(data, indents) {
5577
5577
  return JSON.stringify(data, replacerForPageObject, indents);
5578
5578
  }
5579
5579
  function getVersion() {
5580
- return "0.8.17-beta-20250107021140.0";
5580
+ return "0.8.17";
5581
5581
  }
5582
5582
 
5583
5583
  // src/action/executor.ts
@@ -6724,7 +6724,8 @@ async function createChatClient({
6724
6724
  const apiKey = getAIConfig(ANTHROPIC_API_KEY);
6725
6725
  (0, import_node_assert4.default)(apiKey, "ANTHROPIC_API_KEY is required");
6726
6726
  openai = new import_sdk.Anthropic({
6727
- apiKey
6727
+ apiKey,
6728
+ dangerouslyAllowBrowser: true
6728
6729
  });
6729
6730
  }
6730
6731
  if (typeof openai !== "undefined" && openai.messages) {
package/dist/lib/utils.js CHANGED
@@ -303,7 +303,7 @@ function stringifyDumpData(data, indents) {
303
303
  return JSON.stringify(data, replacerForPageObject, indents);
304
304
  }
305
305
  function getVersion() {
306
- return "0.8.17-beta-20250107021140.0";
306
+ return "0.8.17";
307
307
  }
308
308
  function debugLog(...message) {
309
309
  const debugMode = getAIConfig(MIDSCENE_DEBUG_MODE);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midscene/core",
3
3
  "description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.",
4
- "version": "0.8.17-beta-20250107021140.0",
4
+ "version": "0.8.17",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "jsnext:source": "./src/index.ts",
@@ -41,7 +41,7 @@
41
41
  "@langchain/core": "0.3.26",
42
42
  "socks-proxy-agent": "8.0.4",
43
43
  "openai": "4.57.1",
44
- "@midscene/shared": "0.8.17-beta-20250107021140.0"
44
+ "@midscene/shared": "0.8.17"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@modern-js/module-tools": "2.60.6",