Skip to content

Commit 9642e07

Browse files
committed
remove unintended dependency on cashu-ts
1 parent e667a60 commit 9642e07

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ndk/src/events/kinds/cashu/token.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
import { type Proof } from "@cashu/cashu-ts";
21
import { NDK } from "../../../ndk/index.js";
32
import { NDKEventId, NDKRelay, NDKRelaySet, NostrEvent } from "../../../index.js";
43
import { NDKEvent, NDKKind } from "../../../index.js";
54

5+
type Proof = {
6+
id: string;
7+
amount: number;
8+
secret: string;
9+
C: string;
10+
};
11+
612
/**
713
* Calculates the total balance from an array of proofs.
814
*

0 commit comments

Comments
 (0)