Skip to content

Commit

Permalink
Merge pull request #283 from MatrixAI/BIP39_Recovery
Browse files Browse the repository at this point in the history
Implementing BIP39 recovery, Unattended Bootstrap and Agent Start and Status
  • Loading branch information
CMCDragonkai authored Dec 6, 2021
2 parents 9200b11 + ec6ad04 commit 4ca847b
Show file tree
Hide file tree
Showing 171 changed files with 6,530 additions and 3,538 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/consistent-type-imports": ["error"],
"@typescript-eslint/consistent-type-exports": ["error"],
"no-throw-literal": "off",
"@typescript-eslint/no-throw-literal": ["error"],
"@typescript-eslint/no-floating-promises": ["error", {
Expand Down
134 changes: 57 additions & 77 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
},
"dependencies": {
"@grpc/grpc-js": "1.3.7",
"@matrixai/async-init": "^1.1.0",
"@matrixai/async-init": "^1.2.0",
"@matrixai/db": "^1.1.0",
"@matrixai/id": "^2.1.0",
"@matrixai/logger": "^2.1.0",
Expand All @@ -94,7 +94,6 @@
"node-forge": "^0.10.0",
"pako": "^1.0.11",
"prompts": "^2.4.1",
"proper-lockfile": "^4.1.2",
"readable-stream": "^3.6.0",
"threads": "^1.6.5",
"ts-custom-error": "^3.2.0",
Expand All @@ -111,11 +110,10 @@
"@types/node-forge": "^0.9.7",
"@types/pako": "^1.0.2",
"@types/prompts": "^2.0.13",
"@types/proper-lockfile": "^4.1.1",
"@types/readable-stream": "^2.3.11",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"babel-jest": "^26.6.3",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/ErrorPolykey.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { POJO } from './types';

import { CustomError } from 'ts-custom-error';
import sysexits from './utils/sysexits';

class ErrorPolykey extends CustomError {
data: POJO;
description: string = 'Polykey error';
exitCode: number = 1;
exitCode: number = sysexits.GENERAL;
constructor(message: string = '', data: POJO = {}) {
super(message);
this.data = data;
Expand Down
Loading

0 comments on commit 4ca847b

Please sign in to comment.