github PolymeshAssociation/polymesh-sdk v19.0.0

latest releases: v25.1.1, v25.1.1-beta.1, v25.1.1-alpha.1...
19 months ago

19.0.0 (2023-02-08)

Bug Fixes

  • ๐Ÿ› allow 500ms for chain connections to drain (#918) (15be87e)
  • ๐Ÿ› allow non default signer to quit portfolios (#923) (bc4685d)
  • ๐Ÿ› Handle multi params query correclty (a05fa5a)
  • ๐Ÿ› Prevent adding instruction leg with same from & to DID (9da1ed2)
  • ๐Ÿ› set external signer on polkadot api instance (ee50af6)
  • ๐Ÿ› Update logic to get portfolio numbers from their names (0bfb226)
  • ๐Ÿ› update path for package.json "main" and "types" files (#930) (4c3f1e9)
  • ๐Ÿ› Use middleware V2 as well for emitting ProcessedByMiddleware event (c8517a1)

chore

  • ๐Ÿค– Mark Account.getSubsidy as deprecated (4588efe)

Features

  • ๐ŸŽธ Add AccountManagement.getSubsidy to get Subsidy obj (6b355a8)
  • ๐ŸŽธ Add Instruction.onStatusChange (f8dae63)
  • ๐ŸŽธ Add Metadata namespace and MetadataEntry entity (db6dfa1)
  • ๐ŸŽธ Add procedure to manually execute instruction (cb12ebc)
  • ๐ŸŽธ Add procedure to register new local asset metadata (52e4254)
  • ๐ŸŽธ Add procedure to set value + details for metadata entry (a023bd7)
  • ๐ŸŽธ add register did with cdd in Identities namespace (0ff4b24)
  • ๐ŸŽธ add result to successfully ran transactions (#859) (226c45d)
  • ๐ŸŽธ Add Subsidies namespace (b8fd0af)
  • ๐ŸŽธ Add support for manual settlement (075033d)
  • ๐ŸŽธ allow lifetime param for mortal procedure opts (#865) (d0c5068)
  • ๐ŸŽธ allow specifying transaction mortality (#862) (63db493)
  • ๐ŸŽธ DA-426 Export MetadataEntry from types (addcb99)
  • ๐ŸŽธ Deprecate middleware in favour of middleware v2 (0e41289)
  • ๐ŸŽธ Export middlewareV2 client (0b3d236)
  • ๐ŸŽธ Get global asset metadata (4eecc1c)
  • ๐ŸŽธ Remove deprecated code (318c531)
  • ๐ŸŽธ support chain node v5.1.3 (49930d6)
  • ๐ŸŽธ Support fetching historical instructions for a DID (8397dcb)
  • ๐ŸŽธ Support fetching historical instructions for a venue (5fe202f)
  • ๐ŸŽธ Update polkadot types with 5.2.0 chain (53ce458)
  • ๐ŸŽธ Update polkadot types with 5.2.0 chain (#922) (8ea7fbd)
  • ๐ŸŽธ Update supported spec version to 5.2.0 (0ef1eee)

BREAKING CHANGES

  • ๐Ÿงจ addInstruction procedure now throws an error if any leg contains same
    from & to DIDs
  • ๐Ÿงจ Account.getSubsidy is now deprecated in favour of
    Subsidies.getSubsidizer
  • ๐Ÿงจ Following methods now have been removed:
  • Account.hasPermissions in favour of AssetPermissions.checkPermissions
  • Asset.modifyPrimaryIssuanceAgent, CorporateActions.setAgent in
    favor of Permissions.inviteAgent
  • Asset.removePrimaryIssuanceAgent, CorporateActions.removeAgent in
    favour of Permissions.removeAgent
  • Settlements.canSettle, Requirements.canSettle in favour of Settlements.canTransfer
  • Identity.hasRoles in favour of Identity.checkRoles
  • Identity.getPendingInstructions in favour of Identity.getInstructions
  • Venue.getPendingInstructions in favour of Venue.getInstructions

๐Ÿงจ primaryIssuanceAgents has been removed from interface AssetDetails

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.