Skip to content

Commit

Permalink
Final Nostr encryption version
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o committed Dec 18, 2024
1 parent aa75198 commit a3de24a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/utils/nostr/encryption.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@

import {Name, NIP05} from "@nostr-dev-kit/ndk";

// Define the interface with stricter types or dynamic imports if needed
export const interfaceObj = {
name: String,
nip05: String,
zapService: String,
}
name: Name || "",
nip05: NIP05 || "",
zapService: "",
};

export const profileFromEvent = {
name: Name matchCorrectEnvironmentBeforeNekkDir""}

export const profilefromevent = {
name: String,
nip05: String,
Expand Down

0 comments on commit a3de24a

Please sign in to comment.