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

latest releases: v24.7.0-alpha.2, v24.7.0-alpha.1, v24.6.0...
pre-release2 years ago

12.0.0-alpha.1 (2021-11-23)

Bug Fixes

  • 🐛 code smell (550967d)
  • 🐛 modify regex that was only considering abstract (df6d306)
  • 🐛 stop requiring transaction perms when joining identity (d5e309d)

chore

  • move currentIdentity methods to root (c2e639d)
  • remove order parameter from identity.getTrustingTokens (7c9e62f)
  • rename details to description in CreateVenueParams (d630f61)

Features

  • 🎸 [WIP] move currentidentity methods to root (7d78ea1)
  • 🎸 allow exported TransactionQueue type to have generics (3c6248f)
  • 🎸 allow void procedure methods to be called with opts (9fd4371)
  • 🎸 export typeguards for every Entity (8e07207)
  • 🎸 make requireInvestorUniqueness non-optional (3aa3464)
  • 🎸 Refactor setComplianceRequirements to use a single call (a253643)
  • 🎸 standardize error codes (596661a)
  • allow setting a CA's checkpoint to null (845ebc2)
  • improve procedure authorization data (135f3c9)
  • standardize block data in input and output (67fa54f)
  • use Entities as properties of other Entities (8298005)

Performance Improvements

  • ⚡️ avoid hash queries where not necessary (f914312)

BREAKING CHANGES

  • 🧨 make CreateSecurityTokenParams.requireInvestorUniqueness non optional.
    This affects TickerReservation.createToken
  • modify the following interfaces, adding a blockHash: string property:
    ExtrinsicData, DistributionPayment, EventIdentifier, HistoricSettlement
  • change the ProcedureAuthorizationStatus type. The permissions/roles related
    properties will be changed from boolean to CheckPermissionsResult and CheckRolesResult.
    This affects the return type of checkAuthorization in ProcedureMethod
    • replace ticker: string with token: SecurityToken in: Checkpoint, CheckpointSchedule,
      CorporateAction, DividendDistribution, Sto, CustomPermissionGroup,
      KnownPermissionGroup, DefaultTrustedClaimIssuer
  • change the return type of CustomPermissionGroup.toJson. id: BigNumber is now id: string
    • move reserveTicker from root to currentIdentity namespace
  • move removeSecondaryKeys from Identity class to currentIdentity
  • move revokePermissions from Identity class to currentIdentity
  • move modifyPermissions from Identity class to currentIdentity
  • move inviteAccount from Identity class to currentIdentity
  • move createVenue from Identity class to currentIdentity
  • move freezeSecondaryKeys from Identity class to currentIdentity
  • move unfreezeSecondaryKeys from Identity class to currentIdentity
  • change the type of ModifyCheckpointParams.checkpoint to
    Checkpoint | CheckpointSchedule | Date | null
  • 🧨 move isEntity and isPolymeshError from /types to /utils
  • 🧨 remove required undefined as first argument of procedures when passing
    options
  • 🧨 change the code property of most errors thrown by the SDK to better
    reflect their meaning. Also changed a few error messages
    • remove order parameter in getTrustingTokens method.
    • rename details to description in CreateVenueParams interface.

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.