@quiltt/core 5.1.1 → 5.1.2
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,5 +1,11 @@
|
|
|
1
1
|
# @quiltt/core
|
|
2
2
|
|
|
3
|
+
## 5.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#423](https://github.com/quiltt/quiltt-js/pull/423) [`aca4d51`](https://github.com/quiltt/quiltt-js/commit/aca4d51bc699f80e50977d28b120280db9a4414d) Thanks [@sirwolfgang](https://github.com/sirwolfgang)! - Fix VersionLink to allow custom Quiltt-SDK-Agent header override
|
|
8
|
+
|
|
3
9
|
## 5.1.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -199,9 +199,9 @@ const createVersionLink = (platformInfo)=>{
|
|
|
199
199
|
return new core.ApolloLink((operation, forward)=>{
|
|
200
200
|
operation.setContext(({ headers = {} })=>({
|
|
201
201
|
headers: {
|
|
202
|
-
...headers,
|
|
203
202
|
'Quiltt-Client-Version': index_cjs.version,
|
|
204
|
-
'Quiltt-SDK-Agent': sdkAgent
|
|
203
|
+
'Quiltt-SDK-Agent': sdkAgent,
|
|
204
|
+
...headers
|
|
205
205
|
}
|
|
206
206
|
}));
|
|
207
207
|
return forward(operation);
|
|
@@ -194,9 +194,9 @@ const createVersionLink = (platformInfo)=>{
|
|
|
194
194
|
return new ApolloLink((operation, forward)=>{
|
|
195
195
|
operation.setContext(({ headers = {} })=>({
|
|
196
196
|
headers: {
|
|
197
|
-
...headers,
|
|
198
197
|
'Quiltt-Client-Version': version,
|
|
199
|
-
'Quiltt-SDK-Agent': sdkAgent
|
|
198
|
+
'Quiltt-SDK-Agent': sdkAgent,
|
|
199
|
+
...headers
|
|
200
200
|
}
|
|
201
201
|
}));
|
|
202
202
|
return forward(operation);
|
package/dist/config/index.cjs
CHANGED
package/dist/config/index.js
CHANGED
package/package.json
CHANGED
|
@@ -10,9 +10,9 @@ export const createVersionLink = (platformInfo: string) => {
|
|
|
10
10
|
return new ApolloLink((operation, forward) => {
|
|
11
11
|
operation.setContext(({ headers = {} }) => ({
|
|
12
12
|
headers: {
|
|
13
|
-
...headers,
|
|
14
13
|
'Quiltt-Client-Version': version,
|
|
15
14
|
'Quiltt-SDK-Agent': sdkAgent,
|
|
15
|
+
...headers,
|
|
16
16
|
},
|
|
17
17
|
}))
|
|
18
18
|
return forward(operation)
|