Skip to content

Commit 1683343

Browse files
committed
chore: pump npm version and add a new unStorage util
1 parent 6fb0d41 commit 1683343

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thecodeorigin/nuxt",
33
"type": "module",
4-
"version": "1.11.9",
4+
"version": "1.11.10",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org",
77
"access": "public"

server/utils/storage.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,9 @@ export async function clearCache(key: string) {
3939

4040
await storage.removeItem(key)
4141
}
42+
43+
export async function getParallelCacheKeys(key: string) {
44+
const storage = getStorage()
45+
46+
return await storage.getKeys(key)
47+
}

0 commit comments

Comments
 (0)