@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
@@ -1,4 +1,4 @@
1
- import { ao as LibClassType, d as Constants, bp as boolPType, co as wtypes, b$ as stringPType, a4 as GenericPType, cp as codeInvariant, aL as ReadonlyTuplePType, ax as MutableTuplePType, aD as PType, aA as NumericLiteralPType, c2 as uint64PType, bo as biguintPType, z as ArrayPType, aJ as ReadonlyArrayPType, e as accountPType, bq as bytesPType, ap as LibFunctionType, _ as ContractClassPType, bu as compiledContractType, aa as ImmutableObjectPType, b5 as applicationCallItxnType, v as voidPType, aw as MutableObjectPType, I as InternalError, c as CodeError, cq as throwError, cr as StringConstant, cs as BytesConstant, ct as IntegerConstant, cu as BoolConstant, cv as AddressConstant, cw as MethodConstant, cx as DecimalConstant, cy as TemplateVar, cg as LogSource, L as LogLevel, cz as instanceOfAny, cA as SingleEvaluation, cB as VarExpression, cC as nodeFactory, cD as NotSupported, l as logger, cE as TupleItemExpression, cF as FieldExpression, cG as IndexExpression, cH as TupleExpression, cI as AppStateExpression, cJ as AppAccountStateExpression, cK as BoxValueExpression, cL as StateGetEx, cM as StateGet, aU as TransientType, bU as numberPType, bn as bigIntPType, b6 as arc28EmitFunction, y as ArrayLiteralPType, H as BigIntLiteralPType, cN as hasFlags, cO as invariant, cP as BinaryBooleanOperator, ay as NamespacePType, bm as baseContractType, b9 as arc4BaseContractType, cQ as SymbolName, a_ as UnionPType, a9 as GroupTransactionPType, h as anyGtxnType, aX as Uint64EnumMemberType, aV as TypeParameterType, bB as esSymbol, c4 as unknownPType, bS as neverPType, b2 as anyPType, bT as nullPType, c3 as undefinedPType, Z as ClusteredPrototype, ae as IntersectionPType, bO as logicSigBaseType, av as LogicSigPType, aY as Uint64EnumType, a1 as FunctionPType, w as ApprovalProgram, X as ClearStateProgram, cn as isIn, R as BoxMapPType, S as BoxPType, as as LocalMapType, au as LocalStateType, a6 as GlobalMapType, a8 as GlobalStateType, aP as SuperPrototypeSelector, Y as ClusteredContractClassType, ch as SourceLocation, cR as intersectsFlags, cS as extractModuleName, cT as toSubScript, A as AbsolutePath, cU as CompilationSet, cV as ARC4ABIMethodConfig, C as ContractReference, V as BytesPType, cW as EqualityComparison, aB as ObjectLiteralPType, bE as isObjectType$1, b_ as readonlyDecorator, b7 as arc4AbiMethodDecorator, b8 as arc4BareMethodDecorator, cX as ARC4CreateOption, cY as NewArray, O as OnCompletionAction, cZ as BytesEncoding, ce as bigIntToUint8Array, c_ as FixableCodeError, c$ as UInt64BinaryOperator, d0 as tryConvertEnum, d1 as NumericComparison, d2 as UInt64UnaryOperator, bG as itoaMethod, aZ as Uint64Function, d3 as UInt64PostfixUnaryOperator, a0 as FixedArrayPType, al as IterableIteratorType, ak as IterableIteratorGeneric, f as applicationPType, g as assetPType, bV as onCompleteActionType, d4 as wrapInCodeError, cd as base32ToUint8Array, c1 as transactionTypeType, d5 as TransactionKind, bt as compileFunction, bv as compiledLogicSigType, d6 as LogicSigReference, ab as InnerTransactionPType, aT as TransactionFunctionType, c0 as submitGroupItxnFunction, am as ItxnParamsPType, d7 as getInnerTransactionType, d8 as getItxnParamsType, d9 as CompiledContract, da as ARC4BareMethodConfig, db as MethodSignature, cj as enumFromValue, x as ArrayGeneric, $ as FixedArrayGeneric, cm as zipStrict, bD as isArrayType, bF as isTupleLike, bQ as matchFunction, bb as assertMatchFunction, dc as BigUIntBinaryOperator, K as BigUintFunction, dd as BigUIntPostfixUnaryOperator, cf as utf8ToUint8Array, de as BytesBinaryOperator, df as IntrinsicCall, cb as uint8ArrayToUtf8, T as BytesFunction, U as BytesGeneric, cc as base64ToUint8Array, dg as enumKeyFromValue, dh as BytesUnaryOperator, bs as cloneFunction, bw as contractOptionsDecorator, bz as ensureBudgetFunction, di as PuyaLibFunction, bW as opUpFeeSourceType, af as IntrinsicEnumType, bP as logicSigOptionsDecorator, ac as InstanceType, aC as ObjectWithOptionalFieldsType, c7 as vrfVerifyPType, bR as mimcConfigurationsPType, by as ecdsaPType, bx as ecPType, bl as base64PType, ag as IntrinsicFunctionGroupType, dj as Expression, ai as IntrinsicFunctionType, aM as ReferenceArrayGeneric, aN as ReferenceArrayType, dk as AppStorageKind, a$ as UnsupportedType, dl as transientTypeErrors, a7 as GlobalStateGeneric, aR as TemplateVarFunction, dm as getGroupTransactionType, bH as itxnComposePType, aW as Uint64EnumMemberLiteralType, b0 as anyItxnParamsType, c6 as validateEncodingFunction, M as BooleanFunction, aO as StringFunction, aI as ReadonlyArrayGeneric, aK as ReadonlyGeneric, a2 as GeneratorGeneric, a3 as GeneratorType, aG as PromiseGeneric, aH as PromiseType, W as ClassMethodDecoratorContext, aQ as SuperPrototypeSelectorGeneric, aF as PolytypeClassMethodHelper, bL as logFunction, ba as assertFunction, bA as errFunction, bM as loggedAssertFunction, bN as loggedErrFunction, c5 as urangeFunction, br as bzeroFunction, aj as IntrinsicFunctionTypeType, q as ALL_OP_ENUMS, ah as IntrinsicFunctionGroupTypeType, a5 as GlobalMapGeneric, at as LocalStateGeneric, ar as LocalMapGeneric, N as BoxGeneric, Q as BoxMapGeneric, u as ApplicationFunction, r as AccountFunction, E as AssetFunction, p as paymentGtxnType, aE as PaymentTxnFunction, k as keyRegistrationGtxnType, an as KeyRegistrationTxnFunction, i as assetConfigGtxnType, B as AssetConfigTxnFunction, j as assetTransferGtxnType, F as AssetTransferTxnFunction, m as assetFreezeGtxnType, D as AssetFreezeTxnFunction, n as applicationCallGtxnType, t as ApplicationCallTxnFunction, aS as TransactionFunction, bX as paymentItxnFunction, bI as keyRegistrationItxnFunction, bc as assetConfigItxnFunction, bi as assetTransferItxnFunction, bf as assetFreezeItxnFunction, b3 as applicationCallItxnFunction, bZ as paymentItxnType, bK as keyRegistrationItxnType, be as assetConfigItxnType, bk as assetTransferItxnType, bh as assetFreezeItxnType, bY as paymentItxnParamsType, bJ as keyRegistrationItxnParamsType, bd as assetConfigItxnParamsType, bj as assetTransferItxnParamsType, bg as assetFreezeItxnParamsType, b4 as applicationCallItxnParamsType, bC as inputOnlyObjects, dn as Contract, dp as InstanceSuperMethodTarget, dq as ExpressionStatement, dr as AssertExpression, ds as VoidConstant, dt as ArrayConcat, du as ArrayPop, dv as ArrayReplace, dw as ArrayLength, dx as SizeOf, dy as UpdateInnerTransaction, dz as CheckedMaybe, dA as StageInnerTransactions, dB as SubmitInnerTransaction, dC as AssignmentExpression, dD as CommaExpression, dE as NumericComparisonExpression, dF as BytesComparisonExpression, dG as PuyaLibCall, dH as UInt64UnaryOperation, dI as UInt64PostfixUnaryOperation, dJ as BigUIntPostfixUnaryOperation, dK as BytesUnaryOperation, dL as UInt64BinaryOperation, dM as BigUIntBinaryOperation, dN as BooleanBinaryOperation, dO as Not, dP as Emit, dQ as Range, dR as Enumeration, dS as Reversed, dT as StateExists, dU as ARC4Router, dV as MethodSignatureString, dW as SubroutineID, dX as ContractMethodTarget, dY as InstanceMethodTarget, ca as uint8ArrayToBase32, ck as mkDirIfNotExists, dZ as patchErrorLocation, d_ as Goto, d$ as ReturnStatement, e0 as ContractMethod, e1 as sameSets, b as ContractClassModel, e2 as Subroutine, e3 as LogicSigClassModel, e4 as ptypeIn, e5 as expandMaybeArray, a as LoggingContext, P as PuyaError } from './contract-class-model-pgJctz5F.js';
1
+ import { aV as LibClassType, aa as Constants, cP as boolPType, e5 as wtypes, dN as stringPType, au as GenericPType, cT as codeInvariant, bz as ReadonlyTuplePType, ba as MutableTuplePType, bn as PType, bj as NumericLiteralPType, dU as uint64PType, cO as biguintPType, t as ArrayPType, bx as ReadonlyArrayPType, cf as accountPType, cQ as bytesPType, aW as LibFunctionType, ad as ContractClassPType, cV as compiledContractType, aB as ImmutableObjectPType, cn as applicationCallItxnType, e2 as voidPType, b9 as MutableObjectPType, aI as InternalError, a6 as CodeError, dP as throwError, bL as StringConstant, W as BytesConstant, aH as IntegerConstant, M as BoolConstant, h as AddressConstant, b6 as MethodConstant, ah as DecimalConstant, bT as TemplateVar, b1 as LogSource, b0 as LogLevel, db as instanceOfAny, bE as SingleEvaluation, cd as VarExpression, dA as nodeFactory, bf as NotSupported, dt as logger, b_ as TupleItemExpression, an as FieldExpression, aC as IndexExpression, bZ as TupleExpression, k as AppStateExpression, j as AppAccountStateExpression, T as BoxValueExpression, bK as StateGetEx, bJ as StateGet, bY as TransientType, dC as numberPType, cM as bigIntPType, cp as arc28EmitFunction, s as ArrayLiteralPType, E as BigIntLiteralPType, d9 as hasFlags, dd as invariant, L as BinaryBooleanOperator, bb as NamespacePType, cL as baseContractType, cs as arc4BaseContractType, bS as SymbolName, ca as UnionPType, aA as GroupTransactionPType, cg as anyGtxnType, c7 as Uint64EnumMemberType, b$ as TypeParameterType, d3 as esSymbol, d_ as unknownPType, dz as neverPType, cj as anyPType, dB as nullPType, dZ as undefinedPType, a5 as ClusteredPrototype, aK as IntersectionPType, du as logicSigBaseType, b4 as LogicSigPType, c8 as Uint64EnumType, ar as FunctionPType, o as ApprovalProgram, a3 as ClearStateProgram, df as isIn, R as BoxMapPType, S as BoxPType, aZ as LocalMapType, a$ as LocalStateType, aw as GlobalMapType, ay as GlobalStateType, bQ as SuperPrototypeSelector, a4 as ClusteredContractClassType, bG as SourceLocation, dc as intersectsFlags, d5 as extractModuleName, dQ as toSubScript, f as AbsolutePath, a8 as CompilationSet, b as ARC4ABIMethodConfig, ag as ContractReference, _ as BytesPType, ak as EqualityComparison, bk as ObjectLiteralPType, dh as isObjectType$1, dL as readonlyDecorator, cq as arc4AbiMethodDecorator, cr as arc4BareMethodDecorator, d as ARC4CreateOption, bc as NewArray, bm as OnCompletionAction, X as BytesEncoding, cN as bigIntToUint8Array, ao as FixableCodeError, c1 as UInt64BinaryOperator, dT as tryConvertEnum, bh as NumericComparison, c5 as UInt64UnaryOperator, dj as itoaMethod, c9 as Uint64Function, c3 as UInt64PostfixUnaryOperator, aq as FixedArrayPType, aS as IterableIteratorType, aR as IterableIteratorGeneric, co as applicationPType, cD as assetPType, dD as onCompleteActionType, e4 as wrapInCodeError, cI as base32ToUint8Array, dR as transactionTypeType, bX as TransactionKind, cU as compileFunction, cW as compiledLogicSigType, b5 as LogicSigReference, aD as InnerTransactionPType, bW as TransactionFunctionType, dO as submitGroupItxnFunction, aT as ItxnParamsPType, d7 as getInnerTransactionType, d8 as getItxnParamsType, a9 as CompiledContract, c as ARC4BareMethodConfig, b7 as MethodSignature, d0 as enumFromValue, q as ArrayGeneric, ap as FixedArrayGeneric, e6 as zipStrict, de as isArrayType, di as isTupleLike, dw as matchFunction, cu as assertMatchFunction, H as BigUIntBinaryOperator, K as BigUintFunction, J as BigUIntPostfixUnaryOperator, e0 as utf8ToUint8Array, U as BytesBinaryOperator, aL as IntrinsicCall, dY as uint8ArrayToUtf8, Y as BytesFunction, Z as BytesGeneric, cK as base64ToUint8Array, d1 as enumKeyFromValue, a0 as BytesUnaryOperator, cS as cloneFunction, cX as contractOptionsDecorator, c$ as ensureBudgetFunction, bu as PuyaLibFunction, dE as opUpFeeSourceType, aM as IntrinsicEnumType, dv as logicSigOptionsDecorator, aG as InstanceType, bl as ObjectWithOptionalFieldsType, e3 as vrfVerifyPType, dx as mimcConfigurationsPType, c_ as ecdsaPType, cZ as ecPType, cJ as base64PType, aN as IntrinsicFunctionGroupType, al as Expression, aP as IntrinsicFunctionType, bA as ReferenceArrayGeneric, bB as ReferenceArrayType, l as AppStorageKind, cb as UnsupportedType, dS as transientTypeErrors, ax as GlobalStateGeneric, bU as TemplateVarFunction, d6 as getGroupTransactionType, dk as itxnComposePType, c6 as Uint64EnumMemberLiteralType, ch as anyItxnParamsType, e1 as validateEncodingFunction, O as BooleanFunction, bM as StringFunction, bw as ReadonlyArrayGeneric, by as ReadonlyGeneric, as as GeneratorGeneric, at as GeneratorType, bq as PromiseGeneric, br as PromiseType, a2 as ClassMethodDecoratorContext, bR as SuperPrototypeSelectorGeneric, bp as PolytypeClassMethodHelper, dq as logFunction, ct as assertFunction, d2 as errFunction, dr as loggedAssertFunction, ds as loggedErrFunction, d$ as urangeFunction, cR as bzeroFunction, aQ as IntrinsicFunctionTypeType, a as ALL_OP_ENUMS, aO as IntrinsicFunctionGroupTypeType, av as GlobalMapGeneric, a_ as LocalStateGeneric, aY as LocalMapGeneric, P as BoxGeneric, Q as BoxMapGeneric, n as ApplicationFunction, g as AccountFunction, z as AssetFunction, dG as paymentGtxnType, bo as PaymentTxnFunction, dl as keyRegistrationGtxnType, aU as KeyRegistrationTxnFunction, cv as assetConfigGtxnType, x as AssetConfigTxnFunction, cE as assetTransferGtxnType, B as AssetTransferTxnFunction, cz as assetFreezeGtxnType, y as AssetFreezeTxnFunction, ck as applicationCallGtxnType, m as ApplicationCallTxnFunction, bV as TransactionFunction, dH as paymentItxnFunction, dm as keyRegistrationItxnFunction, cw as assetConfigItxnFunction, cF as assetTransferItxnFunction, cA as assetFreezeItxnFunction, cl as applicationCallItxnFunction, dJ as paymentItxnType, dp as keyRegistrationItxnType, cy as assetConfigItxnType, cH as assetTransferItxnType, cC as assetFreezeItxnType, dI as paymentItxnParamsType, dn as keyRegistrationItxnParamsType, cx as assetConfigItxnParamsType, cG as assetTransferItxnParamsType, cB as assetFreezeItxnParamsType, cm as applicationCallItxnParamsType, da as inputOnlyObjects, ab as Contract, aF as InstanceSuperMethodTarget, am as ExpressionStatement, w as AssertExpression, ce as VoidConstant, p as ArrayConcat, u as ArrayPop, v as ArrayReplace, r as ArrayLength, bF as SizeOf, cc as UpdateInnerTransaction, a1 as CheckedMaybe, bH as StageInnerTransactions, bN as SubmitInnerTransaction, C as AssignmentExpression, a7 as CommaExpression, bi as NumericComparisonExpression, V as BytesComparisonExpression, bt as PuyaLibCall, c4 as UInt64UnaryOperation, c2 as UInt64PostfixUnaryOperation, I as BigUIntPostfixUnaryOperation, $ as BytesUnaryOperation, c0 as UInt64BinaryOperation, G as BigUIntBinaryOperation, N as BooleanBinaryOperation, be as Not, ai as Emit, bv as Range, aj as Enumeration, bD as Reversed, bI as StateExists, e as ARC4Router, bd as Node, b8 as MethodSignatureString, bP as SubroutineID, af as ContractMethodTarget, aE as InstanceMethodTarget, dV as uint8ArrayToBase32, dy as mkDirIfNotExists, dF as patchErrorLocation, az as Goto, bC as ReturnStatement, ae as ContractMethod, dM as sameSets, ac as ContractClassModel, bO as Subroutine, b3 as LogicSigClassModel, dK as ptypeIn, d4 as expandMaybeArray, b2 as LoggingContext, bs as PuyaError } from './contract-class-model-DrIKzG8T.js';
2
2
  import * as fs from 'node:fs';
