@algorandfoundation/puya-ts 1.2.0-beta.5 → 1.2.0-beta.7

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.
@@ -2750,7 +2750,7 @@ const IterableIteratorGeneric = new GenericPType({
2750
2750
  parameterise(typeArgs) {
2751
2751
  codeInvariant(typeArgs.length >= 1 && typeArgs.length <= 3, 'IterableIterator type expects 1-3 type parameters');
2752
2752
  // Currently ignoring return and next types
2753
- const [yieldType, _returnType, _nextType] = typeArgs;
2753
+ const [yieldType] = typeArgs;
2754
2754
  return new IterableIteratorType({
2755
2755
  itemType: yieldType,
2756
2756
  });
@@ -7685,19 +7685,6 @@ let TypeResolver = (() => {
7685
7685
  }
7686
7686
  resolveType(tsType, sourceLocation) {
7687
7687
  const typeName = this.getTypeName(tsType, sourceLocation);
7688
- intersect: if (isIntersectionType(tsType)) {
7689
- if (tsType.aliasSymbol) {
7690
- break intersect;
7691
- }
7692
- // Special handling of struct and mutable object base types which are an intersection of `StructBase` or `MutableObjectBase` and the generic `T` type
7693
- const parts = tsType.types.map((t) => this.resolveType(t, sourceLocation));
7694
- if (parts.some((p) => p.equals(arc4StructBaseType))) {
7695
- return arc4StructBaseType;
7696
- }
7697
- else {
7698
- return IntersectionPType.fromTypes(parts);
7699
- }
7700
- }
7701
7688
  if (isUnionType(tsType)) {
7702
7689
  const ut = UnionPType.fromTypes(tsType.types.map((t) => this.resolveType(t, sourceLocation)));
7703
7690
  if (ut instanceof UnionPType) {
@@ -7770,34 +7757,46 @@ let TypeResolver = (() => {
7770
7757
  if (isInstantiationExpression(tsType)) {
7771
7758
  return this.resolve(tsType.node.expression, sourceLocation);
7772
7759
  }
7773
- invariant(typeName, 'Non builtin type must have a name', sourceLocation);
7774
- if (typeName.name === '__type' && typeName.module.startsWith(Constants.algoTsPackage)) {
7775
- // We are likely dealing with `typeof X` where X is a singleton exported by algo-ts
7776
- const declarationNode = tsType.symbol.getDeclarations()?.[0]?.parent;
7777
- if (declarationNode && ts.isVariableDeclaration(declarationNode)) {
7778
- return this.resolve(declarationNode.name, sourceLocation);
7760
+ if (typeName) {
7761
+ if (typeName.name === '__type' && typeName.module.startsWith(Constants.algoTsPackage)) {
7762
+ // We are likely dealing with `typeof X` where X is a singleton exported by algo-ts
7763
+ const declarationNode = tsType.symbol.getDeclarations()?.[0]?.parent;
7764
+ if (declarationNode && ts.isVariableDeclaration(declarationNode)) {
7765
+ return this.resolve(declarationNode.name, sourceLocation);
7766
+ }
7767
+ }
7768
+ switch (typeName.fullName) {
7769
+ case arc4StructBaseType.fullName:
7770
+ return arc4StructBaseType;
7771
+ case ClusteredPrototype.fullName:
7772
+ return this.resolveClusteredPrototype(tsType, sourceLocation);
7773
+ }
7774
+ const typeArgs = this.tryResolveGenericTypeArgs(tsType, sourceLocation);
7775
+ if (typeArgs?.length) {
7776
+ const gt = typeRegistry.tryResolveGenericPType(typeName, typeArgs);
7777
+ if (gt)
7778
+ return gt;
7779
+ }
7780
+ else {
7781
+ const it = typeRegistry.tryResolveInstancePType(typeName);
7782
+ if (it)
7783
+ return it;
7784
+ }
7785
+ if (typeName.module.startsWith('typescript/lib')) {
7786
+ throw new CodeError(`${typeName.name} is not supported`, { sourceLocation });
7779
7787
  }
7780
7788
  }
7781
- switch (typeName.fullName) {
7782
- case arc4StructBaseType.fullName:
7789
+ if (isIntersectionType(tsType)) {
7790
+ // Special handling of struct and mutable object base types which are an intersection of `StructBase` or `MutableObjectBase` and the generic `T` type
7791
+ const parts = tsType.types.map((t) => this.resolveType(t, sourceLocation));
7792
+ if (parts.some((p) => p.equals(arc4StructBaseType))) {
7783
7793
  return arc4StructBaseType;
7784
- case ClusteredPrototype.fullName:
7785
- return this.resolveClusteredPrototype(tsType, sourceLocation);
7786
- }
7787
- const typeArgs = this.tryResolveGenericTypeArgs(tsType, sourceLocation);
7788
- if (typeArgs?.length) {
7789
- const gt = typeRegistry.tryResolveGenericPType(typeName, typeArgs);
7790
- if (gt)
7791
- return gt;
7792
- }
7793
- else {
7794
- const it = typeRegistry.tryResolveInstancePType(typeName);
7795
- if (it)
7796
- return it;
7797
- }
7798
- if (typeName.module.startsWith('typescript/lib')) {
7799
- throw new CodeError(`${typeName.name} is not supported`, { sourceLocation });
7794
+ }
7795
+ else {
7796
+ return IntersectionPType.fromTypes(parts);
7797
+ }
7800
7798
  }
7799
+ invariant(typeName, 'Non builtin type must have a name', sourceLocation);
7801
7800
  if (tsType.getConstructSignatures().length) {
7802
7801
  return this.reflectConstructorType(tsType, sourceLocation);
7803
7802
  }
@@ -27188,13 +27187,13 @@ var hasRequiredConnection;
27188
27187
  function requireConnection () {
27189
27188
  if (hasRequiredConnection) return connection;
27190
27189
  hasRequiredConnection = 1;
27191
- (function (exports) {
27190
+ (function (exports$1) {
27192
27191
  /* --------------------------------------------------------------------------------------------
27193
27192
  * Copyright (c) Microsoft Corporation. All rights reserved.
27194
27193
  * Licensed under the MIT License. See License.txt in the project root for license information.
27195
27194
  * ------------------------------------------------------------------------------------------ */
27196
- Object.defineProperty(exports, "__esModule", { value: true });
27197
- 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;
27195
+ Object.defineProperty(exports$1, "__esModule", { value: true });
27196
+ 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;
27198
27197
  const ral_1 = requireRal();
27199
27198
  const Is = requireIs();
27200
27199
  const messages_1 = requireMessages();
@@ -27211,7 +27210,7 @@ function requireConnection () {
27211
27210
  return typeof value === 'string' || typeof value === 'number';
27212
27211
  }
27213
27212
  ProgressToken.is = is;
27214
- })(ProgressToken || (exports.ProgressToken = ProgressToken = {}));
27213
+ })(ProgressToken || (exports$1.ProgressToken = ProgressToken = {}));
27215
27214
  var ProgressNotification;
27216
27215
  (function (ProgressNotification) {
27217
27216
  ProgressNotification.type = new messages_1.NotificationType('$/progress');
@@ -27220,7 +27219,7 @@ function requireConnection () {
27220
27219
  constructor() {
27221
27220
  }
27222
27221
  }
27223
- exports.ProgressType = ProgressType;
27222
+ exports$1.ProgressType = ProgressType;
27224
27223
  var StarRequestHandler;
27225
27224
  (function (StarRequestHandler) {
27226
27225
  function is(value) {
@@ -27228,7 +27227,7 @@ function requireConnection () {
27228
27227
  }
27229
27228
  StarRequestHandler.is = is;
27230
27229
  })(StarRequestHandler || (StarRequestHandler = {}));
27231
- exports.NullLogger = Object.freeze({
27230
+ exports$1.NullLogger = Object.freeze({
27232
27231
  error: () => { },
27233
27232
  warn: () => { },
27234
27233
  info: () => { },
@@ -27240,7 +27239,7 @@ function requireConnection () {
27240
27239
  Trace[Trace["Messages"] = 1] = "Messages";
27241
27240
  Trace[Trace["Compact"] = 2] = "Compact";
27242
27241
  Trace[Trace["Verbose"] = 3] = "Verbose";
27243
- })(Trace || (exports.Trace = Trace = {}));
27242
+ })(Trace || (exports$1.Trace = Trace = {}));
27244
27243
  var TraceValues;
27245
27244
  (function (TraceValues) {
27246
27245
  /**
@@ -27259,7 +27258,7 @@ function requireConnection () {
27259
27258
  * Verbose message tracing.
27260
27259
  */
27261
27260
  TraceValues.Verbose = 'verbose';
27262
- })(TraceValues || (exports.TraceValues = TraceValues = {}));
27261
+ })(TraceValues || (exports$1.TraceValues = TraceValues = {}));
27263
27262
  (function (Trace) {
27264
27263
  function fromString(value) {
27265
27264
  if (!Is.string(value)) {
@@ -27295,12 +27294,12 @@ function requireConnection () {
27295
27294
  }
27296
27295
  }
27297
27296
  Trace.toString = toString;
27298
- })(Trace || (exports.Trace = Trace = {}));
27297
+ })(Trace || (exports$1.Trace = Trace = {}));
27299
27298
  var TraceFormat;
27300
27299
  (function (TraceFormat) {
27301
27300
  TraceFormat["Text"] = "text";
27302
27301
  TraceFormat["JSON"] = "json";
27303
- })(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
27302
+ })(TraceFormat || (exports$1.TraceFormat = TraceFormat = {}));
27304
27303
  (function (TraceFormat) {
27305
27304
  function fromString(value) {
27306
27305
  if (!Is.string(value)) {
@@ -27315,15 +27314,15 @@ function requireConnection () {
27315
27314
  }
27316
27315
  }
27317
27316
  TraceFormat.fromString = fromString;
27318
- })(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
27317
+ })(TraceFormat || (exports$1.TraceFormat = TraceFormat = {}));
27319
27318
  var SetTraceNotification;
27320
27319
  (function (SetTraceNotification) {
27321
27320
  SetTraceNotification.type = new messages_1.NotificationType('$/setTrace');
27322
- })(SetTraceNotification || (exports.SetTraceNotification = SetTraceNotification = {}));
27321
+ })(SetTraceNotification || (exports$1.SetTraceNotification = SetTraceNotification = {}));
27323
27322
  var LogTraceNotification;
27324
27323
  (function (LogTraceNotification) {
27325
27324
  LogTraceNotification.type = new messages_1.NotificationType('$/logTrace');
27326
- })(LogTraceNotification || (exports.LogTraceNotification = LogTraceNotification = {}));
27325
+ })(LogTraceNotification || (exports$1.LogTraceNotification = LogTraceNotification = {}));
27327
27326
  var ConnectionErrors;
27328
27327
  (function (ConnectionErrors) {
27329
27328
  /**
@@ -27338,7 +27337,7 @@ function requireConnection () {
27338
27337
  * The connection is already in listening mode.
27339
27338
  */
27340
27339
  ConnectionErrors[ConnectionErrors["AlreadyListening"] = 3] = "AlreadyListening";
27341
- })(ConnectionErrors || (exports.ConnectionErrors = ConnectionErrors = {}));
27340
+ })(ConnectionErrors || (exports$1.ConnectionErrors = ConnectionErrors = {}));
27342
27341
  class ConnectionError extends Error {
27343
27342
  constructor(code, message) {
27344
27343
  super(message);
@@ -27346,7 +27345,7 @@ function requireConnection () {
27346
27345
  Object.setPrototypeOf(this, ConnectionError.prototype);
27347
27346
  }
27348
27347
  }
27349
- exports.ConnectionError = ConnectionError;
27348
+ exports$1.ConnectionError = ConnectionError;
27350
27349
  var ConnectionStrategy;
27351
27350
  (function (ConnectionStrategy) {
27352
27351
  function is(value) {
@@ -27354,7 +27353,7 @@ function requireConnection () {
27354
27353
  return candidate && Is.func(candidate.cancelUndispatched);
27355
27354
  }
27356
27355
  ConnectionStrategy.is = is;
27357
- })(ConnectionStrategy || (exports.ConnectionStrategy = ConnectionStrategy = {}));
27356
+ })(ConnectionStrategy || (exports$1.ConnectionStrategy = ConnectionStrategy = {}));
27358
27357
  var IdCancellationReceiverStrategy;
27359
27358
  (function (IdCancellationReceiverStrategy) {
27360
27359
  function is(value) {
@@ -27362,7 +27361,7 @@ function requireConnection () {
27362
27361
  return candidate && (candidate.kind === undefined || candidate.kind === 'id') && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
27363
27362
  }
27364
27363
  IdCancellationReceiverStrategy.is = is;
27365
- })(IdCancellationReceiverStrategy || (exports.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
27364
+ })(IdCancellationReceiverStrategy || (exports$1.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
27366
27365
  var RequestCancellationReceiverStrategy;
27367
27366
  (function (RequestCancellationReceiverStrategy) {
27368
27367
  function is(value) {
@@ -27370,7 +27369,7 @@ function requireConnection () {
27370
27369
  return candidate && candidate.kind === 'request' && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
27371
27370
  }
27372
27371
  RequestCancellationReceiverStrategy.is = is;
27373
- })(RequestCancellationReceiverStrategy || (exports.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
27372
+ })(RequestCancellationReceiverStrategy || (exports$1.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
27374
27373
  var CancellationReceiverStrategy;
27375
27374
  (function (CancellationReceiverStrategy) {
27376
27375
  CancellationReceiverStrategy.Message = Object.freeze({
@@ -27382,7 +27381,7 @@ function requireConnection () {
27382
27381
  return IdCancellationReceiverStrategy.is(value) || RequestCancellationReceiverStrategy.is(value);
27383
27382
  }
27384
27383
  CancellationReceiverStrategy.is = is;
27385
- })(CancellationReceiverStrategy || (exports.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
27384
+ })(CancellationReceiverStrategy || (exports$1.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
27386
27385
  var CancellationSenderStrategy;
27387
27386
  (function (CancellationSenderStrategy) {
27388
27387
  CancellationSenderStrategy.Message = Object.freeze({
@@ -27396,7 +27395,7 @@ function requireConnection () {
27396
27395
  return candidate && Is.func(candidate.sendCancellation) && Is.func(candidate.cleanup);
27397
27396
  }
27398
27397
  CancellationSenderStrategy.is = is;
27399
- })(CancellationSenderStrategy || (exports.CancellationSenderStrategy = CancellationSenderStrategy = {}));
27398
+ })(CancellationSenderStrategy || (exports$1.CancellationSenderStrategy = CancellationSenderStrategy = {}));
27400
27399
  var CancellationStrategy;
27401
27400
  (function (CancellationStrategy) {
27402
27401
  CancellationStrategy.Message = Object.freeze({
@@ -27408,7 +27407,7 @@ function requireConnection () {
27408
27407
  return candidate && CancellationReceiverStrategy.is(candidate.receiver) && CancellationSenderStrategy.is(candidate.sender);
27409
27408
  }
27410
27409
  CancellationStrategy.is = is;
27411
- })(CancellationStrategy || (exports.CancellationStrategy = CancellationStrategy = {}));
27410
+ })(CancellationStrategy || (exports$1.CancellationStrategy = CancellationStrategy = {}));
27412
27411
  var MessageStrategy;
27413
27412
  (function (MessageStrategy) {
27414
27413
  function is(value) {
@@ -27416,7 +27415,7 @@ function requireConnection () {
27416
27415
  return candidate && Is.func(candidate.handleMessage);
27417
27416
  }
27418
27417
  MessageStrategy.is = is;
27419
- })(MessageStrategy || (exports.MessageStrategy = MessageStrategy = {}));
27418
+ })(MessageStrategy || (exports$1.MessageStrategy = MessageStrategy = {}));
27420
27419
  var ConnectionOptions;
27421
27420
  (function (ConnectionOptions) {
27422
27421
  function is(value) {
@@ -27424,7 +27423,7 @@ function requireConnection () {
27424
27423
  return candidate && (CancellationStrategy.is(candidate.cancellationStrategy) || ConnectionStrategy.is(candidate.connectionStrategy) || MessageStrategy.is(candidate.messageStrategy));
27425
27424
  }
27426
27425
  ConnectionOptions.is = is;
27427
- })(ConnectionOptions || (exports.ConnectionOptions = ConnectionOptions = {}));
27426
+ })(ConnectionOptions || (exports$1.ConnectionOptions = ConnectionOptions = {}));
27428
27427
  var ConnectionState;
27429
27428
  (function (ConnectionState) {
27430
27429
  ConnectionState[ConnectionState["New"] = 1] = "New";
@@ -27433,7 +27432,7 @@ function requireConnection () {
27433
27432
  ConnectionState[ConnectionState["Disposed"] = 4] = "Disposed";
27434
27433
  })(ConnectionState || (ConnectionState = {}));
27435
27434
  function createMessageConnection(messageReader, messageWriter, _logger, options) {
27436
- const logger = _logger !== undefined ? _logger : exports.NullLogger;
27435
+ const logger = _logger !== undefined ? _logger : exports$1.NullLogger;
27437
27436
  let sequenceNumber = 0;
27438
27437
  let notificationSequenceNumber = 0;
27439
27438
  let unknownResponseSequenceNumber = 0;
@@ -28401,7 +28400,7 @@ function requireConnection () {
28401
28400
  });
28402
28401
  return connection;
28403
28402
  }
28404
- exports.createMessageConnection = createMessageConnection;
28403
+ exports$1.createMessageConnection = createMessageConnection;
28405
28404
  } (connection));
28406
28405
  return connection;
28407
28406
  }
@@ -28411,87 +28410,87 @@ var hasRequiredApi;
28411
28410
  function requireApi () {
28412
28411
  if (hasRequiredApi) return api;
28413
28412
  hasRequiredApi = 1;
28414
- (function (exports) {
28413
+ (function (exports$1) {
28415
28414
  /* --------------------------------------------------------------------------------------------
28416
28415
  * Copyright (c) Microsoft Corporation. All rights reserved.
28417
28416
  * Licensed under the MIT License. See License.txt in the project root for license information.
28418
28417
  * ------------------------------------------------------------------------------------------ */
28419
28418
  /// <reference path="../../typings/thenable.d.ts" />
28420
- Object.defineProperty(exports, "__esModule", { value: true });
28421
- 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;
28422
- exports.MessageStrategy = exports.CancellationStrategy = exports.CancellationSenderStrategy = exports.CancellationReceiverStrategy = exports.ConnectionError = exports.ConnectionErrors = exports.LogTraceNotification = exports.SetTraceNotification = exports.TraceFormat = exports.TraceValues = exports.Trace = void 0;
28419
+ Object.defineProperty(exports$1, "__esModule", { value: true });
28420
+ 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;
28421
+ 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;
28423
28422
  const messages_1 = requireMessages();
28424
- Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return messages_1.Message; } });
28425
- Object.defineProperty(exports, "RequestType", { enumerable: true, get: function () { return messages_1.RequestType; } });
28426
- Object.defineProperty(exports, "RequestType0", { enumerable: true, get: function () { return messages_1.RequestType0; } });
28427
- Object.defineProperty(exports, "RequestType1", { enumerable: true, get: function () { return messages_1.RequestType1; } });
28428
- Object.defineProperty(exports, "RequestType2", { enumerable: true, get: function () { return messages_1.RequestType2; } });
28429
- Object.defineProperty(exports, "RequestType3", { enumerable: true, get: function () { return messages_1.RequestType3; } });
28430
- Object.defineProperty(exports, "RequestType4", { enumerable: true, get: function () { return messages_1.RequestType4; } });
28431
- Object.defineProperty(exports, "RequestType5", { enumerable: true, get: function () { return messages_1.RequestType5; } });
28432
- Object.defineProperty(exports, "RequestType6", { enumerable: true, get: function () { return messages_1.RequestType6; } });
28433
- Object.defineProperty(exports, "RequestType7", { enumerable: true, get: function () { return messages_1.RequestType7; } });
28434
- Object.defineProperty(exports, "RequestType8", { enumerable: true, get: function () { return messages_1.RequestType8; } });
28435
- Object.defineProperty(exports, "RequestType9", { enumerable: true, get: function () { return messages_1.RequestType9; } });
28436
- Object.defineProperty(exports, "ResponseError", { enumerable: true, get: function () { return messages_1.ResponseError; } });
28437
- Object.defineProperty(exports, "ErrorCodes", { enumerable: true, get: function () { return messages_1.ErrorCodes; } });
28438
- Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return messages_1.NotificationType; } });
28439
- Object.defineProperty(exports, "NotificationType0", { enumerable: true, get: function () { return messages_1.NotificationType0; } });
28440
- Object.defineProperty(exports, "NotificationType1", { enumerable: true, get: function () { return messages_1.NotificationType1; } });
28441
- Object.defineProperty(exports, "NotificationType2", { enumerable: true, get: function () { return messages_1.NotificationType2; } });
28442
- Object.defineProperty(exports, "NotificationType3", { enumerable: true, get: function () { return messages_1.NotificationType3; } });
28443
- Object.defineProperty(exports, "NotificationType4", { enumerable: true, get: function () { return messages_1.NotificationType4; } });
28444
- Object.defineProperty(exports, "NotificationType5", { enumerable: true, get: function () { return messages_1.NotificationType5; } });
28445
- Object.defineProperty(exports, "NotificationType6", { enumerable: true, get: function () { return messages_1.NotificationType6; } });
28446
- Object.defineProperty(exports, "NotificationType7", { enumerable: true, get: function () { return messages_1.NotificationType7; } });
28447
- Object.defineProperty(exports, "NotificationType8", { enumerable: true, get: function () { return messages_1.NotificationType8; } });
28448
- Object.defineProperty(exports, "NotificationType9", { enumerable: true, get: function () { return messages_1.NotificationType9; } });
28449
- Object.defineProperty(exports, "ParameterStructures", { enumerable: true, get: function () { return messages_1.ParameterStructures; } });
28423
+ Object.defineProperty(exports$1, "Message", { enumerable: true, get: function () { return messages_1.Message; } });
28424
+ Object.defineProperty(exports$1, "RequestType", { enumerable: true, get: function () { return messages_1.RequestType; } });
28425
+ Object.defineProperty(exports$1, "RequestType0", { enumerable: true, get: function () { return messages_1.RequestType0; } });
28426
+ Object.defineProperty(exports$1, "RequestType1", { enumerable: true, get: function () { return messages_1.RequestType1; } });
28427
+ Object.defineProperty(exports$1, "RequestType2", { enumerable: true, get: function () { return messages_1.RequestType2; } });
28428
+ Object.defineProperty(exports$1, "RequestType3", { enumerable: true, get: function () { return messages_1.RequestType3; } });
28429
+ Object.defineProperty(exports$1, "RequestType4", { enumerable: true, get: function () { return messages_1.RequestType4; } });
28430
+ Object.defineProperty(exports$1, "RequestType5", { enumerable: true, get: function () { return messages_1.RequestType5; } });
28431
+ Object.defineProperty(exports$1, "RequestType6", { enumerable: true, get: function () { return messages_1.RequestType6; } });
28432
+ Object.defineProperty(exports$1, "RequestType7", { enumerable: true, get: function () { return messages_1.RequestType7; } });
28433
+ Object.defineProperty(exports$1, "RequestType8", { enumerable: true, get: function () { return messages_1.RequestType8; } });
28434
+ Object.defineProperty(exports$1, "RequestType9", { enumerable: true, get: function () { return messages_1.RequestType9; } });
28435
+ Object.defineProperty(exports$1, "ResponseError", { enumerable: true, get: function () { return messages_1.ResponseError; } });
28436
+ Object.defineProperty(exports$1, "ErrorCodes", { enumerable: true, get: function () { return messages_1.ErrorCodes; } });
28437
+ Object.defineProperty(exports$1, "NotificationType", { enumerable: true, get: function () { return messages_1.NotificationType; } });
28438
+ Object.defineProperty(exports$1, "NotificationType0", { enumerable: true, get: function () { return messages_1.NotificationType0; } });
28439
+ Object.defineProperty(exports$1, "NotificationType1", { enumerable: true, get: function () { return messages_1.NotificationType1; } });
28440
+ Object.defineProperty(exports$1, "NotificationType2", { enumerable: true, get: function () { return messages_1.NotificationType2; } });
28441
+ Object.defineProperty(exports$1, "NotificationType3", { enumerable: true, get: function () { return messages_1.NotificationType3; } });
28442
+ Object.defineProperty(exports$1, "NotificationType4", { enumerable: true, get: function () { return messages_1.NotificationType4; } });
28443
+ Object.defineProperty(exports$1, "NotificationType5", { enumerable: true, get: function () { return messages_1.NotificationType5; } });
28444
+ Object.defineProperty(exports$1, "NotificationType6", { enumerable: true, get: function () { return messages_1.NotificationType6; } });
28445
+ Object.defineProperty(exports$1, "NotificationType7", { enumerable: true, get: function () { return messages_1.NotificationType7; } });
28446
+ Object.defineProperty(exports$1, "NotificationType8", { enumerable: true, get: function () { return messages_1.NotificationType8; } });
28447
+ Object.defineProperty(exports$1, "NotificationType9", { enumerable: true, get: function () { return messages_1.NotificationType9; } });
28448
+ Object.defineProperty(exports$1, "ParameterStructures", { enumerable: true, get: function () { return messages_1.ParameterStructures; } });
28450
28449
  const linkedMap_1 = requireLinkedMap();
28451
- Object.defineProperty(exports, "LinkedMap", { enumerable: true, get: function () { return linkedMap_1.LinkedMap; } });
28452
- Object.defineProperty(exports, "LRUCache", { enumerable: true, get: function () { return linkedMap_1.LRUCache; } });
28453
- Object.defineProperty(exports, "Touch", { enumerable: true, get: function () { return linkedMap_1.Touch; } });
28450
+ Object.defineProperty(exports$1, "LinkedMap", { enumerable: true, get: function () { return linkedMap_1.LinkedMap; } });
28451
+ Object.defineProperty(exports$1, "LRUCache", { enumerable: true, get: function () { return linkedMap_1.LRUCache; } });
28452
+ Object.defineProperty(exports$1, "Touch", { enumerable: true, get: function () { return linkedMap_1.Touch; } });
28454
28453
  const disposable_1 = requireDisposable();
28455
- Object.defineProperty(exports, "Disposable", { enumerable: true, get: function () { return disposable_1.Disposable; } });
28454
+ Object.defineProperty(exports$1, "Disposable", { enumerable: true, get: function () { return disposable_1.Disposable; } });
28456
28455
  const events_1 = requireEvents();
28457
- Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return events_1.Event; } });
28458
- Object.defineProperty(exports, "Emitter", { enumerable: true, get: function () { return events_1.Emitter; } });
28456
+ Object.defineProperty(exports$1, "Event", { enumerable: true, get: function () { return events_1.Event; } });
28457
+ Object.defineProperty(exports$1, "Emitter", { enumerable: true, get: function () { return events_1.Emitter; } });
28459
28458
  const cancellation_1 = requireCancellation();
28460
- Object.defineProperty(exports, "CancellationTokenSource", { enumerable: true, get: function () { return cancellation_1.CancellationTokenSource; } });
28461
- Object.defineProperty(exports, "CancellationToken", { enumerable: true, get: function () { return cancellation_1.CancellationToken; } });
28459
+ Object.defineProperty(exports$1, "CancellationTokenSource", { enumerable: true, get: function () { return cancellation_1.CancellationTokenSource; } });
28460
+ Object.defineProperty(exports$1, "CancellationToken", { enumerable: true, get: function () { return cancellation_1.CancellationToken; } });
28462
28461
  const sharedArrayCancellation_1 = requireSharedArrayCancellation();
28463
- Object.defineProperty(exports, "SharedArraySenderStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArraySenderStrategy; } });
28464
- Object.defineProperty(exports, "SharedArrayReceiverStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArrayReceiverStrategy; } });
28462
+ Object.defineProperty(exports$1, "SharedArraySenderStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArraySenderStrategy; } });
28463
+ Object.defineProperty(exports$1, "SharedArrayReceiverStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArrayReceiverStrategy; } });
28465
28464
  const messageReader_1 = requireMessageReader();
28466
- Object.defineProperty(exports, "MessageReader", { enumerable: true, get: function () { return messageReader_1.MessageReader; } });
28467
- Object.defineProperty(exports, "AbstractMessageReader", { enumerable: true, get: function () { return messageReader_1.AbstractMessageReader; } });
28468
- Object.defineProperty(exports, "ReadableStreamMessageReader", { enumerable: true, get: function () { return messageReader_1.ReadableStreamMessageReader; } });
28465
+ Object.defineProperty(exports$1, "MessageReader", { enumerable: true, get: function () { return messageReader_1.MessageReader; } });
28466
+ Object.defineProperty(exports$1, "AbstractMessageReader", { enumerable: true, get: function () { return messageReader_1.AbstractMessageReader; } });
28467
+ Object.defineProperty(exports$1, "ReadableStreamMessageReader", { enumerable: true, get: function () { return messageReader_1.ReadableStreamMessageReader; } });
28469
28468
  const messageWriter_1 = requireMessageWriter();
28470
- Object.defineProperty(exports, "MessageWriter", { enumerable: true, get: function () { return messageWriter_1.MessageWriter; } });
28471
- Object.defineProperty(exports, "AbstractMessageWriter", { enumerable: true, get: function () { return messageWriter_1.AbstractMessageWriter; } });
28472
- Object.defineProperty(exports, "WriteableStreamMessageWriter", { enumerable: true, get: function () { return messageWriter_1.WriteableStreamMessageWriter; } });
28469
+ Object.defineProperty(exports$1, "MessageWriter", { enumerable: true, get: function () { return messageWriter_1.MessageWriter; } });
28470
+ Object.defineProperty(exports$1, "AbstractMessageWriter", { enumerable: true, get: function () { return messageWriter_1.AbstractMessageWriter; } });
28471
+ Object.defineProperty(exports$1, "WriteableStreamMessageWriter", { enumerable: true, get: function () { return messageWriter_1.WriteableStreamMessageWriter; } });
28473
28472
  const messageBuffer_1 = requireMessageBuffer();
28474
- Object.defineProperty(exports, "AbstractMessageBuffer", { enumerable: true, get: function () { return messageBuffer_1.AbstractMessageBuffer; } });
28473
+ Object.defineProperty(exports$1, "AbstractMessageBuffer", { enumerable: true, get: function () { return messageBuffer_1.AbstractMessageBuffer; } });
28475
28474
  const connection_1 = requireConnection();
28476
- Object.defineProperty(exports, "ConnectionStrategy", { enumerable: true, get: function () { return connection_1.ConnectionStrategy; } });
28477
- Object.defineProperty(exports, "ConnectionOptions", { enumerable: true, get: function () { return connection_1.ConnectionOptions; } });
28478
- Object.defineProperty(exports, "NullLogger", { enumerable: true, get: function () { return connection_1.NullLogger; } });
28479
- Object.defineProperty(exports, "createMessageConnection", { enumerable: true, get: function () { return connection_1.createMessageConnection; } });
28480
- Object.defineProperty(exports, "ProgressToken", { enumerable: true, get: function () { return connection_1.ProgressToken; } });
28481
- Object.defineProperty(exports, "ProgressType", { enumerable: true, get: function () { return connection_1.ProgressType; } });
28482
- Object.defineProperty(exports, "Trace", { enumerable: true, get: function () { return connection_1.Trace; } });
28483
- Object.defineProperty(exports, "TraceValues", { enumerable: true, get: function () { return connection_1.TraceValues; } });
28484
- Object.defineProperty(exports, "TraceFormat", { enumerable: true, get: function () { return connection_1.TraceFormat; } });
28485
- Object.defineProperty(exports, "SetTraceNotification", { enumerable: true, get: function () { return connection_1.SetTraceNotification; } });
28486
- Object.defineProperty(exports, "LogTraceNotification", { enumerable: true, get: function () { return connection_1.LogTraceNotification; } });
28487
- Object.defineProperty(exports, "ConnectionErrors", { enumerable: true, get: function () { return connection_1.ConnectionErrors; } });
28488
- Object.defineProperty(exports, "ConnectionError", { enumerable: true, get: function () { return connection_1.ConnectionError; } });
28489
- Object.defineProperty(exports, "CancellationReceiverStrategy", { enumerable: true, get: function () { return connection_1.CancellationReceiverStrategy; } });
28490
- Object.defineProperty(exports, "CancellationSenderStrategy", { enumerable: true, get: function () { return connection_1.CancellationSenderStrategy; } });
28491
- Object.defineProperty(exports, "CancellationStrategy", { enumerable: true, get: function () { return connection_1.CancellationStrategy; } });
28492
- Object.defineProperty(exports, "MessageStrategy", { enumerable: true, get: function () { return connection_1.MessageStrategy; } });
28475
+ Object.defineProperty(exports$1, "ConnectionStrategy", { enumerable: true, get: function () { return connection_1.ConnectionStrategy; } });
28476
+ Object.defineProperty(exports$1, "ConnectionOptions", { enumerable: true, get: function () { return connection_1.ConnectionOptions; } });
28477
+ Object.defineProperty(exports$1, "NullLogger", { enumerable: true, get: function () { return connection_1.NullLogger; } });
28478
+ Object.defineProperty(exports$1, "createMessageConnection", { enumerable: true, get: function () { return connection_1.createMessageConnection; } });
28479
+ Object.defineProperty(exports$1, "ProgressToken", { enumerable: true, get: function () { return connection_1.ProgressToken; } });
28480
+ Object.defineProperty(exports$1, "ProgressType", { enumerable: true, get: function () { return connection_1.ProgressType; } });
28481
+ Object.defineProperty(exports$1, "Trace", { enumerable: true, get: function () { return connection_1.Trace; } });
28482
+ Object.defineProperty(exports$1, "TraceValues", { enumerable: true, get: function () { return connection_1.TraceValues; } });
28483
+ Object.defineProperty(exports$1, "TraceFormat", { enumerable: true, get: function () { return connection_1.TraceFormat; } });
28484
+ Object.defineProperty(exports$1, "SetTraceNotification", { enumerable: true, get: function () { return connection_1.SetTraceNotification; } });
28485
+ Object.defineProperty(exports$1, "LogTraceNotification", { enumerable: true, get: function () { return connection_1.LogTraceNotification; } });
28486
+ Object.defineProperty(exports$1, "ConnectionErrors", { enumerable: true, get: function () { return connection_1.ConnectionErrors; } });
28487
+ Object.defineProperty(exports$1, "ConnectionError", { enumerable: true, get: function () { return connection_1.ConnectionError; } });
28488
+ Object.defineProperty(exports$1, "CancellationReceiverStrategy", { enumerable: true, get: function () { return connection_1.CancellationReceiverStrategy; } });
28489
+ Object.defineProperty(exports$1, "CancellationSenderStrategy", { enumerable: true, get: function () { return connection_1.CancellationSenderStrategy; } });
28490
+ Object.defineProperty(exports$1, "CancellationStrategy", { enumerable: true, get: function () { return connection_1.CancellationStrategy; } });
28491
+ Object.defineProperty(exports$1, "MessageStrategy", { enumerable: true, get: function () { return connection_1.MessageStrategy; } });
28493
28492
  const ral_1 = requireRal();
28494
- exports.RAL = ral_1.default;
28493
+ exports$1.RAL = ral_1.default;
28495
28494
  } (api));
28496
28495
  return api;
28497
28496
  }
@@ -28669,7 +28668,7 @@ var hasRequiredMain;
28669
28668
  function requireMain () {
28670
28669
  if (hasRequiredMain) return main;
28671
28670
  hasRequiredMain = 1;
28672
- (function (exports) {
28671
+ (function (exports$1) {
28673
28672
  var __createBinding = (main && main.__createBinding) || (Object.create ? (function(o, m, k, k2) {
28674
28673
  if (k2 === undefined) k2 = k;
28675
28674
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -28681,11 +28680,11 @@ function requireMain () {
28681
28680
  if (k2 === undefined) k2 = k;
28682
28681
  o[k2] = m[k];
28683
28682
  }));
28684
- var __exportStar = (main && main.__exportStar) || function(m, exports) {
28685
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28683
+ var __exportStar = (main && main.__exportStar) || function(m, exports$1) {
28684
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);
28686
28685
  };
28687
- Object.defineProperty(exports, "__esModule", { value: true });
28688
- 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;
28686
+ Object.defineProperty(exports$1, "__esModule", { value: true });
28687
+ 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;
28689
28688
  /* --------------------------------------------------------------------------------------------
28690
28689
  * Copyright (c) Microsoft Corporation. All rights reserved.
28691
28690
  * Licensed under the MIT License. See License.txt in the project root for license information.
@@ -28698,7 +28697,7 @@ function requireMain () {
28698
28697
  const crypto_1 = require$$3__default;
28699
28698
  const net_1 = require$$4;
28700
28699
  const api_1 = requireApi();
28701
- __exportStar(requireApi(), exports);
28700
+ __exportStar(requireApi(), exports$1);
28702
28701
  class IPCMessageReader extends api_1.AbstractMessageReader {
28703
28702
  constructor(process) {
28704
28703
  super();
@@ -28712,7 +28711,7 @@ function requireMain () {
28712
28711
  return api_1.Disposable.create(() => this.process.off('message', callback));
28713
28712
  }
28714
28713
  }
28715
- exports.IPCMessageReader = IPCMessageReader;
28714
+ exports$1.IPCMessageReader = IPCMessageReader;
28716
28715
  class IPCMessageWriter extends api_1.AbstractMessageWriter {
28717
28716
  constructor(process) {
28718
28717
  super();
@@ -28749,7 +28748,7 @@ function requireMain () {
28749
28748
  end() {
28750
28749
  }
28751
28750
  }
28752
- exports.IPCMessageWriter = IPCMessageWriter;
28751
+ exports$1.IPCMessageWriter = IPCMessageWriter;
28753
28752
  class PortMessageReader extends api_1.AbstractMessageReader {
28754
28753
  constructor(port) {
28755
28754
  super();
@@ -28764,7 +28763,7 @@ function requireMain () {
28764
28763
  return this.onData.event(callback);
28765
28764
  }
28766
28765
  }
28767
- exports.PortMessageReader = PortMessageReader;
28766
+ exports$1.PortMessageReader = PortMessageReader;
28768
28767
  class PortMessageWriter extends api_1.AbstractMessageWriter {
28769
28768
  constructor(port) {
28770
28769
  super();
@@ -28790,13 +28789,13 @@ function requireMain () {
28790
28789
  end() {
28791
28790
  }
28792
28791
  }
28793
- exports.PortMessageWriter = PortMessageWriter;
28792
+ exports$1.PortMessageWriter = PortMessageWriter;
28794
28793
  class SocketMessageReader extends api_1.ReadableStreamMessageReader {
28795
28794
  constructor(socket, encoding = 'utf-8') {
28796
28795
  super((0, ril_1.default)().stream.asReadableStream(socket), encoding);
28797
28796
  }
28798
28797
  }
28799
- exports.SocketMessageReader = SocketMessageReader;
28798
+ exports$1.SocketMessageReader = SocketMessageReader;
28800
28799
  class SocketMessageWriter extends api_1.WriteableStreamMessageWriter {
28801
28800
  constructor(socket, options) {
28802
28801
  super((0, ril_1.default)().stream.asWritableStream(socket), options);
@@ -28807,19 +28806,19 @@ function requireMain () {
28807
28806
  this.socket.destroy();
28808
28807
  }
28809
28808
  }
28810
- exports.SocketMessageWriter = SocketMessageWriter;
28809
+ exports$1.SocketMessageWriter = SocketMessageWriter;
28811
28810
  class StreamMessageReader extends api_1.ReadableStreamMessageReader {
28812
28811
  constructor(readable, encoding) {
28813
28812
  super((0, ril_1.default)().stream.asReadableStream(readable), encoding);
28814
28813
  }
28815
28814
  }
28816
- exports.StreamMessageReader = StreamMessageReader;
28815
+ exports$1.StreamMessageReader = StreamMessageReader;
28817
28816
  class StreamMessageWriter extends api_1.WriteableStreamMessageWriter {
28818
28817
  constructor(writable, options) {
28819
28818
  super((0, ril_1.default)().stream.asWritableStream(writable), options);
28820
28819
  }
28821
28820
  }
28822
- exports.StreamMessageWriter = StreamMessageWriter;
28821
+ exports$1.StreamMessageWriter = StreamMessageWriter;
28823
28822
  const XDG_RUNTIME_DIR = process.env['XDG_RUNTIME_DIR'];
28824
28823
  const safeIpcPathLengths = new Map([
28825
28824
  ['linux', 107],
@@ -28843,7 +28842,7 @@ function requireMain () {
28843
28842
  }
28844
28843
  return result;
28845
28844
  }
28846
- exports.generateRandomPipeName = generateRandomPipeName;
28845
+ exports$1.generateRandomPipeName = generateRandomPipeName;
28847
28846
  function createClientPipeTransport(pipeName, encoding = 'utf-8') {
28848
28847
  let connectResolve;
28849
28848
  const connected = new Promise((resolve, _reject) => {
@@ -28866,7 +28865,7 @@ function requireMain () {
28866
28865
  });
28867
28866
  });
28868
28867
  }
28869
- exports.createClientPipeTransport = createClientPipeTransport;
28868
+ exports$1.createClientPipeTransport = createClientPipeTransport;
28870
28869
  function createServerPipeTransport(pipeName, encoding = 'utf-8') {
28871
28870
  const socket = (0, net_1.createConnection)(pipeName);
28872
28871
  return [
@@ -28874,7 +28873,7 @@ function requireMain () {
28874
28873
  new SocketMessageWriter(socket, encoding)
28875
28874
  ];
28876
28875
  }
28877
- exports.createServerPipeTransport = createServerPipeTransport;
28876
+ exports$1.createServerPipeTransport = createServerPipeTransport;
28878
28877
  function createClientSocketTransport(port, encoding = 'utf-8') {
28879
28878
  let connectResolve;
28880
28879
  const connected = new Promise((resolve, _reject) => {
@@ -28897,7 +28896,7 @@ function requireMain () {
28897
28896
  });
28898
28897
  });
28899
28898
  }
28900
- exports.createClientSocketTransport = createClientSocketTransport;
28899
+ exports$1.createClientSocketTransport = createClientSocketTransport;
28901
28900
  function createServerSocketTransport(port, encoding = 'utf-8') {
28902
28901
  const socket = (0, net_1.createConnection)(port, '127.0.0.1');
28903
28902
  return [
@@ -28905,7 +28904,7 @@ function requireMain () {
28905
28904
  new SocketMessageWriter(socket, encoding)
28906
28905
  ];
28907
28906
  }
28908
- exports.createServerSocketTransport = createServerSocketTransport;
28907
+ exports$1.createServerSocketTransport = createServerSocketTransport;
28909
28908
  function isReadableStream(value) {
28910
28909
  const candidate = value;
28911
28910
  return candidate.read !== undefined && candidate.addListener !== undefined;
@@ -28925,7 +28924,7 @@ function requireMain () {
28925
28924
  }
28926
28925
  return (0, api_1.createMessageConnection)(reader, writer, logger, options);
28927
28926
  }
28928
- exports.createMessageConnection = createMessageConnection;
28927
+ exports$1.createMessageConnection = createMessageConnection;
28929
28928
  } (main));
28930
28929
  return main;
28931
28930
  }
@@ -29223,5 +29222,5 @@ class PuyaOptions {
29223
29222
  }
29224
29223
  }
29225
29224
 
29226
- export { GeneratorType as $, ABICompatibleInstanceType as A, BaseContractClassType as B, Constants as C, BooleanFunction as D, BoxGeneric as E, BoxMapGeneric as F, BoxMapPType as G, BoxPType as H, ByteClass as I, BytesFunction as J, BytesGeneric as K, BytesPType as L, ClassMethodDecoratorContext as M, ClearStateProgram as N, ClusteredContractClassType as O, ClusteredPrototype as P, ContractClassPType as Q, ContractProxyGeneric as R, ContractProxyType as S, DynamicArrayGeneric as T, DynamicArrayType as U, DynamicBytesConstructor as V, DynamicBytesType as W, FixedArrayGeneric as X, FixedArrayPType as Y, FunctionPType as Z, GeneratorGeneric as _, ALL_OP_ENUMS as a, UintN16Class as a$, GenericPType as a0, GlobalStateGeneric as a1, GlobalStateType as a2, GroupTransactionPType as a3, ImmutableObjectPType as a4, InnerTransactionPType as a5, InstanceType as a6, InternalType as a7, IntersectionPType as a8, IntrinsicEnumType as a9, ReadonlyArrayGeneric as aA, ReadonlyArrayPType as aB, ReadonlyGeneric as aC, ReadonlyTuplePType as aD, ReferenceArrayGeneric as aE, ReferenceArrayType as aF, StaticArrayGeneric as aG, StaticArrayType as aH, StaticBytesGeneric as aI, StaticBytesType as aJ, StringFunction as aK, SuperPrototypeSelector as aL, SuperPrototypeSelectorGeneric as aM, TemplateVarFunction as aN, TransactionFunction as aO, TransactionFunctionType as aP, TransientType as aQ, TypeParameterType as aR, TypedApplicationCallResponseGeneric as aS, TypedApplicationCallResponseType as aT, UFixedNxMGeneric as aU, UFixedNxMType as aV, Uint64EnumMemberLiteralType as aW, Uint64EnumMemberType as aX, Uint64EnumType as aY, Uint64Function as aZ, UintN128Class as a_, IntrinsicFunctionGroupType as aa, IntrinsicFunctionGroupTypeType as ab, IntrinsicFunctionType as ac, IntrinsicFunctionTypeType as ad, IterableIteratorGeneric as ae, IterableIteratorType as af, ItxnParamsPType as ag, KeyRegistrationTxnFunction as ah, LibClassType as ai, LibFunctionType as aj, LibObjType as ak, LocalStateGeneric as al, LocalStateType as am, LogicSigPType as an, MutableObjectPType as ao, MutableTuplePType as ap, NamespacePType as aq, NumberPType as ar, NumericLiteralPType as as, ObjectLiteralPType as at, ObjectWithOptionalFieldsType as au, PType as av, PaymentTxnFunction as aw, PolytypeClassMethodHelper as ax, PromiseGeneric as ay, PromiseType as az, ARC4ArrayType as b, errFunction as b$, UintN256Class as b0, UintN32Class as b1, UintN64Class as b2, UintN8Class as b3, UintNGeneric as b4, UintNType as b5, UnionPType as b6, UnsupportedType as b7, abiCallFunction as b8, accountPType as b9, assetFreezeItxnFn as bA, assetFreezeItxnParamsType as bB, assetFreezeItxnType as bC, assetPType as bD, assetTransferGtxnType as bE, assetTransferItxnFn as bF, assetTransferItxnParamsType as bG, assetTransferItxnType as bH, base64PType as bI, baseContractType as bJ, bigIntPType as bK, biguintPType as bL, boolPType as bM, bytesPType as bN, bzeroFunction as bO, cloneFunctionPType as bP, compileArc4Function as bQ, compileFunctionType as bR, compiledContractType as bS, compiledLogicSigType as bT, contractOptionsDecorator as bU, convertBytesFunction as bV, decodeArc4Function as bW, ecPType as bX, ecdsaPType as bY, encodeArc4Function as bZ, ensureBudgetFunction as b_, anyGtxnType as ba, anyItxnParamsType as bb, anyItxnType as bc, anyPType as bd, applicationCallGtxnType as be, applicationCallItxnFn as bf, applicationCallItxnParamsType as bg, applicationItxnType as bh, applicationPType as bi, arc28EmitFunction as bj, arc4AbiMethodDecorator as bk, arc4AddressAlias as bl, arc4BareMethodDecorator as bm, arc4BaseContractType as bn, arc4BooleanType as bo, arc4ByteAlias as bp, arc4StringType as bq, arc4StructBaseType as br, arc4Uint64 as bs, assertFunction as bt, assertMatchFunction as bu, assetConfigGtxnType as bv, assetConfigItxnFn as bw, assetConfigItxnParamsType as bx, assetConfigItxnType as by, assetFreezeGtxnType as bz, ARC4BoolClass as c, buildAwst as c$, esSymbol as c0, inputOnlyObjects as c1, isArrayType as c2, isObjectType$1 as c3, isTupleLike as c4, itoaMethod as c5, itxnComposePType as c6, keyRegistrationGtxnType as c7, keyRegistrationItxnFn as c8, keyRegistrationItxnParamsType as c9, validateEncodingFunctionPType as cA, voidPType as cB, vrfVerifyPType as cC, uint8ArrayToBigInt as cD, uint8ArrayToBase64 as cE, uint8ArrayToBase32 as cF, uint8ArrayToHex as cG, uint8ArrayToUtf8 as cH, base64ToUint8Array as cI, base32ToUint8Array as cJ, hexToUint8Array as cK, bigIntToUint8Array as cL, utf8ToUint8Array as cM, SourceLocation as cN, registerPTypes as cO, typeRegistry as cP, TypeResolver as cQ, processInputPaths as cR, LoggingContext as cS, CompileOptions as cT, AbsolutePath as cU, mkDirIfNotExists as cV, PuyaService as cW, deserializeAndLog as cX, LogLevel as cY, logger as cZ, createTsProgram as c_, keyRegistrationItxnType as ca, logFunction as cb, logicSigBaseType as cc, logicSigOptionsDecorator as cd, matchFunction as ce, methodSelectorFunction as cf, mimcConfigurationsPType as cg, neverPType as ch, nullPType as ci, numberPType as cj, onCompleteActionType as ck, opUpFeeSourceType as cl, paymentGtxnType as cm, paymentItxnFn as cn, paymentItxnParamsType as co, paymentItxnType as cp, ptypeToArc4EncodedType as cq, readonlyDecorator as cr, sizeOfFunction as cs, stringPType as ct, submitGroupItxnFunction as cu, transactionTypeType as cv, uint64PType as cw, undefinedPType as cx, unknownPType as cy, urangeFunction as cz, ARC4EncodedType as d, validateAwst as d0, isMinLevel as d1, enumFromValue as d2, defaultPuyaOptions as d3, parseCliTemplateVar as d4, LocalsCoalescingStrategy as d5, sleep as d6, InternalError as d7, distinct as d8, DefaultMap as d9, zipStrict as da, relinquishThread as db, isIn as dc, LogSource as dd, ARC4InstanceType as e, ARC4StrClass as f, ARC4StructClass as g, ARC4StructType as h, ARC4TupleType as i, AccountFunction as j, AddressClass as k, AnyPType as l, ApplicationFunctionType as m, ApplicationTxnFunction as n, ApprovalProgram as o, Arc4TupleGeneric as p, ArrayGeneric as q, ArrayLiteralPType as r, ArrayPType as s, AssetConfigTxnFunction as t, AssetFreezeTxnFunction as u, AssetFunction as v, AssetTransferTxnFunction as w, BigIntLiteralPType as x, BigIntPType as y, BigUintFunction as z };
29227
- //# sourceMappingURL=options-COFRHTFQ.js.map
29225
+ export { GeneratorType as $, ABICompatibleInstanceType as A, BaseContractClassType as B, Constants as C, BooleanFunction as D, BoxGeneric as E, BoxMapGeneric as F, BoxMapPType as G, BoxPType as H, ByteClass as I, BytesFunction as J, BytesGeneric as K, BytesPType as L, ClassMethodDecoratorContext as M, ClearStateProgram as N, ClusteredContractClassType as O, ClusteredPrototype as P, ContractClassPType as Q, ContractProxyGeneric as R, ContractProxyType as S, DynamicArrayGeneric as T, DynamicArrayType as U, DynamicBytesConstructor as V, DynamicBytesType as W, FixedArrayGeneric as X, FixedArrayPType as Y, FunctionPType as Z, GeneratorGeneric as _, ALL_OP_ENUMS as a, UintN16Class as a$, GenericPType as a0, GlobalStateGeneric as a1, GlobalStateType as a2, GroupTransactionPType as a3, ImmutableObjectPType as a4, InnerTransactionPType as a5, InstanceType as a6, InternalType as a7, IntersectionPType as a8, IntrinsicEnumType as a9, ReadonlyArrayGeneric as aA, ReadonlyArrayPType as aB, ReadonlyGeneric as aC, ReadonlyTuplePType as aD, ReferenceArrayGeneric as aE, ReferenceArrayType as aF, StaticArrayGeneric as aG, StaticArrayType as aH, StaticBytesGeneric as aI, StaticBytesType as aJ, StringFunction as aK, SuperPrototypeSelector as aL, SuperPrototypeSelectorGeneric as aM, TemplateVarFunction as aN, TransactionFunction as aO, TransactionFunctionType as aP, TransientType as aQ, TypeParameterType as aR, TypedApplicationCallResponseGeneric as aS, TypedApplicationCallResponseType as aT, UFixedNxMGeneric as aU, UFixedNxMType as aV, Uint64EnumMemberLiteralType as aW, Uint64EnumMemberType as aX, Uint64EnumType as aY, Uint64Function as aZ, UintN128Class as a_, IntrinsicFunctionGroupType as aa, IntrinsicFunctionGroupTypeType as ab, IntrinsicFunctionType as ac, IntrinsicFunctionTypeType as ad, IterableIteratorGeneric as ae, IterableIteratorType as af, ItxnParamsPType as ag, KeyRegistrationTxnFunction as ah, LibClassType as ai, LibFunctionType as aj, LibObjType as ak, LocalStateGeneric as al, LocalStateType as am, LogicSigPType as an, MutableObjectPType as ao, MutableTuplePType as ap, NamespacePType as aq, NumberPType as ar, NumericLiteralPType as as, ObjectLiteralPType as at, ObjectWithOptionalFieldsType as au, PType as av, PaymentTxnFunction as aw, PolytypeClassMethodHelper as ax, PromiseGeneric as ay, PromiseType as az, ARC4ArrayType as b, errFunction as b$, UintN256Class as b0, UintN32Class as b1, UintN64Class as b2, UintN8Class as b3, UintNGeneric as b4, UintNType as b5, UnionPType as b6, UnsupportedType as b7, abiCallFunction as b8, accountPType as b9, assetFreezeItxnFn as bA, assetFreezeItxnParamsType as bB, assetFreezeItxnType as bC, assetPType as bD, assetTransferGtxnType as bE, assetTransferItxnFn as bF, assetTransferItxnParamsType as bG, assetTransferItxnType as bH, base64PType as bI, baseContractType as bJ, bigIntPType as bK, biguintPType as bL, boolPType as bM, bytesPType as bN, bzeroFunction as bO, cloneFunctionPType as bP, compileArc4Function as bQ, compileFunctionType as bR, compiledContractType as bS, compiledLogicSigType as bT, contractOptionsDecorator as bU, convertBytesFunction as bV, decodeArc4Function as bW, ecPType as bX, ecdsaPType as bY, encodeArc4Function as bZ, ensureBudgetFunction as b_, anyGtxnType as ba, anyItxnParamsType as bb, anyItxnType as bc, anyPType as bd, applicationCallGtxnType as be, applicationCallItxnFn as bf, applicationCallItxnParamsType as bg, applicationItxnType as bh, applicationPType as bi, arc28EmitFunction as bj, arc4AbiMethodDecorator as bk, arc4AddressAlias as bl, arc4BareMethodDecorator as bm, arc4BaseContractType as bn, arc4BooleanType as bo, arc4ByteAlias as bp, arc4StringType as bq, arc4StructBaseType as br, arc4Uint64 as bs, assertFunction as bt, assertMatchFunction as bu, assetConfigGtxnType as bv, assetConfigItxnFn as bw, assetConfigItxnParamsType as bx, assetConfigItxnType as by, assetFreezeGtxnType as bz, ARC4BoolClass as c, createTsProgram as c$, esSymbol as c0, inputOnlyObjects as c1, isArrayType as c2, isObjectType$1 as c3, isTupleLike as c4, itoaMethod as c5, itxnComposePType as c6, keyRegistrationGtxnType as c7, keyRegistrationItxnFn as c8, keyRegistrationItxnParamsType as c9, validateEncodingFunctionPType as cA, voidPType as cB, vrfVerifyPType as cC, uint8ArrayToBigInt as cD, uint8ArrayToBase64 as cE, uint8ArrayToBase32 as cF, uint8ArrayToHex as cG, uint8ArrayToUtf8 as cH, base64ToUint8Array as cI, base32ToUint8Array as cJ, hexToUint8Array as cK, bigIntToUint8Array as cL, utf8ToUint8Array as cM, AbsolutePath as cN, CompileOptions as cO, LogLevel as cP, LogSource as cQ, LoggingContext as cR, SourceLocation as cS, TypeResolver as cT, processInputPaths as cU, registerPTypes as cV, typeRegistry as cW, mkDirIfNotExists as cX, PuyaService as cY, deserializeAndLog as cZ, logger as c_, keyRegistrationItxnType as ca, logFunction as cb, logicSigBaseType as cc, logicSigOptionsDecorator as cd, matchFunction as ce, methodSelectorFunction as cf, mimcConfigurationsPType as cg, neverPType as ch, nullPType as ci, numberPType as cj, onCompleteActionType as ck, opUpFeeSourceType as cl, paymentGtxnType as cm, paymentItxnFn as cn, paymentItxnParamsType as co, paymentItxnType as cp, ptypeToArc4EncodedType as cq, readonlyDecorator as cr, sizeOfFunction as cs, stringPType as ct, submitGroupItxnFunction as cu, transactionTypeType as cv, uint64PType as cw, undefinedPType as cx, unknownPType as cy, urangeFunction as cz, ARC4EncodedType as d, buildAwst as d0, validateAwst as d1, isMinLevel as d2, enumFromValue as d3, defaultPuyaOptions as d4, parseCliTemplateVar as d5, LocalsCoalescingStrategy as d6, sleep as d7, InternalError as d8, distinct as d9, DefaultMap as da, zipStrict as db, relinquishThread as dc, isIn as dd, ARC4InstanceType as e, ARC4StrClass as f, ARC4StructClass as g, ARC4StructType as h, ARC4TupleType as i, AccountFunction as j, AddressClass as k, AnyPType as l, ApplicationFunctionType as m, ApplicationTxnFunction as n, ApprovalProgram as o, Arc4TupleGeneric as p, ArrayGeneric as q, ArrayLiteralPType as r, ArrayPType as s, AssetConfigTxnFunction as t, AssetFreezeTxnFunction as u, AssetFunction as v, AssetTransferTxnFunction as w, BigIntLiteralPType as x, BigIntPType as y, BigUintFunction as z };
29226
+ //# sourceMappingURL=options-CJdnAUbx.js.map