Skip to content

Commit 58ba060

Browse files
authored
fix: There is no main.js (AztecProtocol#3691)
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`.
1 parent 472596c commit 58ba060

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

yarn-project/aztec.js/package.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
"version": "0.1.0",
55
"type": "module",
66
"exports": {
7-
".": {
8-
"node": "./dest/index.js",
9-
"import": "./dest/index.js",
10-
"default": "./dest/main.js"
11-
},
7+
".": "./dest/index.js",
128
"./interfaces/pxe": "./dest/api/interfaces/pxe.js",
139
"./abi": "./dest/api/abi.js",
1410
"./aztec_address": "./dest/api/aztec_address.js",

0 commit comments

Comments
 (0)