@polymeshassociation/polymesh-sdk 26.0.0-alpha.5 โ†’ 26.0.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,25 +1,73 @@
1
- # [26.0.0-alpha.5](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v26.0.0-alpha.4...v26.0.0-alpha.5) (2024-10-17)
1
+ # [26.0.0-beta.1](https://github.com/PolymeshAssociation/polymesh-sdk/compare/v25.1.1...v26.0.0-beta.1) (2024-10-17)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
+ * ๐Ÿ› `InstructionDetails.createdAt` is nullable ([769c487](https://github.com/PolymeshAssociation/polymesh-sdk/commit/769c487bdad82a34a9d11c5f00f3d2232ca04fa9))
7
+ * ๐Ÿ› add stats transfer report runtime type ([09a95f6](https://github.com/PolymeshAssociation/polymesh-sdk/commit/09a95f6ad293f0bf69aa0f3ce39406810da32d26))
6
8
  * ๐Ÿ› Make `venueId` optional in `HistoricInstrution` ([411a522](https://github.com/PolymeshAssociation/polymesh-sdk/commit/411a522b0f323ee4b1228ad50857aba2c4a7243e))
7
9
  * ๐Ÿ› Return rejected status correctly for Instructions ([2e76e91](https://github.com/PolymeshAssociation/polymesh-sdk/commit/2e76e911f3cd336500f94d7dc2a063ac3a30c3b1))
10
+ * ๐Ÿ› v7 multiSig errors by using payer/admin over creator ([7a2c9b5](https://github.com/PolymeshAssociation/polymesh-sdk/commit/7a2c9b50a00f04743c8444f5d7337d8e668dbcad))
11
+
12
+
13
+ ### Documentation
14
+
15
+ * โœ๏ธ Update interfaces with notes about ticker deprecation ([aab288a](https://github.com/PolymeshAssociation/polymesh-sdk/commit/aab288a7848acc8068333130163ca83c6e65ef25))
8
16
 
9
17
 
10
18
  ### Features
11
19
 
20
+ * ๐ŸŽธ Add dual version support for 6.x-7.x chain ([a1369fc](https://github.com/PolymeshAssociation/polymesh-sdk/commit/a1369fc1ce779bb08effa34dd3532bfebb29ed1b))
21
+ * ๐ŸŽธ add guard for no offchain leg without venue ([5453e90](https://github.com/PolymeshAssociation/polymesh-sdk/commit/5453e907abda253f4434370a79ba4a684d323970))
22
+ * ๐ŸŽธ add link ticker to asset ID method ([1e0166c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/1e0166c9f81157ff77a3bb67a4e6a3874be609ae))
12
23
  * ๐ŸŽธ Add method to get portfolio by name ([1a3c9e6](https://github.com/PolymeshAssociation/polymesh-sdk/commit/1a3c9e68a39dc40fb25c5e1d0b98f8571e43405d))
13
24
  * ๐ŸŽธ Add procedure to unlink ticker from an Asset ([8966c83](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8966c832005144aca76d70b6a18de7841da49e78))
25
+ * ๐ŸŽธ add set admin method to multi instance ([db2c542](https://github.com/PolymeshAssociation/polymesh-sdk/commit/db2c542e46ecc90e3dce6b5b4c19bb70e9f59fc4))
26
+ * ๐ŸŽธ allow optional venues for 7.0 chains ([8750fe9](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8750fe9a206ad68b4cbd3b373cd4dc9ce9bdeb15))
27
+ * ๐ŸŽธ allow removal of a multiSig payer ([617358c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/617358c683b9504e71d8d329a62271220c443926))
28
+ * ๐ŸŽธ auto register ticker when linking to asset ([ab3a6cb](https://github.com/PolymeshAssociation/polymesh-sdk/commit/ab3a6cbb3bdc1158d07fc0fc8b02cfd13e35d65a))
29
+ * ๐ŸŽธ Bump min SQ version to `16.0.0-alpha.1` ([2c7c80f](https://github.com/PolymeshAssociation/polymesh-sdk/commit/2c7c80f5049698d71716b8bb38b3241a2d0b2f91))
14
30
  * ๐ŸŽธ Bump polymesh-types to `5.14.0` ([0819084](https://github.com/PolymeshAssociation/polymesh-sdk/commit/08190842c3dcea1e6705f50e8936c3307a1c55cf))
31
+ * ๐ŸŽธ fix incorrect conflict resolutions ([32b2b14](https://github.com/PolymeshAssociation/polymesh-sdk/commit/32b2b1433da93da38a8d9898ec547954d39cbfbb))
32
+ * ๐ŸŽธ get genesisHash and sq version ([d52ef84](https://github.com/PolymeshAssociation/polymesh-sdk/commit/d52ef84efecca0052e2299143620781bcbefd02f))
33
+ * ๐ŸŽธ handle optional venues when processing instruction ([a0ea5a4](https://github.com/PolymeshAssociation/polymesh-sdk/commit/a0ea5a42c3582161601c8ddec220d8777a96fb8b))
15
34
  * ๐ŸŽธ Make `ticker` optional while creating an asset ([9460b22](https://github.com/PolymeshAssociation/polymesh-sdk/commit/9460b22717ff2b0a599020066266e00968926ef6))
35
+ * ๐ŸŽธ pass key count when redeeming NFT ([76140dd](https://github.com/PolymeshAssociation/polymesh-sdk/commit/76140dd0b0e769bc8cf37905a9c29a1382c49d17))
36
+ * ๐ŸŽธ reintroduce joinCreator for dual-version ([46ff3f1](https://github.com/PolymeshAssociation/polymesh-sdk/commit/46ff3f10a55a30fc2d39aa64e82713cf0c78657a))
37
+ * ๐ŸŽธ return `ticker` from `BaseAsset.details` method ([2b89526](https://github.com/PolymeshAssociation/polymesh-sdk/commit/2b895261de2a61a508a3c164051369bd262e02ff))
38
+ * ๐ŸŽธ throw error from getAuthorization ([efa196c](https://github.com/PolymeshAssociation/polymesh-sdk/commit/efa196c5b69861e57a675acba8a14a16b4a32d30))
39
+ * ๐ŸŽธ update getMultiSigSigners for v7 ([103f7c8](https://github.com/PolymeshAssociation/polymesh-sdk/commit/103f7c86c6cea802c61714c490350ad88d809c5d))
16
40
  * ๐ŸŽธ Update logic for generating legacy ticker Asset IDs ([519565f](https://github.com/PolymeshAssociation/polymesh-sdk/commit/519565f595f2e82cc83b62db10cc2bd116e74414))
41
+ * ๐ŸŽธ Update middleware types compatible with 7.x chain ([8cedbad](https://github.com/PolymeshAssociation/polymesh-sdk/commit/8cedbad720ec587e3524dc1137f749ca45bfd4cc))
17
42
  * ๐ŸŽธ Update middleware types with latest SQ ([5b26058](https://github.com/PolymeshAssociation/polymesh-sdk/commit/5b260588c2406da5b83c75c326a6c0756cf7fecc))
43
+ * ๐ŸŽธ Update polkadot types for 7.0 chain release ([fc731b8](https://github.com/PolymeshAssociation/polymesh-sdk/commit/fc731b89dbcf7855ed553ee2cbb1d35b93c2010b))
44
+ * ๐ŸŽธ update polkadot types to latest ([76b5a03](https://github.com/PolymeshAssociation/polymesh-sdk/commit/76b5a032136a910b4a3c391605acbc7f7a35200e))
18
45
  * ๐ŸŽธ Update polymesh types which rename AssetID to AssetId ([da1b716](https://github.com/PolymeshAssociation/polymesh-sdk/commit/da1b7164406b09742567bd3ee58f402f96186e4a))
46
+ * ๐ŸŽธ updated multiSig procedure + getPermissions ([01a9ec4](https://github.com/PolymeshAssociation/polymesh-sdk/commit/01a9ec429cb50b1b091664e26908cac2ce78f06c))
19
47
  * ๐ŸŽธ Use genesis hash to generate next Asset ID ([01f8fd6](https://github.com/PolymeshAssociation/polymesh-sdk/commit/01f8fd6f7d2092a416234045a1f94991ad805deb))
48
+ * ๐ŸŽธ use stats runtime API to get transfer restriction errs ([7ca46a3](https://github.com/PolymeshAssociation/polymesh-sdk/commit/7ca46a36359d0b22385f977bc90907259d927be8))
20
49
 
21
50
 
22
51
  ### BREAKING CHANGES
23
52
 
24
53
  * ๐Ÿงจ `venueId` is now optional in `HistoricInstruction`. This affects the
25
54
  methods `getHistoricInstructions` in Identity entity
55
+ * ๐Ÿงจ `ticker`, `did` has been deprecated in `BaseAsset`. To get the ticker
56
+ associated with an Asset, use `BaseAsset.details` method which now
57
+ returns `ticker` along with other Asset details
58
+ * ๐Ÿงจ - Since its not mandatory to specify a ticker while creating an Asset,
59
+ `ticker` field in `BaseAsset` is now optional. `did` field in `BaseAsset` is now also optional.
60
+ - Since an instruction can be created without specifying a venue, `venue` field in
61
+ `InstructionDetails` is now nullable.
62
+ - `TickerReservationDetails` optionally returns `assetId` when the status is
63
+ `TickerReservationStatus.AssetCreated`.
64
+ - `ticker` field in `CreateNftCollectionParams` is now optional. Also, a new optional
65
+ field `assetId` has been added to specify ID of the asset while creating NFT collection.
66
+ - `Ticker` value has been marked as deprecated in favour of new `Asset` value for
67
+ the enums: `ScopeType` and `ClaimScopeTypeEnum`
68
+ - `ticker` field has been deprecated in favour of `assetId` field in:
69
+ a. `HumanReadable` interfaces for these entities: `Checkpoint`, `CheckpointSchedule`,
70
+ `CorporateAction`, `DividendDistribution`, `CustomPermissionGroup`, `KnownPermissionGroup`,
71
+ `MetadataEntry`, `Offering`
72
+ b. `MetadataKeyId` interface
73
+ * ๐Ÿงจ `InstructionDetails.createdAt` is nullable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymeshassociation/polymesh-sdk",
3
- "version": "26.0.0-alpha.5",
3
+ "version": "26.0.0-beta.1",
4
4
  "description": "High-level API to interact with the Polymesh blockchain",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",