@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
|
@@ -68,7 +68,7 @@ function HttpClient$lambda(this$0) {
|
|
|
68
68
|
return function (it) {
|
|
69
69
|
var tmp;
|
|
70
70
|
if (!(it == null)) {
|
|
71
|
-
cancel(this$0.
|
|
71
|
+
cancel(this$0.g4y_1);
|
|
72
72
|
tmp = Unit_instance;
|
|
73
73
|
}
|
|
74
74
|
return Unit_instance;
|
|
@@ -81,18 +81,18 @@ function HttpClient$slambda() {
|
|
|
81
81
|
constructor(this$0, resultContinuation, $box) {
|
|
82
82
|
if ($box === VOID)
|
|
83
83
|
$box = {};
|
|
84
|
-
$box.
|
|
84
|
+
$box.c4z_1 = this$0;
|
|
85
85
|
super(resultContinuation, $box);
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
var tmp = this.
|
|
87
|
+
g4z($this$intercept, call, $completion) {
|
|
88
|
+
var tmp = this.h4z($this$intercept, call, $completion);
|
|
89
89
|
tmp.cc_1 = Unit_instance;
|
|
90
90
|
tmp.dc_1 = null;
|
|
91
91
|
return tmp.ic();
|
|
92
92
|
}
|
|
93
93
|
ld(p1, p2, $completion) {
|
|
94
94
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
95
|
-
return this.
|
|
95
|
+
return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
96
96
|
}
|
|
97
97
|
ic() {
|
|
98
98
|
var suspendResult = this.cc_1;
|
|
@@ -102,24 +102,24 @@ function HttpClient$slambda() {
|
|
|
102
102
|
switch (tmp) {
|
|
103
103
|
case 0:
|
|
104
104
|
this.bc_1 = 3;
|
|
105
|
-
var tmp_0 = this.
|
|
105
|
+
var tmp_0 = this.e4z_1;
|
|
106
106
|
if (!(tmp_0 instanceof HttpClientCall())) {
|
|
107
|
-
var message = 'Error: HttpClientCall expected, but found ' + toString(this.
|
|
107
|
+
var message = 'Error: HttpClientCall expected, but found ' + toString(this.e4z_1) + '(' + toString(getKClassFromExpression(this.e4z_1)) + ').';
|
|
108
108
|
throw IllegalStateException().o4(toString(message));
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
this.ac_1 = 1;
|
|
112
|
-
suspendResult = this.
|
|
112
|
+
suspendResult = this.c4z_1.p4y_1.u3w(Unit_instance, this.e4z_1.n4z(), this);
|
|
113
113
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
114
114
|
return suspendResult;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
continue $sm;
|
|
118
118
|
case 1:
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
119
|
+
this.f4z_1 = suspendResult;
|
|
120
|
+
this.e4z_1.o4z(this.f4z_1);
|
|
121
121
|
this.ac_1 = 2;
|
|
122
|
-
suspendResult = this.
|
|
122
|
+
suspendResult = this.d4z_1.x3v(this.e4z_1, this);
|
|
123
123
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
124
124
|
return suspendResult;
|
|
125
125
|
}
|
|
@@ -141,10 +141,10 @@ function HttpClient$slambda() {
|
|
|
141
141
|
}
|
|
142
142
|
while (true);
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
var i = new (HttpClient$slambda())(this.
|
|
146
|
-
i.
|
|
147
|
-
i.
|
|
144
|
+
h4z($this$intercept, call, completion) {
|
|
145
|
+
var i = new (HttpClient$slambda())(this.c4z_1, completion);
|
|
146
|
+
i.d4z_1 = $this$intercept;
|
|
147
|
+
i.e4z_1 = call;
|
|
148
148
|
return i;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -156,7 +156,7 @@ function HttpClient$slambda() {
|
|
|
156
156
|
function HttpClient$slambda_0(this$0, resultContinuation) {
|
|
157
157
|
var i = new (HttpClient$slambda())(this$0, resultContinuation);
|
|
158
158
|
var l = function ($this$intercept, call, $completion) {
|
|
159
|
-
return i.
|
|
159
|
+
return i.g4z($this$intercept, call, $completion);
|
|
160
160
|
};
|
|
161
161
|
l.$arity = 2;
|
|
162
162
|
return l;
|
|
@@ -172,18 +172,18 @@ function HttpClient$slambda_1() {
|
|
|
172
172
|
constructor(this$0, resultContinuation, $box) {
|
|
173
173
|
if ($box === VOID)
|
|
174
174
|
$box = {};
|
|
175
|
-
$box.
|
|
175
|
+
$box.x4z_1 = this$0;
|
|
176
176
|
super(resultContinuation, $box);
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
var tmp = this.
|
|
178
|
+
b50($this$intercept, it, $completion) {
|
|
179
|
+
var tmp = this.c50($this$intercept, it, $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.b50(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
|
|
187
187
|
}
|
|
188
188
|
ic() {
|
|
189
189
|
var suspendResult = this.cc_1;
|
|
@@ -195,14 +195,14 @@ function HttpClient$slambda_1() {
|
|
|
195
195
|
this.bc_1 = 3;
|
|
196
196
|
this.bc_1 = 2;
|
|
197
197
|
this.ac_1 = 1;
|
|
198
|
-
suspendResult = this.
|
|
198
|
+
suspendResult = this.y4z_1.y3v(this);
|
|
199
199
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
200
200
|
return suspendResult;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
continue $sm;
|
|
204
204
|
case 1:
|
|
205
|
-
this.
|
|
205
|
+
this.a50_1 = suspendResult;
|
|
206
206
|
this.bc_1 = 3;
|
|
207
207
|
this.ac_1 = 4;
|
|
208
208
|
continue $sm;
|
|
@@ -212,7 +212,7 @@ function HttpClient$slambda_1() {
|
|
|
212
212
|
if (tmp_0 instanceof Error) {
|
|
213
213
|
var cause = this.dc_1;
|
|
214
214
|
var tmp_1 = this;
|
|
215
|
-
this.
|
|
215
|
+
this.x4z_1.s4y_1.d4y(get_HttpResponseReceiveFailed(), new (HttpResponseReceiveFail())(this.y4z_1.v3w_1.n4z(), cause));
|
|
216
216
|
throw cause;
|
|
217
217
|
} else {
|
|
218
218
|
throw this.dc_1;
|
|
@@ -235,10 +235,10 @@ function HttpClient$slambda_1() {
|
|
|
235
235
|
}
|
|
236
236
|
while (true);
|
|
237
237
|
}
|
|
238
|
-
|
|
239
|
-
var i = new (HttpClient$slambda_1())(this.
|
|
240
|
-
i.
|
|
241
|
-
i.
|
|
238
|
+
c50($this$intercept, it, completion) {
|
|
239
|
+
var i = new (HttpClient$slambda_1())(this.x4z_1, completion);
|
|
240
|
+
i.y4z_1 = $this$intercept;
|
|
241
|
+
i.z4z_1 = it;
|
|
242
242
|
return i;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
@@ -250,7 +250,7 @@ function HttpClient$slambda_1() {
|
|
|
250
250
|
function HttpClient$slambda_2(this$0, resultContinuation) {
|
|
251
251
|
var i = new (HttpClient$slambda_1())(this$0, resultContinuation);
|
|
252
252
|
var l = function ($this$intercept, it, $completion) {
|
|
253
|
-
return i.
|
|
253
|
+
return i.b50($this$intercept, it, $completion);
|
|
254
254
|
};
|
|
255
255
|
l.$arity = 2;
|
|
256
256
|
return l;
|
|
@@ -261,8 +261,8 @@ function $executeCOROUTINE$() {
|
|
|
261
261
|
class $ extends CoroutineImpl() {
|
|
262
262
|
constructor(_this__u8e3s4, builder, resultContinuation) {
|
|
263
263
|
super(resultContinuation);
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
264
|
+
this.l50_1 = _this__u8e3s4;
|
|
265
|
+
this.m50_1 = builder;
|
|
266
266
|
}
|
|
267
267
|
ic() {
|
|
268
268
|
var suspendResult = this.cc_1;
|
|
@@ -272,9 +272,9 @@ function $executeCOROUTINE$() {
|
|
|
272
272
|
switch (tmp) {
|
|
273
273
|
case 0:
|
|
274
274
|
this.bc_1 = 2;
|
|
275
|
-
this.
|
|
275
|
+
this.l50_1.s4y_1.d4y(get_HttpRequestCreated(), this.m50_1);
|
|
276
276
|
this.ac_1 = 1;
|
|
277
|
-
suspendResult = this.
|
|
277
|
+
suspendResult = this.l50_1.m4y_1.u3w(this.m50_1, this.m50_1.q50_1, this);
|
|
278
278
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
279
279
|
return suspendResult;
|
|
280
280
|
}
|
|
@@ -306,87 +306,87 @@ var HttpClientClass;
|
|
|
306
306
|
function HttpClient() {
|
|
307
307
|
if (HttpClientClass === VOID) {
|
|
308
308
|
class $ {
|
|
309
|
-
static
|
|
309
|
+
static t50(engine, userConfig) {
|
|
310
310
|
userConfig = userConfig === VOID ? new (HttpClientConfig())() : userConfig;
|
|
311
311
|
var $this = createThis(this);
|
|
312
|
-
$this.
|
|
313
|
-
$this.
|
|
314
|
-
$this.
|
|
315
|
-
$this.
|
|
316
|
-
$this.
|
|
317
|
-
$this.
|
|
318
|
-
$this.
|
|
319
|
-
$this.
|
|
320
|
-
$this.
|
|
321
|
-
$this.
|
|
322
|
-
$this.
|
|
323
|
-
$this.
|
|
324
|
-
$this.
|
|
325
|
-
$this.
|
|
326
|
-
if ($this.
|
|
327
|
-
$this.
|
|
312
|
+
$this.g4y_1 = engine;
|
|
313
|
+
$this.h4y_1 = userConfig;
|
|
314
|
+
$this.i4y_1 = false;
|
|
315
|
+
$this.j4y_1 = atomic$boolean$1(false);
|
|
316
|
+
$this.k4y_1 = Job($this.g4y_1.s1x().nc(Key_instance));
|
|
317
|
+
$this.l4y_1 = $this.g4y_1.s1x().lm($this.k4y_1);
|
|
318
|
+
$this.m4y_1 = new (HttpRequestPipeline())();
|
|
319
|
+
$this.n4y_1 = new (HttpResponsePipeline())();
|
|
320
|
+
$this.o4y_1 = new (HttpSendPipeline())();
|
|
321
|
+
$this.p4y_1 = new (HttpReceivePipeline())();
|
|
322
|
+
$this.q4y_1 = AttributesJsFn(true);
|
|
323
|
+
$this.r4y_1 = $this.g4y_1.u50();
|
|
324
|
+
$this.s4y_1 = new (Events())();
|
|
325
|
+
$this.t4y_1 = new (HttpClientConfig())();
|
|
326
|
+
if ($this.i4y_1) {
|
|
327
|
+
$this.k4y_1.v1y(HttpClient$lambda($this));
|
|
328
328
|
}
|
|
329
|
-
$this.
|
|
330
|
-
var tmp = Phases_getInstance_0().
|
|
331
|
-
$this.
|
|
329
|
+
$this.g4y_1.v50($this);
|
|
330
|
+
var tmp = Phases_getInstance_0().a51_1;
|
|
331
|
+
$this.o4y_1.z3w(tmp, HttpClient$slambda_0($this, null));
|
|
332
332
|
// Inline function 'kotlin.with' call
|
|
333
|
-
var $this$with = $this.
|
|
334
|
-
$this.
|
|
335
|
-
$this.
|
|
336
|
-
$this.
|
|
337
|
-
if ($this$with.
|
|
338
|
-
$this.
|
|
333
|
+
var $this$with = $this.h4y_1;
|
|
334
|
+
$this.t4y_1.j51(get_HttpRequestLifecycle());
|
|
335
|
+
$this.t4y_1.j51(get_BodyProgress());
|
|
336
|
+
$this.t4y_1.j51(get_SaveBody());
|
|
337
|
+
if ($this$with.g51_1) {
|
|
338
|
+
$this.t4y_1.k51('DefaultTransformers', HttpClient$lambda_0);
|
|
339
339
|
}
|
|
340
|
-
$this.
|
|
341
|
-
$this.
|
|
342
|
-
if ($this$with.
|
|
343
|
-
$this.
|
|
340
|
+
$this.t4y_1.j51(Plugin_getInstance());
|
|
341
|
+
$this.t4y_1.j51(get_HttpCallValidator());
|
|
342
|
+
if ($this$with.f51_1) {
|
|
343
|
+
$this.t4y_1.j51(get_HttpRedirect());
|
|
344
344
|
}
|
|
345
|
-
$this.
|
|
346
|
-
if ($this$with.
|
|
347
|
-
$this.
|
|
345
|
+
$this.t4y_1.l51($this$with);
|
|
346
|
+
if ($this$with.g51_1) {
|
|
347
|
+
$this.t4y_1.j51(get_HttpPlainText());
|
|
348
348
|
}
|
|
349
|
-
addDefaultResponseValidation($this.
|
|
350
|
-
$this.
|
|
351
|
-
var tmp_0 = Phases_getInstance().
|
|
352
|
-
$this.
|
|
349
|
+
addDefaultResponseValidation($this.t4y_1);
|
|
350
|
+
$this.t4y_1.v50($this);
|
|
351
|
+
var tmp_0 = Phases_getInstance().m51_1;
|
|
352
|
+
$this.n4y_1.z3w(tmp_0, HttpClient$slambda_2($this, null));
|
|
353
353
|
return $this;
|
|
354
354
|
}
|
|
355
|
-
static
|
|
356
|
-
var $this = this.
|
|
357
|
-
$this.
|
|
355
|
+
static r51(engine, userConfig, manageEngine) {
|
|
356
|
+
var $this = this.t50(engine, userConfig);
|
|
357
|
+
$this.i4y_1 = manageEngine;
|
|
358
358
|
return $this;
|
|
359
359
|
}
|
|
360
360
|
s1x() {
|
|
361
|
-
return this.
|
|
361
|
+
return this.l4y_1;
|
|
362
362
|
}
|
|
363
|
-
|
|
363
|
+
s51(builder, $completion) {
|
|
364
364
|
var tmp = new ($executeCOROUTINE$())(this, builder, $completion);
|
|
365
365
|
tmp.cc_1 = Unit_instance;
|
|
366
366
|
tmp.dc_1 = null;
|
|
367
367
|
return tmp.ic();
|
|
368
368
|
}
|
|
369
369
|
v5() {
|
|
370
|
-
var success = this.
|
|
370
|
+
var success = this.j4y_1.atomicfu$compareAndSet(false, true);
|
|
371
371
|
if (!success)
|
|
372
372
|
return Unit_instance;
|
|
373
|
-
var installedFeatures = this.
|
|
373
|
+
var installedFeatures = this.q4y_1.r3r(get_PLUGIN_INSTALLED_LIST());
|
|
374
374
|
// Inline function 'kotlin.collections.forEach' call
|
|
375
|
-
var _iterator__ex2g4s = installedFeatures.
|
|
375
|
+
var _iterator__ex2g4s = installedFeatures.x3r().d1();
|
|
376
376
|
while (_iterator__ex2g4s.e1()) {
|
|
377
377
|
var element = _iterator__ex2g4s.f1();
|
|
378
|
-
var plugin = installedFeatures.
|
|
378
|
+
var plugin = installedFeatures.r3r(element instanceof AttributeKey() ? element : THROW_CCE());
|
|
379
379
|
if (isInterface(plugin, AutoCloseable())) {
|
|
380
380
|
plugin.v5();
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
this.
|
|
384
|
-
if (this.
|
|
385
|
-
this.
|
|
383
|
+
this.k4y_1.d25();
|
|
384
|
+
if (this.i4y_1) {
|
|
385
|
+
this.g4y_1.v5();
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
toString() {
|
|
389
|
-
return 'HttpClient[' + toString(this.
|
|
389
|
+
return 'HttpClient[' + toString(this.g4y_1) + ']';
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
initMetadataForClass($, 'HttpClient', VOID, VOID, [CoroutineScope(), AutoCloseable()], [1]);
|
|
@@ -406,9 +406,9 @@ function HttpClient_0(engineFactory, block) {
|
|
|
406
406
|
var this_0 = new (HttpClientConfig())();
|
|
407
407
|
block(this_0);
|
|
408
408
|
var config = this_0;
|
|
409
|
-
var engine = engineFactory.
|
|
410
|
-
var client = HttpClient().
|
|
411
|
-
var tmp_0 = ensureNotNull(client.
|
|
409
|
+
var engine = engineFactory.t51(config.e51_1);
|
|
410
|
+
var client = HttpClient().r51(engine, config, true);
|
|
411
|
+
var tmp_0 = ensureNotNull(client.l4y_1.nc(Key_instance));
|
|
412
412
|
tmp_0.v1y(HttpClient$lambda_2(engine));
|
|
413
413
|
return client;
|
|
414
414
|
}
|
|
@@ -36,11 +36,11 @@ function HttpClientConfig$install$lambda$lambda() {
|
|
|
36
36
|
function HttpClientConfig$install$lambda_1($plugin) {
|
|
37
37
|
return function (scope) {
|
|
38
38
|
var tmp = get_PLUGIN_INSTALLED_LIST();
|
|
39
|
-
var attributes = scope.
|
|
40
|
-
var config = ensureNotNull(scope.
|
|
41
|
-
var pluginData = $plugin.
|
|
42
|
-
$plugin.
|
|
43
|
-
attributes.
|
|
39
|
+
var attributes = scope.q4y_1.w3r(tmp, HttpClientConfig$install$lambda$lambda);
|
|
40
|
+
var config = ensureNotNull(scope.t4y_1.c51_1.w2($plugin.r1()));
|
|
41
|
+
var pluginData = $plugin.u51(config);
|
|
42
|
+
$plugin.v51(pluginData, scope);
|
|
43
|
+
attributes.u3r($plugin.r1(), pluginData);
|
|
44
44
|
return Unit_instance;
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -51,36 +51,36 @@ function HttpClientConfig() {
|
|
|
51
51
|
constructor() {
|
|
52
52
|
var tmp = this;
|
|
53
53
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
54
|
-
tmp.
|
|
54
|
+
tmp.b51_1 = LinkedHashMap().ub();
|
|
55
55
|
var tmp_0 = this;
|
|
56
56
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
57
|
-
tmp_0.
|
|
57
|
+
tmp_0.c51_1 = LinkedHashMap().ub();
|
|
58
58
|
var tmp_1 = this;
|
|
59
59
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
60
|
-
tmp_1.
|
|
60
|
+
tmp_1.d51_1 = LinkedHashMap().ub();
|
|
61
61
|
var tmp_2 = this;
|
|
62
|
-
tmp_2.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
62
|
+
tmp_2.e51_1 = HttpClientConfig$engineConfig$lambda;
|
|
63
|
+
this.f51_1 = true;
|
|
64
|
+
this.g51_1 = true;
|
|
65
|
+
this.h51_1 = false;
|
|
66
|
+
this.i51_1 = PlatformUtils_getInstance().d3t_1;
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
var previousConfigBlock = this.
|
|
70
|
-
var tmp0 = this.
|
|
68
|
+
w51(plugin, configure) {
|
|
69
|
+
var previousConfigBlock = this.c51_1.w2(plugin.r1());
|
|
70
|
+
var tmp0 = this.c51_1;
|
|
71
71
|
var tmp2 = plugin.r1();
|
|
72
72
|
// Inline function 'kotlin.collections.set' call
|
|
73
73
|
var value = HttpClientConfig$install$lambda_0(previousConfigBlock, configure);
|
|
74
74
|
tmp0.d3(tmp2, value);
|
|
75
|
-
if (this.
|
|
75
|
+
if (this.b51_1.u2(plugin.r1()))
|
|
76
76
|
return Unit_instance;
|
|
77
|
-
var tmp0_0 = this.
|
|
77
|
+
var tmp0_0 = this.b51_1;
|
|
78
78
|
var tmp2_0 = plugin.r1();
|
|
79
79
|
// Inline function 'kotlin.collections.set' call
|
|
80
80
|
var value_0 = HttpClientConfig$install$lambda_1(plugin);
|
|
81
81
|
tmp0_0.d3(tmp2_0, value_0);
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
j51(plugin, configure, $super) {
|
|
84
84
|
var tmp;
|
|
85
85
|
if (configure === VOID) {
|
|
86
86
|
tmp = HttpClientConfig$install$lambda;
|
|
@@ -90,48 +90,48 @@ function HttpClientConfig() {
|
|
|
90
90
|
configure = tmp;
|
|
91
91
|
var tmp_0;
|
|
92
92
|
if ($super === VOID) {
|
|
93
|
-
this.
|
|
93
|
+
this.w51(plugin, configure);
|
|
94
94
|
tmp_0 = Unit_instance;
|
|
95
95
|
} else {
|
|
96
|
-
tmp_0 = $super.
|
|
96
|
+
tmp_0 = $super.w51.call(this, plugin, configure);
|
|
97
97
|
}
|
|
98
98
|
return tmp_0;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
k51(key, block) {
|
|
101
101
|
// Inline function 'kotlin.collections.set' call
|
|
102
|
-
this.
|
|
102
|
+
this.d51_1.d3(key, block);
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
v50(client) {
|
|
105
105
|
// Inline function 'kotlin.collections.forEach' call
|
|
106
|
-
var _iterator__ex2g4s = this.
|
|
106
|
+
var _iterator__ex2g4s = this.b51_1.y2().d1();
|
|
107
107
|
while (_iterator__ex2g4s.e1()) {
|
|
108
108
|
var element = _iterator__ex2g4s.f1();
|
|
109
109
|
// Inline function 'kotlin.apply' call
|
|
110
110
|
element(client);
|
|
111
111
|
}
|
|
112
112
|
// Inline function 'kotlin.collections.forEach' call
|
|
113
|
-
var _iterator__ex2g4s_0 = this.
|
|
113
|
+
var _iterator__ex2g4s_0 = this.d51_1.y2().d1();
|
|
114
114
|
while (_iterator__ex2g4s_0.e1()) {
|
|
115
115
|
var element_0 = _iterator__ex2g4s_0.f1();
|
|
116
116
|
// Inline function 'kotlin.apply' call
|
|
117
117
|
element_0(client);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
124
|
-
var tmp0 = this.
|
|
120
|
+
l51(other) {
|
|
121
|
+
this.f51_1 = other.f51_1;
|
|
122
|
+
this.g51_1 = other.g51_1;
|
|
123
|
+
this.h51_1 = other.h51_1;
|
|
124
|
+
var tmp0 = this.b51_1;
|
|
125
125
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
126
|
-
var map = other.
|
|
126
|
+
var map = other.b51_1;
|
|
127
127
|
tmp0.f3(map);
|
|
128
|
-
var tmp0_0 = this.
|
|
128
|
+
var tmp0_0 = this.c51_1;
|
|
129
129
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
130
|
-
var map_0 = other.
|
|
130
|
+
var map_0 = other.c51_1;
|
|
131
131
|
tmp0_0.f3(map_0);
|
|
132
|
-
var tmp0_1 = this.
|
|
132
|
+
var tmp0_1 = this.d51_1;
|
|
133
133
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
134
|
-
var map_1 = other.
|
|
134
|
+
var map_1 = other.d51_1;
|
|
135
135
|
tmp0_1.f3(map_1);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
@@ -8,18 +8,18 @@ import { HttpResponse1532ob1hsse1y as HttpResponse } from '../statement/HttpResp
|
|
|
8
8
|
//region block: pre-declaration
|
|
9
9
|
//endregion
|
|
10
10
|
function replaceResponse(_this__u8e3s4, headers, content) {
|
|
11
|
-
headers = headers === VOID ? _this__u8e3s4.
|
|
12
|
-
return DelegatedCall().
|
|
11
|
+
headers = headers === VOID ? _this__u8e3s4.n4z().z45() : headers;
|
|
12
|
+
return DelegatedCall().c52(_this__u8e3s4.i4z_1, _this__u8e3s4, content, headers);
|
|
13
13
|
}
|
|
14
14
|
var DelegatedCallClass;
|
|
15
15
|
function DelegatedCall() {
|
|
16
16
|
if (DelegatedCallClass === VOID) {
|
|
17
17
|
class $ extends HttpClientCall() {
|
|
18
|
-
static
|
|
19
|
-
responseHeaders = responseHeaders === VOID ? originCall.
|
|
20
|
-
var $this = this.
|
|
21
|
-
$this.
|
|
22
|
-
$this.
|
|
18
|
+
static c52(client, originCall, responseContent, responseHeaders) {
|
|
19
|
+
responseHeaders = responseHeaders === VOID ? originCall.n4z().z45() : responseHeaders;
|
|
20
|
+
var $this = this.d52(client);
|
|
21
|
+
$this.k4z_1 = new (DelegatedRequest())($this, originCall.e52());
|
|
22
|
+
$this.l4z_1 = new (DelegatedResponse())($this, originCall.n4z(), responseContent, responseHeaders);
|
|
23
23
|
return $this;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -33,26 +33,26 @@ function DelegatedRequest() {
|
|
|
33
33
|
if (DelegatedRequestClass === VOID) {
|
|
34
34
|
class $ {
|
|
35
35
|
constructor(call, origin) {
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
36
|
+
this.j52_1 = origin;
|
|
37
|
+
this.k52_1 = call;
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
return this.
|
|
39
|
+
l52() {
|
|
40
|
+
return this.k52_1;
|
|
41
41
|
}
|
|
42
42
|
s1x() {
|
|
43
|
-
return this.
|
|
43
|
+
return this.j52_1.s1x();
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
return this.
|
|
45
|
+
m52() {
|
|
46
|
+
return this.j52_1.m52();
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
return this.
|
|
48
|
+
n52() {
|
|
49
|
+
return this.j52_1.n52();
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
return this.
|
|
51
|
+
f52() {
|
|
52
|
+
return this.j52_1.f52();
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
return this.
|
|
54
|
+
z45() {
|
|
55
|
+
return this.j52_1.z45();
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
initMetadataForClass($, 'DelegatedRequest', VOID, VOID, [HttpRequest()]);
|
|
@@ -65,37 +65,37 @@ function DelegatedResponse() {
|
|
|
65
65
|
if (DelegatedResponseClass === VOID) {
|
|
66
66
|
class $ extends HttpResponse() {
|
|
67
67
|
constructor(call, origin, content, headers) {
|
|
68
|
-
headers = headers === VOID ? origin.
|
|
68
|
+
headers = headers === VOID ? origin.z45() : headers;
|
|
69
69
|
super();
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
70
|
+
this.o52_1 = call;
|
|
71
|
+
this.p52_1 = origin;
|
|
72
|
+
this.q52_1 = content;
|
|
73
|
+
this.r52_1 = headers;
|
|
74
|
+
this.s52_1 = this.p52_1.s1x();
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
return this.
|
|
76
|
+
l52() {
|
|
77
|
+
return this.o52_1;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
return this.
|
|
79
|
+
z45() {
|
|
80
|
+
return this.r52_1;
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
return this.
|
|
82
|
+
t52() {
|
|
83
|
+
return this.q52_1(this.p52_1);
|
|
84
84
|
}
|
|
85
85
|
s1x() {
|
|
86
|
-
return this.
|
|
86
|
+
return this.s52_1;
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
return this.
|
|
88
|
+
u52() {
|
|
89
|
+
return this.p52_1.u52();
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
return this.
|
|
91
|
+
g2w() {
|
|
92
|
+
return this.p52_1.g2w();
|
|
93
93
|
}
|
|
94
|
-
|
|
95
|
-
return this.
|
|
94
|
+
v52() {
|
|
95
|
+
return this.p52_1.v52();
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
return this.
|
|
97
|
+
w52() {
|
|
98
|
+
return this.p52_1.w52();
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
initMetadataForClass($, 'DelegatedResponse');
|