Skip to content

Commit

Permalink
added a timer setting to multi-offchain token demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Taras authored and Nick Taras committed Sep 27, 2023
1 parent 0120970 commit 2c20f49
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions multi-off-chain-issuer-poc/src/index.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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!"
}
});

Expand Down

0 comments on commit 2c20f49

Please sign in to comment.