@graphcommerce/graphql-mesh 8.1.0-canary.5 → 8.1.0-canary.52
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 +104 -0
- package/api/createEnvelop.ts +15 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,109 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.1.0-canary.52
|
|
4
|
+
|
|
5
|
+
## 8.1.0-canary.51
|
|
6
|
+
|
|
7
|
+
## 8.1.0-canary.50
|
|
8
|
+
|
|
9
|
+
## 8.1.0-canary.49
|
|
10
|
+
|
|
11
|
+
## 8.1.0-canary.48
|
|
12
|
+
|
|
13
|
+
## 8.1.0-canary.47
|
|
14
|
+
|
|
15
|
+
## 8.1.0-canary.46
|
|
16
|
+
|
|
17
|
+
## 8.1.0-canary.45
|
|
18
|
+
|
|
19
|
+
## 8.1.0-canary.44
|
|
20
|
+
|
|
21
|
+
## 8.1.0-canary.43
|
|
22
|
+
|
|
23
|
+
## 8.1.0-canary.42
|
|
24
|
+
|
|
25
|
+
## 8.1.0-canary.41
|
|
26
|
+
|
|
27
|
+
## 8.1.0-canary.40
|
|
28
|
+
|
|
29
|
+
## 8.1.0-canary.39
|
|
30
|
+
|
|
31
|
+
## 8.1.0-canary.38
|
|
32
|
+
|
|
33
|
+
## 8.1.0-canary.37
|
|
34
|
+
|
|
35
|
+
## 8.1.0-canary.36
|
|
36
|
+
|
|
37
|
+
## 8.1.0-canary.35
|
|
38
|
+
|
|
39
|
+
## 8.1.0-canary.34
|
|
40
|
+
|
|
41
|
+
## 8.1.0-canary.33
|
|
42
|
+
|
|
43
|
+
## 8.1.0-canary.32
|
|
44
|
+
|
|
45
|
+
## 8.1.0-canary.31
|
|
46
|
+
|
|
47
|
+
## 8.1.0-canary.30
|
|
48
|
+
|
|
49
|
+
## 8.1.0-canary.29
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- [#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
|
|
54
|
+
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
55
|
+
|
|
56
|
+
## 8.1.0-canary.28
|
|
57
|
+
|
|
58
|
+
## 8.1.0-canary.27
|
|
59
|
+
|
|
60
|
+
## 8.1.0-canary.26
|
|
61
|
+
|
|
62
|
+
## 8.1.0-canary.25
|
|
63
|
+
|
|
64
|
+
## 8.1.0-canary.24
|
|
65
|
+
|
|
66
|
+
## 8.1.0-canary.23
|
|
67
|
+
|
|
68
|
+
## 8.1.0-canary.22
|
|
69
|
+
|
|
70
|
+
## 8.1.0-canary.21
|
|
71
|
+
|
|
72
|
+
## 8.1.0-canary.20
|
|
73
|
+
|
|
74
|
+
## 8.1.0-canary.19
|
|
75
|
+
|
|
76
|
+
## 8.1.0-canary.18
|
|
77
|
+
|
|
78
|
+
## 8.1.0-canary.17
|
|
79
|
+
|
|
80
|
+
## 8.1.0-canary.16
|
|
81
|
+
|
|
82
|
+
## 8.1.0-canary.15
|
|
83
|
+
|
|
84
|
+
## 8.1.0-canary.14
|
|
85
|
+
|
|
86
|
+
## 8.1.0-canary.13
|
|
87
|
+
|
|
88
|
+
## 8.1.0-canary.12
|
|
89
|
+
|
|
90
|
+
## 8.1.0-canary.11
|
|
91
|
+
|
|
92
|
+
## 8.1.0-canary.10
|
|
93
|
+
|
|
94
|
+
## 8.1.0-canary.9
|
|
95
|
+
|
|
96
|
+
## 8.1.0-canary.8
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- [#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
|
|
101
|
+
([@paales](https://github.com/paales))
|
|
102
|
+
|
|
103
|
+
## 8.1.0-canary.7
|
|
104
|
+
|
|
105
|
+
## 8.1.0-canary.6
|
|
106
|
+
|
|
3
107
|
## 8.1.0-canary.5
|
|
4
108
|
|
|
5
109
|
## 8.0.6-canary.4
|
package/api/createEnvelop.ts
CHANGED
|
@@ -7,5 +7,19 @@ const handler = createBuiltMeshHTTPHandler()
|
|
|
7
7
|
export const createServer = async (endpoint: string) => {
|
|
8
8
|
if (endpoint !== '/api/graphql')
|
|
9
9
|
throw Error('Moving the GraphQL Endpoint is not supported at the moment')
|
|
10
|
-
return (req: NextApiRequest, res: NextApiResponse) =>
|
|
10
|
+
return (req: NextApiRequest, res: NextApiResponse) => {
|
|
11
|
+
res.setHeader('Access-Control-Allow-Origin', req.headers.origin || '*')
|
|
12
|
+
const requestedHeaders = req.headers['access-control-request-headers']
|
|
13
|
+
if (requestedHeaders) {
|
|
14
|
+
res.setHeader('Access-Control-Allow-Headers', requestedHeaders)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (req.method === 'OPTIONS') {
|
|
18
|
+
res.status(200)
|
|
19
|
+
res.end()
|
|
20
|
+
return
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
handler(req, res)
|
|
24
|
+
}
|
|
11
25
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/graphql-mesh",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.1.0-canary.
|
|
5
|
+
"version": "8.1.0-canary.52",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@graphql-mesh/apollo-link": "latest",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@apollo/client": "^3",
|
|
29
|
-
"@graphcommerce/eslint-config-pwa": "^8.1.0-canary.
|
|
30
|
-
"@graphcommerce/prettier-config-pwa": "^8.1.0-canary.
|
|
31
|
-
"@graphcommerce/typescript-config-pwa": "^8.1.0-canary.
|
|
29
|
+
"@graphcommerce/eslint-config-pwa": "^8.1.0-canary.52",
|
|
30
|
+
"@graphcommerce/prettier-config-pwa": "^8.1.0-canary.52",
|
|
31
|
+
"@graphcommerce/typescript-config-pwa": "^8.1.0-canary.52",
|
|
32
32
|
"graphql": "^16.7.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|