@graphql-mesh/plugin-response-cache 0.2.19 → 0.2.20-alpha-20230321145025-cc027190e

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const plugin_response_cache_1 = require("@graphql-yoga/plugin-response-cache");
4
- const string_interpolation_1 = require("@graphql-mesh/string-interpolation");
5
3
  const cross_helpers_1 = require("@graphql-mesh/cross-helpers");
4
+ const string_interpolation_1 = require("@graphql-mesh/string-interpolation");
5
+ const plugin_response_cache_1 = require("@graphql-yoga/plugin-response-cache");
6
6
  const defaultBuildResponseCacheKey = async (params) => (0, string_interpolation_1.hashObject)(params);
7
7
  function generateSessionIdFactory(sessionIdDef) {
8
8
  if (sessionIdDef == null) {
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { useResponseCache } from '@graphql-yoga/plugin-response-cache';
2
- import { hashObject, stringInterpolator } from '@graphql-mesh/string-interpolation';
3
1
  import { process } from '@graphql-mesh/cross-helpers';
2
+ import { hashObject, stringInterpolator } from '@graphql-mesh/string-interpolation';
3
+ import { useResponseCache } from '@graphql-yoga/plugin-response-cache';
4
4
  const defaultBuildResponseCacheKey = async (params) => hashObject(params);
5
5
  function generateSessionIdFactory(sessionIdDef) {
6
6
  if (sessionIdDef == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/plugin-response-cache",
3
- "version": "0.2.19",
3
+ "version": "0.2.20-alpha-20230321145025-cc027190e",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
@@ -9,8 +9,8 @@
9
9
  "@envelop/core": "^3.0.0",
10
10
  "@graphql-mesh/cross-helpers": "0.3.3",
11
11
  "@graphql-mesh/string-interpolation": "0.4.2",
12
- "@graphql-mesh/types": "0.91.9",
13
- "@graphql-mesh/utils": "0.43.17",
12
+ "@graphql-mesh/types": "0.91.10-alpha-20230321145025-cc027190e",
13
+ "@graphql-mesh/utils": "0.43.18-alpha-20230321145025-cc027190e",
14
14
  "@graphql-yoga/plugin-response-cache": "1.7.0",
15
15
  "tslib": "^2.4.0"
16
16
  },
@@ -1,3 +1,3 @@
1
- import { MeshPluginOptions, YamlConfig } from '@graphql-mesh/types';
2
1
  import { Plugin } from '@envelop/core';
2
+ import { MeshPluginOptions, YamlConfig } from '@graphql-mesh/types';
3
3
  export default function useMeshResponseCache(options: MeshPluginOptions<YamlConfig.ResponseCacheConfig>): Plugin;
@@ -1,3 +1,3 @@
1
- import { MeshPluginOptions, YamlConfig } from '@graphql-mesh/types';
2
1
  import { Plugin } from '@envelop/core';
2
+ import { MeshPluginOptions, YamlConfig } from '@graphql-mesh/types';
3
3
  export default function useMeshResponseCache(options: MeshPluginOptions<YamlConfig.ResponseCacheConfig>): Plugin;