Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vadiminc committed Dec 7, 2023
1 parent b52e6fd commit 3828fec
Show file tree
Hide file tree
Showing 38 changed files with 145 additions and 127 deletions.
17 changes: 8 additions & 9 deletions dist/tsc/src/commands/actions/arguments/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import keystoreArgument from './keystore';
import keystorePathArgument from './keystore-path';
import ownerNonceArgument from './owner-nonce';
import operatorIdsArgument from './operator-ids';
import ownerAddressArgument from './owner-address';
import keystorePasswordArgument from './password';
import outputFolderArgument from './output-folder';
import operatorPublicKeysArgument from './operator-public-keys';
export { keystoreArgument, keystorePathArgument, ownerNonceArgument, operatorIdsArgument, ownerAddressArgument, keystorePasswordArgument, outputFolderArgument, operatorPublicKeysArgument };
export { default as keystoreArgument } from './keystore';
export { default as keystorePathArgument } from './keystore-path';
export { default as ownerNonceArgument } from './owner-nonce';
export { default as operatorIdsArgument } from './operator-ids';
export { default as ownerAddressArgument } from './owner-address';
export { default as keystorePasswordArgument } from './password';
export { default as outputFolderArgument } from './output-folder';
export { default as operatorPublicKeysArgument } from './operator-public-keys';
36 changes: 19 additions & 17 deletions dist/tsc/src/commands/actions/arguments/index.js

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

2 changes: 1 addition & 1 deletion dist/tsc/src/commands/actions/arguments/index.js.map

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

9 changes: 4 additions & 5 deletions dist/tsc/src/commands/actions/validators/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { sanitizePath, fileExistsValidator, jsonFileValidator } from './file';
import { keystorePasswordValidator } from './keystore-password';
import { isOperatorsLengthValid } from "./operator-ids";
import { operatorPublicKeyValidator } from './operator';
export { sanitizePath, jsonFileValidator, fileExistsValidator, isOperatorsLengthValid, keystorePasswordValidator, operatorPublicKeyValidator, };
export { sanitizePath, fileExistsValidator, jsonFileValidator } from './file';
export { keystorePasswordValidator } from './keystore-password';
export { isOperatorsLengthValid } from "./operator-ids";
export { operatorPublicKeyValidator } from './operator';
10 changes: 5 additions & 5 deletions dist/tsc/src/commands/actions/validators/index.js

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

2 changes: 1 addition & 1 deletion dist/tsc/src/commands/actions/validators/index.js.map

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

13 changes: 6 additions & 7 deletions dist/tsc/src/lib/KeyShares/KeySharesData/validators/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { OpeatorsListValidator } from './operator-unique';
import { PublicKeyValidator } from './public-key';
import { OwnerAddressValidator } from './owner-address';
import { OwnerNonceValidator } from './owner-nonce';
import { MatchLengthValidator } from './match';
import { OpeatorPublicKeyValidator } from './operator-public-key';
export { OpeatorsListValidator, PublicKeyValidator, OwnerAddressValidator, OwnerNonceValidator, MatchLengthValidator, OpeatorPublicKeyValidator, };
export { OpeatorsListValidator } from './operator-unique';
export { PublicKeyValidator } from './public-key';
export { OwnerAddressValidator } from './owner-address';
export { OwnerNonceValidator } from './owner-nonce';
export { MatchLengthValidator } from './match';
export { OpeatorPublicKeyValidator } from './operator-public-key';
12 changes: 6 additions & 6 deletions dist/tsc/src/lib/KeyShares/KeySharesData/validators/index.js

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

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

6 changes: 3 additions & 3 deletions dist/tsc/src/lib/Threshold/Threshold.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BaseCustomError } from '../exceptions/base';
import { SSVKeysException } from '../exceptions/base';
export interface IShares {
privateKey: string;
publicKey: string;
Expand All @@ -9,11 +9,11 @@ export interface ISharesKeyPairs {
publicKey: string;
shares: IShares[];
}
export declare class ThresholdInvalidOperatorsLengthError extends BaseCustomError {
export declare class ThresholdInvalidOperatorsLengthError extends SSVKeysException {
operators: number[];
constructor(operators: number[], message: string);
}
export declare class ThresholdInvalidOperatorIdError extends BaseCustomError {
export declare class ThresholdInvalidOperatorIdError extends SSVKeysException {
operator: any;
constructor(operator: any, message: string);
}
Expand Down
4 changes: 2 additions & 2 deletions dist/tsc/src/lib/Threshold/Threshold.js

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

2 changes: 1 addition & 1 deletion dist/tsc/src/lib/Threshold/Threshold.js.map

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

3 changes: 2 additions & 1 deletion dist/tsc/src/lib/exceptions/base.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export declare class BaseCustomError extends Error {
export declare class SSVKeysException extends Error {
trace: any;
constructor(message: string);
}
7 changes: 4 additions & 3 deletions dist/tsc/src/lib/exceptions/base.js

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

Loading

0 comments on commit 3828fec

Please sign in to comment.