Deprecate IKeypair

This commit is contained in:
dapplion 2020-12-01 00:07:45 +00:00
parent 668ab1b293
commit e4cf34ab90
3 changed files with 0 additions and 9 deletions

View File

@ -55,8 +55,3 @@ export declare class Signature {
toBytes(): Uint8Array;
toHex(): string;
}
export interface IKeypair {
publicKey: PublicKey;
secretKey: SecretKey;
}

View File

@ -1,6 +1,5 @@
import {runSecretKeyTests} from "./secretKey.test";
import {runPublicKeyTests} from "./publicKey.test";
// import {runKeypairTests} from "./keypair.test";
import {runIndexTests} from "./index.test";
import {describeForAllImplementations} from "../switch";
@ -8,6 +7,5 @@ import {describeForAllImplementations} from "../switch";
describeForAllImplementations((bls) => {
runSecretKeyTests(bls);
runPublicKeyTests(bls);
// runKeypairTests(bls);
runIndexTests(bls);
});

View File

@ -1,7 +1,6 @@
import herumi from "../../src/herumi";
import {runSecretKeyTests} from "./secretKey.test";
import {runPublicKeyTests} from "./publicKey.test";
// import {runKeypairTests} from "./keypair.test";
import {runIndexTests} from "./index.test";
// This file is intended to be compiled and run by Karma
@ -16,6 +15,5 @@ describe("herumi", () => {
runSecretKeyTests(herumi);
runPublicKeyTests(herumi);
// runKeypairTests(bls);
runIndexTests(herumi);
});