@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 +2 -1
- package/index.mjs +2 -1
- package/index.mjs.map +1 -1
- package/package.json +3 -3
- package/{runtime-helpers-DHsiw5ur.js → runtime-helpers-Bq9M2MMd.js} +5 -2
- package/runtime-helpers-Bq9M2MMd.js.map +1 -0
- package/runtime-helpers.mjs +1 -1
- package/runtime-helpers-DHsiw5ur.js.map +0 -1
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
|
|
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,
|