mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-10 09:08:50 +00:00
split relay and pool into pure and wasm modules.
This commit is contained in:
10
pool-wasm.ts
Normal file
10
pool-wasm.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { verifyEvent } from './wasm.ts'
|
||||
import TrustedSimplePool from './trusted-pool.ts'
|
||||
|
||||
export default class WasmSimplePool extends TrustedSimplePool {
|
||||
constructor() {
|
||||
super({ verifyEvent })
|
||||
}
|
||||
}
|
||||
|
||||
export * from './trusted-pool.ts'
|
||||
Reference in New Issue
Block a user