diff --git a/src/PrivateKey.ts b/src/PrivateKey.ts index b2de91b37..2b45ac927 100644 --- a/src/PrivateKey.ts +++ b/src/PrivateKey.ts @@ -1,4 +1,5 @@ import { BNInput, ec as EC } from 'elliptic'; +import { Buffer } from 'buffer'; import { Key, KeyType, diff --git a/src/PublicKey.ts b/src/PublicKey.ts index d47571191..3b9b852da 100644 --- a/src/PublicKey.ts +++ b/src/PublicKey.ts @@ -1,4 +1,5 @@ import { ec as EC } from 'elliptic'; +import { Buffer } from 'buffer'; import { Key, KeyType, diff --git a/src/Signature.ts b/src/Signature.ts index 409d62d6f..fcdfb6dff 100644 --- a/src/Signature.ts +++ b/src/Signature.ts @@ -1,4 +1,5 @@ import { BNInput, ec as EC } from 'elliptic'; +import { Buffer } from 'buffer'; import BN = require('bn.js'); import { diff --git a/src/eosjs-jssig.ts b/src/eosjs-jssig.ts index 0d1671d9d..050e6f80d 100644 --- a/src/eosjs-jssig.ts +++ b/src/eosjs-jssig.ts @@ -4,6 +4,7 @@ // copyright defined in eosjs/LICENSE.txt import { ec } from 'elliptic'; +import { Buffer } from 'buffer'; import { SignatureProvider, SignatureProviderArgs } from './eosjs-api-interfaces'; import { PushTransactionArgs } from './eosjs-rpc-interfaces';