Skip to content

Commit

Permalink
Merge pull request #694 from TokenScript/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
nicktaras authored May 25, 2023
2 parents fc11947 + 3b5260e commit 490eebe
Show file tree
Hide file tree
Showing 29 changed files with 7,497 additions and 2,698 deletions.
26 changes: 9 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,34 @@
> Description
This release focussed on bug fixes to Wallet Connections, enhancing error handling and bringing minor general improvements to the product.
This feature release adds support for Ethereum Attestation Service (EAS) off chain attestations.

### Upgrade Steps

* Update NPM package to version 2.6.0
* Update NPM package to version 2.7.0

### Breaking Changes

[none]

### New Features

[none]
* 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

* 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.
* Added attestation backwards compatability
* CSS alignment correction for Wallect Connect Version 2 icon

### 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.
[none]

**Full Change log**:

https://github.com/TokenScript/token-negotiator/compare/v2.5.0...v2.6.0
https://github.com/TokenScript/token-negotiator/compare/v2.6.0...v2.7.0
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const negotiator = new Client({
},
],
uiOptions: {
openingHeading: "Open a new world of discounts available with your tokens.",
openingHeading: "Open a new world of perks, benefits and opportunities with your attestation, collectible or token.",
issuerHeading: "Get discount with Ticket",
repeatAction: "try again",
theme: "light",
Expand Down Expand Up @@ -548,7 +548,7 @@ Configure the library using the following example.
],
uiOptions: {
openingHeading:
"Open a new world of discounts available with your tokens.",
"Open a new world of perks, benefits and opportunities with your attestation, collectible or token.",
issuerHeading: "Get discount with Ticket",
repeatAction: "try again",
theme: "light",
Expand Down Expand Up @@ -605,7 +605,7 @@ This table lists all possible configuration options for Token Negotiator client.
| **uiOptions** | An object defining UI specific options | N | UIOptionsInterface | |
| uiOptions.uiType | The type of UI that should be used for active negotiation type. | N | "popup" or "inline" | popup |
| uiOptions.containerElement | The query selector of the element that should contain the negotiator UI | N | string | .overlay-tn |
| uiOptions.openingHeading | Custom text to display on the start page | N | string | Validate your token ownership for access |
| uiOptions.openingHeading | Custom text to display on the start page | N | string | Open a new world of perks, benefits and opportunities with your attestation, collectible or token. |
| uiOptions.issuerHeading | Custom heading to display on the issuer list | N | string | Detected tokens |
| uiOptions.repeatAction | (Deprecated) Text for retry actions | N | string | |
| uiOptions.theme | The theme to use for the UI | N | "light" or "dark" | light |
Expand Down
2 changes: 2 additions & 0 deletions config/jest-setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Mock `window.location` with Jest spies and extend expect
import "jest-location-mock";
Loading

0 comments on commit 490eebe

Please sign in to comment.