@graphql-mesh/hmac-upstream-signature 0.3.6-alpha-20240826111918-aa6a31cd01152812298921e92a577fe46dbcd8af → 0.4.0-alpha-20240827090746-2c2551cd69570f1ca516afdeb8617a150590bdcb
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/typings/index.d.cts +2 -2
- package/typings/index.d.ts +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-mesh/hmac-upstream-signature",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.4.0-alpha-20240827090746-2c2551cd69570f1ca516afdeb8617a150590bdcb",
|
4
4
|
"sideEffects": false,
|
5
5
|
"peerDependencies": {
|
6
6
|
"@graphql-mesh/types": "^0.102.4",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"tslib": "^2.4.0"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
|
-
"@graphql-mesh/transport-common": "0.7.5
|
12
|
+
"@graphql-mesh/transport-common": "^0.7.5",
|
13
13
|
"json-stable-stringify": "^1.1.1"
|
14
14
|
},
|
15
15
|
"repository": {
|
package/typings/index.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { GraphQLParams, Plugin as YogaPlugin } from 'graphql-yoga';
|
2
2
|
import type { OnSubgraphExecutePayload } from '@graphql-mesh/fusion-runtime';
|
3
|
-
import type {
|
3
|
+
import type { GatewayPlugin } from '@graphql-mesh/serve-runtime';
|
4
4
|
import type { ExecutionRequest } from '@graphql-tools/utils';
|
5
5
|
export type HMACUpstreamSignatureOptions = {
|
6
6
|
secret: string;
|
@@ -10,7 +10,7 @@ export type HMACUpstreamSignatureOptions = {
|
|
10
10
|
};
|
11
11
|
export declare const defaultExecutionRequestSerializer: (executionRequest: ExecutionRequest) => any;
|
12
12
|
export declare const defaultParamsSerializer: (params: GraphQLParams) => any;
|
13
|
-
export declare function useHmacUpstreamSignature(options: HMACUpstreamSignatureOptions):
|
13
|
+
export declare function useHmacUpstreamSignature(options: HMACUpstreamSignatureOptions): GatewayPlugin;
|
14
14
|
export type HMACUpstreamSignatureValidationOptions = {
|
15
15
|
secret: string;
|
16
16
|
extensionName?: string;
|
package/typings/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { GraphQLParams, Plugin as YogaPlugin } from 'graphql-yoga';
|
2
2
|
import type { OnSubgraphExecutePayload } from '@graphql-mesh/fusion-runtime';
|
3
|
-
import type {
|
3
|
+
import type { GatewayPlugin } from '@graphql-mesh/serve-runtime';
|
4
4
|
import type { ExecutionRequest } from '@graphql-tools/utils';
|
5
5
|
export type HMACUpstreamSignatureOptions = {
|
6
6
|
secret: string;
|
@@ -10,7 +10,7 @@ export type HMACUpstreamSignatureOptions = {
|
|
10
10
|
};
|
11
11
|
export declare const defaultExecutionRequestSerializer: (executionRequest: ExecutionRequest) => any;
|
12
12
|
export declare const defaultParamsSerializer: (params: GraphQLParams) => any;
|
13
|
-
export declare function useHmacUpstreamSignature(options: HMACUpstreamSignatureOptions):
|
13
|
+
export declare function useHmacUpstreamSignature(options: HMACUpstreamSignatureOptions): GatewayPlugin;
|
14
14
|
export type HMACUpstreamSignatureValidationOptions = {
|
15
15
|
secret: string;
|
16
16
|
extensionName?: string;
|