@graphql-mesh/transport-ws 1.0.0-alpha-d352828e251746d888cd90161230cd4655e23bb4 → 1.0.0-alpha-7e26045e711907070b7236c41b9ed6a3906eb150

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,6 +1,6 @@
1
1
  # @graphql-mesh/transport-ws
2
2
 
3
- ## 1.0.0-alpha-d352828e251746d888cd90161230cd4655e23bb4
3
+ ## 1.0.0-alpha-7e26045e711907070b7236c41b9ed6a3906eb150
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -24,7 +24,7 @@
24
24
  - Added dependency [`isomorphic-ws@^5.0.0` ↗︎](https://www.npmjs.com/package/isomorphic-ws/v/5.0.0) (to `dependencies`)
25
25
 
26
26
  - Updated dependencies [[`9a763a5`](https://github.com/graphql-hive/gateway/commit/9a763a5de54ad4b033f410d6623da4cde79bd2b6), [`ddc90f3`](https://github.com/graphql-hive/gateway/commit/ddc90f330beb5551df50abf26b0a07d5c4d4f0b4), [`ddc90f3`](https://github.com/graphql-hive/gateway/commit/ddc90f330beb5551df50abf26b0a07d5c4d4f0b4), [`a4cb5cc`](https://github.com/graphql-hive/gateway/commit/a4cb5cc9b2807ccae5ce3631eb3705d929ee4599)]:
27
- - @graphql-tools/executor-graphql-ws@2.0.0-alpha-d352828e251746d888cd90161230cd4655e23bb4
27
+ - @graphql-tools/executor-graphql-ws@2.0.0-alpha-7e26045e711907070b7236c41b9ed6a3906eb150
28
28
 
29
29
  ## 0.4.16
30
30
 
package/dist/index.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _graphql_mesh_transport_common from '@graphql-mesh/transport-common';
2
2
  import { DisposableExecutor } from '@graphql-mesh/transport-common';
3
- import { buildGraphQLWSExecutor } from '@graphql-tools/executor-graphql-ws';
3
+ import { DisposableAsyncExecutor } from '@graphql-tools/utils';
4
+ import { Client } from 'graphql-ws';
4
5
 
5
6
  interface WSTransportOptions {
6
7
  /**
@@ -11,7 +12,7 @@ interface WSTransportOptions {
11
12
  connectionParams?: Record<string, string>;
12
13
  }
13
14
  declare const _default: {
14
- getSubgraphExecutor({ transportEntry, logger }: _graphql_mesh_transport_common.TransportGetSubgraphExecutorOptions<WSTransportOptions>, buildExecutor?: typeof buildGraphQLWSExecutor): DisposableExecutor & AsyncDisposable;
15
+ getSubgraphExecutor({ transportEntry, logger }: _graphql_mesh_transport_common.TransportGetSubgraphExecutorOptions<WSTransportOptions>, buildExecutor?: (client: Client) => DisposableAsyncExecutor): DisposableExecutor & AsyncDisposable;
15
16
  };
16
17
 
17
18
  export { type WSTransportOptions, _default as default };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _graphql_mesh_transport_common from '@graphql-mesh/transport-common';
2
2
  import { DisposableExecutor } from '@graphql-mesh/transport-common';
3
- import { buildGraphQLWSExecutor } from '@graphql-tools/executor-graphql-ws';
3
+ import { DisposableAsyncExecutor } from '@graphql-tools/utils';
4
+ import { Client } from 'graphql-ws';
4
5
 
5
6
  interface WSTransportOptions {
6
7
  /**
@@ -11,7 +12,7 @@ interface WSTransportOptions {
11
12
  connectionParams?: Record<string, string>;
12
13
  }
13
14
  declare const _default: {
14
- getSubgraphExecutor({ transportEntry, logger }: _graphql_mesh_transport_common.TransportGetSubgraphExecutorOptions<WSTransportOptions>, buildExecutor?: typeof buildGraphQLWSExecutor): DisposableExecutor & AsyncDisposable;
15
+ getSubgraphExecutor({ transportEntry, logger }: _graphql_mesh_transport_common.TransportGetSubgraphExecutorOptions<WSTransportOptions>, buildExecutor?: (client: Client) => DisposableAsyncExecutor): DisposableExecutor & AsyncDisposable;
15
16
  };
16
17
 
17
18
  export { type WSTransportOptions, _default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/transport-ws",
3
- "version": "1.0.0-alpha-d352828e251746d888cd90161230cd4655e23bb4",
3
+ "version": "1.0.0-alpha-7e26045e711907070b7236c41b9ed6a3906eb150",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,7 +47,7 @@
47
47
  "@graphql-mesh/transport-common": "^0.7.27",
48
48
  "@graphql-mesh/types": "^0.103.6",
49
49
  "@graphql-mesh/utils": "^0.103.6",
50
- "@graphql-tools/executor-graphql-ws": "2.0.0-alpha-d352828e251746d888cd90161230cd4655e23bb4",
50
+ "@graphql-tools/executor-graphql-ws": "2.0.0-alpha-7e26045e711907070b7236c41b9ed6a3906eb150",
51
51
  "@graphql-tools/utils": "^10.7.0",
52
52
  "graphql-ws": "^6.0.2",
53
53
  "isomorphic-ws": "^5.0.0",