@algorandfoundation/puya-ts 1.2.0-beta.40 → 1.2.0-beta.42

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.
Files changed (27) hide show
  1. package/{analyser-service-D0IsFlp4.js → analyser-service-DPSzV4Fr.js} +367 -367
  2. package/{analyser-service-D0IsFlp4.js.map → analyser-service-DPSzV4Fr.js.map} +1 -1
  3. package/analyserService.mjs +3 -3
  4. package/{arc4-clientgen-BMCeFyNd.js → arc4-clientgen-B18Iy1pB.js} +2 -2
  5. package/{arc4-clientgen-BMCeFyNd.js.map → arc4-clientgen-B18Iy1pB.js.map} +1 -1
  6. package/awst/json-serialize-awst.d.ts +5 -0
  7. package/bin/puyats-clientgen.mjs +5 -5
  8. package/bin/puyats-ls.mjs +6 -6
  9. package/bin/run-cli.mjs +8 -8
  10. package/{check-node-version-BP_a9Mv8.js → check-node-version-CTUDg7U0.js} +3 -3
  11. package/{check-node-version-BP_a9Mv8.js.map → check-node-version-CTUDg7U0.js.map} +1 -1
  12. package/cli.mjs +8 -8
  13. package/{compile-BaYaEC1Y.js → compile-fR7joa-i.js} +6 -6
  14. package/{compile-BaYaEC1Y.js.map → compile-fR7joa-i.js.map} +1 -1
  15. package/constants.d.ts +1 -1
  16. package/{contract-class-model-pgJctz5F.js → contract-class-model-DrIKzG8T.js} +3 -3
  17. package/{contract-class-model-pgJctz5F.js.map → contract-class-model-DrIKzG8T.js.map} +1 -1
  18. package/index.mjs +8 -8
  19. package/{options-8bOJR8qx.js → options-CjaCG-jG.js} +144 -113
  20. package/{options-8bOJR8qx.js.map → options-CjaCG-jG.js.map} +1 -1
  21. package/package.json +2 -2
  22. package/{resolve-puya-path-EZBzWIlE.js → resolve-puya-path-bE8Kv9ba.js} +4 -4
  23. package/{resolve-puya-path-EZBzWIlE.js.map → resolve-puya-path-bE8Kv9ba.js.map} +1 -1
  24. package/{semver-DpFo0aCr.js → semver-CE5w1Rr0.js} +3 -3
  25. package/{semver-DpFo0aCr.js.map → semver-CE5w1Rr0.js.map} +1 -1
  26. package/{util-JPoBh0Op.js → util-Dg9vLXWz.js} +2 -2
  27. package/{util-JPoBh0Op.js.map → util-Dg9vLXWz.js.map} +1 -1
