@buttercup/fetch
Advanced tools
Comparing version 0.1.0 to 0.1.1
declare global { | ||
var WorkerGlobalScope: any; | ||
} | ||
export declare const fetch: typeof globalThis.fetch; | ||
export declare const fetch: any; | ||
export declare const Headers: { | ||
@@ -6,0 +6,0 @@ new (init?: HeadersInit): Headers; |
@@ -8,5 +8,5 @@ const inWebWorker = typeof WorkerGlobalScope !== "undefined" && | ||
: globalThis; | ||
export const fetch = root.fetch; | ||
export const fetch = root.fetch.bind(root); | ||
export const Headers = root.Headers; | ||
export const Request = root.Request; | ||
export const Response = root.Response; |
{ | ||
"name": "@buttercup/fetch", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Fetch adapter for cross-platform use.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
# Fetch | ||
> Fetch adapter for cross-platform use. | ||
 | ||
[](https://buttercup.pw) [](https://www.npmjs.com/package/@buttercup/fetch)  | ||
@@ -6,0 +6,0 @@ ## About |
5028