Skip to content

Commit

Permalink
Merge pull request #68 from algorand-devrel/dev
Browse files Browse the repository at this point in the history
0.23.0 - Add AppParams to this.txn
  • Loading branch information
joe-p authored Jul 6, 2023
2 parents da9bbb8 + f381fec commit caf1048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@algorandfoundation/tealscript",
"version": "0.22.0",
"version": "0.23.0",
"description": "Enables Algorand smart contract development with native TypeScript syntax, tooling, and IDE support",
"homepage": "https://github.com/algorand-devrel/TEALScript",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ interface AppParams extends CommonTransactionParams {
applicationID?: Application
onCompletion: 'NoOp' | 'OptIn' | 'CloseOut' | 'ClearState' | 'UpdateApplication' | 'DeleteApplication' | 'CreateApplication'
accounts?: Address[]
approvalProgram?: bytes | NewableFunction
approvalProgram?: bytes
applicationArgs?: bytes[]
clearStateProgram?: bytes
applications?: Array<Application>
Expand Down Expand Up @@ -549,7 +549,7 @@ interface MethodCallParams<ArgsType> extends AppParams {
name: string
}

type ThisTxnParams = AppOnChainTransactionParams
type ThisTxnParams = AppOnChainTransactionParams & AppParams

type Txn = PayTxn & AssetTransferTxn & AppCallTxn & KeyRegTxn & AssetConfigTxn & AssetFreezeTxn

Expand Down

0 comments on commit caf1048

Please sign in to comment.