From 2c20f49c3c33ec8c5bd3a97db040baae269314fe Mon Sep 17 00:00:00 2001 From: Nick Taras Date: Wed, 27 Sep 2023 12:04:13 +1000 Subject: [PATCH] added a timer setting to multi-offchain token demo --- multi-off-chain-issuer-poc/src/index.ts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/multi-off-chain-issuer-poc/src/index.ts b/multi-off-chain-issuer-poc/src/index.ts index b0f6366c7..c78dcc9fa 100644 --- a/multi-off-chain-issuer-poc/src/index.ts +++ b/multi-off-chain-issuer-poc/src/index.ts @@ -1,9 +1,9 @@ // @ts-nocheck -import {Client} from "@tokenscript/token-negotiator"; +import { Client } from "@tokenscript/token-negotiator"; import configs from "../../multiTokenConfig.json"; -import {updateTokenConfig} from "../../environment"; -import {GitCoin, SmartLayer, SmartLayerPass} from "./multi-event-configs"; +import { updateTokenConfig } from "../../environment"; +import { GitCoin, SmartLayer, SmartLayerPass } from "./multi-event-configs"; import "@tokenscript/token-negotiator/dist/theme/style.css"; declare global { interface Window { @@ -25,9 +25,16 @@ window.negotiator = new Client({ 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: "dark", - position: "bottom-right" + position: "bottom-right", + userCancelIssuerAutoRedirectTimer: 2500, + repeatAction: "Retry", + dismissAction: 'Dismiss', + loadAction: 'Load Collection', + noTokensFoundEvent: 'No Tokens Found', + balancesFoundEvent: 'Balance Found', + nftsFoundEvent: 'Token(s) Found', + openingAction: "Let's Go!" } });