langchain 0.0.139 → 0.0.140

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/dist/hub.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { ClientConfiguration, HubPushOptions } from "langchainhub";
2
2
  import { Runnable } from "./schema/runnable.js";
3
- export declare function push(repoFullName: string, runnable: Runnable, options?: HubPushOptions & ClientConfiguration): Promise<any>;
3
+ export declare function push(repoFullName: string, runnable: Runnable, options?: HubPushOptions & ClientConfiguration): Promise<string>;
4
4
  export declare function pull<T extends Runnable>(ownerRepoCommit: string, options?: ClientConfiguration): Promise<T>;
@@ -64,7 +64,7 @@ class SageMakerEndpoint extends base_js_1.LLM {
64
64
  get lc_secrets() {
65
65
  return {
66
66
  "clientOptions.credentials.accessKeyId": "AWS_ACCESS_KEY_ID",
67
- "clientOptions.credentials.secretAccessKey": "AWS_SECRETE_ACCESS_KEY",
67
+ "clientOptions.credentials.secretAccessKey": "AWS_SECRET_ACCESS_KEY",
68
68
  "clientOptions.credentials.sessionToken": "AWS_SESSION_TOKEN",
69
69
  };
70
70
  }
@@ -60,7 +60,7 @@ export class SageMakerEndpoint extends LLM {
60
60
  get lc_secrets() {
61
61
  return {
62
62
  "clientOptions.credentials.accessKeyId": "AWS_ACCESS_KEY_ID",
63
- "clientOptions.credentials.secretAccessKey": "AWS_SECRETE_ACCESS_KEY",
63
+ "clientOptions.credentials.secretAccessKey": "AWS_SECRET_ACCESS_KEY",
64
64
  "clientOptions.credentials.sessionToken": "AWS_SESSION_TOKEN",
65
65
  };
66
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langchain",
3
- "version": "0.0.139",
3
+ "version": "0.0.140",
4
4
  "description": "Typescript bindings for langchain",
5
5
  "type": "module",
6
6
  "engines": {
@@ -698,7 +698,6 @@
698
698
  "ioredis": "^5.3.2",
699
699
  "jest": "^29.5.0",
700
700
  "jsdom": "^22.1.0",
701
- "langchainhub": "~0.0.3",
702
701
  "mammoth": "^1.5.1",
703
702
  "ml-matrix": "^6.10.4",
704
703
  "mongodb": "^5.2.0",
@@ -786,7 +785,6 @@
786
785
  "ignore": "^5.2.0",
787
786
  "ioredis": "^5.3.2",
788
787
  "jsdom": "*",
789
- "langchainhub": "~0.0.3",
790
788
  "mammoth": "*",
791
789
  "mongodb": "^5.2.0",
792
790
  "mysql2": "^3.3.3",
@@ -974,9 +972,6 @@
974
972
  "jsdom": {
975
973
  "optional": true
976
974
  },
977
- "langchainhub": {
978
- "optional": true
979
- },
980
975
  "mammoth": {
981
976
  "optional": true
982
977
  },
@@ -1058,6 +1053,7 @@
1058
1053
  "js-tiktoken": "^1.0.7",
1059
1054
  "js-yaml": "^4.1.0",
1060
1055
  "jsonpointer": "^5.0.1",
1056
+ "langchainhub": "~0.0.6",
1061
1057
  "langsmith": "~0.0.31",
1062
1058
  "ml-distance": "^4.0.0",
1063
1059
  "object-hash": "^3.0.0",