@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/{NN6FIT4I.js → BFJF22M7.js} +10 -3
- package/dist/BFJF22M7.js.map +1 -0
- package/dist/{IM5DOZQ3.cjs → HO5BEL2S.cjs} +10 -2
- package/dist/HO5BEL2S.cjs.map +1 -0
- package/dist/index.cjs +38 -34
- package/dist/index.js +2 -2
- package/dist/staticChainInfo.cjs +23 -19
- package/dist/staticChainInfo.d.ts +1 -0
- package/dist/staticChainInfo.d.ts.map +1 -1
- package/dist/staticChainInfo.js +1 -1
- package/package.json +12 -4
- package/.turbo/turbo-build.log +0 -27
- package/.turbo/turbo-lint.log +0 -8
- package/.turbo/turbo-test.log +0 -16
- package/dist/IM5DOZQ3.cjs.map +0 -1
- package/dist/NN6FIT4I.js.map +0 -1
- package/src/index.ts +0 -109
- package/src/staticChainInfo.ts +0 -2137
- package/tsconfig.json +0 -20
- package/tsup.config.ts +0 -8
package/dist/index.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
38
|
+
var getEnvironmentFromEndpointId = /* @__PURE__ */ HO5BEL2S_cjs.__name((endpointId) => {
|
|
39
39
|
return lzDefinitions.endpointIdToStage(endpointId);
|
|
40
40
|
}, "getEnvironmentFromEndpointId");
|
|
41
|
-
var getVId = /* @__PURE__ */
|
|
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
|
-
|
|
57
|
+
HO5BEL2S_cjs.__name(this, "StaticChainConfigs");
|
|
58
58
|
}
|
|
59
59
|
static getAddressSizeInBytes(chainName) {
|
|
60
|
-
return
|
|
60
|
+
return HO5BEL2S_cjs.staticConfig[chainName].addressSizeInBytes;
|
|
61
61
|
}
|
|
62
62
|
static getSymbol(chainName) {
|
|
63
|
-
return
|
|
63
|
+
return HO5BEL2S_cjs.staticConfig[chainName].symbol;
|
|
64
64
|
}
|
|
65
65
|
static getDecimals(chainName) {
|
|
66
|
-
return
|
|
66
|
+
return HO5BEL2S_cjs.staticConfig[chainName].decimals;
|
|
67
67
|
}
|
|
68
68
|
static getMptBaseFee(chainName) {
|
|
69
|
-
return
|
|
69
|
+
return HO5BEL2S_cjs.staticConfig[chainName].mptBaseGas;
|
|
70
70
|
}
|
|
71
71
|
static getChainLayer(chainName) {
|
|
72
|
-
return
|
|
72
|
+
return HO5BEL2S_cjs.staticConfig[chainName].chainLayer ?? 1;
|
|
73
73
|
}
|
|
74
74
|
static getChainSubType(chainName) {
|
|
75
|
-
return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
99
|
+
get: function () { return HO5BEL2S_cjs.ChainSubType; }
|
|
96
100
|
});
|
|
97
101
|
Object.defineProperty(exports, "EVM_DECIMALS", {
|
|
98
102
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
143
|
+
get: function () { return HO5BEL2S_cjs.XRP_DECIMALS; }
|
|
140
144
|
});
|
|
141
145
|
Object.defineProperty(exports, "isAltChain", {
|
|
142
146
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
147
|
+
get: function () { return HO5BEL2S_cjs.isAltChain; }
|
|
144
148
|
});
|
|
145
149
|
Object.defineProperty(exports, "isArbStackChain", {
|
|
146
150
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
151
|
+
get: function () { return HO5BEL2S_cjs.isArbStackChain; }
|
|
148
152
|
});
|
|
149
153
|
Object.defineProperty(exports, "isZkChain", {
|
|
150
154
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
155
|
+
get: function () { return HO5BEL2S_cjs.isZkChain; }
|
|
152
156
|
});
|
|
153
157
|
Object.defineProperty(exports, "staticConfig", {
|
|
154
158
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
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 './
|
|
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 './
|
|
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
|
|
package/dist/staticChainInfo.cjs
CHANGED
|
@@ -1,80 +1,84 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
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
|
|
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
|
|
21
|
+
get: function () { return HO5BEL2S_cjs.ChainSubType; }
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports, "EVM_DECIMALS", {
|
|
20
24
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
65
|
+
get: function () { return HO5BEL2S_cjs.XRP_DECIMALS; }
|
|
62
66
|
});
|
|
63
67
|
Object.defineProperty(exports, "isAltChain", {
|
|
64
68
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
69
|
+
get: function () { return HO5BEL2S_cjs.isAltChain; }
|
|
66
70
|
});
|
|
67
71
|
Object.defineProperty(exports, "isArbStackChain", {
|
|
68
72
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
73
|
+
get: function () { return HO5BEL2S_cjs.isArbStackChain; }
|
|
70
74
|
});
|
|
71
75
|
Object.defineProperty(exports, "isZkChain", {
|
|
72
76
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
77
|
+
get: function () { return HO5BEL2S_cjs.isZkChain; }
|
|
74
78
|
});
|
|
75
79
|
Object.defineProperty(exports, "staticConfig", {
|
|
76
80
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
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,IAA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ECIMALS, STELLAR_DECIMALS, SUI_DECIMALS, TON_DECIMALS, TRON_DECIMALS, XRP_DECIMALS, isAltChain, isArbStackChain, isZkChain, staticConfig } from './
|
|
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.
|
|
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.
|
|
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.
|
|
25
|
-
"@layerzerolabs/tsup-configuration": "0.2.
|
|
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)",
|
package/.turbo/turbo-build.log
DELETED
|
@@ -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
|
-
[34mCLI[39m Building entry: src/index.ts, src/staticChainInfo.ts
|
|
7
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
-
[34mCLI[39m tsup v8.5.1
|
|
9
|
-
[34mCLI[39m Using tsup config: /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/static-chain-info/tsup.config.ts
|
|
10
|
-
[34mCLI[39m Target: ES2023
|
|
11
|
-
[34mCLI[39m Cleaning output folder
|
|
12
|
-
[34mCJS[39m Build start
|
|
13
|
-
[34mESM[39m Build start
|
|
14
|
-
[32mCJS[39m [1mdist/staticChainInfo.cjs [22m[32m2.50 KB[39m
|
|
15
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m6.21 KB[39m
|
|
16
|
-
[32mCJS[39m [1mdist/IM5DOZQ3.cjs [22m[32m50.84 KB[39m
|
|
17
|
-
[32mCJS[39m [1mdist/staticChainInfo.cjs.map [22m[32m80.00 B[39m
|
|
18
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m7.23 KB[39m
|
|
19
|
-
[32mCJS[39m [1mdist/IM5DOZQ3.cjs.map [22m[32m104.83 KB[39m
|
|
20
|
-
[32mCJS[39m ⚡️ Build success in 447ms
|
|
21
|
-
[32mESM[39m [1mdist/staticChainInfo.js [22m[32m402.00 B[39m
|
|
22
|
-
[32mESM[39m [1mdist/index.js [22m[32m3.47 KB[39m
|
|
23
|
-
[32mESM[39m [1mdist/NN6FIT4I.js [22m[32m44.04 KB[39m
|
|
24
|
-
[32mESM[39m [1mdist/staticChainInfo.js.map [22m[32m79.00 B[39m
|
|
25
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m7.20 KB[39m
|
|
26
|
-
[32mESM[39m [1mdist/NN6FIT4I.js.map [22m[32m104.52 KB[39m
|
|
27
|
-
[32mESM[39m ⚡️ Build success in 447ms
|
package/.turbo/turbo-lint.log
DELETED
|
@@ -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)
|
package/.turbo/turbo-test.log
DELETED
|
@@ -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
|
-
[33mTesting 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.[39m
|
|
7
|
-
|
|
8
|
-
[1m[46m RUN [49m[22m [36mv3.2.4 [39m[90m/home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/static-chain-info[39m
|
|
9
|
-
|
|
10
|
-
No test files found, exiting with code 0
|
|
11
|
-
|
|
12
|
-
[2minclude: [22m[33m**/*.{test,spec}.?(c|m)[jt]s?(x)[39m
|
|
13
|
-
[2mexclude: [22m[33m**/node_modules/**[2m, [22m**/dist/**[2m, [22m**/cypress/**[2m, [22m**/.{idea,git,cache,output,temp}/**[2m, [22m**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*[39m
|
|
14
|
-
[2mtypecheck include: [22m[33m**/*.{test,spec}-d.?(c|m)[jt]s?(x)[39m
|
|
15
|
-
[2mtypecheck exclude: [22m[33m**/node_modules/**[2m, [22m**/dist/**[2m, [22m**/cypress/**[2m, [22m**/.{idea,git,cache,output,temp}/**[2m, [22m**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*[39m
|
|
16
|
-
|