From faa7cc6e40212cf84566465bddd5d3f7abe2a7a6 Mon Sep 17 00:00:00 2001 From: gandlaf21 Date: Sun, 2 Apr 2023 06:57:03 +0200 Subject: [PATCH 1/3] nostr receive, fix method name, upgrade cashu-ts version --- package-lock.json | 14 +++++++------- package.json | 2 +- src/comp/plugin/NostrSocket.svelte | 9 +++++---- src/comp/tokens/InboxRow.svelte | 20 ++++++++++---------- src/comp/tokens/InboxTable.svelte | 12 ++++++------ src/comp/tokens/TokenHistoryRow.svelte | 8 ++++---- src/comp/tokens/TokenRow.svelte | 6 +++--- src/comp/wallet/Receiving.svelte | 9 +++++---- src/comp/wallet/Sending.svelte | 4 ++-- src/model/nostrMessage.ts | 2 +- 10 files changed, 44 insertions(+), 42 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9609a28..88d6336 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "ws": "^8.12.0" }, "devDependencies": { - "@cashu/cashu-ts": "^0.5.2", + "@cashu/cashu-ts": "^0.6.1", "@sveltejs/adapter-auto": "^1.0.1", "@sveltejs/kit": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.45.0", @@ -39,9 +39,9 @@ } }, "node_modules/@cashu/cashu-ts": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@cashu/cashu-ts/-/cashu-ts-0.5.2.tgz", - "integrity": "sha512-GULdIBI/DsnQ+rxs8TPzpaE4nNOKGY+EQ1O8NUIpX3FHXaa5zwYqi23PflB62vtVPMZv+mxZu4diDEBcNwiQ6A==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@cashu/cashu-ts/-/cashu-ts-0.6.1.tgz", + "integrity": "sha512-FBXKubtK481nR+VgcWn9vHQTo4YRQrZu6wFjReMAgnMyRUTs8iMr+6iYBhHrw0CcRqPXZx4VaBBGf8tXsNG45g==", "dev": true, "dependencies": { "@gandlaf21/bolt11-decode": "^3.0.6", @@ -4196,9 +4196,9 @@ }, "dependencies": { "@cashu/cashu-ts": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@cashu/cashu-ts/-/cashu-ts-0.5.2.tgz", - "integrity": "sha512-GULdIBI/DsnQ+rxs8TPzpaE4nNOKGY+EQ1O8NUIpX3FHXaa5zwYqi23PflB62vtVPMZv+mxZu4diDEBcNwiQ6A==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@cashu/cashu-ts/-/cashu-ts-0.6.1.tgz", + "integrity": "sha512-FBXKubtK481nR+VgcWn9vHQTo4YRQrZu6wFjReMAgnMyRUTs8iMr+6iYBhHrw0CcRqPXZx4VaBBGf8tXsNG45g==", "dev": true, "requires": { "@gandlaf21/bolt11-decode": "^3.0.6", diff --git a/package.json b/package.json index 4d72703..6b47932 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "format": "prettier --plugin-search-dir . --write ." }, "devDependencies": { - "@cashu/cashu-ts": "^0.5.2", + "@cashu/cashu-ts": "^0.6.1", "@sveltejs/adapter-auto": "^1.0.1", "@sveltejs/kit": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.45.0", diff --git a/src/comp/plugin/NostrSocket.svelte b/src/comp/plugin/NostrSocket.svelte index c5988b3..38e8b36 100644 --- a/src/comp/plugin/NostrSocket.svelte +++ b/src/comp/plugin/NostrSocket.svelte @@ -1,5 +1,6 @@ diff --git a/src/comp/tokens/TokenRow.svelte b/src/comp/tokens/TokenRow.svelte index 7387719..9febe3d 100644 --- a/src/comp/tokens/TokenRow.svelte +++ b/src/comp/tokens/TokenRow.svelte @@ -1,5 +1,5 @@