diff --git a/jest.config.js b/jest.config.js index d47479999..9225d7dee 100644 --- a/jest.config.js +++ b/jest.config.js @@ -175,10 +175,7 @@ module.exports = { }, // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: [ - '^.+\\.json$', - 'node_modules/(?!(@bangjelkoski/eth-crypto)/)', - ], + transformIgnorePatterns: ['^.+\\.json$', 'node_modules/(?!(eth-crypto)/)'], // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them // unmockedModulePathPatterns: undefined, diff --git a/packages/sdk-ts/src/core/accounts/PublicKey.ts b/packages/sdk-ts/src/core/accounts/PublicKey.ts index 33da93663..f64175b2d 100644 --- a/packages/sdk-ts/src/core/accounts/PublicKey.ts +++ b/packages/sdk-ts/src/core/accounts/PublicKey.ts @@ -6,7 +6,7 @@ import { Address } from './Address' import { publicKey as EthCryptoPublicKey, util as EthCryptoUtil, -} from '@bangjelkoski/eth-crypto' +} from 'eth-crypto' import { keccak256 } from 'js-sha3' import { GoogleProtobufAny,