@graphcommerce/graphql-mesh 9.0.0-canary.98 → 9.0.0

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,158 +1,120 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.98
3
+ ## 9.0.0
4
4
 
5
- ## 9.0.0-canary.97
6
-
7
- ## 9.0.0-canary.96
8
-
9
- ## 9.0.0-canary.95
10
-
11
- ## 9.0.0-canary.94
12
-
13
- ## 9.0.0-canary.93
14
-
15
- ## 9.0.0-canary.92
16
-
17
- ## 9.0.0-canary.91
18
-
19
- ## 9.0.0-canary.90
20
-
21
- ## 9.0.0-canary.89
5
+ ### Minor Changes
22
6
 
23
- ## 9.0.0-canary.88
7
+ - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`3710d8b`](https://github.com/graphcommerce-org/graphcommerce/commit/3710d8bf1cceb5a991e5cfdfc15d42e462704c6d) - Solves the issue `TypeError: url?.startsWith is not a function`. The generated `.mesh/index.ts` would be generated as a requirejs module while next.js expects an esm module. In the end we properly generated the mesh correctly and now there is an `import.meta.url` instead of using `require('node:url')`. To solve this we needed to solve a chain of issues:
24
8
 
25
- ## 9.0.0-canary.87
9
+ 1. The generation of the mesh is based on the version of the mesh that is imported (esm or commonjs). See [source](https://github.com/ardatan/graphql-mesh/blob/bf588d372c0078378aaa24beea2da794af7949e6/scripts/replace-import-meta-url-in-cjs.ts#L9-L10) for the lines that need to be different. This meant that we needed to change the @graphcommerce/cli package to be of type:module instead of a commonjs module.
26
10
 
27
- ## 9.0.0-canary.86
11
+ 2) To properly convert the module to an esm module we've migrated the build of the cli package to use 'pkgroll' instead of tsc, because tsc is limited in what it outputs and can't really convert classic imports to esm.
12
+ 3) To load possible mesh plugins we require additional .ts files to be loaded with [tsx](https://tsx.is/). To get the tsx loader to work properly in combination with esm modules, we need at least [node 18.19.0](https://nodejs.org/en/blog/release/v18.19.0#new-nodemodule-api-register-for-module-customization-hooks-new-initialize-hook). Minimal Node version upped to 18.19.0 and add support for node 22. ([@paales](https://github.com/paales))
28
13
 
29
- ## 9.0.0-canary.85
14
+ - [#2309](https://github.com/graphcommerce-org/graphcommerce/pull/2309) [`b46e17e`](https://github.com/graphcommerce-org/graphcommerce/commit/b46e17ebe390b4d0040639dfdac33c36a60576ac) - When generating the mesh the configuration is passed through `@graphcommerce/graphql-mesh/meshConfig` allowing plugins to modify the mesh configuration without having to change the `.meshrc.yaml` itself. ([@Renzovh](https://github.com/Renzovh))
30
15
 
31
- ## 9.0.0-canary.84
16
+ - [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`bc3ec5e`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3ec5e439b97cea4a2cef23e4008c7e0cfd6797) - Created a new `@graphql-mesh` plugin to forward headers from backends as `forwardedHeaders` in extensions. ([@paales](https://github.com/paales))
32
17
 
33
- ## 9.0.0-canary.83
18
+ ### Patch Changes
34
19
 
35
- ## 9.0.0-canary.82
20
+ - [#2345](https://github.com/graphcommerce-org/graphcommerce/pull/2345) [`d4ae30b`](https://github.com/graphcommerce-org/graphcommerce/commit/d4ae30ba28815ccb9d3a0478da995b7c609618e5) - Solve issue where `customFetch` couldn't be loaded correctly. ([@paales](https://github.com/paales))
36
21
 
37
- ## 9.0.0-canary.81
22
+ - [#2336](https://github.com/graphcommerce-org/graphcommerce/pull/2336) [`214bc56`](https://github.com/graphcommerce-org/graphcommerce/commit/214bc56950f397727d2c5417741dc62419080dfa) - Added `traverseSelectionSet` utility function to extract a child selection set from the parent. ([@Renzovh](https://github.com/Renzovh))
38
23
 
39
- ## 9.0.0-canary.80
24
+ - [#2290](https://github.com/graphcommerce-org/graphcommerce/pull/2290) [`21f2ac0`](https://github.com/graphcommerce-org/graphcommerce/commit/21f2ac06b95cfc9b51febe19e6859cbba2b578b4) - Fix cors issues with Dynamic Row Property Picker App ([@JoshuaS98](https://github.com/JoshuaS98))
40
25
 
41
- ## 9.0.0-canary.79
26
+ - [`f28f11c`](https://github.com/graphcommerce-org/graphcommerce/commit/f28f11cf2821b3fd50c3147558f559d808b1046e) - Pin versions of @graphql-mesh/config and utils ([@paales](https://github.com/paales))
42
27
 
43
- ## 9.0.0-canary.78
28
+ - [#2421](https://github.com/graphcommerce-org/graphcommerce/pull/2421) [`d500643`](https://github.com/graphcommerce-org/graphcommerce/commit/d500643138799b6db1610cb10a1d065d6219d8ea) - Resolve peer dependency issues so we get a clean install ([@paales](https://github.com/paales))
44
29
 
45
- ## 9.0.0-canary.77
30
+ - [#2450](https://github.com/graphcommerce-org/graphcommerce/pull/2450) [`d5d161c`](https://github.com/graphcommerce-org/graphcommerce/commit/d5d161c2a9f9d831962a17ba424925947b018472) - Revert Pin versions of @graphql-mesh/config and utils ([@paales](https://github.com/paales))
46
31
 
47
- ## 9.0.0-canary.76
32
+ - [#2451](https://github.com/graphcommerce-org/graphcommerce/pull/2451) [`af5c1e6`](https://github.com/graphcommerce-org/graphcommerce/commit/af5c1e686792ee7c7294efb0bc3a005946ac5c98) - Made all graphql mesh dependencies peer dependencies so users can upgrade without problems ([@paales](https://github.com/paales))
48
33
 
49
- ## 9.0.0-canary.75
34
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found ([@paales](https://github.com/paales))
50
35
 
51
- ## 9.0.0-canary.74
36
+ ## 9.0.0-canary.118
52
37
 
53
- ## 9.0.0-canary.73
38
+ ## 9.0.0-canary.117
54
39
 
55
- ## 9.0.0-canary.72
40
+ ## 9.0.0-canary.116
56
41
 
57
- ## 9.0.0-canary.71
42
+ ## 9.0.0-canary.115
58
43
 
59
44
  ### Patch Changes
60
45
 
61
- - [#2345](https://github.com/graphcommerce-org/graphcommerce/pull/2345) [`d4ae30b`](https://github.com/graphcommerce-org/graphcommerce/commit/d4ae30ba28815ccb9d3a0478da995b7c609618e5) - Solve issue where customFetch coudn’t be loaded correctly ([@paales](https://github.com/paales))
62
-
63
- ## 9.0.0-canary.70
46
+ - [#2451](https://github.com/graphcommerce-org/graphcommerce/pull/2451) [`af5c1e6`](https://github.com/graphcommerce-org/graphcommerce/commit/af5c1e686792ee7c7294efb0bc3a005946ac5c98) - Made all graphql mesh dependencies peer dependencies so users can upgrade without problems ([@paales](https://github.com/paales))
64
47
 
65
- ## 9.0.0-canary.69
66
-
67
- ## 9.0.0-canary.68
68
-
69
- ## 9.0.0-canary.67
48
+ ## 9.0.0-canary.114
70
49
 
71
50
  ### Patch Changes
72
51
 
73
- - [#2336](https://github.com/graphcommerce-org/graphcommerce/pull/2336) [`214bc56`](https://github.com/graphcommerce-org/graphcommerce/commit/214bc56950f397727d2c5417741dc62419080dfa) - Added traverseSelectionSet utility function to extract a child selection set from the parent. ([@Renzovh](https://github.com/Renzovh))
74
-
75
- ## 9.0.0-canary.66
76
-
77
- ## 9.0.0-canary.65
78
-
79
- ## 9.0.0-canary.64
80
-
81
- ## 9.0.0-canary.63
52
+ - [#2450](https://github.com/graphcommerce-org/graphcommerce/pull/2450) [`d5d161c`](https://github.com/graphcommerce-org/graphcommerce/commit/d5d161c2a9f9d831962a17ba424925947b018472) - Revert Pin versions of @graphql-mesh/config and utils ([@paales](https://github.com/paales))
82
53
 
83
- ## 9.0.0-canary.62
54
+ ## 9.0.0-canary.113
84
55
 
85
- ## 9.0.0-canary.61
56
+ ## 9.0.0-canary.112
86
57
 
87
- ## 9.0.0-canary.60
88
-
89
- ## 9.0.0-canary.59
90
-
91
- ### Minor Changes
92
-
93
- - [#2309](https://github.com/graphcommerce-org/graphcommerce/pull/2309) [`b46e17e`](https://github.com/graphcommerce-org/graphcommerce/commit/b46e17ebe390b4d0040639dfdac33c36a60576ac) - When generating the mesh the configuration is passed through `@graphcommerce/graphql-mesh/meshConfig` allowing plugins to modify the mesh configuration without having to change the `.meshrc.yaml` itself. ([@Renzovh](https://github.com/Renzovh))
94
-
95
- ## 9.0.0-canary.58
96
-
97
- ### Minor Changes
58
+ ### Patch Changes
98
59
 
99
- - [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`bc3ec5e`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3ec5e439b97cea4a2cef23e4008c7e0cfd6797) - Created a new @graphql-mesh plugin to forward headers from backends as forwardedHeaders in extensions ([@paales](https://github.com/paales))
60
+ - [`f28f11c`](https://github.com/graphcommerce-org/graphcommerce/commit/f28f11cf2821b3fd50c3147558f559d808b1046e) - Pin versions of @graphql-mesh/config and utils ([@paales](https://github.com/paales))
100
61
 
101
- ## 9.0.0-canary.57
62
+ ## 9.0.0-canary.111
102
63
 
103
- ## 9.0.0-canary.56
64
+ ## 9.0.0-canary.110
104
65
 
105
- ## 9.0.0-canary.55
66
+ ## 9.0.0-canary.109
106
67
 
107
- ## 9.0.0-canary.54
68
+ ## 9.0.0-canary.108
108
69
 
109
- ## 8.1.0-canary.53
70
+ ## 9.0.0-canary.107
110
71
 
111
- ## 8.1.0-canary.52
72
+ ## 9.0.0-canary.106
112
73
 
113
- ## 8.1.0-canary.51
74
+ ## 9.0.0-canary.105
114
75
 
115
- ## 8.1.0-canary.50
76
+ ## 9.0.0-canary.104
116
77
 
117
- ## 8.1.0-canary.49
78
+ ## 9.0.0-canary.103
118
79
 
119
- ## 8.1.0-canary.48
80
+ ### Patch Changes
120
81
 
121
- ## 8.1.0-canary.47
82
+ - [#2421](https://github.com/graphcommerce-org/graphcommerce/pull/2421) [`d500643`](https://github.com/graphcommerce-org/graphcommerce/commit/d500643138799b6db1610cb10a1d065d6219d8ea) - Resolve peer dependency issues so we get a clean install ([@paales](https://github.com/paales))
122
83
 
123
- ## 8.1.0-canary.46
84
+ ## 9.0.0-canary.101
124
85
 
125
- ## 8.1.0-canary.45
86
+ ### Minor Changes
126
87
 
127
- ## 8.1.0-canary.44
88
+ - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`3710d8b`](https://github.com/graphcommerce-org/graphcommerce/commit/3710d8bf1cceb5a991e5cfdfc15d42e462704c6d) - Solves the issue `TypeError: url?.startsWith is not a function`. The generated `.mesh/index.ts` would be generated as a requirejs module while next.js expects an esm module. In the end we properly generated the mesh correctly and now there is an `import.meta.url` instead of using `require('node:url')`. To solve this we needed to solve a chain of issues:
128
89
 
129
- ## 8.1.0-canary.43
90
+ 1. The generation of the mesh is based on the version of the mesh that is imported (esm or commonjs). See [source](https://github.com/ardatan/graphql-mesh/blob/bf588d372c0078378aaa24beea2da794af7949e6/scripts/replace-import-meta-url-in-cjs.ts#L9-L10) for the lines that need to be different. This meant that we needed to change the @graphcommerce/cli package to be of type:module instead of a commonjs module.
130
91
 
131
- ## 8.1.0-canary.42
92
+ 2) To properly convert the module to an esm module we've migrated the build of the cli package to use 'pkgroll' instead of tsc, because tsc is limited in what it outputs and can't really convert classic imports to esm.
93
+ 3) To load possible mesh plugins we require additional .ts files to be loaded with [tsx](https://tsx.is/). To get the tsx loader to work properly in combination with esm modules, we need at least [node 18.19.0](https://nodejs.org/en/blog/release/v18.19.0#new-nodemodule-api-register-for-module-customization-hooks-new-initialize-hook). Minimal Node version upped to 18.19.0 and add support for node 22. ([@paales](https://github.com/paales))
132
94
 
133
- ## 8.1.0-canary.41
95
+ ## 9.0.0-canary.71
134
96
 
135
- ## 8.1.0-canary.40
97
+ ### Patch Changes
136
98
 
137
- ## 8.1.0-canary.39
99
+ - [#2345](https://github.com/graphcommerce-org/graphcommerce/pull/2345) [`d4ae30b`](https://github.com/graphcommerce-org/graphcommerce/commit/d4ae30ba28815ccb9d3a0478da995b7c609618e5) - Solve issue where customFetch coudn’t be loaded correctly ([@paales](https://github.com/paales))
138
100
 
139
- ## 8.1.0-canary.38
101
+ ## 9.0.0-canary.67
140
102
 
141
- ## 8.1.0-canary.37
103
+ ### Patch Changes
142
104
 
143
- ## 8.1.0-canary.36
105
+ - [#2336](https://github.com/graphcommerce-org/graphcommerce/pull/2336) [`214bc56`](https://github.com/graphcommerce-org/graphcommerce/commit/214bc56950f397727d2c5417741dc62419080dfa) - Added traverseSelectionSet utility function to extract a child selection set from the parent. ([@Renzovh](https://github.com/Renzovh))
144
106
 
145
- ## 8.1.0-canary.35
107
+ ## 9.0.0-canary.59
146
108
 
147
- ## 8.1.0-canary.34
109
+ ### Minor Changes
148
110
 
149
- ## 8.1.0-canary.33
111
+ - [#2309](https://github.com/graphcommerce-org/graphcommerce/pull/2309) [`b46e17e`](https://github.com/graphcommerce-org/graphcommerce/commit/b46e17ebe390b4d0040639dfdac33c36a60576ac) - When generating the mesh the configuration is passed through `@graphcommerce/graphql-mesh/meshConfig` allowing plugins to modify the mesh configuration without having to change the `.meshrc.yaml` itself. ([@Renzovh](https://github.com/Renzovh))
150
112
 
151
- ## 8.1.0-canary.32
113
+ ## 9.0.0-canary.58
152
114
 
153
- ## 8.1.0-canary.31
115
+ ### Minor Changes
154
116
 
155
- ## 8.1.0-canary.30
117
+ - [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`bc3ec5e`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3ec5e439b97cea4a2cef23e4008c7e0cfd6797) - Created a new @graphql-mesh plugin to forward headers from backends as forwardedHeaders in extensions ([@paales](https://github.com/paales))
156
118
 
157
119
  ## 8.1.0-canary.29
158
120
 
@@ -160,368 +122,24 @@
160
122
 
161
123
  - [#2290](https://github.com/graphcommerce-org/graphcommerce/pull/2290) [`21f2ac0`](https://github.com/graphcommerce-org/graphcommerce/commit/21f2ac06b95cfc9b51febe19e6859cbba2b578b4) - Fix cors issues with Dynamic Row Property Picker App ([@JoshuaS98](https://github.com/JoshuaS98))
162
124
 
163
- ## 8.1.0-canary.28
164
-
165
- ## 8.1.0-canary.27
166
-
167
- ## 8.1.0-canary.26
168
-
169
- ## 8.1.0-canary.25
170
-
171
- ## 8.1.0-canary.24
172
-
173
- ## 8.1.0-canary.23
174
-
175
- ## 8.1.0-canary.22
176
-
177
- ## 8.1.0-canary.21
178
-
179
- ## 8.1.0-canary.20
180
-
181
- ## 8.1.0-canary.19
182
-
183
- ## 8.1.0-canary.18
184
-
185
- ## 8.1.0-canary.17
186
-
187
- ## 8.1.0-canary.16
188
-
189
- ## 8.1.0-canary.15
190
-
191
- ## 8.1.0-canary.14
192
-
193
- ## 8.1.0-canary.13
194
-
195
- ## 8.1.0-canary.12
196
-
197
- ## 8.1.0-canary.11
198
-
199
- ## 8.1.0-canary.10
200
-
201
- ## 8.1.0-canary.9
202
-
203
125
  ## 8.1.0-canary.8
204
126
 
205
127
  ### Patch Changes
206
128
 
207
129
  - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found ([@paales](https://github.com/paales))
208
130
 
209
- ## 8.1.0-canary.7
210
-
211
- ## 8.1.0-canary.6
212
-
213
- ## 8.1.0-canary.5
214
-
215
- ## 8.0.6-canary.4
216
-
217
- ## 8.0.6-canary.3
218
-
219
- ## 8.0.6-canary.2
220
-
221
- ## 8.0.6-canary.1
222
-
223
- ## 8.0.6-canary.0
224
-
225
- ## 8.0.5
226
-
227
- ## 8.0.5-canary.10
228
-
229
- ## 8.0.5-canary.9
230
-
231
- ## 8.0.5-canary.8
232
-
233
- ## 8.0.5-canary.7
234
-
235
- ## 8.0.5-canary.6
236
-
237
- ## 8.0.5-canary.5
238
-
239
- ## 8.0.5-canary.4
240
-
241
- ## 8.0.5-canary.3
242
-
243
- ## 8.0.5-canary.2
244
-
245
- ## 8.0.5-canary.1
246
-
247
- ## 8.0.5-canary.0
248
-
249
- ## 8.0.4
250
-
251
- ## 8.0.4-canary.1
252
-
253
- ## 8.0.4-canary.0
254
-
255
- ## 8.0.3
256
-
257
- ## 8.0.3-canary.6
258
-
259
- ## 8.0.3-canary.5
260
-
261
- ## 8.0.3-canary.4
262
-
263
- ## 8.0.3-canary.3
264
-
265
- ## 8.0.3-canary.2
266
-
267
- ## 8.0.3-canary.1
268
-
269
- ## 8.0.3-canary.0
270
-
271
- ## 8.0.2
272
-
273
- ## 8.0.2-canary.3
274
-
275
- ## 8.0.2-canary.2
276
-
277
- ## 8.0.2-canary.1
278
-
279
- ## 8.0.2-canary.0
280
-
281
- ## 8.0.1
282
-
283
- ## 8.0.1-canary.4
284
-
285
- ## 8.0.1-canary.3
286
-
287
- ## 8.0.1-canary.2
288
-
289
- ## 8.0.1-canary.1
290
-
291
- ## 8.0.1-canary.0
292
-
293
131
  ## 8.0.0
294
132
 
295
133
  ### Patch Changes
296
134
 
297
135
  - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae89`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
298
136
 
299
- ## 8.0.0-canary.100
300
-
301
- ## 8.0.0-canary.99
302
-
303
- ## 8.0.0-canary.98
304
-
305
- ## 8.0.0-canary.97
306
-
307
- ## 8.0.0-canary.96
308
-
309
- ## 8.0.0-canary.95
310
-
311
- ## 8.0.0-canary.94
312
-
313
- ## 8.0.0-canary.93
314
-
315
- ## 8.0.0-canary.92
316
-
317
- ## 8.0.0-canary.91
318
-
319
- ## 8.0.0-canary.90
320
-
321
- ## 8.0.0-canary.89
322
-
323
- ## 8.0.0-canary.88
324
-
325
- ## 8.0.0-canary.87
326
-
327
- ## 8.0.0-canary.86
328
-
329
- ## 8.0.0-canary.85
330
-
331
- ## 8.0.0-canary.84
332
-
333
- ## 8.0.0-canary.83
334
-
335
- ## 8.0.0-canary.82
336
-
337
- ## 8.0.0-canary.81
338
-
339
- ## 8.0.0-canary.80
340
-
341
- ## 8.0.0-canary.79
342
-
343
- ## 8.0.0-canary.78
344
-
345
- ## 8.0.0-canary.77
346
-
347
- ## 8.0.0-canary.76
348
-
349
- ## 8.0.0-canary.75
350
-
351
- ## 8.0.0-canary.74
352
-
353
- ## 8.0.0-canary.73
354
-
355
- ## 8.0.0-canary.72
356
-
357
- ## 8.0.0-canary.71
358
-
359
- ## 8.0.0-canary.70
360
-
361
- ## 8.0.0-canary.69
362
-
363
- ## 7.1.0-canary.68
364
-
365
- ## 7.1.0-canary.67
366
-
367
- ## 7.1.0-canary.66
368
-
369
- ## 7.1.0-canary.65
370
-
371
- ## 7.1.0-canary.64
372
-
373
- ## 7.1.0-canary.63
374
-
375
- ## 7.1.0-canary.62
376
-
377
- ## 7.1.0-canary.61
378
-
379
- ## 7.1.0-canary.60
380
-
381
- ## 7.1.0-canary.59
382
-
383
- ## 7.1.0-canary.58
384
-
385
- ## 7.1.0-canary.57
386
-
387
- ## 7.1.0-canary.56
388
-
389
- ## 7.1.0-canary.55
390
-
391
- ## 7.1.0-canary.54
392
-
393
- ## 7.1.0-canary.53
394
-
395
- ## 7.1.0-canary.52
396
-
397
- ## 7.1.0-canary.51
398
-
399
- ## 7.1.0-canary.50
400
-
401
- ## 7.1.0-canary.49
402
-
403
- ## 7.1.0-canary.48
404
-
405
- ## 7.1.0-canary.47
406
-
407
- ## 7.1.0-canary.46
408
-
409
- ## 7.1.0-canary.45
410
-
411
- ### Patch Changes
412
-
413
- - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae8979`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
414
-
415
- ## 7.1.0-canary.38
416
-
417
- ## 7.1.0-canary.37
418
-
419
- ## 7.1.0-canary.36
420
-
421
- ## 7.1.0-canary.35
422
-
423
- ## 7.1.0-canary.34
424
-
425
- ## 7.1.0-canary.33
426
-
427
- ## 7.1.0-canary.32
428
-
429
- ## 7.1.0-canary.31
430
-
431
- ## 7.1.0-canary.30
432
-
433
- ## 7.1.0-canary.29
434
-
435
- ## 7.1.0-canary.28
436
-
437
- ## 7.1.0-canary.27
438
-
439
- ## 7.1.0-canary.26
440
-
441
- ## 7.1.0-canary.25
442
-
443
- ## 7.1.0-canary.24
444
-
445
- ## 7.1.0-canary.23
446
-
447
- ## 7.1.0-canary.22
448
-
449
- ## 7.1.0-canary.21
450
-
451
- ## 7.1.0-canary.20
452
-
453
- ## 7.1.0-canary.19
454
-
455
- ## 7.1.0-canary.18
456
-
457
- ## 7.1.0-canary.17
458
-
459
- ## 7.1.0-canary.16
460
-
461
- ## 7.1.0-canary.15
462
-
463
- ## 7.1.0-canary.14
464
-
465
- ## 7.1.0-canary.13
466
-
467
- ## 7.1.0-canary.12
468
-
469
- ## 7.1.0-canary.11
470
-
471
- ## 7.1.0-canary.10
472
-
473
- ## 7.1.0-canary.9
474
-
475
- ## 7.1.0-canary.8
476
-
477
- ## 7.0.2-canary.7
478
-
479
- ## 7.0.2-canary.6
480
-
481
- ## 7.0.2-canary.5
482
-
483
137
  ## 7.0.1
484
138
 
485
139
  ### Patch Changes
486
140
 
487
141
  - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
488
142
 
489
- ## 7.0.1-canary.15
490
-
491
- ## 7.0.1-canary.14
492
-
493
- ## 7.0.1-canary.13
494
-
495
- ## 7.0.1-canary.12
496
-
497
- ## 7.0.1-canary.11
498
-
499
- ## 7.0.1-canary.10
500
-
501
- ## 7.0.1-canary.9
502
-
503
- ## 7.0.1-canary.8
504
-
505
- ## 7.0.1-canary.7
506
-
507
- ## 7.0.1-canary.6
508
-
509
- ## 7.0.1-canary.5
510
-
511
- ## 7.0.1-canary.4
512
-
513
- ## 7.0.1-canary.3
514
-
515
- ## 7.0.1-canary.2
516
-
517
- ## 7.0.1-canary.1
518
-
519
- ## 7.0.1-canary.0
520
-
521
- ### Patch Changes
522
-
523
- - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
524
-
525
143
  ## 7.0.0
526
144
 
527
145
  ### Patch Changes
@@ -534,224 +152,6 @@
534
152
 
535
153
  - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
536
154
 
537
- ## 6.2.0-canary.98
538
-
539
- ### Patch Changes
540
-
541
- - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
542
-
543
- ## 6.2.0-canary.97
544
-
545
- ## 6.2.0-canary.96
546
-
547
- ## 6.2.0-canary.95
548
-
549
- ## 6.2.0-canary.94
550
-
551
- ## 6.2.0-canary.93
552
-
553
- ## 6.2.0-canary.92
554
-
555
- ## 6.2.0-canary.91
556
-
557
- ## 6.2.0-canary.90
558
-
559
- ## 6.2.0-canary.89
560
-
561
- ## 6.2.0-canary.88
562
-
563
- ## 6.2.0-canary.87
564
-
565
- ## 6.2.0-canary.86
566
-
567
- ## 6.2.0-canary.85
568
-
569
- ## 6.2.0-canary.84
570
-
571
- ## 6.2.0-canary.83
572
-
573
- ## 6.2.0-canary.82
574
-
575
- ## 6.2.0-canary.81
576
-
577
- ## 6.2.0-canary.80
578
-
579
- ## 6.2.0-canary.79
580
-
581
- ## 6.2.0-canary.78
582
-
583
- ## 6.2.0-canary.77
584
-
585
- ## 6.2.0-canary.76
586
-
587
- ## 6.2.0-canary.75
588
-
589
- ## 6.2.0-canary.74
590
-
591
- ## 6.2.0-canary.73
592
-
593
- ## 6.2.0-canary.72
594
-
595
- ## 6.2.0-canary.71
596
-
597
- ## 6.2.0-canary.70
598
-
599
- ## 6.2.0-canary.69
600
-
601
- ### Patch Changes
602
-
603
- - [#2012](https://github.com/graphcommerce-org/graphcommerce/pull/2012) [`1dbb3ae13`](https://github.com/graphcommerce-org/graphcommerce/commit/1dbb3ae13553992ee1ed77f375375560f28c418c) - Upgrade graphql to 16.7.1, add graphql as peer dependency ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
604
-
605
- ## 6.2.0-canary.68
606
-
607
- ## 6.2.0-canary.67
608
-
609
- ### Patch Changes
610
-
611
- - [#2002](https://github.com/graphcommerce-org/graphcommerce/pull/2002) [`1234bb61f`](https://github.com/graphcommerce-org/graphcommerce/commit/1234bb61f8332da8a9e4dd7262b0c70beaed8c91) - Updated next and apollo/client ([@paales](https://github.com/paales))
612
-
613
- ## 6.2.0-canary.66
614
-
615
- ## 6.2.0-canary.65
616
-
617
- ## 6.2.0-canary.64
618
-
619
- ## 6.2.0-canary.63
620
-
621
- ## 6.2.0-canary.62
622
-
623
- ## 6.2.0-canary.61
624
-
625
- ## 6.2.0-canary.60
626
-
627
- ## 6.2.0-canary.59
628
-
629
- ## 6.2.0-canary.58
630
-
631
- ## 6.2.0-canary.57
632
-
633
- ## 6.2.0-canary.56
634
-
635
- ## 6.2.0-canary.55
636
-
637
- ## 6.2.0-canary.54
638
-
639
- ## 6.2.0-canary.53
640
-
641
- ## 6.2.0-canary.52
642
-
643
- ## 6.2.0-canary.51
644
-
645
- ## 6.2.0-canary.50
646
-
647
- ## 6.2.0-canary.49
648
-
649
- ## 6.2.0-canary.48
650
-
651
- ## 6.2.0-canary.47
652
-
653
- ## 6.2.0-canary.46
654
-
655
- ## 6.2.0-canary.45
656
-
657
- ## 6.2.0-canary.44
658
-
659
- ## 6.2.0-canary.43
660
-
661
- ## 6.2.0-canary.42
662
-
663
- ## 6.2.0-canary.41
664
-
665
- ### Patch Changes
666
-
667
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages @apollo/client, react-hook-form, @emotion/\*, @lingui/\*, @mui/\* and various others. ([@paales](https://github.com/paales))
668
-
669
- ## 6.2.0-canary.40
670
-
671
- ## 6.2.0-canary.39
672
-
673
- ## 6.2.0-canary.38
674
-
675
- ## 6.2.0-canary.37
676
-
677
- ## 6.2.0-canary.36
678
-
679
- ## 6.2.0-canary.35
680
-
681
- ## 6.2.0-canary.34
682
-
683
- ## 6.2.0-canary.33
684
-
685
- ## 6.2.0-canary.32
686
-
687
- ## 6.2.0-canary.31
688
-
689
- ## 6.2.0-canary.30
690
-
691
- ## 6.2.0-canary.29
692
-
693
- ## 6.2.0-canary.28
694
-
695
- ## 6.2.0-canary.27
696
-
697
- ## 6.2.0-canary.26
698
-
699
- ## 6.2.0-canary.25
700
-
701
- ## 6.2.0-canary.24
702
-
703
- ## 6.2.0-canary.23
704
-
705
- ## 6.2.0-canary.22
706
-
707
- ## 6.2.0-canary.21
708
-
709
- ## 6.2.0-canary.20
710
-
711
- ## 6.2.0-canary.19
712
-
713
- ## 6.2.0-canary.18
714
-
715
- ## 6.2.0-canary.17
716
-
717
- ## 6.2.0-canary.16
718
-
719
- ## 6.2.0-canary.15
720
-
721
- ## 6.2.0-canary.14
722
-
723
- ## 6.2.0-canary.13
724
-
725
- ### Patch Changes
726
-
727
- - [#1924](https://github.com/graphcommerce-org/graphcommerce/pull/1924) [`04581f619`](https://github.com/graphcommerce-org/graphcommerce/commit/04581f619c609f2f6ca5268ee5effb6a1db3f0eb) - Use the latest branch from graphql-mesh so that all versions are in sync ([@paales](https://github.com/paales))
728
-
729
- ## 6.2.0-canary.12
730
-
731
- ## 6.2.0-canary.11
732
-
733
- ## 6.2.0-canary.10
734
-
735
- ## 6.2.0-canary.9
736
-
737
- ## 6.2.0-canary.8
738
-
739
- ## 6.2.0-canary.7
740
-
741
- ## 6.2.0-canary.6
742
-
743
- ## 6.1.1-canary.5
744
-
745
- ## 6.1.1-canary.4
746
-
747
- ## 6.1.1-canary.3
748
-
749
- ## 6.1.1-canary.2
750
-
751
- ## 6.1.1-canary.1
752
-
753
- ## 6.1.1-canary.0
754
-
755
155
  ## 6.1.0
756
156
 
757
157
  ### Minor Changes
@@ -760,210 +160,18 @@
760
160
 
761
161
  - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - Big Magento performance improvements; Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. ([@paales](https://github.com/paales))
762
162
 
763
- ## 6.0.2-canary.22
764
-
765
- ## 6.0.2-canary.21
766
-
767
- ## 6.0.2-canary.20
768
-
769
- ## 6.0.2-canary.19
770
-
771
- ## 6.0.2-canary.18
772
-
773
- ## 6.0.2-canary.17
774
-
775
- ## 6.0.2-canary.16
776
-
777
- ## 6.0.2-canary.15
778
-
779
- ## 6.0.2-canary.14
780
-
781
- ## 6.0.2-canary.13
782
-
783
- ## 6.0.2-canary.12
784
-
785
- ## 6.0.2-canary.11
786
-
787
- ## 6.0.2-canary.10
788
-
789
- ## 6.0.2-canary.9
790
-
791
- ## 6.0.2-canary.8
792
-
793
- ## 6.0.2-canary.7
794
-
795
- ## 6.0.2-canary.6
796
-
797
- ## 6.0.2-canary.5
798
-
799
- ## 6.0.2-canary.4
800
-
801
- ### Patch Changes
802
-
803
- - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - The mesh wouldn't keep ssl handshakes alive causing an additional delay for each request. Solving this will improve every fetch request 30-100ms, depending on the ssl handshake performance of the server. ([@paales](https://github.com/paales))
804
-
805
- - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. ([@paales](https://github.com/paales))
806
-
807
- ## 6.0.2-canary.3
808
-
809
- ## 6.0.2-canary.2
810
-
811
- ## 6.0.2-canary.1
812
-
813
- ## 6.0.2-canary.0
814
-
815
- ## 6.0.1
816
-
817
- ## 6.0.1-canary.7
818
-
819
- ## 6.0.1-canary.6
820
-
821
- ## 6.0.1-canary.5
822
-
823
- ## 6.0.1-canary.4
824
-
825
- ## 6.0.1-canary.3
826
-
827
- ## 6.0.1-canary.2
828
-
829
- ## 6.0.1-canary.1
830
-
831
- ## 6.0.1-canary.0
832
-
833
163
  ## 6.0.0
834
164
 
835
165
  ### Patch Changes
836
166
 
837
167
  - [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Upgrade packages to latest version ([@paales](https://github.com/paales))
838
168
 
839
- ## 6.0.0-canary.54
840
-
841
- ## 6.0.0-canary.53
842
-
843
- ## 6.0.0-canary.52
844
-
845
- ## 6.0.0-canary.51
846
-
847
- ## 6.0.0-canary.50
848
-
849
- ## 6.0.0-canary.49
850
-
851
- ## 6.0.0-canary.48
852
-
853
- ## 6.0.0-canary.47
854
-
855
- ## 6.0.0-canary.46
856
-
857
- ## 6.0.0-canary.45
858
-
859
- ## 6.0.0-canary.44
860
-
861
- ## 6.0.0-canary.43
862
-
863
- ## 6.0.0-canary.42
864
-
865
- ## 6.0.0-canary.41
866
-
867
- ## 6.0.0-canary.40
868
-
869
- ## 6.0.0-canary.39
870
-
871
- ## 6.0.0-canary.38
872
-
873
- ## 6.0.0-canary.37
874
-
875
- ## 6.0.0-canary.36
876
-
877
- ## 6.0.0-canary.35
878
-
879
- ## 6.0.0-canary.34
880
-
881
- ## 6.0.0-canary.33
882
-
883
- ## 6.0.0-canary.32
884
-
885
- ## 6.0.0-canary.31
886
-
887
- ## 6.0.0-canary.30
888
-
889
- ## 6.0.0-canary.29
890
-
891
- ## 6.0.0-canary.28
892
-
893
- ## 6.0.0-canary.27
894
-
895
- ### Patch Changes
896
-
897
- - [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Fix regression bugs and upgrade packages to latest versions ([@paales](https://github.com/paales))
898
-
899
- ## 6.0.0-canary.26
900
-
901
- ## 6.0.0-canary.25
902
-
903
- ## 6.0.0-canary.24
904
-
905
- ## 6.0.0-canary.23
906
-
907
- ## 6.0.0-canary.22
908
-
909
- ## 6.0.0-canary.21
910
-
911
- ## 6.0.0-canary.20
912
-
913
- ## 5.2.0-canary.19
914
-
915
- ## 5.2.0-canary.18
916
-
917
- ## 5.2.0-canary.17
918
-
919
- ## 5.2.0-canary.16
920
-
921
- ## 5.2.0-canary.15
922
-
923
- ## 5.2.0-canary.14
924
-
925
- ## 5.2.0-canary.13
926
-
927
- ## 5.2.0-canary.12
928
-
929
- ## 5.2.0-canary.11
930
-
931
- ## 5.2.0-canary.10
932
-
933
- ## 5.2.0-canary.9
934
-
935
- ## 5.2.0-canary.8
936
-
937
- ## 5.2.0-canary.7
938
-
939
- ## 5.2.0-canary.6
940
-
941
- ## 5.2.0-canary.5
942
-
943
- ## 5.2.0-canary.4
944
-
945
- ## 5.2.0-canary.3
946
-
947
- ## 5.2.0-canary.2
948
-
949
- ## 5.2.0-canary.1
950
-
951
- ## 5.2.0-canary.0
952
-
953
169
  ## 5.1.1
954
170
 
955
171
  ### Patch Changes
956
172
 
957
173
  - [#1764](https://github.com/graphcommerce-org/graphcommerce/pull/1764) [`5829ffc73`](https://github.com/graphcommerce-org/graphcommerce/commit/5829ffc732c6aea95da53314722385a2c0edce85) - Update dependencies ([@paales](https://github.com/paales))
958
174
 
959
- ## 5.1.1-canary.1
960
-
961
- ### Patch Changes
962
-
963
- - [#1764](https://github.com/graphcommerce-org/graphcommerce/pull/1764) [`5829ffc73`](https://github.com/graphcommerce-org/graphcommerce/commit/5829ffc732c6aea95da53314722385a2c0edce85) - Update dependencies ([@paales](https://github.com/paales))
964
-
965
- ## 5.1.1-canary.0
966
-
967
175
  ## 5.1.0
968
176
 
969
177
  ### Minor Changes
@@ -985,103 +193,18 @@
985
193
  - Upgraded dependencies including type-fest and graphql-mesh
986
194
  - Solved peer dependency issues ([@paales](https://github.com/paales))
987
195
 
988
- ## 5.1.0-canary.11
989
-
990
- ## 5.1.0-canary.10
991
-
992
- ### Patch Changes
993
-
994
- - [#1760](https://github.com/graphcommerce-org/graphcommerce/pull/1760) [`8badc8550`](https://github.com/graphcommerce-org/graphcommerce/commit/8badc8550c402ac7b80c8d3238d313550c28a055) - Updated dependencies ([@paales](https://github.com/paales))
995
-
996
- ## 5.1.0-canary.9
997
-
998
- ## 5.1.0-canary.8
999
-
1000
- ## 5.1.0-canary.7
1001
-
1002
- ## 5.1.0-canary.6
1003
-
1004
- ## 5.1.0-canary.5
1005
-
1006
- ### Patch Changes
1007
-
1008
- - [`c7816cd69`](https://github.com/graphcommerce-org/graphcommerce/commit/c7816cd693f2fad61be6e2ed119e7e8bf13f079f) - Added JS version of the customFetch method, node_module files aren't transpiled ([@paales](https://github.com/paales))
1009
-
1010
- ## 5.1.0-canary.4
1011
-
1012
- ### Minor Changes
1013
-
1014
- - [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`053ef07d0`](https://github.com/graphcommerce-org/graphcommerce/commit/053ef07d0acf25fba840b50f3ad56746fc97d6a2) - Add [httpDetailsExtensions](https://the-guild.dev/graphql/mesh/docs/plugins/http-details-extensions) plugin to the mesh for a better debugging experience. ([@paales](https://github.com/paales))
1015
-
1016
- ## 5.1.0-canary.3
1017
-
1018
- ### Patch Changes
1019
-
1020
- - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`188f23452`](https://github.com/graphcommerce-org/graphcommerce/commit/188f2345255aacd7665d8e443cf42e20a3070a01) - Implement a custom fetch that has an exponential backoff so that build don’t fail as often ([@paales](https://github.com/paales))
1021
-
1022
- - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
1023
-
1024
- - Updated the @mui/material package
1025
- - Removed dependencies on react-hook-form-mui and @playwright/test
1026
- - Upgraded dependencies including type-fest and graphql-mesh
1027
- - Solved peer dependency issues ([@paales](https://github.com/paales))
1028
-
1029
- ## 5.1.0-canary.2
1030
-
1031
- ## 5.1.0-canary.1
1032
-
1033
- ## 5.1.0-canary.0
1034
-
1035
196
  ## 5.0.0
1036
197
 
1037
198
  ### Major Changes
1038
199
 
1039
200
  - [#1734](https://github.com/graphcommerce-org/graphcommerce/pull/1734) [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@github-actions](https://github.com/apps/github-actions))
1040
201
 
1041
- ## 5.0.0-canary.14
1042
-
1043
- ## 5.0.0-canary.9
1044
-
1045
- ### Major Changes
1046
-
1047
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1048
-
1049
- ## 4.31.0-canary.8
1050
-
1051
- ## 4.31.0-canary.7
1052
-
1053
- ## 4.31.0-canary.6
1054
-
1055
- ## 4.31.0-canary.5
1056
-
1057
- ## 4.31.0-canary.4
1058
-
1059
- ## 4.31.0-canary.3
1060
-
1061
- ## 4.31.0-canary.2
1062
-
1063
- ## 4.31.0-canary.1
1064
-
1065
- ## 4.31.0-canary.0
1066
-
1067
- ## 4.30.2
1068
-
1069
- ## 4.30.1
1070
-
1071
202
  ## 4.30.0
1072
203
 
1073
204
  ### Patch Changes
1074
205
 
1075
206
  - [#1702](https://github.com/graphcommerce-org/graphcommerce/pull/1702) [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1076
207
 
1077
- ## 4.30.0-canary.1
1078
-
1079
- ### Patch Changes
1080
-
1081
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1082
-
1083
- ## 4.30.0-canary.0
1084
-
1085
208
  ## 4.2.0
1086
209
 
1087
210
  ### Minor Changes
@@ -1298,8 +421,6 @@ All notable changes to this project will be documented in this file. See [Conven
1298
421
  - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
1299
422
  - upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
1300
423
 
1301
- ## 2.0.8 (2020-10-28)
1302
-
1303
424
  ## 2.0.7 (2020-10-28)
1304
425
 
1305
426
  ### Bug Fixes
package/api/apolloLink.ts CHANGED
@@ -1,6 +1,10 @@
1
- import { ApolloLink, FetchResult, Observable, Operation, RequestHandler } from '@apollo/client/core'
2
- import { ExecuteMeshFn, MeshInstance, SubscribeMeshFn } from '@graphql-mesh/runtime'
3
- import { isAsyncIterable } from '@graphql-tools/utils'
1
+ import type { FetchResult, Operation, RequestHandler } from '@apollo/client/core'
2
+ import { ApolloLink, Observable } from '@apollo/client/core'
3
+ import type { ExecuteMeshFn, MeshInstance, SubscribeMeshFn } from '@graphql-mesh/runtime'
4
+
5
+ function isAsyncIterable<T>(value: any): value is AsyncIterable<T> {
6
+ return value?.[Symbol.asyncIterator] != null
7
+ }
4
8
 
5
9
  const ROOT_VALUE = {}
6
10
 
package/customFetch.ts CHANGED
@@ -1,21 +1,23 @@
1
1
  import fetchRetry from 'fetch-retry'
2
+ import type { RequestInitWithRetry } from 'fetch-retry'
2
3
 
3
4
  const fetcher = fetchRetry(
4
5
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, no-underscore-dangle, @typescript-eslint/no-var-requires
5
- process.env.__NEXT_PROCESSED_ENV ? fetch : require('@whatwg-node/fetch').fetch,
6
+ process.env.__NEXT_PROCESSED_ENV ? globalThis.fetch : require('@whatwg-node/fetch').fetch,
6
7
  )
7
8
 
8
9
  /**
9
10
  * @param {RequestInfo | URL} url
10
11
  * @param {import('fetch-retry').RequestInitWithRetry | undefined} options
11
12
  * @returns {Promise<Response>}
13
+ * @public
12
14
  */
13
- export default (
15
+ export const fetch = (
14
16
  url: RequestInfo | URL,
15
- options: import('fetch-retry').RequestInitWithRetry | undefined,
17
+ options: RequestInitWithRetry | undefined,
16
18
  ): Promise<Response> => {
17
19
  const headers = Object.fromEntries(
18
- Object.entries(options?.headers ?? {}).filter(([_, value]) => value !== ''),
20
+ Object.entries(options?.headers ?? {}).filter(([, value]) => value !== ''),
19
21
  )
20
22
 
21
23
  return fetcher(url, {
@@ -26,3 +28,6 @@ export default (
26
28
  retryOn: [429],
27
29
  })
28
30
  }
31
+
32
+ /** @public @alias */
33
+ export default fetch
package/meshConfig.ts CHANGED
@@ -1,8 +1,12 @@
1
1
  import type { GraphCommerceConfig } from '@graphcommerce/next-config'
2
- import type { Config } from '@graphql-mesh/types/typings/config'
2
+ import type { YamlConfig } from '@graphql-mesh/types'
3
3
 
4
4
  export type MeshConfigFunction = typeof meshConfig
5
5
 
6
- export function meshConfig(config: Config, graphCommerceConfig: GraphCommerceConfig): Config {
6
+ export function meshConfig(
7
+ config: YamlConfig.Config,
8
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9
+ graphCommerceConfig: GraphCommerceConfig,
10
+ ): YamlConfig.Config {
7
11
  return config
8
12
  }
package/package.json CHANGED
@@ -2,47 +2,27 @@
2
2
  "name": "@graphcommerce/graphql-mesh",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.98",
5
+ "version": "9.0.0",
6
6
  "main": "index.ts",
7
7
  "dependencies": {
8
- "@graphql-mesh/apollo-link": "latest",
9
- "@graphql-mesh/config": "latest",
10
- "@graphql-mesh/cross-helpers": "latest",
11
- "@graphql-mesh/graphql": "latest",
12
- "@graphql-mesh/http": "latest",
13
- "@graphql-mesh/json-schema": "latest",
14
- "@graphql-mesh/openapi": "latest",
15
- "@graphql-mesh/plugin-http-details-extensions": "latest",
16
- "@graphql-mesh/runtime": "latest",
17
- "@graphql-mesh/store": "latest",
18
- "@graphql-mesh/transform-encapsulate": "latest",
19
- "@graphql-mesh/transform-filter-schema": "latest",
20
- "@graphql-mesh/transform-hoist-field": "latest",
21
- "@graphql-mesh/transform-naming-convention": "latest",
22
- "@graphql-mesh/transform-prefix": "latest",
23
- "@graphql-mesh/transform-prune": "latest",
24
- "@graphql-mesh/transform-rename": "latest",
25
- "@graphql-mesh/transform-replace-field": "latest",
26
- "@graphql-mesh/transform-type-merging": "latest",
27
- "@graphql-mesh/types": "latest",
28
- "@graphql-mesh/utils": "latest",
29
- "@graphql-tools/utils": "^10.3.2",
30
- "@whatwg-node/fetch": "^0.9.18",
8
+ "@whatwg-node/fetch": "^0.10.1",
31
9
  "fetch-retry": "^5.0.6",
10
+ "graphql": "^16.10.0",
32
11
  "long": "^5.2.3",
33
- "tslib": "^2.6.3",
12
+ "tslib": "^2.8.1",
34
13
  "uglify-es": "3.3.10"
35
14
  },
36
15
  "peerDependencies": {
37
- "@apollo/client": "^3",
38
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.98",
39
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.98",
40
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.98",
41
- "graphql": "^16.7.1"
16
+ "@apollo/client": "*",
17
+ "@graphcommerce/eslint-config-pwa": "^9.0.0",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.0",
19
+ "@graphcommerce/typescript-config-pwa": "^9.0.0",
20
+ "@graphql-mesh/runtime": "*",
21
+ "@graphql-mesh/types": "*"
42
22
  },
43
23
  "devDependencies": {
44
24
  "@types/uglify-es": "^3.0.3",
45
- "typescript": "5.5.3"
25
+ "typescript": "5.7.2"
46
26
  },
47
27
  "sideEffects": false,
48
28
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -1,5 +1,6 @@
1
+ // eslint-disable-next-line import/no-extraneous-dependencies
1
2
  import { isAsyncIterable } from '@envelop/core'
2
- import { MeshPlugin, MeshPluginOptions } from '@graphql-mesh/types'
3
+ import type { MeshPlugin, MeshPluginOptions } from '@graphql-mesh/types'
3
4
  import type { MeshContext } from '../.mesh'
4
5
 
5
6
  interface ForwardHeaderConfig {
@@ -7,6 +8,8 @@ interface ForwardHeaderConfig {
7
8
  }
8
9
 
9
10
  /**
11
+ * @public
12
+ *
10
13
  * Configure in your meshrc.yaml:
11
14
  *
12
15
  * ```yaml
@@ -1,4 +1,5 @@
1
- import { Kind, SelectionNode, SelectionSetNode } from 'graphql'
1
+ import type { SelectionNode, SelectionSetNode } from 'graphql'
2
+ import { Kind } from 'graphql'
2
3
  import type { Path } from 'react-hook-form'
3
4
 
4
5
  function isNumeric(n: string) {