@shopify/shopify-api
Version:
Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks
1 lines • 681 B
Source Map (JSON)
{"version":3,"file":"crypto.mjs","sources":["../../../../../../runtime/crypto/crypto.ts"],"sourcesContent":["// The mutable export is the whole key to the adapter architecture.\n\n// eslint-disable-next-line import/no-mutable-exports\nlet cryptoVar: Crypto;\n\ntry {\n cryptoVar = crypto;\n} catch (_e) {\n // This will fail for Node, but we're explicitly calling the below function to set it\n}\n\nexport function setCrypto(crypto: Crypto): void {\n cryptoVar = crypto;\n}\n\nexport {cryptoVar as crypto};\n"],"names":[],"mappings":"AAAA;AAEA;AACA,IAAI;AAEJ,IAAI;IACF,SAAS,GAAG,MAAM;AACpB;AAAE,OAAO,EAAE,EAAE;;AAEb;AAEM,SAAU,SAAS,CAAC,MAAc,EAAA;IACtC,SAAS,GAAG,MAAM;AACpB;;;;"}