@whatwg-node/fetch 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @whatwg-node/fetch
2
2
 
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3207383: Fix TS typings
8
+
3
9
  ## 0.0.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -42,7 +42,7 @@ declare module "@whatwg-node/fetch" {
42
42
  /* For multipart forms, the max number of header key-value pairs to parse. Default: 2000. */
43
43
  headerSize?: number;
44
44
  }
45
- export const create: (opts?: { useNodeFetch?: boolean; formDataLimits?: FormDataLimits }) => ({
45
+ export const createFetch: (opts?: { useNodeFetch?: boolean; formDataLimits?: FormDataLimits }) => ({
46
46
  fetch: typeof _fetch,
47
47
  Request: typeof _Request,
48
48
  Response: typeof _Response,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/fetch",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Cross Platform Smart Fetch Ponyfill",
5
5
  "author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",
6
6
  "repository": {