3
3
  import 'node:util';
4
4
  import pathe__default, { normalize } from 'pathe';
@@ -16625,12 +16625,43 @@ class SnakeCaseSerializer {
16625
16625
  }
16626
16626
  class AwstSerializer extends SnakeCaseSerializer {
16627
16627
  options;
16628
+ static ID_KEY = '_$%!#ID';
16629
+ static REF_KEY = '_$%!#REF';
16628
16630
  constructor(options) {
16629
16631
  super(options?.spaces ?? 0);
16630
16632
  this.options = options;
16631
16633
  }
16634
+ #known = new Map();
16632
16635
  #singleEvals = new SymbolToNumber();
16636
+ serialize(obj) {
16637
+ try {
16638
+ return super.serialize(obj);
16639
+ }
16640
+ finally {
16641
+ this.#known.clear();
16642
+ }
16643
+ }
16633
16644
  serializerFunction(key, value) {
16645
+ if (!this.shouldTrackValue(value)) {
16646
+ return this.doSerializeValue(key, value);
16647
+ }
16648
+ let id = this.#known.get(value);
16649
+ if (id !== undefined) {
16650
+ return {
16651
+ [AwstSerializer.REF_KEY]: id,
16652
+ };
16653
+ }
16654
+ id = this.#known.size;
16655
+ this.#known.set(value, id);
16656
+ return {
16657
+ [AwstSerializer.ID_KEY]: id,
16658
+ ...this.doSerializeValue(key, value),
16659
+ };
16660
+ }
16661
+ shouldTrackValue(value) {
16662
+ return value instanceof Node || value instanceof wtypes.WType;
16663
+ }
16664
+ doSerializeValue(key, value) {
16634
16665
  if (typeof value === 'bigint') {
16635
16666
  return serializeBigInt(value);
16636
16667
  }
@@ -21437,13 +21468,13 @@ var hasRequiredConnection;
21437
21468
  function requireConnection () {
21438
21469
  if (hasRequiredConnection) return connection;
21439
21470
  hasRequiredConnection = 1;
21440
- (function (exports$1) {
21471
+ (function (exports) {
21441
21472
  /* --------------------------------------------------------------------------------------------
21442
21473
  * Copyright (c) Microsoft Corporation. All rights reserved.
21443
21474
  * Licensed under the MIT License. See License.txt in the project root for license information.
21444
21475
  * ------------------------------------------------------------------------------------------ */
21445
- Object.defineProperty(exports$1, "__esModule", { value: true });
21446
- exports$1.createMessageConnection = exports$1.ConnectionOptions = exports$1.MessageStrategy = exports$1.CancellationStrategy = exports$1.CancellationSenderStrategy = exports$1.CancellationReceiverStrategy = exports$1.RequestCancellationReceiverStrategy = exports$1.IdCancellationReceiverStrategy = exports$1.ConnectionStrategy = exports$1.ConnectionError = exports$1.ConnectionErrors = exports$1.LogTraceNotification = exports$1.SetTraceNotification = exports$1.TraceFormat = exports$1.TraceValues = exports$1.Trace = exports$1.NullLogger = exports$1.ProgressType = exports$1.ProgressToken = void 0;
21476
+ Object.defineProperty(exports, "__esModule", { value: true });
21477
+ exports.createMessageConnection = exports.ConnectionOptions = exports.MessageStrategy = exports.CancellationStrategy = exports.CancellationSenderStrategy = exports.CancellationReceiverStrategy = exports.RequestCancellationReceiverStrategy = exports.IdCancellationReceiverStrategy = exports.ConnectionStrategy = exports.ConnectionError = exports.ConnectionErrors = exports.LogTraceNotification = exports.SetTraceNotification = exports.TraceFormat = exports.TraceValues = exports.Trace = exports.NullLogger = exports.ProgressType = exports.ProgressToken = void 0;
21447
21478
  const ral_1 = requireRal();
21448
21479
  const Is = requireIs();
21449
21480
  const messages_1 = requireMessages();
@@ -21460,7 +21491,7 @@ function requireConnection () {
21460
21491
  return typeof value === 'string' || typeof value === 'number';
21461
21492
  }
21462
21493
  ProgressToken.is = is;
21463
- })(ProgressToken || (exports$1.ProgressToken = ProgressToken = {}));
21494
+ })(ProgressToken || (exports.ProgressToken = ProgressToken = {}));
21464
21495
  var ProgressNotification;
21465
21496
  (function (ProgressNotification) {
21466
21497
  ProgressNotification.type = new messages_1.NotificationType('$/progress');
@@ -21469,7 +21500,7 @@ function requireConnection () {
21469
21500
  constructor() {
21470
21501
  }
21471
21502
  }
21472
- exports$1.ProgressType = ProgressType;
21503
+ exports.ProgressType = ProgressType;
21473
21504
  var StarRequestHandler;
21474
21505
  (function (StarRequestHandler) {
21475
21506
  function is(value) {
@@ -21477,7 +21508,7 @@ function requireConnection () {
21477
21508
  }
21478
21509
  StarRequestHandler.is = is;
21479
21510
  })(StarRequestHandler || (StarRequestHandler = {}));
21480
- exports$1.NullLogger = Object.freeze({
21511
+ exports.NullLogger = Object.freeze({
21481
21512
  error: () => { },
21482
21513
  warn: () => { },
21483
21514
  info: () => { },
@@ -21489,7 +21520,7 @@ function requireConnection () {
21489
21520
  Trace[Trace["Messages"] = 1] = "Messages";
21490
21521
  Trace[Trace["Compact"] = 2] = "Compact";
21491
21522
  Trace[Trace["Verbose"] = 3] = "Verbose";
21492
- })(Trace || (exports$1.Trace = Trace = {}));
21523
+ })(Trace || (exports.Trace = Trace = {}));
21493
21524
  var TraceValues;
21494
21525
  (function (TraceValues) {
21495
21526
  /**
@@ -21508,7 +21539,7 @@ function requireConnection () {
21508
21539
  * Verbose message tracing.
21509
21540
  */
21510
21541
  TraceValues.Verbose = 'verbose';
21511
- })(TraceValues || (exports$1.TraceValues = TraceValues = {}));
21542
+ })(TraceValues || (exports.TraceValues = TraceValues = {}));
21512
21543
  (function (Trace) {
21513
21544
  function fromString(value) {
21514
21545
  if (!Is.string(value)) {
@@ -21544,12 +21575,12 @@ function requireConnection () {
21544
21575
  }
21545
21576
  }
21546
21577
  Trace.toString = toString;
21547
- })(Trace || (exports$1.Trace = Trace = {}));
21578
+ })(Trace || (exports.Trace = Trace = {}));
21548
21579
  var TraceFormat;
21549
21580
  (function (TraceFormat) {
21550
21581
  TraceFormat["Text"] = "text";
21551
21582
  TraceFormat["JSON"] = "json";
21552
- })(TraceFormat || (exports$1.TraceFormat = TraceFormat = {}));
21583
+ })(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
21553
21584
  (function (TraceFormat) {
21554
21585
  function fromString(value) {
21555
21586
  if (!Is.string(value)) {
@@ -21564,15 +21595,15 @@ function requireConnection () {
21564
21595
  }
21565
21596
  }
21566
21597
  TraceFormat.fromString = fromString;
21567
- })(TraceFormat || (exports$1.TraceFormat = TraceFormat = {}));
21598
+ })(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
21568
21599
  var SetTraceNotification;
21569
21600
  (function (SetTraceNotification) {
21570
21601
  SetTraceNotification.type = new messages_1.NotificationType('$/setTrace');
21571
- })(SetTraceNotification || (exports$1.SetTraceNotification = SetTraceNotification = {}));
21602
+ })(SetTraceNotification || (exports.SetTraceNotification = SetTraceNotification = {}));
21572
21603
  var LogTraceNotification;
21573
21604
  (function (LogTraceNotification) {
21574
21605
  LogTraceNotification.type = new messages_1.NotificationType('$/logTrace');
21575
- })(LogTraceNotification || (exports$1.LogTraceNotification = LogTraceNotification = {}));
21606
+ })(LogTraceNotification || (exports.LogTraceNotification = LogTraceNotification = {}));
21576
21607
  var ConnectionErrors;
