@langchain/google-webauth 2.3.1 → 2.3.3

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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`2a37b67`](https://github.com/langchain-ai/langchainjs/commit/2a37b672115a99136d645c3f96633d00421312d6)]:
8
+ - @langchain/google-common@2.3.3
9
+
10
+ ## 2.3.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies []:
15
+ - @langchain/google-common@2.3.2
16
+
3
17
  ## 2.3.1
4
18
 
5
19
  ### Patch Changes
package/dist/auth.d.cts CHANGED
@@ -1,12 +1,11 @@
1
1
  import { GoogleBaseLLMInput } from "@langchain/google-common";
2
2
  import { Credentials } from "web-auth-library/google";
3
3
  //#region src/auth.d.ts
4
- type WebGoogleAuthOptions = {
4
+ export type WebGoogleAuthOptions = {
5
5
  credentials: string | Credentials;
6
6
  scope?: string | string[];
7
7
  accessToken?: string;
8
8
  responseModality?: string;
9
9
  };
10
10
  //#endregion
11
- export { WebGoogleAuthOptions };
12
11
  //# sourceMappingURL=auth.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.cts","names":[],"sources":["../src/auth.ts"],"mappings":";;;KAeY;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,12 +1,11 @@
1
1
  import { GoogleAbstractedFetchClient, GoogleBaseLLMInput } from "@langchain/google-common";
2
2
  import { Credentials } from "web-auth-library/google";
3
3
  //#region src/auth.d.ts
4
- type WebGoogleAuthOptions = {
4
+ export type WebGoogleAuthOptions = {
5
5
  credentials: string | Credentials;
6
6
  scope?: string | string[];
7
7
  accessToken?: string;
8
8
  responseModality?: string;
9
9
  };
10
10
  //#endregion
11
- export { WebGoogleAuthOptions };
12
11
  //# sourceMappingURL=auth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","names":[],"sources":["../src/auth.ts"],"mappings":";;;KAeY;EACV,sBAAsB;EACtB;EACA;EACA"}
1
+ {"version":3,"file":"auth.d.ts","names":[],"sources":["../src/auth.ts"],"mappings":";;;YAeY;EACV,sBAAsB;EACtB;EACA;EACA"}
@@ -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.1");
17
+ this._addVersion("@langchain/google-webauth", "2.3.3");
18
18
  }
19
19
  buildAbstractedClient(fields) {
20
20
  return new require_auth.WebGoogleAuth(fields);
@@ -4,16 +4,15 @@ import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBase
4
4
  /**
5
5
  * Input to chat model class.
6
6
  */
7
- interface ChatGoogleInput extends ChatGoogleBaseInput<WebGoogleAuthOptions> {}
7
+ export interface ChatGoogleInput extends ChatGoogleBaseInput<WebGoogleAuthOptions> {}
8
8
  /**
9
9
  * Integration with a chat model.
10
10
  */
11
- declare class ChatGoogle extends ChatGoogleBase<WebGoogleAuthOptions> implements ChatGoogleInput {
11
+ export declare class ChatGoogle extends ChatGoogleBase<WebGoogleAuthOptions> implements ChatGoogleInput {
12
12
  static lc_name(): string;
13
13
  constructor(model: string, fields?: Omit<ChatGoogleInput, "model">);
14
14
  constructor(fields?: ChatGoogleInput);
15
15
  buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;
16
16
  }
17
17
  //#endregion
18
- export { ChatGoogle, ChatGoogleInput };
19
18
  //# sourceMappingURL=chat_models.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat_models.d.cts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;UAWiB,wBAAwB,oBAAoB;;;;cAKhD,mBACH,eAAe,iCACZ;SAGJ;EAIP,YAAY,eAAe,SAAS,KAAK;EACzC,YAAY,SAAS;EAarB,sBACE,QAAQ,mBAAmB,oCAC1B"}
1
+ {"version":3,"file":"chat_models.d.cts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;iBAWiB,wBAAwB,oBAAoB;;;;qBAKhD,mBACH,eAAe,iCACZ;SAGJ;EAIP,YAAY,eAAe,SAAS,KAAK;EACzC,YAAY,SAAS;EAarB,sBACE,QAAQ,mBAAmB,oCAC1B"}
@@ -4,16 +4,15 @@ import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBase
4
4
  /**
5
5
  * Input to chat model class.
6
6
  */
7
- interface ChatGoogleInput extends ChatGoogleBaseInput<WebGoogleAuthOptions> {}
7
+ export interface ChatGoogleInput extends ChatGoogleBaseInput<WebGoogleAuthOptions> {}
8
8
  /**
9
9
  * Integration with a chat model.
10
10
  */
11
- declare class ChatGoogle extends ChatGoogleBase<WebGoogleAuthOptions> implements ChatGoogleInput {
11
+ export declare class ChatGoogle extends ChatGoogleBase<WebGoogleAuthOptions> implements ChatGoogleInput {
12
12
  static lc_name(): string;
13
13
  constructor(model: string, fields?: Omit<ChatGoogleInput, "model">);
14
14
  constructor(fields?: ChatGoogleInput);
15
15
  buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;
16
16
  }
17
17
  //#endregion
18
- export { ChatGoogle, ChatGoogleInput };
19
18
  //# sourceMappingURL=chat_models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat_models.d.ts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;UAWiB,wBAAwB,oBAAoB;;;;cAKhD,mBACH,eAAe,iCACZ;SAGJ;EAIP,YAAY,eAAe,SAAS,KAAK;EACzC,YAAY,SAAS;EAarB,sBACE,QAAQ,mBAAmB,oCAC1B"}
1
+ {"version":3,"file":"chat_models.d.ts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;iBAWiB,wBAAwB,oBAAoB;;;;qBAKhD,mBACH,eAAe,iCACZ;SAGJ;EAIP,YAAY,eAAe,SAAS,KAAK;EACzC,YAAY,SAAS;EAarB,sBACE,QAAQ,mBAAmB,oCAC1B"}
@@ -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.1");
17
+ this._addVersion("@langchain/google-webauth", "2.3.3");
18
18
  }
19
19
  buildAbstractedClient(fields) {
20
20
  return new WebGoogleAuth(fields);
@@ -4,16 +4,15 @@ import { BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams, GoogleAbstractedClien
4
4
  /**
5
5
  * Input to LLM class.
6
6
  */
7
- interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<WebGoogleAuthOptions> {}
7
+ export interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<WebGoogleAuthOptions> {}
8
8
  /**
9
9
  * Integration with an LLM.
10
10
  */
11
- declare class GoogleEmbeddings extends BaseGoogleEmbeddings<WebGoogleAuthOptions> implements GoogleEmbeddingsInput {
11
+ export declare class GoogleEmbeddings extends BaseGoogleEmbeddings<WebGoogleAuthOptions> implements GoogleEmbeddingsInput {
12
12
  static lc_name(): string;
13
13
  lc_serializable: boolean;
14
14
  constructor(fields: GoogleEmbeddingsInput);
15
15
  buildAbstractedClient(fields?: GoogleConnectionParams<WebGoogleAuthOptions>): GoogleAbstractedClient;
16
16
  }
17
17
  //#endregion
18
- export { GoogleEmbeddings, GoogleEmbeddingsInput };
19
18
  //# sourceMappingURL=embeddings.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"embeddings.d.cts","names":[],"sources":["../src/embeddings.ts"],"mappings":";;;;;;UAWiB,8BAA8B,2BAA2B;;;;cAK7D,yBACH,qBAAqB,iCAClB;SAGJ;EAIP;EAEA,YAAY,QAAQ;EAIpB,sBACE,SAAS,uBAAuB,wBAC/B"}
1
+ {"version":3,"file":"embeddings.d.cts","names":[],"sources":["../src/embeddings.ts"],"mappings":";;;;;;iBAWiB,8BAA8B,2BAA2B;;;;qBAK7D,yBACH,qBAAqB,iCAClB;SAGJ;EAIP;EAEA,YAAY,QAAQ;EAIpB,sBACE,SAAS,uBAAuB,wBAC/B"}
@@ -4,16 +4,15 @@ import { BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams, GoogleAbstractedClien
4
4
  /**
5
5
  * Input to LLM class.
6
6
  */
7
- interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<WebGoogleAuthOptions> {}
7
+ export interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<WebGoogleAuthOptions> {}
8
8
  /**
9
9
  * Integration with an LLM.
10
10
  */
11
- declare class GoogleEmbeddings extends BaseGoogleEmbeddings<WebGoogleAuthOptions> implements GoogleEmbeddingsInput {
11
+ export declare class GoogleEmbeddings extends BaseGoogleEmbeddings<WebGoogleAuthOptions> implements GoogleEmbeddingsInput {
12
12
  static lc_name(): string;
13
13
  lc_serializable: boolean;
14
14
  constructor(fields: GoogleEmbeddingsInput);
15
15
  buildAbstractedClient(fields?: GoogleConnectionParams<WebGoogleAuthOptions>): GoogleAbstractedClient;
16
16
  }
17
17
  //#endregion
18
- export { GoogleEmbeddings, GoogleEmbeddingsInput };
19
18
  //# sourceMappingURL=embeddings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"embeddings.d.ts","names":[],"sources":["../src/embeddings.ts"],"mappings":";;;;;;UAWiB,8BAA8B,2BAA2B;;;;cAK7D,yBACH,qBAAqB,iCAClB;SAGJ;EAIP;EAEA,YAAY,QAAQ;EAIpB,sBACE,SAAS,uBAAuB,wBAC/B"}
1
+ {"version":3,"file":"embeddings.d.ts","names":[],"sources":["../src/embeddings.ts"],"mappings":";;;;;;iBAWiB,8BAA8B,2BAA2B;;;;qBAK7D,yBACH,qBAAqB,iCAClB;SAGJ;EAIP;EAEA,YAAY,QAAQ;EAIpB,sBACE,SAAS,uBAAuB,wBAC/B"}
package/dist/llms.cjs CHANGED
@@ -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.1");
14
+ this._addVersion("@langchain/google-webauth", "2.3.3");
15
15
  }
16
16
  buildAbstractedClient(fields) {
17
17
  return new require_auth.WebGoogleAuth(fields);
package/dist/llms.d.cts CHANGED
@@ -4,16 +4,15 @@ import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from "@lang
4
4
  /**
5
5
  * Input to LLM class.
6
6
  */
7
- interface GoogleLLMInput extends GoogleBaseLLMInput<WebGoogleAuthOptions> {}
7
+ export interface GoogleLLMInput extends GoogleBaseLLMInput<WebGoogleAuthOptions> {}
8
8
  /**
9
9
  * Integration with an LLM.
10
10
  */
11
- declare class GoogleLLM extends GoogleBaseLLM<WebGoogleAuthOptions> implements GoogleLLMInput {
11
+ export declare class GoogleLLM extends GoogleBaseLLM<WebGoogleAuthOptions> implements GoogleLLMInput {
12
12
  static lc_name(): string;
13
13
  lc_serializable: boolean;
14
14
  constructor(fields?: GoogleLLMInput);
15
15
  buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;
16
16
  }
17
17
  //#endregion
18
- export { GoogleLLM, GoogleLLMInput };
19
18
  //# sourceMappingURL=llms.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"llms.d.cts","names":[],"sources":["../src/llms.ts"],"mappings":";;;;;;UAUiB,uBAAuB,mBAAmB;;;;cAK9C,kBACH,cAAc,iCACX;SAGJ;EAIP;EAEA,YAAY,SAAS;EAKrB,sBACE,QAAQ,mBAAmB,oCAC1B"}
1
+ {"version":3,"file":"llms.d.cts","names":[],"sources":["../src/llms.ts"],"mappings":";;;;;;iBAUiB,uBAAuB,mBAAmB;;;;qBAK9C,kBACH,cAAc,iCACX;SAGJ;EAIP;EAEA,YAAY,SAAS;EAKrB,sBACE,QAAQ,mBAAmB,oCAC1B"}
package/dist/llms.d.ts CHANGED
@@ -4,16 +4,15 @@ import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from "@lang
4
4
  /**
5
5
  * Input to LLM class.
6
6
  */
7
- interface GoogleLLMInput extends GoogleBaseLLMInput<WebGoogleAuthOptions> {}
7
+ export interface GoogleLLMInput extends GoogleBaseLLMInput<WebGoogleAuthOptions> {}
8
8
  /**
9
9
  * Integration with an LLM.
10
10
  */
11
- declare class GoogleLLM extends GoogleBaseLLM<WebGoogleAuthOptions> implements GoogleLLMInput {
11
+ export declare class GoogleLLM extends GoogleBaseLLM<WebGoogleAuthOptions> implements GoogleLLMInput {
12
12
  static lc_name(): string;
13
13
  lc_serializable: boolean;
14
14
  constructor(fields?: GoogleLLMInput);
15
15
  buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;
16
16
  }
17
17
  //#endregion
18
- export { GoogleLLM, GoogleLLMInput };
19
18
  //# sourceMappingURL=llms.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"llms.d.ts","names":[],"sources":["../src/llms.ts"],"mappings":";;;;;;UAUiB,uBAAuB,mBAAmB;;;;cAK9C,kBACH,cAAc,iCACX;SAGJ;EAIP;EAEA,YAAY,SAAS;EAKrB,sBACE,QAAQ,mBAAmB,oCAC1B"}
1
+ {"version":3,"file":"llms.d.ts","names":[],"sources":["../src/llms.ts"],"mappings":";;;;;;iBAUiB,uBAAuB,mBAAmB;;;;qBAK9C,kBACH,cAAc,iCACX;SAGJ;EAIP;EAEA,YAAY,SAAS;EAKrB,sBACE,QAAQ,mBAAmB,oCAC1B"}
package/dist/llms.js CHANGED
@@ -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.1");
14
+ this._addVersion("@langchain/google-webauth", "2.3.3");
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.1",
3
+ "version": "2.3.3",
4
4
  "description": "Web-based authentication support for Google services",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",
@@ -15,24 +15,24 @@
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.1"
18
+ "@langchain/google-common": "2.3.3"
19
19
  },
20
20
  "peerDependencies": {
21
- "@langchain/core": "^1.2.10"
21
+ "@langchain/core": "^1.2.18"
22
22
  },
23
23
  "devDependencies": {
24
- "@jest/globals": "^30.5.0",
25
- "@swc/core": "^1.16.1",
24
+ "@jest/globals": "^30.5.2",
25
+ "@swc/core": "^1.16.2",
26
26
  "@swc/jest": "^0.2.29",
27
27
  "@tsconfig/recommended": "^1.0.3",
28
28
  "dotenv": "^17.4.2",
29
29
  "dpdm": "^4.3.0",
30
- "jest": "^30.5.0",
31
- "jest-environment-node": "^30.5.0",
32
- "ts-jest": "^29.4.12",
30
+ "jest": "^30.5.2",
31
+ "jest-environment-node": "^30.5.2",
32
+ "ts-jest": "^29.4.14",
33
33
  "typescript": "~7.0.2",
34
34
  "zod": "^3.25.76",
35
- "@langchain/core": "^1.2.10",
35
+ "@langchain/core": "^1.2.18",
36
36
  "@langchain/tsconfig": "0.0.1"
37
37
  },
38
38
  "publishConfig": {