@shopify/shopify-api
Version:
Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks
18 lines (15 loc) • 431 B
JavaScript
;
// The mutable export is the whole key to the adapter architecture.
// eslint-disable-next-line import/no-mutable-exports
exports.crypto = void 0;
try {
exports.crypto = crypto;
}
catch (_e) {
// This will fail for Node, but we're explicitly calling the below function to set it
}
function setCrypto(crypto) {
exports.crypto = crypto;
}
exports.setCrypto = setCrypto;
//# sourceMappingURL=crypto.js.map