- Fix bug that filtered out
snapshot.sourceAccountTagsandsnapshot.destinationAccountTagsin actions.
- Switch object validation libraries from
ajvtoyupto support browsers with a strict Content Security Policy.
- Add support for setting custom HTTP request headers at the client level.
- Added support for setting a custom API URL when run outside of a Node process.
- Added
updateTagstoAction. - Added support for dynamically addressing different API hosts for individual ledgers. Internal APIs only, works automatically.
- Added transaction tags. More info
- Deserialize numbers greater than 15 digits into
BigNumberobjects. This fixes a bug where numbers that large were losing precision. - Throw validation error for numbers larger than the max limit.
- Generate unique request IDs in the client for easier debugging support
- Restore the ability to set a custom HTTPS agent for specific network configuration.
- Enabled
keepAliveon the HTTP agent. - Added copy of Apache 2.0 license to source.
- Added
User-Agentheader when in a Node program, issequence-sdk-node/#{VERSION}.
- Omit deprecated attributes returned from the API from all response objects.
- Prevent submitting deprecated parameters in API requests.
- Removed assets, balances, contracts, and all other deprecated code.
- Added
Stats#ledgerType.
- Enable
keepAliveon the HTTP agent.
For full details on the 1.5 release and how to migrate your code, visit the Sequence changelog.
- Added
Feeds. More info - The
keysfield onAccountandFlavorhas been deprecated; the new field iskeyIds, containing key ID strings. - Transaction reference data has been deprecated; you can now use action tags instead.
- Added support for camel-case identifiers in filter queries. Identifiers in query strings are now consistent with identifiers in Node source code. Snake-case names in query strings are deprecated.
- Changed method
allto return a standard async iterator. The previous callback-based interface still works but is deprecated.
For full details on the 1.4 release and how to migrate your code, visit the Sequence changelog.
- Added
tagstoAction. - Added
actionTagsonTransactionbuilder's actions. - Added timestamp inequalities in filters.
referenceDataonTransactionbuilder's actions has been deprecated. You can now useactionTagsinstead.
For full details on the 1.3 release and how to migrate your code, visit the Sequence changelog.
- Added
Tokens. More info - Added
tokenTagsonTransactionbuilder'sissue/transferactions. - Added
filterandfilterParamsonTransactionbuilder'stransfer/retireactions. - Updated pagination interfaces:
.[list|sum]().page(size: size)to retrieve one page..[list|sum]().page(cursor: cursor)to retrieve another page..[list|sum]().allto iterate over all items.pageSizehas been deprecated; you can now use.page(size: size). - Querying balances has been deprecated; you can now use
tokens.sumto query balances in an account. - Querying contracts has been deprecated; you can now use
tokens.listto list tokens in an account.
For full details on the 1.2 release and how to migrate your code, visit the Sequence changelog.
Assethas been renamed toFlavor; all references to assets have been deprecated.- The
codefield on API errors has been deprecated; the new field isseqCode, containingSEQXXXerror codes. - The
sourceAccountTags,destinationAccountTags, andassetTagson action objects have been deprecated; All tags on actions are now available within a newAction.snapshotobject.
For full details on the 1.1 release and how to migrate your code, visit the Sequence changelog.
- Added support for setting a user-provided id on key and account objects.
- The
aliasfield on key and account objects has been deprecated. - The
ledgerfield when creating an API client has been deprecated; the new field is namedledgerName. - Added full support for listing and summing actions.
- New interface
ledger.actions.listandledger.actions.sumavailable. See https://dashboard.seq.com/docs/actions for more information. - Improve retry logic for network errors.
- Codebase converted to TypeScript. TypeScript types are exported and available
to SDK users who import the
sequencemodule. - Prettier linting applied to source code.
- Fixed a bug that affected refresh tokens and consequently all requests.
-
Added support for new access control permissions. When creating a client, you now provide
ledgerandcredentialoptions to connect to a specific ledger.Authentication with the previous style of access tokens has been removed.
See https://dashboard.seq.com/docs/5-minute-guide#instantiate-sdk-client for more information.
- Removed the
ttlproperty from theTransactionBuilderclass.