refactor(nodejs-sdk): replace axios with fetch transport (#34325)

This commit is contained in:
yyh
2026-03-31 08:41:30 +00:00
committed by GitHub
parent b54a0dc1e4
commit fbd2d31624
41 changed files with 1673 additions and 1118 deletions
+3 -5
View File
@@ -1,6 +1,6 @@
{
"name": "dify-client",
"version": "3.0.0",
"version": "3.1.0",
"description": "This is the Node.js SDK for the Dify.AI API, which allows you to easily integrate Dify.AI into your Node.js applications.",
"type": "module",
"main": "./dist/index.js",
@@ -15,7 +15,8 @@
"node": ">=18.0.0"
},
"files": [
"dist",
"dist/index.js",
"dist/index.d.ts",
"README.md",
"LICENSE"
],
@@ -53,9 +54,6 @@
"publish:check": "./scripts/publish.sh --dry-run",
"publish:npm": "./scripts/publish.sh"
},
"dependencies": {
"axios": "catalog:"
},
"devDependencies": {
"@eslint/js": "catalog:",
"@types/node": "catalog:",