@graphql-mesh/hmac-upstream-signature 0.3.6 → 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 +1 -1
- package/typings/index.d.cts +2 -2
- package/typings/index.d.ts +2 -2
package/package.json
CHANGED
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;
|