@graphcommerce/graphql-mesh 9.0.0-canary.99 → 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,160 +1,120 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.99
3
+ ## 9.0.0
4
4
 
5
- ## 9.0.0-canary.98
6
-
7
- ## 9.0.0-canary.97
8
-
9
- ## 9.0.0-canary.96
10
-
11
- ## 9.0.0-canary.95
12
-
13
- ## 9.0.0-canary.94
14
-
15
- ## 9.0.0-canary.93
16
-
17
- ## 9.0.0-canary.92
18
-
19
- ## 9.0.0-canary.91
20
-
21
- ## 9.0.0-canary.90
22
-
23
- ## 9.0.0-canary.89
5
+ ### Minor Changes
24
6
 
25
- ## 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:
26
8
 
27
- ## 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.
28
10
 
29
- ## 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))
30
13
 
31
- ## 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))
32
15
 
33
- ## 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))
34
17
 
35
- ## 9.0.0-canary.83
18
+ ### Patch Changes
36
19
 
37
- ## 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))
38
21
 
39
- ## 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))
40
23
 
41
- ## 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))
42
25
 
43
- ## 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))
44
27
 
45
- ## 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))
46
29
 
47
- ## 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))
48
31
 
49
- ## 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))
50
33
 
51
- ## 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))
52
35
 
53
- ## 9.0.0-canary.74
36
+ ## 9.0.0-canary.118
54
37
 
55
- ## 9.0.0-canary.73
38
+ ## 9.0.0-canary.117
56
39
 
57
- ## 9.0.0-canary.72
40
+ ## 9.0.0-canary.116
58
41
 
59
- ## 9.0.0-canary.71
42
+ ## 9.0.0-canary.115
60
43
 
61
44
  ### Patch Changes
62
45
 
63
- - [#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))
64
-
65
- ## 9.0.0-canary.70
66
-
67
- ## 9.0.0-canary.69
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))
68
47
 
69
- ## 9.0.0-canary.68
70
-
71
- ## 9.0.0-canary.67
48
+ ## 9.0.0-canary.114
72
49
 
73
50
  ### Patch Changes
74
51
 
