@langchain/google-gauth 2.0.4 → 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.
@@ -11,7 +11,6 @@ interface ChatGoogleInput extends ChatGoogleBaseInput<GoogleAuthOptions> {}
11
11
  * Integration with a Google chat model.
12
12
  */
13
13
  declare class ChatGoogle extends ChatGoogleBase<GoogleAuthOptions> implements ChatGoogleInput {
14
- // Used for tracing, replace with the same name as your class
15
14
  static lc_name(): string;
16
15
  constructor(fields?: ChatGoogleInput);
17
16
  buildAbstractedClient(fields: GoogleBaseLLMInput<GoogleAuthOptions> | undefined): GoogleAbstractedClient;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat_models.d.cts","names":["ChatGoogleBase","ChatGoogleBaseInput","GoogleAbstractedClient","GoogleBaseLLMInput","GoogleAuthOptions","ChatGoogleInput","ChatGoogle"],"sources":["../src/chat_models.d.ts"],"sourcesContent":["import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\n/**\n * Input to chat model class.\n */\nexport interface ChatGoogleInput extends ChatGoogleBaseInput<GoogleAuthOptions> {\n}\n/**\n * Integration with a Google chat model.\n */\nexport declare class ChatGoogle extends ChatGoogleBase<GoogleAuthOptions> implements ChatGoogleInput {\n static lc_name(): string;\n constructor(fields?: ChatGoogleInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<GoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=chat_models.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,eAAAA,SAAwBJ,mBAKV,CAL8BG,iBAK9B,CAAA,CAAA;;;;AAGuDF,cAHjEI,UAAAA,SAAmBN,cAG8CE,CAH/BE,iBAG+BF,CAAAA,YAHDG,eAGCH,CAAAA;EAH9CF,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA6CK,WAAAA,CAAAA,MAAAA,CAAAA,EAE5DA,eAF4DA;EAAe,qBAAA,CAAA,MAAA,EAGlEF,kBAHkE,CAG/CC,iBAH+C,CAAA,GAAA,SAAA,CAAA,EAGdF,sBAHc"}
@@ -11,7 +11,6 @@ interface ChatGoogleInput extends ChatGoogleBaseInput<GoogleAuthOptions> {}
11
11
  * Integration with a Google chat model.
12
12
  */
13
13
  declare class ChatGoogle extends ChatGoogleBase<GoogleAuthOptions> implements ChatGoogleInput {
14
- // Used for tracing, replace with the same name as your class
15
14
  static lc_name(): string;
16
15
  constructor(fields?: ChatGoogleInput);
17
16
  buildAbstractedClient(fields: GoogleBaseLLMInput<GoogleAuthOptions> | undefined): GoogleAbstractedClient;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat_models.d.ts","names":["ChatGoogleBase","ChatGoogleBaseInput","GoogleAbstractedClient","GoogleBaseLLMInput","GoogleAuthOptions","ChatGoogleInput","ChatGoogle"],"sources":["../src/chat_models.d.ts"],"sourcesContent":["import { ChatGoogleBase, ChatGoogleBaseInput, GoogleAbstractedClient, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\n/**\n * Input to chat model class.\n */\nexport interface ChatGoogleInput extends ChatGoogleBaseInput<GoogleAuthOptions> {\n}\n/**\n * Integration with a Google chat model.\n */\nexport declare class ChatGoogle extends ChatGoogleBase<GoogleAuthOptions> implements ChatGoogleInput {\n static lc_name(): string;\n constructor(fields?: ChatGoogleInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<GoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=chat_models.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,eAAAA,SAAwBJ,mBAKV,CAL8BG,iBAK9B,CAAA,CAAA;;;;AAGuDF,cAHjEI,UAAAA,SAAmBN,cAG8CE,CAH/BE,iBAG+BF,CAAAA,YAHDG,eAGCH,CAAAA;EAH9CF,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA6CK,WAAAA,CAAAA,MAAAA,CAAAA,EAE5DA,eAF4DA;EAAe,qBAAA,CAAA,MAAA,EAGlEF,kBAHkE,CAG/CC,iBAH+C,CAAA,GAAA,SAAA,CAAA,EAGdF,sBAHc"}
@@ -11,7 +11,6 @@ interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<GoogleAuthOpt
11
11
  * Integration with an Google embeddings model.
12
12
  */
13
13
  declare class GoogleEmbeddings extends BaseGoogleEmbeddings<GoogleAuthOptions> implements GoogleEmbeddingsInput {
14
- // Used for tracing, replace with the same name as your class
15
14
  static lc_name(): string;
16
15
  lc_serializable: boolean;
17
16
  constructor(fields: GoogleEmbeddingsInput);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings.d.cts","names":["GoogleAbstractedClient","GoogleConnectionParams","BaseGoogleEmbeddings","BaseGoogleEmbeddingsParams","GoogleAuthOptions","GoogleEmbeddingsInput","GoogleEmbeddings"],"sources":["../src/embeddings.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleConnectionParams, BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams } from \"@langchain/google-common\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<GoogleAuthOptions> {\n}\n/**\n * Integration with an Google embeddings model.\n */\nexport declare class GoogleEmbeddings extends BaseGoogleEmbeddings<GoogleAuthOptions> implements GoogleEmbeddingsInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields: GoogleEmbeddingsInput);\n buildAbstractedClient(fields?: GoogleConnectionParams<GoogleAuthOptions>): GoogleAbstractedClient;\n}\n//# sourceMappingURL=embeddings.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,qBAAAA,SAA8BF,0BAKV,CALqCC,iBAKrC,CAAA,CAAA;;;;AAI0CJ,cAJ1DM,gBAAAA,SAAyBJ,oBAIiCF,CAJZI,iBAIYJ,CAAAA,YAJkBK,qBAIlBL,CAAAA;EAJjCE,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAmDG,eAAAA,EAAAA,OAAAA;EAAqB,WAAA,CAAA,MAAA,EAG9FA,qBAH8F;iCAInFJ,uBAAuBG,qBAAqBJ"}
@@ -11,7 +11,6 @@ interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<GoogleAuthOpt
11
11
  * Integration with an Google embeddings model.
12
12
  */
13
13
  declare class GoogleEmbeddings extends BaseGoogleEmbeddings<GoogleAuthOptions> implements GoogleEmbeddingsInput {
14
- // Used for tracing, replace with the same name as your class
15
14
  static lc_name(): string;
16
15
  lc_serializable: boolean;
17
16
  constructor(fields: GoogleEmbeddingsInput);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings.d.ts","names":["GoogleAbstractedClient","GoogleConnectionParams","BaseGoogleEmbeddings","BaseGoogleEmbeddingsParams","GoogleAuthOptions","GoogleEmbeddingsInput","GoogleEmbeddings"],"sources":["../src/embeddings.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleConnectionParams, BaseGoogleEmbeddings, BaseGoogleEmbeddingsParams } from \"@langchain/google-common\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleEmbeddingsInput extends BaseGoogleEmbeddingsParams<GoogleAuthOptions> {\n}\n/**\n * Integration with an Google embeddings model.\n */\nexport declare class GoogleEmbeddings extends BaseGoogleEmbeddings<GoogleAuthOptions> implements GoogleEmbeddingsInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields: GoogleEmbeddingsInput);\n buildAbstractedClient(fields?: GoogleConnectionParams<GoogleAuthOptions>): GoogleAbstractedClient;\n}\n//# sourceMappingURL=embeddings.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBM,UALJD,qBAAAA,SAA8BF,0BAKV,CALqCC,iBAKrC,CAAA,CAAA;;;;AAI0CJ,cAJ1DM,gBAAAA,SAAyBJ,oBAIiCF,CAJZI,iBAIYJ,CAAAA,YAJkBK,qBAIlBL,CAAAA;EAJjCE,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAmDG,eAAAA,EAAAA,OAAAA;EAAqB,WAAA,CAAA,MAAA,EAG9FA,qBAH8F;iCAInFJ,uBAAuBG,qBAAqBJ"}
package/dist/llms.d.cts CHANGED
@@ -11,7 +11,6 @@ interface GoogleLLMInput extends GoogleBaseLLMInput<GoogleAuthOptions> {}
11
11
  * Integration with a Google LLM.
12
12
  */
13
13
  declare class GoogleLLM extends GoogleBaseLLM<GoogleAuthOptions> implements GoogleLLMInput {
14
- // Used for tracing, replace with the same name as your class
15
14
  static lc_name(): string;
16
15
  lc_serializable: boolean;
17
16
  constructor(fields?: GoogleLLMInput);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"llms.d.cts","names":["GoogleAbstractedClient","GoogleBaseLLM","GoogleBaseLLMInput","GoogleAuthOptions","GoogleLLMInput","GoogleLLM"],"sources":["../src/llms.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleLLMInput extends GoogleBaseLLMInput<GoogleAuthOptions> {\n}\n/**\n * Integration with a Google LLM.\n */\nexport declare class GoogleLLM extends GoogleBaseLLM<GoogleAuthOptions> implements GoogleLLMInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields?: GoogleLLMInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<GoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=llms.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBK,UALJD,cAAAA,SAAuBF,kBAKV,CAL6BC,iBAK7B,CAAA,CAAA;;;;AAIwDH,cAJjEK,SAAAA,SAAkBJ,aAI+CD,CAJjCG,iBAIiCH,CAAAA,YAJHI,cAIGJ,CAAAA;EAJ/CC,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA4CG,eAAAA,EAAAA,OAAAA;EAAc,WAAA,CAAA,MAAA,CAAA,EAGxEA,cAHwE;gCAI/DF,mBAAmBC,iCAAiCH"}
package/dist/llms.d.ts CHANGED
@@ -11,7 +11,6 @@ interface GoogleLLMInput extends GoogleBaseLLMInput<GoogleAuthOptions> {}
11
11
  * Integration with a Google LLM.
12
12
  */
13
13
  declare class GoogleLLM extends GoogleBaseLLM<GoogleAuthOptions> implements GoogleLLMInput {
14
- // Used for tracing, replace with the same name as your class
15
14
  static lc_name(): string;
16
15
  lc_serializable: boolean;
17
16
  constructor(fields?: GoogleLLMInput);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"llms.d.ts","names":["GoogleAbstractedClient","GoogleBaseLLM","GoogleBaseLLMInput","GoogleAuthOptions","GoogleLLMInput","GoogleLLM"],"sources":["../src/llms.d.ts"],"sourcesContent":["import { GoogleAbstractedClient, GoogleBaseLLM, GoogleBaseLLMInput } from \"@langchain/google-common\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\n/**\n * Input to LLM class.\n */\nexport interface GoogleLLMInput extends GoogleBaseLLMInput<GoogleAuthOptions> {\n}\n/**\n * Integration with a Google LLM.\n */\nexport declare class GoogleLLM extends GoogleBaseLLM<GoogleAuthOptions> implements GoogleLLMInput {\n static lc_name(): string;\n lc_serializable: boolean;\n constructor(fields?: GoogleLLMInput);\n buildAbstractedClient(fields: GoogleBaseLLMInput<GoogleAuthOptions> | undefined): GoogleAbstractedClient;\n}\n//# sourceMappingURL=llms.d.ts.map"],"mappings":";;;;;;;AAKA;AAKqBK,UALJD,cAAAA,SAAuBF,kBAKV,CAL6BC,iBAK7B,CAAA,CAAA;;;;AAIwDH,cAJjEK,SAAAA,SAAkBJ,aAI+CD,CAJjCG,iBAIiCH,CAAAA,YAJHI,cAIGJ,CAAAA;EAJ/CC,OAAAA,OAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAA4CG,eAAAA,EAAAA,OAAAA;EAAc,WAAA,CAAA,MAAA,CAAA,EAGxEA,cAHwE;gCAI/DF,mBAAmBC,iCAAiCH"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.d.cts","names":["GoogleAbstractedClient","BlobStoreGoogleCloudStorageBase","BlobStoreGoogleCloudStorageBaseParams","BlobStoreAIStudioFileBase","BlobStoreAIStudioFileBaseParams","GoogleAuthOptions","BlobStoreGoogleCloudStorageParams","BlobStoreGoogleCloudStorage","BlobStoreAIStudioFileParams","BlobStoreAIStudioFile"],"sources":["../src/media.d.ts"],"sourcesContent":["import { GoogleAbstractedClient } from \"@langchain/google-common\";\nimport { BlobStoreGoogleCloudStorageBase, BlobStoreGoogleCloudStorageBaseParams, BlobStoreAIStudioFileBase, BlobStoreAIStudioFileBaseParams } from \"@langchain/google-common/experimental/media\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\nexport interface BlobStoreGoogleCloudStorageParams extends BlobStoreGoogleCloudStorageBaseParams<GoogleAuthOptions> {\n}\nexport declare class BlobStoreGoogleCloudStorage extends BlobStoreGoogleCloudStorageBase<GoogleAuthOptions> {\n buildClient(fields?: BlobStoreGoogleCloudStorageParams): GoogleAbstractedClient;\n}\nexport interface BlobStoreAIStudioFileParams extends BlobStoreAIStudioFileBaseParams<GoogleAuthOptions> {\n}\nexport declare class BlobStoreAIStudioFile extends BlobStoreAIStudioFileBase<GoogleAuthOptions> {\n buildAbstractedClient(fields?: BlobStoreAIStudioFileParams): GoogleAbstractedClient;\n}\n//# sourceMappingURL=media.d.ts.map"],"mappings":";;;;;UAGiBM,iCAAAA,SAA0CJ,sCAAsCG;AAAhFC,cAEIC,2BAAAA,SAAoCN,+BAFEC,CAE8BG,iBAF9BH,CAAqC,CAAA;EAE3EK,WAAAA,CAAAA,MAA2B,CAA3BA,EACID,iCADuB,CAAA,EACaN,sBADb;;AACvBM,UAERE,2BAAAA,SAAoCJ,+BAF5BE,CAE4DD,iBAF5DC,CAAAA,CAAAA;AADgCL,cAKpCQ,qBAAAA,SAA8BN,yBALMF,CAKoBI,iBALpBJ,CAAAA,CAAAA;EAA+B,qBAAA,CAAA,MAAA,CAAA,EAMrDO,2BANqD,CAAA,EAMvBR,sBANuB;AAGxF"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.d.ts","names":["GoogleAbstractedClient","BlobStoreGoogleCloudStorageBase","BlobStoreGoogleCloudStorageBaseParams","BlobStoreAIStudioFileBase","BlobStoreAIStudioFileBaseParams","GoogleAuthOptions","BlobStoreGoogleCloudStorageParams","BlobStoreGoogleCloudStorage","BlobStoreAIStudioFileParams","BlobStoreAIStudioFile"],"sources":["../src/media.d.ts"],"sourcesContent":["import { GoogleAbstractedClient } from \"@langchain/google-common\";\nimport { BlobStoreGoogleCloudStorageBase, BlobStoreGoogleCloudStorageBaseParams, BlobStoreAIStudioFileBase, BlobStoreAIStudioFileBaseParams } from \"@langchain/google-common/experimental/media\";\nimport { GoogleAuthOptions } from \"google-auth-library\";\nexport interface BlobStoreGoogleCloudStorageParams extends BlobStoreGoogleCloudStorageBaseParams<GoogleAuthOptions> {\n}\nexport declare class BlobStoreGoogleCloudStorage extends BlobStoreGoogleCloudStorageBase<GoogleAuthOptions> {\n buildClient(fields?: BlobStoreGoogleCloudStorageParams): GoogleAbstractedClient;\n}\nexport interface BlobStoreAIStudioFileParams extends BlobStoreAIStudioFileBaseParams<GoogleAuthOptions> {\n}\nexport declare class BlobStoreAIStudioFile extends BlobStoreAIStudioFileBase<GoogleAuthOptions> {\n buildAbstractedClient(fields?: BlobStoreAIStudioFileParams): GoogleAbstractedClient;\n}\n//# sourceMappingURL=media.d.ts.map"],"mappings":";;;;;UAGiBM,iCAAAA,SAA0CJ,sCAAsCG;AAAhFC,cAEIC,2BAAAA,SAAoCN,+BAFEC,CAE8BG,iBAF9BH,CAAqC,CAAA;EAE3EK,WAAAA,CAAAA,MAA2B,CAA3BA,EACID,iCADuB,CAAA,EACaN,sBADb;;AACvBM,UAERE,2BAAAA,SAAoCJ,+BAF5BE,CAE4DD,iBAF5DC,CAAAA,CAAAA;AADgCL,cAKpCQ,qBAAAA,SAA8BN,yBALMF,CAKoBI,iBALpBJ,CAAAA,CAAAA;EAA+B,qBAAA,CAAA,MAAA,CAAA,EAMrDO,2BANqD,CAAA,EAMvBR,sBANuB;AAGxF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-gauth",
3
- "version": "2.0.4",
3
+ "version": "2.0.5-dev-1765431816670",
4
4
  "description": "Google auth based authentication support for Google services",
5
5
  "author": "LangChain",
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-gauth/",
16
16
  "dependencies": {
17
17
  "google-auth-library": "^10.1.0",
18
- "@langchain/google-common": "2.0.4"
18
+ "@langchain/google-common": "2.0.5-dev-1765431816670"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@jest/globals": "^29.5.0",
@@ -32,6 +32,7 @@
32
32
  "ts-jest": "^29.1.0",
33
33
  "typescript": "~5.8.3",
34
34
  "zod": "^3.25.76",
35
+ "@langchain/tsconfig": "0.0.1",
35
36
  "@langchain/eslint": "0.1.1"
36
37
  },
37
38
  "publishConfig": {
@@ -97,7 +98,7 @@
97
98
  "test:standard:unit": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.standard\\.test.ts --testTimeout 100000 --maxWorkers=50%",
98
99
  "test:standard:int": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.standard\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%",
99
100
  "test:standard": "pnpm test:standard:unit && pnpm test:standard:int",
100
- "format": "prettier --config .prettierrc --write \"src\"",
101
- "format:check": "prettier --config .prettierrc --check \"src\""
101
+ "format": "prettier --write \"src\"",
102
+ "format:check": "prettier --check \"src\""
102
103
  }
103
104
  }