From e4cf34ab904227ed1728585dd85013eceebe2125 Mon Sep 17 00:00:00 2001 From: dapplion Date: Tue, 1 Dec 2020 00:07:45 +0000 Subject: [PATCH] Deprecate IKeypair --- src/interface.ts | 5 ----- test/unit/run-all-implementations.test.ts | 2 -- test/unit/run-web-implementation.test.ts | 2 -- 3 files changed, 9 deletions(-) diff --git a/src/interface.ts b/src/interface.ts index 83b0959..5e9dc5b 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -55,8 +55,3 @@ export declare class Signature { toBytes(): Uint8Array; toHex(): string; } - -export interface IKeypair { - publicKey: PublicKey; - secretKey: SecretKey; -} diff --git a/test/unit/run-all-implementations.test.ts b/test/unit/run-all-implementations.test.ts index 7ebc0cf..c8898e0 100644 --- a/test/unit/run-all-implementations.test.ts +++ b/test/unit/run-all-implementations.test.ts @@ -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); }); diff --git a/test/unit/run-web-implementation.test.ts b/test/unit/run-web-implementation.test.ts index 764bacd..1ef54f0 100644 --- a/test/unit/run-web-implementation.test.ts +++ b/test/unit/run-web-implementation.test.ts @@ -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); });