fix: add missing token delta type on ConfirmedMeta (#14872)

This commit is contained in:
Josh 2021-01-26 19:47:59 -08:00 committed by GitHub
parent dcb6f68287
commit 545d93590b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -420,6 +420,8 @@ type CompiledInnerInstruction = {
* @property {Array<number>} preBalances The balances of the transaction accounts before processing
* @property {Array<number>} postBalances The balances of the transaction accounts after processing
* @property {Array<string>} logMessages An array of program log messages emitted during a transaction
* @property {Array<TokenBalance>} preTokenBalances The token balances of the transaction accounts before processing
* @property {Array<TokenBalance>} postTokenBalances The token balances of the transaction accounts after processing
* @property {object|null} err The error result of transaction processing
*/
type ConfirmedTransactionMeta = {
@ -428,6 +430,8 @@ type ConfirmedTransactionMeta = {
preBalances: Array<number>,
postBalances: Array<number>,
logMessages?: Array<string>,
preTokenBalances?: Array<TokenBalance>,
postTokenBalances?: Array<TokenBalance>,
err: TransactionError | null,
};