@algorandfoundation/puya-ts 1.2.0-beta.40 → 1.2.0-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{analyser-service-D0IsFlp4.js → analyser-service-DRDPe9MV.js} +367 -367
- package/{analyser-service-D0IsFlp4.js.map → analyser-service-DRDPe9MV.js.map} +1 -1
- package/analyserService.mjs +3 -3
- package/{arc4-clientgen-BMCeFyNd.js → arc4-clientgen-sFEhO2LJ.js} +2 -2
- package/{arc4-clientgen-BMCeFyNd.js.map → arc4-clientgen-sFEhO2LJ.js.map} +1 -1
- package/bin/puyats-clientgen.mjs +5 -5
- package/bin/puyats-ls.mjs +6 -6
- package/bin/run-cli.mjs +8 -8
- package/{check-node-version-BP_a9Mv8.js → check-node-version-C1jtIFzd.js} +3 -3
- package/{check-node-version-BP_a9Mv8.js.map → check-node-version-C1jtIFzd.js.map} +1 -1
- package/cli.mjs +8 -8
- package/{compile-BaYaEC1Y.js → compile-D3rBypqy.js} +6 -6
- package/{compile-BaYaEC1Y.js.map → compile-D3rBypqy.js.map} +1 -1
- package/{contract-class-model-pgJctz5F.js → contract-class-model-bHAozdbL.js} +2 -2
- package/{contract-class-model-pgJctz5F.js.map → contract-class-model-bHAozdbL.js.map} +1 -1
- package/index.mjs +8 -8
- package/{options-8bOJR8qx.js → options-lB3ucfHV.js} +113 -113
- package/{options-8bOJR8qx.js.map → options-lB3ucfHV.js.map} +1 -1
- package/package.json +2 -2
- package/{resolve-puya-path-EZBzWIlE.js → resolve-puya-path-CxwX2Y7m.js} +4 -4
- package/{resolve-puya-path-EZBzWIlE.js.map → resolve-puya-path-CxwX2Y7m.js.map} +1 -1
- package/{semver-DpFo0aCr.js → semver-DSCCFKAJ.js} +3 -3
- package/{semver-DpFo0aCr.js.map → semver-DSCCFKAJ.js.map} +1 -1
- package/{util-JPoBh0Op.js → util-Dz5YVLPa.js} +2 -2
- package/{util-JPoBh0Op.js.map → util-Dz5YVLPa.js.map} +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aV as LibClassType, aa as Constants, cO as boolPType, e4 as wtypes, dM as stringPType, au as GenericPType, cS as codeInvariant, by as ReadonlyTuplePType, ba as MutableTuplePType, bm as PType, bi as NumericLiteralPType, dT as uint64PType, cN as biguintPType, t as ArrayPType, bw as ReadonlyArrayPType, ce as accountPType, cP as bytesPType, aW as LibFunctionType, ad as ContractClassPType, cU as compiledContractType, aB as ImmutableObjectPType, cm as applicationCallItxnType, e1 as voidPType, b9 as MutableObjectPType, aI as InternalError, a6 as CodeError, dO as throwError, bK as StringConstant, W as BytesConstant, aH as IntegerConstant, M as BoolConstant, h as AddressConstant, b6 as MethodConstant, ah as DecimalConstant, bS as TemplateVar, b1 as LogSource, b0 as LogLevel, da as instanceOfAny, bD as SingleEvaluation, cc as VarExpression, dz as nodeFactory, be as NotSupported, ds as logger, bZ as TupleItemExpression, an as FieldExpression, aC as IndexExpression, bY as TupleExpression, k as AppStateExpression, j as AppAccountStateExpression, T as BoxValueExpression, bJ as StateGetEx, bI as StateGet, bX as TransientType, dB as numberPType, cL as bigIntPType, co as arc28EmitFunction, s as ArrayLiteralPType, E as BigIntLiteralPType, d8 as hasFlags, dc as invariant, L as BinaryBooleanOperator, bb as NamespacePType, cK as baseContractType, cr as arc4BaseContractType, bR as SymbolName, c9 as UnionPType, aA as GroupTransactionPType, cf as anyGtxnType, c6 as Uint64EnumMemberType, b_ as TypeParameterType, d2 as esSymbol, dZ as unknownPType, dy as neverPType, ci as anyPType, dA as nullPType, dY as undefinedPType, a5 as ClusteredPrototype, aK as IntersectionPType, dt as logicSigBaseType, b4 as LogicSigPType, c7 as Uint64EnumType, ar as FunctionPType, o as ApprovalProgram, a3 as ClearStateProgram, de as isIn, R as BoxMapPType, S as BoxPType, aZ as LocalMapType, a$ as LocalStateType, aw as GlobalMapType, ay as GlobalStateType, bP as SuperPrototypeSelector, a4 as ClusteredContractClassType, bF as SourceLocation, db as intersectsFlags, d4 as extractModuleName, dP as toSubScript, f as AbsolutePath, a8 as CompilationSet, b as ARC4ABIMethodConfig, ag as ContractReference, _ as BytesPType, ak as EqualityComparison, bj as ObjectLiteralPType, dg as isObjectType$1, dK as readonlyDecorator, cp as arc4AbiMethodDecorator, cq as arc4BareMethodDecorator, d as ARC4CreateOption, bc as NewArray, bl as OnCompletionAction, X as BytesEncoding, cM as bigIntToUint8Array, ao as FixableCodeError, c0 as UInt64BinaryOperator, dS as tryConvertEnum, bg as NumericComparison, c4 as UInt64UnaryOperator, di as itoaMethod, c8 as Uint64Function, c2 as UInt64PostfixUnaryOperator, aq as FixedArrayPType, aS as IterableIteratorType, aR as IterableIteratorGeneric, cn as applicationPType, cC as assetPType, dC as onCompleteActionType, e3 as wrapInCodeError, cH as base32ToUint8Array, dQ as transactionTypeType, bW as TransactionKind, cT as compileFunction, cV as compiledLogicSigType, b5 as LogicSigReference, aD as InnerTransactionPType, bV as TransactionFunctionType, dN as submitGroupItxnFunction, aT as ItxnParamsPType, d6 as getInnerTransactionType, d7 as getItxnParamsType, a9 as CompiledContract, c as ARC4BareMethodConfig, b7 as MethodSignature, c$ as enumFromValue, q as ArrayGeneric, ap as FixedArrayGeneric, e5 as zipStrict, dd as isArrayType, dh as isTupleLike, dv as matchFunction, ct as assertMatchFunction, H as BigUIntBinaryOperator, K as BigUintFunction, J as BigUIntPostfixUnaryOperator, d$ as utf8ToUint8Array, U as BytesBinaryOperator, aL as IntrinsicCall, dX as uint8ArrayToUtf8, Y as BytesFunction, Z as BytesGeneric, cJ as base64ToUint8Array, d0 as enumKeyFromValue, a0 as BytesUnaryOperator, cR as cloneFunction, cW as contractOptionsDecorator, c_ as ensureBudgetFunction, bt as PuyaLibFunction, dD as opUpFeeSourceType, aM as IntrinsicEnumType, du as logicSigOptionsDecorator, aG as InstanceType, bk as ObjectWithOptionalFieldsType, e2 as vrfVerifyPType, dw as mimcConfigurationsPType, cZ as ecdsaPType, cY as ecPType, cI as base64PType, aN as IntrinsicFunctionGroupType, al as Expression, aP as IntrinsicFunctionType, bz as ReferenceArrayGeneric, bA as ReferenceArrayType, l as AppStorageKind, ca as UnsupportedType, dR as transientTypeErrors, ax as GlobalStateGeneric, bT as TemplateVarFunction, d5 as getGroupTransactionType, dj as itxnComposePType, c5 as Uint64EnumMemberLiteralType, cg as anyItxnParamsType, e0 as validateEncodingFunction, O as BooleanFunction, bL as StringFunction, bv as ReadonlyArrayGeneric, bx as ReadonlyGeneric, as as GeneratorGeneric, at as GeneratorType, bp as PromiseGeneric, bq as PromiseType, a2 as ClassMethodDecoratorContext, bQ as SuperPrototypeSelectorGeneric, bo as PolytypeClassMethodHelper, dp as logFunction, cs as assertFunction, d1 as errFunction, dq as loggedAssertFunction, dr as loggedErrFunction, d_ as urangeFunction, cQ 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, dF as paymentGtxnType, bn as PaymentTxnFunction, dk as keyRegistrationGtxnType, aU as KeyRegistrationTxnFunction, cu as assetConfigGtxnType, x as AssetConfigTxnFunction, cD as assetTransferGtxnType, B as AssetTransferTxnFunction, cy as assetFreezeGtxnType, y as AssetFreezeTxnFunction, cj as applicationCallGtxnType, m as ApplicationCallTxnFunction, bU as TransactionFunction, dG as paymentItxnFunction, dl as keyRegistrationItxnFunction, cv as assetConfigItxnFunction, cE as assetTransferItxnFunction, cz as assetFreezeItxnFunction, ck as applicationCallItxnFunction, dI as paymentItxnType, dn as keyRegistrationItxnType, cx as assetConfigItxnType, cG as assetTransferItxnType, cB as assetFreezeItxnType, dH as paymentItxnParamsType, dm as keyRegistrationItxnParamsType, cw as assetConfigItxnParamsType, cF as assetTransferItxnParamsType, cA as assetFreezeItxnParamsType, cl as applicationCallItxnParamsType, d9 as inputOnlyObjects, ab as Contract, aF as InstanceSuperMethodTarget, am as ExpressionStatement, w as AssertExpression, cd as VoidConstant, p as ArrayConcat, u as ArrayPop, v as ArrayReplace, r as ArrayLength, bE as SizeOf, cb as UpdateInnerTransaction, a1 as CheckedMaybe, bG as StageInnerTransactions, bM as SubmitInnerTransaction, C as AssignmentExpression, a7 as CommaExpression, bh as NumericComparisonExpression, V as BytesComparisonExpression, bs as PuyaLibCall, c3 as UInt64UnaryOperation, c1 as UInt64PostfixUnaryOperation, I as BigUIntPostfixUnaryOperation, $ as BytesUnaryOperation, b$ as UInt64BinaryOperation, G as BigUIntBinaryOperation, N as BooleanBinaryOperation, bd as Not, ai as Emit, bu as Range, aj as Enumeration, bC as Reversed, bH as StateExists, e as ARC4Router, b8 as MethodSignatureString, bO as SubroutineID, af as ContractMethodTarget, aE as InstanceMethodTarget, dU as uint8ArrayToBase32, dx as mkDirIfNotExists, dE as patchErrorLocation, az as Goto, bB as ReturnStatement, ae as ContractMethod, dL as sameSets, ac as ContractClassModel, bN as Subroutine, b3 as LogicSigClassModel, dJ as ptypeIn, d3 as expandMaybeArray, b2 as LoggingContext, br as PuyaError } from './contract-class-model-bHAozdbL.js';
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import 'node:util';
|
|
4
4
|
import pathe__default, { normalize } from 'pathe';
|
|
@@ -21437,13 +21437,13 @@ var hasRequiredConnection;
|
|
|
21437
21437
|
function requireConnection () {
|
|
21438
21438
|
if (hasRequiredConnection) return connection;
|
|
21439
21439
|
hasRequiredConnection = 1;
|
|
21440
|
-
(function (exports
|
|
21440
|
+
(function (exports) {
|
|
21441
21441
|
/* --------------------------------------------------------------------------------------------
|
|
21442
21442
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
21443
21443
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
21444
21444
|
* ------------------------------------------------------------------------------------------ */
|
|
21445
|
-
Object.defineProperty(exports
|
|
21446
|
-
exports
|
|
21445
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21446
|
+
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
21447
|
const ral_1 = requireRal();
|
|
21448
21448
|
const Is = requireIs();
|
|
21449
21449
|
const messages_1 = requireMessages();
|
|
@@ -21460,7 +21460,7 @@ function requireConnection () {
|
|
|
21460
21460
|
return typeof value === 'string' || typeof value === 'number';
|
|
21461
21461
|
}
|
|
21462
21462
|
ProgressToken.is = is;
|
|
21463
|
-
})(ProgressToken || (exports
|
|
21463
|
+
})(ProgressToken || (exports.ProgressToken = ProgressToken = {}));
|
|
21464
21464
|
var ProgressNotification;
|
|
21465
21465
|
(function (ProgressNotification) {
|
|
21466
21466
|
ProgressNotification.type = new messages_1.NotificationType('$/progress');
|
|
@@ -21469,7 +21469,7 @@ function requireConnection () {
|
|
|
21469
21469
|
constructor() {
|
|
21470
21470
|
}
|
|
21471
21471
|
}
|
|
21472
|
-
exports
|
|
21472
|
+
exports.ProgressType = ProgressType;
|
|
21473
21473
|
var StarRequestHandler;
|
|
21474
21474
|
(function (StarRequestHandler) {
|
|
21475
21475
|
function is(value) {
|
|
@@ -21477,7 +21477,7 @@ function requireConnection () {
|
|
|
21477
21477
|
}
|
|
21478
21478
|
StarRequestHandler.is = is;
|
|
21479
21479
|
})(StarRequestHandler || (StarRequestHandler = {}));
|
|
21480
|
-
exports
|
|
21480
|
+
exports.NullLogger = Object.freeze({
|
|
21481
21481
|
error: () => { },
|
|
21482
21482
|
warn: () => { },
|
|
21483
21483
|
info: () => { },
|
|
@@ -21489,7 +21489,7 @@ function requireConnection () {
|
|
|
21489
21489
|
Trace[Trace["Messages"] = 1] = "Messages";
|
|
21490
21490
|
Trace[Trace["Compact"] = 2] = "Compact";
|
|
21491
21491
|
Trace[Trace["Verbose"] = 3] = "Verbose";
|
|
21492
|
-
})(Trace || (exports
|
|
21492
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
21493
21493
|
var TraceValues;
|
|
21494
21494
|
(function (TraceValues) {
|
|
21495
21495
|
/**
|
|
@@ -21508,7 +21508,7 @@ function requireConnection () {
|
|
|
21508
21508
|
* Verbose message tracing.
|
|
21509
21509
|
*/
|
|
21510
21510
|
TraceValues.Verbose = 'verbose';
|
|
21511
|
-
})(TraceValues || (exports
|
|
21511
|
+
})(TraceValues || (exports.TraceValues = TraceValues = {}));
|
|
21512
21512
|
(function (Trace) {
|
|
21513
21513
|
function fromString(value) {
|
|
21514
21514
|
if (!Is.string(value)) {
|
|
@@ -21544,12 +21544,12 @@ function requireConnection () {
|
|
|
21544
21544
|
}
|
|
21545
21545
|
}
|
|
21546
21546
|
Trace.toString = toString;
|
|
21547
|
-
})(Trace || (exports
|
|
21547
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
21548
21548
|
var TraceFormat;
|
|
21549
21549
|
(function (TraceFormat) {
|
|
21550
21550
|
TraceFormat["Text"] = "text";
|
|
21551
21551
|
TraceFormat["JSON"] = "json";
|
|
21552
|
-
})(TraceFormat || (exports
|
|
21552
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
21553
21553
|
(function (TraceFormat) {
|
|
21554
21554
|
function fromString(value) {
|
|
21555
21555
|
if (!Is.string(value)) {
|
|
@@ -21564,15 +21564,15 @@ function requireConnection () {
|
|
|
21564
21564
|
}
|
|
21565
21565
|
}
|
|
21566
21566
|
TraceFormat.fromString = fromString;
|
|
21567
|
-
})(TraceFormat || (exports
|
|
21567
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
21568
21568
|
var SetTraceNotification;
|
|
21569
21569
|
(function (SetTraceNotification) {
|
|
21570
21570
|
SetTraceNotification.type = new messages_1.NotificationType('$/setTrace');
|
|
21571
|
-
})(SetTraceNotification || (exports
|
|
21571
|
+
})(SetTraceNotification || (exports.SetTraceNotification = SetTraceNotification = {}));
|
|
21572
21572
|
var LogTraceNotification;
|
|
21573
21573
|
(function (LogTraceNotification) {
|
|
21574
21574
|
LogTraceNotification.type = new messages_1.NotificationType('$/logTrace');
|
|
21575
|
-
})(LogTraceNotification || (exports
|
|
21575
|
+
})(LogTraceNotification || (exports.LogTraceNotification = LogTraceNotification = {}));
|
|
21576
21576
|
var ConnectionErrors;
|
|
21577
21577
|
(function (ConnectionErrors) {
|
|
21578
21578
|
/**
|
|
@@ -21587,7 +21587,7 @@ function requireConnection () {
|
|
|
21587
21587
|
* The connection is already in listening mode.
|
|
21588
21588
|
*/
|
|
21589
21589
|
ConnectionErrors[ConnectionErrors["AlreadyListening"] = 3] = "AlreadyListening";
|
|
21590
|
-
})(ConnectionErrors || (exports
|
|
21590
|
+
})(ConnectionErrors || (exports.ConnectionErrors = ConnectionErrors = {}));
|
|
21591
21591
|
class ConnectionError extends Error {
|
|
21592
21592
|
constructor(code, message) {
|
|
21593
21593
|
super(message);
|
|
@@ -21595,7 +21595,7 @@ function requireConnection () {
|
|
|
21595
21595
|
Object.setPrototypeOf(this, ConnectionError.prototype);
|
|
21596
21596
|
}
|
|
21597
21597
|
}
|
|
21598
|
-
exports
|
|
21598
|
+
exports.ConnectionError = ConnectionError;
|
|
21599
21599
|
var ConnectionStrategy;
|
|
21600
21600
|
(function (ConnectionStrategy) {
|
|
21601
21601
|
function is(value) {
|
|
@@ -21603,7 +21603,7 @@ function requireConnection () {
|
|
|
21603
21603
|
return candidate && Is.func(candidate.cancelUndispatched);
|
|
21604
21604
|
}
|
|
21605
21605
|
ConnectionStrategy.is = is;
|
|
21606
|
-
})(ConnectionStrategy || (exports
|
|
21606
|
+
})(ConnectionStrategy || (exports.ConnectionStrategy = ConnectionStrategy = {}));
|
|
21607
21607
|
var IdCancellationReceiverStrategy;
|
|
21608
21608
|
(function (IdCancellationReceiverStrategy) {
|
|
21609
21609
|
function is(value) {
|
|
@@ -21611,7 +21611,7 @@ function requireConnection () {
|
|
|
21611
21611
|
return candidate && (candidate.kind === undefined || candidate.kind === 'id') && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
21612
21612
|
}
|
|
21613
21613
|
IdCancellationReceiverStrategy.is = is;
|
|
21614
|
-
})(IdCancellationReceiverStrategy || (exports
|
|
21614
|
+
})(IdCancellationReceiverStrategy || (exports.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
|
|
21615
21615
|
var RequestCancellationReceiverStrategy;
|
|
21616
21616
|
(function (RequestCancellationReceiverStrategy) {
|
|
21617
21617
|
function is(value) {
|
|
@@ -21619,7 +21619,7 @@ function requireConnection () {
|
|
|
21619
21619
|
return candidate && candidate.kind === 'request' && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
21620
21620
|
}
|
|
21621
21621
|
RequestCancellationReceiverStrategy.is = is;
|
|
21622
|
-
})(RequestCancellationReceiverStrategy || (exports
|
|
21622
|
+
})(RequestCancellationReceiverStrategy || (exports.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
|
|
21623
21623
|
var CancellationReceiverStrategy;
|
|
21624
21624
|
(function (CancellationReceiverStrategy) {
|
|
21625
21625
|
CancellationReceiverStrategy.Message = Object.freeze({
|
|
@@ -21631,7 +21631,7 @@ function requireConnection () {
|
|
|
21631
21631
|
return IdCancellationReceiverStrategy.is(value) || RequestCancellationReceiverStrategy.is(value);
|
|
21632
21632
|
}
|
|
21633
21633
|
CancellationReceiverStrategy.is = is;
|
|
21634
|
-
})(CancellationReceiverStrategy || (exports
|
|
21634
|
+
})(CancellationReceiverStrategy || (exports.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
|
|
21635
21635
|
var CancellationSenderStrategy;
|
|
21636
21636
|
(function (CancellationSenderStrategy) {
|
|
21637
21637
|
CancellationSenderStrategy.Message = Object.freeze({
|
|
@@ -21645,7 +21645,7 @@ function requireConnection () {
|
|
|
21645
21645
|
return candidate && Is.func(candidate.sendCancellation) && Is.func(candidate.cleanup);
|
|
21646
21646
|
}
|
|
21647
21647
|
CancellationSenderStrategy.is = is;
|
|
21648
|
-
})(CancellationSenderStrategy || (exports
|
|
21648
|
+
})(CancellationSenderStrategy || (exports.CancellationSenderStrategy = CancellationSenderStrategy = {}));
|
|
21649
21649
|
var CancellationStrategy;
|
|
21650
21650
|
(function (CancellationStrategy) {
|
|
21651
21651
|
CancellationStrategy.Message = Object.freeze({
|
|
@@ -21657,7 +21657,7 @@ function requireConnection () {
|
|
|
21657
21657
|
return candidate && CancellationReceiverStrategy.is(candidate.receiver) && CancellationSenderStrategy.is(candidate.sender);
|
|
21658
21658
|
}
|
|
21659
21659
|
CancellationStrategy.is = is;
|
|
21660
|
-
})(CancellationStrategy || (exports
|
|
21660
|
+
})(CancellationStrategy || (exports.CancellationStrategy = CancellationStrategy = {}));
|
|
21661
21661
|
var MessageStrategy;
|
|
21662
21662
|
(function (MessageStrategy) {
|
|
21663
21663
|
function is(value) {
|
|
@@ -21665,7 +21665,7 @@ function requireConnection () {
|
|
|
21665
21665
|
return candidate && Is.func(candidate.handleMessage);
|
|
21666
21666
|
}
|
|
21667
21667
|
MessageStrategy.is = is;
|
|
21668
|
-
})(MessageStrategy || (exports
|
|
21668
|
+
})(MessageStrategy || (exports.MessageStrategy = MessageStrategy = {}));
|
|
21669
21669
|
var ConnectionOptions;
|
|
21670
21670
|
(function (ConnectionOptions) {
|
|
21671
21671
|
function is(value) {
|
|
@@ -21673,7 +21673,7 @@ function requireConnection () {
|
|
|
21673
21673
|
return candidate && (CancellationStrategy.is(candidate.cancellationStrategy) || ConnectionStrategy.is(candidate.connectionStrategy) || MessageStrategy.is(candidate.messageStrategy));
|
|
21674
21674
|
}
|
|
21675
21675
|
ConnectionOptions.is = is;
|
|
21676
|
-
})(ConnectionOptions || (exports
|
|
21676
|
+
})(ConnectionOptions || (exports.ConnectionOptions = ConnectionOptions = {}));
|
|
21677
21677
|
var ConnectionState;
|
|
21678
21678
|
(function (ConnectionState) {
|
|
21679
21679
|
ConnectionState[ConnectionState["New"] = 1] = "New";
|
|
@@ -21682,7 +21682,7 @@ function requireConnection () {
|
|
|
21682
21682
|
ConnectionState[ConnectionState["Disposed"] = 4] = "Disposed";
|
|
21683
21683
|
})(ConnectionState || (ConnectionState = {}));
|
|
21684
21684
|
function createMessageConnection(messageReader, messageWriter, _logger, options) {
|
|
21685
|
-
const logger = _logger !== undefined ? _logger : exports
|
|
21685
|
+
const logger = _logger !== undefined ? _logger : exports.NullLogger;
|
|
21686
21686
|
let sequenceNumber = 0;
|
|
21687
21687
|
let notificationSequenceNumber = 0;
|
|
21688
21688
|
let unknownResponseSequenceNumber = 0;
|
|
@@ -22650,7 +22650,7 @@ function requireConnection () {
|
|
|
22650
22650
|
});
|
|
22651
22651
|
return connection;
|
|
22652
22652
|
}
|
|
22653
|
-
exports
|
|
22653
|
+
exports.createMessageConnection = createMessageConnection;
|
|
22654
22654
|
} (connection));
|
|
22655
22655
|
return connection;
|
|
22656
22656
|
}
|
|
@@ -22660,87 +22660,87 @@ var hasRequiredApi;
|
|
|
22660
22660
|
function requireApi () {
|
|
22661
22661
|
if (hasRequiredApi) return api;
|
|
22662
22662
|
hasRequiredApi = 1;
|
|
22663
|
-
(function (exports
|
|
22663
|
+
(function (exports) {
|
|
22664
22664
|
/* --------------------------------------------------------------------------------------------
|
|
22665
22665
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
22666
22666
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
22667
22667
|
* ------------------------------------------------------------------------------------------ */
|
|
22668
22668
|
/// <reference path="../../typings/thenable.d.ts" />
|
|
22669
|
-
Object.defineProperty(exports
|
|
22670
|
-
exports
|
|
22671
|
-
exports
|
|
22669
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22670
|
+
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;
|
|
22671
|
+
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
22672
|
const messages_1 = requireMessages();
|
|
22673
|
-
Object.defineProperty(exports
|
|
22674
|
-
Object.defineProperty(exports
|
|
22675
|
-
Object.defineProperty(exports
|
|
22676
|
-
Object.defineProperty(exports
|
|
22677
|
-
Object.defineProperty(exports
|
|
22678
|
-
Object.defineProperty(exports
|
|
22679
|
-
Object.defineProperty(exports
|
|
22680
|
-
Object.defineProperty(exports
|
|
22681
|
-
Object.defineProperty(exports
|
|
22682
|
-
Object.defineProperty(exports
|
|
22683
|
-
Object.defineProperty(exports
|
|
22684
|
-
Object.defineProperty(exports
|
|
22685
|
-
Object.defineProperty(exports
|
|
22686
|
-
Object.defineProperty(exports
|
|
22687
|
-
Object.defineProperty(exports
|
|
22688
|
-
Object.defineProperty(exports
|
|
22689
|
-
Object.defineProperty(exports
|
|
22690
|
-
Object.defineProperty(exports
|
|
22691
|
-
Object.defineProperty(exports
|
|
22692
|
-
Object.defineProperty(exports
|
|
22693
|
-
Object.defineProperty(exports
|
|
22694
|
-
Object.defineProperty(exports
|
|
22695
|
-
Object.defineProperty(exports
|
|
22696
|
-
Object.defineProperty(exports
|
|
22697
|
-
Object.defineProperty(exports
|
|
22698
|
-
Object.defineProperty(exports
|
|
22673
|
+
Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return messages_1.Message; } });
|
|
22674
|
+
Object.defineProperty(exports, "RequestType", { enumerable: true, get: function () { return messages_1.RequestType; } });
|
|
22675
|
+
Object.defineProperty(exports, "RequestType0", { enumerable: true, get: function () { return messages_1.RequestType0; } });
|
|
22676
|
+
Object.defineProperty(exports, "RequestType1", { enumerable: true, get: function () { return messages_1.RequestType1; } });
|
|
22677
|
+
Object.defineProperty(exports, "RequestType2", { enumerable: true, get: function () { return messages_1.RequestType2; } });
|
|
22678
|
+
Object.defineProperty(exports, "RequestType3", { enumerable: true, get: function () { return messages_1.RequestType3; } });
|
|
22679
|
+
Object.defineProperty(exports, "RequestType4", { enumerable: true, get: function () { return messages_1.RequestType4; } });
|
|
22680
|
+
Object.defineProperty(exports, "RequestType5", { enumerable: true, get: function () { return messages_1.RequestType5; } });
|
|
22681
|
+
Object.defineProperty(exports, "RequestType6", { enumerable: true, get: function () { return messages_1.RequestType6; } });
|
|
22682
|
+
Object.defineProperty(exports, "RequestType7", { enumerable: true, get: function () { return messages_1.RequestType7; } });
|
|
22683
|
+
Object.defineProperty(exports, "RequestType8", { enumerable: true, get: function () { return messages_1.RequestType8; } });
|
|
22684
|
+
Object.defineProperty(exports, "RequestType9", { enumerable: true, get: function () { return messages_1.RequestType9; } });
|
|
22685
|
+
Object.defineProperty(exports, "ResponseError", { enumerable: true, get: function () { return messages_1.ResponseError; } });
|
|
22686
|
+
Object.defineProperty(exports, "ErrorCodes", { enumerable: true, get: function () { return messages_1.ErrorCodes; } });
|
|
22687
|
+
Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return messages_1.NotificationType; } });
|
|
22688
|
+
Object.defineProperty(exports, "NotificationType0", { enumerable: true, get: function () { return messages_1.NotificationType0; } });
|
|
22689
|
+
Object.defineProperty(exports, "NotificationType1", { enumerable: true, get: function () { return messages_1.NotificationType1; } });
|
|
22690
|
+
Object.defineProperty(exports, "NotificationType2", { enumerable: true, get: function () { return messages_1.NotificationType2; } });
|
|
22691
|
+
Object.defineProperty(exports, "NotificationType3", { enumerable: true, get: function () { return messages_1.NotificationType3; } });
|
|
22692
|
+
Object.defineProperty(exports, "NotificationType4", { enumerable: true, get: function () { return messages_1.NotificationType4; } });
|
|
22693
|
+
Object.defineProperty(exports, "NotificationType5", { enumerable: true, get: function () { return messages_1.NotificationType5; } });
|
|
22694
|
+
Object.defineProperty(exports, "NotificationType6", { enumerable: true, get: function () { return messages_1.NotificationType6; } });
|
|
22695
|
+
Object.defineProperty(exports, "NotificationType7", { enumerable: true, get: function () { return messages_1.NotificationType7; } });
|
|
22696
|
+
Object.defineProperty(exports, "NotificationType8", { enumerable: true, get: function () { return messages_1.NotificationType8; } });
|
|
22697
|
+
Object.defineProperty(exports, "NotificationType9", { enumerable: true, get: function () { return messages_1.NotificationType9; } });
|
|
22698
|
+
Object.defineProperty(exports, "ParameterStructures", { enumerable: true, get: function () { return messages_1.ParameterStructures; } });
|
|
22699
22699
|
const linkedMap_1 = requireLinkedMap();
|
|
22700
|
-
Object.defineProperty(exports
|
|
22701
|
-
Object.defineProperty(exports
|
|
22702
|
-
Object.defineProperty(exports
|
|
22700
|
+
Object.defineProperty(exports, "LinkedMap", { enumerable: true, get: function () { return linkedMap_1.LinkedMap; } });
|
|
22701
|
+
Object.defineProperty(exports, "LRUCache", { enumerable: true, get: function () { return linkedMap_1.LRUCache; } });
|
|
22702
|
+
Object.defineProperty(exports, "Touch", { enumerable: true, get: function () { return linkedMap_1.Touch; } });
|
|
22703
22703
|
const disposable_1 = requireDisposable();
|
|
22704
|
-
Object.defineProperty(exports
|
|
22704
|
+
Object.defineProperty(exports, "Disposable", { enumerable: true, get: function () { return disposable_1.Disposable; } });
|
|
22705
22705
|
const events_1 = requireEvents();
|
|
22706
|
-
Object.defineProperty(exports
|
|
22707
|
-
Object.defineProperty(exports
|
|
22706
|
+
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return events_1.Event; } });
|
|
22707
|
+
Object.defineProperty(exports, "Emitter", { enumerable: true, get: function () { return events_1.Emitter; } });
|
|
22708
22708
|
const cancellation_1 = requireCancellation();
|
|
22709
|
-
Object.defineProperty(exports
|
|
22710
|
-
Object.defineProperty(exports
|
|
22709
|
+
Object.defineProperty(exports, "CancellationTokenSource", { enumerable: true, get: function () { return cancellation_1.CancellationTokenSource; } });
|
|
22710
|
+
Object.defineProperty(exports, "CancellationToken", { enumerable: true, get: function () { return cancellation_1.CancellationToken; } });
|
|
22711
22711
|
const sharedArrayCancellation_1 = requireSharedArrayCancellation();
|
|
22712
|
-
Object.defineProperty(exports
|
|
22713
|
-
Object.defineProperty(exports
|
|
22712
|
+
Object.defineProperty(exports, "SharedArraySenderStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArraySenderStrategy; } });
|
|
22713
|
+
Object.defineProperty(exports, "SharedArrayReceiverStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArrayReceiverStrategy; } });
|
|
22714
22714
|
const messageReader_1 = requireMessageReader();
|
|
22715
|
-
Object.defineProperty(exports
|
|
22716
|
-
Object.defineProperty(exports
|
|
22717
|
-
Object.defineProperty(exports
|
|
22715
|
+
Object.defineProperty(exports, "MessageReader", { enumerable: true, get: function () { return messageReader_1.MessageReader; } });
|
|
22716
|
+
Object.defineProperty(exports, "AbstractMessageReader", { enumerable: true, get: function () { return messageReader_1.AbstractMessageReader; } });
|
|
22717
|
+
Object.defineProperty(exports, "ReadableStreamMessageReader", { enumerable: true, get: function () { return messageReader_1.ReadableStreamMessageReader; } });
|
|
22718
22718
|
const messageWriter_1 = requireMessageWriter();
|
|
22719
|
-
Object.defineProperty(exports
|
|
22720
|
-
Object.defineProperty(exports
|
|
22721
|
-
Object.defineProperty(exports
|
|
22719
|
+
Object.defineProperty(exports, "MessageWriter", { enumerable: true, get: function () { return messageWriter_1.MessageWriter; } });
|
|
22720
|
+
Object.defineProperty(exports, "AbstractMessageWriter", { enumerable: true, get: function () { return messageWriter_1.AbstractMessageWriter; } });
|
|
22721
|
+
Object.defineProperty(exports, "WriteableStreamMessageWriter", { enumerable: true, get: function () { return messageWriter_1.WriteableStreamMessageWriter; } });
|
|
22722
22722
|
const messageBuffer_1 = requireMessageBuffer();
|
|
22723
|
-
Object.defineProperty(exports
|
|
22723
|
+
Object.defineProperty(exports, "AbstractMessageBuffer", { enumerable: true, get: function () { return messageBuffer_1.AbstractMessageBuffer; } });
|
|
22724
22724
|
const connection_1 = requireConnection();
|
|
22725
|
-
Object.defineProperty(exports
|
|
22726
|
-
Object.defineProperty(exports
|
|
22727
|
-
Object.defineProperty(exports
|
|
22728
|
-
Object.defineProperty(exports
|
|
22729
|
-
Object.defineProperty(exports
|
|
22730
|
-
Object.defineProperty(exports
|
|
22731
|
-
Object.defineProperty(exports
|
|
22732
|
-
Object.defineProperty(exports
|
|
22733
|
-
Object.defineProperty(exports
|
|
22734
|
-
Object.defineProperty(exports
|
|
22735
|
-
Object.defineProperty(exports
|
|
22736
|
-
Object.defineProperty(exports
|
|
22737
|
-
Object.defineProperty(exports
|
|
22738
|
-
Object.defineProperty(exports
|
|
22739
|
-
Object.defineProperty(exports
|
|
22740
|
-
Object.defineProperty(exports
|
|
22741
|
-
Object.defineProperty(exports
|
|
22725
|
+
Object.defineProperty(exports, "ConnectionStrategy", { enumerable: true, get: function () { return connection_1.ConnectionStrategy; } });
|
|
22726
|
+
Object.defineProperty(exports, "ConnectionOptions", { enumerable: true, get: function () { return connection_1.ConnectionOptions; } });
|
|
22727
|
+
Object.defineProperty(exports, "NullLogger", { enumerable: true, get: function () { return connection_1.NullLogger; } });
|
|
22728
|
+
Object.defineProperty(exports, "createMessageConnection", { enumerable: true, get: function () { return connection_1.createMessageConnection; } });
|
|
22729
|
+
Object.defineProperty(exports, "ProgressToken", { enumerable: true, get: function () { return connection_1.ProgressToken; } });
|
|
22730
|
+
Object.defineProperty(exports, "ProgressType", { enumerable: true, get: function () { return connection_1.ProgressType; } });
|
|
22731
|
+
Object.defineProperty(exports, "Trace", { enumerable: true, get: function () { return connection_1.Trace; } });
|
|
22732
|
+
Object.defineProperty(exports, "TraceValues", { enumerable: true, get: function () { return connection_1.TraceValues; } });
|
|
22733
|
+
Object.defineProperty(exports, "TraceFormat", { enumerable: true, get: function () { return connection_1.TraceFormat; } });
|
|
22734
|
+
Object.defineProperty(exports, "SetTraceNotification", { enumerable: true, get: function () { return connection_1.SetTraceNotification; } });
|
|
22735
|
+
Object.defineProperty(exports, "LogTraceNotification", { enumerable: true, get: function () { return connection_1.LogTraceNotification; } });
|
|
22736
|
+
Object.defineProperty(exports, "ConnectionErrors", { enumerable: true, get: function () { return connection_1.ConnectionErrors; } });
|
|
22737
|
+
Object.defineProperty(exports, "ConnectionError", { enumerable: true, get: function () { return connection_1.ConnectionError; } });
|
|
22738
|
+
Object.defineProperty(exports, "CancellationReceiverStrategy", { enumerable: true, get: function () { return connection_1.CancellationReceiverStrategy; } });
|
|
22739
|
+
Object.defineProperty(exports, "CancellationSenderStrategy", { enumerable: true, get: function () { return connection_1.CancellationSenderStrategy; } });
|
|
22740
|
+
Object.defineProperty(exports, "CancellationStrategy", { enumerable: true, get: function () { return connection_1.CancellationStrategy; } });
|
|
22741
|
+
Object.defineProperty(exports, "MessageStrategy", { enumerable: true, get: function () { return connection_1.MessageStrategy; } });
|
|
22742
22742
|
const ral_1 = requireRal();
|
|
22743
|
-
exports
|
|
22743
|
+
exports.RAL = ral_1.default;
|
|
22744
22744
|
} (api));
|
|
22745
22745
|
return api;
|
|
22746
22746
|
}
|
|
@@ -22918,7 +22918,7 @@ var hasRequiredMain;
|
|
|
22918
22918
|
function requireMain () {
|
|
22919
22919
|
if (hasRequiredMain) return main;
|
|
22920
22920
|
hasRequiredMain = 1;
|
|
22921
|
-
(function (exports
|
|
22921
|
+
(function (exports) {
|
|
22922
22922
|
var __createBinding = (main && main.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
22923
22923
|
if (k2 === undefined) k2 = k;
|
|
22924
22924
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -22930,11 +22930,11 @@ function requireMain () {
|
|
|
22930
22930
|
if (k2 === undefined) k2 = k;
|
|
22931
22931
|
o[k2] = m[k];
|
|
22932
22932
|
}));
|
|
22933
|
-
var __exportStar = (main && main.__exportStar) || function(m, exports
|
|
22934
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
22933
|
+
var __exportStar = (main && main.__exportStar) || function(m, exports) {
|
|
22934
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22935
22935
|
};
|
|
22936
|
-
Object.defineProperty(exports
|
|
22937
|
-
exports
|
|
22936
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22937
|
+
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
22938
|
/* --------------------------------------------------------------------------------------------
|
|
22939
22939
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
22940
22940
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -22947,7 +22947,7 @@ function requireMain () {
|
|
|
22947
22947
|
const crypto_1 = require$$3__default;
|
|
22948
22948
|
const net_1 = require$$4;
|
|
22949
22949
|
const api_1 = requireApi();
|
|
22950
|
-
__exportStar(requireApi(), exports
|
|
22950
|
+
__exportStar(requireApi(), exports);
|
|
22951
22951
|
class IPCMessageReader extends api_1.AbstractMessageReader {
|
|
22952
22952
|
constructor(process) {
|
|
22953
22953
|
super();
|
|
@@ -22961,7 +22961,7 @@ function requireMain () {
|
|
|
22961
22961
|
return api_1.Disposable.create(() => this.process.off('message', callback));
|
|
22962
22962
|
}
|
|
22963
22963
|
}
|
|
22964
|
-
exports
|
|
22964
|
+
exports.IPCMessageReader = IPCMessageReader;
|
|
22965
22965
|
class IPCMessageWriter extends api_1.AbstractMessageWriter {
|
|
22966
22966
|
constructor(process) {
|
|
22967
22967
|
super();
|
|
@@ -22998,7 +22998,7 @@ function requireMain () {
|
|
|
22998
22998
|
end() {
|
|
22999
22999
|
}
|
|
23000
23000
|
}
|
|
23001
|
-
exports
|
|
23001
|
+
exports.IPCMessageWriter = IPCMessageWriter;
|
|
23002
23002
|
class PortMessageReader extends api_1.AbstractMessageReader {
|
|
23003
23003
|
constructor(port) {
|
|
23004
23004
|
super();
|
|
@@ -23013,7 +23013,7 @@ function requireMain () {
|
|
|
23013
23013
|
return this.onData.event(callback);
|
|
23014
23014
|
}
|
|
23015
23015
|
}
|
|
23016
|
-
exports
|
|
23016
|
+
exports.PortMessageReader = PortMessageReader;
|
|
23017
23017
|
class PortMessageWriter extends api_1.AbstractMessageWriter {
|
|
23018
23018
|
constructor(port) {
|
|
23019
23019
|
super();
|
|
@@ -23039,13 +23039,13 @@ function requireMain () {
|
|
|
23039
23039
|
end() {
|
|
23040
23040
|
}
|
|
23041
23041
|
}
|
|
23042
|
-
exports
|
|
23042
|
+
exports.PortMessageWriter = PortMessageWriter;
|
|
23043
23043
|
class SocketMessageReader extends api_1.ReadableStreamMessageReader {
|
|
23044
23044
|
constructor(socket, encoding = 'utf-8') {
|
|
23045
23045
|
super((0, ril_1.default)().stream.asReadableStream(socket), encoding);
|
|
23046
23046
|
}
|
|
23047
23047
|
}
|
|
23048
|
-
exports
|
|
23048
|
+
exports.SocketMessageReader = SocketMessageReader;
|
|
23049
23049
|
class SocketMessageWriter extends api_1.WriteableStreamMessageWriter {
|
|
23050
23050
|
constructor(socket, options) {
|
|
23051
23051
|
super((0, ril_1.default)().stream.asWritableStream(socket), options);
|
|
@@ -23056,19 +23056,19 @@ function requireMain () {
|
|
|
23056
23056
|
this.socket.destroy();
|
|
23057
23057
|
}
|
|
23058
23058
|
}
|
|
23059
|
-
exports
|
|
23059
|
+
exports.SocketMessageWriter = SocketMessageWriter;
|
|
23060
23060
|
class StreamMessageReader extends api_1.ReadableStreamMessageReader {
|
|
23061
23061
|
constructor(readable, encoding) {
|
|
23062
23062
|
super((0, ril_1.default)().stream.asReadableStream(readable), encoding);
|
|
23063
23063
|
}
|
|
23064
23064
|
}
|
|
23065
|
-
exports
|
|
23065
|
+
exports.StreamMessageReader = StreamMessageReader;
|
|
23066
23066
|
class StreamMessageWriter extends api_1.WriteableStreamMessageWriter {
|
|
23067
23067
|
constructor(writable, options) {
|
|
23068
23068
|
super((0, ril_1.default)().stream.asWritableStream(writable), options);
|
|
23069
23069
|
}
|
|
23070
23070
|
}
|
|
23071
|
-
exports
|
|
23071
|
+
exports.StreamMessageWriter = StreamMessageWriter;
|
|
23072
23072
|
const XDG_RUNTIME_DIR = process.env['XDG_RUNTIME_DIR'];
|
|
23073
23073
|
const safeIpcPathLengths = new Map([
|
|
23074
23074
|
['linux', 107],
|
|
@@ -23092,7 +23092,7 @@ function requireMain () {
|
|
|
23092
23092
|
}
|
|
23093
23093
|
return result;
|
|
23094
23094
|
}
|
|
23095
|
-
exports
|
|
23095
|
+
exports.generateRandomPipeName = generateRandomPipeName;
|
|
23096
23096
|
function createClientPipeTransport(pipeName, encoding = 'utf-8') {
|
|
23097
23097
|
let connectResolve;
|
|
23098
23098
|
const connected = new Promise((resolve, _reject) => {
|
|
@@ -23115,7 +23115,7 @@ function requireMain () {
|
|
|
23115
23115
|
});
|
|
23116
23116
|
});
|
|
23117
23117
|
}
|
|
23118
|
-
exports
|
|
23118
|
+
exports.createClientPipeTransport = createClientPipeTransport;
|
|
23119
23119
|
function createServerPipeTransport(pipeName, encoding = 'utf-8') {
|
|
23120
23120
|
const socket = (0, net_1.createConnection)(pipeName);
|
|
23121
23121
|
return [
|
|
@@ -23123,7 +23123,7 @@ function requireMain () {
|
|
|
23123
23123
|
new SocketMessageWriter(socket, encoding)
|
|
23124
23124
|
];
|
|
23125
23125
|
}
|
|
23126
|
-
exports
|
|
23126
|
+
exports.createServerPipeTransport = createServerPipeTransport;
|
|
23127
23127
|
function createClientSocketTransport(port, encoding = 'utf-8') {
|
|
23128
23128
|
let connectResolve;
|
|
23129
23129
|
const connected = new Promise((resolve, _reject) => {
|
|
@@ -23146,7 +23146,7 @@ function requireMain () {
|
|
|
23146
23146
|
});
|
|
23147
23147
|
});
|
|
23148
23148
|
}
|
|
23149
|
-
exports
|
|
23149
|
+
exports.createClientSocketTransport = createClientSocketTransport;
|
|
23150
23150
|
function createServerSocketTransport(port, encoding = 'utf-8') {
|
|
23151
23151
|
const socket = (0, net_1.createConnection)(port, '127.0.0.1');
|
|
23152
23152
|
return [
|
|
@@ -23154,7 +23154,7 @@ function requireMain () {
|
|
|
23154
23154
|
new SocketMessageWriter(socket, encoding)
|
|
23155
23155
|
];
|
|
23156
23156
|
}
|
|
23157
|
-
exports
|
|
23157
|
+
exports.createServerSocketTransport = createServerSocketTransport;
|
|
23158
23158
|
function isReadableStream(value) {
|
|
23159
23159
|
const candidate = value;
|
|
23160
23160
|
return candidate.read !== undefined && candidate.addListener !== undefined;
|
|
@@ -23174,7 +23174,7 @@ function requireMain () {
|
|
|
23174
23174
|
}
|
|
23175
23175
|
return (0, api_1.createMessageConnection)(reader, writer, logger, options);
|
|
23176
23176
|
}
|
|
23177
|
-
exports
|
|
23177
|
+
exports.createMessageConnection = createMessageConnection;
|
|
23178
23178
|
} (main));
|
|
23179
23179
|
return main;
|
|
23180
23180
|
}
|
|
@@ -23482,5 +23482,5 @@ class PuyaOptions {
|
|
|
23482
23482
|
}
|
|
23483
23483
|
}
|
|
23484
23484
|
|
|
23485
|
-
export {
|
|
23486
|
-
//# sourceMappingURL=options-
|
|
23485
|
+
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 };
|
|
23486
|
+
//# sourceMappingURL=options-lB3ucfHV.js.map
|