@aztec/bot 3.0.0-nightly.20250930 → 3.0.0-nightly.20251001
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/dest/factory.d.ts.map +1 -1
- package/dest/factory.js +0 -2
- package/package.json +13 -13
- package/src/factory.ts +0 -2
package/dest/factory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EAWb,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,KAAK,SAAS,EAA2B,MAAM,aAAa,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMjD,qBAAa,UAAU;IAInB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC;IAPlC,OAAO,CAAC,GAAG,CAAuB;gBAGf,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,QAAQ,EACf,SAAS,EAAE,SAAS,EACpB,cAAc,CAAC,EAAE,cAAc,YAAA;IAGlD;;;OAGG;IACU,KAAK;;;;;;;IAQL,QAAQ;;;;;;;;IAwBrB;;;OAGG;YACW,YAAY;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AAoB;CAenC"}
|
package/dest/factory.js
CHANGED
|
@@ -95,7 +95,6 @@ export class BotFactory {
|
|
|
95
95
|
const address = accountManager.getAddress();
|
|
96
96
|
this.log.info(`Deploying account at ${address}`);
|
|
97
97
|
const claim = await this.getOrCreateBridgeClaim(address);
|
|
98
|
-
// docs:start:claim_and_deploy
|
|
99
98
|
const paymentMethod = new FeeJuicePaymentMethodWithClaim(accountManager.getAddress(), claim);
|
|
100
99
|
const sentTx = accountManager.deploy({
|
|
101
100
|
fee: {
|
|
@@ -103,7 +102,6 @@ export class BotFactory {
|
|
|
103
102
|
}
|
|
104
103
|
});
|
|
105
104
|
const txHash = await sentTx.getTxHash();
|
|
106
|
-
// docs:end:claim_and_deploy
|
|
107
105
|
this.log.info(`Sent tx for account deployment with hash ${txHash.toString()}`);
|
|
108
106
|
await this.withNoMinTxsPerBlock(()=>sentTx.wait({
|
|
109
107
|
timeout: this.config.txMinedWaitSeconds
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/bot",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251001",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -54,18 +54,18 @@
|
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
58
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
59
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
60
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
61
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
62
|
-
"@aztec/kv-store": "3.0.0-nightly.
|
|
63
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
64
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.
|
|
65
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
66
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
67
|
-
"@aztec/telemetry-client": "3.0.0-nightly.
|
|
68
|
-
"@aztec/test-wallet": "3.0.0-nightly.
|
|
57
|
+
"@aztec/accounts": "3.0.0-nightly.20251001",
|
|
58
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251001",
|
|
59
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251001",
|
|
60
|
+
"@aztec/ethereum": "3.0.0-nightly.20251001",
|
|
61
|
+
"@aztec/foundation": "3.0.0-nightly.20251001",
|
|
62
|
+
"@aztec/kv-store": "3.0.0-nightly.20251001",
|
|
63
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251001",
|
|
64
|
+
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251001",
|
|
65
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251001",
|
|
66
|
+
"@aztec/stdlib": "3.0.0-nightly.20251001",
|
|
67
|
+
"@aztec/telemetry-client": "3.0.0-nightly.20251001",
|
|
68
|
+
"@aztec/test-wallet": "3.0.0-nightly.20251001",
|
|
69
69
|
"source-map-support": "^0.5.21",
|
|
70
70
|
"tslib": "^2.4.0",
|
|
71
71
|
"zod": "^3.23.8"
|
package/src/factory.ts
CHANGED
|
@@ -116,11 +116,9 @@ export class BotFactory {
|
|
|
116
116
|
|
|
117
117
|
const claim = await this.getOrCreateBridgeClaim(address);
|
|
118
118
|
|
|
119
|
-
// docs:start:claim_and_deploy
|
|
120
119
|
const paymentMethod = new FeeJuicePaymentMethodWithClaim(accountManager.getAddress(), claim);
|
|
121
120
|
const sentTx = accountManager.deploy({ fee: { paymentMethod } });
|
|
122
121
|
const txHash = await sentTx.getTxHash();
|
|
123
|
-
// docs:end:claim_and_deploy
|
|
124
122
|
this.log.info(`Sent tx for account deployment with hash ${txHash.toString()}`);
|
|
125
123
|
await this.withNoMinTxsPerBlock(() => sentTx.wait({ timeout: this.config.txMinedWaitSeconds }));
|
|
126
124
|
this.log.info(`Account deployed at ${address}`);
|