github PolymeshAssociation/polymesh-sdk v4.0.0-beta.2

latest releases: v27.0.0-alpha.5, v27.0.0-alpha.4, v27.0.0-alpha.3...
pre-release3 years ago

4.0.0-beta.2 (2021-02-17)

Bug Fixes

  • fix addresses in settlements query in the middleware (4d07768)
  • fix error when converting IU claims (ddb7a44)
  • fix settlements query for the middleware (4fd7a03)
  • if pia is null, then piarole is true (dd16a4b)
  • transaction history amount (75b6fa1)
  • transaction history portfolio amount (14a91b2)
  • update transfer error codes from Polymesh (10408bf)
  • permissions: order permissions alphabetically before setting them (f5a2ed1)

chore

  • config: revert scripts to original endpoint (bff4d2d)
  • add pagination support (60532ce)

Features

  • instructions: accept value date as a parameter in addInstruction (b98ffd8)
  • offerings: add offerings.get to the Security Token entity (9044ca9)
  • offerings: add offerings.launchSto method (728392b)
  • offerings: create Offering entity and Offerings namespace (01c6b9f)
  • update the ST identifiers (762e444)
  • permissions: expose txGroupToTxTags from utils (b2ee1a4)
  • add modifyTimes to the STO entity (4d591f6)
  • add pagination support (cb579e8)
  • add validation when revoking InvestorUniqueness claim (e88eedc)
  • freeze and unfreeze sto (e2f167a)
  • get all investors for a given offering (2af4527)
  • getTransactionHistory for portfolios (c4b6180)
  • hardcode permittted TxTags in txTagToProtocolOp (1d24846)
  • sto details and cancel sto procedure (d7b710d)
  • throw if document hash is empty (2fa4fb9)
  • validate CddId when adding a Cdd claim (4235f8f)
  • transfer restrictions: add logic to fetch transfer restrictions (471e97f)
  • validate if number is integer and positive (7aa8132)
  • permissions: return TxGroups (f9bb557)
  • permissions: suppot groups of tx tags under a single name (a4ba912)
  • restrictions: allow identities as exempted (6e84dff)
  • security token: implement securityToken.investorCount (40b3b7c)
  • transfer restrictions: allow setting restrictions and exemptions (3ad914c)
  • transfer restrictions: make exempted list optional (d84c403)
  • transfer restrictions: support adding transfer restrictions to ST (4b8e448)
  • transfers: add TM failure status code (179bc4b)
  • validate just the PIA can call issue and redeem token (3893226)
  • validate printable ASCII (55b44eb)

BREAKING CHANGES

  • permissions: - PermissionsLike.transactions no longer accepts TxGroup values, there is now a separate transactionGroups?: TxGroup[] property
  • Permissions.transactionGroups can no longer be null
  • restrictions: - rename exempted to exemptedScopeIds in CountTransferRestriction and PercentageTransferRestriction
  • rename exempted to exemptedScopeIds and add exemptedIdentities to the parameters of addRestriction and setRestrictions in both restriction namespaces
  • offerings: rename minimumInvestment to minInvestment and remove offeringAsset from
    StoDetails
  • sto.close now takes no parameters
    • getCustodiedPortfolios returns ResultSet<DefaultPortfolio | NumberedPortfolio> instead of (DefaultPortfolio | NumberedPortfolio)[]
  • getAffirmations returns ResultSet instead of InstructionAffirmation[]
  • getLegs returns ResultSet instead of Leg[]
  • config: validFrom changed to tradeDate in addInstruction parameters and the
    InstructionDetails interface

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.