Files
snort/packages/app/src/Login/index.ts
2023-09-22 09:53:12 +01:00

22 lines
518 B
TypeScript

import { MultiAccountStore } from "./MultiAccountStore";
export const LoginStore = new MultiAccountStore();
export interface Nip7os {
getPublicKey: () => string;
signEvent: (ev: string) => string;
saveKey: (key: string) => void;
nip04_encrypt: (content: string, to: string) => string;
nip04_decrypt: (content: string, from: string) => string;
}
declare global {
interface Window {
nostr_os?: Nip7os;
}
}
export * from "./Preferences";
export * from "./LoginSession";
export * from "./Functions";