Skip to content

Commit

Permalink
Merge branch 'update-next' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners committed Jul 9, 2024
2 parents 41ba1a1 + ac03489 commit 8627d88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fastify/caching",
"version": "8.3.0",
"version": "8.4.0",
"description": "A plugin for Fastify to enable management of cache control headers",
"main": "index.js",
"type": "commonjs",
Expand Down Expand Up @@ -40,7 +40,7 @@
"snazzy": "^9.0.0",
"standard": "^17.1.0",
"tap": "^18.7.0",
"tsd": "^0.30.7"
"tsd": "^0.31.0"
},
"dependencies": {
"abstract-cache": "^1.0.1",
Expand Down
7 changes: 3 additions & 4 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ declare namespace fastifyCaching {
): void;
/**
* If AbstractCache is using useAwait = true, then this method-header must be used.
* @param key
* @param key
*/
get<T = unknown>(
key: string | { id: string; segment: string },
Expand Down Expand Up @@ -130,9 +130,8 @@ declare namespace fastifyCaching {
serverExpiresIn?: number;
}

export const privacy: {
privacy: Privacy;
};
export const privacy: Privacy;

export const fastifyCaching: FastifyCaching;
export { fastifyCaching as default };
}
Expand Down

0 comments on commit 8627d88

Please sign in to comment.