Skip to content

Commit

Permalink
Merge main into release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 2, 2024
2 parents 5d67a69 + d0dcf79 commit f2fd94c
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 75 deletions.
4 changes: 2 additions & 2 deletions examples/lifecycle/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ export class LifeCycleAppClient {
* @param params Any additional parameters for the call
* @returns The create result: The formatted greeting
*/
async createStringString(args: MethodArgs<'create(string)string'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & (OnCompleteNoOp) = {}) {
async createStringString(args: MethodArgs<'create(string)string'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & CoreAppCallArgs & (OnCompleteNoOp) = {}) {
return $this.mapReturnValue<MethodReturn<'create(string)string'>, AppCreateCallTransactionResult>(await $this.appClient.create(LifeCycleAppCallFactory.create.createStringString(args, params)))
},
/**
Expand All @@ -530,7 +530,7 @@ export class LifeCycleAppClient {
* @param params Any additional parameters for the call
* @returns The create result
*/
async createStringUint32Void(args: MethodArgs<'create(string,uint32)void'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & (OnCompleteNoOp) = {}) {
async createStringUint32Void(args: MethodArgs<'create(string,uint32)void'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & CoreAppCallArgs & (OnCompleteNoOp) = {}) {
return $this.mapReturnValue<MethodReturn<'create(string,uint32)void'>, AppCreateCallTransactionResult>(await $this.appClient.create(LifeCycleAppCallFactory.create.createStringUint32Void(args, params)))
},
}
Expand Down
8 changes: 4 additions & 4 deletions examples/state/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ export class StateAppClient {
* @param params Any additional parameters for the call
* @returns The create result
*/
async createAbi(args: MethodArgs<'create_abi(string)string'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & (OnCompleteNoOp) = {}) {
async createAbi(args: MethodArgs<'create_abi(string)string'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & CoreAppCallArgs & (OnCompleteNoOp) = {}) {
return $this.mapReturnValue<MethodReturn<'create_abi(string)string'>, AppCreateCallTransactionResult>(await $this.appClient.create(StateAppCallFactory.create.createAbi(args, params)))
},
}
Expand Down Expand Up @@ -1185,7 +1185,7 @@ export class StateAppClient {
* @param params Any additional parameters for the call
* @returns The update result
*/
async updateAbi(args: MethodArgs<'update_abi(string)string'>, params: AppClientCallCoreParams & AppClientCompilationParams = {}) {
async updateAbi(args: MethodArgs<'update_abi(string)string'>, params: AppClientCallCoreParams & AppClientCompilationParams & CoreAppCallArgs = {}) {
return $this.mapReturnValue<MethodReturn<'update_abi(string)string'>, AppUpdateCallTransactionResult>(await $this.appClient.update(StateAppCallFactory.update.updateAbi(args, params)))
},
}
Expand Down Expand Up @@ -1213,7 +1213,7 @@ export class StateAppClient {
* @param params Any additional parameters for the call
* @returns The delete result
*/
async deleteAbi(args: MethodArgs<'delete_abi(string)string'>, params: AppClientCallCoreParams = {}) {
async deleteAbi(args: MethodArgs<'delete_abi(string)string'>, params: AppClientCallCoreParams & CoreAppCallArgs = {}) {
return $this.mapReturnValue<MethodReturn<'delete_abi(string)string'>>(await $this.appClient.delete(StateAppCallFactory.delete.deleteAbi(args, params)))
},
}
Expand All @@ -1232,7 +1232,7 @@ export class StateAppClient {
* @param params Any additional parameters for the call
* @returns The optIn result
*/
async optIn(args: MethodArgs<'opt_in()void'>, params: AppClientCallCoreParams = {}) {
async optIn(args: MethodArgs<'opt_in()void'>, params: AppClientCallCoreParams & CoreAppCallArgs = {}) {
return $this.mapReturnValue<MethodReturn<'opt_in()void'>>(await $this.appClient.optIn(StateAppCallFactory.optIn.optIn(args, params)))
},
}
Expand Down
2 changes: 1 addition & 1 deletion examples/voting/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ export class VotingRoundAppClient {
* @param params Any additional parameters for the call
* @returns The create result
*/
async create(args: MethodArgs<'create(string,byte[],string,uint64,uint64,uint8[],uint64,string)void'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & (OnCompleteNoOp) = {}) {
async create(args: MethodArgs<'create(string,byte[],string,uint64,uint64,uint8[],uint64,string)void'>, params: AppClientCallCoreParams & AppClientCompilationParams & IncludeSchema & CoreAppCallArgs & (OnCompleteNoOp) = {}) {
return $this.mapReturnValue<MethodReturn<'create(string,byte[],string,uint64,uint64,uint8[],uint64,string)void'>, AppCreateCallTransactionResult>(await $this.appClient.create(VotingRoundAppCallFactory.create.create(args, params)))
},
}
Expand Down
Loading

0 comments on commit f2fd94c

Please sign in to comment.