21577
21608
  (function (ConnectionErrors) {
21578
21609
  /**
@@ -21587,7 +21618,7 @@ function requireConnection () {
21587
21618
  * The connection is already in listening mode.
21588
21619
  */
21589
21620
  ConnectionErrors[ConnectionErrors["AlreadyListening"] = 3] = "AlreadyListening";
21590
- })(ConnectionErrors || (exports$1.ConnectionErrors = ConnectionErrors = {}));
21621
+ })(ConnectionErrors || (exports.ConnectionErrors = ConnectionErrors = {}));
21591
21622
  class ConnectionError extends Error {
21592
21623
  constructor(code, message) {
21593
21624
  super(message);
@@ -21595,7 +21626,7 @@ function requireConnection () {
21595
21626
  Object.setPrototypeOf(this, ConnectionError.prototype);
21596
21627
  }
21597
21628
  }
21598
- exports$1.ConnectionError = ConnectionError;
21629
+ exports.ConnectionError = ConnectionError;
21599
21630
  var ConnectionStrategy;
21600
21631
  (function (ConnectionStrategy) {
21601
21632
  function is(value) {
@@ -21603,7 +21634,7 @@ function requireConnection () {
21603
21634
  return candidate && Is.func(candidate.cancelUndispatched);
21604
21635
  }
21605
21636
  ConnectionStrategy.is = is;
21606
- })(ConnectionStrategy || (exports$1.ConnectionStrategy = ConnectionStrategy = {}));
21637
+ })(ConnectionStrategy || (exports.ConnectionStrategy = ConnectionStrategy = {}));
21607
21638
  var IdCancellationReceiverStrategy;
