@langchain/google-webauth 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,19 @@
1
1
  # @langchain/google-webauth
2
2
 
3
+ ## 2.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`bbf8a1a`](https://github.com/langchain-ai/langchainjs/commit/bbf8a1af2c668223fd7ac570f0f5b3a4318e3095)]:
8
+ - @langchain/google-common@2.3.7
9
+
10
+ ## 2.3.6
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`4585842`](https://github.com/langchain-ai/langchainjs/commit/4585842d7e7d04ca14dc8976569c7984ad97218d)]:
15
+ - @langchain/google-common@2.3.6
16
+
3
17
  ## 2.3.5
4
18
 
5
19
  ### Patch Changes
package/dist/auth.cjs CHANGED
@@ -1,5 +1,5 @@
1
- let _langchain_google_common = require("@langchain/google-common");
2
1
  let _langchain_core_utils_env = require("@langchain/core/utils/env");
2
+ let _langchain_google_common = require("@langchain/google-common");
3
3
  let web_auth_library_google = require("web-auth-library/google");
4
4
  // src/auth.ts
5
5
  var WebGoogleAuth = class extends _langchain_google_common.GoogleAbstractedFetchClient {
package/dist/auth.d.cts CHANGED
@@ -1,4 +1,3 @@
1
- import { GoogleBaseLLMInput } from "@langchain/google-common";
2
1
  import { Credentials } from "web-auth-library/google";
3
2
  export type WebGoogleAuthOptions = {
4
3
  credentials: string | Credentials;
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.cts","names":[],"sources":["../src/auth.ts"],"mappings":";;YAeY;EACV,sBAAsB;EACtB;EACA;EACA"}
1
+ {"version":3,"file":"auth.d.cts","names":[],"sources":["../src/auth.ts"],"mappings":";YAeY;EACV,sBAAsB;EACtB;EACA;EACA"}
package/dist/auth.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { GoogleAbstractedFetchClient, GoogleBaseLLMInput } from "@langchain/google-common";
1
+ import "@langchain/google-common";
2
2
  import { Credentials } from "web-auth-library/google";
3
3
  export type WebGoogleAuthOptions = {
4
4
  credentials: string | Credentials;
package/dist/auth.js CHANGED
@@ -1,5 +1,5 @@
1
- import { GoogleAbstractedFetchClient, ensureAuthOptionScopes } from "@langchain/google-common";
2
1
  import { getEnvironmentVariable } from "@langchain/core/utils/env";
2
+ import { GoogleAbstractedFetchClient, ensureAuthOptionScopes } from "@langchain/google-common";
3
3
  import { getAccessToken, getCredentials } from "web-auth-library/google";
4
4
  // src/auth.ts
5
5
  var WebGoogleAuth = class extends GoogleAbstractedFetchClient {
@@ -1,5 +1,5 @@
1
- const require_auth = require("./auth.cjs");
2
1
  let _langchain_google_common = require("@langchain/google-common");
2
+ const require_auth = require("./auth.cjs");
3
3
  // src/chat_models.ts
4
4
  /**
5
5
  * Integration with a chat model.
@@ -14,7 +14,7 @@ var ChatGoogle = class extends _langchain_google_common.ChatGoogleBase {
14
14
  model: modelOrFields
15
15
  } : modelOrFields ?? {};
16
16
  super(fields);
17
- this._addVersion("@langchain/google-webauth", "2.3.5");
17
+ this._addVersion("@langchain/google-webauth", "2.3.7");
18
18
  }
19
19
  buildAbstractedClient(fields) {
20
20
  return new require_auth.WebGoogleAuth(fields);
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuthOptions } from "./auth.cjs";
2
1
  import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBaseLLMInput } from "@langchain/google-common";
2
+ import { WebGoogleAuthOptions } from "./auth.cjs";
3
3
  /**
4
4
  * Input to chat model class.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuthOptions } from "./auth.js";
2
1
  import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBaseLLMInput } from "@langchain/google-common";
2
+ import { WebGoogleAuthOptions } from "./auth.js";
3
3
  /**
4
4
  * Input to chat model class.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuth } from "./auth.js";
2
1
  import { ChatGoogleBase } from "@langchain/google-common";
2
+ import { WebGoogleAuth } from "./auth.js";
3
3
  // src/chat_models.ts
4
4
  /**
5
5
  * Integration with a chat model.
@@ -14,7 +14,7 @@ var ChatGoogle = class extends ChatGoogleBase {
14
14
  model: modelOrFields
15
15
  } : modelOrFields ?? {};
16
16
  super(fields);
17
- this._addVersion("@langchain/google-webauth", "2.3.5");
17
+ this._addVersion("@langchain/google-webauth", "2.3.7");
18
18
  }
19
19
  buildAbstractedClient(fields) {
20
20
  return new WebGoogleAuth(fields);
@@ -1,5 +1,5 @@
1
- const require_auth = require("./auth.cjs");
2
1
  let _langchain_google_common = require("@langchain/google-common");
2
+ const require_auth = require("./auth.cjs");
3
3
  // src/embeddings.ts
4
4
  /**
5
5
  * Integration with an LLM.
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuthOptions } from "./auth.cjs";
2
1
  import { BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams, GoogleAbstractedClient, GoogleConnectionParams } from "@langchain/google-common";
2
+ import { WebGoogleAuthOptions } from "./auth.cjs";
3
3
  /**
4
4
  * Input to LLM class.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuthOptions } from "./auth.js";
2
1
  import { BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams, GoogleAbstractedClient, GoogleConnectionParams } from "@langchain/google-common";
2
+ import { WebGoogleAuthOptions } from "./auth.js";
3
3
  /**
4
4
  * Input to LLM class.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuth } from "./auth.js";
2
1
  import { BaseGoogleEmbeddings } from "@langchain/google-common";
2
+ import { WebGoogleAuth } from "./auth.js";
3
3
  // src/embeddings.ts
4
4
  /**
5
5
  * Integration with an LLM.
package/dist/llms.cjs CHANGED
@@ -1,5 +1,5 @@
1
- const require_auth = require("./auth.cjs");
2
1
  let _langchain_google_common = require("@langchain/google-common");
2
+ const require_auth = require("./auth.cjs");
3
3
  // src/llms.ts
4
4
  /**
5
5
  * Integration with an LLM.
@@ -11,7 +11,7 @@ var GoogleLLM = class extends _langchain_google_common.GoogleBaseLLM {
11
11
  lc_serializable = true;
12
12
  constructor(fields) {
13
13
  super(fields);
14
- this._addVersion("@langchain/google-webauth", "2.3.5");
14
+ this._addVersion("@langchain/google-webauth", "2.3.7");
15
15
  }
16
16
  buildAbstractedClient(fields) {
17
17
  return new require_auth.WebGoogleAuth(fields);
package/dist/llms.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuthOptions } from "./auth.cjs";
2
1
  import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from "@langchain/google-common";
2
+ import { WebGoogleAuthOptions } from "./auth.cjs";
3
3
  /**
4
4
  * Input to LLM class.
5
5
  */
package/dist/llms.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuthOptions } from "./auth.js";
2
1
  import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from "@langchain/google-common";
2
+ import { WebGoogleAuthOptions } from "./auth.js";
3
3
  /**
4
4
  * Input to LLM class.
5
5
  */
package/dist/llms.js CHANGED
@@ -1,5 +1,5 @@
1
- import { WebGoogleAuth } from "./auth.js";
2
1
  import { GoogleBaseLLM } from "@langchain/google-common";
2
+ import { WebGoogleAuth } from "./auth.js";
3
3
  // src/llms.ts
4
4
  /**
5
5
  * Integration with an LLM.
@@ -11,7 +11,7 @@ var GoogleLLM = class extends GoogleBaseLLM {
11
11
  lc_serializable = true;
12
12
  constructor(fields) {
13
13
  super(fields);
14
- this._addVersion("@langchain/google-webauth", "2.3.5");
14
+ this._addVersion("@langchain/google-webauth", "2.3.7");
15
15
  }
16
16
  buildAbstractedClient(fields) {
17
17
  return new WebGoogleAuth(fields);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-webauth",
3
- "version": "2.3.5",
3
+ "version": "2.3.7",
4
4
  "description": "Web-based authentication support for Google services",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",
@@ -15,10 +15,10 @@
15
15
  "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/providers/langchain-google-webauth/",
16
16
  "dependencies": {
17
17
  "web-auth-library": "^1.0.3",
18
- "@langchain/google-common": "2.3.5"
18
+ "@langchain/google-common": "2.3.7"
19
19
  },
20
20
  "peerDependencies": {
21
- "@langchain/core": "^1.3.5"
21
+ "@langchain/core": "^1.5.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@jest/globals": "^30.5.2",
@@ -32,7 +32,7 @@
32
32
  "ts-jest": "^29.4.15",
33
33
  "typescript": "~7.0.2",
34
34
  "zod": "^3.25.76",
35
- "@langchain/core": "^1.3.5",
35
+ "@langchain/core": "^1.5.0",
36
36
  "@langchain/tsconfig": "0.0.1"
37
37
  },
38
38
  "publishConfig": {