barretenberg
barretenberg copied to clipboard
Remove Pino and Buffer dependencies from bb.js to simplify bundling
Problem
bb.js currently depends on Pino and Buffer, which are Node.js-only dependencies. This complicates bundling for browser and other non-Node.js environments.
Tasks
- [ ] Remove Pino dependency from bb.js
- [ ] Remove Buffer dependency from bb.js
- [ ] Find and integrate a new msgpack library for JavaScript that doesn't require Buffer (current library depends on it)
- [ ] Verify bb.js works correctly after the changes
- [ ] Test bundling in various environments (browser, Node.js, etc.)
Expected Outcome
bb.js should be easier to bundle and use across different JavaScript environments without Node.js-specific dependencies.
This issue was automatically closed because it was referenced in AztecProtocol/aztec-packages PR #18582 which has been merged to the default branch.