@zyfai/sdk 0.1.18 → 0.1.19
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/README.md +0 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,15 +59,6 @@ const sdk = new ZyfaiSDK("your-api-key");
|
|
|
59
59
|
| `bundlerApiKey` | No\* | Pimlico API key for Safe deployment (\*required for `deploySafe`) |
|
|
60
60
|
| `environment` | No | `"production"` or `"staging"` (default: `"production"`) |
|
|
61
61
|
|
|
62
|
-
**API Endpoints by Environment:**
|
|
63
|
-
|
|
64
|
-
The SDK uses a single API key for both Execution API and Data API:
|
|
65
|
-
|
|
66
|
-
| Environment | Execution API | Data API |
|
|
67
|
-
| ------------ | ---------------------------- | -------------------------------- |
|
|
68
|
-
| `production` | `https://api.zyf.ai` | `https://defiapi.zyf.ai` |
|
|
69
|
-
| `staging` | `https://staging-api.zyf.ai` | `https://staging-defiapi.zyf.ai` |
|
|
70
|
-
|
|
71
62
|
### Connect Account
|
|
72
63
|
|
|
73
64
|
The SDK accepts either a private key or a modern wallet provider. **The SDK automatically authenticates the user via SIWE (Sign-In with Ethereum) when connecting.**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zyfai/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
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",
|