Skip to content

Releases: fioprotocol/fiosdk_typescript

Release Candidate - FIO Typescript SDK v1.6.0-rc1

21 Apr 14:46
0bc99a5
Compare
Choose a tag to compare

Summary

This release introduces several new endpoints and is compatible with:

Because this SDK release supports a new fio.escrow system contract it is not compatible with older FIO chain releases.

New Features

(#111) FIP-26 introduced new endpoints and actions to support the fio.escrow Domain Marketplace system contract.

Modified API Endpoints

(#116) Fix amountToSuf conversion bug.

(#117) Return transaction ID with transaction response. New parameters have been added to the transaction responses, including the transaction ID and the block number of the transaction. This enhancement was requested by integrators to facilitate access to the transaction information. The full set of parameters now includes: transaction_id: string, block_num: number, status: string, expiration: string, fee_collected: number

(#120) Change homepage for RNEosEcc (request from Trustee Wallet)

Release - FIO Typescript SDK v1.5.0

24 Jan 23:47
26bf10e
Compare
Choose a tag to compare

Summary

This release introduces several new endpoints and is compatible with:

Because this SDK release supports a new fio.staking system contract it is not compatible with older FIO chain releases.

New Features

(#108) FIP-21 introduced the stakefio and unstakefio new contract actions to support staking. These are now supported in the SDK with the stakeFioToken and unstakeFioTokens generic actions.

Modified API Endpoints

(#108) FIP-21

  • Updated get_fio_balance to include staked tokens.
  • get_locks has been modified to return SUFs for periods instead of percentages.

Release - FIO Typescript SDK v1.4.0

23 Nov 21:25
b34830d
Compare
Choose a tag to compare

Summary

This release is backward compatible with existing integrations. It introduces several new endpoints that were recently released in FIO protocol chain release 3.1, including the ability to sign an NFT.

New Features

(#96) (addnft, remnft, remallnfts, burnnfts) FIP-27 New contract actions to support NFT signatures.

(getNfts, GetNftsByContract, GetNftsByFioAddress, GetNftsByHash) New getters to retrieve NFT Signature data.

Modified API Endpoints

(burnaddress, xferaddress) FIP-27 Updated burnaddress and xferaddress actions to burn signed NFTs.

Release - FIO Typescript SDK v1.3.0

11 Aug 17:30
63c906c
Compare
Choose a tag to compare

Summary

This release is backward compatible with existing integrations. It introduces several new endpoints that were recently released in FIO protocol chain release 3.0, including the ability to transfer a FIO Address, burn a FIO Address, and add bundled transactions without renewing a FIO Address. Full details are in the release notes in the above link.

More information on the chain release can be found at: https://medium.com/fio-blog/fio-release-3-0-explained-434ee3171f11

If you will be upgrading to Typescript SDK v1.3.0, please run through full regressions to ensure everything is working as expected. The Dev Hub has a list of suggested manual tests:

https://developers.fioprotocol.io/docs/integration-guide/guide-certification

Enhancements and Updates

New API Endpoints

(#55) (transferFioAddress) FIP-1.b New contract action xferaddress provides ability to Transfer FIO Address to another account.

(#67) (transferLockedTokens) FIP-6 New contract action trnsloctoks provides the ability to transfer tokens to a new account and lock those tokens on a pre-defined schedule. If the target account does not exist, it will be created.

(#67) (getLocks) FIP-6 New API endpoint /get_locks returns the lock periods for an account.

(#55) (burnFioAddress) FIP-7 New contact action burnaddress removes a FIO Address from the fionames table and also removes all entries associated with the Address from other system tables.

(#62) (addBundledTransactions) FIP-11.a New contract action addbundles provides the ability to purchase multiple sets of bundled transactions in single action.

(#77) (getPublicAddresses) FIP-13 New API endpoint /get_pub_addresses returns all blockchain public addresses mapped to a provided FIO Address.

(#NN) (/get_received_fio_requests) FIP-19 New API endpoint /get_received_fio_requests adds the ability to retrieve all received FIO Requests, irrespective of status.

Modified API Endpoints

(getFioBalance, getPendingFioRequests, getSentFioRequests, getCancelledFioRequests) FIP-1. Modified to only return OBT records which include the provided FIO Public Key. (They currently return records which include all FIO Addresses owned by the provided key at the time of query This would cause new owner to see old requests, even though they could not decrypt the contents.)

(getObtData) FIP-6. Modified to include “available” paramater which returns the count of tokens which are not locked.

(addPublicAddress, getPublicAddress, removePublicAddresses) FIP-18 Updated API endpoints to support specifying "token_code = *" to enable mapping all tokens for a specific chain to a single public address.

(getFioNames) FIP-25. Modified to include the remaining bundled transaction count.

Example Code

(#66) Added example of how to instantiate the FIOSDK and validate a FIO public key.

Release - FIO Typescript SDK v1.2.1

27 Nov 16:51
2e89abd
Compare
Choose a tag to compare
Merge pull request #72 from fioprotocol/release/1.2.x

Release/1.2.x fix for tests

Release - FIO Typescript SDK v1.2.0

21 Oct 03:17
8b19979
Compare
Choose a tag to compare

Enhancements and Updates

(#26) FIP-1.a Add support for transferFioDomain.

(#35) FIP-2 Add paging support in getFioAddresses and getFioDomains.

(#32) FIP-3 Add support for cancelFundsRequest and getCancelledFioRequests.

(#21) (#18) FIP-4 Add support for removeAllPublicAddresses and removePublicAddresses.

(#51) Add ability to retrieve raw transaction so it can be resubmitted in case of initial transaction failure.

(#40) Add example code for retrieving FIO transactions.

Release - FIO Typescript SDK v1.1.0

13 Oct 22:51
2b0ab25
Compare
Choose a tag to compare

Enhancements and Updates

(#43) Access and send raw transactions. Enables the resending of transactions to the blockchain.