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 affectsTickerReservation.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 fromboolean
toCheckPermissionsResult
andCheckRolesResult
.
This affects the return type ofcheckAuthorization
inProcedureMethod
-
- replace
ticker: string
withtoken: SecurityToken
in:Checkpoint
,CheckpointSchedule
,
CorporateAction
,DividendDistribution
,Sto
,CustomPermissionGroup
,
KnownPermissionGroup
,DefaultTrustedClaimIssuer
- replace
- change the return type of
CustomPermissionGroup.toJson
.id: BigNumber
is nowid: string
-
- move
reserveTicker
from root tocurrentIdentity
namespace
- move
- move
removeSecondaryKeys
fromIdentity
class tocurrentIdentity
- move
revokePermissions
fromIdentity
class tocurrentIdentity
- move
modifyPermissions
fromIdentity
class tocurrentIdentity
- move
inviteAccount
fromIdentity
class tocurrentIdentity
- move
createVenue
fromIdentity
class tocurrentIdentity
- move
freezeSecondaryKeys
fromIdentity
class tocurrentIdentity
- move
unfreezeSecondaryKeys
fromIdentity
class tocurrentIdentity
- change the type of
ModifyCheckpointParams.checkpoint
to
Checkpoint | CheckpointSchedule | Date | null
- 🧨 move
isEntity
andisPolymeshError
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.
- remove
-
- rename
details
todescription
in CreateVenueParams interface.
- rename