@layerzerolabs/chain-utils 0.2.68 → 0.2.70
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/package.json +12 -9
- package/.turbo/turbo-build.log +0 -42
- package/.turbo/turbo-lint.log +0 -8
- package/.turbo/turbo-test.log +0 -23
- package/src/addressParser.test.ts +0 -795
- package/src/addressParser.ts +0 -651
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -20
- package/tsup.config.ts +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/chain-utils",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.70",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -13,23 +13,26 @@
|
|
|
13
13
|
"main": "./dist/index.cjs",
|
|
14
14
|
"module": "./dist/index.js",
|
|
15
15
|
"types": "./dist/index.d.ts",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**/*"
|
|
18
|
+
],
|
|
16
19
|
"dependencies": {
|
|
17
20
|
"@initia/initia.js": "1.0.4",
|
|
18
21
|
"@stellar/stellar-sdk": "^14.1.1",
|
|
19
22
|
"@ton/ton": "npm:@layerzerolabs/ton@15.1.0-rc.9",
|
|
20
23
|
"bs58": "^5.0.0",
|
|
21
|
-
"@layerzerolabs/address-utils-ton": "0.2.
|
|
22
|
-
"@layerzerolabs/common-chain-model": "0.2.
|
|
23
|
-
"@layerzerolabs/
|
|
24
|
-
"@layerzerolabs/
|
|
25
|
-
"@layerzerolabs/
|
|
24
|
+
"@layerzerolabs/address-utils-ton": "0.2.70",
|
|
25
|
+
"@layerzerolabs/common-chain-model": "0.2.70",
|
|
26
|
+
"@layerzerolabs/common-encoding-utils": "0.2.70",
|
|
27
|
+
"@layerzerolabs/layerzero-definitions": "0.2.70",
|
|
28
|
+
"@layerzerolabs/static-chain-info": "0.2.70"
|
|
26
29
|
},
|
|
27
30
|
"devDependencies": {
|
|
28
31
|
"tsup": "^8.4.0",
|
|
29
32
|
"vitest": "^3.2.3",
|
|
30
|
-
"@layerzerolabs/
|
|
31
|
-
"@layerzerolabs/
|
|
32
|
-
"@layerzerolabs/typescript-utils": "0.2.
|
|
33
|
+
"@layerzerolabs/tsup-configuration": "0.2.70",
|
|
34
|
+
"@layerzerolabs/typescript-configuration": "0.2.70",
|
|
35
|
+
"@layerzerolabs/typescript-utils": "0.2.70"
|
|
33
36
|
},
|
|
34
37
|
"publishConfig": {
|
|
35
38
|
"access": "public",
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,42 +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/chain-utils@0.0.0 build /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/chain-utils
|
|
4
|
-
> tsup
|
|
5
|
-
|
|
6
|
-
[34mCLI[39m Building entry: src/addressParser.test.ts, src/addressParser.ts, src/index.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/chain-utils/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
|
-
Entry module "dist/ZZHCL54L.cjs" is using named and default exports together. Consumers of your bundle will have to use `chunk.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
|
|
15
|
-
"default" is imported from external module "path" but never used in "dist/CWKWODSW.js".
|
|
16
|
-
"fileURLToPath" is imported from external module "url" but never used in "dist/CWKWODSW.js".
|
|
17
|
-
[32mCJS[39m [1mdist/addressParser.cjs [22m[32m1.28 KB[39m
|
|
18
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m1.33 KB[39m
|
|
19
|
-
[32mCJS[39m [1mdist/7TRUXRQA.cjs [22m[32m23.38 KB[39m
|
|
20
|
-
[32mCJS[39m [1mdist/KHVGLVR5.cjs [22m[32m2.10 KB[39m
|
|
21
|
-
[32mCJS[39m [1mdist/ZZHCL54L.cjs [22m[32m42.51 KB[39m
|
|
22
|
-
[32mCJS[39m [1mdist/addressParser.test.cjs [22m[32m676.39 KB[39m
|
|
23
|
-
[32mCJS[39m [1mdist/addressParser.cjs.map [22m[32m78.00 B[39m
|
|
24
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m181.00 B[39m
|
|
25
|
-
[32mCJS[39m [1mdist/7TRUXRQA.cjs.map [22m[32m48.72 KB[39m
|
|
26
|
-
[32mCJS[39m [1mdist/KHVGLVR5.cjs.map [22m[32m926.00 B[39m
|
|
27
|
-
[32mCJS[39m [1mdist/ZZHCL54L.cjs.map [22m[32m100.23 KB[39m
|
|
28
|
-
[32mCJS[39m [1mdist/addressParser.test.cjs.map [22m[32m1.63 MB[39m
|
|
29
|
-
[32mCJS[39m ⚡️ Build success in 5138ms
|
|
30
|
-
[32mESM[39m [1mdist/addressParser.js [22m[32m294.00 B[39m
|
|
31
|
-
[32mESM[39m [1mdist/index.js [22m[32m337.00 B[39m
|
|
32
|
-
[32mESM[39m [1mdist/CWKWODSW.js [22m[32m1.87 KB[39m
|
|
33
|
-
[32mESM[39m [1mdist/HNVHH5C2.js [22m[32m20.76 KB[39m
|
|
34
|
-
[32mESM[39m [1mdist/PYS2ZW6G.js [22m[32m42.16 KB[39m
|
|
35
|
-
[32mESM[39m [1mdist/addressParser.test.js [22m[32m661.84 KB[39m
|
|
36
|
-
[32mESM[39m [1mdist/addressParser.js.map [22m[32m77.00 B[39m
|
|
37
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m160.00 B[39m
|
|
38
|
-
[32mESM[39m [1mdist/CWKWODSW.js.map [22m[32m669.00 B[39m
|
|
39
|
-
[32mESM[39m [1mdist/HNVHH5C2.js.map [22m[32m48.62 KB[39m
|
|
40
|
-
[32mESM[39m [1mdist/PYS2ZW6G.js.map [22m[32m100.20 KB[39m
|
|
41
|
-
[32mESM[39m [1mdist/addressParser.test.js.map [22m[32m1.63 MB[39m
|
|
42
|
-
[32mESM[39m ⚡️ Build success in 5139ms
|
package/.turbo/turbo-lint.log
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @layerzerolabs/chain-utils@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/chain-utils
|
|
3
|
-
> eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
|
|
4
|
-
|
|
5
|
-
(node:184621) [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,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @layerzerolabs/chain-utils@0.0.0 test /home/runner/work/monorepo-internal/monorepo-internal/packages/chain-abstractions/chain-utils
|
|
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/chain-utils[39m
|
|
9
|
-
|
|
10
|
-
[90mstderr[2m | src/addressParser.test.ts[2m > [22m[2maddressParser - TON[2m > [22m[2mvalidates native addresses
|
|
11
|
-
[22m[39mError parsing address {
|
|
12
|
-
address: [32m'invalid-ton-address'[39m,
|
|
13
|
-
error: [32m'The address invalid-ton-address cannot be decoded as TON, hex, or base58'[39m
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
[32m✓[39m src/addressParser.test.ts [2m([22m[2m78 tests[22m[2m)[22m[33m 318[2mms[22m[39m
|
|
17
|
-
|
|
18
|
-
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
19
|
-
[2m Tests [22m [1m[32m78 passed[39m[22m[90m (78)[39m
|
|
20
|
-
[2mType Errors [22m [2mno errors[22m
|
|
21
|
-
[2m Start at [22m 23:44:03
|
|
22
|
-
[2m Duration [22m 3.67s[2m (transform 701ms, setup 0ms, collect 2.36s, tests 318ms, environment 0ms, prepare 273ms)[22m
|
|
23
|
-
|