75
- - [#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))
76
-
77
- ## 9.0.0-canary.66
78
-
79
- ## 9.0.0-canary.65
80
-
81
- ## 9.0.0-canary.64
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.63
54
+ ## 9.0.0-canary.113
84
55
 
85
- ## 9.0.0-canary.62
86
-
87
- ## 9.0.0-canary.61
88
-
89
- ## 9.0.0-canary.60
90
-
91
- ## 9.0.0-canary.59
92
-
93
- ### Minor Changes
94
-
95
- - [#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))
56
+ ## 9.0.0-canary.112
96
57
 
97
- ## 9.0.0-canary.58
98
-
99
- ### Minor Changes
58
+ ### Patch Changes
100
59
 
101
- - [#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))
102
61
 
103
- ## 9.0.0-canary.57
62
+ ## 9.0.0-canary.111
104
63
 
105
- ## 9.0.0-canary.56
64
+ ## 9.0.0-canary.110
106
65
 
107
- ## 9.0.0-canary.55
66
+ ## 9.0.0-canary.109
108
67
 
109
- ## 9.0.0-canary.54
68
+ ## 9.0.0-canary.108
110
69
 
111
- ## 8.1.0-canary.53
70
+ ## 9.0.0-canary.107
112
71
 
113
- ## 8.1.0-canary.52
72
+ ## 9.0.0-canary.106
114
73
 
115
- ## 8.1.0-canary.51
74
+ ## 9.0.0-canary.105
116
75
 
117
- ## 8.1.0-canary.50
76
+ ## 9.0.0-canary.104
118
77
 
119
- ## 8.1.0-canary.49
78
+ ## 9.0.0-canary.103
120
79
 
121
- ## 8.1.0-canary.48
80
+ ### Patch Changes
122
81
 
123
- ## 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))
124
83
 
125
- ## 8.1.0-canary.46
84
+ ## 9.0.0-canary.101
126
85
 
127
- ## 8.1.0-canary.45
86
+ ### Minor Changes
128
87
 
129
- ## 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:
130
89
 
131
- ## 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.
132
91
 
133
- ## 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))
134
94
 
135
- ## 8.1.0-canary.41
95
+ ## 9.0.0-canary.71
136
96
 
137
- ## 8.1.0-canary.40
97
+ ### Patch Changes
138
98
 
139
- ## 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))
140
100
 
141
- ## 8.1.0-canary.38
101
+ ## 9.0.0-canary.67
142
102
 
143
- ## 8.1.0-canary.37
103
+ ### Patch Changes
144
104
 
145
- ## 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))
146
106
 
147
- ## 8.1.0-canary.35
107
+ ## 9.0.0-canary.59
148
108
 
149
- ## 8.1.0-canary.34
109
+ ### Minor Changes
150
110
 
151
- ## 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))
152
112
 
153
- ## 8.1.0-canary.32
113
+ ## 9.0.0-canary.58
154
114
 
155
- ## 8.1.0-canary.31
115
+ ### Minor Changes
156
116
 
157
- ## 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))
158
118
 
159
119
  ## 8.1.0-canary.29
160
120
 
@@ -162,368 +122,24 @@
162
122
 
163
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))
164
124
 
165
- ## 8.1.0-canary.28
166
-
167
- ## 8.1.0-canary.27
168
-
169
- ## 8.1.0-canary.26
170
-
171
- ## 8.1.0-canary.25
172
-
173
- ## 8.1.0-canary.24
174
-
175
- ## 8.1.0-canary.23
176
-
177
- ## 8.1.0-canary.22
178
-
179
- ## 8.1.0-canary.21
180
-
181
- ## 8.1.0-canary.20
182
-
183
- ## 8.1.0-canary.19
184
-
185
- ## 8.1.0-canary.18
186
-
187
- ## 8.1.0-canary.17
188
-
189
- ## 8.1.0-canary.16
190
-
191
- ## 8.1.0-canary.15
192
-
193
- ## 8.1.0-canary.14
194
-
195
- ## 8.1.0-canary.13
196
-
197
- ## 8.1.0-canary.12
198
-
199
- ## 8.1.0-canary.11
200
-
201
- ## 8.1.0-canary.10
202
-
203
- ## 8.1.0-canary.9
204
-
205
125
  ## 8.1.0-canary.8
206
126
 
207
127
  ### Patch Changes
208
128
 
209
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))
210
130
 
211
- ## 8.1.0-canary.7
212
-
213
- ## 8.1.0-canary.6
214
-
215
- ## 8.1.0-canary.5
216
-
217
- ## 8.0.6-canary.4
218
-
219
- ## 8.0.6-canary.3
220
-
221
- ## 8.0.6-canary.2
222
-
223
- ## 8.0.6-canary.1
224
-
225
- ## 8.0.6-canary.0
226
-
227
- ## 8.0.5
228
-
229
- ## 8.0.5-canary.10
230
-
231
- ## 8.0.5-canary.9
232
-
233
- ## 8.0.5-canary.8
234
-
235
- ## 8.0.5-canary.7
236
-
237
- ## 8.0.5-canary.6
238
-
239
- ## 8.0.5-canary.5
240
-
241
- ## 8.0.5-canary.4
242
-
243
- ## 8.0.5-canary.3
244
-
245
- ## 8.0.5-canary.2
246
-
247
- ## 8.0.5-canary.1
248
-
249
- ## 8.0.5-canary.0
250
-
251
- ## 8.0.4
252
-
253
- ## 8.0.4-canary.1
254
-
255
- ## 8.0.4-canary.0
256
-
257
- ## 8.0.3
258
-
259
- ## 8.0.3-canary.6
260
-
261
- ## 8.0.3-canary.5
262
-
263
- ## 8.0.3-canary.4
264
-
265
- ## 8.0.3-canary.3
266
-
267
- ## 8.0.3-canary.2
268
-
269
- ## 8.0.3-canary.1
270
-
271
- ## 8.0.3-canary.0
272
-
273
- ## 8.0.2
274
-
275
- ## 8.0.2-canary.3
276
-
277
- ## 8.0.2-canary.2
278
-
279
- ## 8.0.2-canary.1
280
-
281
- ## 8.0.2-canary.0
282
-
283
- ## 8.0.1
284
-
285
- ## 8.0.1-canary.4
286
-
287
- ## 8.0.1-canary.3
288
-
289
- ## 8.0.1-canary.2
290
-
291
- ## 8.0.1-canary.1
292
-
293
- ## 8.0.1-canary.0
294
-
295
131
  ## 8.0.0
