@graphql-mesh/hmac-upstream-signature 1.2.19-alpha-3df7faeea69a8bf7e4423f5661c1cb8974232f19 → 1.2.19-alpha-46666b03dc63c183695b97fb89eacab35b11ac0a
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 +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @graphql-mesh/hmac-upstream-signature
|
2
2
|
|
3
|
-
## 1.2.19-alpha-
|
3
|
+
## 1.2.19-alpha-46666b03dc63c183695b97fb89eacab35b11ac0a
|
4
4
|
|
5
5
|
### Patch Changes
|
6
6
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
With this change, now we have a shared helper to serialize the upstream execution request with a memoized `print` function for query AST etc to have a consistent serialization so consistent signature generation for HMAC.
|
17
17
|
|
18
18
|
- Updated dependencies [[`73dbe3a`](https://github.com/graphql-hive/gateway/commit/73dbe3a2dabb6b84105c4dac3586696daa3d4fcb)]:
|
19
|
-
- @graphql-tools/executor-common@0.0.1-alpha-
|
19
|
+
- @graphql-tools/executor-common@0.0.1-alpha-46666b03dc63c183695b97fb89eacab35b11ac0a
|
20
20
|
|
21
21
|
## 1.2.18
|
22
22
|
|
package/dist/index.cjs
CHANGED
@@ -84,7 +84,7 @@ function useHmacUpstreamSignature(options) {
|
|
84
84
|
String.fromCharCode(...new Uint8Array(signature))
|
85
85
|
);
|
86
86
|
logger?.debug(
|
87
|
-
`produced hmac signature for subgraph ${subgraphName}, signature: ${
|
87
|
+
`produced hmac signature for subgraph ${subgraphName}, signature: ${extensionValue}, signed payload: ${serializedExecutionRequest}`
|
88
88
|
);
|
89
89
|
setExecutionRequest({
|
90
90
|
...executionRequest,
|
package/dist/index.js
CHANGED
@@ -78,7 +78,7 @@ function useHmacUpstreamSignature(options) {
|
|
78
78
|
String.fromCharCode(...new Uint8Array(signature))
|
79
79
|
);
|
80
80
|
logger?.debug(
|
81
|
-
`produced hmac signature for subgraph ${subgraphName}, signature: ${
|
81
|
+
`produced hmac signature for subgraph ${subgraphName}, signature: ${extensionValue}, signed payload: ${serializedExecutionRequest}`
|
82
82
|
);
|
83
83
|
setExecutionRequest({
|
84
84
|
...executionRequest,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-mesh/hmac-upstream-signature",
|
3
|
-
"version": "1.2.19-alpha-
|
3
|
+
"version": "1.2.19-alpha-46666b03dc63c183695b97fb89eacab35b11ac0a",
|
4
4
|
"type": "module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -45,13 +45,13 @@
|
|
45
45
|
"@graphql-mesh/cross-helpers": "^0.4.9",
|
46
46
|
"@graphql-mesh/types": "^0.103.6",
|
47
47
|
"@graphql-mesh/utils": "^0.103.6",
|
48
|
-
"@graphql-tools/executor-common": "0.0.1-alpha-
|
48
|
+
"@graphql-tools/executor-common": "0.0.1-alpha-46666b03dc63c183695b97fb89eacab35b11ac0a",
|
49
49
|
"@graphql-tools/utils": "^10.7.0",
|
50
50
|
"json-stable-stringify": "^1.1.1",
|
51
51
|
"tslib": "^2.8.1"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
54
|
-
"@graphql-hive/gateway": "1.7.4-alpha-
|
54
|
+
"@graphql-hive/gateway": "1.7.4-alpha-46666b03dc63c183695b97fb89eacab35b11ac0a",
|
55
55
|
"@types/json-stable-stringify": "^1.1.0",
|
56
56
|
"graphql": "^16.9.0",
|
57
57
|
"graphql-yoga": "^5.10.6",
|