Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit 43faf46

Browse files
committed
cache with service worker
1 parent f1e80cc commit 43faf46

File tree

7 files changed

+170
-136
lines changed

7 files changed

+170
-136
lines changed

manifest.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { ManifestOptions } from "vite-plugin-pwa";
22

33
const manifest: Partial<ManifestOptions> = {
44
name: "Mutiny Wallet",
5+
orientation: "portrait",
56
short_name: "Mutiny",
67
description: "A lightning wallet",
78
theme_color: "#000",
@@ -489,7 +490,7 @@ const manifest: Partial<ManifestOptions> = {
489490
src: "/images/send.png",
490491
sizes: "192x192",
491492
type: "image/png"
492-
},
493+
}
493494
]
494495
},
495496
{
@@ -501,7 +502,7 @@ const manifest: Partial<ManifestOptions> = {
501502
src: "/images/receive.png",
502503
sizes: "192x192",
503504
type: "image/png"
504-
},
505+
}
505506
]
506507
},
507508
{
@@ -513,7 +514,7 @@ const manifest: Partial<ManifestOptions> = {
513514
src: "/images/activity.png",
514515
sizes: "192x192",
515516
type: "image/png"
516-
},
517+
}
517518
]
518519
}
519520
]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"tailwindcss": "^3.3.5",
3535
"typescript": "^5.2.2",
3636
"vite": "^4.5.0",
37-
"vite-plugin-pwa": "^0.14.7",
37+
"vite-plugin-pwa": "^0.16.7",
3838
"vite-plugin-solid": "^2.7.0",
3939
"vite-plugin-wasm": "^3.2.2",
40-
"workbox-window": "^6.6.0"
40+
"workbox-window": "^7.0.0"
4141
},
4242
"dependencies": {
4343
"@capacitor-mlkit/barcode-scanning": "^5.3.0",

pnpm-lock.yaml

Lines changed: 84 additions & 100 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/icons/refresh.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)