296
132
 
297
133
  ### Patch Changes
298
134
 
299
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))
300
136
 
301
- ## 8.0.0-canary.100
302
-
303
- ## 8.0.0-canary.99
304
-
305
- ## 8.0.0-canary.98
306
-
307
- ## 8.0.0-canary.97
308
-
309
- ## 8.0.0-canary.96
310
-
311
- ## 8.0.0-canary.95
312
-
313
- ## 8.0.0-canary.94
314
-
315
- ## 8.0.0-canary.93
316
-
317
- ## 8.0.0-canary.92
318
-
319
- ## 8.0.0-canary.91
320
-
321
- ## 8.0.0-canary.90
322
-
323
- ## 8.0.0-canary.89
324
-
325
- ## 8.0.0-canary.88
326
-
327
- ## 8.0.0-canary.87
328
-
329
- ## 8.0.0-canary.86
330
-
331
- ## 8.0.0-canary.85
332
-
333
- ## 8.0.0-canary.84
334
-
335
- ## 8.0.0-canary.83
336
-
337
- ## 8.0.0-canary.82
338
-
339
- ## 8.0.0-canary.81
340
-
341
- ## 8.0.0-canary.80
342
-
343
- ## 8.0.0-canary.79
344
-
345
- ## 8.0.0-canary.78
346
-
347
- ## 8.0.0-canary.77
348
-
349
- ## 8.0.0-canary.76
350
-
351
- ## 8.0.0-canary.75
352
-
353
- ## 8.0.0-canary.74
354
-
355
- ## 8.0.0-canary.73
356
-
357
- ## 8.0.0-canary.72
358
-
359
- ## 8.0.0-canary.71
360
-
361
- ## 8.0.0-canary.70
362
-
363
- ## 8.0.0-canary.69
364
-
365
- ## 7.1.0-canary.68
366
-
367
- ## 7.1.0-canary.67
368
-
369
- ## 7.1.0-canary.66
370
-
371
- ## 7.1.0-canary.65
372
-
373
- ## 7.1.0-canary.64
374
-
375
- ## 7.1.0-canary.63
376
-
377
- ## 7.1.0-canary.62
378
-
379
- ## 7.1.0-canary.61
380
-
381
- ## 7.1.0-canary.60
382
-
383
- ## 7.1.0-canary.59
384
-
385
- ## 7.1.0-canary.58
386
-
387
- ## 7.1.0-canary.57
388
-
389
- ## 7.1.0-canary.56
390
-
391
- ## 7.1.0-canary.55
392
-
393
- ## 7.1.0-canary.54
394
-
395
- ## 7.1.0-canary.53
396
-
397
- ## 7.1.0-canary.52
398
-
399
- ## 7.1.0-canary.51
400
-
401
- ## 7.1.0-canary.50
402
-
403
- ## 7.1.0-canary.49
404
-
405
- ## 7.1.0-canary.48
406
-
407
- ## 7.1.0-canary.47
408
-
409
- ## 7.1.0-canary.46
410
-
411
- ## 7.1.0-canary.45
412
-
413
- ### Patch Changes
414
-
415
- - [#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))
416
-
417
- ## 7.1.0-canary.38
418
-
419
- ## 7.1.0-canary.37
420
-
421
- ## 7.1.0-canary.36
422
-
423
- ## 7.1.0-canary.35
424
-
425
- ## 7.1.0-canary.34
426
-
427
- ## 7.1.0-canary.33
428
-
429
- ## 7.1.0-canary.32
430
-
431
- ## 7.1.0-canary.31
432
-
433
- ## 7.1.0-canary.30
434
-
435
- ## 7.1.0-canary.29
436
-
437
- ## 7.1.0-canary.28
438
-
439
- ## 7.1.0-canary.27
440
-
441
- ## 7.1.0-canary.26
442
-
443
- ## 7.1.0-canary.25
444
-
445
- ## 7.1.0-canary.24
446
-
447
- ## 7.1.0-canary.23
448
-
449
- ## 7.1.0-canary.22
450
-
451
- ## 7.1.0-canary.21
452
-
453
- ## 7.1.0-canary.20
454
-
455
- ## 7.1.0-canary.19
456
-
457
- ## 7.1.0-canary.18
458
-
459
- ## 7.1.0-canary.17
460
-
461
- ## 7.1.0-canary.16
462
-
463
- ## 7.1.0-canary.15
464
-
465
- ## 7.1.0-canary.14
466
-
467
- ## 7.1.0-canary.13
468
-
469
- ## 7.1.0-canary.12
470
-
471
- ## 7.1.0-canary.11
472
-
473
- ## 7.1.0-canary.10
474
-
475
- ## 7.1.0-canary.9
476
-
477
- ## 7.1.0-canary.8
478
-
479
- ## 7.0.2-canary.7
480
-
481
- ## 7.0.2-canary.6
482
-
483
- ## 7.0.2-canary.5
484
-
485
137
  ## 7.0.1
486
138
 
487
139
  ### Patch Changes
488
140
 
489
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))
490
142
 
