@layerzerolabs/static-chain-info 0.2.68 → 0.2.69

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 CHANGED
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var IM5DOZQ3_cjs = require('./IM5DOZQ3.cjs');
3
+ var HO5BEL2S_cjs = require('./HO5BEL2S.cjs');
4
4
  var layerzeroDefinitions = require('@layerzerolabs/layerzero-definitions');
5
5
  var lzDefinitions = require('@layerzerolabs/lz-definitions');
6
6
 
7
- var getChainNameFromEndpointId = /* @__PURE__ */ IM5DOZQ3_cjs.__name((endpointId) => {
7
+ var getChainNameFromEndpointId = /* @__PURE__ */ HO5BEL2S_cjs.__name((endpointId) => {
8
8
  return layerzeroDefinitions.chainNameSchema.parse(lzDefinitions.getNetworkForChainId(endpointId).chainName);
9
9
  }, "getChainNameFromEndpointId");
10
- var isLzReadEndpointId = /* @__PURE__ */ IM5DOZQ3_cjs.__name((endpointId) => {
10
+ var isLzReadEndpointId = /* @__PURE__ */ HO5BEL2S_cjs.__name((endpointId) => {
11
11
  return Object.values(lzDefinitions.ChannelId).includes(Number(endpointId));
12
12
  }, "isLzReadEndpointId");
13
- var getEndpointVersionFromEndpointId = /* @__PURE__ */ IM5DOZQ3_cjs.__name((endpointId) => {
13
+ var getEndpointVersionFromEndpointId = /* @__PURE__ */ HO5BEL2S_cjs.__name((endpointId) => {
14
14
  if (isLzReadEndpointId(endpointId)) {
15
15
  return layerzeroDefinitions.EndpointVersion.V2;
16
16
  }
17
17
  return endpointId < lzDefinitions.EndpointV2IdBase ? layerzeroDefinitions.EndpointVersion.V1 : layerzeroDefinitions.EndpointVersion.V2;
18
18
  }, "getEndpointVersionFromEndpointId");
19
- var getEndpointVersionFromUlnVersion = /* @__PURE__ */ IM5DOZQ3_cjs.__name((ulnVersion) => {
19
+ var getEndpointVersionFromUlnVersion = /* @__PURE__ */ HO5BEL2S_cjs.__name((ulnVersion) => {
20
20
  if (ulnVersion === layerzeroDefinitions.UlnVersion.V1) {
21
21
  throw new Error("UlnVersion.V1 is not supported");
22
22
  }
@@ -32,13 +32,13 @@ var getEndpointVersionFromUlnVersion = /* @__PURE__ */ IM5DOZQ3_cjs.__name((ulnV
32
32
  throw new Error(`Unknown UlnVersion: ${ulnVersion}`);
33
33
  }
34
34
  }, "getEndpointVersionFromUlnVersion");
35
- var getEndpointId = /* @__PURE__ */ IM5DOZQ3_cjs.__name((chainName, environment, version) => {
35
+ var getEndpointId = /* @__PURE__ */ HO5BEL2S_cjs.__name((chainName, environment, version) => {
36
36
  return lzDefinitions.chainAndStageToEndpointId(chainName, environment, version);
37
37
  }, "getEndpointId");
38
- var getEnvironmentFromEndpointId = /* @__PURE__ */ IM5DOZQ3_cjs.__name((endpointId) => {
38
+ var getEnvironmentFromEndpointId = /* @__PURE__ */ HO5BEL2S_cjs.__name((endpointId) => {
39
39
  return lzDefinitions.endpointIdToStage(endpointId);
40
40
  }, "getEnvironmentFromEndpointId");
41
- var getVId = /* @__PURE__ */ IM5DOZQ3_cjs.__name((chainName, environment) => {
41
+ var getVId = /* @__PURE__ */ HO5BEL2S_cjs.__name((chainName, environment) => {
42
42
  if ([
43
43
  "solana",
44
44
  "ton",
@@ -54,105 +54,109 @@ var getVId = /* @__PURE__ */ IM5DOZQ3_cjs.__name((chainName, environment) => {
54
54
  }, "getVId");
55
55
  var StaticChainConfigs = class {
56
56
  static {
57
- IM5DOZQ3_cjs.__name(this, "StaticChainConfigs");
57
+ HO5BEL2S_cjs.__name(this, "StaticChainConfigs");
58
58
  }
59
59
  static getAddressSizeInBytes(chainName) {
60
- return IM5DOZQ3_cjs.staticConfig[chainName].addressSizeInBytes;
60
+ return HO5BEL2S_cjs.staticConfig[chainName].addressSizeInBytes;
61
61
  }
62
62
  static getSymbol(chainName) {
63
- return IM5DOZQ3_cjs.staticConfig[chainName].symbol;
63
+ return HO5BEL2S_cjs.staticConfig[chainName].symbol;
64
64
  }
65
65
  static getDecimals(chainName) {
66
- return IM5DOZQ3_cjs.staticConfig[chainName].decimals;
66
+ return HO5BEL2S_cjs.staticConfig[chainName].decimals;
67
67
  }
68
68
  static getMptBaseFee(chainName) {
69
- return IM5DOZQ3_cjs.staticConfig[chainName].mptBaseGas;
69
+ return HO5BEL2S_cjs.staticConfig[chainName].mptBaseGas;
70
70
  }
71
71
  static getChainLayer(chainName) {
72
- return IM5DOZQ3_cjs.staticConfig[chainName].chainLayer ?? 1;
72
+ return HO5BEL2S_cjs.staticConfig[chainName].chainLayer ?? 1;
73
73
  }
74
74
  static getChainSubType(chainName) {
75
- return IM5DOZQ3_cjs.staticConfig[chainName].chainSubType;
75
+ return HO5BEL2S_cjs.staticConfig[chainName].chainSubType;
76
76
  }
77
77
  static getGasPriceDecimals(chainName) {
78
78
  if (chainName === layerzeroDefinitions.ChainName.HEDERA) {
79
79
  return 18;
80
80
  }
81
- return IM5DOZQ3_cjs.staticConfig[chainName].decimals;
81
+ return HO5BEL2S_cjs.staticConfig[chainName].decimals;
82
82
  }
83
83
  };
84
84
 
85
85
  Object.defineProperty(exports, "AAVEGOTCHI_DECIMALS", {
86
86
  enumerable: true,
87
- get: function () { return IM5DOZQ3_cjs.AAVEGOTCHI_DECIMALS; }
87
+ get: function () { return HO5BEL2S_cjs.AAVEGOTCHI_DECIMALS; }
88
88
  });
89
89
  Object.defineProperty(exports, "APTOS_DECIMALS", {
90
90
  enumerable: true,
91
- get: function () { return IM5DOZQ3_cjs.APTOS_DECIMALS; }
91
+ get: function () { return HO5BEL2S_cjs.APTOS_DECIMALS; }
92
+ });
93
+ Object.defineProperty(exports, "CANTON_DECIMALS", {
94
+ enumerable: true,
95
+ get: function () { return HO5BEL2S_cjs.CANTON_DECIMALS; }
92
96
  });
93
97
  Object.defineProperty(exports, "ChainSubType", {
94
98
  enumerable: true,
95
- get: function () { return IM5DOZQ3_cjs.ChainSubType; }
99
+ get: function () { return HO5BEL2S_cjs.ChainSubType; }
96
100
  });
97
101
  Object.defineProperty(exports, "EVM_DECIMALS", {
98
102
  enumerable: true,
99
- get: function () { return IM5DOZQ3_cjs.EVM_DECIMALS; }
103
+ get: function () { return HO5BEL2S_cjs.EVM_DECIMALS; }
100
104
  });
101
105
  Object.defineProperty(exports, "HEDERA_DECIMALS", {
102
106
  enumerable: true,
103
- get: function () { return IM5DOZQ3_cjs.HEDERA_DECIMALS; }
107
+ get: function () { return HO5BEL2S_cjs.HEDERA_DECIMALS; }
104
108
  });
105
109
  Object.defineProperty(exports, "INITIA_DECIMALS", {
106
110
  enumerable: true,
107
- get: function () { return IM5DOZQ3_cjs.INITIA_DECIMALS; }
111
+ get: function () { return HO5BEL2S_cjs.INITIA_DECIMALS; }
108
112
  });
109
113
  Object.defineProperty(exports, "IOTAMOVE_DECIMALS", {
110
114
  enumerable: true,
111
- get: function () { return IM5DOZQ3_cjs.IOTAMOVE_DECIMALS; }
115
+ get: function () { return HO5BEL2S_cjs.IOTAMOVE_DECIMALS; }
112
116
  });
113
117
  Object.defineProperty(exports, "SOLANA_DECIMALS", {
114
118
  enumerable: true,
115
- get: function () { return IM5DOZQ3_cjs.SOLANA_DECIMALS; }
119
+ get: function () { return HO5BEL2S_cjs.SOLANA_DECIMALS; }
116
120
  });
117
121
  Object.defineProperty(exports, "STARKNET_DECIMALS", {
118
122
  enumerable: true,
119
- get: function () { return IM5DOZQ3_cjs.STARKNET_DECIMALS; }
123
+ get: function () { return HO5BEL2S_cjs.STARKNET_DECIMALS; }
120
124
  });
121
125
  Object.defineProperty(exports, "STELLAR_DECIMALS", {
122
126
  enumerable: true,
123
- get: function () { return IM5DOZQ3_cjs.STELLAR_DECIMALS; }
127
+ get: function () { return HO5BEL2S_cjs.STELLAR_DECIMALS; }
124
128
  });
125
129
  Object.defineProperty(exports, "SUI_DECIMALS", {
126
130
  enumerable: true,
127
- get: function () { return IM5DOZQ3_cjs.SUI_DECIMALS; }
131
+ get: function () { return HO5BEL2S_cjs.SUI_DECIMALS; }
128
132
  });
129
133
  Object.defineProperty(exports, "TON_DECIMALS", {
130
134
  enumerable: true,
131
- get: function () { return IM5DOZQ3_cjs.TON_DECIMALS; }
135
+ get: function () { return HO5BEL2S_cjs.TON_DECIMALS; }
132
136
  });
133
137
  Object.defineProperty(exports, "TRON_DECIMALS", {
134
138
  enumerable: true,
135
- get: function () { return IM5DOZQ3_cjs.TRON_DECIMALS; }
139
+ get: function () { return HO5BEL2S_cjs.TRON_DECIMALS; }
136
140
  });
137
141
  Object.defineProperty(exports, "XRP_DECIMALS", {
138
142
  enumerable: true,
139
- get: function () { return IM5DOZQ3_cjs.XRP_DECIMALS; }
143
+ get: function () { return HO5BEL2S_cjs.XRP_DECIMALS; }
140
144
  });
141
145
  Object.defineProperty(exports, "isAltChain", {
142
146
  enumerable: true,
143
- get: function () { return IM5DOZQ3_cjs.isAltChain; }
147
+ get: function () { return HO5BEL2S_cjs.isAltChain; }
144
148
  });
145
149
  Object.defineProperty(exports, "isArbStackChain", {
146
150
  enumerable: true,
147
- get: function () { return IM5DOZQ3_cjs.isArbStackChain; }
151
+ get: function () { return HO5BEL2S_cjs.isArbStackChain; }
148
152
  });
149
153
  Object.defineProperty(exports, "isZkChain", {
150
154
  enumerable: true,
151
- get: function () { return IM5DOZQ3_cjs.isZkChain; }
155
+ get: function () { return HO5BEL2S_cjs.isZkChain; }
152
156
  });
153
157
  Object.defineProperty(exports, "staticConfig", {
154
158
  enumerable: true,
155
- get: function () { return IM5DOZQ3_cjs.staticConfig; }
159
+ get: function () { return HO5BEL2S_cjs.staticConfig; }
156
160
  });
157
161
  exports.StaticChainConfigs = StaticChainConfigs;
158
162
  exports.getChainNameFromEndpointId = getChainNameFromEndpointId;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { __name, staticConfig } from './NN6FIT4I.js';
2
- export { AAVEGOTCHI_DECIMALS, APTOS_DECIMALS, ChainSubType, EVM_DECIMALS, HEDERA_DECIMALS, INITIA_DECIMALS, IOTAMOVE_DECIMALS, SOLANA_DECIMALS, STARKNET_DECIMALS, STELLAR_DECIMALS, SUI_DECIMALS, TON_DECIMALS, TRON_DECIMALS, XRP_DECIMALS, isAltChain, isArbStackChain, isZkChain, staticConfig } from './NN6FIT4I.js';
1
+ import { __name, staticConfig } from './BFJF22M7.js';
2
+ export { AAVEGOTCHI_DECIMALS, APTOS_DECIMALS, CANTON_DECIMALS, ChainSubType, EVM_DECIMALS, HEDERA_DECIMALS, INITIA_DECIMALS, IOTAMOVE_DECIMALS, SOLANA_DECIMALS, STARKNET_DECIMALS, STELLAR_DECIMALS, SUI_DECIMALS, TON_DECIMALS, TRON_DECIMALS, XRP_DECIMALS, isAltChain, isArbStackChain, isZkChain, staticConfig } from './BFJF22M7.js';
3
3
  import { ChainName, chainNameSchema, EndpointVersion, UlnVersion } from '@layerzerolabs/layerzero-definitions';
4
4
  import { getNetworkForChainId, ChannelId, EndpointV2IdBase, chainAndStageToEndpointId, endpointIdToStage } from '@layerzerolabs/lz-definitions';
5
5
 
@@ -1,80 +1,84 @@
1
1
  'use strict';
2
2
 
3
- var IM5DOZQ3_cjs = require('./IM5DOZQ3.cjs');
3
+ var HO5BEL2S_cjs = require('./HO5BEL2S.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "AAVEGOTCHI_DECIMALS", {
8
8
  enumerable: true,
9
- get: function () { return IM5DOZQ3_cjs.AAVEGOTCHI_DECIMALS; }
9
+ get: function () { return HO5BEL2S_cjs.AAVEGOTCHI_DECIMALS; }
10
10
  });
11
11
  Object.defineProperty(exports, "APTOS_DECIMALS", {
12
12
  enumerable: true,
13
- get: function () { return IM5DOZQ3_cjs.APTOS_DECIMALS; }
13
+ get: function () { return HO5BEL2S_cjs.APTOS_DECIMALS; }
14
+ });
15
+ Object.defineProperty(exports, "CANTON_DECIMALS", {
16
+ enumerable: true,
17
+ get: function () { return HO5BEL2S_cjs.CANTON_DECIMALS; }
14
18
  });
15
19
  Object.defineProperty(exports, "ChainSubType", {
16
20
  enumerable: true,
17
- get: function () { return IM5DOZQ3_cjs.ChainSubType; }
21
+ get: function () { return HO5BEL2S_cjs.ChainSubType; }
18
22
  });
19
23
  Object.defineProperty(exports, "EVM_DECIMALS", {
20
24
  enumerable: true,
21
- get: function () { return IM5DOZQ3_cjs.EVM_DECIMALS; }
25
+ get: function () { return HO5BEL2S_cjs.EVM_DECIMALS; }
22
26
  });
23
27
  Object.defineProperty(exports, "HEDERA_DECIMALS", {
24
28
  enumerable: true,
25
- get: function () { return IM5DOZQ3_cjs.HEDERA_DECIMALS; }
29
+ get: function () { return HO5BEL2S_cjs.HEDERA_DECIMALS; }
26
30
  });
27
31
  Object.defineProperty(exports, "INITIA_DECIMALS", {
28
32
  enumerable: true,
29
- get: function () { return IM5DOZQ3_cjs.INITIA_DECIMALS; }
33
+ get: function () { return HO5BEL2S_cjs.INITIA_DECIMALS; }
30
34
  });
31
35
  Object.defineProperty(exports, "IOTAMOVE_DECIMALS", {
32
36
  enumerable: true,
33
- get: function () { return IM5DOZQ3_cjs.IOTAMOVE_DECIMALS; }
37
+ get: function () { return HO5BEL2S_cjs.IOTAMOVE_DECIMALS; }
34
38
  });
35
39
  Object.defineProperty(exports, "SOLANA_DECIMALS", {
36
40
  enumerable: true,
37
- get: function () { return IM5DOZQ3_cjs.SOLANA_DECIMALS; }
41
+ get: function () { return HO5BEL2S_cjs.SOLANA_DECIMALS; }
38
42
  });
39
43
  Object.defineProperty(exports, "STARKNET_DECIMALS", {
40
44
  enumerable: true,
41
- get: function () { return IM5DOZQ3_cjs.STARKNET_DECIMALS; }
45
+ get: function () { return HO5BEL2S_cjs.STARKNET_DECIMALS; }
42
46
  });
43
47
  Object.defineProperty(exports, "STELLAR_DECIMALS", {
44
48
  enumerable: true,
45
- get: function () { return IM5DOZQ3_cjs.STELLAR_DECIMALS; }
49
+ get: function () { return HO5BEL2S_cjs.STELLAR_DECIMALS; }
46
50
  });
47
51
  Object.defineProperty(exports, "SUI_DECIMALS", {
48
52
  enumerable: true,
49
- get: function () { return IM5DOZQ3_cjs.SUI_DECIMALS; }
53
+ get: function () { return HO5BEL2S_cjs.SUI_DECIMALS; }
50
54
  });
51
55
  Object.defineProperty(exports, "TON_DECIMALS", {
52
56
  enumerable: true,
53
- get: function () { return IM5DOZQ3_cjs.TON_DECIMALS; }
57
+ get: function () { return HO5BEL2S_cjs.TON_DECIMALS; }
54
58
  });
55
59
  Object.defineProperty(exports, "TRON_DECIMALS", {
56
60
  enumerable: true,
57
- get: function () { return IM5DOZQ3_cjs.TRON_DECIMALS; }
61
+ get: function () { return HO5BEL2S_cjs.TRON_DECIMALS; }
58
62
  });
59
63
  Object.defineProperty(exports, "XRP_DECIMALS", {
60
64
  enumerable: true,
61
- get: function () { return IM5DOZQ3_cjs.XRP_DECIMALS; }
65
+ get: function () { return HO5BEL2S_cjs.XRP_DECIMALS; }
62
66
  });
63
67
  Object.defineProperty(exports, "isAltChain", {
64
68
  enumerable: true,
65
- get: function () { return IM5DOZQ3_cjs.isAltChain; }
69
+ get: function () { return HO5BEL2S_cjs.isAltChain; }
66
70
  });
67
71
  Object.defineProperty(exports, "isArbStackChain", {
68
72
  enumerable: true,
69
- get: function () { return IM5DOZQ3_cjs.isArbStackChain; }
73
+ get: function () { return HO5BEL2S_cjs.isArbStackChain; }
70
74
  });
71
75
  Object.defineProperty(exports, "isZkChain", {
72
76
  enumerable: true,
73
- get: function () { return IM5DOZQ3_cjs.isZkChain; }
77
+ get: function () { return HO5BEL2S_cjs.isZkChain; }
74
78
  });
75
79
  Object.defineProperty(exports, "staticConfig", {
76
80
  enumerable: true,
77
- get: function () { return IM5DOZQ3_cjs.staticConfig; }
81
+ get: function () { return HO5BEL2S_cjs.staticConfig; }
78
82
  });
79
83
  //# sourceMappingURL=staticChainInfo.cjs.map
80
84
  //# sourceMappingURL=staticChainInfo.cjs.map
@@ -34,6 +34,7 @@ export declare const SUI_DECIMALS = 9;
34
34
  export declare const IOTAMOVE_DECIMALS = 9;
35
35
  export declare const STARKNET_DECIMALS = 18;
36
36
  export declare const STELLAR_DECIMALS = 7;
37
+ export declare const CANTON_DECIMALS = 10;
37
38
  export declare const staticConfig: StaticConfig;
38
39
  export declare const isArbStackChain: (chainName: ChainName) => boolean;
39
40
  export declare const isZkChain: (chainName: ChainName) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"staticChainInfo.d.ts","sourceRoot":"","sources":["../src/staticChainInfo.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,oBAAY,YAAY;IACpB,QAAQ,IAAA;IACR,OAAO,IAAA;IACP,SAAS,IAAA;IACT,IAAI,IAAA;CACP;AAED,MAAM,WAAW,kBAAkB;IAC/B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IACzB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAAC;CAC1C;AAED,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,aAAa,IAAI,CAAC;AAC/B,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAElC,eAAO,MAAM,YAAY,EAAE,YAw+D1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,SAAS,KAAG,OAuCtD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,WAAW,SAAS,KAAG,OAahD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,WAAW,SAAS,KAAG,OAYjD,CAAC"}
1
+ {"version":3,"file":"staticChainInfo.d.ts","sourceRoot":"","sources":["../src/staticChainInfo.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,oBAAY,YAAY;IACpB,QAAQ,IAAA;IACR,OAAO,IAAA;IACP,SAAS,IAAA;IACT,IAAI,IAAA;CACP;AAED,MAAM,WAAW,kBAAkB;IAC/B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IACzB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAAC;CAC1C;AAED,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,aAAa,IAAI,CAAC;AAC/B,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAClC,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,eAAO,MAAM,YAAY,EAAE,YA8+D1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,SAAS,KAAG,OAuCtD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,WAAW,SAAS,KAAG,OAahD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,WAAW,SAAS,KAAG,OAYjD,CAAC"}
@@ -1,3 +1,3 @@
1
- export { AAVEGOTCHI_DECIMALS, APTOS_DECIMALS, ChainSubType, EVM_DECIMALS, HEDERA_DECIMALS, INITIA_DECIMALS, IOTAMOVE_DECIMALS, SOLANA_DECIMALS, STARKNET_DECIMALS, STELLAR_DECIMALS, SUI_DECIMALS, TON_DECIMALS, TRON_DECIMALS, XRP_DECIMALS, isAltChain, isArbStackChain, isZkChain, staticConfig } from './NN6FIT4I.js';
1
+ export { AAVEGOTCHI_DECIMALS, APTOS_DECIMALS, CANTON_DECIMALS, ChainSubType, EVM_DECIMALS, HEDERA_DECIMALS, INITIA_DECIMALS, IOTAMOVE_DECIMALS, SOLANA_DECIMALS, STARKNET_DECIMALS, STELLAR_DECIMALS, SUI_DECIMALS, TON_DECIMALS, TRON_DECIMALS, XRP_DECIMALS, isAltChain, isArbStackChain, isZkChain, staticConfig } from './BFJF22M7.js';
2
2
  //# sourceMappingURL=staticChainInfo.js.map
3
3
  //# sourceMappingURL=staticChainInfo.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/static-chain-info",
3
- "version": "0.2.68",
3
+ "version": "0.2.69",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -14,20 +14,28 @@
14
14
  "main": "./dist/index.cjs",
15
15
  "module": "./dist/index.js",
16
16
  "types": "./dist/index.d.ts",
17
+ "files": [
18
+ "dist/**/*"
19
+ ],
17
20
  "dependencies": {
18
21
  "@layerzerolabs/lz-definitions": "3.0.167",
19
- "@layerzerolabs/layerzero-definitions": "0.2.68"
22
+ "@layerzerolabs/layerzero-definitions": "0.2.69"
20
23
  },
21
24
  "devDependencies": {
22
25
  "tsup": "^8.4.0",
23
26
  "vitest": "^3.2.3",
24
- "@layerzerolabs/typescript-configuration": "0.2.68",
25
- "@layerzerolabs/tsup-configuration": "0.2.68"
27
+ "@layerzerolabs/typescript-configuration": "0.2.69",
28
+ "@layerzerolabs/tsup-configuration": "0.2.69"
26
29
  },
27
30
  "publishConfig": {
28
31
  "access": "public",
29
32
  "registry": "https://registry.npmjs.org/"
30
33
  },
34
+ "externalRepoConfig": {
35
+ "targets": [
36
+ "onesig-client"
37
+ ]
38
+ },
31
39
  "scripts": {
32
40
  "build": "tsup",
33
41
  "lint": "eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)",
@@ -1,27 +0,0 @@
1
-  WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
2
-
3
- > @layerzerolabs/static-chain-info@0.0.0 build /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/static-chain-info
4
- > tsup
5
-
6
- CLI Building entry: src/index.ts, src/staticChainInfo.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.5.1
9
- CLI Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/static-chain-info/tsup.config.ts
10
- CLI Target: ES2023
11
- CLI Cleaning output folder
12
- CJS Build start
13
- ESM Build start
14
- CJS dist/staticChainInfo.cjs 2.50 KB
15
- CJS dist/index.cjs 6.21 KB
16
- CJS dist/IM5DOZQ3.cjs 50.84 KB
17
- CJS dist/staticChainInfo.cjs.map 80.00 B
18
- CJS dist/index.cjs.map 7.23 KB
19
- CJS dist/IM5DOZQ3.cjs.map 104.83 KB
20
- CJS ⚡️ Build success in 447ms
21
- ESM dist/staticChainInfo.js 402.00 B
22
- ESM dist/index.js 3.47 KB
23
- ESM dist/NN6FIT4I.js 44.04 KB
24
- ESM dist/staticChainInfo.js.map 79.00 B
25
- ESM dist/index.js.map 7.20 KB
26
- ESM dist/NN6FIT4I.js.map 104.52 KB
27
- ESM ⚡️ Build success in 447ms
@@ -1,8 +0,0 @@
1
-
2
- > @layerzerolabs/static-chain-info@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/static-chain-info
3
- > eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
4
-
5
- (node:169835) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1775777596131 is not specified and it doesn't parse as CommonJS.
6
- Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
7
- To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
8
- (Use `node --trace-warnings ...` to show where the warning was created)
@@ -1,16 +0,0 @@
1
-
2
- > @layerzerolabs/static-chain-info@0.0.0 test /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/static-chain-info
3
- > vitest --run --pass-with-no-tests --typecheck
4
-
5
- Testing types with tsc and vue-tsc is an experimental feature.
6
- Breaking changes might not follow SemVer, please pin Vitest's version when using it.
7
-
8
-  RUN  v3.2.4 /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/static-chain-info
9
-
10
- No test files found, exiting with code 0
11
-
12
- include: **/*.{test,spec}.?(c|m)[jt]s?(x)
13
- exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*
14
- typecheck include: **/*.{test,spec}-d.?(c|m)[jt]s?(x)
15
- typecheck exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*
16
-