Skip to content

Commit

Permalink
fix: playground use new unbundled aztec.js (#11780)
Browse files Browse the repository at this point in the history
Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.
  • Loading branch information
Thunkar authored Feb 6, 2025
1 parent 117200e commit fe2b666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions playground/src/aztecEnv.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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];
Expand Down
1 change: 1 addition & 0 deletions yarn-project/aztec.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fe2b666

Please sign in to comment.