@langchain/google-webauth 2.0.3 → 2.0.5-dev-1765431816670

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,13 @@
1
1
  # @langchain/google-webauth
2
2
 
3
+ ## 2.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`0bade90`](https://github.com/langchain-ai/langchainjs/commit/0bade90ed47c7988ed86f1e695a28273c7b3df50), [`6c40d00`](https://github.com/langchain-ai/langchainjs/commit/6c40d00e926f377d249c2919549381522eac8ed1)]:
8
+ - @langchain/core@1.1.4
9
+ - @langchain/google-common@2.0.4
10
+
3
11
  ## 2.0.3
4
12
 
5
13
  ### Patch Changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.cts","names":["GoogleAbstractedClientOps","GoogleAbstractedFetchClient","GoogleBaseLLMInput","Credentials","WebGoogleAuthOptions","WebGoogleAuth","Promise"],"sources":["../src/auth.d.ts"],"sourcesContent":["import { GoogleAbstractedClientOps, GoogleAbstractedFetchClient, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { Credentials } from \"web-auth-library/google\";\nexport type WebGoogleAuthOptions = {\n credentials: string | Credentials;\n scope?: string | string[];\n accessToken?: string;\n responseModality?: string;\n};\nexport declare class WebGoogleAuth extends GoogleAbstractedFetchClient {\n options: WebGoogleAuthOptions;\n constructor(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined);\n get clientType(): string;\n getProjectId(): Promise<string>;\n request(opts: GoogleAbstractedClientOps): Promise<unknown>;\n}\n//# sourceMappingURL=auth.d.ts.map"],"mappings":";;;;KAEYI,oBAAAA;wBACcD;EADdC,KAAAA,CAAAA,EAAAA,MAAAA,GAAAA,MAAoB,EAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","names":["GoogleAbstractedClientOps","GoogleAbstractedFetchClient","GoogleBaseLLMInput","Credentials","WebGoogleAuthOptions","WebGoogleAuth","Promise"],"sources":["../src/auth.d.ts"],"sourcesContent":["import { GoogleAbstractedClientOps, GoogleAbstractedFetchClient, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { Credentials } from \"web-auth-library/google\";\nexport type WebGoogleAuthOptions = {\n credentials: string | Credentials;\n scope?: string | string[];\n accessToken?: string;\n responseModality?: string;\n};\nexport declare class WebGoogleAuth extends GoogleAbstractedFetchClient {\n options: WebGoogleAuthOptions;\n constructor(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined);\n get clientType(): string;\n getProjectId(): Promise<string>;\n request(opts: GoogleAbstractedClientOps): Promise<unknown>;\n}\n//# sourceMappingURL=auth.d.ts.map"],"mappings":";;;;KAEYI,oBAAAA;wBACcD;EADdC,KAAAA,CAAAA,EAAAA,MAAAA,GAAAA,MAAoB,EAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat_models.d.cts","names":["ChatGoogleBase","ChatGoogleBaseInput","GoogleAbstractedClient","GoogleBaseLLMInput","WebGoogleAuthOptions","ChatGoogleInput","ChatGoogle"],"sources":["../src/chat_models.d.ts"],"sourcesContent":["import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { WebGoogleAuthOptions } from \"./auth.js\";\n/**\n * Input to chat model class.\n */\nexport interface ChatGoogleInput extends ChatGoogleBaseInput<WebGoogleAuthOptions> {\n}\n/**\n * Integration with a chat model.\n */\nexport declare class ChatGoogle extends ChatGoogleBase<WebGoogleAuthOptions> implements ChatGoogleInput {\n static lc_name(): string;\n constructor(fields?: ChatGoogleInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=chat_models.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,eAAAA,SAAwBJ,mBAKV,CAL8BG,oBAK9B,CAAA,CAAA;;;;AAG0DF,cAHpEI,UAAAA,SAAmBN,cAGiDE,CAHlCE,oBAGkCF,CAAAA,YAHDG,eAGCH,CAAAA;EAHjDF,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAgDK,WAAAA,CAAAA,MAAAA,CAAAA,EAE/DA,eAF+DA;EAAe,qBAAA,CAAA,MAAA,EAGrEF,kBAHqE,CAGlDC,oBAHkD,CAAA,GAAA,SAAA,CAAA,EAGdF,sBAHc"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat_models.d.ts","names":["ChatGoogleBase","ChatGoogleBaseInput","GoogleAbstractedClient","GoogleBaseLLMInput","WebGoogleAuthOptions","ChatGoogleInput","ChatGoogle"],"sources":["../src/chat_models.d.ts"],"sourcesContent":["import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { WebGoogleAuthOptions } from \"./auth.js\";\n/**\n * Input to chat model class.\n */\nexport interface ChatGoogleInput extends ChatGoogleBaseInput<WebGoogleAuthOptions> {\n}\n/**\n * Integration with a chat model.\n */\nexport declare class ChatGoogle extends ChatGoogleBase<WebGoogleAuthOptions> implements ChatGoogleInput {\n static lc_name(): string;\n constructor(fields?: ChatGoogleInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=chat_models.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,eAAAA,SAAwBJ,mBAKV,CAL8BG,oBAK9B,CAAA,CAAA;;;;AAG0DF,cAHpEI,UAAAA,SAAmBN,cAGiDE,CAHlCE,oBAGkCF,CAAAA,YAHDG,eAGCH,CAAAA;EAHjDF,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAgDK,WAAAA,CAAAA,MAAAA,CAAAA,EAE/DA,eAF+DA;EAAe,qBAAA,CAAA,MAAA,EAGrEF,kBAHqE,CAGlDC,oBAHkD,CAAA,GAAA,SAAA,CAAA,EAGdF,sBAHc"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings.d.cts","names":["GoogleAbstractedClient","GoogleConnectionParams","BaseGoogleEmbeddings","BaseGoogleEmbeddingsParams","WebGoogleAuthOptions","GoogleEmbeddingsInput","GoogleEmbeddings"],"sources":["../src/embeddings.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleConnectionParams, BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams } from \"@langchain/google-common\";\nimport { WebGoogleAuthOptions } from \"./auth.js\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<WebGoogleAuthOptions> {\n}\n/**\n * Integration with an LLM.\n */\nexport declare class GoogleEmbeddings extends BaseGoogleEmbeddings<WebGoogleAuthOptions> implements GoogleEmbeddingsInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields: GoogleEmbeddingsInput);\n buildAbstractedClient(fields?: GoogleConnectionParams<WebGoogleAuthOptions>): GoogleAbstractedClient;\n}\n//# sourceMappingURL=embeddings.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,qBAAAA,SAA8BF,0BAKV,CALqCC,oBAKrC,CAAA,CAAA;;;;AAI6CJ,cAJ7DM,gBAAAA,SAAyBJ,oBAIoCF,CAJfI,oBAIeJ,CAAAA,YAJkBK,qBAIlBL,CAAAA;EAJpCE,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAsDG,eAAAA,EAAAA,OAAAA;EAAqB,WAAA,CAAA,MAAA,EAGjGA,qBAHiG;iCAItFJ,uBAAuBG,wBAAwBJ"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings.d.ts","names":["GoogleAbstractedClient","GoogleConnectionParams","BaseGoogleEmbeddings","BaseGoogleEmbeddingsParams","WebGoogleAuthOptions","GoogleEmbeddingsInput","GoogleEmbeddings"],"sources":["../src/embeddings.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleConnectionParams, BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams } from \"@langchain/google-common\";\nimport { WebGoogleAuthOptions } from \"./auth.js\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<WebGoogleAuthOptions> {\n}\n/**\n * Integration with an LLM.\n */\nexport declare class GoogleEmbeddings extends BaseGoogleEmbeddings<WebGoogleAuthOptions> implements GoogleEmbeddingsInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields: GoogleEmbeddingsInput);\n buildAbstractedClient(fields?: GoogleConnectionParams<WebGoogleAuthOptions>): GoogleAbstractedClient;\n}\n//# sourceMappingURL=embeddings.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,qBAAAA,SAA8BF,0BAKV,CALqCC,oBAKrC,CAAA,CAAA;;;;AAI6CJ,cAJ7DM,gBAAAA,SAAyBJ,oBAIoCF,CAJfI,oBAIeJ,CAAAA,YAJkBK,qBAIlBL,CAAAA;EAJpCE,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAsDG,eAAAA,EAAAA,OAAAA;EAAqB,WAAA,CAAA,MAAA,EAGjGA,qBAHiG;iCAItFJ,uBAAuBG,wBAAwBJ"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"llms.d.cts","names":["GoogleAbstractedClient","GoogleBaseLLM","GoogleBaseLLMInput","WebGoogleAuthOptions","GoogleLLMInput","GoogleLLM"],"sources":["../src/llms.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { WebGoogleAuthOptions } from \"./auth.js\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleLLMInput extends GoogleBaseLLMInput<WebGoogleAuthOptions> {\n}\n/**\n * Integration with an LLM.\n */\nexport declare class GoogleLLM extends GoogleBaseLLM<WebGoogleAuthOptions> implements GoogleLLMInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields?: GoogleLLMInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=llms.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBK,UALJD,cAAAA,SAAuBF,kBAKV,CAL6BC,oBAK7B,CAAA,CAAA;;;;AAI2DH,cAJpEK,SAAAA,SAAkBJ,aAIkDD,CAJpCG,oBAIoCH,CAAAA,YAJHI,cAIGJ,CAAAA;EAJlDC,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA+CG,eAAAA,EAAAA,OAAAA;EAAc,WAAA,CAAA,MAAA,CAAA,EAG3EA,cAH2E;gCAIlEF,mBAAmBC,oCAAoCH"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"llms.d.ts","names":["GoogleAbstractedClient","GoogleBaseLLM","GoogleBaseLLMInput","WebGoogleAuthOptions","GoogleLLMInput","GoogleLLM"],"sources":["../src/llms.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { WebGoogleAuthOptions } from \"./auth.js\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleLLMInput extends GoogleBaseLLMInput<WebGoogleAuthOptions> {\n}\n/**\n * Integration with an LLM.\n */\nexport declare class GoogleLLM extends GoogleBaseLLM<WebGoogleAuthOptions> implements GoogleLLMInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields?: GoogleLLMInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<WebGoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=llms.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBK,UALJD,cAAAA,SAAuBF,kBAKV,CAL6BC,oBAK7B,CAAA,CAAA;;;;AAI2DH,cAJpEK,SAAAA,SAAkBJ,aAIkDD,CAJpCG,oBAIoCH,CAAAA,YAJHI,cAIGJ,CAAAA;EAJlDC,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA+CG,eAAAA,EAAAA,OAAAA;EAAc,WAAA,CAAA,MAAA,CAAA,EAG3EA,cAH2E;gCAIlEF,mBAAmBC,oCAAoCH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-webauth",
