@simplewebauthn/server
Advanced tools
Comparing version 13.0.0 to 13.1.0
@@ -1,2 +0,1 @@ | ||
import { fetch as crossFetch } from 'cross-fetch'; | ||
/** | ||
@@ -14,3 +13,3 @@ * A simple method for requesting data via standard `fetch`. Should work | ||
export const _fetchInternals = { | ||
stubThis: (url) => crossFetch(url), | ||
stubThis: (url) => globalThis.fetch(url), | ||
}; |
@@ -11,5 +11,5 @@ import type { Crypto } from '../../../types/index.js'; | ||
export declare const _getWebCryptoInternals: { | ||
stubThisGlobalThisCrypto: () => globalThis.Crypto; | ||
stubThisGlobalThisCrypto: () => import("crypto").webcrypto.Crypto; | ||
setCachedCrypto: (newCrypto: Crypto | undefined) => void; | ||
}; | ||
//# sourceMappingURL=getWebCrypto.d.ts.map |
{ | ||
"name": "@simplewebauthn/server", | ||
"version": "13.0.0", | ||
"version": "13.1.0", | ||
"description": "SimpleWebAuthn for Servers", | ||
@@ -58,4 +58,3 @@ "keywords": [ | ||
"@peculiar/asn1-schema": "^2.3.8", | ||
"@peculiar/asn1-x509": "^2.3.8", | ||
"cross-fetch": "^4.0.0" | ||
"@peculiar/asn1-x509": "^2.3.8" | ||
}, | ||
@@ -62,0 +61,0 @@ "devDependencies": { |
@@ -5,3 +5,2 @@ "use strict"; | ||
exports.fetch = fetch; | ||
const cross_fetch_1 = require("cross-fetch"); | ||
/** | ||
@@ -19,3 +18,3 @@ * A simple method for requesting data via standard `fetch`. Should work | ||
exports._fetchInternals = { | ||
stubThis: (url) => (0, cross_fetch_1.fetch)(url), | ||
stubThis: (url) => globalThis.fetch(url), | ||
}; |
@@ -11,5 +11,5 @@ import type { Crypto } from '../../../types/index.js'; | ||
export declare const _getWebCryptoInternals: { | ||
stubThisGlobalThisCrypto: () => globalThis.Crypto; | ||
stubThisGlobalThisCrypto: () => import("crypto").webcrypto.Crypto; | ||
setCachedCrypto: (newCrypto: Crypto | undefined) => void; | ||
}; | ||
//# sourceMappingURL=getWebCrypto.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7
182717
634897
12535
- Removedcross-fetch@^4.0.0
- Removedcross-fetch@4.1.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)