@graphql-mesh/plugin-http-cache 0.98.8 → 0.98.9-alpha-20240626143434-7cd2ddcf1e46bd3f52ea1e6276c1d9beeb5171a4
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 +3 -3
package/cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = useHTTPCache;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
5
6
|
const http_cache_semantics_1 = tslib_1.__importDefault(require("http-cache-semantics"));
|
|
@@ -134,7 +135,6 @@ function useHTTPCache({ cache, matches, ignores, }) {
|
|
|
134
135
|
},
|
|
135
136
|
};
|
|
136
137
|
}
|
|
137
|
-
exports.default = useHTTPCache;
|
|
138
138
|
function canBeRevalidated(response) {
|
|
139
139
|
return response.headers.has('ETag');
|
|
140
140
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/plugin-http-cache",
|
|
3
|
-
"version": "0.98.
|
|
3
|
+
"version": "0.98.9-alpha-20240626143434-7cd2ddcf1e46bd3f52ea1e6276c1d9beeb5171a4",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/types": "
|
|
7
|
-
"@graphql-mesh/utils": "
|
|
6
|
+
"@graphql-mesh/types": "0.98.9-alpha-20240626143434-7cd2ddcf1e46bd3f52ea1e6276c1d9beeb5171a4",
|
|
7
|
+
"@graphql-mesh/utils": "0.98.9-alpha-20240626143434-7cd2ddcf1e46bd3f52ea1e6276c1d9beeb5171a4",
|
|
8
8
|
"graphql": "*",
|
|
9
9
|
"tslib": "^2.4.0"
|
|
10
10
|
},
|