@sodax/sdk 1.5.7-beta → 2.0.0-rc.10
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/README.md +39 -7
- package/dist/index.cjs +32330 -31587
- package/dist/index.d.cts +8542 -7090
- package/dist/index.d.ts +8542 -7090
- package/dist/index.mjs +32208 -31505
- package/package.json +32 -24
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "
|
|
7
|
+
"version": "2.0.0-rc.10",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"description": "Sodax SDK",
|
|
10
10
|
"keywords": [
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"frontend",
|
|
14
14
|
"interface"
|
|
15
15
|
],
|
|
16
|
-
"homepage": "https://github.com/icon-project/sodax-
|
|
16
|
+
"homepage": "https://github.com/icon-project/sodax-sdks/tree/main/packages/sdk",
|
|
17
17
|
"bugs": {
|
|
18
|
-
"url": "https://github.com/icon-project/sodax-
|
|
18
|
+
"url": "https://github.com/icon-project/sodax-sdks/issues"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "https://github.com/icon-project/sodax-
|
|
22
|
+
"url": "https://github.com/icon-project/sodax-sdks"
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
25
25
|
"main": "./dist/index.cjs",
|
|
@@ -27,67 +27,75 @@
|
|
|
27
27
|
"types": "./dist/index.d.ts",
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
"import": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"default": "./dist/index.mjs"
|
|
33
|
+
},
|
|
34
|
+
"require": {
|
|
35
|
+
"types": "./dist/index.d.cts",
|
|
36
|
+
"default": "./dist/index.cjs"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"./package.json": "./package.json"
|
|
34
40
|
},
|
|
35
41
|
"engines": {
|
|
36
|
-
"node": ">=
|
|
42
|
+
"node": ">=20.12.0"
|
|
37
43
|
},
|
|
38
44
|
"files": [
|
|
39
|
-
"dist"
|
|
45
|
+
"dist",
|
|
46
|
+
"!dist/**/*.map"
|
|
40
47
|
],
|
|
48
|
+
"sideEffects": false,
|
|
41
49
|
"dependencies": {
|
|
42
50
|
"@bitcoinerlab/secp256k1": "^1.2.0",
|
|
43
51
|
"@coral-xyz/anchor": "0.30.1",
|
|
44
52
|
"@injectivelabs/networks": "1.18.14",
|
|
45
53
|
"@injectivelabs/sdk-ts": "1.18.14",
|
|
46
54
|
"@mysten/sui": "1.21.2",
|
|
47
|
-
"@pancakeswap/chains": "^0.7.0",
|
|
48
55
|
"@pancakeswap/infinity-sdk": "^1.0.0",
|
|
49
|
-
"@pancakeswap/permit2-sdk": "^1.1.7",
|
|
50
56
|
"@pancakeswap/swap-sdk-core": "^1.5.1",
|
|
51
57
|
"@pancakeswap/v3-sdk": "^3.9.7",
|
|
52
|
-
"@ordjs/runestone": "^1.6.0",
|
|
53
58
|
"@solana/spl-token": "0.4.9",
|
|
54
59
|
"@solana/web3.js": "1.98.0",
|
|
55
|
-
"@stellar/stellar-sdk": "
|
|
56
|
-
"@stacks/transactions": "7.3.1",
|
|
57
|
-
"@stacks/network": "7.3.1",
|
|
60
|
+
"@stellar/stellar-sdk": "15.1.0",
|
|
58
61
|
"bignumber.js": "9.3.1",
|
|
59
62
|
"bitcoinjs-lib": "^6.1.5",
|
|
60
63
|
"bn.js": "^5.2.1",
|
|
61
|
-
"ecpair": "^2.0.1",
|
|
62
64
|
"icon-sdk-js": "1.5.3",
|
|
63
65
|
"near-api-js": "7.2.0",
|
|
64
66
|
"rlp": "3.0.0",
|
|
65
|
-
"runelib": "^1.0.7",
|
|
66
|
-
"tiny-invariant": "1.3.3",
|
|
67
67
|
"viem": "2.29.2",
|
|
68
|
-
"@sodax/types": "
|
|
68
|
+
"@sodax/types": "2.0.0-rc.10",
|
|
69
|
+
"@sodax/libs": "2.0.0-rc.10"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"@arethetypeswrong/cli": "0.17.4",
|
|
72
73
|
"@changesets/cli": "2.29.7",
|
|
74
|
+
"@stryker-mutator/core": "9.6.1",
|
|
75
|
+
"@stryker-mutator/vitest-runner": "9.6.1",
|
|
73
76
|
"@types/bn.js": "^5.1.6",
|
|
74
77
|
"@types/node": "22.18.1",
|
|
75
|
-
"@vitest/coverage-v8": "2.
|
|
78
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
79
|
+
"knip": "5.30.5",
|
|
80
|
+
"madge": "8.0.0",
|
|
76
81
|
"tsup": "8.5.0",
|
|
77
82
|
"typescript": "5.5.4",
|
|
78
|
-
"vitest": "2.
|
|
83
|
+
"vitest": "3.2.4"
|
|
79
84
|
},
|
|
80
85
|
"scripts": {
|
|
81
86
|
"build": "tsup",
|
|
82
87
|
"test": "vitest run --exclude ./src/e2e-tests",
|
|
83
|
-
"test
|
|
88
|
+
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
84
89
|
"coverage": "vitest run --coverage",
|
|
85
90
|
"dev": "tsup --watch",
|
|
86
91
|
"ci": "pnpm run pretty && pnpm run build && pnpm run test",
|
|
87
92
|
"checkTs": "tsc --noEmit",
|
|
88
93
|
"pretty": "biome format . --write",
|
|
89
94
|
"lint": "biome lint . --write",
|
|
90
|
-
"check
|
|
95
|
+
"size:check": "node ./scripts/size-check.mjs",
|
|
96
|
+
"check-exports": "attw --pack",
|
|
97
|
+
"check:circular-deps": "madge --circular --exclude 'types/dist' $(find ./src -name '*.ts')",
|
|
98
|
+
"check:knip": "knip",
|
|
91
99
|
"local-release": "changeset version && changeset publish",
|
|
92
100
|
"clean": "rm -rf node_modules && rm -rf dist && rm -rf .turbo"
|
|
93
101
|
}
|