Skip to content

Commit 490eebe

Browse files
authored
Merge pull request #694 from TokenScript/staging
Staging
2 parents fc11947 + 3b5260e commit 490eebe

29 files changed

+7497
-2698
lines changed

CHANGELOG.md

+9-17
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,34 @@
11
> Description
22
3-
This release focussed on bug fixes to Wallet Connections, enhancing error handling and bringing minor general improvements to the product.
3+
This feature release adds support for Ethereum Attestation Service (EAS) off chain attestations.
44

55
### Upgrade Steps
66

7-
* Update NPM package to version 2.6.0
7+
* Update NPM package to version 2.7.0
88

99
### Breaking Changes
1010

1111
[none]
1212

1313
### New Features
1414

15-
[none]
15+
* EAS off chain attestation support
16+
* Opening Start Screen default copy change
17+
* User controlled off chain signed token support / enhanced user control of token
1618

1719
### Bug Fixes
1820

19-
* Wallet Connect V1 UX improvements
20-
* Enable disconnection of Phantom Wallet (through new API capabilities)
21-
* Off Chain Token error handling enhancements
22-
* General CSS updates (best practices and aesthetic improvements)
23-
* All Sonar Cloud vulnerabilities addressed
24-
* Fix to re-enable the change of accounts hook for EVM wallets (re-aligned to third party libraries)
25-
* Removed from Readme our support for Cronos testnet and Avalanche testnet
26-
* Removal of deprecated comments and code from source
27-
* Enable IM Token with off chain flow
28-
* Solana Token Discovery faced some issues through this release cycle, now fixed
29-
* Addition of Icon Graphic for IM Token
30-
* Solana event hooks were not working expectedly, now fixed.
21+
* Added attestation backwards compatability
22+
* CSS alignment correction for Wallect Connect Version 2 icon
3123

3224
### Performance Improvements
3325

3426
[none]
3527

3628
### Other Changes
3729

38-
* 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.
30+
[none]
3931

4032
**Full Change log**:
4133

42-
https://github.com/TokenScript/token-negotiator/compare/v2.5.0...v2.6.0
34+
https://github.com/TokenScript/token-negotiator/compare/v2.6.0...v2.7.0

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const negotiator = new Client({
222222
},
223223
],
224224
uiOptions: {
225-
openingHeading: "Open a new world of discounts available with your tokens.",
225+
openingHeading: "Open a new world of perks, benefits and opportunities with your attestation, collectible or token.",
226226
issuerHeading: "Get discount with Ticket",
227227
repeatAction: "try again",
228228
theme: "light",
@@ -548,7 +548,7 @@ Configure the library using the following example.
548548
],
549549
uiOptions: {
550550
openingHeading:
551-
"Open a new world of discounts available with your tokens.",
551+
"Open a new world of perks, benefits and opportunities with your attestation, collectible or token.",
552552
issuerHeading: "Get discount with Ticket",
553553
repeatAction: "try again",
554554
theme: "light",
@@ -605,7 +605,7 @@ This table lists all possible configuration options for Token Negotiator client.
605605
| **uiOptions** | An object defining UI specific options | N | UIOptionsInterface | |
606606
| uiOptions.uiType | The type of UI that should be used for active negotiation type. | N | "popup" or "inline" | popup |
607607
| uiOptions.containerElement | The query selector of the element that should contain the negotiator UI | N | string | .overlay-tn |
608-
| uiOptions.openingHeading | Custom text to display on the start page | N | string | Validate your token ownership for access |
608+
| 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. |
609609
| uiOptions.issuerHeading | Custom heading to display on the issuer list | N | string | Detected tokens |
610610
| uiOptions.repeatAction | (Deprecated) Text for retry actions | N | string | |
611611
| uiOptions.theme | The theme to use for the UI | N | "light" or "dark" | light |

config/jest-setup.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Mock `window.location` with Jest spies and extend expect
2+
import "jest-location-mock";

0 commit comments

Comments
 (0)