@polymeshassociation/polymesh-sdk 23.0.0-beta.2 β†’ 23.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,15 +1,85 @@
1
- # [23.0.0-beta.2](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v23.0.0-beta.1...v23.0.0-beta.2) (2023-11-24)
1
+ # [23.0.0](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v22.0.3...v23.0.0) (2023-11-27)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
+ * πŸ› Correct the multisig proposal votes query ([61fb3e2](https://github.com/PolymeshAssociation/polymesh-sdk/commit/61fb3e223f40ece60799abdf16bad016dedb0c6c))
6
7
  * πŸ› correct the return type of getAllCustomClaimTypes ([eb300be](https://github.com/PolymeshAssociation/polymesh-sdk/commit/eb300bec83987e634873fcc16022ad6280d6e4dd))
7
8
  * πŸ› export type for docs ([6173b6a](https://github.com/PolymeshAssociation/polymesh-sdk/commit/6173b6a41b9cb4b238fecd7cedde6938ad03282d))
9
+ * πŸ› getAssets where ticker was not being padded for query ([cc68736](https://github.com/PolymeshAssociation/polymesh-sdk/commit/cc6873623c408cffbd1f60d4b2db8f8d2a05b5aa))
8
10
  * πŸ› portfolio collections displaying locked in free response ([c091210](https://github.com/PolymeshAssociation/polymesh-sdk/commit/c0912102b206f8d1b6bb4d3cba7ee0cb26aa044c))
11
+ * πŸ› Use `multisig.proposals` to fetch proposals ([d9f5049](https://github.com/PolymeshAssociation/polymesh-sdk/commit/d9f5049768b77d3e661089cf0fcbf3b6e146cbe8))
12
+ * πŸ› use proper conversion for `assets.get` ([1d61d6c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/1d61d6c79b2078bef1ff4234c895f54506da904c))
13
+
14
+
15
+ ### Code Refactoring
16
+
17
+ * πŸ’‘ rename `Asset` to `FungibleAsset` ([613d82e](https://github.com/PolymeshAssociation/polymesh-sdk/commit/613d82ea7753097a195f41ac4f422e3d15be7f78))
9
18
 
10
19
 
11
20
  ### Features
12
21
 
22
+ * 🎸 Add `getAsset` method to Assets namespace ([c8ef903](https://github.com/PolymeshAssociation/polymesh-sdk/commit/c8ef9038b6e8fb4fa4e17a58194d10fa19cd2abf))
23
+ * 🎸 add `getImageUri` and `getTokenUri` method for NFT ([1074a38](https://github.com/PolymeshAssociation/polymesh-sdk/commit/1074a38e39d6421fe1c8cc639acb4ea8278bbe4e))
24
+ * 🎸 add `Identity.getHeldNfts` method ([394a293](https://github.com/PolymeshAssociation/polymesh-sdk/commit/394a293208041747ee2d44ff816d11eaff968bf7))
25
+ * 🎸 add `issue` to NftCollection to create NFTs ([88d0d03](https://github.com/PolymeshAssociation/polymesh-sdk/commit/88d0d03550c0f2742b8d3f8f927922898c7db0b5))
26
+ * 🎸 add `voted` keys to MS proposal details ([4102d3a](https://github.com/PolymeshAssociation/polymesh-sdk/commit/4102d3af42b00a99f088279efeeb57925324972a))
27
+ * 🎸 add check to ensure NFT movement has correct args ([cdde180](https://github.com/PolymeshAssociation/polymesh-sdk/commit/cdde180db5390db2b917b6201ec97eecec9446a5))
28
+ * 🎸 Add method to check if an identity is a child identity ([7430eb0](https://github.com/PolymeshAssociation/polymesh-sdk/commit/7430eb0f66256b0b67027a94bd8a2afa1d651d4b))
29
+ * 🎸 Add method to get votes for a MultiSig proposal ([6e96321](https://github.com/PolymeshAssociation/polymesh-sdk/commit/6e9632190cb7738d2aaabb0ecc588126d5479d07))
30
+ * 🎸 Add methods to MultiSigProposal to query middleware ([f7b55fa](https://github.com/PolymeshAssociation/polymesh-sdk/commit/f7b55fac974464f143146c03ac47a4be61340d85))
31
+ * 🎸 add NFT redeem ([217eb00](https://github.com/PolymeshAssociation/polymesh-sdk/commit/217eb00ddb8487ef69dd348f18e0db5891b9d092))
32
+ * 🎸 add NFT support for settlements ([b70ac30](https://github.com/PolymeshAssociation/polymesh-sdk/commit/b70ac30ce62950c1dd14a6170d634f276167136c))
33
+ * 🎸 add NFT sxupport for portfolios ([5dc64aa](https://github.com/PolymeshAssociation/polymesh-sdk/commit/5dc64aac859ffdbc5d2d851206664f93a92d454d))
34
+ * 🎸 add NftCollection entity + create procedure ([101464c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/101464c3394d09608844a894bcf5c1bbcb65b996))
35
+ * 🎸 add NonFungible details method ([1ba6378](https://github.com/PolymeshAssociation/polymesh-sdk/commit/1ba6378f3c5ed5e84cc774cae89622c2dcdd64c4))
36
+ * 🎸 Add procedure to approve/reject a MultiSig proposal ([8e19acc](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8e19acc00c07e212e49baf9183c5c54ee321bf90))
37
+ * 🎸 add type names to proposal args ([1388cb1](https://github.com/PolymeshAssociation/polymesh-sdk/commit/1388cb191b997a3daf32797b3888a17684c2bbf0))
38
+ * 🎸 Adds new `ChildIdentity` entity and other related functions ([eb08090](https://github.com/PolymeshAssociation/polymesh-sdk/commit/eb08090bf1d41454813c3601f6bab30092a51e59))
39
+ * 🎸 Change implementation of `getCddClaims` to use RPC ([5768bed](https://github.com/PolymeshAssociation/polymesh-sdk/commit/5768bed1936f2a91db356f19d127fcb36ba29427))
40
+ * 🎸 expand collection metadata spec and name ([02418b6](https://github.com/PolymeshAssociation/polymesh-sdk/commit/02418b6b557f3b4ec04797654e1005d796cbce47))
41
+ * 🎸 Export `ChildIdentity` entity class from types ([66dfd3f](https://github.com/PolymeshAssociation/polymesh-sdk/commit/66dfd3f753266fe517839783cc76140074c5b519))
42
+ * 🎸 export Nft as an importable type for consumers ([f63ed8c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/f63ed8c04ea4445e00361eb4e7946f0acda316bd))
13
43
  * 🎸 fetch all CustomClaimType(s) ([3d9b7fc](https://github.com/PolymeshAssociation/polymesh-sdk/commit/3d9b7fcf3778834e426f20131682c8de248b3c12))
44
+ * 🎸 fix getIssued claims error on CustomClaim ([d6d1d7c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/d6d1d7c59f8a6c53c525e370eb9fa53637038745))
45
+ * 🎸 get CustomClaimType by id or name ([fd23316](https://github.com/PolymeshAssociation/polymesh-sdk/commit/fd2331677efabd4951165478eb31324c77b70743))
46
+ * 🎸 provide Fungible and NftCollection typeguards ([34b8e03](https://github.com/PolymeshAssociation/polymesh-sdk/commit/34b8e03655a941ea708be13f0b309a42aa8600de))
47
+ * 🎸 register custom claim type ([82df14b](https://github.com/PolymeshAssociation/polymesh-sdk/commit/82df14bdba315e57a4c8ef90e634b83531bd5cb0))
48
+ * 🎸 registerCustomClaimType ([51c7795](https://github.com/PolymeshAssociation/polymesh-sdk/commit/51c779587e246f25a241f699c0eeb7ec36f4c083))
49
+ * 🎸 remove 5.4 support ([2998e1e](https://github.com/PolymeshAssociation/polymesh-sdk/commit/2998e1edf26e24db12e7cf2729ba950a1429e98b))
50
+ * 🎸 select portfolio on asset issuance ([b23dd10](https://github.com/PolymeshAssociation/polymesh-sdk/commit/b23dd104242eaa6b52ea7ab8830894224b62b872))
14
51
  * 🎸 Update middleware types ([c730029](https://github.com/PolymeshAssociation/polymesh-sdk/commit/c730029d02f6e3103f5449b87f03467b326e0d02))
15
52
  * 🎸 Update polkadot types ([0152511](https://github.com/PolymeshAssociation/polymesh-sdk/commit/01525118c3d1b0d0be09d2a6b626bf557c6477a9))
53
+ * 🎸 update to latest type defs ([8019cfa](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8019cfacfc4bff88e279f1357c1e6c254f0ad38e))
54
+ * 🎸 warn if using SQ < 10.0.0 ([99faadf](https://github.com/PolymeshAssociation/polymesh-sdk/commit/99faadf6d9b906a3bc4843724185d15bad0766d2))
55
+ * 🎸Add `blockDate` to `getTransactionByHash` ([f20f76b](https://github.com/PolymeshAssociation/polymesh-sdk/commit/f20f76b464d8549d1ae594d8aa4d4030da42d22f))
56
+ * customclaims ([182aab8](https://github.com/PolymeshAssociation/polymesh-sdk/commit/182aab8db45f98c504faa5df0d7ae3f76a4b7006))
57
+ * update batch transaction ([122e653](https://github.com/PolymeshAssociation/polymesh-sdk/commit/122e653ba805c64bc9cc20ca4ccffd85a690e560))
58
+
59
+
60
+ ### Performance Improvements
61
+
62
+ * ⚑️only read required metadata key ids ([e7e1a4a](https://github.com/PolymeshAssociation/polymesh-sdk/commit/e7e1a4a6d73785f6bd8584dc92496bc064bce646))
63
+
64
+
65
+ ### BREAKING CHANGES
66
+
67
+ * 🧨 MultiSigProposal.details() now returns JSON instead of string[]
68
+
69
+ βœ… Closes: DA-906
70
+ * 🧨 Instruction.getLeg return type now distinguishes between Fungible and
71
+ NonFungible legs
72
+
73
+ βœ… Closes: DA-880
74
+ * 🧨`Asset` entity was renamed to `FungibleAsset`.
75
+ * 🧨 Asset namespace get and getAssets now returns `FungibleAsset |
76
+ NftCollection`.
77
+ * 🧨 `BaseAsset` procedures no longer return a value
78
+ Affected methods include: `documents.set`, `trustedClaimIssuers.{set,
79
+ add, remove}` , `requirements.{set, add, remove, reset, pause,
80
+ unpause}`. To get the newly set values the appropriate get function should
81
+ be called instead (e.g. `await setDocsTx.run(); const newDocs = documents.get()`)
82
+
83
+ βœ… Closes: DA-881
84
+ * 🧨 InstructionStatus.Executed is now `Success` or `Rejected`.
85
+ CheckpointSchedules need explicit dates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymeshassociation/polymesh-sdk",
3
- "version": "23.0.0-beta.2",
3
+ "version": "23.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",