@algorandfoundation/algorand-typescript-testing 1.0.0-beta.10 → 1.0.0-beta.11

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/impl/crypto.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { bytes, Ecdsa, internal, VrfVerify } from '@algorandfoundation/algorand-typescript';
1
+ import { bytes, Ecdsa, internal, MimcConfigurations, VrfVerify } from '@algorandfoundation/algorand-typescript';
2
2
  export declare const sha256: (a: internal.primitives.StubBytesCompat) => bytes;
3
3
  export declare const sha3_256: (a: internal.primitives.StubBytesCompat) => bytes;
4
4
  export declare const keccak256: (a: internal.primitives.StubBytesCompat) => bytes;
@@ -10,3 +10,4 @@ export declare const ecdsaPkRecover: (v: Ecdsa, a: internal.primitives.StubBytes
10
10
  export declare const ecdsaPkDecompress: (v: Ecdsa, a: internal.primitives.StubBytesCompat) => readonly [bytes, bytes];
11
11
  export declare const vrfVerify: (_s: VrfVerify, _a: internal.primitives.StubBytesCompat, _b: internal.primitives.StubBytesCompat, _c: internal.primitives.StubBytesCompat) => readonly [bytes, boolean];
12
12
  export declare const EllipticCurve: internal.opTypes.EllipticCurveType;
13
+ export declare const mimc: (_c: MimcConfigurations, _a: internal.primitives.StubBytesCompat) => bytes;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Bytes, Uint64, Account, internal, op, BigUint, arc4, Base64, TransactionType, Asset, Application, BaseContract, Contract } from '@algorandfoundation/algorand-typescript';
2
- import { a as asMaybeUint64Cls, l as lazyContext, b as asUint64, g as getObjectReference, c as getApplicationAddress, M as MIN_TXN_FEE, D as DEFAULT_ACCOUNT_MIN_BALANCE, d as DEFAULT_MAX_TXN_LIFE, Z as ZERO_ADDRESS, e as DEFAULT_ASSET_CREATE_MIN_BALANCE, f as DEFAULT_ASSET_OPT_IN_MIN_BALANCE, h as DEFAULT_GLOBAL_GENESIS_HASH, i as asMaybeBytesCls, j as asMaybeBigUintCls, B as BytesBackedCls, U as Uint64BackedCls, k as asUint64Cls, m as encodeArc4Impl, n as nameOfType, o as getArc4Encoder, A as AccountCls, p as ApplicationCls, q as AssetCls, r as arc4Encoders, s as asUint8Array, t as asBytes, u as getRandomBytes, v as asNumber, w as MAX_BOX_SIZE, x as asBytesCls, y as conactUint8Arrays, z as asBigUint, C as BITS_IN_BYTE, E as MAX_BYTES_SIZE, F as testInvariant, G as MAX_UINT8, H as binaryStringToBytes, I as UINT64_SIZE, J as notImplementedError, K as MAX_UINT64, L as EllipticCurve, N as ecdsaPkDecompress, O as ecdsaPkRecover, P as ecdsaVerify, Q as ed25519verify, R as ed25519verifyBare, S as keccak256, T as sha256, V as sha3_256, W as sha512_256, X as vrfVerify, Y as combineIntoMaxBytePages, _ as MAX_ITEMS_IN_LOG, $ as ABI_RETURN_VALUE_LOG_PREFIX, a0 as AccountMap, a1 as getGenericTypeInfo, a2 as getArc4Selector, a3 as isContractProxy, a4 as getContractMethodAbiMetadata, a5 as copyAbiMetadatas, a6 as getContractAbiMetadata, a7 as BytesMap, a8 as iterBigInt, a9 as Uint64Map, aa as AssetHolding$1, ab as AccountData, ac as asBigInt, ad as TRANSACTION_GROUP_MAX_SIZE, ae as getRandomBigInt, af as ApplicationData, ag as AddressImpl, ah as UintNImpl, ai as getRandomNumber, aj as MAX_UINT16, ak as MAX_UINT32, al as MAX_UINT128, am as MAX_UINT256, an as MAX_UINT512, ao as DynamicBytesImpl, ap as StrImpl, aq as captureMethodConfig, ar as DEFAULT_TEMPLATE_VAR_PREFIX } from './runtime-helpers-DHsiw5ur.js';
2
+ import { a as asMaybeUint64Cls, l as lazyContext, b as asUint64, g as getObjectReference, c as getApplicationAddress, M as MIN_TXN_FEE, D as DEFAULT_ACCOUNT_MIN_BALANCE, d as DEFAULT_MAX_TXN_LIFE, Z as ZERO_ADDRESS, e as DEFAULT_ASSET_CREATE_MIN_BALANCE, f as DEFAULT_ASSET_OPT_IN_MIN_BALANCE, h as DEFAULT_GLOBAL_GENESIS_HASH, i as asMaybeBytesCls, j as asMaybeBigUintCls, B as BytesBackedCls, U as Uint64BackedCls, k as asUint64Cls, m as encodeArc4Impl, n as nameOfType, o as getArc4Encoder, A as AccountCls, p as ApplicationCls, q as AssetCls, r as arc4Encoders, s as asUint8Array, t as asBytes, u as getRandomBytes, v as asNumber, w as MAX_BOX_SIZE, x as asBytesCls, y as conactUint8Arrays, z as asBigUint, C as BITS_IN_BYTE, E as MAX_BYTES_SIZE, F as testInvariant, G as MAX_UINT8, H as binaryStringToBytes, I as UINT64_SIZE, J as notImplementedError, K as MAX_UINT64, L as EllipticCurve, N as ecdsaPkDecompress, O as ecdsaPkRecover, P as ecdsaVerify, Q as ed25519verify, R as ed25519verifyBare, S as keccak256, T as mimc, V as sha256, W as sha3_256, X as sha512_256, Y as vrfVerify, _ as combineIntoMaxBytePages, $ as MAX_ITEMS_IN_LOG, a0 as ABI_RETURN_VALUE_LOG_PREFIX, a1 as AccountMap, a2 as getGenericTypeInfo, a3 as getArc4Selector, a4 as isContractProxy, a5 as getContractMethodAbiMetadata, a6 as copyAbiMetadatas, a7 as getContractAbiMetadata, a8 as BytesMap, a9 as iterBigInt, aa as Uint64Map, ab as AssetHolding$1, ac as AccountData, ad as asBigInt, ae as TRANSACTION_GROUP_MAX_SIZE, af as getRandomBigInt, ag as ApplicationData, ah as AddressImpl, ai as UintNImpl, aj as getRandomNumber, ak as MAX_UINT16, al as MAX_UINT32, am as MAX_UINT128, an as MAX_UINT256, ao as MAX_UINT512, ap as DynamicBytesImpl, aq as StrImpl, ar as captureMethodConfig, as as DEFAULT_TEMPLATE_VAR_PREFIX } from './runtime-helpers-Bq9M2MMd.js';
3
3
  import { ARC4Encoded } from '@algorandfoundation/algorand-typescript/arc4';
4
4
  import { randomBytes } from 'crypto';
5
5
  import '@algorandfoundation/puya-ts';
@@ -2613,6 +2613,7 @@ var ops = /*#__PURE__*/Object.freeze({
2613
2613
  itob: itob,
2614
2614
  keccak256: keccak256,
2615
2615
  len: len,
2616
+ mimc: mimc,
2616
2617
  minBalance: minBalance,
2617
2618
  mulw: mulw,
2618
2619
  onlineStake: onlineStake,