Move new libs into deps.ts

This commit is contained in:
Alex Gleason 2023-12-26 13:31:23 -06:00
parent 62675218ce
commit ed107e49fd
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
3 changed files with 4 additions and 5 deletions

View File

@ -81,5 +81,7 @@ export { Machina } from 'https://gitlab.com/soapbox-pub/nostr-machina/-/raw/08a1
export * as Sentry from 'https://deno.land/x/sentry@7.78.0/index.js';
export { sentry as sentryMiddleware } from 'npm:@hono/sentry@^1.0.0';
export * as Comlink from 'npm:comlink@^4.4.1';
export { EventEmitter } from 'npm:tseep@^1.1.3';
export { default as stringifyStable } from 'npm:fast-stable-stringify@^1.0.0';
export type * as TypeFest from 'npm:type-fest@^4.3.0';

View File

@ -1,10 +1,8 @@
import { Conf } from '@/config.ts';
import { type Event, type Filter, matchFilters } from '@/deps.ts';
import { type Event, type Filter, matchFilters, stringifyStable } from '@/deps.ts';
import type { EventData } from '@/types.ts';
import stringifyStable from 'npm:fast-stable-stringify';
/** Additional properties that may be added by Ditto to events. */
type Relation = 'author' | 'author_stats' | 'event_stats';

View File

@ -1,7 +1,6 @@
import * as client from '@/client.ts';
import { Event, Filter } from '@/deps.ts';
import { type Event, EventEmitter, type Filter } from '@/deps.ts';
import { EventEmitter } from 'npm:tseep';
import { eventToMicroFilter, getFilterId, type MicroFilter } from '@/filter.ts';
interface ReqmeisterOpts {