package/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { o as ABICompatibleInstanceType, q as ALL_OP_ENUMS, r as AccountFunction, s as AnyPType, t as ApplicationCallTxnFunction, u as ApplicationFunction, w as ApprovalProgram, x as ArrayGeneric, y as ArrayLiteralPType, z as ArrayPType, B as AssetConfigTxnFunction, D as AssetFreezeTxnFunction, E as AssetFunction, F as AssetTransferTxnFunction, G as BaseContractClassType, H as BigIntLiteralPType, J as BigIntPType, K as BigUintFunction, M as BooleanFunction, N as BoxGeneric, Q as BoxMapGeneric, R as BoxMapPType, S as BoxPType, T as BytesFunction, U as BytesGeneric, V as BytesPType, W as ClassMethodDecoratorContext, X as ClearStateProgram, Y as ClusteredContractClassType, Z as ClusteredPrototype, _ as ContractClassPType, $ as FixedArrayGeneric, a0 as FixedArrayPType, a1 as FunctionPType, a2 as GeneratorGeneric, a3 as GeneratorType, a4 as GenericPType, a5 as GlobalMapGeneric, a6 as GlobalMapType, a7 as GlobalStateGeneric, a8 as GlobalStateType, a9 as GroupTransactionPType, aa as ImmutableObjectPType, ab as InnerTransactionPType, ac as InstanceType, ad as InternalType, ae as IntersectionPType, af as IntrinsicEnumType, ag as IntrinsicFunctionGroupType, ah as IntrinsicFunctionGroupTypeType, ai as IntrinsicFunctionType, aj as IntrinsicFunctionTypeType, ak as IterableIteratorGeneric, al as IterableIteratorType, am as ItxnParamsPType, an as KeyRegistrationTxnFunction, ao as LibClassType, ap as LibFunctionType, aq as LibObjType, ar as LocalMapGeneric, as as LocalMapType, at as LocalStateGeneric, au as LocalStateType, av as LogicSigPType, aw as MutableObjectPType, ax as MutableTuplePType, ay as NamespacePType, az as NumberPType, aA as NumericLiteralPType, aB as ObjectLiteralPType, aC as ObjectWithOptionalFieldsType, aD as PType, aE as PaymentTxnFunction, aF as PolytypeClassMethodHelper, aG as PromiseGeneric, aH as PromiseType, aI as ReadonlyArrayGeneric, aJ as ReadonlyArrayPType, aK as ReadonlyGeneric, aL as ReadonlyTuplePType, aM as ReferenceArrayGeneric, aN as ReferenceArrayType, aO as StringFunction, aP as SuperPrototypeSelector, aQ as SuperPrototypeSelectorGeneric, aR as TemplateVarFunction, aS as TransactionFunction, aT as TransactionFunctionType, aU as TransientType, aV as TypeParameterType, aW as Uint64EnumMemberLiteralType, aX as Uint64EnumMemberType, aY as Uint64EnumType, aZ as Uint64Function, a_ as UnionPType, a$ as UnsupportedType, e as accountPType, h as anyGtxnType, b0 as anyItxnParamsType, b1 as anyItxnType, b2 as anyPType, n as applicationCallGtxnType, b3 as applicationCallItxnFunction, b4 as applicationCallItxnParamsType, b5 as applicationCallItxnType, f as applicationPType, b6 as arc28EmitFunction, b7 as arc4AbiMethodDecorator, b8 as arc4BareMethodDecorator, b9 as arc4BaseContractType, ba as assertFunction, bb as assertMatchFunction, i as assetConfigGtxnType, bc as assetConfigItxnFunction, bd as assetConfigItxnParamsType, be as assetConfigItxnType, m as assetFreezeGtxnType, bf as assetFreezeItxnFunction, bg as assetFreezeItxnParamsType, bh as assetFreezeItxnType, g as assetPType, j as assetTransferGtxnType, bi as assetTransferItxnFunction, bj as assetTransferItxnParamsType, bk as assetTransferItxnType, bl as base64PType, bm as baseContractType, bn as bigIntPType, bo as biguintPType, bp as boolPType, bq as bytesPType, br as bzeroFunction, bs as cloneFunction, bt as compileFunction, bu as compiledContractType, bv as compiledLogicSigType, bw as contractOptionsDecorator, bx as ecPType, by as ecdsaPType, bz as ensureBudgetFunction, bA as errFunction, bB as esSymbol, bC as inputOnlyObjects, bD as isArrayType, bE as isObjectType, bF as isTupleLike, bG as itoaMethod, bH as itxnComposePType, k as keyRegistrationGtxnType, bI as keyRegistrationItxnFunction, bJ as keyRegistrationItxnParamsType, bK as keyRegistrationItxnType, bL as logFunction, bM as loggedAssertFunction, bN as loggedErrFunction, bO as logicSigBaseType, bP as logicSigOptionsDecorator, bQ as matchFunction, bR as mimcConfigurationsPType, bS as neverPType, bT as nullPType, bU as numberPType, bV as onCompleteActionType, bW as opUpFeeSourceType, p as paymentGtxnType, bX as paymentItxnFunction, bY as paymentItxnParamsType, bZ as paymentItxnType, b_ as readonlyDecorator, b$ as stringPType, c0 as submitGroupItxnFunction, c1 as transactionTypeType, c2 as uint64PType, c3 as undefinedPType, c4 as unknownPType, c5 as urangeFunction, c6 as validateEncodingFunction, v as voidPType, c7 as vrfVerifyPType, c8 as uint8ArrayToBigInt, c9 as uint8ArrayToBase64, ca as uint8ArrayToBase32, cb as uint8ArrayToUtf8, cc as base64ToUint8Array, cd as base32ToUint8Array, ce as bigIntToUint8Array, cf as utf8ToUint8Array } from './contract-class-model-pgJctz5F.js';
2
- export { A as AbsolutePath, L as LogLevel, cg as LogSource, a as LoggingContext, ch as SourceLocation } from './contract-class-model-pgJctz5F.js';
3
- import { A as ARC4ArrayType, a as ARC4BoolClass, b as ARC4EncodedType, c as ARC4InstanceType, d as ARC4StrClass, e as ARC4StructClass, f as ARC4StructType, g as ARC4TupleGeneric, h as ARC4TupleType, i as AddressClass, B as ByteClass, C as ContractProxyGeneric, j as ContractProxyType, D as DynamicArrayGeneric, k as DynamicArrayType, l as DynamicBytesClass, S as StaticArrayGeneric, m as StaticArrayType, n as StaticBytesGeneric, o as StaticBytesType, T as TypedApplicationCallResponseGeneric, p as TypedApplicationCallResponseType, U as UFixedNxMGeneric, q as UFixedNxMType, r as UintN128Class, s as UintN16Class, t as UintN256Class, u as UintN32Class, v as UintN64Class, w as UintN8Class, x as UintNGeneric, y as UintNType, z as abiCallFunction, E as arc4AddressAlias, F as arc4BooleanType, G as arc4ByteAlias, H as arc4StringType, I as arc4StructBaseType, J as compileArc4Function, K as convertBytesFunction, L as decodeArc4Function, M as dynamicBytesType, N as encodeArc4Function, O as methodSelectorFunction, P as sizeOfFunction, Q as uint8ArrayToHex, R as hexToUint8Array } from './options-8bOJR8qx.js';
4
- export { V as CompileOptions, W as TypeResolver, X as processInputPaths, Y as registerPTypes, Z as typeRegistry } from './options-8bOJR8qx.js';
5
- export { c as compile } from './compile-BaYaEC1Y.js';
1
+ import { A as ABICompatibleInstanceType, a as ALL_OP_ENUMS, g as AccountFunction, i as AnyPType, m as ApplicationCallTxnFunction, n as ApplicationFunction, o as ApprovalProgram, q as ArrayGeneric, s as ArrayLiteralPType, t as ArrayPType, x as AssetConfigTxnFunction, y as AssetFreezeTxnFunction, z as AssetFunction, B as AssetTransferTxnFunction, D as BaseContractClassType, E as BigIntLiteralPType, F as BigIntPType, K as BigUintFunction, O as BooleanFunction, P as BoxGeneric, Q as BoxMapGeneric, R as BoxMapPType, S as BoxPType, Y as BytesFunction, Z as BytesGeneric, _ as BytesPType, a2 as ClassMethodDecoratorContext, a3 as ClearStateProgram, a4 as ClusteredContractClassType, a5 as ClusteredPrototype, ad as ContractClassPType, ap as FixedArrayGeneric, aq as FixedArrayPType, ar as FunctionPType, as as GeneratorGeneric, at as GeneratorType, au as GenericPType, av as GlobalMapGeneric, aw as GlobalMapType, ax as GlobalStateGeneric, ay as GlobalStateType, aA as GroupTransactionPType, aB as ImmutableObjectPType, aD as InnerTransactionPType, aG as InstanceType, aJ as InternalType, aK as IntersectionPType, aM as IntrinsicEnumType, aN as IntrinsicFunctionGroupType, aO as IntrinsicFunctionGroupTypeType, aP as IntrinsicFunctionType, aQ as IntrinsicFunctionTypeType, aR as IterableIteratorGeneric, aS as IterableIteratorType, aT as ItxnParamsPType, aU as KeyRegistrationTxnFunction, aV as LibClassType, aW as LibFunctionType, aX as LibObjType, aY as LocalMapGeneric, aZ as LocalMapType, a_ as LocalStateGeneric, a$ as LocalStateType, b4 as LogicSigPType, b9 as MutableObjectPType, ba as MutableTuplePType, bb as NamespacePType, bg as NumberPType, bj as NumericLiteralPType, bk as ObjectLiteralPType, bl as ObjectWithOptionalFieldsType, bn as PType, bo as PaymentTxnFunction, bp as PolytypeClassMethodHelper, bq as PromiseGeneric, br as PromiseType, bw as ReadonlyArrayGeneric, bx as ReadonlyArrayPType, by as ReadonlyGeneric, bz as ReadonlyTuplePType, bA as ReferenceArrayGeneric, bB as ReferenceArrayType, bM as StringFunction, bQ as SuperPrototypeSelector, bR as SuperPrototypeSelectorGeneric, bU as TemplateVarFunction, bV as TransactionFunction, bW as TransactionFunctionType, bY as TransientType, b$ as TypeParameterType, c6 as Uint64EnumMemberLiteralType, c7 as Uint64EnumMemberType, c8 as Uint64EnumType, c9 as Uint64Function, ca as UnionPType, cb as UnsupportedType, cf as accountPType, cg as anyGtxnType, ch as anyItxnParamsType, ci as anyItxnType, cj as anyPType, ck as applicationCallGtxnType, cl as applicationCallItxnFunction, cm as applicationCallItxnParamsType, cn as applicationCallItxnType, co as applicationPType, cp as arc28EmitFunction, cq as arc4AbiMethodDecorator, cr as arc4BareMethodDecorator, cs as arc4BaseContractType, ct as assertFunction, cu as assertMatchFunction, cv as assetConfigGtxnType, cw as assetConfigItxnFunction, cx as assetConfigItxnParamsType, cy as assetConfigItxnType, cz as assetFreezeGtxnType, cA as assetFreezeItxnFunction, cB as assetFreezeItxnParamsType, cC as assetFreezeItxnType, cD as assetPType, cE as assetTransferGtxnType, cF as assetTransferItxnFunction, cG as assetTransferItxnParamsType, cH as assetTransferItxnType, cJ as base64PType, cL as baseContractType, cM as bigIntPType, cO as biguintPType, cP as boolPType, cQ as bytesPType, cR as bzeroFunction, cS as cloneFunction, cU as compileFunction, cV as compiledContractType, cW as compiledLogicSigType, cX as contractOptionsDecorator, cZ as ecPType, c_ as ecdsaPType, c$ as ensureBudgetFunction, d2 as errFunction, d3 as esSymbol, da as inputOnlyObjects, de as isArrayType, dh as isObjectType, di as isTupleLike, dj as itoaMethod, dk as itxnComposePType, dl as keyRegistrationGtxnType, dm as keyRegistrationItxnFunction, dn as keyRegistrationItxnParamsType, dp as keyRegistrationItxnType, dq as logFunction, dr as loggedAssertFunction, ds as loggedErrFunction, du as logicSigBaseType, dv as logicSigOptionsDecorator, dw as matchFunction, dx as mimcConfigurationsPType, dz as neverPType, dB as nullPType, dC as numberPType, dD as onCompleteActionType, dE as opUpFeeSourceType, dG as paymentGtxnType, dH as paymentItxnFunction, dI as paymentItxnParamsType, dJ as paymentItxnType, dL as readonlyDecorator, dN as stringPType, dO as submitGroupItxnFunction, dR as transactionTypeType, dU as uint64PType, dZ as undefinedPType, d_ as unknownPType, d$ as urangeFunction, e1 as validateEncodingFunction, e2 as voidPType, e3 as vrfVerifyPType, dX as uint8ArrayToBigInt, dW as uint8ArrayToBase64, dV as uint8ArrayToBase32, dY as uint8ArrayToUtf8, cK as base64ToUint8Array, cI as base32ToUint8Array, cN as bigIntToUint8Array, e0 as utf8ToUint8Array } from './contract-class-model-DrIKzG8T.js';
2
+ export { f as AbsolutePath, b0 as LogLevel, b1 as LogSource, b2 as LoggingContext, bG as SourceLocation } from './contract-class-model-DrIKzG8T.js';
3
+ import { A as ARC4ArrayType, a as ARC4BoolClass, b as ARC4EncodedType, c as ARC4InstanceType, d as ARC4StrClass, e as ARC4StructClass, f as ARC4StructType, g as ARC4TupleGeneric, h as ARC4TupleType, i as AddressClass, B as ByteClass, j as ContractProxyGeneric, k as ContractProxyType, l as DynamicArrayGeneric, m as DynamicArrayType, n as DynamicBytesClass, S as StaticArrayGeneric, o as StaticArrayType, p as StaticBytesGeneric, q as StaticBytesType, r as TypedApplicationCallResponseGeneric, s as TypedApplicationCallResponseType, U as UFixedNxMGeneric, t as UFixedNxMType, u as UintN128Class, v as UintN16Class, w as UintN256Class, x as UintN32Class, y as UintN64Class, z as UintN8Class, E as UintNGeneric, F as UintNType, G as abiCallFunction, H as arc4AddressAlias, I as arc4BooleanType, J as arc4ByteAlias, K as arc4StringType, M as arc4StructBaseType, O as compileArc4Function, Q as convertBytesFunction, V as decodeArc4Function, Y as dynamicBytesType, Z as encodeArc4Function, $ as methodSelectorFunction, a4 as sizeOfFunction, a7 as uint8ArrayToHex, _ as hexToUint8Array } from './options-CjaCG-jG.js';
4
+ export { C as CompileOptions, T as TypeResolver, a1 as processInputPaths, a2 as registerPTypes, a6 as typeRegistry } from './options-CjaCG-jG.js';
5
+ export { c as compile } from './compile-fR7joa-i.js';
6
6
  import 'typescript';
7
7
  import 'node:fs';
8
8
  import 'node:util';
@@ -22,13 +22,13 @@ import 'net';
22
22
  import 'change-case';
23
23
  import 'glob';
24
24
  import 'minimatch';
25
- import './arc4-clientgen-BMCeFyNd.js';
25
+ import './arc4-clientgen-B18Iy1pB.js';
26
26
  import '@algorandfoundation/algokit-utils/abi';
27
27
  import 'fs';
28
28
  import 'fs/promises';
29
- import './semver-DpFo0aCr.js';
29
+ import './semver-CE5w1Rr0.js';
30
30
  import 'node:url';
31
- import './resolve-puya-path-EZBzWIlE.js';
31
+ import './resolve-puya-path-bE8Kv9ba.js';
32
32
  import 'signal-exit';
33
33
  import 'tar';
34
34
  import 'node:zlib';