Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chromia/ft4

Package Overview
Dependencies
Maintainers
8
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chromia/ft4 - npm Package Versions

13

0.3.1

Diff

Changelog

Source

[0.3.1] - 2024-01-19

Changed

  • Amount type is now exported
  • A new field opIndex was added to the TransferHistoryEntry type which can be passed into getTransferDetails and getTransferDetailsByAsset
joso-cw
published 0.3.0 •

Changelog

Source

[0.3.0] - 2024-01-17

Changed

  • Fixed Rollup bundling issues
joso-cw
published 0.2.0 •

Changelog

Source

[0.2.0] - 2023-12-22

Added

  • Implemented an End-to-End (E2E) testing environment using Cypress.
  • Cypress tests can be run using npm run test:e2e for interactive mode and npm run test:e2e:headless for headless mode.

Breaking

  • Removed getClientVersion() function
  • Removed AuthenticatorSession
  • The API for creating auth descriptor rules has been updated
  • The API for getBalancesByAccountId() has been updated to be paginated
  • Removed type TransferHistoryTransferArgs and corresponding fields in TransferHistoryEntry
  • Removed entryIndex from TransferHistoryEntry
  • Change the type of lastUpdate field of the RateLimit type from number to Date
  • brid -> blockchainRid All instances of brid were changed to spell out blockchainRid, to avoid confusion over the meaning of the acronym. Where the name already said chainBrid, it became chainRid. This is a list of all the user-facing client-side changes:
    • Asset.brid -> Asset.blockchainRid
    • AuthDataService.getBrid -> AuthDataService.getBlockchainRid
  • Participants, pubkeys, signers All instances of these words, when related to auth descriptors, were now renamed to signers. This is a list of all the client-side changes:
    • Connection.getAccountsByParticipantId -> Connection.getAccountsBySigner
    • Account.getAuthDescriptorsByParticipantId -> Account.getAuthDescriptorsBySigner

Changed

  • Upgrade postchain-client to 1.9.0
  • Added a function getAccountsPaginated() to get all accounts
  • Added methods getTransferDetails() and getTransferDetailsByAsset() in Connection
  • Added function getTransferHistoryFromHeight
  • Exported RateLimit type
  • Added blockchainRid to Account interface
joso-cw
published 0.1.9 •

Changelog

Source

[0.1.9] - 2023-11-14

Changed

  • Use Rollup for packaging, produce output for ECMAScript, Common.JS and UMD.
  • Move cryptoUtils module into main library (imports needs to be updated).
  • Export createAmountFromBalance and createAssetObject functions.
joso-cw
published 0.1.8 •

Changelog

Source

[0.1.8] - 2023-10-25

Changed

  • Updated cross-chain transfer orchestrator to add nop operation to "init", "apply" and "complete" transactions to avoid tx rid conflicts
  • Updated KeyHandler interface. authorize function nonce: number argument is replaced with context: TxContext
joso-cw
published 0.1.7 •

Changelog

Source

[0.1.7] - 2023-10-19

Added

  • Added createOrchestrator for crosschain transfers
  • Refactored type exports to allow easier importing from entry index file.
  • assetOriginById: query that retrieves the "asset origin", which is the only chain the asset can be received from
  • findPathToChainForAsset: traverses the tree structure of the linked chains to find the path to a certain asset.
  • TransactionBuilder now has a function buildAndSend which immediately submits the built transaction
  • Functions that add operations to TransactionBuilder now accepts an optional callback which will be invoked when the transaction is included in a block that has been anchored on the anchoring chain
joso-cw
published 0.1.6 •

Changelog

Source

[0.1.6] - 2023-09-29

Fixed

  • addAuthDescriptor and deleteAuthDescriptor were hard to use, as you couldn't easily use the new keypair you just added in subsequent operations. They now return the receipt and a new session to use for future operations if you want to also use the current auth descriptor.
  • exported some types regarding assets that weren't available for end users

Changed

  • All operations now return an TransactionCompletion, which holds the receipt and (optionally) additional data
joso-cw
published 0.1.5 •

Changelog

Source

[0.1.5] - 2023-09-12

Added

  • createGenericEvmKeyStore: it receives an address and a sign function, to allow for custom implementations with any web3 library. Metamask is still supported through ethers for ease of setup.
  • fixed examples
  • Custom Event Emitter for handling various events like Metamask address change, crosschain transfer notifications.
  • Auth messages now includes rid of the blockchain to which the tx is being submitted.

Changed

  • Transfer history's asset properties are now of the Asset type
  • Auth messages now include rid of the blockchain to which the tx is being submitted.

Fixed

  • Asset queries now return Asset type with iconUrl, not icon_url
  • Balance queries now return frozen objects
  • Exports of admin functions.
  • 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
joso-cw
published 0.1.4 •

Changelog

Source

[0.1.4] - 2023-07-21

Changed

  • README
joso-cw
published 0.1.3 •

Changelog

Source

[0.1.3] - 2023-07-13

Added

  • License file.

Changed

  • License.
  • Updated changelog.
  • Demo app updated to install v0.1.0 version of FT4 rell module.

Fixed

  • Added missing exports.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc