From 9070133d8530e643188118d306e6c4656e632459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?James=20Lefr=C3=A8re?= Date: Tue, 16 Jul 2019 16:41:59 +0200 Subject: [PATCH] Fix import * Fix the `ethereumjs-tx` import that was a breaking change of its `2.x` release --- modules/node_modules/@colony/purser-ledger/staticMethods.js | 2 +- modules/node_modules/@colony/purser-metamask/staticMethods.js | 2 +- modules/node_modules/@colony/purser-trezor/staticMethods.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/node_modules/@colony/purser-ledger/staticMethods.js b/modules/node_modules/@colony/purser-ledger/staticMethods.js index 0a167265..2f00901a 100644 --- a/modules/node_modules/@colony/purser-ledger/staticMethods.js +++ b/modules/node_modules/@colony/purser-ledger/staticMethods.js @@ -1,6 +1,6 @@ /* @flow */ -import EthereumTx from 'ethereumjs-tx'; +import { Transaction as EthereumTx } from 'ethereumjs-tx'; import { derivationPathValidator, diff --git a/modules/node_modules/@colony/purser-metamask/staticMethods.js b/modules/node_modules/@colony/purser-metamask/staticMethods.js index f748c722..42310dfa 100644 --- a/modules/node_modules/@colony/purser-metamask/staticMethods.js +++ b/modules/node_modules/@colony/purser-metamask/staticMethods.js @@ -1,6 +1,6 @@ /* @flow */ -import EthereumTx from 'ethereumjs-tx'; +import { Transaction as EthereumTx } from 'ethereumjs-tx'; import BigNumber from 'bn.js'; import { warning } from '@colony/purser-core/utils'; diff --git a/modules/node_modules/@colony/purser-trezor/staticMethods.js b/modules/node_modules/@colony/purser-trezor/staticMethods.js index ef573139..cf5703e1 100644 --- a/modules/node_modules/@colony/purser-trezor/staticMethods.js +++ b/modules/node_modules/@colony/purser-trezor/staticMethods.js @@ -1,7 +1,7 @@ /* @flow */ import { fromString } from 'bip32-path'; -import EthereumTx from 'ethereumjs-tx'; +import { Transaction as EthereumTx } from 'ethereumjs-tx'; import { addressValidator,