Remove unused constant

This commit is contained in:
Franck Royer 2022-05-20 11:44:58 +10:00
parent b93c876043
commit 4cb8769271
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 3 additions and 5 deletions

View File

@ -1,2 +0,0 @@
export const ERR_TYPE_NOT_IMPLEMENTED = "Keypair type not implemented";
export const ERR_INVALID_KEYPAIR_TYPE = "Invalid keypair type";

View File

@ -2,12 +2,12 @@ import { keys } from "libp2p-crypto";
import { identity } from "multiformats/hashes/identity";
import PeerId from "peer-id";
const { keysPBM, supportedKeys } = keys;
import { ERR_TYPE_NOT_IMPLEMENTED } from "./constants";
import { Secp256k1Keypair } from "./secp256k1";
import { IKeypair, KeypairType } from "./types";
const { keysPBM, supportedKeys } = keys;
export const ERR_TYPE_NOT_IMPLEMENTED = "Keypair type not implemented";
export * from "./types";
export * from "./secp256k1";