secp256k1 alias
This commit is contained in:
parent
5a7a409981
commit
d1f643d7ad
|
@ -17,6 +17,7 @@
|
|||
"@/": "./src/",
|
||||
"@bradenmacdonald/s3-lite-client": "jsr:@bradenmacdonald/s3-lite-client@^0.7.4",
|
||||
"@isaacs/ttlcache": "npm:@isaacs/ttlcache@^1.4.1",
|
||||
"@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0",
|
||||
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.15.0",
|
||||
"@sentry/deno": "https://deno.land/x/sentry@7.112.2/index.mjs",
|
||||
"@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.0.2",
|
||||
|
|
|
@ -1543,6 +1543,7 @@
|
|||
"jsr:@std/media-types@^0.224.0",
|
||||
"jsr:@std/streams@^0.223.0",
|
||||
"npm:@isaacs/ttlcache@^1.4.1",
|
||||
"npm:@noble/secp256k1@^2.0.0",
|
||||
"npm:comlink@^4.4.1",
|
||||
"npm:fast-stable-stringify@^1.0.0",
|
||||
"npm:iso-639-1@2.1.15",
|
||||
|
|
|
@ -14,7 +14,6 @@ export {
|
|||
verifyRequest,
|
||||
} from 'https://gitlab.com/soapbox-pub/fedisign/-/raw/v0.2.1/mod.ts';
|
||||
export { generateSeededRsa } from 'https://gitlab.com/soapbox-pub/seeded-rsa/-/raw/v1.0.0/mod.ts';
|
||||
export * as secp from 'npm:@noble/secp256k1@^2.0.0';
|
||||
export {
|
||||
DB as Sqlite,
|
||||
SqliteError,
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import * as secp from '@noble/secp256k1';
|
||||
import { LRUCache } from 'lru-cache';
|
||||
|
||||
import { Conf } from '@/config.ts';
|
||||
import { generateSeededRsa, publicKeyToPem, secp } from '@/deps.ts';
|
||||
import { generateSeededRsa, publicKeyToPem } from '@/deps.ts';
|
||||
|
||||
const opts = {
|
||||
bits: 2048,
|
||||
|
|
Loading…
Reference in New Issue