@m0-foundation/ntt-sdk-route 0.0.22 → 0.0.23
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/dist/index.js +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +6 -14
package/dist/index.js
CHANGED
|
@@ -669,7 +669,7 @@ function pk(address) {
|
|
|
669
669
|
function getExecutorConfig(network = "Mainnet") {
|
|
670
670
|
const svmContracts = SolanaRoutes.getSolanaContracts(network, "Solana");
|
|
671
671
|
const svmChains = ["Solana", "Fogo"];
|
|
672
|
-
const evmChains = network === "Mainnet" ? ["Ethereum", "Optimism", "Arbitrum"] : ["Sepolia", "ArbitrumSepolia", "OptimismSepolia"];
|
|
672
|
+
const evmChains = network === "Mainnet" ? ["Ethereum", "Optimism", "Arbitrum", "Base"] : ["Sepolia", "ArbitrumSepolia", "OptimismSepolia", "BaseSepolia"];
|
|
673
673
|
return {
|
|
674
674
|
ntt: {
|
|
675
675
|
tokens: {
|
|
@@ -732,12 +732,13 @@ var _M0AutomaticRoute = class _M0AutomaticRoute extends sdkConnect.routes.Automa
|
|
|
732
732
|
static supportedChains(network) {
|
|
733
733
|
switch (network) {
|
|
734
734
|
case "Mainnet":
|
|
735
|
-
return ["Ethereum", "Arbitrum", "Optimism", "Solana", "Fogo"];
|
|
735
|
+
return ["Ethereum", "Arbitrum", "Optimism", "Base", "Solana", "Fogo"];
|
|
736
736
|
case "Testnet":
|
|
737
737
|
return [
|
|
738
738
|
"Sepolia",
|
|
739
739
|
"ArbitrumSepolia",
|
|
740
740
|
"OptimismSepolia",
|
|
741
|
+
"BaseSepolia",
|
|
741
742
|
"Solana",
|
|
742
743
|
"Fogo"
|
|
743
744
|
];
|
|
@@ -750,9 +751,11 @@ var _M0AutomaticRoute = class _M0AutomaticRoute extends sdkConnect.routes.Automa
|
|
|
750
751
|
case "Ethereum":
|
|
751
752
|
case "Optimism":
|
|
752
753
|
case "Arbitrum":
|
|
754
|
+
case "Base":
|
|
753
755
|
case "Sepolia":
|
|
754
756
|
case "OptimismSepolia":
|
|
755
757
|
case "ArbitrumSepolia":
|
|
758
|
+
case "BaseSepolia":
|
|
756
759
|
return this.EVM_CONTRACTS;
|
|
757
760
|
case "Solana":
|
|
758
761
|
case "Fogo":
|
package/dist/index.mjs
CHANGED
|
@@ -663,7 +663,7 @@ function pk(address) {
|
|
|
663
663
|
function getExecutorConfig(network = "Mainnet") {
|
|
664
664
|
const svmContracts = SolanaRoutes.getSolanaContracts(network, "Solana");
|
|
665
665
|
const svmChains = ["Solana", "Fogo"];
|
|
666
|
-
const evmChains = network === "Mainnet" ? ["Ethereum", "Optimism", "Arbitrum"] : ["Sepolia", "ArbitrumSepolia", "OptimismSepolia"];
|
|
666
|
+
const evmChains = network === "Mainnet" ? ["Ethereum", "Optimism", "Arbitrum", "Base"] : ["Sepolia", "ArbitrumSepolia", "OptimismSepolia", "BaseSepolia"];
|
|
667
667
|
return {
|
|
668
668
|
ntt: {
|
|
669
669
|
tokens: {
|
|
@@ -726,12 +726,13 @@ var _M0AutomaticRoute = class _M0AutomaticRoute extends routes.AutomaticRoute {
|
|
|
726
726
|
static supportedChains(network) {
|
|
727
727
|
switch (network) {
|
|
728
728
|
case "Mainnet":
|
|
729
|
-
return ["Ethereum", "Arbitrum", "Optimism", "Solana", "Fogo"];
|
|
729
|
+
return ["Ethereum", "Arbitrum", "Optimism", "Base", "Solana", "Fogo"];
|
|
730
730
|
case "Testnet":
|
|
731
731
|
return [
|
|
732
732
|
"Sepolia",
|
|
733
733
|
"ArbitrumSepolia",
|
|
734
734
|
"OptimismSepolia",
|
|
735
|
+
"BaseSepolia",
|
|
735
736
|
"Solana",
|
|
736
737
|
"Fogo"
|
|
737
738
|
];
|
|
@@ -744,9 +745,11 @@ var _M0AutomaticRoute = class _M0AutomaticRoute extends routes.AutomaticRoute {
|
|
|
744
745
|
case "Ethereum":
|
|
745
746
|
case "Optimism":
|
|
746
747
|
case "Arbitrum":
|
|
748
|
+
case "Base":
|
|
747
749
|
case "Sepolia":
|
|
748
750
|
case "OptimismSepolia":
|
|
749
751
|
case "ArbitrumSepolia":
|
|
752
|
+
case "BaseSepolia":
|
|
750
753
|
return this.EVM_CONTRACTS;
|
|
751
754
|
case "Solana":
|
|
752
755
|
case "Fogo":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m0-foundation/ntt-sdk-route",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,11 +20,6 @@
|
|
|
20
20
|
"files": [
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "$npm_execpath tsup --clean",
|
|
25
|
-
"clean": "rm -rf dist",
|
|
26
|
-
"test-bridge": "node --env-file=.env -r ts-node/register scripts/bridge.ts"
|
|
27
|
-
},
|
|
28
23
|
"devDependencies": {
|
|
29
24
|
"@changesets/cli": "^2.28.1",
|
|
30
25
|
"@types/bn.js": "^5.2.0",
|
|
@@ -36,7 +31,6 @@
|
|
|
36
31
|
"publishConfig": {
|
|
37
32
|
"access": "public"
|
|
38
33
|
},
|
|
39
|
-
"packageManager": "pnpm@10.18.3",
|
|
40
34
|
"dependencies": {
|
|
41
35
|
"@noble/hashes": "^1.8.0",
|
|
42
36
|
"@solana/spl-token": "^0.4.13",
|
|
@@ -52,11 +46,9 @@
|
|
|
52
46
|
"bn.js": "^5.2.2",
|
|
53
47
|
"ethers": "^6.5.1"
|
|
54
48
|
},
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"@wormhole-foundation/sdk-definitions": "3.4.7"
|
|
60
|
-
}
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "$npm_execpath tsup --clean",
|
|
51
|
+
"clean": "rm -rf dist",
|
|
52
|
+
"test-bridge": "node --env-file=.env -r ts-node/register scripts/bridge.ts"
|
|
61
53
|
}
|
|
62
|
-
}
|
|
54
|
+
}
|