nostr-relaypool alias

This commit is contained in:
Alex Gleason
2024-05-01 15:57:28 -05:00
parent 58ed1b111f
commit 9d0be2de0d
5 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
import 'https://gitlab.com/soapbox-pub/deno-safe-fetch/-/raw/v1.0.0/load.ts';
export { RelayPoolWorker } from 'npm:nostr-relaypool2@0.6.34';
export { parseFormData } from 'npm:formdata-helper@^0.3.0';
// @deno-types="npm:@types/lodash@4.14.194"
export { default as lodash } from 'https://esm.sh/lodash@4.17.21';

View File

@@ -1,5 +1,6 @@
import { RelayPoolWorker } from 'nostr-relaypool';
import { getActiveRelays } from '@/db/relays.ts';
import { RelayPoolWorker } from '@/deps.ts';
const activeRelays = await getActiveRelays();

View File

@@ -1,7 +1,8 @@
import { NostrEvent, NostrFilter, NSet, NStore } from '@nostrify/nostrify';
import { RelayPoolWorker } from 'nostr-relaypool';
import { matchFilters } from 'nostr-tools';
import { Debug, type RelayPoolWorker } from '@/deps.ts';
import { Debug } from '@/deps.ts';
import { normalizeFilters } from '@/filter.ts';
import { purifyEvent } from '@/storages/hydrate.ts';
import { abortError } from '@/utils/abort.ts';