@paraspell/sdk 6.2.4 → 7.0.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "6.2.4",
3
+ "version": "7.0.1",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": "@paraspell/sdk",
6
6
  "license": "MIT",
@@ -10,6 +10,11 @@
10
10
  "import": "./dist/index.mjs",
11
11
  "require": "./dist/index.cjs",
12
12
  "types": "./dist/index.d.ts"
13
+ },
14
+ "./papi": {
15
+ "import": "./dist/papi/index.mjs",
16
+ "require": "./dist/papi/index.cjs",
17
+ "types": "./dist/papi/index.d.ts"
13
18
  }
14
19
  },
15
20
  "main": "dist/index.cjs",
@@ -19,30 +24,54 @@
19
24
  "dist"
20
25
  ],
21
26
  "dependencies": {
22
- "@snowbridge/api": "^0.1.20",
23
- "ethers": "^6.13.2"
27
+ "@snowbridge/api": "^0.1.23",
28
+ "ethers": "^6.13.4"
24
29
  },
25
30
  "peerDependencies": {
26
31
  "@polkadot/api": ">= 12.4 < 13",
27
32
  "@polkadot/api-base": ">= 12.4 < 13",
28
- "@polkadot/apps-config": ">= 0.144",
33
+ "@polkadot/apps-config": ">= 0.145",
29
34
  "@polkadot/types": ">= 12.4 < 13",
30
- "@polkadot/util": ">= 13"
35
+ "@polkadot/util": ">= 13",
36
+ "polkadot-api": ">= 1.6.5 < 2"
37
+ },
38
+ "peerDependenciesMeta": {
39
+ "@polkadot/api": {
40
+ "optional": true
41
+ },
42
+ "@polkadot/api-base": {
43
+ "optional": true
44
+ },
45
+ "@polkadot/types": {
46
+ "optional": true
47
+ },
48
+ "@polkadot/util": {
49
+ "optional": true
50
+ },
51
+ "polkadot-api": {
52
+ "optional": true
53
+ }
31
54
  },
32
55
  "devDependencies": {
33
- "@babel/plugin-syntax-import-assertions": "^7.25.6",
34
- "@babel/preset-env": "^7.25.4",
35
- "@codecov/rollup-plugin": "^1.2.0",
56
+ "@babel/plugin-syntax-import-assertions": "^7.26.0",
57
+ "@babel/preset-env": "^7.26.0",
58
+ "@codecov/rollup-plugin": "^1.2.1",
59
+ "@noble/curves": "^1.6.0",
60
+ "@noble/hashes": "^1.5.0",
61
+ "@polkadot-labs/hdkd": "^0.0.8",
62
+ "@polkadot-labs/hdkd-helpers": "^0.0.8",
36
63
  "@rollup/plugin-babel": "^6.0.4",
37
64
  "@rollup/plugin-json": "^6.1.0",
38
- "@vitest/coverage-v8": "^2.1.1",
65
+ "@scure/bip32": "^1.5.0",
66
+ "@scure/bip39": "^1.4.0",
67
+ "@vitest/coverage-v8": "^2.1.4",
39
68
  "dotenv": "^16.4.5",
40
69
  "prettier": "^3.3.3",
41
- "rollup": "^4.22.5",
70
+ "rollup": "^4.24.3",
42
71
  "rollup-plugin-dts": "^6.1.1",
43
72
  "rollup-plugin-typescript2": "^0.36.0",
44
73
  "ts-node": "^10.9.2",
45
- "tslib": "^2.7.0"
74
+ "tslib": "^2.8.0"
46
75
  },
47
76
  "scripts": {
48
77
  "compile": "tsc --noEmit",