@layerzerolabs/lz-definitions 3.0.128 → 3.0.129
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/CHANGELOG.md +7 -0
- package/dist/index.cjs +24 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -4
- package/dist/index.d.ts +25 -4
- package/dist/index.mjs +24 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -240,6 +240,9 @@ var EvmChain = /* @__PURE__ */ ((EvmChain2) => {
|
|
|
240
240
|
EvmChain2["XLAYER2"] = "xlayer2";
|
|
241
241
|
EvmChain2["PLASMA3"] = "plasma3";
|
|
242
242
|
EvmChain2["LZJK"] = "lzjk";
|
|
243
|
+
EvmChain2["OG"] = "og";
|
|
244
|
+
EvmChain2["GATE"] = "gate";
|
|
245
|
+
EvmChain2["ETHEREAL2"] = "ethereal2";
|
|
243
246
|
return EvmChain2;
|
|
244
247
|
})(EvmChain || {});
|
|
245
248
|
|
|
@@ -643,6 +646,9 @@ var TestnetEndpointId = /* @__PURE__ */ ((TestnetEndpointId2) => {
|
|
|
643
646
|
TestnetEndpointId2[TestnetEndpointId2["XLAYER2_TESTNET"] = 10416] = "XLAYER2_TESTNET";
|
|
644
647
|
TestnetEndpointId2[TestnetEndpointId2["PLASMA3_TESTNET"] = 10417] = "PLASMA3_TESTNET";
|
|
645
648
|
TestnetEndpointId2[TestnetEndpointId2["LZJK_TESTNET"] = 10418] = "LZJK_TESTNET";
|
|
649
|
+
TestnetEndpointId2[TestnetEndpointId2["OG_TESTNET"] = 10419] = "OG_TESTNET";
|
|
650
|
+
TestnetEndpointId2[TestnetEndpointId2["GATE_TESTNET"] = 10421] = "GATE_TESTNET";
|
|
651
|
+
TestnetEndpointId2[TestnetEndpointId2["ETHEREAL2_TESTNET"] = 10422] = "ETHEREAL2_TESTNET";
|
|
646
652
|
return TestnetEndpointId2;
|
|
647
653
|
})(TestnetEndpointId || {});
|
|
648
654
|
var SandboxEndpointId = /* @__PURE__ */ ((SandboxEndpointId2) => {
|
|
@@ -1018,6 +1024,9 @@ var TestnetV2EndpointId = /* @__PURE__ */ ((TestnetV2EndpointId2) => {
|
|
|
1018
1024
|
TestnetV2EndpointId2[TestnetV2EndpointId2["XLAYER2_V2_TESTNET"] = 40416] = "XLAYER2_V2_TESTNET";
|
|
1019
1025
|
TestnetV2EndpointId2[TestnetV2EndpointId2["PLASMA3_V2_TESTNET"] = 40417] = "PLASMA3_V2_TESTNET";
|
|
1020
1026
|
TestnetV2EndpointId2[TestnetV2EndpointId2["LZJK_V2_TESTNET"] = 40418] = "LZJK_V2_TESTNET";
|
|
1027
|
+
TestnetV2EndpointId2[TestnetV2EndpointId2["OG_V2_TESTNET"] = 40419] = "OG_V2_TESTNET";
|
|
1028
|
+
TestnetV2EndpointId2[TestnetV2EndpointId2["GATE_V2_TESTNET"] = 40421] = "GATE_V2_TESTNET";
|
|
1029
|
+
TestnetV2EndpointId2[TestnetV2EndpointId2["ETHEREAL2_V2_TESTNET"] = 40422] = "ETHEREAL2_V2_TESTNET";
|
|
1021
1030
|
return TestnetV2EndpointId2;
|
|
1022
1031
|
})(TestnetV2EndpointId || {});
|
|
1023
1032
|
var SandboxV2EndpointId = /* @__PURE__ */ ((SandboxV2EndpointId2) => {
|
|
@@ -1462,6 +1471,9 @@ var ChainKey = /* @__PURE__ */ ((ChainKey3) => {
|
|
|
1462
1471
|
ChainKey3["XLAYER2_TESTNET"] = "xlayer2-testnet";
|
|
1463
1472
|
ChainKey3["PLASMA3_TESTNET"] = "plasma3-testnet";
|
|
1464
1473
|
ChainKey3["LZJK_TESTNET"] = "lzjk-testnet";
|
|
1474
|
+
ChainKey3["OG_TESTNET"] = "og-testnet";
|
|
1475
|
+
ChainKey3["GATE_TESTNET"] = "gate-testnet";
|
|
1476
|
+
ChainKey3["ETHEREAL2_TESTNET"] = "ethereal2-testnet";
|
|
1465
1477
|
return ChainKey3;
|
|
1466
1478
|
})(ChainKey || {});
|
|
1467
1479
|
|
|
@@ -1982,6 +1994,9 @@ var CHAIN_KEY = {
|
|
|
1982
1994
|
[EndpointId.XLAYER2_TESTNET]: "xlayer2-testnet" /* XLAYER2_TESTNET */,
|
|
1983
1995
|
[EndpointId.PLASMA3_TESTNET]: "plasma3-testnet" /* PLASMA3_TESTNET */,
|
|
1984
1996
|
[EndpointId.LZJK_TESTNET]: "lzjk-testnet" /* LZJK_TESTNET */,
|
|
1997
|
+
[EndpointId.OG_TESTNET]: "og-testnet" /* OG_TESTNET */,
|
|
1998
|
+
[EndpointId.GATE_TESTNET]: "gate-testnet" /* GATE_TESTNET */,
|
|
1999
|
+
[EndpointId.ETHEREAL2_TESTNET]: "ethereal2-testnet" /* ETHEREAL2_TESTNET */,
|
|
1985
2000
|
// v2 testnet
|
|
1986
2001
|
[EndpointId.ETHEREUM_V2_TESTNET]: "sepolia" /* SEPOLIA */,
|
|
1987
2002
|
[EndpointId.POLYGON_V2_TESTNET]: "mumbai" /* MUMBAI */,
|
|
@@ -2187,6 +2202,9 @@ var CHAIN_KEY = {
|
|
|
2187
2202
|
[EndpointId.XLAYER2_V2_TESTNET]: "xlayer2-testnet" /* XLAYER2_TESTNET */,
|
|
2188
2203
|
[EndpointId.PLASMA3_V2_TESTNET]: "plasma3-testnet" /* PLASMA3_TESTNET */,
|
|
2189
2204
|
[EndpointId.LZJK_V2_TESTNET]: "lzjk-testnet" /* LZJK_TESTNET */,
|
|
2205
|
+
[EndpointId.OG_V2_TESTNET]: "og-testnet" /* OG_TESTNET */,
|
|
2206
|
+
[EndpointId.GATE_V2_TESTNET]: "gate-testnet" /* GATE_TESTNET */,
|
|
2207
|
+
[EndpointId.ETHEREAL2_V2_TESTNET]: "ethereal2-testnet" /* ETHEREAL2_TESTNET */,
|
|
2190
2208
|
// sandbox
|
|
2191
2209
|
[EndpointId.ETHEREUM_SANDBOX]: "ethereum-sandbox" /* ETHEREUM_SANDBOX */,
|
|
2192
2210
|
[EndpointId.BSC_SANDBOX]: "bsc-sandbox" /* BSC_SANDBOX */,
|
|
@@ -2721,6 +2739,9 @@ var ENVIRONMENT = {
|
|
|
2721
2739
|
[EndpointId.XLAYER2_TESTNET]: "testnet" /* TESTNET */,
|
|
2722
2740
|
[EndpointId.PLASMA3_TESTNET]: "testnet" /* TESTNET */,
|
|
2723
2741
|
[EndpointId.LZJK_TESTNET]: "testnet" /* TESTNET */,
|
|
2742
|
+
[EndpointId.OG_TESTNET]: "testnet" /* TESTNET */,
|
|
2743
|
+
[EndpointId.GATE_TESTNET]: "testnet" /* TESTNET */,
|
|
2744
|
+
[EndpointId.ETHEREAL2_TESTNET]: "testnet" /* TESTNET */,
|
|
2724
2745
|
// v2 testnet
|
|
2725
2746
|
[EndpointId.ETHEREUM_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
2726
2747
|
[EndpointId.POLYGON_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
@@ -2926,6 +2947,9 @@ var ENVIRONMENT = {
|
|
|
2926
2947
|
[EndpointId.XLAYER2_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
2927
2948
|
[EndpointId.PLASMA3_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
2928
2949
|
[EndpointId.LZJK_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
2950
|
+
[EndpointId.OG_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
2951
|
+
[EndpointId.GATE_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
2952
|
+
[EndpointId.ETHEREAL2_V2_TESTNET]: "testnet" /* TESTNET */,
|
|
2929
2953
|
// sandbox
|
|
2930
2954
|
[EndpointId.ETHEREUM_SANDBOX]: "testnet" /* TESTNET */,
|
|
2931
2955
|
[EndpointId.BSC_SANDBOX]: "testnet" /* TESTNET */,
|