diff --git a/circuits/cpp/barretenberg/.gitrepo b/circuits/cpp/barretenberg/.gitrepo index eeab819db85..6104bbe8788 100644 --- a/circuits/cpp/barretenberg/.gitrepo +++ b/circuits/cpp/barretenberg/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/AztecProtocol/barretenberg branch = master - commit = 39f622855fcb5cafdce3d5112c9cfc50fd91704c + commit = c734295a10d2c40ede773519664170880f28b2b7 parent = 347a38a54e0ea7f6da1b45a8640b8506c3712bb1 method = merge cmdver = 0.4.6 diff --git a/circuits/cpp/barretenberg/ts/package.json b/circuits/cpp/barretenberg/ts/package.json index b5a7f3cfe11..d2e0297026f 100644 --- a/circuits/cpp/barretenberg/ts/package.json +++ b/circuits/cpp/barretenberg/ts/package.json @@ -9,8 +9,10 @@ "displayName": "bb.js", "tsconfig": "./tsconfig.json" }, - "main": "./dest/index.js", - "bin": "./dest/main.js", + "main": "./dest/node/index.js", + "bin": { + "bb": "dest/node/main.js" + }, "files": [ "src/", "dest/", diff --git a/circuits/cpp/barretenberg/ts/yarn.lock b/circuits/cpp/barretenberg/ts/yarn.lock index f9a4a3eb538..d3a83f73895 100644 --- a/circuits/cpp/barretenberg/ts/yarn.lock +++ b/circuits/cpp/barretenberg/ts/yarn.lock @@ -48,7 +48,7 @@ __metadata: webpack-cli: ^5.1.1 webpack-dev-server: ^4.15.0 bin: - bb.js: ./dest/main.js + bb: dest/node/main.js languageName: unknown linkType: soft