*dependency updates

This commit is contained in:
Derrick Hammer 2022-07-22 19:51:11 -04:00
parent 693081c740
commit 330866c1e8
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
"hsd": "https://github.com/LumeWeb/hsd.git#spv-namestate", "hsd": "https://github.com/LumeWeb/hsd.git#spv-namestate",
"jayson": "^3.6.6", "jayson": "^3.6.6",
"json-stable-stringify": "^1.0.1", "json-stable-stringify": "^1.0.1",
"libskynet": "^0.0.48", "libskynet": "^0.0.62",
"libskynetnode": "^0.1.3", "libskynetnode": "^0.1.3",
"minimatch": "^5.1.0", "minimatch": "^5.1.0",
"msgpackr": "^1.6.1", "msgpackr": "^1.6.1",

View File

@ -5,7 +5,7 @@ const DHT = require("@hyperswarm/dht");
import { errorExit } from "./util.js"; import { errorExit } from "./util.js";
import { import {
deriveMyskyRootKeypair, deriveMyskyRootKeypair,
ed25519Keypair, Ed25519Keypair,
seedPhraseToSeed, seedPhraseToSeed,
validSeedPhrase, validSeedPhrase,
} from "libskynet"; } from "libskynet";
@ -18,14 +18,14 @@ let node: {
on: any; on: any;
}; };
let server: { let server: {
listen: (arg0: ed25519Keypair) => any; listen: (arg0: Ed25519Keypair) => any;
on: any; on: any;
}; };
async function start() { async function start() {
const seed = config.str("relay-seed"); const seed = config.str("relay-seed");
let [, err] = validSeedPhrase(seed); let err = validSeedPhrase(seed);
if (err !== null) { if (err !== null) {
errorExit("RELAY_SEED is invalid. Aborting."); errorExit("RELAY_SEED is invalid. Aborting.");
} }