@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
|
@@ -99,10 +99,10 @@ function get_LOGGER() {
|
|
|
99
99
|
var LOGGER;
|
|
100
100
|
function defaultTransformers(_this__u8e3s4) {
|
|
101
101
|
_init_properties_DefaultTransform_kt__20knxx();
|
|
102
|
-
var tmp = Phases_getInstance().
|
|
103
|
-
_this__u8e3s4.
|
|
104
|
-
var tmp_0 = Phases_getInstance_0().
|
|
105
|
-
_this__u8e3s4.
|
|
102
|
+
var tmp = Phases_getInstance().l59_1;
|
|
103
|
+
_this__u8e3s4.m4y_1.z3w(tmp, defaultTransformers$slambda_0(null));
|
|
104
|
+
var tmp_0 = Phases_getInstance_0().n51_1;
|
|
105
|
+
_this__u8e3s4.n4y_1.z3w(tmp_0, defaultTransformers$slambda_2(_this__u8e3s4, null));
|
|
106
106
|
platformResponseDefaultTransformers(_this__u8e3s4);
|
|
107
107
|
}
|
|
108
108
|
function checkContentLength(contentLength, bytes) {
|
|
@@ -120,20 +120,20 @@ function defaultTransformers$2$content$1() {
|
|
|
120
120
|
constructor($contentType, $body, $box) {
|
|
121
121
|
if ($box === VOID)
|
|
122
122
|
$box = {};
|
|
123
|
-
$box.
|
|
123
|
+
$box.l5d_1 = $body;
|
|
124
124
|
super($box);
|
|
125
125
|
var tmp = this;
|
|
126
|
-
tmp.
|
|
127
|
-
this.
|
|
126
|
+
tmp.j5d_1 = $contentType == null ? Application_getInstance().l3z_1 : $contentType;
|
|
127
|
+
this.k5d_1 = toLong($body.length);
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
return this.
|
|
129
|
+
s4b() {
|
|
130
|
+
return this.j5d_1;
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
return this.
|
|
132
|
+
t4b() {
|
|
133
|
+
return this.k5d_1;
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
return this.
|
|
135
|
+
u4b() {
|
|
136
|
+
return this.l5d_1;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
initMetadataForClass($);
|
|
@@ -148,22 +148,22 @@ function defaultTransformers$2$content$2() {
|
|
|
148
148
|
constructor($this_intercept, $contentType, $body, $box) {
|
|
149
149
|
if ($box === VOID)
|
|
150
150
|
$box = {};
|
|
151
|
-
$box.
|
|
151
|
+
$box.p5d_1 = $body;
|
|
152
152
|
super($box);
|
|
153
153
|
var tmp = this;
|
|
154
|
-
var tmp0_safe_receiver = $this_intercept.
|
|
155
|
-
tmp.
|
|
154
|
+
var tmp0_safe_receiver = $this_intercept.v3w_1.p50_1.c3s(HttpHeaders_getInstance().v41_1);
|
|
155
|
+
tmp.n5d_1 = tmp0_safe_receiver == null ? null : toLong_0(tmp0_safe_receiver);
|
|
156
156
|
var tmp_0 = this;
|
|
157
|
-
tmp_0.
|
|
157
|
+
tmp_0.o5d_1 = $contentType == null ? Application_getInstance().l3z_1 : $contentType;
|
|
158
158
|
}
|
|
159
|
-
|
|
160
|
-
return this.
|
|
159
|
+
t4b() {
|
|
160
|
+
return this.n5d_1;
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
return this.
|
|
162
|
+
s4b() {
|
|
163
|
+
return this.o5d_1;
|
|
164
164
|
}
|
|
165
|
-
|
|
166
|
-
return this.
|
|
165
|
+
x4b() {
|
|
166
|
+
return this.p5d_1;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
initMetadataForClass($);
|
|
@@ -175,15 +175,15 @@ var defaultTransformers$slambdaClass;
|
|
|
175
175
|
function defaultTransformers$slambda() {
|
|
176
176
|
if (defaultTransformers$slambdaClass === VOID) {
|
|
177
177
|
class $ extends CoroutineImpl() {
|
|
178
|
-
|
|
179
|
-
var tmp = this.
|
|
178
|
+
g4z($this$intercept, body, $completion) {
|
|
179
|
+
var tmp = this.h4z($this$intercept, body, $completion);
|
|
180
180
|
tmp.cc_1 = Unit_instance;
|
|
181
181
|
tmp.dc_1 = null;
|
|
182
182
|
return tmp.ic();
|
|
183
183
|
}
|
|
184
184
|
ld(p1, p2, $completion) {
|
|
185
185
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
186
|
-
return this.
|
|
186
|
+
return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
187
187
|
}
|
|
188
188
|
ic() {
|
|
189
189
|
var suspendResult = this.cc_1;
|
|
@@ -193,40 +193,40 @@ function defaultTransformers$slambda() {
|
|
|
193
193
|
switch (tmp) {
|
|
194
194
|
case 0:
|
|
195
195
|
this.bc_1 = 3;
|
|
196
|
-
if (this.
|
|
197
|
-
this.
|
|
196
|
+
if (this.y5d_1.v3w_1.p50_1.c3s(HttpHeaders_getInstance().g41_1) == null) {
|
|
197
|
+
this.y5d_1.v3w_1.p50_1.r3t(HttpHeaders_getInstance().g41_1, '*/*');
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
this.
|
|
200
|
+
this.a5e_1 = contentType(this.y5d_1.v3w_1);
|
|
201
201
|
var tmp_0 = this;
|
|
202
|
-
var tmp0_subject = this.
|
|
202
|
+
var tmp0_subject = this.z5d_1;
|
|
203
203
|
var tmp_1;
|
|
204
204
|
if (typeof tmp0_subject === 'string') {
|
|
205
|
-
var tmp1_elvis_lhs = this.
|
|
206
|
-
tmp_1 = new (TextContent())(this.
|
|
205
|
+
var tmp1_elvis_lhs = this.a5e_1;
|
|
206
|
+
tmp_1 = new (TextContent())(this.z5d_1, tmp1_elvis_lhs == null ? Text_getInstance().o40_1 : tmp1_elvis_lhs);
|
|
207
207
|
} else {
|
|
208
208
|
if (isByteArray(tmp0_subject)) {
|
|
209
|
-
tmp_1 = new (defaultTransformers$2$content$1())(this.
|
|
209
|
+
tmp_1 = new (defaultTransformers$2$content$1())(this.a5e_1, this.z5d_1);
|
|
210
210
|
} else {
|
|
211
211
|
if (isInterface(tmp0_subject, ByteReadChannel())) {
|
|
212
|
-
tmp_1 = new (defaultTransformers$2$content$2())(this.
|
|
212
|
+
tmp_1 = new (defaultTransformers$2$content$2())(this.y5d_1, this.a5e_1, this.z5d_1);
|
|
213
213
|
} else {
|
|
214
214
|
if (tmp0_subject instanceof OutgoingContent()) {
|
|
215
|
-
tmp_1 = this.
|
|
215
|
+
tmp_1 = this.z5d_1;
|
|
216
216
|
} else {
|
|
217
|
-
tmp_1 = platformRequestDefaultTransform(this.
|
|
217
|
+
tmp_1 = platformRequestDefaultTransform(this.a5e_1, this.y5d_1.v3w_1, this.z5d_1);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
tmp_0.
|
|
224
|
-
var tmp2_safe_receiver = this.
|
|
225
|
-
if (!((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
226
|
-
this.
|
|
227
|
-
get_LOGGER().
|
|
223
|
+
tmp_0.b5e_1 = tmp_1;
|
|
224
|
+
var tmp2_safe_receiver = this.b5e_1;
|
|
225
|
+
if (!((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s4b()) == null)) {
|
|
226
|
+
this.y5d_1.v3w_1.p50_1.t3t(HttpHeaders_getInstance().y41_1);
|
|
227
|
+
get_LOGGER().g3y('Transformed with default transformers request body for ' + this.y5d_1.v3w_1.n50_1.toString() + ' from ' + toString(getKClassFromExpression(this.z5d_1)));
|
|
228
228
|
this.ac_1 = 1;
|
|
229
|
-
suspendResult = this.
|
|
229
|
+
suspendResult = this.y5d_1.x3v(this.b5e_1, this);
|
|
230
230
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
231
231
|
return suspendResult;
|
|
232
232
|
}
|
|
@@ -255,10 +255,10 @@ function defaultTransformers$slambda() {
|
|
|
255
255
|
}
|
|
256
256
|
while (true);
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
h4z($this$intercept, body, completion) {
|
|
259
259
|
var i = new (defaultTransformers$slambda())(completion);
|
|
260
|
-
i.
|
|
261
|
-
i.
|
|
260
|
+
i.y5d_1 = $this$intercept;
|
|
261
|
+
i.z5d_1 = body;
|
|
262
262
|
return i;
|
|
263
263
|
}
|
|
264
264
|
}
|
|
@@ -270,7 +270,7 @@ function defaultTransformers$slambda() {
|
|
|
270
270
|
function defaultTransformers$slambda_0(resultContinuation) {
|
|
271
271
|
var i = new (defaultTransformers$slambda())(resultContinuation);
|
|
272
272
|
var l = function ($this$intercept, body, $completion) {
|
|
273
|
-
return i.
|
|
273
|
+
return i.g4z($this$intercept, body, $completion);
|
|
274
274
|
};
|
|
275
275
|
l.$arity = 2;
|
|
276
276
|
return l;
|
|
@@ -282,18 +282,18 @@ function defaultTransformers$slambda$slambda() {
|
|
|
282
282
|
constructor($body, $response, resultContinuation, $box) {
|
|
283
283
|
if ($box === VOID)
|
|
284
284
|
$box = {};
|
|
285
|
-
$box.
|
|
286
|
-
$box.
|
|
285
|
+
$box.k5e_1 = $body;
|
|
286
|
+
$box.l5e_1 = $response;
|
|
287
287
|
super(resultContinuation, $box);
|
|
288
288
|
}
|
|
289
|
-
|
|
290
|
-
var tmp = this.
|
|
289
|
+
z4l($this$writer, $completion) {
|
|
290
|
+
var tmp = this.a4m($this$writer, $completion);
|
|
291
291
|
tmp.cc_1 = Unit_instance;
|
|
292
292
|
tmp.dc_1 = null;
|
|
293
293
|
return tmp.ic();
|
|
294
294
|
}
|
|
295
295
|
kd(p1, $completion) {
|
|
296
|
-
return this.
|
|
296
|
+
return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
|
|
297
297
|
}
|
|
298
298
|
ic() {
|
|
299
299
|
var suspendResult = this.cc_1;
|
|
@@ -305,14 +305,14 @@ function defaultTransformers$slambda$slambda() {
|
|
|
305
305
|
this.bc_1 = 3;
|
|
306
306
|
this.bc_1 = 2;
|
|
307
307
|
this.ac_1 = 1;
|
|
308
|
-
suspendResult = copyTo(this.
|
|
308
|
+
suspendResult = copyTo(this.k5e_1, this.m5e_1.j3n_1, new (Long())(-1, 2147483647), this);
|
|
309
309
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
310
310
|
return suspendResult;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
continue $sm;
|
|
314
314
|
case 1:
|
|
315
|
-
this.
|
|
315
|
+
this.n5e_1 = suspendResult;
|
|
316
316
|
this.bc_1 = 3;
|
|
317
317
|
this.ac_1 = 4;
|
|
318
318
|
continue $sm;
|
|
@@ -322,14 +322,14 @@ function defaultTransformers$slambda$slambda() {
|
|
|
322
322
|
if (tmp_0 instanceof CancellationException()) {
|
|
323
323
|
var cause = this.dc_1;
|
|
324
324
|
var tmp_1 = this;
|
|
325
|
-
cancel_1(this.
|
|
325
|
+
cancel_1(this.l5e_1, cause);
|
|
326
326
|
throw cause;
|
|
327
327
|
} else {
|
|
328
328
|
var tmp_2 = this.dc_1;
|
|
329
329
|
if (tmp_2 instanceof Error) {
|
|
330
330
|
var cause_0 = this.dc_1;
|
|
331
331
|
var tmp_3 = this;
|
|
332
|
-
cancel_0(this.
|
|
332
|
+
cancel_0(this.l5e_1, 'Receive failed', cause_0);
|
|
333
333
|
throw cause_0;
|
|
334
334
|
} else {
|
|
335
335
|
throw this.dc_1;
|
|
@@ -353,9 +353,9 @@ function defaultTransformers$slambda$slambda() {
|
|
|
353
353
|
}
|
|
354
354
|
while (true);
|
|
355
355
|
}
|
|
356
|
-
|
|
357
|
-
var i = new (defaultTransformers$slambda$slambda())(this.
|
|
358
|
-
i.
|
|
356
|
+
a4m($this$writer, completion) {
|
|
357
|
+
var i = new (defaultTransformers$slambda$slambda())(this.k5e_1, this.l5e_1, completion);
|
|
358
|
+
i.m5e_1 = $this$writer;
|
|
359
359
|
return i;
|
|
360
360
|
}
|
|
361
361
|
}
|
|
@@ -367,7 +367,7 @@ function defaultTransformers$slambda$slambda() {
|
|
|
367
367
|
function defaultTransformers$slambda$slambda_0($body, $response, resultContinuation) {
|
|
368
368
|
var i = new (defaultTransformers$slambda$slambda())($body, $response, resultContinuation);
|
|
369
369
|
var l = function ($this$writer, $completion) {
|
|
370
|
-
return i.
|
|
370
|
+
return i.z4l($this$writer, $completion);
|
|
371
371
|
};
|
|
372
372
|
l.$arity = 1;
|
|
373
373
|
return l;
|
|
@@ -385,18 +385,18 @@ function defaultTransformers$slambda_1() {
|
|
|
385
385
|
constructor($this_defaultTransformers, resultContinuation, $box) {
|
|
386
386
|
if ($box === VOID)
|
|
387
387
|
$box = {};
|
|
388
|
-
$box.
|
|
388
|
+
$box.w5e_1 = $this_defaultTransformers;
|
|
389
389
|
super(resultContinuation, $box);
|
|
390
390
|
}
|
|
391
|
-
|
|
392
|
-
var tmp = this.
|
|
391
|
+
b50($this$intercept, _destruct__k2r9zo, $completion) {
|
|
392
|
+
var tmp = this.c50($this$intercept, _destruct__k2r9zo, $completion);
|
|
393
393
|
tmp.cc_1 = Unit_instance;
|
|
394
394
|
tmp.dc_1 = null;
|
|
395
395
|
return tmp.ic();
|
|
396
396
|
}
|
|
397
397
|
ld(p1, p2, $completion) {
|
|
398
398
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
399
|
-
return this.
|
|
399
|
+
return this.b50(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
|
|
400
400
|
}
|
|
401
401
|
ic() {
|
|
402
402
|
var suspendResult = this.cc_1;
|
|
@@ -406,71 +406,71 @@ function defaultTransformers$slambda_1() {
|
|
|
406
406
|
switch (tmp) {
|
|
407
407
|
case 0:
|
|
408
408
|
this.bc_1 = 12;
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
var tmp_0 = this.
|
|
409
|
+
this.z5e_1 = this.y5e_1.gl();
|
|
410
|
+
this.a5f_1 = this.y5e_1.hl();
|
|
411
|
+
var tmp_0 = this.a5f_1;
|
|
412
412
|
if (!isInterface(tmp_0, ByteReadChannel()))
|
|
413
413
|
return Unit_instance;
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
if (this.
|
|
417
|
-
cancel(this.
|
|
414
|
+
this.b5f_1 = this.x5e_1.v3w_1.n4z();
|
|
415
|
+
this.c5f_1 = this.z5e_1.n3x_1;
|
|
416
|
+
if (this.c5f_1.equals(getKClass(Unit()))) {
|
|
417
|
+
cancel(this.a5f_1);
|
|
418
418
|
this.ac_1 = 10;
|
|
419
|
-
suspendResult = this.
|
|
419
|
+
suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, Unit_instance), this);
|
|
420
420
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
421
421
|
return suspendResult;
|
|
422
422
|
}
|
|
423
423
|
continue $sm;
|
|
424
424
|
} else {
|
|
425
|
-
if (this.
|
|
425
|
+
if (this.c5f_1.equals(PrimitiveClasses_getInstance().ch())) {
|
|
426
426
|
this.ac_1 = 8;
|
|
427
|
-
suspendResult = readRemaining(this.
|
|
427
|
+
suspendResult = readRemaining(this.a5f_1, this);
|
|
428
428
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
429
429
|
return suspendResult;
|
|
430
430
|
}
|
|
431
431
|
continue $sm;
|
|
432
432
|
} else {
|
|
433
|
-
if (this.
|
|
433
|
+
if (this.c5f_1.equals(getKClass(Source())) || this.c5f_1.equals(getKClass(Source()))) {
|
|
434
434
|
this.ac_1 = 6;
|
|
435
|
-
suspendResult = readRemaining(this.
|
|
435
|
+
suspendResult = readRemaining(this.a5f_1, this);
|
|
436
436
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
437
437
|
return suspendResult;
|
|
438
438
|
}
|
|
439
439
|
continue $sm;
|
|
440
440
|
} else {
|
|
441
|
-
if (this.
|
|
441
|
+
if (this.c5f_1.equals(PrimitiveClasses_getInstance().kh())) {
|
|
442
442
|
this.ac_1 = 4;
|
|
443
|
-
suspendResult = toByteArray(this.
|
|
443
|
+
suspendResult = toByteArray(this.a5f_1, this);
|
|
444
444
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
445
445
|
return suspendResult;
|
|
446
446
|
}
|
|
447
447
|
continue $sm;
|
|
448
448
|
} else {
|
|
449
|
-
if (this.
|
|
450
|
-
this.
|
|
449
|
+
if (this.c5f_1.equals(getKClass(ByteReadChannel()))) {
|
|
450
|
+
this.e5f_1 = Job(this.b5f_1.s1x().nc(Key_instance));
|
|
451
451
|
var tmp_1 = this;
|
|
452
|
-
var this_0 = writer(this.
|
|
453
|
-
invokeOnCompletion(this_0, defaultTransformers$slambda$lambda(this.
|
|
454
|
-
tmp_1.
|
|
452
|
+
var this_0 = writer(this.x5e_1, this.w5e_1.l4y_1, VOID, defaultTransformers$slambda$slambda_0(this.a5f_1, this.b5f_1, null));
|
|
453
|
+
invokeOnCompletion(this_0, defaultTransformers$slambda$lambda(this.e5f_1));
|
|
454
|
+
tmp_1.f5f_1 = this_0.h3n_1;
|
|
455
455
|
this.ac_1 = 3;
|
|
456
|
-
suspendResult = this.
|
|
456
|
+
suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, this.f5f_1), this);
|
|
457
457
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
458
458
|
return suspendResult;
|
|
459
459
|
}
|
|
460
460
|
continue $sm;
|
|
461
461
|
} else {
|
|
462
|
-
if (this.
|
|
463
|
-
cancel(this.
|
|
462
|
+
if (this.c5f_1.equals(getKClass(HttpStatusCode()))) {
|
|
463
|
+
cancel(this.a5f_1);
|
|
464
464
|
this.ac_1 = 2;
|
|
465
|
-
suspendResult = this.
|
|
465
|
+
suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, this.b5f_1.u52()), this);
|
|
466
466
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
467
467
|
return suspendResult;
|
|
468
468
|
}
|
|
469
469
|
continue $sm;
|
|
470
470
|
} else {
|
|
471
|
-
if (this.
|
|
471
|
+
if (this.c5f_1.equals(getKClass(MultiPartData()))) {
|
|
472
472
|
var tmp_2 = this;
|
|
473
|
-
var tmp0 = this.
|
|
473
|
+
var tmp0 = this.x5e_1.v3w_1.n4z().z45().c3s(HttpHeaders_getInstance().y41_1);
|
|
474
474
|
var tmp$ret$0;
|
|
475
475
|
l$ret$1: do {
|
|
476
476
|
if (tmp0 == null) {
|
|
@@ -482,25 +482,25 @@ function defaultTransformers$slambda_1() {
|
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
while (false);
|
|
485
|
-
tmp_2.
|
|
486
|
-
this.
|
|
487
|
-
if (!this.
|
|
488
|
-
var message_0 = 'Expected multipart/form-data, got ' + this.
|
|
485
|
+
tmp_2.g5f_1 = tmp$ret$0;
|
|
486
|
+
this.h5f_1 = Companion_getInstance().ar(this.g5f_1);
|
|
487
|
+
if (!this.h5f_1.b41(MultiPart_getInstance().i40_1)) {
|
|
488
|
+
var message_0 = 'Expected multipart/form-data, got ' + this.h5f_1.toString();
|
|
489
489
|
throw IllegalStateException().o4(toString(message_0));
|
|
490
490
|
}
|
|
491
491
|
var tmp_3 = this;
|
|
492
|
-
var tmp1_safe_receiver = this.
|
|
493
|
-
tmp_3.
|
|
494
|
-
this.
|
|
495
|
-
this.
|
|
492
|
+
var tmp1_safe_receiver = this.x5e_1.v3w_1.n4z().z45().c3s(HttpHeaders_getInstance().v41_1);
|
|
493
|
+
tmp_3.i5f_1 = tmp1_safe_receiver == null ? null : toLong_0(tmp1_safe_receiver);
|
|
494
|
+
this.j5f_1 = new (CIOMultipartDataBase())(this.x5e_1.s1x(), this.a5f_1, this.g5f_1, this.i5f_1);
|
|
495
|
+
this.k5f_1 = new (HttpResponseContainer())(this.z5e_1, this.j5f_1);
|
|
496
496
|
this.ac_1 = 1;
|
|
497
|
-
suspendResult = this.
|
|
497
|
+
suspendResult = this.x5e_1.x3v(this.k5f_1, this);
|
|
498
498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
499
499
|
return suspendResult;
|
|
500
500
|
}
|
|
501
501
|
continue $sm;
|
|
502
502
|
} else {
|
|
503
|
-
this.
|
|
503
|
+
this.d5f_1 = null;
|
|
504
504
|
this.ac_1 = 11;
|
|
505
505
|
continue $sm;
|
|
506
506
|
}
|
|
@@ -512,73 +512,73 @@ function defaultTransformers$slambda_1() {
|
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
case 1:
|
|
515
|
-
this.
|
|
515
|
+
this.d5f_1 = suspendResult;
|
|
516
516
|
this.ac_1 = 11;
|
|
517
517
|
continue $sm;
|
|
518
518
|
case 2:
|
|
519
|
-
this.
|
|
519
|
+
this.d5f_1 = suspendResult;
|
|
520
520
|
this.ac_1 = 11;
|
|
521
521
|
continue $sm;
|
|
522
522
|
case 3:
|
|
523
|
-
this.
|
|
523
|
+
this.d5f_1 = suspendResult;
|
|
524
524
|
this.ac_1 = 11;
|
|
525
525
|
continue $sm;
|
|
526
526
|
case 4:
|
|
527
|
-
this.
|
|
528
|
-
this.
|
|
529
|
-
if (!this.
|
|
530
|
-
checkContentLength(this.
|
|
527
|
+
this.l5f_1 = suspendResult;
|
|
528
|
+
this.m5f_1 = contentLength(this.x5e_1.v3w_1.n4z());
|
|
529
|
+
if (!this.x5e_1.v3w_1.e52().m52().equals(Companion_getInstance_0().f46_1)) {
|
|
530
|
+
checkContentLength(this.m5f_1, toLong(this.l5f_1.length));
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
this.ac_1 = 5;
|
|
534
|
-
suspendResult = this.
|
|
534
|
+
suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, this.l5f_1), this);
|
|
535
535
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
536
536
|
return suspendResult;
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
continue $sm;
|
|
540
540
|
case 5:
|
|
541
|
-
this.
|
|
541
|
+
this.d5f_1 = suspendResult;
|
|
542
542
|
this.ac_1 = 11;
|
|
543
543
|
continue $sm;
|
|
544
544
|
case 6:
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
545
|
+
this.n5f_1 = suspendResult;
|
|
546
|
+
this.o5f_1 = new (HttpResponseContainer())(this.z5e_1, this.n5f_1);
|
|
547
547
|
this.ac_1 = 7;
|
|
548
|
-
suspendResult = this.
|
|
548
|
+
suspendResult = this.x5e_1.x3v(this.o5f_1, this);
|
|
549
549
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
550
550
|
return suspendResult;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
continue $sm;
|
|
554
554
|
case 7:
|
|
555
|
-
this.
|
|
555
|
+
this.d5f_1 = suspendResult;
|
|
556
556
|
this.ac_1 = 11;
|
|
557
557
|
continue $sm;
|
|
558
558
|
case 8:
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
559
|
+
this.p5f_1 = suspendResult;
|
|
560
|
+
this.q5f_1 = readText(this.p5f_1);
|
|
561
|
+
this.r5f_1 = toInt(this.q5f_1);
|
|
562
|
+
this.s5f_1 = new (HttpResponseContainer())(this.z5e_1, this.r5f_1);
|
|
563
563
|
this.ac_1 = 9;
|
|
564
|
-
suspendResult = this.
|
|
564
|
+
suspendResult = this.x5e_1.x3v(this.s5f_1, this);
|
|
565
565
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
566
566
|
return suspendResult;
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
continue $sm;
|
|
570
570
|
case 9:
|
|
571
|
-
this.
|
|
571
|
+
this.d5f_1 = suspendResult;
|
|
572
572
|
this.ac_1 = 11;
|
|
573
573
|
continue $sm;
|
|
574
574
|
case 10:
|
|
575
|
-
this.
|
|
575
|
+
this.d5f_1 = suspendResult;
|
|
576
576
|
this.ac_1 = 11;
|
|
577
577
|
continue $sm;
|
|
578
578
|
case 11:
|
|
579
|
-
var result = this.
|
|
579
|
+
var result = this.d5f_1;
|
|
580
580
|
if (!(result == null)) {
|
|
581
|
-
get_LOGGER().
|
|
581
|
+
get_LOGGER().g3y('Transformed with default transformers response body ' + ('for ' + this.x5e_1.v3w_1.e52().n52().toString() + ' to ' + toString(this.z5e_1.n3x_1)));
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
return Unit_instance;
|
|
@@ -596,10 +596,10 @@ function defaultTransformers$slambda_1() {
|
|
|
596
596
|
}
|
|
597
597
|
while (true);
|
|
598
598
|
}
|
|
599
|
-
|
|
600
|
-
var i = new (defaultTransformers$slambda_1())(this.
|
|
601
|
-
i.
|
|
602
|
-
i.
|
|
599
|
+
c50($this$intercept, _destruct__k2r9zo, completion) {
|
|
600
|
+
var i = new (defaultTransformers$slambda_1())(this.w5e_1, completion);
|
|
601
|
+
i.x5e_1 = $this$intercept;
|
|
602
|
+
i.y5e_1 = _destruct__k2r9zo;
|
|
603
603
|
return i;
|
|
604
604
|
}
|
|
605
605
|
}
|
|
@@ -611,7 +611,7 @@ function defaultTransformers$slambda_1() {
|
|
|
611
611
|
function defaultTransformers$slambda_2($this_defaultTransformers, resultContinuation) {
|
|
612
612
|
var i = new (defaultTransformers$slambda_1())($this_defaultTransformers, resultContinuation);
|
|
613
613
|
var l = function ($this$intercept, _destruct__k2r9zo, $completion) {
|
|
614
|
-
return i.
|
|
614
|
+
return i.b50($this$intercept, _destruct__k2r9zo, $completion);
|
|
615
615
|
};
|
|
616
616
|
l.$arity = 2;
|
|
617
617
|
return l;
|