Skip to content

Commit

Permalink
Merge pull request #361 from algorandfoundation/backport-tweaks
Browse files Browse the repository at this point in the history
chore: backport some tweaks/fixes to v7
  • Loading branch information
neilcampbell authored Dec 22, 2024
2 parents a57122a + 1cbb1a1 commit 96e3052
Show file tree
Hide file tree
Showing 19 changed files with 203 additions and 172 deletions.
22 changes: 11 additions & 11 deletions docs/code/classes/testing.TestLogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Create a new test logger that wraps the given logger if provided.

#### Defined in

[src/testing/test-logger.ts:15](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L15)
[src/testing/test-logger.ts:16](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L16)

## Properties

Expand All @@ -66,7 +66,7 @@ Create a new test logger that wraps the given logger if provided.

#### Defined in

[src/testing/test-logger.ts:9](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L9)
[src/testing/test-logger.ts:10](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L10)

___

Expand All @@ -76,7 +76,7 @@ ___

#### Defined in

[src/testing/test-logger.ts:8](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L8)
[src/testing/test-logger.ts:9](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L9)

## Accessors

Expand All @@ -92,7 +92,7 @@ Returns all logs captured thus far.

#### Defined in

[src/testing/test-logger.ts:21](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L21)
[src/testing/test-logger.ts:22](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L22)

## Methods

Expand All @@ -108,7 +108,7 @@ Clears all logs captured so far.

#### Defined in

[src/testing/test-logger.ts:26](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L26)
[src/testing/test-logger.ts:27](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L27)

___

Expand All @@ -133,7 +133,7 @@ Logger.debug

#### Defined in

[src/testing/test-logger.ts:79](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L79)
[src/testing/test-logger.ts:80](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L80)

___

Expand All @@ -158,7 +158,7 @@ Logger.error

#### Defined in

[src/testing/test-logger.ts:63](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L63)
[src/testing/test-logger.ts:64](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L64)

___

Expand Down Expand Up @@ -194,7 +194,7 @@ expect(logger.getLogSnapshot()).toMatchSnapshot()

#### Defined in

[src/testing/test-logger.ts:46](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L46)
[src/testing/test-logger.ts:47](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L47)

___

Expand All @@ -219,7 +219,7 @@ Logger.info

#### Defined in

[src/testing/test-logger.ts:71](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L71)
[src/testing/test-logger.ts:72](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L72)

___

Expand All @@ -244,7 +244,7 @@ Logger.verbose

#### Defined in

[src/testing/test-logger.ts:75](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L75)
[src/testing/test-logger.ts:76](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L76)

___

Expand All @@ -269,4 +269,4 @@ Logger.warn

#### Defined in

[src/testing/test-logger.ts:67](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L67)
[src/testing/test-logger.ts:68](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L68)
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Creates a new `AlgorandClientSender`

#### Defined in

[src/types/algorand-client-transaction-sender.ts:38](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L38)
[src/types/algorand-client-transaction-sender.ts:46](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L46)

## Properties

Expand All @@ -76,7 +76,7 @@ Creates a new `AlgorandClientSender`

#### Defined in

[src/types/algorand-client-transaction-sender.ts:31](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L31)
[src/types/algorand-client-transaction-sender.ts:39](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L39)

___

Expand All @@ -86,7 +86,7 @@ ___

#### Defined in

[src/types/algorand-client-transaction-sender.ts:30](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L30)
[src/types/algorand-client-transaction-sender.ts:38](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L38)

___

Expand All @@ -104,7 +104,7 @@ ___

#### Defined in

[src/types/algorand-client-transaction-sender.ts:29](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L29)
[src/types/algorand-client-transaction-sender.ts:37](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L37)

___

