@graphql-tools/url-loader 7.16.20 → 7.16.21-alpha-20221130184303-b6529065
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/cjs/index.js +1 -1
- package/package.json +2 -2
- package/typings/index.d.cts +3 -3
- package/typings/index.d.ts +3 -3
package/cjs/index.js
CHANGED
|
@@ -12,7 +12,7 @@ const defaultSyncFetch_js_1 = require("./defaultSyncFetch.js");
|
|
|
12
12
|
const executor_graphql_ws_1 = require("@graphql-tools/executor-graphql-ws");
|
|
13
13
|
const executor_http_1 = require("@graphql-tools/executor-http");
|
|
14
14
|
const executor_legacy_ws_1 = require("@graphql-tools/executor-legacy-ws");
|
|
15
|
-
const asyncImport = (moduleName) => Promise.resolve().then(() => tslib_1.__importStar(require(
|
|
15
|
+
const asyncImport = (moduleName) => { var _a; return _a = moduleName, Promise.resolve().then(() => tslib_1.__importStar(require(_a))); };
|
|
16
16
|
const syncImport = (moduleName) => require(moduleName);
|
|
17
17
|
var SubscriptionProtocol;
|
|
18
18
|
(function (SubscriptionProtocol) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/url-loader",
|
|
3
|
-
"version": "7.16.
|
|
3
|
+
"version": "7.16.21-alpha-20221130184303-b6529065",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@graphql-tools/executor-graphql-ws": "0.0.3",
|
|
13
13
|
"@graphql-tools/executor-legacy-ws": "0.0.3",
|
|
14
14
|
"@graphql-tools/utils": "9.1.1",
|
|
15
|
-
"@graphql-tools/wrap": "9.2.
|
|
15
|
+
"@graphql-tools/wrap": "9.2.17-alpha-20221130184303-b6529065",
|
|
16
16
|
"@ardatan/sync-fetch": "0.0.1",
|
|
17
17
|
"@whatwg-node/fetch": "^0.5.0",
|
|
18
18
|
"@types/ws": "^8.0.0",
|
package/typings/index.d.cts
CHANGED
|
@@ -4,9 +4,9 @@ import { AsyncExecutor, Executor, SyncExecutor, Source, Loader, BaseLoaderOption
|
|
|
4
4
|
import WebSocket from 'isomorphic-ws';
|
|
5
5
|
import { AsyncFetchFn, FetchFn, HTTPExecutorOptions, SyncFetchFn } from '@graphql-tools/executor-http';
|
|
6
6
|
export { FetchFn };
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
7
|
+
export type AsyncImportFn = (moduleName: string) => PromiseLike<any>;
|
|
8
|
+
export type SyncImportFn = (moduleName: string) => any;
|
|
9
|
+
type HeadersConfig = Record<string, string>;
|
|
10
10
|
interface ExecutionExtensions {
|
|
11
11
|
headers?: HeadersConfig;
|
|
12
12
|
endpoint?: string;
|
package/typings/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import { AsyncExecutor, Executor, SyncExecutor, Source, Loader, BaseLoaderOption
|
|
|
4
4
|
import WebSocket from 'isomorphic-ws';
|
|
5
5
|
import { AsyncFetchFn, FetchFn, HTTPExecutorOptions, SyncFetchFn } from '@graphql-tools/executor-http';
|
|
6
6
|
export { FetchFn };
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
7
|
+
export type AsyncImportFn = (moduleName: string) => PromiseLike<any>;
|
|
8
|
+
export type SyncImportFn = (moduleName: string) => any;
|
|
9
|
+
type HeadersConfig = Record<string, string>;
|
|
10
10
|
interface ExecutionExtensions {
|
|
11
11
|
headers?: HeadersConfig;
|
|
12
12
|
endpoint?: string;
|