@graphcommerce/graphql-mesh 9.0.0-canary.99 → 9.0.1-canary.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,122 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.99
3
+ ## 9.0.1-canary.0
4
4
 
5
- ## 9.0.0-canary.98
5
+ ## 9.0.0
6
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
7
+ ### Minor Changes
24
8
 
25
- ## 9.0.0-canary.88
9
+ - [#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
10
 
27
- ## 9.0.0-canary.87
11
+ 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
12
 
29
- ## 9.0.0-canary.86
13
+ 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.
14
+ 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
15
 
31
- ## 9.0.0-canary.85
16
+ - [#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
17
 
33
- ## 9.0.0-canary.84
18
+ - [#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
19
 
35
- ## 9.0.0-canary.83
20
+ ### Patch Changes
36
21
 
37
- ## 9.0.0-canary.82
22
+ - [#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
23
 
39
- ## 9.0.0-canary.81
24
+ - [#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
25
 
41
- ## 9.0.0-canary.80
26
+ - [#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
27
 
43
- ## 9.0.0-canary.79
28
+ - [`f28f11c`](https://github.com/graphcommerce-org/graphcommerce/commit/f28f11cf2821b3fd50c3147558f559d808b1046e) - Pin versions of @graphql-mesh/config and utils ([@paales](https://github.com/paales))
44
29
 
45
- ## 9.0.0-canary.78
30
+ - [#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
31
 
47
- ## 9.0.0-canary.77
32
+ - [#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
33
 
49
- ## 9.0.0-canary.76
34
+ - [#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
35
 
51
- ## 9.0.0-canary.75
36
+ - [#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
37
 
53
- ## 9.0.0-canary.74
38
+ ## 9.0.0-canary.118
54
39
 
55
- ## 9.0.0-canary.73
40
+ ## 9.0.0-canary.117
56
41
 
57
- ## 9.0.0-canary.72
42
+ ## 9.0.0-canary.116
58
43
 
59
- ## 9.0.0-canary.71
44
+ ## 9.0.0-canary.115
60
45
 
61
46
  ### Patch Changes
62
47
 
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
48
+ - [#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))
66
49
 
67
- ## 9.0.0-canary.69
68
-
69
- ## 9.0.0-canary.68
70
-
71
- ## 9.0.0-canary.67
50
+ ## 9.0.0-canary.114
72
51
 
73
52
  ### Patch Changes
74
53
 
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
82
-
83
- ## 9.0.0-canary.63
54
+ - [#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))
84
55
 
85
- ## 9.0.0-canary.62
56
+ ## 9.0.0-canary.113
86
57
 
87
- ## 9.0.0-canary.61
58
+ ## 9.0.0-canary.112
88
59
 
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))
96
-
97
- ## 9.0.0-canary.58
98
-
99
- ### Minor Changes
60
+ ### Patch Changes
100
61
 
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))
62
+ - [`f28f11c`](https://github.com/graphcommerce-org/graphcommerce/commit/f28f11cf2821b3fd50c3147558f559d808b1046e) - Pin versions of @graphql-mesh/config and utils ([@paales](https://github.com/paales))
102
63
 
103
- ## 9.0.0-canary.57
64
+ ## 9.0.0-canary.111
104
65
 
105
- ## 9.0.0-canary.56
66
+ ## 9.0.0-canary.110
106
67
 
107
- ## 9.0.0-canary.55
68
+ ## 9.0.0-canary.109
108
69
 
109
- ## 9.0.0-canary.54
70
+ ## 9.0.0-canary.108
110
71
 
111
- ## 8.1.0-canary.53
72
+ ## 9.0.0-canary.107
112
73
 
113
- ## 8.1.0-canary.52
74
+ ## 9.0.0-canary.106
114
75
 
115
- ## 8.1.0-canary.51
76
+ ## 9.0.0-canary.105
116
77
 
117
- ## 8.1.0-canary.50
78
+ ## 9.0.0-canary.104
118
79
 
119
- ## 8.1.0-canary.49
80
+ ## 9.0.0-canary.103
120
81
 
121
- ## 8.1.0-canary.48
82
+ ### Patch Changes
122
83
 
123
- ## 8.1.0-canary.47
84
+ - [#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
85
 
125
- ## 8.1.0-canary.46
86
+ ## 9.0.0-canary.101
126
87
 
127
- ## 8.1.0-canary.45
88
+ ### Minor Changes
128
89
 
129
- ## 8.1.0-canary.44
90
+ - [#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
91
 
131
- ## 8.1.0-canary.43
92
+ 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
93
 
133
- ## 8.1.0-canary.42
94
+ 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.
95
+ 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
96
 
135
- ## 8.1.0-canary.41
97
+ ## 9.0.0-canary.71
136
98
 
137
- ## 8.1.0-canary.40
99
+ ### Patch Changes
138
100
 
139
- ## 8.1.0-canary.39
101
+ - [#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
102
 
141
- ## 8.1.0-canary.38
103
+ ## 9.0.0-canary.67
142
104
 
143
- ## 8.1.0-canary.37
105
+ ### Patch Changes
144
106
 
145
- ## 8.1.0-canary.36
107
+ - [#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
108
 
147
- ## 8.1.0-canary.35
109
+ ## 9.0.0-canary.59
148
110
 
149
- ## 8.1.0-canary.34
111
+ ### Minor Changes
150
112
 
151
- ## 8.1.0-canary.33
113
+ - [#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
114
 
153
- ## 8.1.0-canary.32
115
+ ## 9.0.0-canary.58
154
116
 
155
- ## 8.1.0-canary.31
117
+ ### Minor Changes
156
118
 
157
- ## 8.1.0-canary.30
119
+ - [#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
120
 
159
121
  ## 8.1.0-canary.29
160
122
 
@@ -162,368 +124,24 @@
162
124
 
163
125
  - [#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
126
 
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
127
  ## 8.1.0-canary.8
206
128
 
207
129
  ### Patch Changes
208
130
 
209
131
  - [#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
132
 
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
133
  ## 8.0.0
296
134
 
297
135
  ### Patch Changes
298
136
 
299
137
  - [#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
138
 
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
139
  ## 7.0.1
486
140
 
487
141
  ### Patch Changes
488
142
 
489
143
  - [#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
144
 
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
145
  ## 7.0.0
528
146
 
529
147
  ### Patch Changes
@@ -536,224 +154,6 @@
536
154
 
537
155
  - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
538
156
 
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
157
  ## 6.1.0
758
158
 
759
159
  ### Minor Changes
@@ -762,210 +162,18 @@
762
162
 
763
163
  - [#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
164
 
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
165
  ## 6.0.0
836
166
 
837
167
  ### Patch Changes
838
168
 
839
169
  - [#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
170
 
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
171
  ## 5.1.1
956
172
 
957
173
  ### Patch Changes
958
174
 
959
175
  - [#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
176
 
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
177
  ## 5.1.0
970
178
 
971
179
  ### Minor Changes
@@ -987,103 +195,18 @@
987
195
  - Upgraded dependencies including type-fest and graphql-mesh
988
196
  - Solved peer dependency issues ([@paales](https://github.com/paales))
989
197
 
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
198
  ## 5.0.0
1038
199
 
1039
200
  ### Major Changes
1040
201
 
1041
202
  - [#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
203
 
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
204
  ## 4.30.0
1074
205
 
1075
206
  ### Patch Changes
1076
207
 
1077
208
  - [#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
209
 
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
210
  ## 4.2.0
1088
211
 
1089
212
  ### Minor Changes
@@ -1300,8 +423,6 @@ All notable changes to this project will be documented in this file. See [Conven
1300
423
  - 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
424
  - upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
1302
425
 
1303
- ## 2.0.8 (2020-10-28)
1304
-
1305
426
  ## 2.0.7 (2020-10-28)
1306
427
 
1307
428
  ### 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.1-canary.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.1-canary.0",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.1-canary.0",
19
+ "@graphcommerce/typescript-config-pwa": "^9.0.1-canary.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) {