@graphql-tools/batch-execute 10.0.5 → 10.0.6-alpha-b8f9a4a67984af67191079e5ce5ddbe232c0624d
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 +7 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @graphql-tools/batch-execute
|
|
2
2
|
|
|
3
|
+
## 10.0.6-alpha-b8f9a4a67984af67191079e5ce5ddbe232c0624d
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [#2076](https://github.com/graphql-hive/gateway/pull/2076) [`b8f9a4a`](https://github.com/graphql-hive/gateway/commit/b8f9a4a67984af67191079e5ce5ddbe232c0624d) Thanks [@ardatan](https://github.com/ardatan)! - Add automatic batching to SDK requester
|
|
9
|
+
|
|
3
10
|
## 10.0.5
|
|
4
11
|
### Patch Changes
|
|
5
12
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Executor, ExecutionRequest } from '@graphql-tools/utils';
|
|
1
|
+
import { Executor, ExecutionRequest, MaybeAsyncIterable } from '@graphql-tools/utils';
|
|
2
2
|
import DataLoader from 'dataloader';
|
|
3
3
|
|
|
4
|
-
declare function createBatchingExecutor(executor: Executor, dataLoaderOptions?: DataLoader.Options<
|
|
4
|
+
declare function createBatchingExecutor(executor: Executor, dataLoaderOptions?: DataLoader.Options<ExecutionRequest, MaybeAsyncIterable<any>>, extensionsReducer?: (mergedExtensions: Record<string, any>, request: ExecutionRequest) => Record<string, any>): Executor;
|
|
5
5
|
|
|
6
6
|
declare const getBatchingExecutor: (_context: Record<string, any>, executor: Executor, dataLoaderOptions?: DataLoader.Options<any, any, any> | undefined, extensionsReducer?: undefined | ((mergedExtensions: Record<string, any>, request: ExecutionRequest) => Record<string, any>)) => Executor;
|
|
7
7
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Executor, ExecutionRequest } from '@graphql-tools/utils';
|
|
1
|
+
import { Executor, ExecutionRequest, MaybeAsyncIterable } from '@graphql-tools/utils';
|
|
2
2
|
import DataLoader from 'dataloader';
|
|
3
3
|
|
|
4
|
-
declare function createBatchingExecutor(executor: Executor, dataLoaderOptions?: DataLoader.Options<
|
|
4
|
+
declare function createBatchingExecutor(executor: Executor, dataLoaderOptions?: DataLoader.Options<ExecutionRequest, MaybeAsyncIterable<any>>, extensionsReducer?: (mergedExtensions: Record<string, any>, request: ExecutionRequest) => Record<string, any>): Executor;
|
|
5
5
|
|
|
6
6
|
declare const getBatchingExecutor: (_context: Record<string, any>, executor: Executor, dataLoaderOptions?: DataLoader.Options<any, any, any> | undefined, extensionsReducer?: undefined | ((mergedExtensions: Record<string, any>, request: ExecutionRequest) => Record<string, any>)) => Executor;
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/batch-execute",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.6-alpha-b8f9a4a67984af67191079e5ce5ddbe232c0624d",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
6
6
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"graphql": "^16.12.0",
|
|
48
|
-
"pkgroll": "2.
|
|
48
|
+
"pkgroll": "2.27.0"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false
|
|
51
51
|
}
|