@paraspell/sdk 0.0.27 → 1.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.
Files changed (2) hide show
  1. package/README.md +22 -8
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -21,26 +21,40 @@ SDK For XCM & XCMP handling made with ❤️ by ParaSpell✨. It is no longer ne
21
21
 
22
22
 
23
23
 
24
- Install package:
24
+ **Install package:**
25
25
 
26
-
26
+ #### Since version 1.0.0
27
+ Our SDK introduced all Polkadot libraries as peer dependencies. Reason for this is, that most of the projects use these libraries in some way already and it fixes issues with unmet dependency warnings. Make sure your project have them. You can install them by following command:
28
+
29
+ ##### Install DEPS via npm
30
+ ```
31
+ npm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config
32
+ ```
33
+
34
+ ##### Install DEPS via yarn
35
+ ```
36
+ yarn install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config
37
+ ```
38
+
39
+ ##### Install DEPS via pnpm
40
+ ```
41
+ pnpm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config
42
+ ```
27
43
 
28
- ##### Install via npm
44
+ ##### Install SDK via npm
29
45
  ```
30
46
  npm install @paraspell/sdk
31
47
  ```
32
- ##### Install via yarn
48
+ ##### Install SDK via yarn
33
49
  ```
34
50
  yarn install @paraspell/sdk
35
51
  ```
36
- ##### Install via pnpm
52
+ ##### Install SDK via pnpm
37
53
  ```
38
54
  pnpm install @paraspell/sdk
39
55
  ```
40
56
 
41
-
42
-
43
- ##### Importing package to your project:
57
+ ##### Importing package to your project:
44
58
 
45
59
  If you wish to use XCM, HRMP, XYK Pallets only you can import Builder like this:
46
60
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "0.0.27",
3
+ "version": "1.0.1",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": "@paraspell/sdk",
6
6
  "license": "MIT",
@@ -52,7 +52,8 @@
52
52
  "scripts": {
53
53
  "build": "rollup -c",
54
54
  "dev": "vitest dev",
55
- "lint": "eslint --fix --ext .ts,.js,.mjs,.cjs .",
55
+ "lint:check": "eslint src/**/*.ts",
56
+ "lint": "eslint --fix src/**/*.ts",
56
57
  "format:check": "prettier --check src/**/*.ts",
57
58
  "format:write": "prettier --write src/**/*.ts",
58
59
  "updateAssets": "node --loader ts-node/esm --experimental-specifier-resolution=node ./src/scripts/updateAssets.ts",