remove last remains of pool-pure.ts

This commit is contained in:
fiatjaf
2023-12-22 07:51:17 -03:00
parent 397931f847
commit 7067b47cd4
3 changed files with 3 additions and 2 deletions

View File

@@ -210,7 +210,7 @@ Importing the entirety of `nostr-tools` may bloat your build, so you should prob
```js
import { generateSecretKey, finalizeEvent, verifyEvent } from 'nostr-tools/pure'
import { SimplePool } from 'nostr-tools/pool-pure'
import { SimplePool } from 'nostr-tools/pool'
import { Relay, Subscription } from 'nostr-tools/relay'
import { matchFilter } from 'nostr-tools/filter'
import { decode, nprofileEncode, neventEncode, npubEncode } from 'nostr-tools/nip19'

View File

@@ -2,7 +2,7 @@ import { test, expect, afterAll } from 'bun:test'
import { finalizeEvent, type Event } from './pure.ts'
import { generateSecretKey, getPublicKey } from './pure.ts'
import SimplePool from './pool-pure.ts'
import { SimplePool } from './pool.ts'
let pool = new SimplePool()

View File

@@ -17,6 +17,7 @@ test('connectivity', async () => {
test('connectivity, with Relay.connect()', async () => {
const relay = await Relay.connect('wss://public.relaying.io')
expect(relay.connected).toBeTrue()
relay.close()
})
test('querying', async () => {