Skip to content

Commit 4ca847b

Browse files
authored
Merge pull request #283 from MatrixAI/BIP39_Recovery
Implementing BIP39 recovery, Unattended Bootstrap and Agent Start and Status
2 parents 9200b11 + ec6ad04 commit 4ca847b

File tree

171 files changed

+6530
-3538
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+6530
-3538
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"@typescript-eslint/no-empty-function": 0,
9999
"@typescript-eslint/no-empty-interface": 0,
100100
"@typescript-eslint/consistent-type-imports": ["error"],
101+
"@typescript-eslint/consistent-type-exports": ["error"],
101102
"no-throw-literal": "off",
102103
"@typescript-eslint/no-throw-literal": ["error"],
103104
"@typescript-eslint/no-floating-promises": ["error", {

package-lock.json

Lines changed: 57 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
},
7070
"dependencies": {
7171
"@grpc/grpc-js": "1.3.7",
72-
"@matrixai/async-init": "^1.1.0",
72+
"@matrixai/async-init": "^1.2.0",
7373
"@matrixai/db": "^1.1.0",
7474
"@matrixai/id": "^2.1.0",
7575
"@matrixai/logger": "^2.1.0",
@@ -94,7 +94,6 @@
9494
"node-forge": "^0.10.0",
9595
"pako": "^1.0.11",
9696
"prompts": "^2.4.1",
97-
"proper-lockfile": "^4.1.2",
9897
"readable-stream": "^3.6.0",
9998
"threads": "^1.6.5",
10099
"ts-custom-error": "^3.2.0",
@@ -111,11 +110,10 @@
111110
"@types/node-forge": "^0.9.7",
112111
"@types/pako": "^1.0.2",
113112
"@types/prompts": "^2.0.13",
114-
"@types/proper-lockfile": "^4.1.1",
115113
"@types/readable-stream": "^2.3.11",
116114
"@types/uuid": "^8.3.0",
117-
"@typescript-eslint/eslint-plugin": "^4.12.0",
118-
"@typescript-eslint/parser": "^4.12.0",
115+
"@typescript-eslint/eslint-plugin": "^5.4.0",
116+
"@typescript-eslint/parser": "^5.4.0",
119117
"babel-jest": "^26.6.3",
120118
"eslint": "^7.17.0",
121119
"eslint-config-prettier": "^7.1.0",

src/ErrorPolykey.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import type { POJO } from './types';
2-
32
import { CustomError } from 'ts-custom-error';
3+
import sysexits from './utils/sysexits';
44

55
class ErrorPolykey extends CustomError {
66
data: POJO;
77
description: string = 'Polykey error';
8-
exitCode: number = 1;
8+
exitCode: number = sysexits.GENERAL;
99
constructor(message: string = '', data: POJO = {}) {
1010
super(message);
1111
this.data = data;

0 commit comments

Comments
 (0)