Expand Down Expand Up @@ -168,7 +168,7 @@ await algorand.send.appCall({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:708](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L708)
[src/types/algorand-client-transaction-sender.ts:716](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L716)

___

Expand Down Expand Up @@ -244,7 +244,7 @@ await algorand.send.appCallMethodCall({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:944](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L944)
[src/types/algorand-client-transaction-sender.ts:952](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L952)

___

Expand Down Expand Up @@ -318,7 +318,7 @@ await algorand.send.appCreate({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:574](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L574)
[src/types/algorand-client-transaction-sender.ts:582](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L582)

___

Expand Down Expand Up @@ -404,7 +404,7 @@ await algorand.send.appCreate({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:774](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L774)
[src/types/algorand-client-transaction-sender.ts:782](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L782)

___

Expand Down Expand Up @@ -468,7 +468,7 @@ await algorand.send.appDelete({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:664](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L664)
[src/types/algorand-client-transaction-sender.ts:672](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L672)

___

Expand Down Expand Up @@ -544,7 +544,7 @@ await algorand.send.appDeleteMethodCall({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:888](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L888)
[src/types/algorand-client-transaction-sender.ts:896](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L896)

___

Expand Down Expand Up @@ -610,7 +610,7 @@ await algorand.send.appUpdate({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:620](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L620)
[src/types/algorand-client-transaction-sender.ts:628](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L628)

___

Expand Down Expand Up @@ -688,7 +688,7 @@ await algorand.send.appUpdateMethodCall({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:832](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L832)
[src/types/algorand-client-transaction-sender.ts:840](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L840)

___

Expand Down Expand Up @@ -753,7 +753,7 @@ await algorand.send.assetConfig({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:285](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L285)
[src/types/algorand-client-transaction-sender.ts:293](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L293)

___

Expand Down Expand Up @@ -814,7 +814,7 @@ await algorand.send.assetDestroy({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:365](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L365)
[src/types/algorand-client-transaction-sender.ts:373](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L373)

___

Expand Down Expand Up @@ -873,7 +873,7 @@ await algorand.send.assetFreeze({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:324](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L324)
[src/types/algorand-client-transaction-sender.ts:332](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L332)

___

Expand Down Expand Up @@ -930,7 +930,7 @@ await algorand.send.assetOptIn({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:445](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L445)
[src/types/algorand-client-transaction-sender.ts:453](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L453)

___

Expand Down Expand Up @@ -992,7 +992,7 @@ await algorand.send.assetTransfer({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:407](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L407)
[src/types/algorand-client-transaction-sender.ts:415](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L415)

___

Expand All @@ -1018,7 +1018,7 @@ Register an offline key.

#### Defined in

[src/types/algorand-client-transaction-sender.ts:955](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L955)
[src/types/algorand-client-transaction-sender.ts:963](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L963)

___

Expand All @@ -1044,7 +1044,7 @@ Register an online key.

#### Defined in

[src/types/algorand-client-transaction-sender.ts:950](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L950)
[src/types/algorand-client-transaction-sender.ts:958](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L958)

___

Expand Down Expand Up @@ -1109,7 +1109,7 @@ const result = await algorand.send.payment({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:185](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L185)
[src/types/algorand-client-transaction-sender.ts:193](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L193)

## Methods

Expand Down Expand Up @@ -1150,7 +1150,7 @@ const result = await algorand.send.payment({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:48](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L48)
[src/types/algorand-client-transaction-sender.ts:56](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L56)

___

Expand Down Expand Up @@ -1191,7 +1191,7 @@ ___

#### Defined in

[src/types/algorand-client-transaction-sender.ts:83](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L83)
[src/types/algorand-client-transaction-sender.ts:91](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L91)

___

Expand Down Expand Up @@ -1232,7 +1232,7 @@ ___

#### Defined in

[src/types/algorand-client-transaction-sender.ts:126](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L126)
[src/types/algorand-client-transaction-sender.ts:134](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L134)

___

Expand Down Expand Up @@ -1273,7 +1273,7 @@ ___

#### Defined in

[src/types/algorand-client-transaction-sender.ts:107](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L107)
[src/types/algorand-client-transaction-sender.ts:115](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L115)

___

Expand Down Expand Up @@ -1341,7 +1341,7 @@ await algorand.send.assetCreate({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:236](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L236)
[src/types/algorand-client-transaction-sender.ts:244](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L244)

___

Expand Down Expand Up @@ -1408,7 +1408,7 @@ await algorand.send.assetOptOut({

#### Defined in

[src/types/algorand-client-transaction-sender.ts:492](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L492)
[src/types/algorand-client-transaction-sender.ts:500](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L500)

___

Expand All @@ -1422,4 +1422,4 @@ ___

#### Defined in

[src/types/algorand-client-transaction-sender.ts:44](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L44)
[src/types/algorand-client-transaction-sender.ts:52](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-sender.ts#L52)
Loading

0 comments on commit 96e3052

Please sign in to comment.