Files
memecoin-botV2/.pnpm-store/v10/files/e7/c543bfbd0809557c92064e5f84341b5cf03368fbcb38d8ad0d3834dbe9c69b8b8f3263949e6a4d3b84988a68041283899638d2aa5f646cb79f4d315b9c766f

10 lines
340 B
Plaintext

/**
* Internal webcrypto alias.
* We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.
* See utils.ts for details.
* @module
*/
declare const globalThis: Record<string, any> | undefined;
export const crypto: any =
typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;