Skip to content

Releases: SmartTokenLabs/token-negotiator

Version 3.2.0

24 Oct 03:18
3aa97d5
Compare
Choose a tag to compare

Description

Feature release including multi-hook support, improved UX for off chain token holders and general improvements.

Upgrade Steps

  • Update NPM package to version 3.2.0

Breaking Changes

[none]

New Features

  • Extended the configuration options for 'active' mode ui text
  • Off Chain Token Issuer UX improvements to notify the end user when the page will re-direct
  • Re-direct view state UX improvements for 'active' mode
  • Re-direct accept / deny options given to end user (to cancel the loading of tokens)
  • Multi-Hook support added
  • Added selected token issuer keys to 'tokens-selected' event hook
  • Explicitly include ethers library availability via Token Negotiator library interface client.externalUtils.evm.ethers
  • Aligned on chain authentication with off chain user interface (for single token authentication on the client side).

Bug Fixes

  • TS interface custom view
  • Single token off chain authentication incompatibility interface fix
  • EAS authentication fixed via attestation.id updated dependency @tokenscript/attestation to version "0.7.0-rc.2"

Performance / Quality Improvements

  • Reduced the duplication of variable definitions (moved to a common constants file).
  • Increased unit test coverage

Full Change log:

v3.1.1....v3.2.0

Version 3.1.1

22 Sep 03:26
11fd24a
Compare
Choose a tag to compare

Description

Minor release for off chain token attestations

Upgrade Steps

  • Update NPM package to version 3.1.1

Breaking Changes

[none]

New Features

  • Upgrade attestation lib to support validation of new EAS off-chain attestation version
  • Prevent delete of signedToken property on token object
  • Change single token auth to use tokenId instead of sending the entire token object in URL
  • Add labels to default ticket schema

Bug Fixes

[none]

Performance Improvements

[none]

Full Change log:

v3.1.0....v3.1.1

Version 3.1.0

21 Sep 01:51
3566202
Compare
Choose a tag to compare

Description

Feature release to support Socios OAuth2 Wallet Provider, additional configuration options and improvments.

Upgrade Steps

  • Update NPM package to version 3.1.0

Breaking Changes

[none]

