@zyfai/sdk 0.2.56 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyfai/sdk",
3
- "version": "0.2.56",
3
+ "version": "0.3.0",
4
4
  "description": "TypeScript SDK for Zyfai Yield Optimization Engine - Deploy Safe smart wallets, manage session keys, and interact with DeFi protocols",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -27,8 +27,12 @@
27
27
  "build": "tsup src/index.ts --format cjs,esm --dts",
28
28
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
29
29
  "typecheck": "tsc -p tsconfig.typecheck.json --noEmit",
30
- "test:unit": "npx tsx --test src/utils/*.test.ts",
30
+ "test": "vitest run",
31
+ "test:unit": "vitest run src/utils",
32
+ "test:integration": "sh -c 'if [ -n \"$1\" ]; then vitest run src/integration/$1.integration.test.ts --fileParallelism=false; else vitest run src/integration --fileParallelism=false; fi' --",
31
33
  "check": "npm run typecheck && npm run test:unit && npm run build",
34
+ "changeset": "changeset",
35
+ "version-packages": "changeset version",
32
36
  "prepublishOnly": "npm run build",
33
37
  "docs": "typedoc",
34
38
  "docs:watch": "typedoc --watch",
@@ -71,14 +75,19 @@
71
75
  "siwe": "^3.0.0"
72
76
  },
73
77
  "devDependencies": {
78
+ "@changesets/changelog-github": "^0.5.2",
79
+ "@changesets/cli": "^2.31.1",
74
80
  "@types/node": "^20.0.0",
75
81
  "dotenv": "^17.2.3",
82
+ "ethers": "^6.17.0",
76
83
  "tsup": "^8.0.0",
84
+ "tsx": "^4",
77
85
  "typedoc": "^0.28.15",
78
86
  "typedoc-plugin-markdown": "^4.9.0",
79
- "tsx": "^4",
80
87
  "typescript": "^5.3.0",
81
- "viem": "^2.0.0"
88
+ "viem": "^2.0.0",
89
+ "vite": "^6.0.0",
90
+ "vitest": "^3.0.0"
82
91
  },
83
92
  "peerDependencies": {
84
93
  "viem": "^2.0.0"