Skip to content

Commit

Permalink
Updated discord.js dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Maanethdesilva committed Nov 24, 2023
1 parent 6bf96cc commit ec6c255
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/api_refs/typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"./langchain/src/tools/aws_lambda.ts",
"./langchain/src/tools/aws_sfn.ts",
"./langchain/src/tools/calculator.ts",
"./langchain/src/tools/discord.ts",
"./langchain/src/tools/render.ts",
"./langchain/src/tools/sql.ts",
"./langchain/src/tools/webbrowser.ts",
Expand Down
3 changes: 3 additions & 0 deletions langchain/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ tools/aws_sfn.d.ts
tools/calculator.cjs
tools/calculator.js
tools/calculator.d.ts
tools/discord.cjs
tools/discord.js
tools/discord.d.ts
tools/render.cjs
tools/render.js
tools/render.d.ts
Expand Down
14 changes: 13 additions & 1 deletion langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
"tools/calculator.cjs",
"tools/calculator.js",
"tools/calculator.d.ts",
"tools/discord.cjs",
"tools/discord.js",
"tools/discord.d.ts",
"tools/render.cjs",
"tools/render.js",
"tools/render.d.ts",
Expand Down Expand Up @@ -923,6 +926,7 @@
"cohere-ai": ">=6.0.0",
"convex": "^1.3.1",
"d3-dsv": "^2.0.0",
"discord.js": "^14.14.1",
"dotenv": "^16.0.3",
"dpdm": "^3.12.0",
"epub2": "^3.0.1",
Expand Down Expand Up @@ -1041,6 +1045,7 @@
"cohere-ai": ">=6.0.0",
"convex": "^1.3.1",
"d3-dsv": "^2.0.0",
"discord.js": "^14.14.1",
"epub2": "^3.0.1",
"faiss-node": "^0.5.1",
"fast-xml-parser": "^4.2.7",
Expand Down Expand Up @@ -1255,6 +1260,9 @@
"d3-dsv": {
"optional": true
},
"discord.js": {
"optional": true
},
"epub2": {
"optional": true
},
Expand Down Expand Up @@ -1384,7 +1392,6 @@
"@langchain/core": "^0.0.1",
"@langchain/openai": "^0.0.1",
"binary-extensions": "^2.2.0",
"discord.js": "^14.14.1",
"expr-eval": "^2.0.2",
"flat": "^5.0.2",
"js-tiktoken": "^1.0.7",
Expand Down Expand Up @@ -1518,6 +1525,11 @@
"import": "./tools/calculator.js",
"require": "./tools/calculator.cjs"
},
"./tools/discord": {
"types": "./tools/discord.d.ts",
"import": "./tools/discord.js",
"require": "./tools/discord.cjs"
},
"./tools/render": {
"types": "./tools/render.d.ts",
"import": "./tools/render.js",
Expand Down
2 changes: 2 additions & 0 deletions langchain/scripts/create-entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const entrypoints = {
"tools/aws_lambda": "tools/aws_lambda",
"tools/aws_sfn": "tools/aws_sfn",
"tools/calculator": "tools/calculator",
"tools/discord": "tools/discord",
"tools/render": "tools/render",
"tools/sql": "tools/sql",
"tools/webbrowser": "tools/webbrowser",
Expand Down Expand Up @@ -341,6 +342,7 @@ const requiresOptionalDependency = [
"tools/aws_lambda",
"tools/aws_sfn",
"tools/calculator",
"tools/discord",
"tools/sql",
"tools/webbrowser",
"tools/google_calendar",
Expand Down
1 change: 1 addition & 0 deletions langchain/src/load/import_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const optionalImportEntrypoints = [
"langchain/tools/aws_lambda",
"langchain/tools/aws_sfn",
"langchain/tools/calculator",
"langchain/tools/discord",
"langchain/tools/sql",
"langchain/tools/webbrowser",
"langchain/tools/google_calendar",
Expand Down
3 changes: 3 additions & 0 deletions langchain/src/load/import_type.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export interface OptionalImportMap {
"langchain/tools/calculator"?:
| typeof import("../tools/calculator.js")
| Promise<typeof import("../tools/calculator.js")>;
"langchain/tools/discord"?:
| typeof import("../tools/discord.js")
| Promise<typeof import("../tools/discord.js")>;
"langchain/tools/sql"?:
| typeof import("../tools/sql.js")
| Promise<typeof import("../tools/sql.js")>;
Expand Down
3 changes: 3 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22670,6 +22670,7 @@ __metadata:
cohere-ai: ">=6.0.0"
convex: ^1.3.1
d3-dsv: ^2.0.0
discord.js: ^14.14.1
epub2: ^3.0.1
faiss-node: ^0.5.1
fast-xml-parser: ^4.2.7
Expand Down Expand Up @@ -22826,6 +22827,8 @@ __metadata:
optional: true
d3-dsv:
optional: true
discord.js:
optional: true
epub2:
optional: true
faiss-node:
Expand Down

0 comments on commit ec6c255

Please sign in to comment.