Skip to content

Commit

Permalink
fix: There is no main.js (AztecProtocol#3691)
Browse files Browse the repository at this point in the history
For some reason there was a default export to main.js for aztec.js.
This caused an issue for someone externally, I'm not sure why it only
triggered since last release, where the root exports were explicitly
moved into a "." block.
Regardless, it seems the appropriate thing is just always export
`./dest/index.js`.
  • Loading branch information
charlielye committed Dec 14, 2023
1 parent 472596c commit 58ba060
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions yarn-project/aztec.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": {
"node": "./dest/index.js",
"import": "./dest/index.js",
"default": "./dest/main.js"
},
".": "./dest/index.js",
"./interfaces/pxe": "./dest/api/interfaces/pxe.js",
"./abi": "./dest/api/abi.js",
"./aztec_address": "./dest/api/aztec_address.js",
Expand Down

0 comments on commit 58ba060

Please sign in to comment.