@algorandfoundation/algorand-typescript-testing 1.0.0-beta.11 → 1.0.0-beta.13
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/abi-metadata.d.ts +2 -2
- package/collections/custom-key-map.d.ts +3 -2
- package/context-helpers/context-util.d.ts +2 -2
- package/context-helpers/internal-context.d.ts +6 -7
- package/decode-logs.d.ts +1 -1
- package/{runtime-helpers-Bq9M2MMd.js → encoded-types-CuGiO_X_.js} +247 -769
- package/encoded-types-CuGiO_X_.js.map +1 -0
- package/encoders.d.ts +3 -2
- package/impl/acct-params.d.ts +2 -2
- package/impl/app-global.d.ts +2 -2
- package/impl/app-local.d.ts +2 -2
- package/impl/app-params.d.ts +3 -3
- package/impl/asset-holding.d.ts +2 -2
- package/impl/asset-params.d.ts +4 -3
- package/impl/base.d.ts +2 -1
- package/impl/block.d.ts +4 -4
- package/impl/box.d.ts +2 -2
- package/impl/compiled.d.ts +2 -2
- package/impl/crypto.d.ts +10 -2
- package/impl/encoded-types.d.ts +9 -6
- package/impl/ensure-budget.d.ts +2 -1
- package/impl/global.d.ts +3 -3
- package/impl/gtxn.d.ts +9 -2
- package/impl/inner-transactions.d.ts +3 -2
- package/impl/itxn.d.ts +4 -4
- package/impl/log.d.ts +3 -0
- package/impl/logicSigArg.d.ts +1 -1
- package/impl/match.d.ts +1 -1
- package/impl/online-stake.d.ts +2 -2
- package/impl/pure.d.ts +7 -2
- package/impl/reference.d.ts +90 -0
- package/impl/scratch.d.ts +4 -4
- package/impl/state.d.ts +2 -1
- package/impl/transactions.d.ts +32 -31
- package/impl/txn.d.ts +3 -2
- package/impl/urange.d.ts +1 -1
- package/impl/voter-params.d.ts +2 -2
- package/index.mjs +23 -3491
- package/index.mjs.map +1 -1
- package/internal/arc4.mjs +12 -0
- package/internal/arc4.mjs.map +1 -0
- package/internal/op.mjs +15 -0
- package/internal/op.mjs.map +1 -0
- package/internal-arc4-C9t-aREu.js +25 -0
- package/internal-arc4-C9t-aREu.js.map +1 -0
- package/internal-arc4.d.ts +2 -0
- package/internal-op-DlLQ5gew.js +1597 -0
- package/internal-op-DlLQ5gew.js.map +1 -0
- package/internal-op.d.ts +19 -0
- package/internal.d.ts +32 -0
- package/internal.mjs +166 -0
- package/internal.mjs.map +1 -0
- package/package.json +14 -2
- package/pure-CKz3aJeT.js +1059 -0
- package/pure-CKz3aJeT.js.map +1 -0
- package/runtime-helpers-Dg42m-TM.js +436 -0
- package/runtime-helpers-Dg42m-TM.js.map +1 -0
- package/runtime-helpers.d.ts +1 -6
- package/runtime-helpers.mjs +4 -3
- package/runtime-helpers.mjs.map +1 -1
- package/state-BZHLEhrM.js +837 -0
- package/state-BZHLEhrM.js.map +1 -0
- package/subcontexts/contract-context.d.ts +3 -3
- package/subcontexts/ledger-context.d.ts +23 -22
- package/subcontexts/transaction-context.d.ts +8 -7
- package/test-execution-context.d.ts +7 -6
- package/test-transformer/index.mjs +34 -13
- package/test-transformer/index.mjs.map +1 -1
- package/test-transformer/node-factory.d.ts +2 -2
- package/test-transformer/visitors.d.ts +1 -1
- package/util.d.ts +3 -6
- package/value-generators/arc4.d.ts +1 -1
- package/value-generators/avm.d.ts +9 -9
- package/value-generators/txn.d.ts +3 -2
- package/impl/account.d.ts +0 -35
- package/impl/application.d.ts +0 -30
- package/impl/asset.d.ts +0 -24
- package/runtime-helpers-Bq9M2MMd.js.map +0 -1
package/abi-metadata.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseContract, Contract } from '@algorandfoundation/algorand-typescript';
|
|
2
|
-
import { AbiMethodConfig, BareMethodConfig, CreateOptions, OnCompleteActionStr } from '@algorandfoundation/algorand-typescript/arc4';
|
|
1
|
+
import type { BaseContract, Contract } from '@algorandfoundation/algorand-typescript';
|
|
2
|
+
import type { AbiMethodConfig, BareMethodConfig, CreateOptions, OnCompleteActionStr } from '@algorandfoundation/algorand-typescript/arc4';
|
|
3
3
|
export interface AbiMetadata {
|
|
4
4
|
methodName: string;
|
|
5
5
|
methodSignature: string | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Account
|
|
2
|
-
import {
|
|
1
|
+
import type { Account } from '@algorandfoundation/algorand-typescript';
|
|
2
|
+
import { internal } from '@algorandfoundation/algorand-typescript';
|
|
3
|
+
import type { DeliberateAny } from '../typescript-helpers';
|
|
3
4
|
export declare abstract class CustomKeyMap<TKey, TValue> implements Map<TKey, TValue> {
|
|
4
5
|
#private;
|
|
5
6
|
constructor(keySerializer: (key: TKey) => number | bigint | string);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { uint64 } from '@algorandfoundation/algorand-typescript';
|
|
2
|
-
import { AbiMetadata } from '../abi-metadata';
|
|
1
|
+
import type { uint64 } from '@algorandfoundation/algorand-typescript';
|
|
2
|
+
import type { AbiMetadata } from '../abi-metadata';
|
|
3
3
|
export declare const checkRoutingConditions: (appId: uint64, metadata: AbiMetadata) => void;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Account
|
|
2
|
-
import {
|
|
3
|
-
import { ApplicationData } from '../impl/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { TestExecutionContext } from '../test-execution-context';
|
|
1
|
+
import type { Account } from '@algorandfoundation/algorand-typescript';
|
|
2
|
+
import { BaseContract, internal } from '@algorandfoundation/algorand-typescript';
|
|
3
|
+
import type { AccountData, ApplicationData, AssetData } from '../impl/reference';
|
|
4
|
+
import type { VoterData } from '../impl/voter-params';
|
|
5
|
+
import type { TransactionGroup } from '../subcontexts/transaction-context';
|
|
6
|
+
import type { TestExecutionContext } from '../test-execution-context';
|
|
8
7
|
/**
|
|
9
8
|
* For accessing implementation specific functions, with a convenient single entry
|
|
10
9
|
* point for other modules to import Also allows for a single place to check and
|
package/decode-logs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bytes } from '@algorandfoundation/algorand-typescript';
|
|
1
|
+
import type { bytes } from '@algorandfoundation/algorand-typescript';
|
|
2
2
|
export type LogDecoding = 'i' | 's' | 'b';
|
|
3
3
|
export type DecodedLog<T extends LogDecoding> = T extends 'i' ? bigint : T extends 's' ? string : Uint8Array;
|
|
4
4
|
export type DecodedLogs<T extends [...LogDecoding[]]> = {
|