@aztec/builder 3.0.0-nightly.20251112 → 3.0.0-nightly.20251114
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.
|
@@ -233,7 +233,7 @@ async function generateEvents(events) {
|
|
|
233
233
|
* @param artifactImportPath - Optional path to import the artifact (if not set, will be required in the constructor).
|
|
234
234
|
* @returns The corresponding ts code.
|
|
235
235
|
*/ export async function generateTypescriptContractInterface(input, artifactImportPath) {
|
|
236
|
-
const methods = getAllFunctionAbis(input).filter((f)=>!f.
|
|
236
|
+
const methods = getAllFunctionAbis(input).filter((f)=>!f.isOnlySelf).sort((a, b)=>a.name.localeCompare(b.name)).map(generateMethod);
|
|
237
237
|
const deploy = artifactImportPath && generateDeploy(input);
|
|
238
238
|
const ctor = artifactImportPath && generateConstructor(input.name);
|
|
239
239
|
const at = artifactImportPath && generateAt(input.name);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/builder",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251114",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
73
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
72
|
+
"@aztec/foundation": "3.0.0-nightly.20251114",
|
|
73
|
+
"@aztec/stdlib": "3.0.0-nightly.20251114",
|
|
74
74
|
"commander": "^12.1.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
@@ -284,7 +284,7 @@ async function generateEvents(events: any[] | undefined) {
|
|
|
284
284
|
*/
|
|
285
285
|
export async function generateTypescriptContractInterface(input: ContractArtifact, artifactImportPath?: string) {
|
|
286
286
|
const methods = getAllFunctionAbis(input)
|
|
287
|
-
.filter(f => !f.
|
|
287
|
+
.filter(f => !f.isOnlySelf)
|
|
288
288
|
.sort((a, b) => a.name.localeCompare(b.name))
|
|
289
289
|
.map(generateMethod);
|
|
290
290
|
const deploy = artifactImportPath && generateDeploy(input);
|