@layerzerolabs/lz-definitions 3.0.104 → 3.0.105-mpt.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/dist/index.cjs +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.mjs +9 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -620,6 +620,7 @@ var SandboxEndpointId = /* @__PURE__ */ ((SandboxEndpointId2) => {
|
|
|
620
620
|
SandboxEndpointId2[SandboxEndpointId2["ARBITRUM_SANDBOX"] = 20231] = "ARBITRUM_SANDBOX";
|
|
621
621
|
SandboxEndpointId2[SandboxEndpointId2["FANTOM_SANDBOX"] = 20112] = "FANTOM_SANDBOX";
|
|
622
622
|
SandboxEndpointId2[SandboxEndpointId2["METIS_SANDBOX"] = 20151] = "METIS_SANDBOX";
|
|
623
|
+
SandboxEndpointId2[SandboxEndpointId2["ZKSYNC_SANDBOX"] = 20165] = "ZKSYNC_SANDBOX";
|
|
623
624
|
return SandboxEndpointId2;
|
|
624
625
|
})(SandboxEndpointId || {});
|
|
625
626
|
var MainnetV2EndpointId = /* @__PURE__ */ ((MainnetV2EndpointId2) => {
|
|
@@ -976,6 +977,7 @@ var SandboxV2EndpointId = /* @__PURE__ */ ((SandboxV2EndpointId2) => {
|
|
|
976
977
|
SandboxV2EndpointId2[SandboxV2EndpointId2["ARBITRUM_V2_SANDBOX"] = 50231] = "ARBITRUM_V2_SANDBOX";
|
|
977
978
|
SandboxV2EndpointId2[SandboxV2EndpointId2["TON_V2_SANDBOX"] = 50343] = "TON_V2_SANDBOX";
|
|
978
979
|
SandboxV2EndpointId2[SandboxV2EndpointId2["PLACEHOLDER0_V2_SANDBOX"] = 50378] = "PLACEHOLDER0_V2_SANDBOX";
|
|
980
|
+
SandboxV2EndpointId2[SandboxV2EndpointId2["ZKSYNC_V2_SANDBOX"] = 50165] = "ZKSYNC_V2_SANDBOX";
|
|
979
981
|
return SandboxV2EndpointId2;
|
|
980
982
|
})(SandboxV2EndpointId || {});
|
|
981
983
|
var EndpointId = {
|
|
@@ -1218,6 +1220,7 @@ var ChainKey = /* @__PURE__ */ ((ChainKey3) => {
|
|
|
1218
1220
|
ChainKey3["METIS_SANDBOX"] = "metis-sandbox";
|
|
1219
1221
|
ChainKey3["SOLANA_SANDBOX"] = "solana-sandbox";
|
|
1220
1222
|
ChainKey3["TON_SANDBOX"] = "ton-sandbox";
|
|
1223
|
+
ChainKey3["ZKSYNC_SANDBOX"] = "zksync-sandbox";
|
|
1221
1224
|
ChainKey3["PLACEHOLDER0_SANDBOX"] = "placeholder0-sandbox";
|
|
1222
1225
|
ChainKey3["BOTANIX_TESTNET"] = "botanix-testnet";
|
|
1223
1226
|
ChainKey3["EBI_TESTNET"] = "ebi-testnet";
|
|
@@ -2071,6 +2074,7 @@ var CHAIN_KEY = {
|
|
|
2071
2074
|
[EndpointId.ARBITRUM_SANDBOX]: "arbitrum-sandbox" /* ARBITRUM_SANDBOX */,
|
|
2072
2075
|
[EndpointId.FANTOM_SANDBOX]: "fantom-sandbox" /* FANTOM_SANDBOX */,
|
|
2073
2076
|
[EndpointId.METIS_SANDBOX]: "metis-sandbox" /* METIS_SANDBOX */,
|
|
2077
|
+
[EndpointId.ZKSYNC_SANDBOX]: "zksync-sandbox" /* ZKSYNC_SANDBOX */,
|
|
2074
2078
|
// v2 sandbox
|
|
2075
2079
|
[EndpointId.ETHEREUM_V2_SANDBOX]: "ethereum-sandbox" /* ETHEREUM_SANDBOX */,
|
|
2076
2080
|
[EndpointId.POLYGON_V2_SANDBOX]: "polygon-sandbox" /* POLYGON_SANDBOX */,
|
|
@@ -2086,7 +2090,8 @@ var CHAIN_KEY = {
|
|
|
2086
2090
|
[EndpointId.TRONDEV_V2_SANDBOX]: "tron-sandbox" /* TRON_SANDBOX */,
|
|
2087
2091
|
[EndpointId.ARBITRUM_V2_SANDBOX]: "arbitrum-sandbox" /* ARBITRUM_SANDBOX */,
|
|
2088
2092
|
[EndpointId.TON_V2_SANDBOX]: "ton-sandbox" /* TON_SANDBOX */,
|
|
2089
|
-
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "placeholder0-sandbox" /* PLACEHOLDER0_SANDBOX
|
|
2093
|
+
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "placeholder0-sandbox" /* PLACEHOLDER0_SANDBOX */,
|
|
2094
|
+
[EndpointId.ZKSYNC_V2_SANDBOX]: "zksync-sandbox" /* ZKSYNC_SANDBOX */
|
|
2090
2095
|
};
|
|
2091
2096
|
|
|
2092
2097
|
// src/constants/environment.ts
|
|
@@ -2764,6 +2769,7 @@ var ENVIRONMENT = {
|
|
|
2764
2769
|
[EndpointId.ARBITRUM_SANDBOX]: "testnet" /* TESTNET */,
|
|
2765
2770
|
[EndpointId.FANTOM_SANDBOX]: "testnet" /* TESTNET */,
|
|
2766
2771
|
[EndpointId.METIS_SANDBOX]: "testnet" /* TESTNET */,
|
|
2772
|
+
[EndpointId.ZKSYNC_SANDBOX]: "testnet" /* TESTNET */,
|
|
2767
2773
|
// v2 sandbox
|
|
2768
2774
|
[EndpointId.ETHEREUM_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2769
2775
|
[EndpointId.POLYGON_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
@@ -2779,7 +2785,8 @@ var ENVIRONMENT = {
|
|
|
2779
2785
|
[EndpointId.TRONDEV_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2780
2786
|
[EndpointId.ARBITRUM_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2781
2787
|
[EndpointId.TON_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2782
|
-
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "devnet" /* DEVNET
|
|
2788
|
+
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2789
|
+
[EndpointId.ZKSYNC_V2_SANDBOX]: "devnet" /* DEVNET */
|
|
2783
2790
|
};
|
|
2784
2791
|
|
|
2785
2792
|
// src/constants/ulnv1.ts
|