feat: support ncryptsec
This commit is contained in:
parent
52daf39584
commit
e2cdc27545
11 changed files with 246 additions and 73 deletions
|
|
@ -53,11 +53,12 @@ export interface ISigner {
|
|||
signEvent: (draftEvent: TDraftEvent) => Promise<Event | null>
|
||||
}
|
||||
|
||||
export type TSignerType = 'nsec' | 'nip-07' | 'bunker' | 'browser-nsec'
|
||||
export type TSignerType = 'nsec' | 'nip-07' | 'bunker' | 'browser-nsec' | 'ncryptsec'
|
||||
|
||||
export type TAccount = {
|
||||
pubkey: string
|
||||
signerType: TSignerType
|
||||
ncryptsec?: string
|
||||
nsec?: string
|
||||
bunker?: string
|
||||
bunkerClientSecretKey?: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue