*Switch seed to bip39, and use bip32/bip44/slip10

This commit is contained in:
Derrick Hammer 2022-12-18 13:32:59 -05:00
parent d62ce9a4d3
commit db4b61bdd9
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
6 changed files with 426 additions and 50 deletions

View File

@ -24,6 +24,7 @@
"@lumeweb/dht-cache": "https://git.lumeweb.com/LumeWeb/dht-cache.git", "@lumeweb/dht-cache": "https://git.lumeweb.com/LumeWeb/dht-cache.git",
"@lumeweb/kernel-utils": "https://github.com/LumeWeb/kernel-utils.git", "@lumeweb/kernel-utils": "https://github.com/LumeWeb/kernel-utils.git",
"@lumeweb/pokt-rpc-endpoints": "https://github.com/LumeWeb/pokt-rpc-endpoints.git", "@lumeweb/pokt-rpc-endpoints": "https://github.com/LumeWeb/pokt-rpc-endpoints.git",
"@scure/bip39": "^1.1.0",
"@skynetlabs/skynet-nodejs": "^2.6.0", "@skynetlabs/skynet-nodejs": "^2.6.0",
"@solana/web3.js": "^1.47.3", "@solana/web3.js": "^1.47.3",
"@types/acme-client": "^3.3.0", "@types/acme-client": "^3.3.0",
@ -40,6 +41,7 @@
"ethers": "^5.6.9", "ethers": "^5.6.9",
"eventemitter2": "^6.4.9", "eventemitter2": "^6.4.9",
"express": "^4.18.1", "express": "^4.18.1",
"fastify": "^4.10.2",
"fetch-blob": "https://github.com/LumeWeb/fetch-blob.git", "fetch-blob": "https://github.com/LumeWeb/fetch-blob.git",
"hyperswarm": "^3.0.4", "hyperswarm": "^3.0.4",
"json-stable-stringify": "^1.0.1", "json-stable-stringify": "^1.0.1",
@ -49,6 +51,7 @@
"loady": "https://github.com/LumeWeb/loady.git", "loady": "https://github.com/LumeWeb/loady.git",
"loglevel": "^1.8.1", "loglevel": "^1.8.1",
"loglevel-plugin-prefix": "^0.8.4", "loglevel-plugin-prefix": "^0.8.4",
"micro-ed25519-hdkey": "^0.1.2",
"msgpackr": "^1.6.1", "msgpackr": "^1.6.1",
"node-cache": "^5.1.2", "node-cache": "^5.1.2",
"node-cron": "^3.0.1", "node-cron": "^3.0.1",

View File

@ -7,16 +7,14 @@ import { loadPlugins } from "./modules/plugin.js";
import { start as startDns } from "./modules/dns.js"; import { start as startDns } from "./modules/dns.js";
import { start as startSSl } from "./modules/ssl.js"; import { start as startSSl } from "./modules/ssl.js";
import { start as startSwarm } from "./modules/swarm.js"; import { start as startSwarm } from "./modules/swarm.js";
import { generateSeedPhraseDeterministic } from "libskynet"; import * as bip39 from "@scure/bip39";
import * as crypto from "crypto"; import { wordlist } from "@scure/bip39/wordlists/english";
log.setDefaultLevel(config.str("log-level")); log.setDefaultLevel(config.str("log-level"));
if (!config.str("seed")) { if (!config.str("seed")) {
config.saveConfigJson("account.json", { config.saveConfigJson("account.json", {
seed: generateSeedPhraseDeterministic( seed: bip39.generateMnemonic(wordlist),
crypto.randomBytes(100).toString("hex")
)[0],
}); });
} }

26
src/lib/seed.ts Normal file
View File

@ -0,0 +1,26 @@
import { HDKey } from "micro-ed25519-hdkey";
import config from "../config";
import * as bip39 from "@scure/bip39";
import { wordlist } from "@scure/bip39/wordlists/english";
import { errorExit } from "./error.js";
export function getSeed() {
const seed = config.str("seed");
let err = bip39.validateMnemonic(seed, wordlist);
if (err !== null) {
errorExit("LUME_WEB_RELAY_SEED is invalid. Aborting.");
}
return bip39.mnemonicToSeedSync(seed);
}
export function getHDKey(): HDKey {
return HDKey.fromMasterSeed(getSeed()).derive("m/44'/1627'/0'/0");
}
export function getKeyPair() {
const key = getHDKey();
return { publicKey: key.publicKeyRaw, secretKey: key.privateKey };
}

View File

@ -1,17 +0,0 @@
import config from "../config";
import { seedPhraseToSeed } from "libskynet";
export function dynImport(module: string) {
return Function(`return import("${module}")`)() as Promise<any>;
}
export function getSeed(): Uint8Array {
let [seed, err] = seedPhraseToSeed(config.str("seed"));
if (err) {
console.error(err);
process.exit(1);
}
return seed;
}

View File

@ -5,18 +5,12 @@
import Hyperswarm from "hyperswarm"; import Hyperswarm from "hyperswarm";
// @ts-ignore // @ts-ignore
import DHT from "@hyperswarm/dht"; import DHT from "@hyperswarm/dht";
import config from "../config.js";
import { errorExit } from "../lib/error.js";
import {
deriveMyskyRootKeypair,
seedPhraseToSeed,
validSeedPhrase,
} from "libskynet";
// @ts-ignore // @ts-ignore
import sodium from "sodium-universal"; import sodium from "sodium-universal";
import b4a from "b4a"; import b4a from "b4a";
import log from "loglevel"; import log from "loglevel";
import { getKeyPair } from "../lib/seed.js";
const LUMEWEB = b4a.from("lumeweb"); const LUMEWEB = b4a.from("lumeweb");
export const LUMEWEB_TOPIC_HASH = b4a.allocUnsafe(32); export const LUMEWEB_TOPIC_HASH = b4a.allocUnsafe(32);
@ -26,17 +20,6 @@ export type SecretStream = any;
let node: Hyperswarm; let node: Hyperswarm;
export function getKeyPair() {
const seed = config.str("seed");
let err = validSeedPhrase(seed);
if (err !== null) {
errorExit("LUME_WEB_RELAY_SEED is invalid. Aborting.");
}
return deriveMyskyRootKeypair(seedPhraseToSeed(seed)[0]);
}
export async function start() { export async function start() {
const keyPair = getKeyPair(); const keyPair = getKeyPair();

403
yarn.lock
View File

@ -471,6 +471,40 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@fastify/ajv-compiler@npm:^3.3.1":
version: 3.5.0
resolution: "@fastify/ajv-compiler@npm:3.5.0"
dependencies:
ajv: "npm:^8.11.0"
ajv-formats: "npm:^2.1.1"
fast-uri: "npm:^2.0.0"
checksum: b2969c93b1583b3cb3e16d1d204c335ef4523e94ceda54a442d95be3574171922ec7784aa386f895a0fd0081f95741b33c2eddd29fd1a130044b21b70d31dd2d
languageName: node
linkType: hard
"@fastify/deepmerge@npm:^1.0.0":
version: 1.3.0
resolution: "@fastify/deepmerge@npm:1.3.0"
checksum: b9815ef1607a962a2f3bb03fb70c60b2c7bbf311f8a7034aecd2f50c848ce9b49089dca1444894e5473e379ad6f301bf2b9975be60d4a924022915629183295f
languageName: node
linkType: hard
"@fastify/error@npm:^3.0.0":
version: 3.2.0
resolution: "@fastify/error@npm:3.2.0"
checksum: 87d7a1f7268f23095af3e2674bd7e2d1c3bee5964b290bcd34496c32f20a9ca4ed94876b4281f3a34775320723164667bbec5a321148f85b5df5e0c413880ca7
languageName: node
linkType: hard
"@fastify/fast-json-stringify-compiler@npm:^4.1.0":
version: 4.2.0
resolution: "@fastify/fast-json-stringify-compiler@npm:4.2.0"
dependencies:
fast-json-stringify: "npm:^5.0.0"
checksum: 5dbc27b7dcf856428b3734f9839aa62b894bdd0fb11c03d5a9b19e7caaf12f7c2cb514823eb625d0f837e6e463d0f6a9f5c8e50b031ccada61f02eba9e076745
languageName: node
linkType: hard
"@gar/promisify@npm:^1.1.3": "@gar/promisify@npm:^1.1.3":
version: 1.1.3 version: 1.1.3
resolution: "@gar/promisify@npm:1.1.3" resolution: "@gar/promisify@npm:1.1.3"
@ -655,6 +689,7 @@ __metadata:
"@lumeweb/kernel-utils": "https://github.com/LumeWeb/kernel-utils.git" "@lumeweb/kernel-utils": "https://github.com/LumeWeb/kernel-utils.git"
"@lumeweb/pokt-rpc-endpoints": "https://github.com/LumeWeb/pokt-rpc-endpoints.git" "@lumeweb/pokt-rpc-endpoints": "https://github.com/LumeWeb/pokt-rpc-endpoints.git"
"@lumeweb/relay-types": "https://git.lumeweb.com/LumeWeb/relay-types.git" "@lumeweb/relay-types": "https://git.lumeweb.com/LumeWeb/relay-types.git"
"@scure/bip39": "npm:^1.1.0"
"@skynetlabs/skynet-nodejs": "npm:^2.6.0" "@skynetlabs/skynet-nodejs": "npm:^2.6.0"
"@solana/web3.js": "npm:^1.47.3" "@solana/web3.js": "npm:^1.47.3"
"@types/acme-client": "npm:^3.3.0" "@types/acme-client": "npm:^3.3.0"
@ -676,6 +711,7 @@ __metadata:
ethers: "npm:^5.6.9" ethers: "npm:^5.6.9"
eventemitter2: "npm:^6.4.9" eventemitter2: "npm:^6.4.9"
express: "npm:^4.18.1" express: "npm:^4.18.1"
fastify: "npm:^4.10.2"
fetch-blob: "https://github.com/LumeWeb/fetch-blob.git" fetch-blob: "https://github.com/LumeWeb/fetch-blob.git"
hyper-typings: "npm:^1.0.0" hyper-typings: "npm:^1.0.0"
hyperswarm: "npm:^3.0.4" hyperswarm: "npm:^3.0.4"
@ -686,6 +722,7 @@ __metadata:
loady: "https://github.com/LumeWeb/loady.git" loady: "https://github.com/LumeWeb/loady.git"
loglevel: "npm:^1.8.1" loglevel: "npm:^1.8.1"
loglevel-plugin-prefix: "npm:^0.8.4" loglevel-plugin-prefix: "npm:^0.8.4"
micro-ed25519-hdkey: "npm:^0.1.2"
msgpackr: "npm:^1.6.1" msgpackr: "npm:^1.6.1"
node-cache: "npm:^5.1.2" node-cache: "npm:^5.1.2"
node-cron: "npm:^3.0.1" node-cron: "npm:^3.0.1"
@ -750,7 +787,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@noble/ed25519@npm:^1.7.0": "@noble/ed25519@npm:^1.7.0, @noble/ed25519@npm:~1.7.1":
version: 1.7.1 version: 1.7.1
resolution: "@noble/ed25519@npm:1.7.1" resolution: "@noble/ed25519@npm:1.7.1"
checksum: b1aa4b9264c2a26d1905b01493c81c124eb05758c00464fcc9ae92880f9696fc4b525d9ff2a22c859ca753982172ba7b180242a6adb0b8ecc52a944d2173e77c checksum: b1aa4b9264c2a26d1905b01493c81c124eb05758c00464fcc9ae92880f9696fc4b525d9ff2a22c859ca753982172ba7b180242a6adb0b8ecc52a944d2173e77c
@ -764,6 +801,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@noble/hashes@npm:~1.1.1":
version: 1.1.5
resolution: "@noble/hashes@npm:1.1.5"
checksum: 6f64304610c82611e74dc21b43f1a792b09e4ab2983f8cf5ac737847601e529bf848c111724b7641477ae23827cf7031e562f6cf72ba025b22885523d3e1b267
languageName: node
linkType: hard
"@noble/secp256k1@npm:^1.6.3": "@noble/secp256k1@npm:^1.6.3":
version: 1.7.0 version: 1.7.0
resolution: "@noble/secp256k1@npm:1.7.0" resolution: "@noble/secp256k1@npm:1.7.0"
@ -869,6 +913,23 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@scure/base@npm:~1.1.0":
version: 1.1.1
resolution: "@scure/base@npm:1.1.1"
checksum: 660e4a6c9ad3104c05c8bb3dd4c9f19a0ec1a6d45d68c3e7f418414660e13fe7d389201f347c1a1eefb19ec10ef09e32920e503f48d85b445aa8d43f419907bd
languageName: node
linkType: hard
"@scure/bip39@npm:^1.1.0":
version: 1.1.0
resolution: "@scure/bip39@npm:1.1.0"
dependencies:
"@noble/hashes": "npm:~1.1.1"
"@scure/base": "npm:~1.1.0"
checksum: 2709726157ec629e8e31bd28da245803ac939dc0f7f4ce8782c9fc50eb624ff7bf3f9ecb194291d84d5e48682faad92e1855d52ef7bc032bbb01d13624529cbd
languageName: node
linkType: hard
"@skynetlabs/skynet-nodejs@npm:^2.6.0": "@skynetlabs/skynet-nodejs@npm:^2.6.0":
version: 2.9.0 version: 2.9.0
resolution: "@skynetlabs/skynet-nodejs@npm:2.9.0" resolution: "@skynetlabs/skynet-nodejs@npm:2.9.0"
@ -1118,6 +1179,22 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"abort-controller@npm:^3.0.0":
version: 3.0.0
resolution: "abort-controller@npm:3.0.0"
dependencies:
event-target-shim: "npm:^5.0.0"
checksum: 336c22d64efef7142681fc2944db3f448d10b2384d816fc90502ea8d32800c854bd9cd586b168e216ba2e5f4cd0bfb431650a6e5dbc18957e614966ca7649764
languageName: node
linkType: hard
"abstract-logging@npm:^2.0.1":
version: 2.0.1
resolution: "abstract-logging@npm:2.0.1"
checksum: 502e63f553ad2ce59d6e4e45b68ed06ab958ded383c4b31df240f94976298570af30d4e3e349c2a260a4083a6d22ab29a18a54af85fba7bce6a116f1b607871c
languageName: node
linkType: hard
"accepts@npm:~1.3.8": "accepts@npm:~1.3.8":
version: 1.3.8 version: 1.3.8
resolution: "accepts@npm:1.3.8" resolution: "accepts@npm:1.3.8"
@ -1177,7 +1254,21 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"ajv@npm:^8.11.0": "ajv-formats@npm:^2.1.1":
version: 2.1.1
resolution: "ajv-formats@npm:2.1.1"
dependencies:
ajv: "npm:^8.0.0"
peerDependencies:
ajv: ^8.0.0
peerDependenciesMeta:
ajv:
optional: true
checksum: e5f81767fea58d19fd3b90cdbe09036f25d7fab103ffcba684eb4a4bd8b4181c06494a0324c768f409dc3c9643d91382e6e6a16e577396369a281ac39f18207f
languageName: node
linkType: hard
"ajv@npm:^8.0.0, ajv@npm:^8.10.0, ajv@npm:^8.11.0":
version: 8.11.2 version: 8.11.2
resolution: "ajv@npm:8.11.2" resolution: "ajv@npm:8.11.2"
dependencies: dependencies:
@ -1226,6 +1317,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"archy@npm:^1.0.0":
version: 1.0.0
resolution: "archy@npm:1.0.0"
checksum: 68f2a06546740392b40920ffc97362f22cf26fee02cb448a875c28ae916ac4017169d08ce40ad12fa2d11ea1dc2d32c35fad4219f7f3b14a642497719ce4de83
languageName: node
linkType: hard
"are-we-there-yet@npm:^3.0.0": "are-we-there-yet@npm:^3.0.0":
version: 3.0.1 version: 3.0.1
resolution: "are-we-there-yet@npm:3.0.1" resolution: "are-we-there-yet@npm:3.0.1"
@ -1283,6 +1381,24 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"atomic-sleep@npm:^1.0.0":
version: 1.0.0
resolution: "atomic-sleep@npm:1.0.0"
checksum: b9583d8fafe683ebdd7e516e1e9efc220d2b457dc1ae7e2175d32322f6a355d0d9dbb7eb397e104fca1f4cb9064474ea1697fd2f71d394df07508675a9f7686b
languageName: node
linkType: hard
"avvio@npm:^8.2.0":
version: 8.2.0
resolution: "avvio@npm:8.2.0"
dependencies:
archy: "npm:^1.0.0"
debug: "npm:^4.0.0"
fastq: "npm:^1.6.1"
checksum: 3d75e723814ab1c0270f4a90b6949ca9159ab5c56d4afa6346b2495cf3929b78373de1bf94376c0ae7a8c76f7239d0153decd976c42770f0566720e69ff9620e
languageName: node
linkType: hard
"axios@npm:0.27.2, axios@npm:^0.27.2": "axios@npm:0.27.2, axios@npm:^0.27.2":
version: 0.27.2 version: 0.27.2
resolution: "axios@npm:0.27.2" resolution: "axios@npm:0.27.2"
@ -1554,7 +1670,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"buffer@npm:^6.0.1, buffer@npm:~6.0.3": "buffer@npm:^6.0.1, buffer@npm:^6.0.3, buffer@npm:~6.0.3":
version: 6.0.3 version: 6.0.3
resolution: "buffer@npm:6.0.3" resolution: "buffer@npm:6.0.3"
dependencies: dependencies:
@ -1792,7 +1908,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"content-type@npm:~1.0.4": "content-type@npm:^1.0.4, content-type@npm:~1.0.4":
version: 1.0.4 version: 1.0.4
resolution: "content-type@npm:1.0.4" resolution: "content-type@npm:1.0.4"
checksum: 20bda9bccfb0086d4e4b35cc5c6073b693d4a8ff0a0da0b68cf283c34a649a5d07068fd240c1ed503a7696dbbf4c875cecb708ea219db1880fbfa40e8fb02620 checksum: 20bda9bccfb0086d4e4b35cc5c6073b693d4a8ff0a0da0b68cf283c34a649a5d07068fd240c1ed503a7696dbbf4c875cecb708ea219db1880fbfa40e8fb02620
@ -1806,7 +1922,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"cookie@npm:0.5.0": "cookie@npm:0.5.0, cookie@npm:^0.5.0":
version: 0.5.0 version: 0.5.0
resolution: "cookie@npm:0.5.0" resolution: "cookie@npm:0.5.0"
checksum: 23bd6dd64f025869373c6f3c72a870b9bd0e0e6a0ffe734229c032d7aca51972ba584b39100c09141b18043e790862425aae4a60d7449fca565b21cdae0cb3c3 checksum: 23bd6dd64f025869373c6f3c72a870b9bd0e0e6a0ffe734229c032d7aca51972ba584b39100c09141b18043e790862425aae4a60d7449fca565b21cdae0cb3c3
@ -1850,7 +1966,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.3": "debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.3":
version: 4.3.4 version: 4.3.4
resolution: "debug@npm:4.3.4" resolution: "debug@npm:4.3.4"
dependencies: dependencies:
@ -2116,6 +2232,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"event-target-shim@npm:^5.0.0":
version: 5.0.1
resolution: "event-target-shim@npm:5.0.1"
checksum: 9bac81ec63b29e184fe5d10a8ea09a2957f39dc109a6f594c5e095beae88bf64c63b061ebb867fe883832ca4a8daefda8a92ed55a4f460cedbef25e574fb4466
languageName: node
linkType: hard
"eventemitter2@npm:^6.4.9": "eventemitter2@npm:^6.4.9":
version: 6.4.9 version: 6.4.9
resolution: "eventemitter2@npm:6.4.9" resolution: "eventemitter2@npm:6.4.9"
@ -2199,7 +2322,14 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fast-deep-equal@npm:^3.1.1": "fast-decode-uri-component@npm:^1.0.1":
version: 1.0.1
resolution: "fast-decode-uri-component@npm:1.0.1"
checksum: 47a0e7876b61e6f2661d43abd50cbb1cbb1a3e4eaadc428fbb914a5c78ad1a187f9fc1e4570052eb18d02239fbfd66642cd7b1adee5e927821fba0c93e7096db
languageName: node
linkType: hard
"fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3":
version: 3.1.3 version: 3.1.3
resolution: "fast-deep-equal@npm:3.1.3" resolution: "fast-deep-equal@npm:3.1.3"
checksum: 5f83fabf1f0bac0df5117e881ee15756dc8a9ee48c8020ed63cb84a7935d78c338dc0982b3b7b6ad0792905f5ef0c35293db9cae2f3208a6f09071c43887a02f checksum: 5f83fabf1f0bac0df5117e881ee15756dc8a9ee48c8020ed63cb84a7935d78c338dc0982b3b7b6ad0792905f5ef0c35293db9cae2f3208a6f09071c43887a02f
@ -2226,6 +2356,36 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fast-json-stringify@npm:^5.0.0":
version: 5.5.0
resolution: "fast-json-stringify@npm:5.5.0"
dependencies:
"@fastify/deepmerge": "npm:^1.0.0"
ajv: "npm:^8.10.0"
ajv-formats: "npm:^2.1.1"
fast-deep-equal: "npm:^3.1.3"
fast-uri: "npm:^2.1.0"
rfdc: "npm:^1.2.0"
checksum: 8806e55efd6c5d0ec15c657157490b202aef7e2244862ac0c8c85bb7d8778d28282d1e55d9ad1dd2f1a5d7ecb078e0b05aa675f456b81ac2c6bf388bac9bf768
languageName: node
linkType: hard
"fast-querystring@npm:^1.0.0":
version: 1.0.0
resolution: "fast-querystring@npm:1.0.0"
dependencies:
fast-decode-uri-component: "npm:^1.0.1"
checksum: 4be707ce856f10b5377360ce0d76a3583cea4d8ae27c5700e00096b93c4f018e234737d6bc28856ae0e9f6dc4c40ca0f5f93cba78b245824770b115ef693e7df
languageName: node
linkType: hard
"fast-redact@npm:^3.1.1":
version: 3.1.2
resolution: "fast-redact@npm:3.1.2"
checksum: 1d85b760a16477565d1bc7139d423fe8102f5444f3d3540e5d43a9021d475d831182e41859d70e0433188f70275f17989022f9d18d14905bd86ac8ef9e35f624
languageName: node
linkType: hard
"fast-stable-stringify@npm:^1.0.0": "fast-stable-stringify@npm:^1.0.0":
version: 1.0.0 version: 1.0.0
resolution: "fast-stable-stringify@npm:1.0.0" resolution: "fast-stable-stringify@npm:1.0.0"
@ -2233,7 +2393,37 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fastq@npm:^1.6.0": "fast-uri@npm:^2.0.0, fast-uri@npm:^2.1.0":
version: 2.2.0
resolution: "fast-uri@npm:2.2.0"
checksum: 9a31c7428f1817015b1c9147fa1b15e85bd22b331f3bcd4065c8515934586805262b103b49f3e1ceec37a787b6cfaef0eda011adca28fb8713eb0b05bdc8f403
languageName: node
linkType: hard
"fastify@npm:^4.10.2":
version: 4.10.2
resolution: "fastify@npm:4.10.2"
dependencies:
"@fastify/ajv-compiler": "npm:^3.3.1"
"@fastify/error": "npm:^3.0.0"
"@fastify/fast-json-stringify-compiler": "npm:^4.1.0"
abstract-logging: "npm:^2.0.1"
avvio: "npm:^8.2.0"
content-type: "npm:^1.0.4"
find-my-way: "npm:^7.3.0"
light-my-request: "npm:^5.6.1"
pino: "npm:^8.5.0"
process-warning: "npm:^2.0.0"
proxy-addr: "npm:^2.0.7"
rfdc: "npm:^1.3.0"
secure-json-parse: "npm:^2.5.0"
semver: "npm:^7.3.7"
tiny-lru: "npm:^10.0.0"
checksum: 7f701025ac612de7a790024addbecb290547f1147efcfa0e0a1a43bf766ba1a490eb18b03f697660aea3a7777707f1b016e757e34dbba5023db850c497ccafd9
languageName: node
linkType: hard
"fastq@npm:^1.6.0, fastq@npm:^1.6.1":
version: 1.14.0 version: 1.14.0
resolution: "fastq@npm:1.14.0" resolution: "fastq@npm:1.14.0"
dependencies: dependencies:
@ -2283,6 +2473,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"find-my-way@npm:^7.3.0":
version: 7.3.1
resolution: "find-my-way@npm:7.3.1"
dependencies:
fast-deep-equal: "npm:^3.1.3"
fast-querystring: "npm:^1.0.0"
safe-regex2: "npm:^2.0.0"
checksum: 81a972d69c319a57815597992827f3415ac1d22e0a930310da7400d4cd62337f153b5107a74df06f9340a255c3e4e55478757b16ea0fcc7996b7bfa51f4747a6
languageName: node
linkType: hard
"follow-redirects@npm:^1.14.9": "follow-redirects@npm:^1.14.9":
version: 1.15.2 version: 1.15.2
resolution: "follow-redirects@npm:1.15.2" resolution: "follow-redirects@npm:1.15.2"
@ -3013,6 +3214,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"light-my-request@npm:^5.6.1":
version: 5.8.0
resolution: "light-my-request@npm:5.8.0"
dependencies:
cookie: "npm:^0.5.0"
process-warning: "npm:^2.0.0"
set-cookie-parser: "npm:^2.4.1"
checksum: bc778e637956ac376777c03466ae6572998fcb7989f8063c068f3081fac66b0a7090d5f2b6f84ed01caac633bd49d6d54a55133bcfabeca8f7b986bf46d62644
languageName: node
linkType: hard
"loady@https://github.com/LumeWeb/loady.git": "loady@https://github.com/LumeWeb/loady.git":
version: 0.0.5 version: 0.0.5
resolution: "loady@https://github.com/LumeWeb/loady.git#commit=5f2523a51ae0e71980731b7dabd21280c2a40496" resolution: "loady@https://github.com/LumeWeb/loady.git#commit=5f2523a51ae0e71980731b7dabd21280c2a40496"
@ -3191,6 +3403,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"micro-ed25519-hdkey@npm:^0.1.2":
version: 0.1.2
resolution: "micro-ed25519-hdkey@npm:0.1.2"
dependencies:
"@noble/ed25519": "npm:~1.7.1"
"@noble/hashes": "npm:~1.1.1"
checksum: dec8668fdca58f9836a1facd93634c6e235c63abf3eef00ca7e15c02c47cc74b58eb8120af078be66f09c3d8ad5beeb79777679ebc9639477b2e11b9340335fe
languageName: node
linkType: hard
"micromatch@npm:^4.0.4": "micromatch@npm:^4.0.4":
version: 4.0.5 version: 4.0.5
resolution: "micromatch@npm:4.0.5" resolution: "micromatch@npm:4.0.5"
@ -3677,6 +3899,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"on-exit-leak-free@npm:^2.1.0":
version: 2.1.0
resolution: "on-exit-leak-free@npm:2.1.0"
checksum: b564f515f00c591ad7fa2afeabf57dd1ab9f27c0b9e5a523ed206dc3e2404f615516d7575cb187ade0cebd8409ce00c2046ad6755c6ad42f892d222bb1cc9fbe
languageName: node
linkType: hard
"on-finished@npm:2.4.1": "on-finished@npm:2.4.1":
version: 2.4.1 version: 2.4.1
resolution: "on-finished@npm:2.4.1" resolution: "on-finished@npm:2.4.1"
@ -3790,6 +4019,44 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"pino-abstract-transport@npm:v1.0.0":
version: 1.0.0
resolution: "pino-abstract-transport@npm:1.0.0"
dependencies:
readable-stream: "npm:^4.0.0"
split2: "npm:^4.0.0"
checksum: f6437abcc28f4d6f6e2c82361f50393c73c568647d591abfbbfb5eacc408f7a983425e4250edf7459790ef941409e19fcad7e2d10a914f3d28a13f68223fc26a
languageName: node
linkType: hard
"pino-std-serializers@npm:^6.0.0":
version: 6.0.0
resolution: "pino-std-serializers@npm:6.0.0"
checksum: bf1e2b887cce17b4805205b10951aa6ac71a05595e4e88cc917bfeab23c3d2def540ae93d0906e8b1511ad59f51be3b3ace692d9c8e5eb7a47d92e99a08393ea
languageName: node
linkType: hard
"pino@npm:^8.5.0":
version: 8.8.0
resolution: "pino@npm:8.8.0"
dependencies:
atomic-sleep: "npm:^1.0.0"
fast-redact: "npm:^3.1.1"
on-exit-leak-free: "npm:^2.1.0"
pino-abstract-transport: "npm:v1.0.0"
pino-std-serializers: "npm:^6.0.0"
process-warning: "npm:^2.0.0"
quick-format-unescaped: "npm:^4.0.3"
real-require: "npm:^0.2.0"
safe-stable-stringify: "npm:^2.3.1"
sonic-boom: "npm:^3.1.0"
thread-stream: "npm:^2.0.0"
bin:
pino: bin.js
checksum: 2356ad5ab8b85aca7092707a577521c9d3d8ef3ca7b8e70151402cb69cc37ad25f958fdca3ed32eb2da9fae15cb36e41279eeceff7f6cd91bd60706826ab20c6
languageName: node
linkType: hard
"pkg-fetch@npm:3.4.2": "pkg-fetch@npm:3.4.2":
version: 3.4.2 version: 3.4.2
resolution: "pkg-fetch@npm:3.4.2" resolution: "pkg-fetch@npm:3.4.2"
@ -3900,6 +4167,20 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"process-warning@npm:^2.0.0":
version: 2.1.0
resolution: "process-warning@npm:2.1.0"
checksum: 9de38687f1cc3bd29c71b603ad7552adce966d95ab152616e8231bcf1fb1c78c7e21c6612b0caa4eecb13363d9a65fc187e6ea2beabde307a06d672ad3c4a387
languageName: node
linkType: hard
"process@npm:^0.11.10":
version: 0.11.10
resolution: "process@npm:0.11.10"
checksum: e21687b0b8fe1c6812ea43858aa5c1234e05dc6b2c366b280c850fd09d644100cbcf2f3784feec4bc6f57002a465e7eea2901acf1462ffc94ba9ac98f105ede5
languageName: node
linkType: hard
"progress@npm:^2.0.3": "progress@npm:^2.0.3":
version: 2.0.3 version: 2.0.3
resolution: "progress@npm:2.0.3" resolution: "progress@npm:2.0.3"
@ -3980,7 +4261,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"proxy-addr@npm:~2.0.7": "proxy-addr@npm:^2.0.7, proxy-addr@npm:~2.0.7":
version: 2.0.7 version: 2.0.7
resolution: "proxy-addr@npm:2.0.7" resolution: "proxy-addr@npm:2.0.7"
dependencies: dependencies:
@ -4037,6 +4318,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"quick-format-unescaped@npm:^4.0.3":
version: 4.0.4
resolution: "quick-format-unescaped@npm:4.0.4"
checksum: 58a01dba9408d8741166f670f0ca97ef31fe2bbf29ce9faacb4f8818a21e38c8b5fda2d69e3be15e7ec11883a35aad2a1bd4cb7a19e26dcdfc9b10f6dc245976
languageName: node
linkType: hard
"random-access-memory@npm:^4.1.0": "random-access-memory@npm:^4.1.0":
version: 4.1.0 version: 4.1.0
resolution: "random-access-memory@npm:4.1.0" resolution: "random-access-memory@npm:4.1.0"
@ -4135,6 +4423,25 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"readable-stream@npm:^4.0.0":
version: 4.2.0
resolution: "readable-stream@npm:4.2.0"
dependencies:
abort-controller: "npm:^3.0.0"
buffer: "npm:^6.0.3"
events: "npm:^3.3.0"
process: "npm:^0.11.10"
checksum: 3cfa3468ad24be26c093760a60b60d6ebbf3bb2f36b5def374d4c729792cd7aa0e3a40b6fed09f1e0ff3ced0aa298a6931e3445e795ec6517b6e0ef28a519486
languageName: node
linkType: hard
"real-require@npm:^0.2.0":
version: 0.2.0
resolution: "real-require@npm:0.2.0"
checksum: 7c125a785f6fbde1724e48c0e0cfb0aaf65d84382cc83850ffed455b7bf759843f8f69d9e54cf1777894821b82dcbdad1cd2b74a54b00e490d6aa5d58b981171
languageName: node
linkType: hard
"record-cache@npm:^1.1.1": "record-cache@npm:^1.1.1":
version: 1.2.0 version: 1.2.0
resolution: "record-cache@npm:1.2.0" resolution: "record-cache@npm:1.2.0"
@ -4198,6 +4505,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"ret@npm:~0.2.0":
version: 0.2.2
resolution: "ret@npm:0.2.2"
checksum: d9fbf8e2bd19415c5245e95864265b80ab1f9831a6d4cd91f9c795e5721e6894c6abf371eedcdd0d375e8d39ce4bc6a5061cfe86514de28ce997757e0d60a0d2
languageName: node
linkType: hard
"retry@npm:^0.10.0": "retry@npm:^0.10.0":
version: 0.10.1 version: 0.10.1
resolution: "retry@npm:0.10.1" resolution: "retry@npm:0.10.1"
@ -4219,6 +4533,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"rfdc@npm:^1.2.0, rfdc@npm:^1.3.0":
version: 1.3.0
resolution: "rfdc@npm:1.3.0"
checksum: 9ced4765721871fd25557302aac79c252fd2ce6e79b94321fc32c9c6fbecbb7207f8566672bc5421aeeb8f1b673b1c9af2a7a13c4e1d8f53ac481f8d32645409
languageName: node
linkType: hard
"rimraf@npm:^3.0.2": "rimraf@npm:^3.0.2":
version: 3.0.2 version: 3.0.2
resolution: "rimraf@npm:3.0.2" resolution: "rimraf@npm:3.0.2"
@ -4286,6 +4607,22 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"safe-regex2@npm:^2.0.0":
version: 2.0.0
resolution: "safe-regex2@npm:2.0.0"
dependencies:
ret: "npm:~0.2.0"
checksum: 27803fb31d04c585b869945de0881cc816af91473942605eda38d62d65234324a1fc05839ea528c0a805ac66c51e71676bf43ba1f933f5884bb8c58ecef256b3
languageName: node
linkType: hard
"safe-stable-stringify@npm:^2.3.1":
version: 2.4.1
resolution: "safe-stable-stringify@npm:2.4.1"
checksum: 03134dca6d1f0eb74707f679ba3c3a43ebbb1722862908ac4f40c42cc74870c7ef2ca861b230903edb788906abfe8bf570b38c54be81db895d3d1f1c459b453f
languageName: node
linkType: hard
"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0": "safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0":
version: 2.1.2 version: 2.1.2
resolution: "safer-buffer@npm:2.1.2" resolution: "safer-buffer@npm:2.1.2"
@ -4307,6 +4644,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"secure-json-parse@npm:^2.5.0":
version: 2.6.0
resolution: "secure-json-parse@npm:2.6.0"
checksum: 5459182cffb6d7c304545e825cc0fbc565633cda48099857454dac49fdabac1a1ab263764c01435bdf234e57275ecdbd9dc402a4830858f0fed8f9a0bc6d3aa5
languageName: node
linkType: hard
"semver@npm:^5.4.1": "semver@npm:^5.4.1":
version: 5.7.1 version: 5.7.1
resolution: "semver@npm:5.7.1" resolution: "semver@npm:5.7.1"
@ -4316,7 +4660,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"semver@npm:^7.3.5": "semver@npm:^7.3.5, semver@npm:^7.3.7":
version: 7.3.8 version: 7.3.8
resolution: "semver@npm:7.3.8" resolution: "semver@npm:7.3.8"
dependencies: dependencies:
@ -4367,6 +4711,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"set-cookie-parser@npm:^2.4.1":
version: 2.5.1
resolution: "set-cookie-parser@npm:2.5.1"
checksum: 05af504c2f8ce34d2616ff79047659a8045459aa8f1dbe969c49e7ac0eb1cce24279cddc8050b575b8f8a821c70ebb95b34ea98495da37d90d6a2cad782b36cd
languageName: node
linkType: hard
"setprototypeof@npm:1.2.0": "setprototypeof@npm:1.2.0":
version: 1.2.0 version: 1.2.0
resolution: "setprototypeof@npm:1.2.0" resolution: "setprototypeof@npm:1.2.0"
@ -4613,6 +4964,22 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"sonic-boom@npm:^3.1.0":
version: 3.2.1
resolution: "sonic-boom@npm:3.2.1"
dependencies:
atomic-sleep: "npm:^1.0.0"
checksum: a994405eb07770b2559950f7511660b00e5708a1e3d10be6e6ab552169a8f7610ee51f330f7f09bec1481d5152a6e5afdccc75951c4f77855b9d0f15dc39eb1b
languageName: node
linkType: hard
"split2@npm:^4.0.0":
version: 4.1.0
resolution: "split2@npm:4.1.0"
checksum: 9f5fcdc441f3de25900eb2dde17debef7fc41c4e0075693a4e807bd228a1f4a099484eadedbc9e36350aa207376934b5c28d6750225207ff0d2e3df3332e9cb9
languageName: node
linkType: hard
"ssri@npm:^9.0.0": "ssri@npm:^9.0.0":
version: 9.0.1 version: 9.0.1
resolution: "ssri@npm:9.0.1" resolution: "ssri@npm:9.0.1"
@ -4789,6 +5156,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"thread-stream@npm:^2.0.0":
version: 2.2.0
resolution: "thread-stream@npm:2.2.0"
dependencies:
real-require: "npm:^0.2.0"
checksum: 7b50643d5bfbcad9f98cb13ef00a3b4ffa600fa90530d78e0209d282aad8840e61786268d09a361bebb557f93c937b6cd396d3cf3f9c0df80f844a12d62d549c
languageName: node
linkType: hard
"through@npm:>=2.2.7 <3, through@npm:^2.3.6": "through@npm:>=2.2.7 <3, through@npm:^2.3.6":
version: 2.3.8 version: 2.3.8
resolution: "through@npm:2.3.8" resolution: "through@npm:2.3.8"
@ -4810,6 +5186,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"tiny-lru@npm:^10.0.0":
version: 10.0.1
resolution: "tiny-lru@npm:10.0.1"
checksum: e36c06f6258f4a8b612e86170c8a2ab7a3e62a60b39107bbefd180afc62a5189294f5f20b579217f82815daea7b683be77f1d76fec98158d64099b13d8914afc
languageName: node
linkType: hard
"tiny-sprintf@npm:^0.3.0": "tiny-sprintf@npm:^0.3.0":
version: 0.3.0 version: 0.3.0
resolution: "tiny-sprintf@npm:0.3.0" resolution: "tiny-sprintf@npm:0.3.0"