@turnkey/http
Advanced tools
Comparing version 2.5.0 to 2.5.1
# @turnkey/http | ||
## 2.5.1 | ||
### Patch Changes | ||
- Upgrade to Node v18 (#184) | ||
- Updated dependencies | ||
- @turnkey/webauthn-stamper@0.4.3 | ||
- @turnkey/api-key-stamper@0.3.1 | ||
## 2.5.0 | ||
@@ -4,0 +13,0 @@ |
@@ -160,6 +160,3 @@ 'use strict'; | ||
Object.defineProperty(exports, 'fetch', { | ||
enumerable: true, | ||
get: function () { return universal.fetch; } | ||
}); | ||
exports.fetch = universal.fetch; | ||
exports.TurnkeyRequestError = TurnkeyRequestError; | ||
@@ -166,0 +163,0 @@ exports.request = request; |
/// <reference lib="dom" /> | ||
declare let fetch: typeof globalThis.fetch; | ||
declare const fetch: typeof globalThis.fetch; | ||
export { fetch }; | ||
//# sourceMappingURL=universal.d.ts.map |
@@ -6,9 +6,6 @@ 'use strict'; | ||
/// <reference lib="dom" /> | ||
exports.fetch = void 0; | ||
if (typeof globalThis?.fetch !== "undefined") { | ||
exports.fetch = globalThis.fetch; | ||
} | ||
else { | ||
exports.fetch = crossFetch.fetch; | ||
} | ||
// This is useful for mocking fetch in tests. | ||
const fetch = crossFetch.fetch; | ||
exports.fetch = fetch; | ||
//# sourceMappingURL=universal.js.map |
{ | ||
"name": "@turnkey/http", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"main": "./dist/index.js", | ||
@@ -42,4 +42,4 @@ "module": "./dist/index.mjs", | ||
"cross-fetch": "^3.1.5", | ||
"@turnkey/api-key-stamper": "0.3.0", | ||
"@turnkey/webauthn-stamper": "0.4.2" | ||
"@turnkey/api-key-stamper": "0.3.1", | ||
"@turnkey/webauthn-stamper": "0.4.3" | ||
}, | ||
@@ -46,0 +46,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1923353
39124
3
+ Added@turnkey/api-key-stamper@0.3.1(transitive)
+ Added@turnkey/webauthn-stamper@0.4.3(transitive)
- Removed@turnkey/api-key-stamper@0.3.0(transitive)
- Removed@turnkey/webauthn-stamper@0.4.2(transitive)