@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/hmac-upstream-signature",
3
- "version": "0.3.6",
3
+ "version": "0.4.0-alpha-20240827090746-2c2551cd69570f1ca516afdeb8617a150590bdcb",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@graphql-mesh/types": "^0.102.4",
@@ -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 { MeshServePlugin } from '@graphql-mesh/serve-runtime';
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): MeshServePlugin;
13
+ export declare function useHmacUpstreamSignature(options: HMACUpstreamSignatureOptions): GatewayPlugin;
14
14
  export type HMACUpstreamSignatureValidationOptions = {
15
15
  secret: string;
16
16
  extensionName?: string;
@@ -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 { MeshServePlugin } from '@graphql-mesh/serve-runtime';
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): MeshServePlugin;
13
+ export declare function useHmacUpstreamSignature(options: HMACUpstreamSignatureOptions): GatewayPlugin;
14
14
  export type HMACUpstreamSignatureValidationOptions = {
15
15
  secret: string;
16
16
  extensionName?: string;