We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
globalThis.crypto
1 parent 821a577 commit 32d38a2Copy full SHA for 32d38a2
dashkeys.js
@@ -95,7 +95,7 @@ var DashKeys = ("object" === typeof module && exports) || {};
95
const TPUB = "043587cf";
96
97
/** @type {typeof window.crypto} */
98
- let Crypto = Window.crypto || require("node:crypto");
+ let Crypto = globalThis.crypto;
99
let Utils = {};
100
101
/** @type {Uint8ArrayToHex} */
0 commit comments