New Features

  • Added new configuration text to active mode ui options
  • Off chain Token user flows now default to re-direct mode, due to all major browsers by default denying to cross origin local storage access via Iframes.
  • Added Socios OAuth2 Wallet Provider support via compatbility with a new NPM package (https://www.npmjs.com/package/@tokenscript/token-negotiator-server)

Bug Fixes

  • Fix to ensure the validity of attestations when expired
  • Show retry for on chain tokens when they fail to resolve the first time
  • Off Chain Attestation Toggle button UX fix (for custom EAS tokens)

Performance Improvements

[none]

Full Change log:

v3.0.2...v3.1.0

Version 3.0.2

08 Sep 00:09
d182321
Compare
Choose a tag to compare

Description

Patch release to support the upgrade of attestations.

Upgrade Steps

  • Update NPM package to version 3.0.2

Breaking Changes

[none]

New Features

[none]

Bug Fixes

  • attestationWindowConfig check to the existence of window before usage (issue found applicable to full stack web applications)
  • updated list of attestation schema id's to be ignored for off chain attestation managment (ensuring readability of valid attestations)

Performance Improvements

[none]

Full Change log:

v3.0.1...v3.0.2

Version 3.0.1

29 Aug 05:00
e2d91d4
Compare
Choose a tag to compare

Description

Patch release to support the upgrade of attestations.

Upgrade Steps

  • Update NPM package to version 3.0.1

Breaking Changes

[none]

New Features

  • Ability to delete existing attestations

Bug Fixes

  • Added support for upgrading attestations for live projects (method added via TicketStorage deleteTicketByDecodedTokenOrId)

Performance Improvements

[none]

Full Change log:

v3.0.0...v3.0.1

Version 3.0.0

18 Aug 03:24
29cae27
Compare
Choose a tag to compare

Description

This major version of the Token Negotiator provides simplification to the library interface, and new core features including multi-attestation support.

Upgrade Steps

Please refer to the migration from 2x to 3x guide. https://tokenscript.gitbook.io/token-negotiator/migrating-from-version-2x-to-3x

Breaking Changes

  • Passive Negotiation 'tokens' hook
  • Off chain Attestation schema changes (ASN / EAS)

New Features

  • Support for multi batch EAS & ASN attestation readability and authentication
  • Dynamic EAS attestation support
  • AlphaWallet provider selection in active UI mode
  • Ultra Network support (BETA)
  • Removal of Wallet Connect V1
  • Migrated this libraries documentation from README to gitbooks https://tokenscript.gitbook.io/token-negotiator/
  • Added attestation migration support utility function 'migrateLegacyTokenStorage' see git books 2x to 3x guide

Bug Fixes

  • MetaMask support via Wallet Connect V2
  • attestation.id modal dimensions updated for mobile and via Windows browsers

Performance Improvements

  • Simplified off chain storage of issuer data

Full Change log:

v2.7.1...v3.0.0

Version 2.7.1

09 Jun 03:29
bd516be
Compare
Choose a tag to compare

Description

This patch release addresses an off chain token management scenario.

Upgrade Steps

  • Update NPM package to version 2.7.1

Breaking Changes

[none]

New Features

[none]

Bug Fixes

  • When off chain tokens are added to the application a fix has been added to stop the 'tokensupdated' event hook from triggering when these tokens already existed.
  • Addition of this hook to the README documentation.

Performance Improvements

[none]

Other Changes

[none]

Full Change log:

v2.7.0...v2.7.1

Version 2.7.0

25 May 05:38
490eebe
Compare
Choose a tag to compare

Description

This feature release adds support for Ethereum Attestation Service (EAS) off chain attestations.

Upgrade Steps

  • Update NPM package to version 2.7.0

Breaking Changes

[none]

New Features

  • EAS off chain attestation support
  • Opening Start Screen default copy change
  • User controlled off chain signed token support / enhanced user control of token

Bug Fixes

  • Added attestation backwards compatibility
  • CSS alignment correction for Wallet Connect Version 2 icon

Performance Improvements

[none]

Other Changes

[none]

Full Change log:

v2.6.0...v2.7.0

Version 2.6.0

18 May 07:36
fc11947
Compare
Choose a tag to compare

Description

This release focused on bug fixes to Wallet Connections, enhancing error handling and bringing minor general improvements to the product.

Upgrade Steps

  • Update NPM package to version 2.6.0

Breaking Changes

[none]

New Features

[none]

Bug Fixes

  • Wallet Connect V1 UX improvements
  • Enable disconnection of Phantom Wallet (through new API capabilities)
  • Off Chain Token error handling enhancements
  • General CSS updates (best practices and aesthetic improvements)
  • All Sonar Cloud vulnerabilities addressed
  • Fix to re-enable the change of accounts hook for EVM wallets (re-aligned to third party libraries)
  • Removed from Readme our support for Cronos testnet and Avalanche testnet
  • Removal of deprecated comments and code from source
  • Enable IM Token with off chain flow
  • Solana Token Discovery faced some issues through this release cycle, now fixed
  • Addition of Icon Graphic for IM Token
  • Solana event hooks were not working expectedly, now fixed.

Performance Improvements

[none]

Other Changes

  • Support for Cronos testnet and Avalanche testnet is no longer available. If using these networks, please consider using another EVM test net or migrating to a mainnet.

Full Change log:

v2.5.0...v2.6.0

Version 2.5.0

14 Apr 10:57
b5dceae
Compare
Choose a tag to compare

Description

Feature release with fixes, added support through Wallet Connect V2, and use of signatures via Solana and Flow.

Upgrade Steps

  • Update NPM package to version 2.5.0

Breaking Changes

[none]

New Features

  • Tokens loaded event hook added
  • Wallet Connect V2 IM token wallet support
  • Added sign/verify for flow and solana

Bug Fixes

  • Sonar Cloud code quality updates
  • Namespace prefix for off chain communication
  • ES LINT update
  • Ability to extend library classes
  • Support for es5 browsers
  • Disabled support of iOS Edge with Torus

Performance Improvements

[none]

Other Changes

[none]

Full Change log:

v2.4.3...v2.5.0