@simplewebauthn/server
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -42,3 +42,7 @@ let webCrypto = undefined; | ||
// dnt-shim-ignore | ||
const _nodeCrypto = await import('crypto'); | ||
/** | ||
* The `webpackIgnore` here is to help support Next.js' Edge runtime. | ||
* See https://github.com/MasterKale/SimpleWebAuthn/issues/517 for more info. | ||
*/ | ||
const _nodeCrypto = await import(/* webpackIgnore: true */ 'crypto'); | ||
return _nodeCrypto; | ||
@@ -45,0 +49,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"name": "@simplewebauthn/server", | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"description": "SimpleWebAuthn for Servers", | ||
@@ -59,3 +59,3 @@ "license": "MIT", | ||
"@peculiar/asn1-x509": "^2.3.8", | ||
"@simplewebauthn/types": "^9.0.0", | ||
"@simplewebauthn/types": "^9.0.1", | ||
"cbor-x": "^1.5.2", | ||
@@ -62,0 +62,0 @@ "cross-fetch": "^4.0.0" |
@@ -70,3 +70,7 @@ "use strict"; | ||
// dnt-shim-ignore | ||
const _nodeCrypto = await Promise.resolve().then(() => __importStar(require('crypto'))); | ||
/** | ||
* The `webpackIgnore` here is to help support Next.js' Edge runtime. | ||
* See https://github.com/MasterKale/SimpleWebAuthn/issues/517 for more info. | ||
*/ | ||
const _nodeCrypto = await Promise.resolve().then(() => __importStar(require(/* webpackIgnore: true */ 'crypto'))); | ||
return _nodeCrypto; | ||
@@ -73,0 +77,0 @@ } |
542439
11523
Updated@simplewebauthn/types@^9.0.1