algorand / algorand/js-algorand-sdk

Expose ATC transactions field with a getter method

Aperta
#759 5 commenti 1 reazione 0 assegnatari Vedi su GitHub
new-feature-request Team Scytale
Lingua principale
TypeScript
Stelle
297
Fork
214
Merge medio
1h 3m
PR unite (30g)
3

Descrizione

## Problem

Right now the ATC holds an array of TransactionWithSigner objects that is private

https://github.com/algorand/js-algorand-sdk/blob/develop/src/composer.ts#L120

This means to get access to the transactions, the developer must call `buildGroup` which changes the state of the ATC.

It is possible to `clone` the ATC prior to calling `buildGroup` so that the state of the original ATC is unchanged but this is not obvious.

## Solution

Add a getter method to allow access to the transactions constructed so far

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.