diff --git a/playground/src/aztecEnv.ts b/playground/src/aztecEnv.ts index a7bbf56faf53..da3417b79050 100644 --- a/playground/src/aztecEnv.ts +++ b/playground/src/aztecEnv.ts @@ -1,9 +1,4 @@ -import { - createLogger, - createAztecNodeClient, - AztecNode, - Logger, -} from "@aztec/aztec.js/utils"; +import { createAztecNodeClient, AztecNode } from "@aztec/aztec.js/utils"; import { AztecAddress } from "@aztec/aztec.js/addresses"; import { AccountWalletWithSecretKey } from "@aztec/aztec.js/wallet"; @@ -21,6 +16,7 @@ import { debug } from "debug"; import { createContext } from "react"; import { NetworkDB, WalletDB } from "./utils/storage"; import { ContractFunctionInteractionTx } from "./utils/txs"; +import { Logger, createLogger } from "@aztec/aztec.js/log"; process.env = Object.keys(import.meta.env).reduce((acc, key) => { acc[key.replace("VITE_", "")] = import.meta.env[key]; diff --git a/yarn-project/aztec.js/package.json b/yarn-project/aztec.js/package.json index 2cb92d1382c7..1af9b90f158b 100644 --- a/yarn-project/aztec.js/package.json +++ b/yarn-project/aztec.js/package.json @@ -17,6 +17,7 @@ "./ethereum": "./dest/api/ethereum/index.js", "./fee": "./dest/api/fee.js", "./fields": "./dest/api/fields.js", + "./log": "./dest/api/log.js", "./log_id": "./dest/api/log_id.js", "./rpc": "./dest/rpc_clients/index.js", "./tx_hash": "./dest/api/tx_hash.js",