@algorandfoundation/algorand-typescript-testing 1.0.0-beta.5 → 1.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +3 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/value-generators/avm.d.ts +2 -0
package/index.mjs
CHANGED
|
@@ -4191,8 +4191,10 @@ class AvmValueGenerator {
|
|
|
4191
4191
|
internal.errors.internalError('Account with such address already exists in testing context. Use `context.ledger.getAccount(address)` to retrieve the existing account.');
|
|
4192
4192
|
}
|
|
4193
4193
|
const data = new AccountData();
|
|
4194
|
-
const { address, optedAssetBalances, optedApplications, incentiveEligible, ...accountData } = input ?? {};
|
|
4194
|
+
const { address, optedAssetBalances, optedApplications, incentiveEligible, lastProposed, lastHeartbeat, ...accountData } = input ?? {};
|
|
4195
4195
|
data.incentiveEligible = incentiveEligible ?? false;
|
|
4196
|
+
data.lastProposed = lastProposed;
|
|
4197
|
+
data.lastHeartbeat = lastHeartbeat;
|
|
4196
4198
|
data.account = {
|
|
4197
4199
|
...data.account,
|
|
4198
4200
|
...accountData,
|