@langchain/google-vertexai-web 2.3.5 → 2.3.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @langchain/google-vertexai-web
2
2
 
3
+ ## 2.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @langchain/google-webauth@2.3.7
9
+
10
+ ## 2.3.6
11
+
12
+ ### Patch Changes
13
+
14
+ - [#12141](https://github.com/langchain-ai/langchainjs/pull/12141) [`4585842`](https://github.com/langchain-ai/langchainjs/commit/4585842d7e7d04ca14dc8976569c7984ad97218d) Thanks [@hntrl](https://github.com/hntrl)! - Only route Google chat models through the LangSmith gateway when no credentials are passed. Explicit `apiKey`, `authOptions`, `credentials`, or `googleAuthOptions` now go straight to Google.
15
+ - Updated dependencies []:
16
+ - @langchain/google-webauth@2.3.6
17
+
3
18
  ## 2.3.5
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -50,11 +50,9 @@ console.log(response.content);
50
50
  ```
51
51
 
52
52
  Vertex Express requests do not require Google web credentials when a gateway API
53
- key is configured. To preserve project and regional routing, pass service-account
54
- credentials in `authOptions.credentials` and a `location`. The project ID comes
55
- from those credentials, but requests use the selected API key rather than Google
56
- OAuth. An explicit `apiKey` takes precedence over the gateway key. An explicit
57
- `endpoint` opts out of automatic gateway routing and gateway-key selection.
53
+ key is configured. Passing your own credentials (`authOptions` or `apiKey`) or an
54
+ explicit `endpoint` opts out of gateway routing and sends requests straight to
55
+ Vertex AI.
58
56
 
59
57
  Keep gateway API keys in trusted server or edge runtimes, not public browser
60
58
  bundles.
@@ -303,7 +303,7 @@ var ChatVertexAI = class extends _langchain_google_webauth.ChatGoogle {
303
303
  ...fields,
304
304
  platformType: "gcp"
305
305
  });
306
- this._addVersion("@langchain/google-vertexai-web", "2.3.5");
306
+ this._addVersion("@langchain/google-vertexai-web", "2.3.7");
307
307
  }
308
308
  };
309
309
  exports.ChatVertexAI = ChatVertexAI;
@@ -303,7 +303,7 @@ var ChatVertexAI = class extends ChatGoogle {
303
303
  ...fields,
304
304
  platformType: "gcp"
305
305
  });
306
- this._addVersion("@langchain/google-vertexai-web", "2.3.5");
306
+ this._addVersion("@langchain/google-vertexai-web", "2.3.7");
307
307
  }
308
308
  };
309
309
  export { ChatVertexAI };
package/dist/llms.cjs CHANGED
@@ -18,7 +18,7 @@ var VertexAI = class extends _langchain_google_webauth.GoogleLLM {
18
18
  ...fields,
19
19
  platformType: "gcp"
20
20
  });
21
- this._addVersion("@langchain/google-vertexai-web", "2.3.5");
21
+ this._addVersion("@langchain/google-vertexai-web", "2.3.7");
22
22
  }
23
23
  };
24
24
  exports.VertexAI = VertexAI;
package/dist/llms.js CHANGED
@@ -18,7 +18,7 @@ var VertexAI = class extends GoogleLLM {
18
18
  ...fields,
19
19
  platformType: "gcp"
20
20
  });
21
- this._addVersion("@langchain/google-vertexai-web", "2.3.5");
21
+ this._addVersion("@langchain/google-vertexai-web", "2.3.7");
22
22
  }
23
23
  };
24
24
  export { VertexAI };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-vertexai-web",
3
- "version": "2.3.5",
3
+ "version": "2.3.7",
4
4
  "description": "LangChain.js support for Google Vertex AI Web",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/providers/langchain-google-vertexai-web/",
16
16
  "dependencies": {
17
- "@langchain/google-webauth": "2.3.5"
17
+ "@langchain/google-webauth": "2.3.7"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@tsconfig/recommended": "^1.0.3",
@@ -23,7 +23,7 @@
23
23
  "typescript": "~7.0.2",
24
24
  "vitest": "^5.0.5",
25
25
  "zod": "^3.25.76",
26
- "@langchain/google-common": "2.3.5",
26
+ "@langchain/google-common": "2.3.7",
27
27
  "@langchain/standard-tests": "0.0.23",
28
28
  "@langchain/tsconfig": "0.0.1"
29
29
  },