diff --git a/deno.json b/deno.json index e4f2343..1cf44e9 100644 --- a/deno.json +++ b/deno.json @@ -36,6 +36,7 @@ "nostr-wasm": "npm:nostr-wasm@^0.1.0", "tldts": "npm:tldts@^6.0.14", "type-fest": "npm:type-fest@^4.3.0", + "uuid62": "npm:uuid62@^1.0.2", "zod": "npm:zod@^3.23.4", "~/fixtures/": "./fixtures/" }, diff --git a/src/db/unattached-media.ts b/src/db/unattached-media.ts index 3761947..21805ba 100644 --- a/src/db/unattached-media.ts +++ b/src/db/unattached-media.ts @@ -1,5 +1,6 @@ +import { uuid62 } from 'uuid62'; + import { db } from '@/db.ts'; -import { uuid62 } from '@/deps.ts'; import { type MediaData } from '@/schemas/nostr.ts'; interface UnattachedMedia { diff --git a/src/deps.ts b/src/deps.ts index bdab9f4..3b770b1 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -31,6 +31,4 @@ export * as dotenv from 'https://deno.land/std@0.198.0/dotenv/mod.ts'; export * as cron from 'https://deno.land/x/deno_cron@v1.0.0/cron.ts'; export { S3Client } from 'https://deno.land/x/s3_lite_client@0.6.1/mod.ts'; export { default as IpfsHash } from 'npm:ipfs-only-hash@^4.0.0'; -export { default as uuid62 } from 'npm:uuid62@^1.0.2'; -export { EventEmitter } from 'npm:tseep@^1.1.3'; export { default as stringifyStable } from 'npm:fast-stable-stringify@^1.0.0';