UNPKG

@shopify/shopify-api

Version:

Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks

14 lines (12 loc) 283 B
function nonce() { const length = 15; const bytes = crypto.getRandomValues(new Uint8Array(length)); const nonce = bytes .map((byte) => { return byte % 10; }) .join(''); return nonce; } export { nonce }; //# sourceMappingURL=nonce.mjs.map