2.0.0-alpha.45 (2020-11-17)
Bug Fixes
- code smell (5af1390)
chore
- utils refactor (579b0cb)
BREAKING CHANGES
- Reorganize utils
Moved toutils/internal.ts
:
- batchArguments
- calculateNextKey
- createClaim
- delay
- findEventRecord
- getDid
- padString
- removePadding
- requestAtBlock
- requestPaginated
- serialize
- unserialize
- unwrapValue
- unwrapValues
Moved toutils/conversion.ts
: - accdountIdToString
- addressToKey
- assetComplianceResultToRequirementCompliance
- assetIdentifierToTokenIdentifier
- assetNameToString
- assetTypeToString
- authIdentifierToAuthTarget
- authorizationDataToAuthorization
- authorizationToAuthorizationData
- authorizationTypeToMeshAuthorizationType
- authTargetToAuthIdentifier
- balanceToBigNumber
- booleanToBool
- boolToBoolean
- bytesToString
- canTransferResultToTransferStatus
- cddIdToString
- cddStatusToBoolean
- claimToMeshClaim
- complianceRequirementToRequirement
- dateToMoment
- documentHashToString
- documentNameToString
- documentToTokenDocumentData
- documentUriToString
- endConditionToSettlementType
- extrinsicIdentifierToTxTag
- fundingRoundNameToString
- identityIdToString
- isCusipValid
- isIsinValid
- isLeiValid
- keyToAddress
- meshAuthorizationStatusToAuthorizationStatus
- meshClaimToClaim
- meshInstructionStatusToInstructionStatus
- meshPermissionToPermission
- meshScopeToScope
- meshVenueTypeToVenueType
- middlewareScopeToScope
- moduleAddressToString
- momentToDate
- numberToBalance
- numberToPipId
- numberToU32
- numberToU64
- permissionToMeshPermission
- portfolioIdToMeshPortfolioId
- portfolioLikeToPortfolioId
- posRatioToBigNumber
- requirementToComplianceRequirement
- scopeToMeshScope
- scopeToMiddlewareScope
- secondaryKeyToMeshSecondaryKey
- signatoryToSignerValue
- signerToSignerValue
- signerToString
- signerValueToSignatory
- signerValueToSigner
- stringToAccountId
- stringToAssetName
- stringToBytes
- stringToCddId
- stringToDocumentHash
- stringToDocumentName
- stringToDocumentUri
- stringToFundingRoundName
- stringToIdentityId
- stringToMemo
- stringToText
- stringToTicker
- stringToVenueDetails
- textToString
- tickerToDid
- tickerToString
- toIdentityWithClaimsArray
- tokenDocumentDataToDocument
- tokenIdentifierToAssetIdentifier
- tokenTypeToAssetType
- transactionHexToTxTag
- txTagToExtrinsicIdentifier
- txTagToProtocolOp
- u8ToTransferStatus
- u64ToBigNumber
- venueDetailsToString
- venueTypeToMeshVenueType