@graphql-hive/yoga 0.42.3-rc-20251111101236-6030c51e36836cfdaf3b3c68bfb8531e018f8cc8 → 0.42.4-alpha-20251111141700-c886540906349fb7108525247f65588d37cd2bb4
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 +2 -1
- package/cjs/version.js +1 -1
- package/esm/index.js +2 -1
- package/esm/version.js +1 -1
- package/package.json +2 -2
- package/typings/version.d.cts +1 -1
- package/typings/version.d.ts +1 -1
package/cjs/index.js
CHANGED
|
@@ -7,13 +7,14 @@ const graphql_1 = require("graphql");
|
|
|
7
7
|
const graphql_yoga_1 = require("graphql-yoga");
|
|
8
8
|
const core_1 = require("@graphql-hive/core");
|
|
9
9
|
const plugin_persisted_operations_1 = require("@graphql-yoga/plugin-persisted-operations");
|
|
10
|
+
const version_js_1 = require("./version.js");
|
|
10
11
|
var core_2 = require("@graphql-hive/core");
|
|
11
12
|
Object.defineProperty(exports, "atLeastOnceSampler", { enumerable: true, get: function () { return core_2.atLeastOnceSampler; } });
|
|
12
13
|
Object.defineProperty(exports, "createSchemaFetcher", { enumerable: true, get: function () { return core_2.createSchemaFetcher; } });
|
|
13
14
|
Object.defineProperty(exports, "createServicesFetcher", { enumerable: true, get: function () { return core_2.createServicesFetcher; } });
|
|
14
15
|
Object.defineProperty(exports, "createSupergraphSDLFetcher", { enumerable: true, get: function () { return core_2.createSupergraphSDLFetcher; } });
|
|
15
16
|
function createHive(clientOrOptions) {
|
|
16
|
-
return (0, core_1.createHive)(Object.assign(Object.assign({}, clientOrOptions), { agent: Object.assign({ name: 'hive-client-yoga' }, clientOrOptions.agent) }));
|
|
17
|
+
return (0, core_1.createHive)(Object.assign(Object.assign({}, clientOrOptions), { agent: Object.assign({ name: 'hive-client-yoga', version: version_js_1.version }, clientOrOptions.agent) }));
|
|
17
18
|
}
|
|
18
19
|
function useHive(clientOrOptions) {
|
|
19
20
|
const parsedDocumentCache = (0, graphql_yoga_1._createLRUCache)();
|
package/cjs/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.version = void 0;
|
|
4
|
-
exports.version = '0.42.
|
|
4
|
+
exports.version = '0.42.4-alpha-20251111141700-c886540906349fb7108525247f65588d37cd2bb4';
|
package/esm/index.js
CHANGED
|
@@ -2,9 +2,10 @@ import { GraphQLError, Kind, parse } from 'graphql';
|
|
|
2
2
|
import { _createLRUCache } from 'graphql-yoga';
|
|
3
3
|
import { autoDisposeSymbol, createHive as createHiveClient, isAsyncIterable, isHiveClient, } from '@graphql-hive/core';
|
|
4
4
|
import { usePersistedOperations } from '@graphql-yoga/plugin-persisted-operations';
|
|
5
|
+
import { version } from './version.js';
|
|
5
6
|
export { atLeastOnceSampler, createSchemaFetcher, createServicesFetcher, createSupergraphSDLFetcher, } from '@graphql-hive/core';
|
|
6
7
|
export function createHive(clientOrOptions) {
|
|
7
|
-
return createHiveClient(Object.assign(Object.assign({}, clientOrOptions), { agent: Object.assign({ name: 'hive-client-yoga' }, clientOrOptions.agent) }));
|
|
8
|
+
return createHiveClient(Object.assign(Object.assign({}, clientOrOptions), { agent: Object.assign({ name: 'hive-client-yoga', version }, clientOrOptions.agent) }));
|
|
8
9
|
}
|
|
9
10
|
export function useHive(clientOrOptions) {
|
|
10
11
|
const parsedDocumentCache = _createLRUCache();
|
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.42.
|
|
1
|
+
export const version = '0.42.4-alpha-20251111141700-c886540906349fb7108525247f65588d37cd2bb4';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/yoga",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.4-alpha-20251111141700-c886540906349fb7108525247f65588d37cd2bb4",
|
|
4
4
|
"description": "GraphQL Hive + GraphQL Yoga",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@graphql-yoga/plugin-persisted-operations": "^3.9.0",
|
|
12
|
-
"@graphql-hive/core": "0.13.
|
|
12
|
+
"@graphql-hive/core": "0.13.2-alpha-20251111141700-c886540906349fb7108525247f65588d37cd2bb4"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
package/typings/version.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.42.
|
|
1
|
+
export declare const version = "0.42.4-alpha-20251111141700-c886540906349fb7108525247f65588d37cd2bb4";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/typings/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.42.
|
|
1
|
+
export declare const version = "0.42.4-alpha-20251111141700-c886540906349fb7108525247f65588d37cd2bb4";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|