Skip to content

Commit

Permalink
never import anything from index.ts in submodules.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed May 26, 2024
1 parent 4f4de45 commit 9562c40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nip07.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EventTemplate, NostrEvent } from './core.ts'
import { RelayRecord } from './index.ts'
import { RelayRecord } from './relay.ts'

export interface WindowNostr {
getPublicKey(): Promise<string>
Expand Down
4 changes: 2 additions & 2 deletions nip46.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { hexToBytes } from '@noble/hashes/utils'
import { NostrEvent, UnsignedEvent, VerifiedEvent } from './core.ts'
import { generateSecretKey, finalizeEvent, getPublicKey, verifyEvent } from './pure.ts'
import { AbstractSimplePool, SubCloser } from './abstract-pool.ts'
Expand All @@ -6,8 +7,7 @@ import { getConversationKey, decrypt as nip44decrypt } from './nip44.ts'
import { NIP05_REGEX } from './nip05.ts'
import { SimplePool } from './pool.ts'
import { Handlerinformation, NostrConnect } from './kinds.ts'
import { hexToBytes } from '@noble/hashes/utils'
import { RelayRecord } from './index.ts'
import type { RelayRecord } from './relay.ts'

var _fetch: any

Expand Down

0 comments on commit 9562c40

Please sign in to comment.