21608
21639
  (function (IdCancellationReceiverStrategy) {
21609
21640
  function is(value) {
@@ -21611,7 +21642,7 @@ function requireConnection () {
21611
21642
  return candidate && (candidate.kind === undefined || candidate.kind === 'id') && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
21612
21643
  }
21613
21644
  IdCancellationReceiverStrategy.is = is;
21614
- })(IdCancellationReceiverStrategy || (exports$1.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
21645
+ })(IdCancellationReceiverStrategy || (exports.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
21615
21646
  var RequestCancellationReceiverStrategy;
21616
21647
  (function (RequestCancellationReceiverStrategy) {
21617
21648
  function is(value) {
@@ -21619,7 +21650,7 @@ function requireConnection () {
21619
21650
  return candidate && candidate.kind === 'request' && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
21620
21651
  }
21621
21652
  RequestCancellationReceiverStrategy.is = is;
21622
- })(RequestCancellationReceiverStrategy || (exports$1.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
21653
+ })(RequestCancellationReceiverStrategy || (exports.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
21623
21654
  var CancellationReceiverStrategy;
21624
21655
  (function (CancellationReceiverStrategy) {
21625
21656
  CancellationReceiverStrategy.Message = Object.freeze({
@@ -21631,7 +21662,7 @@ function requireConnection () {
21631
21662
  return IdCancellationReceiverStrategy.is(value) || RequestCancellationReceiverStrategy.is(value);
21632
21663
  }
21633
21664
  CancellationReceiverStrategy.is = is;
21634
- })(CancellationReceiverStrategy || (exports$1.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
21665
+ })(CancellationReceiverStrategy || (exports.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
21635
21666
  var CancellationSenderStrategy;
21636
21667
  (function (CancellationSenderStrategy) {
21637
21668
  CancellationSenderStrategy.Message = Object.freeze({
@@ -21645,7 +21676,7 @@ function requireConnection () {
21645
21676
  return candidate && Is.func(candidate.sendCancellation) && Is.func(candidate.cleanup);
21646
21677
  }
21647
21678
  CancellationSenderStrategy.is = is;
21648
- })(CancellationSenderStrategy || (exports$1.CancellationSenderStrategy = CancellationSenderStrategy = {}));
21679
+ })(CancellationSenderStrategy || (exports.CancellationSenderStrategy = CancellationSenderStrategy = {}));
21649
21680
  var CancellationStrategy;
21650
21681
  (function (CancellationStrategy) {
21651
21682
  CancellationStrategy.Message = Object.freeze({
@@ -21657,7 +21688,7 @@ function requireConnection () {
21657
21688
  return candidate && CancellationReceiverStrategy.is(candidate.receiver) && CancellationSenderStrategy.is(candidate.sender);
21658
21689
  }
21659
21690
  CancellationStrategy.is = is;
21660
- })(CancellationStrategy || (exports$1.CancellationStrategy = CancellationStrategy = {}));
21691
+ })(CancellationStrategy || (exports.CancellationStrategy = CancellationStrategy = {}));
21661
21692
  var MessageStrategy;
21662
21693
  (function (MessageStrategy) {
21663
21694
  function is(value) {
@@ -21665,7 +21696,7 @@ function requireConnection () {
21665
21696
  return candidate && Is.func(candidate.handleMessage);
21666
21697
  }
21667
21698
  MessageStrategy.is = is;
21668
- })(MessageStrategy || (exports$1.MessageStrategy = MessageStrategy = {}));
21699
+ })(MessageStrategy || (exports.MessageStrategy = MessageStrategy = {}));
21669
21700
  var ConnectionOptions;
21670
21701
  (function (ConnectionOptions) {
21671
21702
  function is(value) {
@@ -21673,7 +21704,7 @@ function requireConnection () {
21673
21704
  return candidate && (CancellationStrategy.is(candidate.cancellationStrategy) || ConnectionStrategy.is(candidate.connectionStrategy) || MessageStrategy.is(candidate.messageStrategy));
21674
21705
  }
21675
21706
  ConnectionOptions.is = is;
21676
- })(ConnectionOptions || (exports$1.ConnectionOptions = ConnectionOptions = {}));
21707
+ })(ConnectionOptions || (exports.ConnectionOptions = ConnectionOptions = {}));
21677
21708
  var ConnectionState;
21678
21709
  (function (ConnectionState) {
21679
21710
  ConnectionState[ConnectionState["New"] = 1] = "New";
@@ -21682,7 +21713,7 @@ function requireConnection () {
21682
21713
  ConnectionState[ConnectionState["Disposed"] = 4] = "Disposed";
21683
21714
  })(ConnectionState || (ConnectionState = {}));
21684
21715
  function createMessageConnection(messageReader, messageWriter, _logger, options) {
21685
- const logger = _logger !== undefined ? _logger : exports$1.NullLogger;
21716
+ const logger = _logger !== undefined ? _logger : exports.NullLogger;
21686
21717
  let sequenceNumber = 0;
21687
21718
  let notificationSequenceNumber = 0;
21688
21719
  let unknownResponseSequenceNumber = 0;
@@ -22650,7 +22681,7 @@ function requireConnection () {
22650
22681
  });
22651
22682
  return connection;
22652
22683
  }
22653
- exports$1.createMessageConnection = createMessageConnection;
22684
+ exports.createMessageConnection = createMessageConnection;
22654
22685
  } (connection));
22655
22686
  return connection;
22656
22687
  }
@@ -22660,87 +22691,87 @@ var hasRequiredApi;
22660
22691
  function requireApi () {
22661
22692
  if (hasRequiredApi) return api;
22662
22693
  hasRequiredApi = 1;
22663
- (function (exports$1) {
22694
+ (function (exports) {
22664
22695
  /* --------------------------------------------------------------------------------------------
22665
22696
  * Copyright (c) Microsoft Corporation. All rights reserved.
22666
22697
  * Licensed under the MIT License. See License.txt in the project root for license information.
22667
22698
  * ------------------------------------------------------------------------------------------ */
22668
22699
  /// <reference path="../../typings/thenable.d.ts" />
22669
- Object.defineProperty(exports$1, "__esModule", { value: true });
22670
- exports$1.ProgressType = exports$1.ProgressToken = exports$1.createMessageConnection = exports$1.NullLogger = exports$1.ConnectionOptions = exports$1.ConnectionStrategy = exports$1.AbstractMessageBuffer = exports$1.WriteableStreamMessageWriter = exports$1.AbstractMessageWriter = exports$1.MessageWriter = exports$1.ReadableStreamMessageReader = exports$1.AbstractMessageReader = exports$1.MessageReader = exports$1.SharedArrayReceiverStrategy = exports$1.SharedArraySenderStrategy = exports$1.CancellationToken = exports$1.CancellationTokenSource = exports$1.Emitter = exports$1.Event = exports$1.Disposable = exports$1.LRUCache = exports$1.Touch = exports$1.LinkedMap = exports$1.ParameterStructures = exports$1.NotificationType9 = exports$1.NotificationType8 = exports$1.NotificationType7 = exports$1.NotificationType6 = exports$1.NotificationType5 = exports$1.NotificationType4 = exports$1.NotificationType3 = exports$1.NotificationType2 = exports$1.NotificationType1 = exports$1.NotificationType0 = exports$1.NotificationType = exports$1.ErrorCodes = exports$1.ResponseError = exports$1.RequestType9 = exports$1.RequestType8 = exports$1.RequestType7 = exports$1.RequestType6 = exports$1.RequestType5 = exports$1.RequestType4 = exports$1.RequestType3 = exports$1.RequestType2 = exports$1.RequestType1 = exports$1.RequestType0 = exports$1.RequestType = exports$1.Message = exports$1.RAL = void 0;
22671
- exports$1.MessageStrategy = exports$1.CancellationStrategy = exports$1.CancellationSenderStrategy = exports$1.CancellationReceiverStrategy = exports$1.ConnectionError = exports$1.ConnectionErrors = exports$1.LogTraceNotification = exports$1.SetTraceNotification = exports$1.TraceFormat = exports$1.TraceValues = exports$1.Trace = void 0;
22700
+ Object.defineProperty(exports, "__esModule", { value: true });
22701
+ exports.ProgressType = exports.ProgressToken = exports.createMessageConnection = exports.NullLogger = exports.ConnectionOptions = exports.ConnectionStrategy = exports.AbstractMessageBuffer = exports.WriteableStreamMessageWriter = exports.AbstractMessageWriter = exports.MessageWriter = exports.ReadableStreamMessageReader = exports.AbstractMessageReader = exports.MessageReader = exports.SharedArrayReceiverStrategy = exports.SharedArraySenderStrategy = exports.CancellationToken = exports.CancellationTokenSource = exports.Emitter = exports.Event = exports.Disposable = exports.LRUCache = exports.Touch = exports.LinkedMap = exports.ParameterStructures = exports.NotificationType9 = exports.NotificationType8 = exports.NotificationType7 = exports.NotificationType6 = exports.NotificationType5 = exports.NotificationType4 = exports.NotificationType3 = exports.NotificationType2 = exports.NotificationType1 = exports.NotificationType0 = exports.NotificationType = exports.ErrorCodes = exports.ResponseError = exports.RequestType9 = exports.RequestType8 = exports.RequestType7 = exports.RequestType6 = exports.RequestType5 = exports.RequestType4 = exports.RequestType3 = exports.RequestType2 = exports.RequestType1 = exports.RequestType0 = exports.RequestType = exports.Message = exports.RAL = void 0;
22702
+ exports.MessageStrategy = exports.CancellationStrategy = exports.CancellationSenderStrategy = exports.CancellationReceiverStrategy = exports.ConnectionError = exports.ConnectionErrors = exports.LogTraceNotification = exports.SetTraceNotification = exports.TraceFormat = exports.TraceValues = exports.Trace = void 0;
22672
22703
  const messages_1 = requireMessages();
22673
- Object.defineProperty(exports$1, "Message", { enumerable: true, get: function () { return messages_1.Message; } });
22674
- Object.defineProperty(exports$1, "RequestType", { enumerable: true, get: function () { return messages_1.RequestType; } });
22675
- Object.defineProperty(exports$1, "RequestType0", { enumerable: true, get: function () { return messages_1.RequestType0; } });
22676
- Object.defineProperty(exports$1, "RequestType1", { enumerable: true, get: function () { return messages_1.RequestType1; } });
22677
- Object.defineProperty(exports$1, "RequestType2", { enumerable: true, get: function () { return messages_1.RequestType2; } });
22678
- Object.defineProperty(exports$1, "RequestType3", { enumerable: true, get: function () { return messages_1.RequestType3; } });
22679
- Object.defineProperty(exports$1, "RequestType4", { enumerable: true, get: function () { return messages_1.RequestType4; } });
22680
- Object.defineProperty(exports$1, "RequestType5", { enumerable: true, get: function () { return messages_1.RequestType5; } });
22681
- Object.defineProperty(exports$1, "RequestType6", { enumerable: true, get: function () { return messages_1.RequestType6; } });
22682
- Object.defineProperty(exports$1, "RequestType7", { enumerable: true, get: function () { return messages_1.RequestType7; } });
22683
- Object.defineProperty(exports$1, "RequestType8", { enumerable: true, get: function () { return messages_1.RequestType8; } });
22684
- Object.defineProperty(exports$1, "RequestType9", { enumerable: true, get: function () { return messages_1.RequestType9; } });
22685
- Object.defineProperty(exports$1, "ResponseError", { enumerable: true, get: function () { return messages_1.ResponseError; } });
22686
- Object.defineProperty(exports$1, "ErrorCodes", { enumerable: true, get: function () { return messages_1.ErrorCodes; } });
22687
- Object.defineProperty(exports$1, "NotificationType", { enumerable: true, get: function () { return messages_1.NotificationType; } });
22688
- Object.defineProperty(exports$1, "NotificationType0", { enumerable: true, get: function () { return messages_1.NotificationType0; } });
22689
- Object.defineProperty(exports$1, "NotificationType1", { enumerable: true, get: function () { return messages_1.NotificationType1; } });
22690
- Object.defineProperty(exports$1, "NotificationType2", { enumerable: true, get: function () { return messages_1.NotificationType2; } });
22691
- Object.defineProperty(exports$1, "NotificationType3", { enumerable: true, get: function () { return messages_1.NotificationType3; } });
22692
- Object.defineProperty(exports$1, "NotificationType4", { enumerable: true, get: function () { return messages_1.NotificationType4; } });
22693
- Object.defineProperty(exports$1, "NotificationType5", { enumerable: true, get: function () { return messages_1.NotificationType5; } });
22694
- Object.defineProperty(exports$1, "NotificationType6", { enumerable: true, get: function () { return messages_1.NotificationType6; } });
22695
- Object.defineProperty(exports$1, "NotificationType7", { enumerable: true, get: function () { return messages_1.NotificationType7; } });
22696
- Object.defineProperty(exports$1, "NotificationType8", { enumerable: true, get: function () { return messages_1.NotificationType8; } });
22697
- Object.defineProperty(exports$1, "NotificationType9", { enumerable: true, get: function () { return messages_1.NotificationType9; } });
22698
- Object.defineProperty(exports$1, "ParameterStructures", { enumerable: true, get: function () { return messages_1.ParameterStructures; } });
22704
+ Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return messages_1.Message; } });
22705
+ Object.defineProperty(exports, "RequestType", { enumerable: true, get: function () { return messages_1.RequestType; } });
22706
+ Object.defineProperty(exports, "RequestType0", { enumerable: true, get: function () { return messages_1.RequestType0; } });
22707
+ Object.defineProperty(exports, "RequestType1", { enumerable: true, get: function () { return messages_1.RequestType1; } });
22708
+ Object.defineProperty(exports, "RequestType2", { enumerable: true, get: function () { return messages_1.RequestType2; } });
22709
+ Object.defineProperty(exports, "RequestType3", { enumerable: true, get: function () { return messages_1.RequestType3; } });
22710
+ Object.defineProperty(exports, "RequestType4", { enumerable: true, get: function () { return messages_1.RequestType4; } });
22711
+ Object.defineProperty(exports, "RequestType5", { enumerable: true, get: function () { return messages_1.RequestType5; } });
22712
+ Object.defineProperty(exports, "RequestType6", { enumerable: true, get: function () { return messages_1.RequestType6; } });
22713
+ Object.defineProperty(exports, "RequestType7", { enumerable: true, get: function () { return messages_1.RequestType7; } });
22714
+ Object.defineProperty(exports, "RequestType8", { enumerable: true, get: function () { return messages_1.RequestType8; } });
22715
+ Object.defineProperty(exports, "RequestType9", { enumerable: true, get: function () { return messages_1.RequestType9; } });
22716
+ Object.defineProperty(exports, "ResponseError", { enumerable: true, get: function () { return messages_1.ResponseError; } });
22717
+ Object.defineProperty(exports, "ErrorCodes", { enumerable: true, get: function () { return messages_1.ErrorCodes; } });
22718
+ Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return messages_1.NotificationType; } });
22719
+ Object.defineProperty(exports, "NotificationType0", { enumerable: true, get: function () { return messages_1.NotificationType0; } });
22720
+ Object.defineProperty(exports, "NotificationType1", { enumerable: true, get: function () { return messages_1.NotificationType1; } });
22721
+ Object.defineProperty(exports, "NotificationType2", { enumerable: true, get: function () { return messages_1.NotificationType2; } });
22722
+ Object.defineProperty(exports, "NotificationType3", { enumerable: true, get: function () { return messages_1.NotificationType3; } });
22723
+ Object.defineProperty(exports, "NotificationType4", { enumerable: true, get: function () { return messages_1.NotificationType4; } });
22724
+ Object.defineProperty(exports, "NotificationType5", { enumerable: true, get: function () { return messages_1.NotificationType5; } });
22725
+ Object.defineProperty(exports, "NotificationType6", { enumerable: true, get: function () { return messages_1.NotificationType6; } });
22726
+ Object.defineProperty(exports, "NotificationType7", { enumerable: true, get: function () { return messages_1.NotificationType7; } });
22727
+ Object.defineProperty(exports, "NotificationType8", { enumerable: true, get: function () { return messages_1.NotificationType8; } });
22728
+ Object.defineProperty(exports, "NotificationType9", { enumerable: true, get: function () { return messages_1.NotificationType9; } });
22729
+ Object.defineProperty(exports, "ParameterStructures", { enumerable: true, get: function () { return messages_1.ParameterStructures; } });
22699
22730
  const linkedMap_1 = requireLinkedMap();
22700
- Object.defineProperty(exports$1, "LinkedMap", { enumerable: true, get: function () { return linkedMap_1.LinkedMap; } });
22701
- Object.defineProperty(exports$1, "LRUCache", { enumerable: true, get: function () { return linkedMap_1.LRUCache; } });
22702
- Object.defineProperty(exports$1, "Touch", { enumerable: true, get: function () { return linkedMap_1.Touch; } });
22731
+ Object.defineProperty(exports, "LinkedMap", { enumerable: true, get: function () { return linkedMap_1.LinkedMap; } });
22732
+ Object.defineProperty(exports, "LRUCache", { enumerable: true, get: function () { return linkedMap_1.LRUCache; } });
22733
+ Object.defineProperty(exports, "Touch", { enumerable: true, get: function () { return linkedMap_1.Touch; } });
22703
22734
  const disposable_1 = requireDisposable();
22704
- Object.defineProperty(exports$1, "Disposable", { enumerable: true, get: function () { return disposable_1.Disposable; } });
22735
+ Object.defineProperty(exports, "Disposable", { enumerable: true, get: function () { return disposable_1.Disposable; } });
22705
22736
  const events_1 = requireEvents();
22706
- Object.defineProperty(exports$1, "Event", { enumerable: true, get: function () { return events_1.Event; } });
22707
- Object.defineProperty(exports$1, "Emitter", { enumerable: true, get: function () { return events_1.Emitter; } });
22737
+ Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return events_1.Event; } });
22738
+ Object.defineProperty(exports, "Emitter", { enumerable: true, get: function () { return events_1.Emitter; } });
22708
22739
  const cancellation_1 = requireCancellation();
22709
- Object.defineProperty(exports$1, "CancellationTokenSource", { enumerable: true, get: function () { return cancellation_1.CancellationTokenSource; } });
22710
- Object.defineProperty(exports$1, "CancellationToken", { enumerable: true, get: function () { return cancellation_1.CancellationToken; } });
22740
+ Object.defineProperty(exports, "CancellationTokenSource", { enumerable: true, get: function () { return cancellation_1.CancellationTokenSource; } });
22741
+ Object.defineProperty(exports, "CancellationToken", { enumerable: true, get: function () { return cancellation_1.CancellationToken; } });
22711
22742
  const sharedArrayCancellation_1 = requireSharedArrayCancellation();
22712
- Object.defineProperty(exports$1, "SharedArraySenderStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArraySenderStrategy; } });
22713
- Object.defineProperty(exports$1, "SharedArrayReceiverStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArrayReceiverStrategy; } });
22743
+ Object.defineProperty(exports, "SharedArraySenderStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArraySenderStrategy; } });
22744
+ Object.defineProperty(exports, "SharedArrayReceiverStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArrayReceiverStrategy; } });
22714
22745
  const messageReader_1 = requireMessageReader();
22715
- Object.defineProperty(exports$1, "MessageReader", { enumerable: true, get: function () { return messageReader_1.MessageReader; } });
22716
- Object.defineProperty(exports$1, "AbstractMessageReader", { enumerable: true, get: function () { return messageReader_1.AbstractMessageReader; } });
22717
- Object.defineProperty(exports$1, "ReadableStreamMessageReader", { enumerable: true, get: function () { return messageReader_1.ReadableStreamMessageReader; } });
22746
+ Object.defineProperty(exports, "MessageReader", { enumerable: true, get: function () { return messageReader_1.MessageReader; } });
22747
+ Object.defineProperty(exports, "AbstractMessageReader", { enumerable: true, get: function () { return messageReader_1.AbstractMessageReader; } });
22748
+ Object.defineProperty(exports, "ReadableStreamMessageReader", { enumerable: true, get: function () { return messageReader_1.ReadableStreamMessageReader; } });
22718
22749
  const messageWriter_1 = requireMessageWriter();
22719
- Object.defineProperty(exports$1, "MessageWriter", { enumerable: true, get: function () { return messageWriter_1.MessageWriter; } });
22720
- Object.defineProperty(exports$1, "AbstractMessageWriter", { enumerable: true, get: function () { return messageWriter_1.AbstractMessageWriter; } });
22721
- Object.defineProperty(exports$1, "WriteableStreamMessageWriter", { enumerable: true, get: function () { return messageWriter_1.WriteableStreamMessageWriter; } });
22750
+ Object.defineProperty(exports, "MessageWriter", { enumerable: true, get: function () { return messageWriter_1.MessageWriter; } });
22751
+ Object.defineProperty(exports, "AbstractMessageWriter", { enumerable: true, get: function () { return messageWriter_1.AbstractMessageWriter; } });
22752
+ Object.defineProperty(exports, "WriteableStreamMessageWriter", { enumerable: true, get: function () { return messageWriter_1.WriteableStreamMessageWriter; } });
22722
22753
  const messageBuffer_1 = requireMessageBuffer();
22723
- Object.defineProperty(exports$1, "AbstractMessageBuffer", { enumerable: true, get: function () { return messageBuffer_1.AbstractMessageBuffer; } });
22754
+ Object.defineProperty(exports, "AbstractMessageBuffer", { enumerable: true, get: function () { return messageBuffer_1.AbstractMessageBuffer; } });
22724
22755
  const connection_1 = requireConnection();
22725
- Object.defineProperty(exports$1, "ConnectionStrategy", { enumerable: true, get: function () { return connection_1.ConnectionStrategy; } });
22726
- Object.defineProperty(exports$1, "ConnectionOptions", { enumerable: true, get: function () { return connection_1.ConnectionOptions; } });
22727
- Object.defineProperty(exports$1, "NullLogger", { enumerable: true, get: function () { return connection_1.NullLogger; } });
22728
- Object.defineProperty(exports$1, "createMessageConnection", { enumerable: true, get: function () { return connection_1.createMessageConnection; } });
22729
- Object.defineProperty(exports$1, "ProgressToken", { enumerable: true, get: function () { return connection_1.ProgressToken; } });
22730
- Object.defineProperty(exports$1, "ProgressType", { enumerable: true, get: function () { return connection_1.ProgressType; } });
22731
- Object.defineProperty(exports$1, "Trace", { enumerable: true, get: function () { return connection_1.Trace; } });
22732
- Object.defineProperty(exports$1, "TraceValues", { enumerable: true, get: function () { return connection_1.TraceValues; } });
22733
- Object.defineProperty(exports$1, "TraceFormat", { enumerable: true, get: function () { return connection_1.TraceFormat; } });
22734
- Object.defineProperty(exports$1, "SetTraceNotification", { enumerable: true, get: function () { return connection_1.SetTraceNotification; } });
22735
- Object.defineProperty(exports$1, "LogTraceNotification", { enumerable: true, get: function () { return connection_1.LogTraceNotification; } });
22736
- Object.defineProperty(exports$1, "ConnectionErrors", { enumerable: true, get: function () { return connection_1.ConnectionErrors; } });
22737
- Object.defineProperty(exports$1, "ConnectionError", { enumerable: true, get: function () { return connection_1.ConnectionError; } });
22738
- Object.defineProperty(exports$1, "CancellationReceiverStrategy", { enumerable: true, get: function () { return connection_1.CancellationReceiverStrategy; } });
22739
- Object.defineProperty(exports$1, "CancellationSenderStrategy", { enumerable: true, get: function () { return connection_1.CancellationSenderStrategy; } });
22740
- Object.defineProperty(exports$1, "CancellationStrategy", { enumerable: true, get: function () { return connection_1.CancellationStrategy; } });
22741
- Object.defineProperty(exports$1, "MessageStrategy", { enumerable: true, get: function () { return connection_1.MessageStrategy; } });
22756
+ Object.defineProperty(exports, "ConnectionStrategy", { enumerable: true, get: function () { return connection_1.ConnectionStrategy; } });
22757
+ Object.defineProperty(exports, "ConnectionOptions", { enumerable: true, get: function () { return connection_1.ConnectionOptions; } });
22758
+ Object.defineProperty(exports, "NullLogger", { enumerable: true, get: function () { return connection_1.NullLogger; } });
22759
+ Object.defineProperty(exports, "createMessageConnection", { enumerable: true, get: function () { return connection_1.createMessageConnection; } });
22760
+ Object.defineProperty(exports, "ProgressToken", { enumerable: true, get: function () { return connection_1.ProgressToken; } });
22761
+ Object.defineProperty(exports, "ProgressType", { enumerable: true, get: function () { return connection_1.ProgressType; } });
22762
+ Object.defineProperty(exports, "Trace", { enumerable: true, get: function () { return connection_1.Trace; } });
22763
+ Object.defineProperty(exports, "TraceValues", { enumerable: true, get: function () { return connection_1.TraceValues; } });
22764
+ Object.defineProperty(exports, "TraceFormat", { enumerable: true, get: function () { return connection_1.TraceFormat; } });
22765
+ Object.defineProperty(exports, "SetTraceNotification", { enumerable: true, get: function () { return connection_1.SetTraceNotification; } });
22766
+ Object.defineProperty(exports, "LogTraceNotification", { enumerable: true, get: function () { return connection_1.LogTraceNotification; } });
22767
+ Object.defineProperty(exports, "ConnectionErrors", { enumerable: true, get: function () { return connection_1.ConnectionErrors; } });
22768
+ Object.defineProperty(exports, "ConnectionError", { enumerable: true, get: function () { return connection_1.ConnectionError; } });
22769
+ Object.defineProperty(exports, "CancellationReceiverStrategy", { enumerable: true, get: function () { return connection_1.CancellationReceiverStrategy; } });
22770
+ Object.defineProperty(exports, "CancellationSenderStrategy", { enumerable: true, get: function () { return connection_1.CancellationSenderStrategy; } });
22771
+ Object.defineProperty(exports, "CancellationStrategy", { enumerable: true, get: function () { return connection_1.CancellationStrategy; } });
22772
+ Object.defineProperty(exports, "MessageStrategy", { enumerable: true, get: function () { return connection_1.MessageStrategy; } });
22742
22773
  const ral_1 = requireRal();
22743
- exports$1.RAL = ral_1.default;
22774
+ exports.RAL = ral_1.default;
22744
22775
  } (api));
22745
22776
  return api;
22746
22777
  }
@@ -22918,7 +22949,7 @@ var hasRequiredMain;
22918
22949
  function requireMain () {
22919
22950
  if (hasRequiredMain) return main;
22920
22951
  hasRequiredMain = 1;
22921
- (function (exports$1) {
22952
+ (function (exports) {
22922
22953
  var __createBinding = (main && main.__createBinding) || (Object.create ? (function(o, m, k, k2) {
22923
22954
  if (k2 === undefined) k2 = k;
22924
22955
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -22930,11 +22961,11 @@ function requireMain () {
22930
22961
  if (k2 === undefined) k2 = k;
22931
22962
  o[k2] = m[k];
22932
22963
  }));
22933
- var __exportStar = (main && main.__exportStar) || function(m, exports$1) {
22934
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);
22964
+ var __exportStar = (main && main.__exportStar) || function(m, exports) {
22965
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
22935
22966
  };
22936
- Object.defineProperty(exports$1, "__esModule", { value: true });
22937
- exports$1.createMessageConnection = exports$1.createServerSocketTransport = exports$1.createClientSocketTransport = exports$1.createServerPipeTransport = exports$1.createClientPipeTransport = exports$1.generateRandomPipeName = exports$1.StreamMessageWriter = exports$1.StreamMessageReader = exports$1.SocketMessageWriter = exports$1.SocketMessageReader = exports$1.PortMessageWriter = exports$1.PortMessageReader = exports$1.IPCMessageWriter = exports$1.IPCMessageReader = void 0;
22967
+ Object.defineProperty(exports, "__esModule", { value: true });
22968
+ exports.createMessageConnection = exports.createServerSocketTransport = exports.createClientSocketTransport = exports.createServerPipeTransport = exports.createClientPipeTransport = exports.generateRandomPipeName = exports.StreamMessageWriter = exports.StreamMessageReader = exports.SocketMessageWriter = exports.SocketMessageReader = exports.PortMessageWriter = exports.PortMessageReader = exports.IPCMessageWriter = exports.IPCMessageReader = void 0;
22938
22969
  /* --------------------------------------------------------------------------------------------
22939
22970
  * Copyright (c) Microsoft Corporation. All rights reserved.
22940
22971
  * Licensed under the MIT License. See License.txt in the project root for license information.
@@ -22947,7 +22978,7 @@ function requireMain () {
22947
22978
  const crypto_1 = require$$3__default;
22948
22979
  const net_1 = require$$4;
22949
22980
  const api_1 = requireApi();
22950
- __exportStar(requireApi(), exports$1);
22981
+ __exportStar(requireApi(), exports);
22951
22982
  class IPCMessageReader extends api_1.AbstractMessageReader {
22952
22983
  constructor(process) {
22953
22984
  super();
@@ -22961,7 +22992,7 @@ function requireMain () {
22961
22992
  return api_1.Disposable.create(() => this.process.off('message', callback));
22962
22993
  }
22963
22994
  }
22964
- exports$1.IPCMessageReader = IPCMessageReader;
22995
+ exports.IPCMessageReader = IPCMessageReader;
22965
22996
  class IPCMessageWriter extends api_1.AbstractMessageWriter {
22966
22997
  constructor(process) {
22967
22998
  super();
@@ -22998,7 +23029,7 @@ function requireMain () {
22998
23029
  end() {
22999
23030
  }
23000
23031
  }
23001
- exports$1.IPCMessageWriter = IPCMessageWriter;
23032
+ exports.IPCMessageWriter = IPCMessageWriter;
23002
23033
  class PortMessageReader extends api_1.AbstractMessageReader {
23003
23034
  constructor(port) {
23004
23035
  super();
@@ -23013,7 +23044,7 @@ function requireMain () {
23013
23044
  return this.onData.event(callback);
23014
23045
  }
23015
23046
  }
23016
- exports$1.PortMessageReader = PortMessageReader;
23047
+ exports.PortMessageReader = PortMessageReader;
23017
23048
  class PortMessageWriter extends api_1.AbstractMessageWriter {
23018
23049
  constructor(port) {
23019
23050
  super();
@@ -23039,13 +23070,13 @@ function requireMain () {
23039
23070
  end() {
23040
23071
  }
23041
23072
  }
23042
- exports$1.PortMessageWriter = PortMessageWriter;
23073
+ exports.PortMessageWriter = PortMessageWriter;
23043
23074
  class SocketMessageReader extends api_1.ReadableStreamMessageReader {
23044
23075
  constructor(socket, encoding = 'utf-8') {
23045
23076
  super((0, ril_1.default)().stream.asReadableStream(socket), encoding);
23046
23077
  }
23047
23078
  }
23048
- exports$1.SocketMessageReader = SocketMessageReader;
23079
+ exports.SocketMessageReader = SocketMessageReader;
23049
23080
  class SocketMessageWriter extends api_1.WriteableStreamMessageWriter {
23050
23081
  constructor(socket, options) {
23051
23082
  super((0, ril_1.default)().stream.asWritableStream(socket), options);
@@ -23056,19 +23087,19 @@ function requireMain () {
23056
23087
  this.socket.destroy();
23057
23088
  }
23058
23089
  }
23059
- exports$1.SocketMessageWriter = SocketMessageWriter;
23090
+ exports.SocketMessageWriter = SocketMessageWriter;
23060
23091
  class StreamMessageReader extends api_1.ReadableStreamMessageReader {
23061
23092
  constructor(readable, encoding) {
23062
23093
  super((0, ril_1.default)().stream.asReadableStream(readable), encoding);
23063
23094
  }
23064
23095
  }
23065
- exports$1.StreamMessageReader = StreamMessageReader;
23096
+ exports.StreamMessageReader = StreamMessageReader;
23066
23097
  class StreamMessageWriter extends api_1.WriteableStreamMessageWriter {
23067
23098
  constructor(writable, options) {
23068
23099
  super((0, ril_1.default)().stream.asWritableStream(writable), options);
23069
23100
  }
23070
23101
  }
23071
- exports$1.StreamMessageWriter = StreamMessageWriter;
23102
+ exports.StreamMessageWriter = StreamMessageWriter;
23072
23103
  const XDG_RUNTIME_DIR = process.env['XDG_RUNTIME_DIR'];
23073
23104
  const safeIpcPathLengths = new Map([
23074
23105
  ['linux', 107],
@@ -23092,7 +23123,7 @@ function requireMain () {
23092
23123
  }
23093
23124
  return result;
23094
23125
  }
23095
- exports$1.generateRandomPipeName = generateRandomPipeName;
23126
+ exports.generateRandomPipeName = generateRandomPipeName;
23096
23127
  function createClientPipeTransport(pipeName, encoding = 'utf-8') {
23097
23128
  let connectResolve;
23098
23129
  const connected = new Promise((resolve, _reject) => {
@@ -23115,7 +23146,7 @@ function requireMain () {
23115
23146
  });
23116
23147
  });
23117
23148
  }
23118
- exports$1.createClientPipeTransport = createClientPipeTransport;
23149
+ exports.createClientPipeTransport = createClientPipeTransport;
23119
23150
  function createServerPipeTransport(pipeName, encoding = 'utf-8') {
23120
23151
  const socket = (0, net_1.createConnection)(pipeName);
23121
23152
  return [
@@ -23123,7 +23154,7 @@ function requireMain () {
23123
23154
  new SocketMessageWriter(socket, encoding)
23124
23155
  ];
23125
23156
  }
23126
- exports$1.createServerPipeTransport = createServerPipeTransport;
23157
+ exports.createServerPipeTransport = createServerPipeTransport;
23127
23158
  function createClientSocketTransport(port, encoding = 'utf-8') {
23128
23159
  let connectResolve;
23129
23160
  const connected = new Promise((resolve, _reject) => {
@@ -23146,7 +23177,7 @@ function requireMain () {
23146
23177
  });
23147
23178
  });
23148
23179
  }
23149
- exports$1.createClientSocketTransport = createClientSocketTransport;
23180
+ exports.createClientSocketTransport = createClientSocketTransport;
23150
23181
  function createServerSocketTransport(port, encoding = 'utf-8') {
23151
23182
  const socket = (0, net_1.createConnection)(port, '127.0.0.1');
23152
23183
  return [
@@ -23154,7 +23185,7 @@ function requireMain () {
23154
23185
  new SocketMessageWriter(socket, encoding)
23155
23186
  ];
23156
23187
  }
23157
- exports$1.createServerSocketTransport = createServerSocketTransport;
23188
+ exports.createServerSocketTransport = createServerSocketTransport;
23158
23189
  function isReadableStream(value) {
23159
23190
  const candidate = value;
23160
23191
  return candidate.read !== undefined && candidate.addListener !== undefined;
@@ -23174,7 +23205,7 @@ function requireMain () {
23174
23205
  }
23175
23206
  return (0, api_1.createMessageConnection)(reader, writer, logger, options);
23176
23207
  }
23177
- exports$1.createMessageConnection = createMessageConnection;
23208
+ exports.createMessageConnection = createMessageConnection;
23178
23209
  } (main));
23179
23210
  return main;
23180
23211
  }
@@ -23482,5 +23513,5 @@ class PuyaOptions {
23482
23513
  }
23483
23514
  }
23484
23515
 
23485
- export { parseCliTemplateVar as $, ARC4ArrayType as A, ByteClass as B, ContractProxyGeneric as C, DynamicArrayGeneric as D, arc4AddressAlias as E, arc4BooleanType as F, arc4ByteAlias as G, arc4StringType as H, arc4StructBaseType as I, compileArc4Function as J, convertBytesFunction as K, decodeArc4Function as L, dynamicBytesType as M, encodeArc4Function as N, methodSelectorFunction as O, sizeOfFunction as P, uint8ArrayToHex as Q, hexToUint8Array as R, StaticArrayGeneric as S, TypedApplicationCallResponseGeneric as T, UFixedNxMGeneric as U, CompileOptions as V, TypeResolver as W, processInputPaths as X, registerPTypes as Y, typeRegistry as Z, defaultPuyaOptions as _, ARC4BoolClass as a, LocalsCoalescingStrategy as a0, PuyaService as a1, deserializeAndLog as a2, createTsProgram as a3, buildAwst as a4, validateAwst as a5, sleep as a6, DefaultMap as a7, relinquishThread as a8, ARC4EncodedType as b, ARC4InstanceType as c, ARC4StrClass as d, ARC4StructClass as e, ARC4StructType as f, ARC4TupleGeneric as g, ARC4TupleType as h, AddressClass as i, ContractProxyType as j, DynamicArrayType as k, DynamicBytesClass as l, StaticArrayType as m, StaticBytesGeneric as n, StaticBytesType as o, TypedApplicationCallResponseType as p, UFixedNxMType as q, UintN128Class as r, UintN16Class as s, UintN256Class as t, UintN32Class as u, UintN64Class as v, UintN8Class as w, UintNGeneric as x, UintNType as y, abiCallFunction as z };
23486
- //# sourceMappingURL=options-8bOJR8qx.js.map
23516
+ export { methodSelectorFunction as $, ARC4ArrayType as A, ByteClass as B, CompileOptions as C, DefaultMap as D, UintNGeneric as E, UintNType as F, abiCallFunction as G, arc4AddressAlias as H, arc4BooleanType as I, arc4ByteAlias as J, arc4StringType as K, LocalsCoalescingStrategy as L, arc4StructBaseType as M, buildAwst as N, compileArc4Function as O, PuyaService as P, convertBytesFunction as Q, createTsProgram as R, StaticArrayGeneric as S, TypeResolver as T, UFixedNxMGeneric as U, decodeArc4Function as V, defaultPuyaOptions as W, deserializeAndLog as X, dynamicBytesType as Y, encodeArc4Function as Z, hexToUint8Array as _, ARC4BoolClass as a, parseCliTemplateVar as a0, processInputPaths as a1, registerPTypes as a2, relinquishThread as a3, sizeOfFunction as a4, sleep as a5, typeRegistry as a6, uint8ArrayToHex as a7, validateAwst as a8, ARC4EncodedType as b, ARC4InstanceType as c, ARC4StrClass as d, ARC4StructClass as e, ARC4StructType as f, ARC4TupleGeneric as g, ARC4TupleType as h, AddressClass as i, ContractProxyGeneric as j, ContractProxyType as k, DynamicArrayGeneric as l, DynamicArrayType as m, DynamicBytesClass as n, StaticArrayType as o, StaticBytesGeneric as p, StaticBytesType as q, TypedApplicationCallResponseGeneric as r, TypedApplicationCallResponseType as s, UFixedNxMType as t, UintN128Class as u, UintN16Class as v, UintN256Class as w, UintN32Class as x, UintN64Class as y, UintN8Class as z };
23517
+ //# sourceMappingURL=options-CjaCG-jG.js.map