github PolymeshAssociation/polymesh-sdk v15.0.0-alpha.1

latest releases: v26.2.0, v26.2.0-beta.1, v26.2.0-alpha.5...
pre-release2 years ago

15.0.0-alpha.1 (2022-05-31)

Bug Fixes

  • ๐Ÿ› disregard pallets without calls (af684ae)

  • ๐Ÿ› Fix asset.settlement.canTransfer method (6f32e4d)

  • ๐Ÿ› Remove polymeshApi Proxy in Context (fdd14a8)

  • ๐Ÿ› Undo postProcess augment-rpc (c758e08)

  • ๐Ÿ› use proper type for document URIs (615782a)

  • Da 179/upgrade 5.0.0 (#742) (2450467), closes #742

Features

  • ๐ŸŽธ (WIP) Add support for 5.0.0 rc-1 (7a4e503)
  • ๐ŸŽธ (WIP) Add support for 5.0.0 rc-1 (a7d7a8b)
  • ๐ŸŽธ Add guard to Asset.investorCount if stat is not enabled (3cfcc58)
  • ๐ŸŽธ Bump supported version range to 5.0.x (44ec9f5)
  • ๐ŸŽธ expose transaction index within block (e6c6983)
  • ๐ŸŽธ log a warning for minor and patch version mismatch (30dd691)
  • ๐ŸŽธ Refactor code to use new trasnfer restrictions api (37b146a)
  • ๐ŸŽธ Support 5.0.0-rc-1 (33b77e4)
  • ๐ŸŽธ Support callback for getSecondaryAccounts (1a9c6fe)
  • ๐ŸŽธ throw an error when fetching an asset identity (8949e13)
  • ๐ŸŽธ Update granular permissions results for new types (fe2b072)
  • ๐ŸŽธ Upgrade polkadot SDK along with 5.0.0 chain types (2e9ee2c)
  • ๐ŸŽธ Use batching fully for add restriction (5bd29d5)
  • ๐ŸŽธ Use names prefixed with PolymeshPrimitives and Pallet (7874b57)
  • ๐ŸŽธ Use proper batching for setTransferRestriction (f895ec8)
  • ๐ŸŽธ validate chain spec version when connecting (af76f93)
  • ๐ŸŽธ WIP Update transfer restrictions to create stats (32d7d94)

BREAKING CHANGES

  • ๐Ÿงจ Asset.investorCount throws if stat is not enabled

  • fix: ๐Ÿ› Remove polymeshApi Proxy in Context

polkadot.js began using a private accesor (e.g. #registry) internally.
This causes an error to be thrown when called by a proxied instance.
Context Proxy was used to guard against having no signer which is taken
care of by the singning manager, so this shouldn't cause any behavior to
change

  • feat: ๐ŸŽธ Bump supported version range to 5.0.x

  • chore: ๐Ÿค– use stored metadata to generate country code enum

  • chore: ๐Ÿค– remove country code generation from definitions script

  • feat: ๐ŸŽธ expose transaction index within block

Also fix compilation errors that arise in sandbox

  • fix: ๐Ÿ› disregard pallets without calls

  • fix: ๐Ÿ› use proper type for document URIs

Also fixed documentHash conversion util tests

  • feat: ๐ŸŽธ validate chain spec version when connecting

  • ๐Ÿงจ throw an error instead of a warning when the chain versions aren't
    within the expected ranges

  • refactor: ๐Ÿ’ก Eliminate RPC specific conversion functions

Modify the schema object to make its types compatible with the rest of
the api. This elminates snake case conversion functions to DRY the code
base

Update types to use PolymeshPrimitivesIdentityId instead of IdentityId

  • feat: ๐ŸŽธ log a warning for minor and patch version mismatch

Co-authored-by: Jeremias Diaz monitz87@gmail.com
Co-authored-by: Victor Vicente VictorVicente@users.noreply.github.com

  • ๐Ÿงจ throw an error instead of a warning when the chain versions aren't
    within the expected ranges
  • ๐Ÿงจ Asset.investorCount throws if stat is not enabled

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.