github PolymeshAssociation/polymesh-sdk v23.0.0-beta.1

latest releases: v26.2.0-alpha.5, v26.2.0-alpha.4, v26.2.0-alpha.3...
pre-release12 months ago

23.0.0-beta.1 (2023-11-17)

Bug Fixes

  • πŸ› Correct the multisig proposal votes query (61fb3e2)
  • πŸ› getAssets where ticker was not being padded for query (cc68736)
  • πŸ› Use multisig.proposals to fetch proposals (d9f5049)
  • πŸ› use proper conversion for assets.get (1d61d6c)

Code Refactoring

  • πŸ’‘ rename Asset to FungibleAsset (613d82e)

Features

  • 🎸 Add getAsset method to Assets namespace (c8ef903)
  • 🎸 add getImageUri and getTokenUri method for NFT (1074a38)
  • 🎸 add Identity.getHeldNfts method (394a293)
  • 🎸 add issue to NftCollection to create NFTs (88d0d03)
  • 🎸 add voted keys to MS proposal details (4102d3a)
  • 🎸 add check to ensure NFT movement has correct args (cdde180)
  • 🎸 Add method to check if an identity is a child identity (7430eb0)
  • 🎸 Add method to get votes for a MultiSig proposal (6e96321)
  • 🎸 Add methods to MultiSigProposal to query middleware (f7b55fa)
  • 🎸 add NFT redeem (217eb00)
  • 🎸 add NFT support for settlements (b70ac30)
  • 🎸 add NFT sxupport for portfolios (5dc64aa)
  • 🎸 add NftCollection entity + create procedure (101464c)
  • 🎸 add NonFungible details method (1ba6378)
  • 🎸 Add procedure to approve/reject a MultiSig proposal (8e19acc)
  • 🎸 add type names to proposal args (1388cb1)
  • 🎸 Adds new ChildIdentity entity and other related functions (eb08090)
  • 🎸 Change implementation of getCddClaims to use RPC (5768bed)
  • 🎸 expand collection metadata spec and name (02418b6)
  • 🎸 Export ChildIdentity entity class from types (66dfd3f)
  • 🎸 export Nft as an importable type for consumers (f63ed8c)
  • 🎸 fix getIssued claims error on CustomClaim (d6d1d7c)
  • 🎸 get CustomClaimType by id or name (fd23316)
  • 🎸 provide Fungible and NftCollection typeguards (34b8e03)
  • 🎸 register custom claim type (82df14b)
  • 🎸 registerCustomClaimType (51c7795)
  • 🎸 remove 5.4 support (2998e1e)
  • 🎸 select portfolio on asset issuance (b23dd10)
  • 🎸 update to latest type defs (8019cfa)
  • 🎸 warn if using SQ < 10.0.0 (99faadf)
  • 🎸Add blockDate to getTransactionByHash (f20f76b)
  • customclaims (182aab8)
  • update batch transaction (122e653)

Performance Improvements

  • ⚑️only read required metadata key ids (e7e1a4a)

BREAKING CHANGES

  • 🧨 MultiSigProposal.details() now returns JSON instead of string[]

βœ… Closes: DA-906

  • 🧨 Instruction.getLeg return type now distinguishes between Fungible and
    NonFungible legs

βœ… Closes: DA-880

  • 🧨Asset entity was renamed to FungibleAsset.
  • 🧨 Asset namespace get and getAssets now returns FungibleAsset | NftCollection.
  • 🧨 BaseAsset procedures no longer return a value
    Affected methods include: documents.set, trustedClaimIssuers.{set, add, remove} , requirements.{set, add, remove, reset, pause, unpause}. To get the newly set values the appropriate get function should
    be called instead (e.g. await setDocsTx.run(); const newDocs = documents.get())

βœ… Closes: DA-881

  • 🧨 InstructionStatus.Executed is now Success or Rejected.
    CheckpointSchedules need explicit dates

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.