491
- ## 7.0.1-canary.15
492
-
493
- ## 7.0.1-canary.14
494
-
495
- ## 7.0.1-canary.13
496
-
497
- ## 7.0.1-canary.12
498
-
499
- ## 7.0.1-canary.11
500
-
501
- ## 7.0.1-canary.10
502
-
503
- ## 7.0.1-canary.9
504
-
505
- ## 7.0.1-canary.8
506
-
507
- ## 7.0.1-canary.7
508
-
509
- ## 7.0.1-canary.6
510
-
511
- ## 7.0.1-canary.5
512
-
513
- ## 7.0.1-canary.4
514
-
515
- ## 7.0.1-canary.3
516
-
517
- ## 7.0.1-canary.2
518
-
519
- ## 7.0.1-canary.1
520
-
521
- ## 7.0.1-canary.0
522
-
523
- ### Patch Changes
524
-
525
- - [#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))
526
-
527
143
  ## 7.0.0
528
144
 
529
145
  ### Patch Changes
@@ -536,224 +152,6 @@
536
152
 
537
153
  - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
538
154
 
539
- ## 6.2.0-canary.98
540
-
541
- ### Patch Changes
542
-
543
- - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
544
-
545
- ## 6.2.0-canary.97
546
-
547
- ## 6.2.0-canary.96
548
-
549
- ## 6.2.0-canary.95
550
-
551
- ## 6.2.0-canary.94
552
-
553
- ## 6.2.0-canary.93
554
-
555
- ## 6.2.0-canary.92
556
-
557
- ## 6.2.0-canary.91
558
-
559
- ## 6.2.0-canary.90
560
-
561
- ## 6.2.0-canary.89
562
-
563
- ## 6.2.0-canary.88
564
-
565
- ## 6.2.0-canary.87
566
-
567
- ## 6.2.0-canary.86
568
-
569
- ## 6.2.0-canary.85
570
-
571
- ## 6.2.0-canary.84
572
-
573
- ## 6.2.0-canary.83
574
-
575
- ## 6.2.0-canary.82
576
-
577
- ## 6.2.0-canary.81
578
-
579
- ## 6.2.0-canary.80
580
-
581
- ## 6.2.0-canary.79
582
-
583
- ## 6.2.0-canary.78
584
-
585
- ## 6.2.0-canary.77
586
-
587
- ## 6.2.0-canary.76
588
-
589
- ## 6.2.0-canary.75
590
-
591
- ## 6.2.0-canary.74
592
-
593
- ## 6.2.0-canary.73
594
-
595
- ## 6.2.0-canary.72
596
-
597
- ## 6.2.0-canary.71
598
-
599
- ## 6.2.0-canary.70
600
-
601
- ## 6.2.0-canary.69
602
-
603
- ### Patch Changes
604
-
605
- - [#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))
606
-
607
- ## 6.2.0-canary.68
608
-
609
- ## 6.2.0-canary.67
610
-
611
- ### Patch Changes
612
-
613
- - [#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))
614
-
615
- ## 6.2.0-canary.66
616
-
617
- ## 6.2.0-canary.65
618
-
619
- ## 6.2.0-canary.64
620
-
621
- ## 6.2.0-canary.63
622
-
623
- ## 6.2.0-canary.62
624
-
625
- ## 6.2.0-canary.61
626
-
627
- ## 6.2.0-canary.60
628
-
629
- ## 6.2.0-canary.59
630
-
631
- ## 6.2.0-canary.58
632
-
633
- ## 6.2.0-canary.57
634
-
635
- ## 6.2.0-canary.56
636
-
637
- ## 6.2.0-canary.55
638
-
639
- ## 6.2.0-canary.54
640
-
641
- ## 6.2.0-canary.53
642
-
643
- ## 6.2.0-canary.52
644
-
645
- ## 6.2.0-canary.51
646
-
647
- ## 6.2.0-canary.50
648
-
649
- ## 6.2.0-canary.49
650
-
651
- ## 6.2.0-canary.48
652
-
653
- ## 6.2.0-canary.47
654
-
655
- ## 6.2.0-canary.46
656
-
657
- ## 6.2.0-canary.45
658
-
659
- ## 6.2.0-canary.44
660
-
661
- ## 6.2.0-canary.43
662
-
663
- ## 6.2.0-canary.42
664
-
665
- ## 6.2.0-canary.41
666
-
667
- ### Patch Changes
668
-
669
- - [#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))
670
-
671
- ## 6.2.0-canary.40
672
-
673
- ## 6.2.0-canary.39
674
-
675
- ## 6.2.0-canary.38
676
-
677
- ## 6.2.0-canary.37
678
-
679
- ## 6.2.0-canary.36
680
-
681
- ## 6.2.0-canary.35
682
-
683
- ## 6.2.0-canary.34
684
-
685
- ## 6.2.0-canary.33
686
-
687
- ## 6.2.0-canary.32
688
-
689
- ## 6.2.0-canary.31
690
-
691
- ## 6.2.0-canary.30
692
-
693
- ## 6.2.0-canary.29
694
-
695
- ## 6.2.0-canary.28
696
-
697
- ## 6.2.0-canary.27
698
-
699
- ## 6.2.0-canary.26
700
-
701
- ## 6.2.0-canary.25
702
-
703
- ## 6.2.0-canary.24
704
-
705
- ## 6.2.0-canary.23
706
-
707
- ## 6.2.0-canary.22
708
-
709
- ## 6.2.0-canary.21
710
-
711
- ## 6.2.0-canary.20
712
-
713
- ## 6.2.0-canary.19
714
-
715
- ## 6.2.0-canary.18
716
-
717
- ## 6.2.0-canary.17
718
-
719
- ## 6.2.0-canary.16
720
-
721
- ## 6.2.0-canary.15
722
-
723
- ## 6.2.0-canary.14
724
-
725
- ## 6.2.0-canary.13
726
-
727
- ### Patch Changes
728
-
729
- - [#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))
730
-
731
- ## 6.2.0-canary.12
732
-
733
- ## 6.2.0-canary.11
734
-
735
- ## 6.2.0-canary.10
736
-
737
- ## 6.2.0-canary.9
738
-
739
- ## 6.2.0-canary.8
740
-
741
- ## 6.2.0-canary.7
742
-
743
- ## 6.2.0-canary.6
744
-
745
- ## 6.1.1-canary.5
746
-
747
- ## 6.1.1-canary.4
748
-
749
- ## 6.1.1-canary.3
750
-
751
- ## 6.1.1-canary.2
752
-
753
- ## 6.1.1-canary.1
754
-
755
- ## 6.1.1-canary.0
756
-
757
155
  ## 6.1.0
758
156
 
759
157
  ### Minor Changes
@@ -762,210 +160,18 @@
762
160
 
763
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))
764
162
 
765
- ## 6.0.2-canary.22
766
-
767
- ## 6.0.2-canary.21
768
-
769
- ## 6.0.2-canary.20
770
-
771
- ## 6.0.2-canary.19
772
-
773
- ## 6.0.2-canary.18
774
-
775
- ## 6.0.2-canary.17
776
-
777
- ## 6.0.2-canary.16
778
-
779
- ## 6.0.2-canary.15
780
-
781
- ## 6.0.2-canary.14
782
-
783
- ## 6.0.2-canary.13
784
-
785
- ## 6.0.2-canary.12
786
-
787
- ## 6.0.2-canary.11
788
-
789
- ## 6.0.2-canary.10
790
-
791
- ## 6.0.2-canary.9
792
-
793
- ## 6.0.2-canary.8
794
-
795
- ## 6.0.2-canary.7
796
-
797
- ## 6.0.2-canary.6
798
-
799
- ## 6.0.2-canary.5
800
-
801
- ## 6.0.2-canary.4
802
-
803
- ### Patch Changes
804
-
805
- - [#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))
806
-
807
- - [#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))
808
-
809
- ## 6.0.2-canary.3
810
-
811
- ## 6.0.2-canary.2
812
-
813
- ## 6.0.2-canary.1
814
-
815
- ## 6.0.2-canary.0
816
-
817
- ## 6.0.1
818
-
819
- ## 6.0.1-canary.7
820
-
821
- ## 6.0.1-canary.6
822
-
823
- ## 6.0.1-canary.5
824
-
825
- ## 6.0.1-canary.4
826
-
827
- ## 6.0.1-canary.3
828
-
829
- ## 6.0.1-canary.2
830
-
831
- ## 6.0.1-canary.1
832
-
833
- ## 6.0.1-canary.0
834
-
835
163
  ## 6.0.0
836
164
 
837
165
  ### Patch Changes
838
166
 
839
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))
840
168
 
841
- ## 6.0.0-canary.54
842
-
843
- ## 6.0.0-canary.53
844
-
845
- ## 6.0.0-canary.52
846
-
847
- ## 6.0.0-canary.51
848
-
849
- ## 6.0.0-canary.50
850
-
851
- ## 6.0.0-canary.49
852
-
853
- ## 6.0.0-canary.48
854
-
855
- ## 6.0.0-canary.47
856
-
857
- ## 6.0.0-canary.46
858
-
859
- ## 6.0.0-canary.45
860
-
861
- ## 6.0.0-canary.44
862
-
863
- ## 6.0.0-canary.43
864
-
865
- ## 6.0.0-canary.42
866
-
867
- ## 6.0.0-canary.41
868
-
869
- ## 6.0.0-canary.40
870
-
871
- ## 6.0.0-canary.39
872
-
873
- ## 6.0.0-canary.38
874
-
875
- ## 6.0.0-canary.37
876
-
877
- ## 6.0.0-canary.36
878
-
879
- ## 6.0.0-canary.35
880
-
881
- ## 6.0.0-canary.34
882
-
883
- ## 6.0.0-canary.33
884
-
885
- ## 6.0.0-canary.32
886
-
887
- ## 6.0.0-canary.31
888
-
889
- ## 6.0.0-canary.30
890
-
891
- ## 6.0.0-canary.29
892
-
893
- ## 6.0.0-canary.28
894
-
895
- ## 6.0.0-canary.27
896
-
897
- ### Patch Changes
898
-
899
- - [#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))
900
-
901
- ## 6.0.0-canary.26
902
-
903
- ## 6.0.0-canary.25
904
-
905
- ## 6.0.0-canary.24
906
-
907
- ## 6.0.0-canary.23
908
-
909
- ## 6.0.0-canary.22
910
-
911
- ## 6.0.0-canary.21
912
-
913
- ## 6.0.0-canary.20
914
-
915
- ## 5.2.0-canary.19
916
-
917
- ## 5.2.0-canary.18
918
-
919
- ## 5.2.0-canary.17
920
-
921
- ## 5.2.0-canary.16
922
-
923
- ## 5.2.0-canary.15
924
-
925
- ## 5.2.0-canary.14
926
-
927
- ## 5.2.0-canary.13
928
-
929
- ## 5.2.0-canary.12
930
-
931
- ## 5.2.0-canary.11
932
-
933
- ## 5.2.0-canary.10
934
-
935
- ## 5.2.0-canary.9
936
-
937
- ## 5.2.0-canary.8
938
-
939
- ## 5.2.0-canary.7
940
-
941
- ## 5.2.0-canary.6
942
-
943
- ## 5.2.0-canary.5
944
-
945
- ## 5.2.0-canary.4
946
-
947
- ## 5.2.0-canary.3
948
-
949
- ## 5.2.0-canary.2
950
-
951
- ## 5.2.0-canary.1
952
-
953
- ## 5.2.0-canary.0
954
-
955
169
  ## 5.1.1
956
170
 
957
171
  ### Patch Changes
958
172
 
959
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))
960
174
 
961
- ## 5.1.1-canary.1
962
-
963
- ### Patch Changes
964
-
965
- - [#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))
966
-
967
- ## 5.1.1-canary.0
968
-
969
175
  ## 5.1.0
970
176
 
971
177
  ### Minor Changes
@@ -987,103 +193,18 @@
987
193
  - Upgraded dependencies including type-fest and graphql-mesh
988
194
  - Solved peer dependency issues ([@paales](https://github.com/paales))
989
195
 
990
- ## 5.1.0-canary.11
991
-
992
- ## 5.1.0-canary.10
993
-
994
- ### Patch Changes
995
-
996
- - [#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))
997
-
998
- ## 5.1.0-canary.9
999
-
1000
- ## 5.1.0-canary.8
1001
-
1002
- ## 5.1.0-canary.7
1003
-
1004
- ## 5.1.0-canary.6
1005
-
1006
- ## 5.1.0-canary.5
1007
-
1008
- ### Patch Changes
1009
-
1010
- - [`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))
1011
-
1012
- ## 5.1.0-canary.4
1013
-
1014
- ### Minor Changes
1015
-
1016
- - [#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))
1017
-
1018
- ## 5.1.0-canary.3
1019
-
1020
- ### Patch Changes
1021
-
1022
- - [#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))
1023
-
1024
- - [#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.
1025
-
1026
- - Updated the @mui/material package
1027
- - Removed dependencies on react-hook-form-mui and @playwright/test
1028
- - Upgraded dependencies including type-fest and graphql-mesh
1029
- - Solved peer dependency issues ([@paales](https://github.com/paales))
1030
-
1031
- ## 5.1.0-canary.2
1032
-
1033
- ## 5.1.0-canary.1
1034
-
1035
- ## 5.1.0-canary.0
1036
-
1037
196
  ## 5.0.0
1038
197
 
1039
198
  ### Major Changes
1040
199
 
1041
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))
1042
201
 
1043
- ## 5.0.0-canary.14
1044
-
1045
- ## 5.0.0-canary.9
1046
-
1047
- ### Major Changes
1048
-
1049
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1050
-
1051
- ## 4.31.0-canary.8
1052
-
1053
- ## 4.31.0-canary.7
1054
-
1055
- ## 4.31.0-canary.6
1056
-
1057
- ## 4.31.0-canary.5
1058
-
1059
- ## 4.31.0-canary.4
1060
-
1061
- ## 4.31.0-canary.3
1062
-
1063
- ## 4.31.0-canary.2
1064
-
1065
- ## 4.31.0-canary.1
1066
-
1067
- ## 4.31.0-canary.0
1068
-
1069
- ## 4.30.2
1070
-
1071
- ## 4.30.1
1072
-
1073
202
  ## 4.30.0
1074
203
 
1075
204
  ### Patch Changes
1076
205
 
1077
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
1078
207
 
1079
- ## 4.30.0-canary.1
1080
-
1081
- ### Patch Changes
1082
-
1083
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1084
-
1085
- ## 4.30.0-canary.0
1086
-
1087
208
  ## 4.2.0
1088
209
 
1089
210
  ### Minor Changes
@@ -1300,8 +421,6 @@ All notable changes to this project will be documented in this file. See [Conven
1300
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))
1301
422
  - upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
1302
423
 
1303
- ## 2.0.8 (2020-10-28)
1304
-
1305
424
  ## 2.0.7 (2020-10-28)
1306
425
 
1307
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.99",
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.99",
39
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.99",
40
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.99",
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) {