@coinbase/agentkit 0.0.0-nightly-20250902210403 → 0.0.0-nightly-20250903210403
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.
|
@@ -246,7 +246,17 @@ _CdpEvmWalletProvider_publicClient = new WeakMap(), _CdpEvmWalletProvider_server
|
|
|
246
246
|
return "base-sepolia";
|
|
247
247
|
case "base-mainnet":
|
|
248
248
|
return "base";
|
|
249
|
+
case "ethereum-mainnet":
|
|
250
|
+
return "ethereum";
|
|
251
|
+
case "ethereum-sepolia":
|
|
252
|
+
return "ethereum-sepolia";
|
|
253
|
+
case "polygon-mainnet":
|
|
254
|
+
return "polygon";
|
|
255
|
+
case "arbitrum-mainnet":
|
|
256
|
+
return "arbitrum";
|
|
257
|
+
case "optimism-mainnet":
|
|
258
|
+
return "optimism";
|
|
249
259
|
default:
|
|
250
|
-
throw new Error(`Unsupported network: ${__classPrivateFieldGet(this, _CdpEvmWalletProvider_network, "f").networkId}`);
|
|
260
|
+
throw new Error(`Unsupported network for CDP SDK: ${__classPrivateFieldGet(this, _CdpEvmWalletProvider_network, "f").networkId}`);
|
|
251
261
|
}
|
|
252
262
|
};
|
|
@@ -277,6 +277,16 @@ _CdpSmartWalletProvider_publicClient = new WeakMap(), _CdpSmartWalletProvider_cd
|
|
|
277
277
|
return "base-sepolia";
|
|
278
278
|
case "base-mainnet":
|
|
279
279
|
return "base";
|
|
280
|
+
case "ethereum-mainnet":
|
|
281
|
+
return "ethereum";
|
|
282
|
+
case "ethereum-sepolia":
|
|
283
|
+
return "ethereum-sepolia";
|
|
284
|
+
case "polygon-mainnet":
|
|
285
|
+
return "polygon";
|
|
286
|
+
case "arbitrum-mainnet":
|
|
287
|
+
return "arbitrum";
|
|
288
|
+
case "optimism-mainnet":
|
|
289
|
+
return "optimism";
|
|
280
290
|
default:
|
|
281
291
|
throw new Error(`Unsupported network for smart wallets: ${__classPrivateFieldGet(this, _CdpSmartWalletProvider_network, "f").networkId}`);
|
|
282
292
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@coinbase/agentkit",
|
|
3
3
|
"description": "Coinbase AgentKit core primitives",
|
|
4
4
|
"repository": "https://github.com/coinbase/agentkit",
|
|
5
|
-
"version": "0.0.0-nightly-
|
|
5
|
+
"version": "0.0.0-nightly-20250903210403",
|
|
6
6
|
"author": "Coinbase Inc.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"main": "dist/index.js",
|