@graphql-yoga/plugin-persisted-operations 3.5.0 → 3.6.1-alpha-20240701180551-d297790e
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 -2
- package/package.json +2 -2
package/cjs/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.defaultExtractPersistedOperationId = void 0;
|
|
4
|
+
exports.usePersistedOperations = usePersistedOperations;
|
|
4
5
|
const graphql_yoga_1 = require("graphql-yoga");
|
|
5
6
|
const defaultExtractPersistedOperationId = (params) => {
|
|
6
7
|
if (params.extensions != null &&
|
|
@@ -69,7 +70,6 @@ function usePersistedOperations({ allowArbitraryOperations = false, extractPersi
|
|
|
69
70
|
},
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
|
-
exports.usePersistedOperations = usePersistedOperations;
|
|
73
73
|
function createErrorFactory(defaultMessage, options) {
|
|
74
74
|
if (typeof options === 'string') {
|
|
75
75
|
return () => (0, graphql_yoga_1.createGraphQLError)(options);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-yoga/plugin-persisted-operations",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.1-alpha-20240701180551-d297790e",
|
|
4
4
|
"description": "Persisted Operations plugin for GraphQL Yoga.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@graphql-tools/utils": "^10.0.0",
|
|
7
7
|
"graphql": "^15.2.0 || ^16.0.0",
|
|
8
|
-
"graphql-yoga": "^5.
|
|
8
|
+
"graphql-yoga": "^5.6.1-alpha-20240701180551-d297790e"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|