File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ const params = {
94
94
}
95
95
```
96
96
97
- Optional ` opts ` can include any property you want passed to [ ` node- fetch` ] ( https://github.com/bitinn/node-fetch ) . The
98
- ` headers ` property is merged with some ` defaultHeaders ` .
97
+ Optional ` opts ` can include any property you want passed to ` fetch ` . The ` headers ` property is merged with some
98
+ ` defaultHeaders ` .
99
99
100
100
``` js
101
101
// example opts
@@ -105,7 +105,7 @@ const opts = {
105
105
' User-agent' : ' netlify-js-client' ,
106
106
accept: ' application/json' ,
107
107
},
108
- // any other properties for node- fetch
108
+ // any other properties for fetch
109
109
}
110
110
```
111
111
Original file line number Diff line number Diff line change 44
44
"@netlify/open-api" : " ^2.37.0" ,
45
45
"lodash-es" : " ^4.17.21" ,
46
46
"micro-api-client" : " ^3.3.0" ,
47
- "node-fetch" : " ^3.0.0" ,
48
47
"p-wait-for" : " ^5.0.0" ,
49
48
"qs" : " ^6.9.6"
50
49
},
Original file line number Diff line number Diff line change 1
1
import type { ReadStream } from 'node:fs'
2
2
3
3
import type { operations } from '@netlify/open-api'
4
- import type { RequestInit } from 'node-fetch'
5
4
6
5
/**
7
6
* Determines whether all keys in T are optional.
@@ -206,7 +205,7 @@ export type DynamicMethods = {
206
205
[ K in keyof operations ] : (
207
206
params : OperationParams < K > ,
208
207
/**
209
- * Any properties you want passed to `node- fetch`.
208
+ * Any properties you want passed to `fetch`.
210
209
*
211
210
* The `headers` property is merged with some `defaultHeaders`:
212
211
* ```ts
You can’t perform that action at this time.
0 commit comments