@polymeshassociation/polymesh-sdk 18.0.0-beta.7 โ†’ 18.0.0

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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- # [18.0.0-beta.7](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v18.0.0-beta.6...v18.0.0-beta.7) (2022-11-02)
1
+ # [18.0.0](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v17.0.2...v18.0.0) (2022-11-08)
2
2
 
3
3
 
4
4
  ### Bug Fixes
@@ -8,4 +8,17 @@
8
8
 
9
9
  ### Features
10
10
 
11
+ * ๐ŸŽธ Add `memo` to `InstructionDetails` interface ([30cc6ab](https://github.com/PolymeshAssociation/polymesh-sdk/commit/30cc6ab605fe53cc27828f1a8a679e0a83e1a39c))
12
+ * ๐ŸŽธ Add optional memo field to `AddInstructionParams` ([e26855c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/e26855cb3a88e9cb9e9482cd0c831c90b8238aa6))
13
+ * ๐ŸŽธ Allow option to redeem from specific portfolio ([7ac77c0](https://github.com/PolymeshAssociation/polymesh-sdk/commit/7ac77c0e4316c7d5aa4a2bf923f4fb86b69e0920))
14
+ * ๐ŸŽธ Support account type string for secondary accounts ([3950ed2](https://github.com/PolymeshAssociation/polymesh-sdk/commit/3950ed205282a29f4611f1cad734c396c7cb6ffd))
11
15
  * ๐ŸŽธ Support string type account for revoking permissions ([124501c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/124501ce044044dd5df6d185c3e14e9ebecc02b5))
16
+ * ๐ŸŽธ Update chain and spec version supported by SDK to 5.1.0 ([10eeece](https://github.com/PolymeshAssociation/polymesh-sdk/commit/10eeecedc72553cc18eb947c59ec836efc83a585))
17
+ * ๐ŸŽธ Update supported spec version to 5.1.2 ([da45d04](https://github.com/PolymeshAssociation/polymesh-sdk/commit/da45d04f4129e2f9923293f0d793b99b30064a82))
18
+ * ๐ŸŽธ Update type definitions and metadata ([2161580](https://github.com/PolymeshAssociation/polymesh-sdk/commit/21615801047444b50b6972af02322f4fb36f433f))
19
+
20
+
21
+ ### BREAKING CHANGES
22
+
23
+ * ๐Ÿงจ `Settlements.addInstruction` and `Venue.addInstruction`
24
+ now throw an error if any instruction contains a leg with zero amount
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymeshassociation/polymesh-sdk",
3
- "version": "18.0.0-beta.7",
3
+ "version": "18.0.0",
4
4
  "description": "High-level API to interact with the Polymesh blockchain",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,7 +27,8 @@
27
27
  "lint": "eslint src --ext .js,.jsx,.ts,.tsx",
28
28
  "format": "cross-env prettier-eslint $PWD\"/src/**/*.{ts,tsx,js,jsx}\" --write",
29
29
  "ts-node": "yarn build:ts && ts-node --",
30
- "prepare": "is-ci || husky install"
30
+ "prepare": "is-ci || husky install",
31
+ "postinstall": "patch-package"
31
32
  },
32
33
  "devDependencies": {
33
34
  "@babel/core": "^7.17.5",
@@ -37,8 +38,8 @@
37
38
  "@graphql-codegen/cli": "2.11.8",
38
39
  "@graphql-codegen/typescript": "2.7.3",
39
40
  "@ovos-media/ts-transform-paths": "^1.7.18-1",
40
- "@polymeshassociation/local-signing-manager": "1.1.0",
41
41
  "@polkadot/typegen": "8.9.1",
42
+ "@polymeshassociation/local-signing-manager": "1.1.0",
42
43
  "@polymeshassociation/signing-manager-types": "^1.1.0",
43
44
  "@semantic-release/changelog": "^6.0.1",
44
45
  "@types/bluebird": "^3.5.30",
@@ -72,6 +73,7 @@
72
73
  "jest": "28.1.3",
73
74
  "lint-staged": "11.0.0",
74
75
  "os-browserify": "^0.3.0",
76
+ "patch-package": "^6.5.0",
75
77
  "path-browserify": "^1.0.1",
76
78
  "prettier": "2.5.1",
77
79
  "prettier-eslint": "13.0.0",