@polymeshassociation/polymesh-sdk 22.0.0-beta.5 โ†’ 22.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,6 +1,67 @@
1
- # [22.0.0-beta.5](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v22.0.0-beta.4...v22.0.0-beta.5) (2023-09-05)
1
+ # [22.0.0](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v21.0.0...v22.0.0) (2023-09-05)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
+ * ๐Ÿ› `asset.details` on v5.4 ([a0d4a66](https://github.com/PolymeshAssociation/polymesh-sdk/commit/a0d4a66b2131f7c6b4aeaad10405e61ad783239a))
6
7
  * ๐Ÿ› `canTransfer` method for 5.4 with dual version ([d2a5e6f](https://github.com/PolymeshAssociation/polymesh-sdk/commit/d2a5e6f56a045a8f3bb74404e3ca4679331dd7f8))
8
+ * ๐Ÿ› create custom asset type for v6 ([8d730cb](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8d730cb496dc559142ab064e4ffe906bbc50e1ac))
9
+ * ๐Ÿ› instruction affirmation does not need leg count ([#1017](https://github.com/PolymeshAssociation/polymesh-sdk/issues/1017)) ([5aea612](https://github.com/PolymeshAssociation/polymesh-sdk/commit/5aea612f75919fa459c0cfccb49256c3b20d800a))
10
+ * ๐Ÿ› offering and move funds for 5.4 ([fd34a43](https://github.com/PolymeshAssociation/polymesh-sdk/commit/fd34a436c8f57970fbd3a97f4b094175382ad2a4))
11
+ * ๐Ÿ› unwrap fundraiser for 5.4 chains ([c782e67](https://github.com/PolymeshAssociation/polymesh-sdk/commit/c782e67747549533b6e6b16f2bc686d52abb783b))
12
+
13
+
14
+ ### Documentation
15
+
16
+ * โœ๏ธ Update README to point compatible version as 6.x.x ([452159c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/452159c5470ff8ae22da85b9322e65706cfe0491))
17
+
18
+
19
+ ### Features
20
+
21
+ * ๐ŸŽธ Add method to fetch historical authorizations ([c6a0ebc](https://github.com/PolymeshAssociation/polymesh-sdk/commit/c6a0ebcc228b7f16a3ae08e042a09f3b6a224b47))
22
+ * ๐ŸŽธ Add method to get POLYX transactions for an account ([fdf3060](https://github.com/PolymeshAssociation/polymesh-sdk/commit/fdf3060912a5e8d2d3c740671d60e8d9f7fa2a53))
23
+ * ๐ŸŽธ Allow manual execution of failed instructions ([4cfe8be](https://github.com/PolymeshAssociation/polymesh-sdk/commit/4cfe8bec8d1ad755edc73d04d3c5298a07eb7c57))
24
+ * ๐ŸŽธ Drop support for `Executed` instruction status ([e73a2e8](https://github.com/PolymeshAssociation/polymesh-sdk/commit/e73a2e88415edf364ad941f150c2eddb5d356800))
25
+ * ๐ŸŽธ merge alpha into beta ([c7cb783](https://github.com/PolymeshAssociation/polymesh-sdk/commit/c7cb7833ca5e089be5ceef5740d54e3175772788))
26
+ * ๐ŸŽธ Remove middleware V1 ([fd9e27e](https://github.com/PolymeshAssociation/polymesh-sdk/commit/fd9e27e427c1a29d09bcf22c6c66b78dc73263d1))
27
+ * ๐ŸŽธ Remove middleware v1 ordering ([530fd88](https://github.com/PolymeshAssociation/polymesh-sdk/commit/530fd889df86a6c47ff57296aa26f863f447f796))
28
+ * ๐ŸŽธ remove react dependency ([#1021](https://github.com/PolymeshAssociation/polymesh-sdk/issues/1021)) ([0fb9955](https://github.com/PolymeshAssociation/polymesh-sdk/commit/0fb9955d00e279945636fad16cfea088534ed06d))
29
+ * ๐ŸŽธ support 5.4 version for createAsset ([55cd447](https://github.com/PolymeshAssociation/polymesh-sdk/commit/55cd447ec52db7784618b3ead2084363c8bcec71))
30
+ * ๐ŸŽธ Update dependencies ([49431e5](https://github.com/PolymeshAssociation/polymesh-sdk/commit/49431e5acc1aedc68ac95df4c50ec56b8ee6369f))
31
+ * ๐ŸŽธ Update middleware types compatible with 6.0.0 chain ([fd8ef98](https://github.com/PolymeshAssociation/polymesh-sdk/commit/fd8ef98b3aec54bd801225b7fcbb8685e662fa52))
32
+ * ๐ŸŽธ update to accomodate new 6.0 types ([995f0fd](https://github.com/PolymeshAssociation/polymesh-sdk/commit/995f0fd211daf5b3034ea997eccf8606284ecd2c))
33
+ * ๐ŸŽธ update types to 6.0 ([01baae0](https://github.com/PolymeshAssociation/polymesh-sdk/commit/01baae0c456f3e364575d59c57ef43d27eb82543))
34
+
35
+
36
+ ### Performance Improvements
37
+
38
+ * โšก๏ธ improve startup time ([e4397b9](https://github.com/PolymeshAssociation/polymesh-sdk/commit/e4397b9bf0487c165ea60f1963d33dd9133bc99d))
39
+ * โšก๏ธ read gensis hash from saved value ([bdb8bfe](https://github.com/PolymeshAssociation/polymesh-sdk/commit/bdb8bfe418b4eba45ed762f5fbfa98e4963ae62a))
40
+
41
+
42
+ ### BREAKING CHANGES
43
+
44
+ * ๐Ÿงจ `TransactionOrderByInput` has been removed in favour
45
+ of `ExtrinsicsOrderBy`
46
+ * ๐Ÿงจ Removed `middleware` from `ConnectParams`
47
+ * ๐Ÿงจ Investor Uniqueness methods have been removed.
48
+ This removes the methods `addInvestorUniquenessClaim`,
49
+ `getInvestorUniquenessClaims` from `Claims` entity.
50
+ - ๐Ÿงจ `ClaimType` enum drops the following values:
51
+ `InvestorUniqueness`, `InvestorUniquenessV2`, `NoType`, `NoData`.
52
+ Associated interfaces for these claim types have also been removed.
53
+ - ๐Ÿงจ `AssetDetails` interface drops support for `requireInvestorUniquess`
54
+ - ๐Ÿงจ `CheckpointSchedule` no longer has `period` attribute,
55
+ instead has a new attribute `pendingPoints`, a Date array which points
56
+ to date in future where checkpoints are scheduled to be created.
57
+ - ๐Ÿงจ `CheckpointSchedule` has also dropped `start` and `complexity` attributes.
58
+ - ๐Ÿงจ `CalendarUnit` and `CalendarPeriod` interfaces have been removed.
59
+ - ๐Ÿงจ `Identity.getVenues` no longer supports subscription
60
+ - ๐Ÿงจ `Identity.getScopeId` has been removed
61
+ - ๐Ÿงจ `Instruction.reschedule` has been removed. Failed instructions can
62
+ use `executeManually` instead now
63
+ - ๐Ÿงจ `InstructionStatus` can now be distinguished between `Success` and
64
+ `Rejected` status. `InstructionStatus` enum drops support for `Executed`
65
+ - ๐Ÿงจ `CreateCheckpointScheduleParams` now only contains `points: Date[]`
66
+ * ๐Ÿงจ Removed `Executed` from `InstructionStatus` enum
67
+ * ๐Ÿงจ drops 5.x support for chains
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymeshassociation/polymesh-sdk",
3
- "version": "22.0.0-beta.5",
3
+ "version": "22.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",