@paraspell/swap 12.8.5
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/LICENSE +21 -0
- package/README.md +63 -0
- package/dist/index.d.ts +519 -0
- package/dist/index.mjs +12197 -0
- package/package.json +87 -0
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@paraspell/swap",
|
|
3
|
+
"version": "12.8.5",
|
|
4
|
+
"description": "Tool for XCM cross-chain asset exchanging across Polkadot and Kusama ecosystems",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.mjs",
|
|
10
|
+
"require": "./dist/index.cjs"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"main": "dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.mjs",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [],
|
|
20
|
+
"author": "",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@acala-network/api": "^6.3.0",
|
|
24
|
+
"@acala-network/app-util": "^4.1.8-14",
|
|
25
|
+
"@acala-network/eth-providers": "^2.10.0",
|
|
26
|
+
"@acala-network/sdk": "4.1.15",
|
|
27
|
+
"@acala-network/sdk-core": "4.1.15",
|
|
28
|
+
"@acala-network/sdk-swap": "4.1.15",
|
|
29
|
+
"@acala-network/sdk-wallet": "4.1.8-14",
|
|
30
|
+
"@crypto-dex-sdk/amm": "^0.1.4",
|
|
31
|
+
"@crypto-dex-sdk/chain": "^0.1.4",
|
|
32
|
+
"@crypto-dex-sdk/currency": "^0.1.4",
|
|
33
|
+
"@crypto-dex-sdk/format": "^0.1.4",
|
|
34
|
+
"@crypto-dex-sdk/math": "^0.1.4",
|
|
35
|
+
"@crypto-dex-sdk/parachains-bifrost": "^0.1.4",
|
|
36
|
+
"@crypto-dex-sdk/token-lists": "^0.1.4",
|
|
37
|
+
"@galacticcouncil/sdk": "^10.7.0",
|
|
38
|
+
"@polkadot/api": "^16.5.4",
|
|
39
|
+
"@polkadot/api-base": "^16.5.4",
|
|
40
|
+
"@polkadot/types": "^16.5.4",
|
|
41
|
+
"@polkadot/types-codec": "^16.5.4",
|
|
42
|
+
"@polkadot/util": "^14.0.1",
|
|
43
|
+
"@zenlink-types/bifrost": "^1.7.7",
|
|
44
|
+
"axios": "^1.13.5",
|
|
45
|
+
"ethers": "^5.8.0",
|
|
46
|
+
"ethers-v6": "npm:ethers@^6.16.0",
|
|
47
|
+
"jsbi": "^4.3.2",
|
|
48
|
+
"lodash-es": "^4.17.23",
|
|
49
|
+
"polkadot-api": "^1.23.3",
|
|
50
|
+
"postcss": "^8.5.6",
|
|
51
|
+
"react": "^19.2.4",
|
|
52
|
+
"rxjs": "^7.8.2",
|
|
53
|
+
"@paraspell/sdk": "12.8.5",
|
|
54
|
+
"@paraspell/sdk-pjs": "12.8.5"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@babel/core": "^7.29.0",
|
|
58
|
+
"@babel/plugin-syntax-import-attributes": "^7.28.6",
|
|
59
|
+
"@babel/preset-env": "^7.29.0",
|
|
60
|
+
"@codecov/rollup-plugin": "^1.9.1",
|
|
61
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
62
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
63
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
64
|
+
"@types/lodash-es": "^4.17.12",
|
|
65
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
66
|
+
"dotenv": "^17.3.1",
|
|
67
|
+
"rollup": "^4.59.0",
|
|
68
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
69
|
+
"ts-node": "^10.9.2",
|
|
70
|
+
"tslib": "^2.8.1",
|
|
71
|
+
"@galacticcouncil/api-augment": "^0.9.0"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"compile": "tsc --noEmit",
|
|
75
|
+
"build": "rollup -c",
|
|
76
|
+
"lint:check": "eslint src",
|
|
77
|
+
"lint": "eslint --fix src",
|
|
78
|
+
"format:check": "prettier --check src",
|
|
79
|
+
"format:write": "prettier --write src",
|
|
80
|
+
"test": "vitest run",
|
|
81
|
+
"test:cov": "vitest run --coverage",
|
|
82
|
+
"test:watch": "vitest",
|
|
83
|
+
"test:e2e": "vitest run --config ./vitest.config.e2e.ts --sequence.concurrent",
|
|
84
|
+
"runAll": "pnpm compile && pnpm format:write && pnpm lint && pnpm test",
|
|
85
|
+
"updateAssets": "node --loader ts-node/esm --experimental-specifier-resolution=node ./scripts/updateAssets.ts"
|
|
86
|
+
}
|
|
87
|
+
}
|