@dzapio/sdk 2.0.16 → 2.0.17
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 +29 -3
- package/dist/index.mjs +29 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10733,9 +10733,33 @@ var pushTestnet = /* @__PURE__ */ viem.defineChain({
|
|
|
10733
10733
|
}
|
|
10734
10734
|
}
|
|
10735
10735
|
});
|
|
10736
|
+
var astralisTestnet = /* @__PURE__ */ viem.defineChain({
|
|
10737
|
+
id: 71261,
|
|
10738
|
+
name: "Astralis Chain",
|
|
10739
|
+
nativeCurrency: {
|
|
10740
|
+
decimals: 18,
|
|
10741
|
+
name: "ASTCH",
|
|
10742
|
+
symbol: "ASTCH"
|
|
10743
|
+
},
|
|
10744
|
+
rpcUrls: {
|
|
10745
|
+
default: { http: ["https://test-rpc.astralischain.com"] }
|
|
10746
|
+
},
|
|
10747
|
+
blockExplorers: {
|
|
10748
|
+
default: {
|
|
10749
|
+
name: "Astralis Testnet Explorer",
|
|
10750
|
+
url: "https://test-explorer.astralischain.com"
|
|
10751
|
+
}
|
|
10752
|
+
},
|
|
10753
|
+
contracts: {
|
|
10754
|
+
multicall3: {
|
|
10755
|
+
address: "0xd74bAE15b413e0a90A7B2C1723F4A9c15cb49f73",
|
|
10756
|
+
blockCreated: 260214
|
|
10757
|
+
}
|
|
10758
|
+
}
|
|
10759
|
+
});
|
|
10736
10760
|
|
|
10737
10761
|
// src/chains/index.ts
|
|
10738
|
-
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet];
|
|
10762
|
+
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet, astralisTestnet];
|
|
10739
10763
|
var viemChainsById = [...Object.values(viemChains__namespace), ...customViemChains].reduce((acc, chainData) => {
|
|
10740
10764
|
return chainData.id ? {
|
|
10741
10765
|
...acc,
|
|
@@ -12785,7 +12809,8 @@ var exclusiveChainIds = {
|
|
|
12785
12809
|
lens: 232,
|
|
12786
12810
|
citreaTestnet: 5115,
|
|
12787
12811
|
hyperLiquid: 998,
|
|
12788
|
-
pushTestnet: 42101
|
|
12812
|
+
pushTestnet: 42101,
|
|
12813
|
+
astralisTestnet: 71261
|
|
12789
12814
|
};
|
|
12790
12815
|
|
|
12791
12816
|
// src/constants/contract.ts
|
|
@@ -12801,7 +12826,8 @@ var exclusivePermit2Addresses = {
|
|
|
12801
12826
|
[exclusiveChainIds.bahamut]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12802
12827
|
[exclusiveChainIds.pushTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12803
12828
|
[exclusiveChainIds.abstract]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12804
|
-
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa"
|
|
12829
|
+
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12830
|
+
[exclusiveChainIds.astralisTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5"
|
|
12805
12831
|
};
|
|
12806
12832
|
var DEFAULT_PERMIT2_ADDRESS = "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
12807
12833
|
|
package/dist/index.mjs
CHANGED
|
@@ -10707,9 +10707,33 @@ var pushTestnet = /* @__PURE__ */ defineChain({
|
|
|
10707
10707
|
}
|
|
10708
10708
|
}
|
|
10709
10709
|
});
|
|
10710
|
+
var astralisTestnet = /* @__PURE__ */ defineChain({
|
|
10711
|
+
id: 71261,
|
|
10712
|
+
name: "Astralis Chain",
|
|
10713
|
+
nativeCurrency: {
|
|
10714
|
+
decimals: 18,
|
|
10715
|
+
name: "ASTCH",
|
|
10716
|
+
symbol: "ASTCH"
|
|
10717
|
+
},
|
|
10718
|
+
rpcUrls: {
|
|
10719
|
+
default: { http: ["https://test-rpc.astralischain.com"] }
|
|
10720
|
+
},
|
|
10721
|
+
blockExplorers: {
|
|
10722
|
+
default: {
|
|
10723
|
+
name: "Astralis Testnet Explorer",
|
|
10724
|
+
url: "https://test-explorer.astralischain.com"
|
|
10725
|
+
}
|
|
10726
|
+
},
|
|
10727
|
+
contracts: {
|
|
10728
|
+
multicall3: {
|
|
10729
|
+
address: "0xd74bAE15b413e0a90A7B2C1723F4A9c15cb49f73",
|
|
10730
|
+
blockCreated: 260214
|
|
10731
|
+
}
|
|
10732
|
+
}
|
|
10733
|
+
});
|
|
10710
10734
|
|
|
10711
10735
|
// src/chains/index.ts
|
|
10712
|
-
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet];
|
|
10736
|
+
var customViemChains = [fiveIre, arthera, hyperEvm, hyperliquid, stableChain, pushTestnet, astralisTestnet];
|
|
10713
10737
|
var viemChainsById = [...Object.values(viemChains), ...customViemChains].reduce((acc, chainData) => {
|
|
10714
10738
|
return chainData.id ? {
|
|
10715
10739
|
...acc,
|
|
@@ -12759,7 +12783,8 @@ var exclusiveChainIds = {
|
|
|
12759
12783
|
lens: 232,
|
|
12760
12784
|
citreaTestnet: 5115,
|
|
12761
12785
|
hyperLiquid: 998,
|
|
12762
|
-
pushTestnet: 42101
|
|
12786
|
+
pushTestnet: 42101,
|
|
12787
|
+
astralisTestnet: 71261
|
|
12763
12788
|
};
|
|
12764
12789
|
|
|
12765
12790
|
// src/constants/contract.ts
|
|
@@ -12775,7 +12800,8 @@ var exclusivePermit2Addresses = {
|
|
|
12775
12800
|
[exclusiveChainIds.bahamut]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12776
12801
|
[exclusiveChainIds.pushTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5",
|
|
12777
12802
|
[exclusiveChainIds.abstract]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12778
|
-
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa"
|
|
12803
|
+
[exclusiveChainIds.lens]: "0x0000000000225e31D15943971F47aD3022F714Fa",
|
|
12804
|
+
[exclusiveChainIds.astralisTestnet]: "0x08208a5f56696E7AA3eAF7a307fa63B37bd8e8A5"
|
|
12779
12805
|
};
|
|
12780
12806
|
var DEFAULT_PERMIT2_ADDRESS = "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
12781
12807
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzapio/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.17",
|
|
4
4
|
"description": "A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|