From 9471a4a04cec2cb2b3812c8188682ea79f229b54 Mon Sep 17 00:00:00 2001 From: Neil Campbell Date: Sun, 10 Nov 2024 00:16:52 +0800 Subject: [PATCH 1/2] chore: change AlgoKitComposer name to TransactionComposer --- docs/usage.md | 8 ++++---- examples/arc56_test/client.ts | 4 ++-- examples/duplicate_structs/client.ts | 4 ++-- examples/helloworld/client.ts | 4 ++-- examples/lifecycle/client.ts | 4 ++-- examples/minimal/client.ts | 4 ++-- examples/nested/client.ts | 4 ++-- examples/reti/client.ts | 4 ++-- examples/state/client.ts | 4 ++-- examples/voting/client.spec.ts | 2 +- examples/voting/client.ts | 4 ++-- schema.json | 0 src/client/call-composer-types.ts | 2 +- src/client/imports.ts | 2 +- 14 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 schema.json diff --git a/docs/usage.md b/docs/usage.md index 07fc8de..a751d54 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -212,7 +212,7 @@ factory.send.create.namedCreate({ }) ``` -If you want to get a built transaction without sending it you can use `factory.createTransaction.create...` rather than `factory.send.create...`. If you want to receive transaction parameters ready to pass in as an ABI argument or to an `AlgoKitComposer` call then you can use `factory.params.create...`. +If you want to get a built transaction without sending it you can use `factory.createTransaction.create...` rather than `factory.send.create...`. If you want to receive transaction parameters ready to pass in as an ABI argument or to an `TransactionComposer` call then you can use `factory.params.create...`. ### Update and Delete calls @@ -257,7 +257,7 @@ client.send.delete.bare() client.send.delete.namedDelete() ``` -If you want to get a built transaction without sending it you can use `client.createTransaction.update...` / `client.createTransaction.delete...` rather than `client.send.update...` / `client.send.delete...`. If you want to receive transaction parameters ready to pass in as an ABI argument or to an `AlgoKitComposer` call then you can use `client.params.update...` / `client.params.delete...`. +If you want to get a built transaction without sending it you can use `client.createTransaction.update...` / `client.createTransaction.delete...` rather than `client.send.update...` / `client.send.delete...`. If you want to receive transaction parameters ready to pass in as an ABI argument or to an `TransactionComposer` call then you can use `client.params.update...` / `client.params.delete...`. ### Deploy call @@ -400,9 +400,9 @@ const resultOfMethodOne = result.returns[0] const resultOfMethodTwo = result.returns[1] ``` -### Manually with the AlgoKitComposer +### Manually with the TransactionComposer -Multiple transactions can also be composed using the `AlgoKitComposer` class. +Multiple transactions can also be composed using the `TransactionComposer` class. ```ts const result = algorand diff --git a/examples/arc56_test/client.ts b/examples/arc56_test/client.ts index b7d9295..6c949d7 100644 --- a/examples/arc56_test/client.ts +++ b/examples/arc56_test/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -895,7 +895,7 @@ export type Arc56TestComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/duplicate_structs/client.ts b/examples/duplicate_structs/client.ts index 0bc0453..4611095 100644 --- a/examples/duplicate_structs/client.ts +++ b/examples/duplicate_structs/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -645,7 +645,7 @@ export type DuplicateStructsContractComposer = /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/helloworld/client.ts b/examples/helloworld/client.ts index 948a0bd..8a37b30 100644 --- a/examples/helloworld/client.ts +++ b/examples/helloworld/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -821,7 +821,7 @@ export type HelloWorldAppComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/lifecycle/client.ts b/examples/lifecycle/client.ts index 2799a3f..12fb655 100644 --- a/examples/lifecycle/client.ts +++ b/examples/lifecycle/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -890,7 +890,7 @@ export type LifeCycleAppComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/minimal/client.ts b/examples/minimal/client.ts index fe92da3..39a3aa1 100644 --- a/examples/minimal/client.ts +++ b/examples/minimal/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -659,7 +659,7 @@ export type MinimalAppComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/nested/client.ts b/examples/nested/client.ts index beeaa67..7ecb342 100644 --- a/examples/nested/client.ts +++ b/examples/nested/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -708,7 +708,7 @@ export type NestedContractComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/reti/client.ts b/examples/reti/client.ts index 1c1abb5..c35039f 100644 --- a/examples/reti/client.ts +++ b/examples/reti/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -4236,7 +4236,7 @@ export type ValidatorRegistryComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/state/client.ts b/examples/state/client.ts index da2fb6b..c935f52 100644 --- a/examples/state/client.ts +++ b/examples/state/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -2452,7 +2452,7 @@ export type StateAppComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/examples/voting/client.spec.ts b/examples/voting/client.spec.ts index 9dfa5df..33915c7 100644 --- a/examples/voting/client.spec.ts +++ b/examples/voting/client.spec.ts @@ -180,7 +180,7 @@ describe('voting typed client', () => { expect(preconditionsResultAfter.return?.hasAlreadyVoted).toBe(1n) }) - test('it works with manual use of the AlgoKitComposer', async () => { + test('it works with manual use of the TransactionComposer', async () => { const { algorand, signature, testAccount, totalQuestionOptions, randomAnswerIds, client } = await createRandomVotingRoundApp() const result = await algorand diff --git a/examples/voting/client.ts b/examples/voting/client.ts index 6fdbc06..a436ebb 100644 --- a/examples/voting/client.ts +++ b/examples/voting/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse @@ -1113,7 +1113,7 @@ export type VotingRoundAppComposer = { /** * Returns the underlying AtomicTransactionComposer instance */ - composer(): AlgoKitComposer + composer(): TransactionComposer /** * Simulates the transaction group and returns the result */ diff --git a/schema.json b/schema.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/client/call-composer-types.ts b/src/client/call-composer-types.ts index b97d1a2..60d6389 100644 --- a/src/client/call-composer-types.ts +++ b/src/client/call-composer-types.ts @@ -44,7 +44,7 @@ export function* callComposerType(ctx: GeneratorContext): DocumentParts { yield* jsDoc({ description: 'Returns the underlying AtomicTransactionComposer instance', }) - yield `composer(): AlgoKitComposer` + yield `composer(): TransactionComposer` yield* jsDoc({ description: 'Simulates the transaction group and returns the result', diff --git a/src/client/imports.ts b/src/client/imports.ts index 2f16ae6..d51ba60 100644 --- a/src/client/imports.ts +++ b/src/client/imports.ts @@ -17,7 +17,7 @@ export function* imports(): DocumentParts { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' - import AlgoKitComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' + import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse From d95a85a77da18532bf95f8d3ad6cbff34c86cb61 Mon Sep 17 00:00:00 2001 From: Neil Campbell Date: Mon, 11 Nov 2024 23:28:55 +0800 Subject: [PATCH 2/2] chore: update to latest utils-ts --- examples/arc56_test/client.ts | 2 +- examples/duplicate_structs/client.ts | 2 +- examples/helloworld/client.ts | 2 +- examples/lifecycle/client.ts | 2 +- examples/minimal/client.ts | 2 +- examples/nested/client.ts | 2 +- examples/reti/client.ts | 2 +- examples/state/client.ts | 2 +- examples/voting/client.ts | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- src/client/imports.ts | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/arc56_test/client.ts b/examples/arc56_test/client.ts index 6c949d7..f21d018 100644 --- a/examples/arc56_test/client.ts +++ b/examples/arc56_test/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/duplicate_structs/client.ts b/examples/duplicate_structs/client.ts index 4611095..8db48d3 100644 --- a/examples/duplicate_structs/client.ts +++ b/examples/duplicate_structs/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/helloworld/client.ts b/examples/helloworld/client.ts index 8a37b30..089bd3b 100644 --- a/examples/helloworld/client.ts +++ b/examples/helloworld/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/lifecycle/client.ts b/examples/lifecycle/client.ts index 12fb655..d78fb72 100644 --- a/examples/lifecycle/client.ts +++ b/examples/lifecycle/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/minimal/client.ts b/examples/minimal/client.ts index 39a3aa1..402e83d 100644 --- a/examples/minimal/client.ts +++ b/examples/minimal/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/nested/client.ts b/examples/nested/client.ts index 7ecb342..a7e619e 100644 --- a/examples/nested/client.ts +++ b/examples/nested/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/reti/client.ts b/examples/reti/client.ts index c35039f..be188df 100644 --- a/examples/reti/client.ts +++ b/examples/reti/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/state/client.ts b/examples/state/client.ts index c935f52..e38076e 100644 --- a/examples/state/client.ts +++ b/examples/state/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/examples/voting/client.ts b/examples/voting/client.ts index a436ebb..d52e78b 100644 --- a/examples/voting/client.ts +++ b/examples/voting/client.ts @@ -19,7 +19,7 @@ import { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' -import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' +import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse diff --git a/package-lock.json b/package-lock.json index 54142c1..c71dab5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "@algorandfoundation/algokit-utils": "^7.0.0-beta.21", + "@algorandfoundation/algokit-utils": "^7.0.0-beta.23", "algosdk": "^2.7.0", "chalk": "^4.1.2", "change-case": "^5.4.4", @@ -67,9 +67,9 @@ } }, "node_modules/@algorandfoundation/algokit-utils": { - "version": "7.0.0-beta.21", - "resolved": "https://registry.npmjs.org/@algorandfoundation/algokit-utils/-/algokit-utils-7.0.0-beta.21.tgz", - "integrity": "sha512-ESPrHoMyvK3fK3nbCj5f4cQVhPWzdZ+DxEZHciZbq504+kBSP8yqAe4lYNnlQHYRdg17e8KoXX6pAAX5V5W7jA==", + "version": "7.0.0-beta.23", + "resolved": "https://registry.npmjs.org/@algorandfoundation/algokit-utils/-/algokit-utils-7.0.0-beta.23.tgz", + "integrity": "sha512-vIYkHWvQePPo+mi53umkxS9LM4MjuDmfv7s3cXCSHoIpjHtseU6DtDNpQDBNA9+5hy8W8IT4V9vlLKMp/eANAg==", "dependencies": { "buffer": "^6.0.3" }, diff --git a/package.json b/package.json index c6685d1..d618b7f 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "rollup": "^4.22.5" }, "dependencies": { - "@algorandfoundation/algokit-utils": "^7.0.0-beta.21", + "@algorandfoundation/algokit-utils": "^7.0.0-beta.23", "algosdk": "^2.7.0", "chalk": "^4.1.2", "change-case": "^5.4.4", diff --git a/src/client/imports.ts b/src/client/imports.ts index d51ba60..57458e5 100644 --- a/src/client/imports.ts +++ b/src/client/imports.ts @@ -17,7 +17,7 @@ export function* imports(): DocumentParts { CloneAppClientParams, } from '@algorandfoundation/algokit-utils/types/app-client' import { AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory' - import TransactionComposer, { AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' + import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, SimulateOptions } from '@algorandfoundation/algokit-utils/types/composer' import { SendParams, SendSingleTransactionResult, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction' import { modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk' import SimulateResponse = modelsv2.SimulateResponse