Skip to content

Commit fe2b666

Browse files
authored
fix: playground use new unbundled aztec.js (#11780)
Please read [contributing guidelines](CONTRIBUTING.md) and remove this line.
1 parent 117200e commit fe2b666

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

playground/src/aztecEnv.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import {
2-
createLogger,
3-
createAztecNodeClient,
4-
AztecNode,
5-
Logger,
6-
} from "@aztec/aztec.js/utils";
1+
import { createAztecNodeClient, AztecNode } from "@aztec/aztec.js/utils";
72

83
import { AztecAddress } from "@aztec/aztec.js/addresses";
94
import { AccountWalletWithSecretKey } from "@aztec/aztec.js/wallet";
@@ -21,6 +16,7 @@ import { debug } from "debug";
2116
import { createContext } from "react";
2217
import { NetworkDB, WalletDB } from "./utils/storage";
2318
import { ContractFunctionInteractionTx } from "./utils/txs";
19+
import { Logger, createLogger } from "@aztec/aztec.js/log";
2420

2521
process.env = Object.keys(import.meta.env).reduce((acc, key) => {
2622
acc[key.replace("VITE_", "")] = import.meta.env[key];

yarn-project/aztec.js/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"./ethereum": "./dest/api/ethereum/index.js",
1818
"./fee": "./dest/api/fee.js",
1919
"./fields": "./dest/api/fields.js",
20+
"./log": "./dest/api/log.js",
2021
"./log_id": "./dest/api/log_id.js",
2122
"./rpc": "./dest/rpc_clients/index.js",
2223
"./tx_hash": "./dest/api/tx_hash.js",

0 commit comments

Comments
 (0)