@chromia/ft4
Advanced tools
Changelog
[0.3.1] - 2024-01-19
Amount
type is now exportedopIndex
was added to the TransferHistoryEntry
type which can be passed into getTransferDetails
and getTransferDetailsByAsset
Changelog
[0.2.0] - 2023-12-22
npm run test:e2e
for interactive mode and npm run test:e2e:headless
for headless mode.getClientVersion()
functionAuthenticatorSession
getBalancesByAccountId()
has been updated to be paginatedTransferHistoryTransferArgs
and corresponding fields in TransferHistoryEntry
TransferHistoryEntry
lastUpdate
field of the RateLimit
type from number
to Date
chainBrid
, it became chainRid
. This is a list of all the user-facing client-side changes:
Asset.brid
-> Asset.blockchainRid
AuthDataService.getBrid
-> AuthDataService.getBlockchainRid
Connection.getAccountsByParticipantId
-> Connection.getAccountsBySigner
Account.getAuthDescriptorsByParticipantId
-> Account.getAuthDescriptorsBySigner
getAccountsPaginated()
to get all accountsgetTransferDetails()
and getTransferDetailsByAsset()
in Connection
getTransferHistoryFromHeight
RateLimit
typeblockchainRid
to Account
interfaceChangelog
[0.1.9] - 2023-11-14
cryptoUtils
module into main library (imports needs to be updated).createAmountFromBalance
and createAssetObject
functions.Changelog
[0.1.8] - 2023-10-25
nop
operation to "init", "apply" and "complete" transactions to avoid tx rid conflictsKeyHandler
interface. authorize
function nonce: number
argument is replaced with context: TxContext
Changelog
[0.1.7] - 2023-10-19
TransactionBuilder
now has a function buildAndSend
which immediately submits the built transactionTransactionBuilder
now accepts an optional callback which will be invoked when the transaction is included in a block that has been anchored on the anchoring chainChangelog
[0.1.6] - 2023-09-29
Changelog
[0.1.5] - 2023-09-12
iconUrl
, not icon_url
authenticate()
function will now try to match operation name exactly when searching for auth handlers and throw an error if none is found. The old behaviour where scope path was traversed to the root can be aquired again by calling authenticate(strict = false)
Connection
interface is now exported and part of the public interface