3
- "version": "2.0.3",
3
+ "version": "2.0.5-dev-1765431816670",
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/langchain-google-webauth/",
16
16
  "dependencies": {
17
17
  "web-auth-library": "^1.0.3",
18
- "@langchain/google-common": "2.0.3"
18
+ "@langchain/google-common": "2.0.5-dev-1765431816670"
19
19
  },
20
20
  "peerDependencies": {
21
- "@langchain/core": "1.1.3"
21
+ "@langchain/core": "1.1.5-dev-1765431816670"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@jest/globals": "^29.5.0",
@@ -35,7 +35,8 @@
35
35
  "ts-jest": "^29.1.0",
36
36
  "typescript": "~5.8.3",
37
37
  "zod": "^3.25.76",
38
- "@langchain/core": "1.1.3",
38
+ "@langchain/core": "1.1.5-dev-1765431816670",
39
+ "@langchain/tsconfig": "0.0.1",
39
40
  "@langchain/eslint": "0.1.1"
40
41
  },
41
42
  "publishConfig": {
@@ -83,7 +84,15 @@
83
84
  "dist/",
84
85
  "CHANGELOG.md",
85
86
  "README.md",
86
- "LICENSE"
87
+ "LICENSE",
88
+ "utils.d.cts",
89
+ "utils.cjs",
90
+ "utils.d.ts",
91
+ "utils.js",
92
+ "types.d.cts",
93
+ "types.cjs",
94
+ "types.d.ts",
95
+ "types.js"
87
96
  ],
88
97
  "module": "./dist/index.js",
89
98
  "scripts": {
@@ -98,7 +107,7 @@
98
107
  "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts",
99
108
  "test:single": "NODE_OPTIONS=--experimental-vm-modules pnpm run jest --config jest.config.cjs --testTimeout 100000",
100
109
  "test:int": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%",
101
- "format": "prettier --config .prettierrc --write \"src\"",
102
- "format:check": "prettier --config .prettierrc --check \"src\""
110
+ "format": "prettier --write \"src\"",
111
+ "format:check": "prettier --check \"src\""
103
112
  }
104
113
  }