Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit ed29829

Browse files
authored
DWA Starter React Vite: Fix DRLs for remote DWNs (#292)
1 parent 5dc7cfd commit ed29829

File tree

5 files changed

+20
-495
lines changed

5 files changed

+20
-495
lines changed

javascript/dwa-starter-react-vite/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
"@radix-ui/react-label": "^2.1.0",
2020
"@radix-ui/react-slot": "^1.1.0",
2121
"@web5/api": "0.11.0",
22+
"@web5/browser": "^0.0.2",
23+
"@web5/common": "^1.0.2",
2224
"@web5/credentials": "^1.1.1",
2325
"@web5/dids": "^1.1.4",
2426
"class-variance-authority": "^0.7.0",

javascript/dwa-starter-react-vite/pnpm-lock.yaml

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

javascript/dwa-starter-react-vite/src/sw.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import {
66
} from "workbox-precaching";
77
import { NavigationRoute, registerRoute } from "workbox-routing";
88

9-
// TODO: review @web5/api process issue
10-
import { activatePolyfills } from "./web-features";
11-
// import { activatePolyfills } from "@web5/api";
9+
import { activatePolyfills } from "@web5/browser";
1210

1311
declare let self: ServiceWorkerGlobalScope;
1412

0 commit comments

Comments
 (0)