@aztec/aztec 4.3.0-rc.1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +34 -34
- package/scripts/add_crate.sh +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/aztec",
|
|
3
|
-
"version": "4.3.0
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -28,39 +28,39 @@
|
|
|
28
28
|
"../package.common.json"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aztec/accounts": "4.3.0
|
|
32
|
-
"@aztec/archiver": "4.3.0
|
|
33
|
-
"@aztec/aztec-faucet": "4.3.0
|
|
34
|
-
"@aztec/aztec-node": "4.3.0
|
|
35
|
-
"@aztec/aztec.js": "4.3.0
|
|
36
|
-
"@aztec/bb-prover": "4.3.0
|
|
37
|
-
"@aztec/bb.js": "4.3.0
|
|
38
|
-
"@aztec/blob-client": "4.3.0
|
|
39
|
-
"@aztec/bot": "4.3.0
|
|
40
|
-
"@aztec/builder": "4.3.0
|
|
41
|
-
"@aztec/cli": "4.3.0
|
|
42
|
-
"@aztec/constants": "4.3.0
|
|
43
|
-
"@aztec/entrypoints": "4.3.0
|
|
44
|
-
"@aztec/ethereum": "4.3.0
|
|
45
|
-
"@aztec/foundation": "4.3.0
|
|
46
|
-
"@aztec/kv-store": "4.3.0
|
|
47
|
-
"@aztec/l1-artifacts": "4.3.0
|
|
48
|
-
"@aztec/node-lib": "4.3.0
|
|
49
|
-
"@aztec/noir-contracts.js": "4.3.0
|
|
50
|
-
"@aztec/noir-protocol-circuits-types": "4.3.0
|
|
51
|
-
"@aztec/p2p": "4.3.0
|
|
52
|
-
"@aztec/p2p-bootstrap": "4.3.0
|
|
53
|
-
"@aztec/protocol-contracts": "4.3.0
|
|
54
|
-
"@aztec/prover-client": "4.3.0
|
|
55
|
-
"@aztec/prover-node": "4.3.0
|
|
56
|
-
"@aztec/pxe": "4.3.0
|
|
57
|
-
"@aztec/sequencer-client": "4.3.0
|
|
58
|
-
"@aztec/stdlib": "4.3.0
|
|
59
|
-
"@aztec/telemetry-client": "4.3.0
|
|
60
|
-
"@aztec/txe": "4.3.0
|
|
61
|
-
"@aztec/validator-ha-signer": "4.3.0
|
|
62
|
-
"@aztec/wallets": "4.3.0
|
|
63
|
-
"@aztec/world-state": "4.3.0
|
|
31
|
+
"@aztec/accounts": "4.3.0",
|
|
32
|
+
"@aztec/archiver": "4.3.0",
|
|
33
|
+
"@aztec/aztec-faucet": "4.3.0",
|
|
34
|
+
"@aztec/aztec-node": "4.3.0",
|
|
35
|
+
"@aztec/aztec.js": "4.3.0",
|
|
36
|
+
"@aztec/bb-prover": "4.3.0",
|
|
37
|
+
"@aztec/bb.js": "4.3.0",
|
|
38
|
+
"@aztec/blob-client": "4.3.0",
|
|
39
|
+
"@aztec/bot": "4.3.0",
|
|
40
|
+
"@aztec/builder": "4.3.0",
|
|
41
|
+
"@aztec/cli": "4.3.0",
|
|
42
|
+
"@aztec/constants": "4.3.0",
|
|
43
|
+
"@aztec/entrypoints": "4.3.0",
|
|
44
|
+
"@aztec/ethereum": "4.3.0",
|
|
45
|
+
"@aztec/foundation": "4.3.0",
|
|
46
|
+
"@aztec/kv-store": "4.3.0",
|
|
47
|
+
"@aztec/l1-artifacts": "4.3.0",
|
|
48
|
+
"@aztec/node-lib": "4.3.0",
|
|
49
|
+
"@aztec/noir-contracts.js": "4.3.0",
|
|
50
|
+
"@aztec/noir-protocol-circuits-types": "4.3.0",
|
|
51
|
+
"@aztec/p2p": "4.3.0",
|
|
52
|
+
"@aztec/p2p-bootstrap": "4.3.0",
|
|
53
|
+
"@aztec/protocol-contracts": "4.3.0",
|
|
54
|
+
"@aztec/prover-client": "4.3.0",
|
|
55
|
+
"@aztec/prover-node": "4.3.0",
|
|
56
|
+
"@aztec/pxe": "4.3.0",
|
|
57
|
+
"@aztec/sequencer-client": "4.3.0",
|
|
58
|
+
"@aztec/stdlib": "4.3.0",
|
|
59
|
+
"@aztec/telemetry-client": "4.3.0",
|
|
60
|
+
"@aztec/txe": "4.3.0",
|
|
61
|
+
"@aztec/validator-ha-signer": "4.3.0",
|
|
62
|
+
"@aztec/wallets": "4.3.0",
|
|
63
|
+
"@aztec/world-state": "4.3.0",
|
|
64
64
|
"@iarna/toml": "^2.2.5",
|
|
65
65
|
"@types/chalk": "^2.2.0",
|
|
66
66
|
"abitype": "^0.8.11",
|
package/scripts/add_crate.sh
CHANGED
|
@@ -37,16 +37,17 @@ TEMPLATE_DIR="$(dirname $0)/templates/$template"
|
|
|
37
37
|
# Copy template crates and substitute placeholders
|
|
38
38
|
cp -r "$TEMPLATE_DIR/contract" "$contract_dir"
|
|
39
39
|
cp -r "$TEMPLATE_DIR/test" "$test_dir"
|
|
40
|
+
# Use perl -i for portability across os.
|
|
40
41
|
find "$contract_dir" "$test_dir" -type f -exec \
|
|
41
|
-
|
|
42
|
+
perl -i -pe "s/__CRATE_NAME__/${crate_name}/g; s/__AZTEC_VERSION__/${AZTEC_VERSION}/g" {} +
|
|
42
43
|
|
|
43
44
|
# Add members to workspace Nargo.toml
|
|
44
45
|
if grep -q 'members\s*=\s*\[\s*\]' Nargo.toml; then
|
|
45
46
|
# Empty array: members = []
|
|
46
|
-
|
|
47
|
+
perl -i -pe "s|members\s*=\s*\[\s*\]|members = [\"${contract_dir}\", \"${test_dir}\"]|" Nargo.toml
|
|
47
48
|
else
|
|
48
49
|
# Non-empty array: add before closing ]
|
|
49
|
-
|
|
50
|
+
perl -i -pe "s|(members\s*=\s*\[.*)\]|\1, \"${contract_dir}\", \"${test_dir}\"]|" Nargo.toml
|
|
50
51
|
fi
|
|
51
52
|
|
|
52
53
|
echo "Created crates '${contract_dir}' and '${test_dir}'"
|