@polymeshassociation/polymesh-sdk 19.0.0-beta.6 โ†’ 19.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,17 +1,65 @@
1
- # [19.0.0-beta.6](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v19.0.0-beta.5...v19.0.0-beta.6) (2023-02-08)
1
+ # [19.0.0](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v18.1.0...v19.0.0) (2023-02-08)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
+ * ๐Ÿ› allow 500ms for chain connections to drain ([#918](https://github.com/PolymeshAssociation/polymesh-sdk/issues/918)) ([15be87e](https://github.com/PolymeshAssociation/polymesh-sdk/commit/15be87e88afda71edb289d817300d9cfd82845be))
7
+ * ๐Ÿ› allow non default signer to quit portfolios ([#923](https://github.com/PolymeshAssociation/polymesh-sdk/issues/923)) ([bc4685d](https://github.com/PolymeshAssociation/polymesh-sdk/commit/bc4685db8a6929c2ece5c70fe071dfb85f10866f))
8
+ * ๐Ÿ› Handle multi params query correclty ([a05fa5a](https://github.com/PolymeshAssociation/polymesh-sdk/commit/a05fa5addf51159839553282f786695b961ee21a))
9
+ * ๐Ÿ› Prevent adding instruction leg with same from & to DID ([9da1ed2](https://github.com/PolymeshAssociation/polymesh-sdk/commit/9da1ed2b9d537a768ee8716b9093d0861145ec76))
10
+ * ๐Ÿ› set external signer on polkadot api instance ([ee50af6](https://github.com/PolymeshAssociation/polymesh-sdk/commit/ee50af6cc39f2e77052e6f825f2fe781a3b5868a))
6
11
  * ๐Ÿ› Update logic to get portfolio numbers from their names ([0bfb226](https://github.com/PolymeshAssociation/polymesh-sdk/commit/0bfb226b991d88b7ff6a6c1de312a1a6eb6cd990))
7
12
  * ๐Ÿ› update path for package.json "main" and "types" files ([#930](https://github.com/PolymeshAssociation/polymesh-sdk/issues/930)) ([4c3f1e9](https://github.com/PolymeshAssociation/polymesh-sdk/commit/4c3f1e91395d9b5e5f77c12c8678e98c7c01179c))
13
+ * ๐Ÿ› Use middleware V2 as well for emitting `ProcessedByMiddleware` event ([c8517a1](https://github.com/PolymeshAssociation/polymesh-sdk/commit/c8517a1de12934a7e085f204f60d4f4fe5fe9ef9))
14
+
15
+
16
+ ### chore
17
+
18
+ * ๐Ÿค– Mark `Account.getSubsidy` as deprecated ([4588efe](https://github.com/PolymeshAssociation/polymesh-sdk/commit/4588efe0927e4bfb3bca85e7ba7a3ccef5055dea))
8
19
 
9
20
 
10
21
  ### Features
11
22
 
23
+ * ๐ŸŽธ Add `AccountManagement.getSubsidy` to get Subsidy obj ([6b355a8](https://github.com/PolymeshAssociation/polymesh-sdk/commit/6b355a848392ccf78a8f0cb5713ebb2002be4943))
24
+ * ๐ŸŽธ Add `Instruction.onStatusChange` ([f8dae63](https://github.com/PolymeshAssociation/polymesh-sdk/commit/f8dae631538cecc904d3d39597ea73529c31fe95))
25
+ * ๐ŸŽธ Add `Metadata` namespace and `MetadataEntry` entity ([db6dfa1](https://github.com/PolymeshAssociation/polymesh-sdk/commit/db6dfa1847f6acfc1ca5c284234f5b774f79484c))
12
26
  * ๐ŸŽธ Add procedure to manually execute instruction ([cb12ebc](https://github.com/PolymeshAssociation/polymesh-sdk/commit/cb12ebcd1d2979c148cd8a3a7cd0b88aa15a41d2))
27
+ * ๐ŸŽธ Add procedure to register new local asset metadata ([52e4254](https://github.com/PolymeshAssociation/polymesh-sdk/commit/52e425479e4c3bd59b5703e8740f1163879c2a09))
28
+ * ๐ŸŽธ Add procedure to set value + details for metadata entry ([a023bd7](https://github.com/PolymeshAssociation/polymesh-sdk/commit/a023bd71cf0345e2c0aa0457be1648ef3c1a53fb))
13
29
  * ๐ŸŽธ add register did with cdd in `Identities` namespace ([0ff4b24](https://github.com/PolymeshAssociation/polymesh-sdk/commit/0ff4b24fb9bdcee07fa809db89ef0c25ea280f9e))
30
+ * ๐ŸŽธ add result to successfully ran transactions ([#859](https://github.com/PolymeshAssociation/polymesh-sdk/issues/859)) ([226c45d](https://github.com/PolymeshAssociation/polymesh-sdk/commit/226c45d23401eb132294857b1ca1600194916ce9))
31
+ * ๐ŸŽธ Add Subsidies namespace ([b8fd0af](https://github.com/PolymeshAssociation/polymesh-sdk/commit/b8fd0afca443f144c1d8bb7d2e13879333fac147))
14
32
  * ๐ŸŽธ Add support for manual settlement ([075033d](https://github.com/PolymeshAssociation/polymesh-sdk/commit/075033ddca04985a5745bafd16e09962772fe923))
33
+ * ๐ŸŽธ allow `lifetime` param for mortal procedure opts ([#865](https://github.com/PolymeshAssociation/polymesh-sdk/issues/865)) ([d0c5068](https://github.com/PolymeshAssociation/polymesh-sdk/commit/d0c506835df767659db29e8f9bb496dadb0ead29))
34
+ * ๐ŸŽธ allow specifying transaction mortality ([#862](https://github.com/PolymeshAssociation/polymesh-sdk/issues/862)) ([63db493](https://github.com/PolymeshAssociation/polymesh-sdk/commit/63db49370121ffd6cf7ae89e8945416f451f71d3))
35
+ * ๐ŸŽธ DA-426 Export `MetadataEntry` from `types` ([addcb99](https://github.com/PolymeshAssociation/polymesh-sdk/commit/addcb99871b6779eafbf6add6564fd2e83cb1a51))
36
+ * ๐ŸŽธ Deprecate middleware in favour of middleware v2 ([0e41289](https://github.com/PolymeshAssociation/polymesh-sdk/commit/0e41289ca32aae1db18c855fc05f13ce59532ec8))
37
+ * ๐ŸŽธ Export middlewareV2 client ([0b3d236](https://github.com/PolymeshAssociation/polymesh-sdk/commit/0b3d2360a326f8c8e61deb38838bac85bfffc4d7))
38
+ * ๐ŸŽธ Get global asset metadata ([4eecc1c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/4eecc1cf43f214f3a077bcff3c90ec6502f0752c))
39
+ * ๐ŸŽธ Remove deprecated code ([318c531](https://github.com/PolymeshAssociation/polymesh-sdk/commit/318c531dcbf19f9149eb90e885508ffec35e5462))
40
+ * ๐ŸŽธ support chain node v5.1.3 ([49930d6](https://github.com/PolymeshAssociation/polymesh-sdk/commit/49930d63f07d0256b68b45225a8474a517869223))
41
+ * ๐ŸŽธ Support fetching historical instructions for a DID ([8397dcb](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8397dcbd3037507d1c4cc08997777746548a19b4))
42
+ * ๐ŸŽธ Support fetching historical instructions for a venue ([5fe202f](https://github.com/PolymeshAssociation/polymesh-sdk/commit/5fe202f07afa853fa942da0bc3872ecbb9feabab))
15
43
  * ๐ŸŽธ Update polkadot types with 5.2.0 chain ([53ce458](https://github.com/PolymeshAssociation/polymesh-sdk/commit/53ce458b878f11b7474096f82aa3ffd354adc17d))
16
44
  * ๐ŸŽธ Update polkadot types with 5.2.0 chain ([#922](https://github.com/PolymeshAssociation/polymesh-sdk/issues/922)) ([8ea7fbd](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8ea7fbd10cbf086ed3768c3b8e526367666a4685))
17
45
  * ๐ŸŽธ Update supported spec version to `5.2.0` ([0ef1eee](https://github.com/PolymeshAssociation/polymesh-sdk/commit/0ef1eee86f9c3ac9ac0473b799c0d9baa4d19f79))
46
+
47
+
48
+ ### BREAKING CHANGES
49
+
50
+ * ๐Ÿงจ `addInstruction` procedure now throws an error if any leg contains same
51
+ from & to DIDs
52
+ * ๐Ÿงจ `Account.getSubsidy` is now deprecated in favour of
53
+ `Subsidies.getSubsidizer`
54
+ * ๐Ÿงจ Following methods now have been removed:
55
+ - `Account.hasPermissions` in favour of `AssetPermissions.checkPermissions`
56
+ - `Asset.modifyPrimaryIssuanceAgent`, `CorporateActions.setAgent` in
57
+ favor of `Permissions.inviteAgent`
58
+ - `Asset.removePrimaryIssuanceAgent`, `CorporateActions.removeAgent` in
59
+ favour of `Permissions.removeAgent`
60
+ - `Settlements.canSettle`, `Requirements.canSettle` in favour of `Settlements.canTransfer`
61
+ - `Identity.hasRoles` in favour of `Identity.checkRoles`
62
+ - `Identity.getPendingInstructions` in favour of `Identity.getInstructions`
63
+ - `Venue.getPendingInstructions` in favour of `Venue.getInstructions`
64
+
65
+ ๐Ÿงจ `primaryIssuanceAgents` has been removed from interface `AssetDetails`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymeshassociation/polymesh-sdk",
3
- "version": "19.0.0-beta.6",
3
+ "version": "19.0.0",
4
4
  "description": "High-level API to interact with the Polymesh blockchain",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",