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

Commit 22103e3

Browse files
committed
add nostr wallet auth support
1 parent 9f7c489 commit 22103e3

File tree

8 files changed

+627
-366
lines changed

8 files changed

+627
-366
lines changed

e2e/routes.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ test("visit each route", async ({ page }) => {
169169
);
170170
checklist.set("/gift", true);
171171

172-
// Visit connections with AutoZap params
173-
const autoZapParams =
174-
"/settings/connections?return_to=https%3A%2F%2Fwww.zapplepay.com%2Fautozap%2Fnpub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s&name=AutoZap-jb55&budget_renewal=day&max_amount=420";
175-
await page.goto("http://localhost:3420" + autoZapParams);
172+
// Visit connections nwa params
173+
const nwaParams =
174+
"/settings/connections?nwa=nostr%2Bwalletauth%3A%2F%2Fe552dec5821ef94dc1b9138a347b4b1d8dcb595e31f5c89352e50dc11255e0f4%3Frelay%3Dwss%253A%252F%252Frelay.damus.io%252F%26secret%3D0bfe616c5e126a7c%26required_commands%3Dpay_invoice%26budget%3D21%252Fday%26identity%3D32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245";
175+
await page.goto("http://localhost:3420" + nwaParams);
176176
await expect(page.locator('[role="dialog"] h2 header').first()).toHaveText(
177177
"Add Connection"
178178
);

src/components/NWCBudgetEditor.tsx

Lines changed: 0 additions & 244 deletions
This file was deleted.

0 commit comments

Comments
 (0)