Skip to content

Commit

Permalink
Merge pull request #880 from TokenScript/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
nicktaras authored Oct 24, 2023
2 parents 11fd24a + 2b8df4d commit 3aa97d5
Show file tree
Hide file tree
Showing 39 changed files with 846 additions and 763 deletions.
27 changes: 17 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,37 @@
> Description
Minor release for off chain token attestations
Feature release including multi-hook support, improved UX for off chain token holders and general improvements.

### Upgrade Steps

- Update NPM package to version 3.1.1
- Update NPM package to version 3.2.0

### 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
- 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 availabilty 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). Multi token on chain authentication is not yet supported (via the current library features).

### Bug Fixes

[none]
- 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 Improvements
### Performance / Quality Improvements

[none]
- Reduced the duplication of variable definitions (moved to a common constants file).
- Increased unit test coverage

**Full Change log**:

https://github.com/TokenScript/token-negotiator/compare/v3.1.0....v3.1.1
https://github.com/TokenScript/token-negotiator/compare/v3.1.1....v3.2.0
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# `token-negotiator`

The Token Negotiator provides the client gateway to connect user digital tokens from on or off chain sources, enabling developers to create bespoke tokenised web experiences.
Token Negotiator is an open source technology that enables you build web experiences for users around the tokens, collectibles, coins and attestations they hold. Enabled across EVM, Solana, Flow, Chiliz and EOS (Ultra). Create logic flows to enable personalized web experiences.

## Usage

Expand Down Expand Up @@ -29,8 +29,8 @@ const negotiator = new Client({
​​
negotiator.negotiate();
​ ​
negotiator.on("tokens-selected", (tokens) => {
console.log('owner tokens found: ', tokens);
negotiator.on("tokens-selected", ({ selectedTokens, selectedIssuerKeys }) => {
console.log('user selected tokens: ', selectedTokens);
});
```
Expand Down
368 changes: 197 additions & 171 deletions index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 3aa97d5

Please sign in to comment.