add missing dependency

This commit is contained in:
hzrd149 2025-03-09 23:13:51 +00:00
parent 92a8f1029c
commit 707d7b250a
4 changed files with 20 additions and 4 deletions

View File

@ -57,6 +57,7 @@
"applesauce-react": "next",
"applesauce-relay": "next",
"applesauce-signers": "next",
"applesauce-wallet": "next",
"bech32": "^2.0.0",
"blossom-client-sdk": "^3.0.1",
"blurhash": "^2.0.5",

19
pnpm-lock.yaml generated
View File

@ -126,6 +126,9 @@ importers:
applesauce-signers:
specifier: next
version: 0.0.0-next-20250309231023(typescript@5.8.2)
applesauce-wallet:
specifier: 0.0.0-next-20250309231023
version: 0.0.0-next-20250309231023(typescript@5.8.2)
bech32:
specifier: ^2.0.0
version: 2.0.0
@ -410,10 +413,10 @@ importers:
specifier: ^0.6.8
version: 0.6.8
'@types/react':
specifier: ^18.3.18
specifier: ^18.2.22
version: 18.3.18
'@types/react-dom':
specifier: ^18.3.5
specifier: ^18.2.7
version: 18.3.5(@types/react@18.3.18)
'@types/react-window':
specifier: ^1.8.8
@ -2216,6 +2219,9 @@ packages:
applesauce-signers@0.0.0-next-20250309231023:
resolution: {integrity: sha512-FOsD05Ymj9pNPj4LvC4xy3L3z9CKZT6LlbkEbAltw/YMubcEuqALZH9dCY69D7xiUUJvk0HqDpfDyq+iXmiiFA==}
applesauce-wallet@0.0.0-next-20250309231023:
resolution: {integrity: sha512-QxdomzWOMd/x6ip3cxrT6jXqcLUPfBb31vafTDDJM5cCNVby4IElUyZCIh0SWEdauK53xv7dkOYrsWzpKDL/4w==}
arg@4.1.3:
resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==}
@ -8531,6 +8537,15 @@ snapshots:
- supports-color
- typescript
applesauce-wallet@0.0.0-next-20250309231023(typescript@5.8.2):
dependencies:
applesauce-core: 0.0.0-next-20250309231023(typescript@5.8.2)
nostr-tools: 2.10.4(typescript@5.8.2)
rxjs: 7.8.2
transitivePeerDependencies:
- supports-color
- typescript
arg@4.1.3: {}
argparse@1.0.10:

View File

@ -53,6 +53,6 @@ export default class MemoryRelay implements SimpleRelay {
id?: string | null;
},
) {
return this.store.database.getForFilters(filters).size;
return this.store.database.getEventsForFilters(filters).size;
}
}

View File

@ -15,7 +15,7 @@ import {
} from "@chakra-ui/react";
import { NostrEvent } from "nostr-tools";
import { WalletQuery } from "applesauce-wallet/queries";
import { getWalletMints, unlockWallet, WALLET_KIND } from "applesauce-wallet/helpers";
import { unlockWallet, WALLET_KIND } from "applesauce-wallet/helpers";
import { useActiveAccount, useStoreQuery } from "applesauce-react/hooks";
import useAsyncErrorHandler from "../../hooks/use-async-error-handler";