Skip to content

Commit

Permalink
Only run @ clientside #1
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind committed Nov 23, 2022
1 parent c8101d2 commit 10c4687
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import PKCE from "xumm-js-pkce";
// alert(args.map((a) => JSON.stringify(a, null, 2)).join(" "));
// };

console.log("Xumm OAuth2 PKCE Authorization Code Flow lib.");
if (typeof window !== "undefined") {
console.log("Xumm OAuth2 PKCE Authorization Code Flow lib.");
}

interface XummPkceOptions {
redirectUrl: string;
Expand Down

0 comments on commit 10c4687

Please sign in to comment.