@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.d.cts
CHANGED
|
@@ -840,7 +840,8 @@ declare enum SandboxEndpointId {
|
|
|
840
840
|
TRONDEV_SANDBOX = 20421,
|
|
841
841
|
ARBITRUM_SANDBOX = 20231,
|
|
842
842
|
FANTOM_SANDBOX = 20112,
|
|
843
|
-
METIS_SANDBOX = 20151
|
|
843
|
+
METIS_SANDBOX = 20151,
|
|
844
|
+
ZKSYNC_SANDBOX = 20165
|
|
844
845
|
}
|
|
845
846
|
/**
|
|
846
847
|
* Enum representing different endpoint ids on mainnet. (Adapt Endpoint V2)
|
|
@@ -1202,7 +1203,8 @@ declare enum SandboxV2EndpointId {
|
|
|
1202
1203
|
TRONDEV_V2_SANDBOX = 50421,
|
|
1203
1204
|
ARBITRUM_V2_SANDBOX = 50231,
|
|
1204
1205
|
TON_V2_SANDBOX = 50343,
|
|
1205
|
-
PLACEHOLDER0_V2_SANDBOX = 50378
|
|
1206
|
+
PLACEHOLDER0_V2_SANDBOX = 50378,
|
|
1207
|
+
ZKSYNC_V2_SANDBOX = 50165
|
|
1206
1208
|
}
|
|
1207
1209
|
/**
|
|
1208
1210
|
* Object containing all supported endpoint IDs.
|
|
@@ -1225,6 +1227,7 @@ declare const EndpointId: {
|
|
|
1225
1227
|
ARBITRUM_V2_SANDBOX: SandboxV2EndpointId.ARBITRUM_V2_SANDBOX;
|
|
1226
1228
|
TON_V2_SANDBOX: SandboxV2EndpointId.TON_V2_SANDBOX;
|
|
1227
1229
|
PLACEHOLDER0_V2_SANDBOX: SandboxV2EndpointId.PLACEHOLDER0_V2_SANDBOX;
|
|
1230
|
+
ZKSYNC_V2_SANDBOX: SandboxV2EndpointId.ZKSYNC_V2_SANDBOX;
|
|
1228
1231
|
AVALANCHE_V2_TESTNET: TestnetV2EndpointId.AVALANCHE_V2_TESTNET;
|
|
1229
1232
|
POLYGON_V2_TESTNET: TestnetV2EndpointId.POLYGON_V2_TESTNET;
|
|
1230
1233
|
ETHEREUM_V2_TESTNET: TestnetV2EndpointId.ETHEREUM_V2_TESTNET;
|
|
@@ -1568,6 +1571,7 @@ declare const EndpointId: {
|
|
|
1568
1571
|
ARBITRUM_SANDBOX: SandboxEndpointId.ARBITRUM_SANDBOX;
|
|
1569
1572
|
FANTOM_SANDBOX: SandboxEndpointId.FANTOM_SANDBOX;
|
|
1570
1573
|
METIS_SANDBOX: SandboxEndpointId.METIS_SANDBOX;
|
|
1574
|
+
ZKSYNC_SANDBOX: SandboxEndpointId.ZKSYNC_SANDBOX;
|
|
1571
1575
|
BSC_TESTNET: TestnetEndpointId.BSC_TESTNET;
|
|
1572
1576
|
AVALANCHE_TESTNET: TestnetEndpointId.AVALANCHE_TESTNET;
|
|
1573
1577
|
POLYGON_TESTNET: TestnetEndpointId.POLYGON_TESTNET;
|
|
@@ -2146,6 +2150,7 @@ declare enum ChainKey {
|
|
|
2146
2150
|
METIS_SANDBOX = "metis-sandbox",
|
|
2147
2151
|
SOLANA_SANDBOX = "solana-sandbox",
|
|
2148
2152
|
TON_SANDBOX = "ton-sandbox",
|
|
2153
|
+
ZKSYNC_SANDBOX = "zksync-sandbox",
|
|
2149
2154
|
PLACEHOLDER0_SANDBOX = "placeholder0-sandbox",
|
|
2150
2155
|
BOTANIX_TESTNET = "botanix-testnet",
|
|
2151
2156
|
EBI_TESTNET = "ebi-testnet",
|
package/dist/index.d.ts
CHANGED
|
@@ -840,7 +840,8 @@ declare enum SandboxEndpointId {
|
|
|
840
840
|
TRONDEV_SANDBOX = 20421,
|
|
841
841
|
ARBITRUM_SANDBOX = 20231,
|
|
842
842
|
FANTOM_SANDBOX = 20112,
|
|
843
|
-
METIS_SANDBOX = 20151
|
|
843
|
+
METIS_SANDBOX = 20151,
|
|
844
|
+
ZKSYNC_SANDBOX = 20165
|
|
844
845
|
}
|
|
845
846
|
/**
|
|
846
847
|
* Enum representing different endpoint ids on mainnet. (Adapt Endpoint V2)
|
|
@@ -1202,7 +1203,8 @@ declare enum SandboxV2EndpointId {
|
|
|
1202
1203
|
TRONDEV_V2_SANDBOX = 50421,
|
|
1203
1204
|
ARBITRUM_V2_SANDBOX = 50231,
|
|
1204
1205
|
TON_V2_SANDBOX = 50343,
|
|
1205
|
-
PLACEHOLDER0_V2_SANDBOX = 50378
|
|
1206
|
+
PLACEHOLDER0_V2_SANDBOX = 50378,
|
|
1207
|
+
ZKSYNC_V2_SANDBOX = 50165
|
|
1206
1208
|
}
|
|
1207
1209
|
/**
|
|
1208
1210
|
* Object containing all supported endpoint IDs.
|
|
@@ -1225,6 +1227,7 @@ declare const EndpointId: {
|
|
|
1225
1227
|
ARBITRUM_V2_SANDBOX: SandboxV2EndpointId.ARBITRUM_V2_SANDBOX;
|
|
1226
1228
|
TON_V2_SANDBOX: SandboxV2EndpointId.TON_V2_SANDBOX;
|
|
1227
1229
|
PLACEHOLDER0_V2_SANDBOX: SandboxV2EndpointId.PLACEHOLDER0_V2_SANDBOX;
|
|
1230
|
+
ZKSYNC_V2_SANDBOX: SandboxV2EndpointId.ZKSYNC_V2_SANDBOX;
|
|
1228
1231
|
AVALANCHE_V2_TESTNET: TestnetV2EndpointId.AVALANCHE_V2_TESTNET;
|
|
1229
1232
|
POLYGON_V2_TESTNET: TestnetV2EndpointId.POLYGON_V2_TESTNET;
|
|
1230
1233
|
ETHEREUM_V2_TESTNET: TestnetV2EndpointId.ETHEREUM_V2_TESTNET;
|
|
@@ -1568,6 +1571,7 @@ declare const EndpointId: {
|
|
|
1568
1571
|
ARBITRUM_SANDBOX: SandboxEndpointId.ARBITRUM_SANDBOX;
|
|
1569
1572
|
FANTOM_SANDBOX: SandboxEndpointId.FANTOM_SANDBOX;
|
|
1570
1573
|
METIS_SANDBOX: SandboxEndpointId.METIS_SANDBOX;
|
|
1574
|
+
ZKSYNC_SANDBOX: SandboxEndpointId.ZKSYNC_SANDBOX;
|
|
1571
1575
|
BSC_TESTNET: TestnetEndpointId.BSC_TESTNET;
|
|
1572
1576
|
AVALANCHE_TESTNET: TestnetEndpointId.AVALANCHE_TESTNET;
|
|
1573
1577
|
POLYGON_TESTNET: TestnetEndpointId.POLYGON_TESTNET;
|
|
@@ -2146,6 +2150,7 @@ declare enum ChainKey {
|
|
|
2146
2150
|
METIS_SANDBOX = "metis-sandbox",
|
|
2147
2151
|
SOLANA_SANDBOX = "solana-sandbox",
|
|
2148
2152
|
TON_SANDBOX = "ton-sandbox",
|
|
2153
|
+
ZKSYNC_SANDBOX = "zksync-sandbox",
|
|
2149
2154
|
PLACEHOLDER0_SANDBOX = "placeholder0-sandbox",
|
|
2150
2155
|
BOTANIX_TESTNET = "botanix-testnet",
|
|
2151
2156
|
EBI_TESTNET = "ebi-testnet",
|
package/dist/index.mjs
CHANGED
|
@@ -614,6 +614,7 @@ var SandboxEndpointId = /* @__PURE__ */ ((SandboxEndpointId2) => {
|
|
|
614
614
|
SandboxEndpointId2[SandboxEndpointId2["ARBITRUM_SANDBOX"] = 20231] = "ARBITRUM_SANDBOX";
|
|
615
615
|
SandboxEndpointId2[SandboxEndpointId2["FANTOM_SANDBOX"] = 20112] = "FANTOM_SANDBOX";
|
|
616
616
|
SandboxEndpointId2[SandboxEndpointId2["METIS_SANDBOX"] = 20151] = "METIS_SANDBOX";
|
|
617
|
+
SandboxEndpointId2[SandboxEndpointId2["ZKSYNC_SANDBOX"] = 20165] = "ZKSYNC_SANDBOX";
|
|
617
618
|
return SandboxEndpointId2;
|
|
618
619
|
})(SandboxEndpointId || {});
|
|
619
620
|
var MainnetV2EndpointId = /* @__PURE__ */ ((MainnetV2EndpointId2) => {
|
|
@@ -970,6 +971,7 @@ var SandboxV2EndpointId = /* @__PURE__ */ ((SandboxV2EndpointId2) => {
|
|
|
970
971
|
SandboxV2EndpointId2[SandboxV2EndpointId2["ARBITRUM_V2_SANDBOX"] = 50231] = "ARBITRUM_V2_SANDBOX";
|
|
971
972
|
SandboxV2EndpointId2[SandboxV2EndpointId2["TON_V2_SANDBOX"] = 50343] = "TON_V2_SANDBOX";
|
|
972
973
|
SandboxV2EndpointId2[SandboxV2EndpointId2["PLACEHOLDER0_V2_SANDBOX"] = 50378] = "PLACEHOLDER0_V2_SANDBOX";
|
|
974
|
+
SandboxV2EndpointId2[SandboxV2EndpointId2["ZKSYNC_V2_SANDBOX"] = 50165] = "ZKSYNC_V2_SANDBOX";
|
|
973
975
|
return SandboxV2EndpointId2;
|
|
974
976
|
})(SandboxV2EndpointId || {});
|
|
975
977
|
var EndpointId = {
|
|
@@ -1212,6 +1214,7 @@ var ChainKey = /* @__PURE__ */ ((ChainKey3) => {
|
|
|
1212
1214
|
ChainKey3["METIS_SANDBOX"] = "metis-sandbox";
|
|
1213
1215
|
ChainKey3["SOLANA_SANDBOX"] = "solana-sandbox";
|
|
1214
1216
|
ChainKey3["TON_SANDBOX"] = "ton-sandbox";
|
|
1217
|
+
ChainKey3["ZKSYNC_SANDBOX"] = "zksync-sandbox";
|
|
1215
1218
|
ChainKey3["PLACEHOLDER0_SANDBOX"] = "placeholder0-sandbox";
|
|
1216
1219
|
ChainKey3["BOTANIX_TESTNET"] = "botanix-testnet";
|
|
1217
1220
|
ChainKey3["EBI_TESTNET"] = "ebi-testnet";
|
|
@@ -2065,6 +2068,7 @@ var CHAIN_KEY = {
|
|
|
2065
2068
|
[EndpointId.ARBITRUM_SANDBOX]: "arbitrum-sandbox" /* ARBITRUM_SANDBOX */,
|
|
2066
2069
|
[EndpointId.FANTOM_SANDBOX]: "fantom-sandbox" /* FANTOM_SANDBOX */,
|
|
2067
2070
|
[EndpointId.METIS_SANDBOX]: "metis-sandbox" /* METIS_SANDBOX */,
|
|
2071
|
+
[EndpointId.ZKSYNC_SANDBOX]: "zksync-sandbox" /* ZKSYNC_SANDBOX */,
|
|
2068
2072
|
// v2 sandbox
|
|
2069
2073
|
[EndpointId.ETHEREUM_V2_SANDBOX]: "ethereum-sandbox" /* ETHEREUM_SANDBOX */,
|
|
2070
2074
|
[EndpointId.POLYGON_V2_SANDBOX]: "polygon-sandbox" /* POLYGON_SANDBOX */,
|
|
@@ -2080,7 +2084,8 @@ var CHAIN_KEY = {
|
|
|
2080
2084
|
[EndpointId.TRONDEV_V2_SANDBOX]: "tron-sandbox" /* TRON_SANDBOX */,
|
|
2081
2085
|
[EndpointId.ARBITRUM_V2_SANDBOX]: "arbitrum-sandbox" /* ARBITRUM_SANDBOX */,
|
|
2082
2086
|
[EndpointId.TON_V2_SANDBOX]: "ton-sandbox" /* TON_SANDBOX */,
|
|
2083
|
-
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "placeholder0-sandbox" /* PLACEHOLDER0_SANDBOX
|
|
2087
|
+
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "placeholder0-sandbox" /* PLACEHOLDER0_SANDBOX */,
|
|
2088
|
+
[EndpointId.ZKSYNC_V2_SANDBOX]: "zksync-sandbox" /* ZKSYNC_SANDBOX */
|
|
2084
2089
|
};
|
|
2085
2090
|
|
|
2086
2091
|
// src/constants/environment.ts
|
|
@@ -2758,6 +2763,7 @@ var ENVIRONMENT = {
|
|
|
2758
2763
|
[EndpointId.ARBITRUM_SANDBOX]: "testnet" /* TESTNET */,
|
|
2759
2764
|
[EndpointId.FANTOM_SANDBOX]: "testnet" /* TESTNET */,
|
|
2760
2765
|
[EndpointId.METIS_SANDBOX]: "testnet" /* TESTNET */,
|
|
2766
|
+
[EndpointId.ZKSYNC_SANDBOX]: "testnet" /* TESTNET */,
|
|
2761
2767
|
// v2 sandbox
|
|
2762
2768
|
[EndpointId.ETHEREUM_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2763
2769
|
[EndpointId.POLYGON_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
@@ -2773,7 +2779,8 @@ var ENVIRONMENT = {
|
|
|
2773
2779
|
[EndpointId.TRONDEV_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2774
2780
|
[EndpointId.ARBITRUM_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2775
2781
|
[EndpointId.TON_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2776
|
-
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "devnet" /* DEVNET
|
|
2782
|
+
[EndpointId.PLACEHOLDER0_V2_SANDBOX]: "devnet" /* DEVNET */,
|
|
2783
|
+
[EndpointId.ZKSYNC_V2_SANDBOX]: "devnet" /* DEVNET */
|
|
2777
2784
|
};
|
|
2778
2785
|
|
|
2779
2786
|
// src/constants/ulnv1.ts
|