From 8d2823dbb86632012fbf81a4505bcf33a6e4b80c Mon Sep 17 00:00:00 2001 From: Phoebe Lartisant Date: Thu, 21 Nov 2024 09:00:27 -0500 Subject: [PATCH] No dist imports --- jest.e2e.config.esm.js | 2 +- src/bearbyWallet/BearbyAccount.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jest.e2e.config.esm.js b/jest.e2e.config.esm.js index 2c6715da..62998629 100644 --- a/jest.e2e.config.esm.js +++ b/jest.e2e.config.esm.js @@ -7,7 +7,7 @@ module.exports = { '^.+\\.jsx?$': 'babel-jest', }, transformIgnorePatterns: [ - 'node_modules/(?!(@massalabs/wallet-provider|@hicaru/bearby.js|big-varint|@massalabs/massa-web3)/)', + 'node_modules/(?!(@massalabs/wallet-provider|@hicaru/bearby.js|big-varint)/)', ], moduleNameMapper: { '^@massalabs/wallet-provider$': '/dist/esm/index.js', diff --git a/src/bearbyWallet/BearbyAccount.ts b/src/bearbyWallet/BearbyAccount.ts index b5be0f99..ee3dbe66 100644 --- a/src/bearbyWallet/BearbyAccount.ts +++ b/src/bearbyWallet/BearbyAccount.ts @@ -8,6 +8,7 @@ import { operationType } from '../utils/constants'; import { Address, CallSCParams, + DEPLOYER_BYTECODE, DeploySCParams, EventFilter, formatNodeStatusObject, @@ -26,14 +27,13 @@ import { SCEvent, SignedData, SmartContract, + StorageCost, strToBytes, } from '@massalabs/massa-web3'; import { networkInfos } from './utils/network'; import { WalletName } from '../wallet'; import isEqual from 'lodash.isequal'; import { uint8ArrayToBase64 } from '../utils/argsToBase64'; -import { DEPLOYER_BYTECODE } from '@massalabs/massa-web3/dist/esm/generated/deployer-bytecode'; -import * as StorageCost from '@massalabs/massa-web3/dist/esm/basicElements/storage'; export class BearbyAccount implements Provider { public constructor(public address: string) {}