Skip to content

Commit

Permalink
fix relay.ts imports after 7f11c0c.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Dec 22, 2023
1 parent 7adbd30 commit 5d795c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export * from './pure.ts'
export * from './relay-pure.ts'
export * from './relay.ts'
export * from './filter.ts'
export * from './pool-pure.ts'
export * from './pool.ts'
export * from './references.ts'

export * as nip04 from './nip04.ts'
Expand Down
2 changes: 1 addition & 1 deletion nip42.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect } from 'bun:test'

import { makeAuthEvent } from './nip42.ts'
import Relay from './relay-pure.ts'
import { Relay } from './relay.ts'

test('auth flow', async () => {
const relay = await Relay.connect('wss://nostr.wine')
Expand Down
2 changes: 1 addition & 1 deletion relay.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { afterEach, expect, test } from 'bun:test'

import { finalizeEvent, generateSecretKey, getPublicKey } from './pure.ts'
import Relay from './relay-pure.ts'
import { Relay } from './relay.ts'

let relay = new Relay('wss://public.relaying.io')

Expand Down

0 comments on commit 5d795c2

Please sign in to comment.