@attocash/commons-js 5.0.0 → 5.1.0
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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
- package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
- package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
- package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
- package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
- package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
- package/package.json +1 -1
|
@@ -48,8 +48,8 @@ function WriteMode() {
|
|
|
48
48
|
class $ extends Enum() {
|
|
49
49
|
constructor(name, ordinal, begin, end) {
|
|
50
50
|
super(name, ordinal);
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
51
|
+
this.a6p_1 = begin;
|
|
52
|
+
this.b6p_1 = end;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
initMetadataForClass($, 'WriteMode');
|
|
@@ -80,7 +80,7 @@ function switchMode(_this__u8e3s4, desc) {
|
|
|
80
80
|
if (tmp_1) {
|
|
81
81
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
82
82
|
} else {
|
|
83
|
-
if (_this__u8e3s4.
|
|
83
|
+
if (_this__u8e3s4.n6g_1.a6i_1) {
|
|
84
84
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
85
85
|
} else {
|
|
86
86
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -11,14 +11,14 @@ var CIOClass;
|
|
|
11
11
|
function CIO() {
|
|
12
12
|
if (CIOClass === VOID) {
|
|
13
13
|
class $ {
|
|
14
|
-
|
|
14
|
+
z6z(block) {
|
|
15
15
|
// Inline function 'kotlin.apply' call
|
|
16
16
|
var this_0 = new (CIOEngineConfig())();
|
|
17
17
|
block(this_0);
|
|
18
18
|
return new (CIOEngine())(this_0);
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
return this.
|
|
20
|
+
t51(block) {
|
|
21
|
+
return this.z6z(block);
|
|
22
22
|
}
|
|
23
23
|
toString() {
|
|
24
24
|
return 'CIO';
|
|
@@ -60,18 +60,18 @@ import { CompletableJob1w6swnu15iclo as CompletableJob } from '../../../../../..
|
|
|
60
60
|
function selectEndpoint($this, url, proxy, unixSocket) {
|
|
61
61
|
var host;
|
|
62
62
|
var port;
|
|
63
|
-
var protocol = url.
|
|
63
|
+
var protocol = url.a4a_1;
|
|
64
64
|
if (!(proxy == null)) {
|
|
65
65
|
var proxyAddress = resolveAddress(proxy);
|
|
66
66
|
host = get_hostname(proxyAddress);
|
|
67
67
|
port = get_port(proxyAddress);
|
|
68
68
|
} else {
|
|
69
|
-
host = url.
|
|
70
|
-
port = url.
|
|
69
|
+
host = url.o49_1;
|
|
70
|
+
port = url.g4b();
|
|
71
71
|
}
|
|
72
72
|
var tmp = protocol.toString();
|
|
73
|
-
var endpointId = host + ':' + port + ':' + tmp + ':' + (unixSocket == null ? null : unixSocket.
|
|
74
|
-
return $this.
|
|
73
|
+
var endpointId = host + ':' + port + ':' + tmp + ':' + (unixSocket == null ? null : unixSocket.a70_1);
|
|
74
|
+
return $this.h70_1.w3x(endpointId, CIOEngine$selectEndpoint$lambda(protocol, host, port, proxy, $this, unixSocket, endpointId));
|
|
75
75
|
}
|
|
76
76
|
var CIOEngine$slambdaClass;
|
|
77
77
|
function CIOEngine$slambda() {
|
|
@@ -80,18 +80,18 @@ function CIOEngine$slambda() {
|
|
|
80
80
|
constructor($requestJob, $selector, resultContinuation, $box) {
|
|
81
81
|
if ($box === VOID)
|
|
82
82
|
$box = {};
|
|
83
|
-
$box.
|
|
84
|
-
$box.
|
|
83
|
+
$box.v70_1 = $requestJob;
|
|
84
|
+
$box.w70_1 = $selector;
|
|
85
85
|
super(resultContinuation, $box);
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
var tmp = this.
|
|
87
|
+
z37($this$launch, $completion) {
|
|
88
|
+
var tmp = this.d36($this$launch, $completion);
|
|
89
89
|
tmp.cc_1 = Unit_instance;
|
|
90
90
|
tmp.dc_1 = null;
|
|
91
91
|
return tmp.ic();
|
|
92
92
|
}
|
|
93
93
|
kd(p1, $completion) {
|
|
94
|
-
return this.
|
|
94
|
+
return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
95
95
|
}
|
|
96
96
|
ic() {
|
|
97
97
|
var suspendResult = this.cc_1;
|
|
@@ -106,25 +106,25 @@ function CIOEngine$slambda() {
|
|
|
106
106
|
case 1:
|
|
107
107
|
this.bc_1 = 4;
|
|
108
108
|
this.ac_1 = 2;
|
|
109
|
-
suspendResult = this.
|
|
109
|
+
suspendResult = this.v70_1.z1y(this);
|
|
110
110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
111
111
|
return suspendResult;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
continue $sm;
|
|
115
115
|
case 2:
|
|
116
|
-
this.
|
|
116
|
+
this.y70_1 = suspendResult;
|
|
117
117
|
this.bc_1 = 5;
|
|
118
118
|
this.ac_1 = 3;
|
|
119
119
|
continue $sm;
|
|
120
120
|
case 3:
|
|
121
121
|
this.bc_1 = 5;
|
|
122
|
-
this.
|
|
122
|
+
this.w70_1.v5();
|
|
123
123
|
return Unit_instance;
|
|
124
124
|
case 4:
|
|
125
125
|
this.bc_1 = 5;
|
|
126
126
|
var t = this.dc_1;
|
|
127
|
-
this.
|
|
127
|
+
this.w70_1.v5();
|
|
128
128
|
throw t;
|
|
129
129
|
case 5:
|
|
130
130
|
throw this.dc_1;
|
|
@@ -140,9 +140,9 @@ function CIOEngine$slambda() {
|
|
|
140
140
|
}
|
|
141
141
|
while (true);
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
var i = new (CIOEngine$slambda())(this.
|
|
145
|
-
i.
|
|
143
|
+
d36($this$launch, completion) {
|
|
144
|
+
var i = new (CIOEngine$slambda())(this.v70_1, this.w70_1, completion);
|
|
145
|
+
i.x70_1 = $this$launch;
|
|
146
146
|
return i;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -154,21 +154,21 @@ function CIOEngine$slambda() {
|
|
|
154
154
|
function CIOEngine$slambda_0($requestJob, $selector, resultContinuation) {
|
|
155
155
|
var i = new (CIOEngine$slambda())($requestJob, $selector, resultContinuation);
|
|
156
156
|
var l = function ($this$launch, $completion) {
|
|
157
|
-
return i.
|
|
157
|
+
return i.z37($this$launch, $completion);
|
|
158
158
|
};
|
|
159
159
|
l.$arity = 1;
|
|
160
160
|
return l;
|
|
161
161
|
}
|
|
162
162
|
function CIOEngine$selectEndpoint$lambda$lambda(this$0, $endpointId) {
|
|
163
163
|
return function () {
|
|
164
|
-
this$0.
|
|
164
|
+
this$0.h70_1.b3y($endpointId);
|
|
165
165
|
return Unit_instance;
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
function CIOEngine$selectEndpoint$lambda($protocol, $host, $port, $proxy, this$0, $unixSocket, $endpointId) {
|
|
169
169
|
return function () {
|
|
170
170
|
var secure = isSecure($protocol);
|
|
171
|
-
return new (Endpoint())($host, $port, $proxy, secure, this$0.
|
|
171
|
+
return new (Endpoint())($host, $port, $proxy, secure, this$0.f70_1, this$0.j70_1, this$0.l70_1, CIOEngine$selectEndpoint$lambda$lambda(this$0, $endpointId), $unixSocket);
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
var $executeCOROUTINE$Class;
|
|
@@ -177,8 +177,8 @@ function $executeCOROUTINE$() {
|
|
|
177
177
|
class $ extends CoroutineImpl() {
|
|
178
178
|
constructor(_this__u8e3s4, data, resultContinuation) {
|
|
179
179
|
super(resultContinuation);
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
180
|
+
this.h71_1 = _this__u8e3s4;
|
|
181
|
+
this.i71_1 = data;
|
|
182
182
|
}
|
|
183
183
|
ic() {
|
|
184
184
|
var suspendResult = this.cc_1;
|
|
@@ -196,17 +196,17 @@ function $executeCOROUTINE$() {
|
|
|
196
196
|
|
|
197
197
|
continue $sm;
|
|
198
198
|
case 1:
|
|
199
|
-
this.
|
|
199
|
+
this.j71_1 = suspendResult;
|
|
200
200
|
this.ac_1 = 2;
|
|
201
201
|
continue $sm;
|
|
202
202
|
case 2:
|
|
203
|
-
if (!get_isActive(this.
|
|
203
|
+
if (!get_isActive(this.h71_1.l70_1)) {
|
|
204
204
|
this.ac_1 = 12;
|
|
205
205
|
continue $sm;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
208
|
+
this.k71_1 = this.i71_1.i5r(UnixSocketCapability_instance);
|
|
209
|
+
this.l71_1 = selectEndpoint(this.h71_1, this.i71_1.q56_1, this.h71_1.m70_1, this.k71_1);
|
|
210
210
|
this.ac_1 = 3;
|
|
211
211
|
continue $sm;
|
|
212
212
|
case 3:
|
|
@@ -219,23 +219,23 @@ function $executeCOROUTINE$() {
|
|
|
219
219
|
this.bc_1 = 9;
|
|
220
220
|
this.bc_1 = 8;
|
|
221
221
|
this.ac_1 = 6;
|
|
222
|
-
suspendResult = this.
|
|
222
|
+
suspendResult = this.l71_1.c72(this.i71_1, this.j71_1, this);
|
|
223
223
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
224
224
|
return suspendResult;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
continue $sm;
|
|
228
228
|
case 6:
|
|
229
|
-
this.
|
|
229
|
+
this.n71_1 = suspendResult;
|
|
230
230
|
this.bc_1 = 13;
|
|
231
231
|
this.ac_1 = 7;
|
|
232
232
|
var tmp_0 = this;
|
|
233
233
|
continue $sm;
|
|
234
234
|
case 7:
|
|
235
|
-
var tmp_1 = this.
|
|
235
|
+
var tmp_1 = this.n71_1;
|
|
236
236
|
this.bc_1 = 13;
|
|
237
|
-
if (!get_isActive(this.
|
|
238
|
-
this.
|
|
237
|
+
if (!get_isActive(this.h71_1.l70_1)) {
|
|
238
|
+
this.l71_1.v5();
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
return tmp_1;
|
|
@@ -244,7 +244,7 @@ function $executeCOROUTINE$() {
|
|
|
244
244
|
var tmp_2 = this.dc_1;
|
|
245
245
|
if (tmp_2 instanceof ClosedSendChannelException()) {
|
|
246
246
|
var _unused_var__etf5q3 = this.dc_1;
|
|
247
|
-
this.
|
|
247
|
+
this.m71_1 = Unit_instance;
|
|
248
248
|
this.bc_1 = 13;
|
|
249
249
|
this.ac_1 = 10;
|
|
250
250
|
var tmp_3 = this;
|
|
@@ -256,29 +256,29 @@ function $executeCOROUTINE$() {
|
|
|
256
256
|
case 9:
|
|
257
257
|
this.bc_1 = 13;
|
|
258
258
|
var t = this.dc_1;
|
|
259
|
-
if (!get_isActive(this.
|
|
260
|
-
this.
|
|
259
|
+
if (!get_isActive(this.h71_1.l70_1)) {
|
|
260
|
+
this.l71_1.v5();
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
throw t;
|
|
264
264
|
case 10:
|
|
265
265
|
this.bc_1 = 13;
|
|
266
|
-
if (!get_isActive(this.
|
|
267
|
-
this.
|
|
266
|
+
if (!get_isActive(this.h71_1.l70_1)) {
|
|
267
|
+
this.l71_1.v5();
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
this.ac_1 = 2;
|
|
271
271
|
continue $sm;
|
|
272
272
|
case 11:
|
|
273
273
|
this.bc_1 = 13;
|
|
274
|
-
if (!get_isActive(this.
|
|
275
|
-
this.
|
|
274
|
+
if (!get_isActive(this.h71_1.l70_1)) {
|
|
275
|
+
this.l71_1.v5();
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
this.ac_1 = 2;
|
|
279
279
|
continue $sm;
|
|
280
280
|
case 12:
|
|
281
|
-
throw ClientEngineClosedException().
|
|
281
|
+
throw ClientEngineClosedException().i58();
|
|
282
282
|
case 13:
|
|
283
283
|
throw this.dc_1;
|
|
284
284
|
}
|
|
@@ -305,13 +305,13 @@ function CIOEngine() {
|
|
|
305
305
|
class $ extends HttpClientEngineBase() {
|
|
306
306
|
constructor(config) {
|
|
307
307
|
super('ktor-cio');
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
308
|
+
this.f70_1 = config;
|
|
309
|
+
this.g70_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance, SSECapability_instance, UnixSocketCapability_instance]);
|
|
310
|
+
this.h70_1 = new (ConcurrentMap())();
|
|
311
|
+
this.i70_1 = SelectorManager(this.s58());
|
|
312
|
+
this.j70_1 = new (ConnectionFactory())(this.i70_1, this.f70_1.j72_1, this.f70_1.h72_1.l72_1);
|
|
313
313
|
var tmp = this;
|
|
314
|
-
var tmp0_safe_receiver = this.
|
|
314
|
+
var tmp0_safe_receiver = this.f70_1.n58_1;
|
|
315
315
|
var type = tmp0_safe_receiver == null ? null : get_type(tmp0_safe_receiver);
|
|
316
316
|
var tmp_0;
|
|
317
317
|
switch (type == null ? -1 : type.h3_1) {
|
|
@@ -320,33 +320,33 @@ function CIOEngine() {
|
|
|
320
320
|
tmp_0 = null;
|
|
321
321
|
break;
|
|
322
322
|
case 1:
|
|
323
|
-
tmp_0 = this.
|
|
323
|
+
tmp_0 = this.f70_1.n58_1;
|
|
324
324
|
break;
|
|
325
325
|
default:
|
|
326
326
|
throw IllegalStateException().o4('CIO engine does not currently support ' + toString(type) + ' proxies.');
|
|
327
327
|
}
|
|
328
|
-
tmp.
|
|
328
|
+
tmp.m70_1 = tmp_0;
|
|
329
329
|
var parentContext = super.s1x();
|
|
330
330
|
var parent = ensureNotNull(parentContext.nc(Key_instance));
|
|
331
|
-
this.
|
|
332
|
-
var requestField = this.
|
|
333
|
-
this.
|
|
331
|
+
this.k70_1 = SilentSupervisor(parent);
|
|
332
|
+
var requestField = this.k70_1;
|
|
333
|
+
this.l70_1 = parentContext.lm(requestField);
|
|
334
334
|
var requestJob = ensureNotNull(requestField.nc(Key_instance));
|
|
335
|
-
var selector = this.
|
|
335
|
+
var selector = this.i70_1;
|
|
336
336
|
var tmp_1 = GlobalScope_instance;
|
|
337
337
|
var tmp_2 = CoroutineStart_ATOMIC_getInstance();
|
|
338
338
|
launch(tmp_1, parentContext, tmp_2, CIOEngine$slambda_0(requestJob, selector, null));
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
return this.
|
|
340
|
+
u50() {
|
|
341
|
+
return this.f70_1;
|
|
342
342
|
}
|
|
343
|
-
|
|
344
|
-
return this.
|
|
343
|
+
x56() {
|
|
344
|
+
return this.g70_1;
|
|
345
345
|
}
|
|
346
346
|
s1x() {
|
|
347
|
-
return this.
|
|
347
|
+
return this.l70_1;
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
j58(data, $completion) {
|
|
350
350
|
var tmp = new ($executeCOROUTINE$())(this, data, $completion);
|
|
351
351
|
tmp.cc_1 = Unit_instance;
|
|
352
352
|
tmp.dc_1 = null;
|
|
@@ -356,14 +356,14 @@ function CIOEngine() {
|
|
|
356
356
|
super.v5();
|
|
357
357
|
// Inline function 'kotlin.collections.forEach' call
|
|
358
358
|
// Inline function 'kotlin.collections.iterator' call
|
|
359
|
-
var _iterator__ex2g4s = this.
|
|
359
|
+
var _iterator__ex2g4s = this.h70_1.q1().d1();
|
|
360
360
|
while (_iterator__ex2g4s.e1()) {
|
|
361
361
|
var element = _iterator__ex2g4s.f1();
|
|
362
362
|
// Inline function 'kotlin.collections.component2' call
|
|
363
363
|
var endpoint = element.s1();
|
|
364
364
|
endpoint.v5();
|
|
365
365
|
}
|
|
366
|
-
var tmp = this.
|
|
366
|
+
var tmp = this.k70_1.nc(Key_instance);
|
|
367
367
|
((!(tmp == null) ? isInterface(tmp, CompletableJob()) : false) ? tmp : THROW_CCE()).d25();
|
|
368
368
|
}
|
|
369
369
|
}
|
|
@@ -13,10 +13,10 @@ function CIOEngineConfig() {
|
|
|
13
13
|
class $ extends HttpClientEngineConfig() {
|
|
14
14
|
constructor() {
|
|
15
15
|
super();
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
16
|
+
this.h72_1 = new (EndpointConfig())();
|
|
17
|
+
this.i72_1 = new (TLSConfigBuilder())();
|
|
18
|
+
this.j72_1 = 1000;
|
|
19
|
+
this.k72_1 = new (Long())(15000, 0);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
initMetadataForClass($, 'CIOEngineConfig', CIOEngineConfig);
|
|
@@ -29,13 +29,13 @@ function EndpointConfig() {
|
|
|
29
29
|
if (EndpointConfigClass === VOID) {
|
|
30
30
|
class $ {
|
|
31
31
|
constructor() {
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
32
|
+
this.l72_1 = 100;
|
|
33
|
+
this.m72_1 = new (Long())(5000, 0);
|
|
34
|
+
this.n72_1 = 20;
|
|
35
|
+
this.o72_1 = new (Long())(5000, 0);
|
|
36
|
+
this.p72_1 = new (Long())(-1, 2147483647);
|
|
37
|
+
this.q72_1 = 1;
|
|
38
|
+
this.r72_1 = false;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
initMetadataForClass($, 'EndpointConfig', EndpointConfig);
|
|
@@ -15,7 +15,7 @@ import { Unit_instance1fbcbse1fwigr as Unit_instance } from '../../../../../../k
|
|
|
15
15
|
//endregion
|
|
16
16
|
function ConnectionFactory$connect$lambda(this$0) {
|
|
17
17
|
return function () {
|
|
18
|
-
return Semaphore(this$0.
|
|
18
|
+
return Semaphore(this$0.t72_1);
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
var $connectCOROUTINE$Class;
|
|
@@ -24,9 +24,9 @@ function $connectCOROUTINE$() {
|
|
|
24
24
|
class $ extends CoroutineImpl() {
|
|
25
25
|
constructor(_this__u8e3s4, address, configuration, resultContinuation) {
|
|
26
26
|
super(resultContinuation);
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
27
|
+
this.e73_1 = _this__u8e3s4;
|
|
28
|
+
this.f73_1 = address;
|
|
29
|
+
this.g73_1 = configuration;
|
|
30
30
|
}
|
|
31
31
|
ic() {
|
|
32
32
|
var suspendResult = this.cc_1;
|
|
@@ -37,7 +37,7 @@ function $connectCOROUTINE$() {
|
|
|
37
37
|
case 0:
|
|
38
38
|
this.bc_1 = 8;
|
|
39
39
|
this.ac_1 = 1;
|
|
40
|
-
suspendResult = this.
|
|
40
|
+
suspendResult = this.e73_1.u72_1.l2o(this);
|
|
41
41
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
42
42
|
return suspendResult;
|
|
43
43
|
}
|
|
@@ -46,9 +46,9 @@ function $connectCOROUTINE$() {
|
|
|
46
46
|
case 1:
|
|
47
47
|
this.bc_1 = 6;
|
|
48
48
|
var tmp_0 = this;
|
|
49
|
-
tmp_0.
|
|
49
|
+
tmp_0.i73_1 = this.e73_1.v72_1.w3x(this.f73_1, ConnectionFactory$connect$lambda(this.e73_1));
|
|
50
50
|
this.ac_1 = 2;
|
|
51
|
-
suspendResult = this.
|
|
51
|
+
suspendResult = this.i73_1.l2o(this);
|
|
52
52
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
53
53
|
return suspendResult;
|
|
54
54
|
}
|
|
@@ -57,14 +57,14 @@ function $connectCOROUTINE$() {
|
|
|
57
57
|
case 2:
|
|
58
58
|
this.bc_1 = 4;
|
|
59
59
|
this.ac_1 = 3;
|
|
60
|
-
suspendResult = aSocket(this.
|
|
60
|
+
suspendResult = aSocket(this.e73_1.s72_1).q6u().x6w(this.f73_1, this.g73_1, this);
|
|
61
61
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
62
62
|
return suspendResult;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
continue $sm;
|
|
66
66
|
case 3:
|
|
67
|
-
this.
|
|
67
|
+
this.j73_1 = suspendResult;
|
|
68
68
|
this.bc_1 = 6;
|
|
69
69
|
this.ac_1 = 5;
|
|
70
70
|
continue $sm;
|
|
@@ -74,7 +74,7 @@ function $connectCOROUTINE$() {
|
|
|
74
74
|
if (tmp_1 instanceof Error) {
|
|
75
75
|
var cause = this.dc_1;
|
|
76
76
|
var tmp_2 = this;
|
|
77
|
-
this.
|
|
77
|
+
this.i73_1.m2o();
|
|
78
78
|
throw cause;
|
|
79
79
|
} else {
|
|
80
80
|
throw this.dc_1;
|
|
@@ -82,7 +82,7 @@ function $connectCOROUTINE$() {
|
|
|
82
82
|
|
|
83
83
|
case 5:
|
|
84
84
|
this.bc_1 = 6;
|
|
85
|
-
this.
|
|
85
|
+
this.h73_1 = this.j73_1;
|
|
86
86
|
this.bc_1 = 8;
|
|
87
87
|
this.ac_1 = 7;
|
|
88
88
|
continue $sm;
|
|
@@ -92,7 +92,7 @@ function $connectCOROUTINE$() {
|
|
|
92
92
|
if (tmp_3 instanceof Error) {
|
|
93
93
|
var cause_0 = this.dc_1;
|
|
94
94
|
var tmp_4 = this;
|
|
95
|
-
this.
|
|
95
|
+
this.e73_1.u72_1.m2o();
|
|
96
96
|
throw cause_0;
|
|
97
97
|
} else {
|
|
98
98
|
throw this.dc_1;
|
|
@@ -100,7 +100,7 @@ function $connectCOROUTINE$() {
|
|
|
100
100
|
|
|
101
101
|
case 7:
|
|
102
102
|
this.bc_1 = 8;
|
|
103
|
-
return this.
|
|
103
|
+
return this.h73_1;
|
|
104
104
|
case 8:
|
|
105
105
|
throw this.dc_1;
|
|
106
106
|
}
|
|
@@ -126,25 +126,25 @@ function ConnectionFactory() {
|
|
|
126
126
|
if (ConnectionFactoryClass === VOID) {
|
|
127
127
|
class $ {
|
|
128
128
|
constructor(selector, connectionsLimit, addressConnectionsLimit) {
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
129
|
+
this.s72_1 = selector;
|
|
130
|
+
this.t72_1 = addressConnectionsLimit;
|
|
131
|
+
this.u72_1 = Semaphore(connectionsLimit);
|
|
132
|
+
this.v72_1 = new (ConcurrentMap())();
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
x6w(address, configuration, $completion) {
|
|
135
135
|
var tmp = new ($connectCOROUTINE$())(this, address, configuration, $completion);
|
|
136
136
|
tmp.cc_1 = Unit_instance;
|
|
137
137
|
tmp.dc_1 = null;
|
|
138
138
|
return tmp.ic();
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
var tmp0_safe_receiver = this.
|
|
140
|
+
k73(address) {
|
|
141
|
+
var tmp0_safe_receiver = this.v72_1.y3x(address);
|
|
142
142
|
if (tmp0_safe_receiver == null)
|
|
143
143
|
null;
|
|
144
144
|
else {
|
|
145
|
-
tmp0_safe_receiver.
|
|
145
|
+
tmp0_safe_receiver.m2o();
|
|
146
146
|
}
|
|
147
|
-
this.
|
|
147
|
+
this.u72_1.m2o();
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
initMetadataForClass($, 'ConnectionFactory', VOID, VOID, VOID, [2]);
|
|
@@ -12,15 +12,15 @@ function ConnectionPipeline() {
|
|
|
12
12
|
if (ConnectionPipelineClass === VOID) {
|
|
13
13
|
class $ {
|
|
14
14
|
constructor(keepAliveTime, pipelineMaxSize, connection, overProxy, tasks, parentContext) {
|
|
15
|
-
this.
|
|
15
|
+
this.d79_1 = parentContext;
|
|
16
16
|
// Inline function 'kotlin.error' call
|
|
17
17
|
var message = 'Pipelining is not supported in native/js/wasm CIO';
|
|
18
18
|
throw IllegalStateException().o4(toString(message));
|
|
19
19
|
}
|
|
20
20
|
s1x() {
|
|
21
|
-
return this.
|
|
21
|
+
return this.d79_1;
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
e79() {
|
|
24
24
|
var message = 'Pipelining is not supported in native/js/wasm CIO';
|
|
25
25
|
throw IllegalStateException().o4(toString(message));
|
|
26
26
|
}
|