@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
|
@@ -74,15 +74,15 @@ function HttpCallValidatorConfig() {
|
|
|
74
74
|
constructor() {
|
|
75
75
|
var tmp = this;
|
|
76
76
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
77
|
-
tmp.
|
|
77
|
+
tmp.e5d_1 = ArrayList().l1();
|
|
78
78
|
var tmp_0 = this;
|
|
79
79
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
80
|
-
tmp_0.
|
|
81
|
-
this.
|
|
80
|
+
tmp_0.f5d_1 = ArrayList().l1();
|
|
81
|
+
this.g5d_1 = true;
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
h5d(block) {
|
|
84
84
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
85
|
-
this.
|
|
85
|
+
this.e5d_1.m(block);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
initMetadataForClass($, 'HttpCallValidatorConfig', HttpCallValidatorConfig);
|
|
@@ -115,18 +115,18 @@ function RequestError$install$slambda() {
|
|
|
115
115
|
constructor($handler, resultContinuation, $box) {
|
|
116
116
|
if ($box === VOID)
|
|
117
117
|
$box = {};
|
|
118
|
-
$box.
|
|
118
|
+
$box.b5g_1 = $handler;
|
|
119
119
|
super(resultContinuation, $box);
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
var tmp = this.
|
|
121
|
+
g4z($this$intercept, it, $completion) {
|
|
122
|
+
var tmp = this.h4z($this$intercept, it, $completion);
|
|
123
123
|
tmp.cc_1 = Unit_instance;
|
|
124
124
|
tmp.dc_1 = null;
|
|
125
125
|
return tmp.ic();
|
|
126
126
|
}
|
|
127
127
|
ld(p1, p2, $completion) {
|
|
128
128
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
129
|
-
return this.
|
|
129
|
+
return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
130
130
|
}
|
|
131
131
|
ic() {
|
|
132
132
|
var suspendResult = this.cc_1;
|
|
@@ -138,14 +138,14 @@ function RequestError$install$slambda() {
|
|
|
138
138
|
this.bc_1 = 5;
|
|
139
139
|
this.bc_1 = 2;
|
|
140
140
|
this.ac_1 = 1;
|
|
141
|
-
suspendResult = this.
|
|
141
|
+
suspendResult = this.c5g_1.y3v(this);
|
|
142
142
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
143
143
|
return suspendResult;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
continue $sm;
|
|
147
147
|
case 1:
|
|
148
|
-
this.
|
|
148
|
+
this.e5g_1 = suspendResult;
|
|
149
149
|
this.bc_1 = 5;
|
|
150
150
|
this.ac_1 = 4;
|
|
151
151
|
continue $sm;
|
|
@@ -153,9 +153,9 @@ function RequestError$install$slambda() {
|
|
|
153
153
|
this.bc_1 = 5;
|
|
154
154
|
var tmp_0 = this.dc_1;
|
|
155
155
|
if (tmp_0 instanceof Error) {
|
|
156
|
-
this.
|
|
156
|
+
this.f5g_1 = this.dc_1;
|
|
157
157
|
this.ac_1 = 3;
|
|
158
|
-
suspendResult = this.
|
|
158
|
+
suspendResult = this.b5g_1(HttpRequest_0(this.c5g_1.v3w_1), this.f5g_1, this);
|
|
159
159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
160
160
|
return suspendResult;
|
|
161
161
|
}
|
|
@@ -169,7 +169,7 @@ function RequestError$install$slambda() {
|
|
|
169
169
|
var tmp_1 = this;
|
|
170
170
|
if (!(error == null))
|
|
171
171
|
throw error;
|
|
172
|
-
tmp_1.
|
|
172
|
+
tmp_1.e5g_1 = Unit_instance;
|
|
173
173
|
this.ac_1 = 4;
|
|
174
174
|
continue $sm;
|
|
175
175
|
case 4:
|
|
@@ -189,10 +189,10 @@ function RequestError$install$slambda() {
|
|
|
189
189
|
}
|
|
190
190
|
while (true);
|
|
191
191
|
}
|
|
192
|
-
|
|
193
|
-
var i = new (RequestError$install$slambda())(this.
|
|
194
|
-
i.
|
|
195
|
-
i.
|
|
192
|
+
h4z($this$intercept, it, completion) {
|
|
193
|
+
var i = new (RequestError$install$slambda())(this.b5g_1, completion);
|
|
194
|
+
i.c5g_1 = $this$intercept;
|
|
195
|
+
i.d5g_1 = it;
|
|
196
196
|
return i;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -204,7 +204,7 @@ function RequestError$install$slambda() {
|
|
|
204
204
|
function RequestError$install$slambda_0($handler, resultContinuation) {
|
|
205
205
|
var i = new (RequestError$install$slambda())($handler, resultContinuation);
|
|
206
206
|
var l = function ($this$intercept, it, $completion) {
|
|
207
|
-
return i.
|
|
207
|
+
return i.g4z($this$intercept, it, $completion);
|
|
208
208
|
};
|
|
209
209
|
l.$arity = 2;
|
|
210
210
|
return l;
|
|
@@ -213,12 +213,12 @@ var RequestErrorClass;
|
|
|
213
213
|
function RequestError() {
|
|
214
214
|
if (RequestErrorClass === VOID) {
|
|
215
215
|
class $ {
|
|
216
|
-
|
|
217
|
-
var tmp = Phases_getInstance().
|
|
218
|
-
client.
|
|
216
|
+
g5g(client, handler) {
|
|
217
|
+
var tmp = Phases_getInstance().i59_1;
|
|
218
|
+
client.m4y_1.z3w(tmp, RequestError$install$slambda_0(handler, null));
|
|
219
219
|
}
|
|
220
|
-
|
|
221
|
-
return this.
|
|
220
|
+
n59(client, handler) {
|
|
221
|
+
return this.g5g(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
initMetadataForObject($, 'RequestError');
|
|
@@ -237,18 +237,18 @@ function ReceiveError$install$slambda() {
|
|
|
237
237
|
constructor($handler, resultContinuation, $box) {
|
|
238
238
|
if ($box === VOID)
|
|
239
239
|
$box = {};
|
|
240
|
-
$box.
|
|
240
|
+
$box.p5g_1 = $handler;
|
|
241
241
|
super(resultContinuation, $box);
|
|
242
242
|
}
|
|
243
|
-
|
|
244
|
-
var tmp = this.
|
|
243
|
+
b50($this$intercept, it, $completion) {
|
|
244
|
+
var tmp = this.c50($this$intercept, it, $completion);
|
|
245
245
|
tmp.cc_1 = Unit_instance;
|
|
246
246
|
tmp.dc_1 = null;
|
|
247
247
|
return tmp.ic();
|
|
248
248
|
}
|
|
249
249
|
ld(p1, p2, $completion) {
|
|
250
250
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
251
|
-
return this.
|
|
251
|
+
return this.b50(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
|
|
252
252
|
}
|
|
253
253
|
ic() {
|
|
254
254
|
var suspendResult = this.cc_1;
|
|
@@ -260,14 +260,14 @@ function ReceiveError$install$slambda() {
|
|
|
260
260
|
this.bc_1 = 5;
|
|
261
261
|
this.bc_1 = 2;
|
|
262
262
|
this.ac_1 = 1;
|
|
263
|
-
suspendResult = this.
|
|
263
|
+
suspendResult = this.q5g_1.y3v(this);
|
|
264
264
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
265
265
|
return suspendResult;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
continue $sm;
|
|
269
269
|
case 1:
|
|
270
|
-
this.
|
|
270
|
+
this.s5g_1 = suspendResult;
|
|
271
271
|
this.bc_1 = 5;
|
|
272
272
|
this.ac_1 = 4;
|
|
273
273
|
continue $sm;
|
|
@@ -275,9 +275,9 @@ function ReceiveError$install$slambda() {
|
|
|
275
275
|
this.bc_1 = 5;
|
|
276
276
|
var tmp_0 = this.dc_1;
|
|
277
277
|
if (tmp_0 instanceof Error) {
|
|
278
|
-
this.
|
|
278
|
+
this.t5g_1 = this.dc_1;
|
|
279
279
|
this.ac_1 = 3;
|
|
280
|
-
suspendResult = this.
|
|
280
|
+
suspendResult = this.p5g_1(this.q5g_1.v3w_1.e52(), this.t5g_1, this);
|
|
281
281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
282
282
|
return suspendResult;
|
|
283
283
|
}
|
|
@@ -291,7 +291,7 @@ function ReceiveError$install$slambda() {
|
|
|
291
291
|
var tmp_1 = this;
|
|
292
292
|
if (!(error == null))
|
|
293
293
|
throw error;
|
|
294
|
-
tmp_1.
|
|
294
|
+
tmp_1.s5g_1 = Unit_instance;
|
|
295
295
|
this.ac_1 = 4;
|
|
296
296
|
continue $sm;
|
|
297
297
|
case 4:
|
|
@@ -311,10 +311,10 @@ function ReceiveError$install$slambda() {
|
|
|
311
311
|
}
|
|
312
312
|
while (true);
|
|
313
313
|
}
|
|
314
|
-
|
|
315
|
-
var i = new (ReceiveError$install$slambda())(this.
|
|
316
|
-
i.
|
|
317
|
-
i.
|
|
314
|
+
c50($this$intercept, it, completion) {
|
|
315
|
+
var i = new (ReceiveError$install$slambda())(this.p5g_1, completion);
|
|
316
|
+
i.q5g_1 = $this$intercept;
|
|
317
|
+
i.r5g_1 = it;
|
|
318
318
|
return i;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
@@ -326,7 +326,7 @@ function ReceiveError$install$slambda() {
|
|
|
326
326
|
function ReceiveError$install$slambda_0($handler, resultContinuation) {
|
|
327
327
|
var i = new (ReceiveError$install$slambda())($handler, resultContinuation);
|
|
328
328
|
var l = function ($this$intercept, it, $completion) {
|
|
329
|
-
return i.
|
|
329
|
+
return i.b50($this$intercept, it, $completion);
|
|
330
330
|
};
|
|
331
331
|
l.$arity = 2;
|
|
332
332
|
return l;
|
|
@@ -335,13 +335,13 @@ var ReceiveErrorClass;
|
|
|
335
335
|
function ReceiveError() {
|
|
336
336
|
if (ReceiveErrorClass === VOID) {
|
|
337
337
|
class $ {
|
|
338
|
-
|
|
338
|
+
g5g(client, handler) {
|
|
339
339
|
var BeforeReceive = new (PipelinePhase())('BeforeReceive');
|
|
340
|
-
client.
|
|
341
|
-
client.
|
|
340
|
+
client.n4y_1.y3w(Phases_getInstance_0().m51_1, BeforeReceive);
|
|
341
|
+
client.n4y_1.z3w(BeforeReceive, ReceiveError$install$slambda_0(handler, null));
|
|
342
342
|
}
|
|
343
|
-
|
|
344
|
-
return this.
|
|
343
|
+
n59(client, handler) {
|
|
344
|
+
return this.g5g(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
initMetadataForObject($, 'ReceiveError');
|
|
@@ -359,7 +359,7 @@ function HttpRequest_0(builder) {
|
|
|
359
359
|
}
|
|
360
360
|
function HttpResponseValidator(_this__u8e3s4, block) {
|
|
361
361
|
_init_properties_HttpCallValidator_kt__r6yh2y();
|
|
362
|
-
_this__u8e3s4.
|
|
362
|
+
_this__u8e3s4.w51(get_HttpCallValidator(), block);
|
|
363
363
|
}
|
|
364
364
|
function HttpCallValidatorConfig$_init_$ref_m1o2g9() {
|
|
365
365
|
var l = function () {
|
|
@@ -370,17 +370,17 @@ function HttpCallValidatorConfig$_init_$ref_m1o2g9() {
|
|
|
370
370
|
}
|
|
371
371
|
function HttpCallValidator$lambda($this$createClientPlugin) {
|
|
372
372
|
_init_properties_HttpCallValidator_kt__r6yh2y();
|
|
373
|
-
var responseValidators = reversed($this$createClientPlugin.
|
|
374
|
-
var callExceptionHandlers = reversed($this$createClientPlugin.
|
|
375
|
-
var expectSuccess = $this$createClientPlugin.
|
|
373
|
+
var responseValidators = reversed($this$createClientPlugin.i5a_1.e5d_1);
|
|
374
|
+
var callExceptionHandlers = reversed($this$createClientPlugin.i5a_1.f5d_1);
|
|
375
|
+
var expectSuccess = $this$createClientPlugin.i5a_1.g5d_1;
|
|
376
376
|
var tmp = SetupRequest_instance;
|
|
377
|
-
$this$createClientPlugin.
|
|
377
|
+
$this$createClientPlugin.l5a(tmp, HttpCallValidator$lambda$slambda_0(expectSuccess, null));
|
|
378
378
|
var tmp_0 = Send_instance;
|
|
379
|
-
$this$createClientPlugin.
|
|
379
|
+
$this$createClientPlugin.l5a(tmp_0, HttpCallValidator$lambda$slambda_2(responseValidators, null));
|
|
380
380
|
var tmp_1 = RequestError_instance;
|
|
381
|
-
$this$createClientPlugin.
|
|
381
|
+
$this$createClientPlugin.l5a(tmp_1, HttpCallValidator$lambda$slambda_4(callExceptionHandlers, null));
|
|
382
382
|
var tmp_2 = ReceiveError_instance;
|
|
383
|
-
$this$createClientPlugin.
|
|
383
|
+
$this$createClientPlugin.l5a(tmp_2, HttpCallValidator$lambda$slambda_6(callExceptionHandlers, null));
|
|
384
384
|
return Unit_instance;
|
|
385
385
|
}
|
|
386
386
|
function invoke$validateResponse(responseValidators, response, $completion) {
|
|
@@ -407,17 +407,17 @@ function HttpCallValidator$lambda$slambda() {
|
|
|
407
407
|
constructor($expectSuccess, resultContinuation, $box) {
|
|
408
408
|
if ($box === VOID)
|
|
409
409
|
$box = {};
|
|
410
|
-
$box.
|
|
410
|
+
$box.k5i_1 = $expectSuccess;
|
|
411
411
|
super(resultContinuation, $box);
|
|
412
412
|
}
|
|
413
|
-
|
|
414
|
-
var tmp = this.
|
|
413
|
+
m5i(request, $completion) {
|
|
414
|
+
var tmp = this.n5i(request, $completion);
|
|
415
415
|
tmp.cc_1 = Unit_instance;
|
|
416
416
|
tmp.dc_1 = null;
|
|
417
417
|
return tmp.ic();
|
|
418
418
|
}
|
|
419
419
|
kd(p1, $completion) {
|
|
420
|
-
return this.
|
|
420
|
+
return this.m5i(p1 instanceof HttpRequestBuilder() ? p1 : THROW_CCE(), $completion);
|
|
421
421
|
}
|
|
422
422
|
ic() {
|
|
423
423
|
var suspendResult = this.cc_1;
|
|
@@ -427,7 +427,7 @@ function HttpCallValidator$lambda$slambda() {
|
|
|
427
427
|
if (tmp === 0) {
|
|
428
428
|
this.bc_1 = 1;
|
|
429
429
|
var tmp_0 = get_ExpectSuccessAttributeKey();
|
|
430
|
-
this.
|
|
430
|
+
this.l5i_1.s50_1.w3r(tmp_0, HttpCallValidator$lambda$slambda$lambda(this.k5i_1));
|
|
431
431
|
return Unit_instance;
|
|
432
432
|
} else if (tmp === 1) {
|
|
433
433
|
throw this.dc_1;
|
|
@@ -438,9 +438,9 @@ function HttpCallValidator$lambda$slambda() {
|
|
|
438
438
|
}
|
|
439
439
|
while (true);
|
|
440
440
|
}
|
|
441
|
-
|
|
442
|
-
var i = new (HttpCallValidator$lambda$slambda())(this.
|
|
443
|
-
i.
|
|
441
|
+
n5i(request, completion) {
|
|
442
|
+
var i = new (HttpCallValidator$lambda$slambda())(this.k5i_1, completion);
|
|
443
|
+
i.l5i_1 = request;
|
|
444
444
|
return i;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
@@ -452,7 +452,7 @@ function HttpCallValidator$lambda$slambda() {
|
|
|
452
452
|
function HttpCallValidator$lambda$slambda_0($expectSuccess, resultContinuation) {
|
|
453
453
|
var i = new (HttpCallValidator$lambda$slambda())($expectSuccess, resultContinuation);
|
|
454
454
|
var l = function (request, $completion) {
|
|
455
|
-
return i.
|
|
455
|
+
return i.m5i(request, $completion);
|
|
456
456
|
};
|
|
457
457
|
l.$arity = 1;
|
|
458
458
|
return l;
|
|
@@ -464,18 +464,18 @@ function HttpCallValidator$lambda$slambda_1() {
|
|
|
464
464
|
constructor($responseValidators, resultContinuation, $box) {
|
|
465
465
|
if ($box === VOID)
|
|
466
466
|
$box = {};
|
|
467
|
-
$box.
|
|
467
|
+
$box.w5i_1 = $responseValidators;
|
|
468
468
|
super(resultContinuation, $box);
|
|
469
469
|
}
|
|
470
|
-
|
|
471
|
-
var tmp = this.
|
|
470
|
+
a5j($this$on, request, $completion) {
|
|
471
|
+
var tmp = this.b5j($this$on, request, $completion);
|
|
472
472
|
tmp.cc_1 = Unit_instance;
|
|
473
473
|
tmp.dc_1 = null;
|
|
474
474
|
return tmp.ic();
|
|
475
475
|
}
|
|
476
476
|
ld(p1, p2, $completion) {
|
|
477
477
|
var tmp = p1 instanceof Sender() ? p1 : THROW_CCE();
|
|
478
|
-
return this.
|
|
478
|
+
return this.a5j(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
|
|
479
479
|
}
|
|
480
480
|
ic() {
|
|
481
481
|
var suspendResult = this.cc_1;
|
|
@@ -486,23 +486,23 @@ function HttpCallValidator$lambda$slambda_1() {
|
|
|
486
486
|
case 0:
|
|
487
487
|
this.bc_1 = 3;
|
|
488
488
|
this.ac_1 = 1;
|
|
489
|
-
suspendResult = this.
|
|
489
|
+
suspendResult = this.x5i_1.e5j(this.y5i_1, this);
|
|
490
490
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
491
491
|
return suspendResult;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
continue $sm;
|
|
495
495
|
case 1:
|
|
496
|
-
this.
|
|
496
|
+
this.z5i_1 = suspendResult;
|
|
497
497
|
this.ac_1 = 2;
|
|
498
|
-
suspendResult = invoke$validateResponse(this.
|
|
498
|
+
suspendResult = invoke$validateResponse(this.w5i_1, this.z5i_1.n4z(), this);
|
|
499
499
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
500
500
|
return suspendResult;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
continue $sm;
|
|
504
504
|
case 2:
|
|
505
|
-
return this.
|
|
505
|
+
return this.z5i_1;
|
|
506
506
|
case 3:
|
|
507
507
|
throw this.dc_1;
|
|
508
508
|
}
|
|
@@ -517,10 +517,10 @@ function HttpCallValidator$lambda$slambda_1() {
|
|
|
517
517
|
}
|
|
518
518
|
while (true);
|
|
519
519
|
}
|
|
520
|
-
|
|
521
|
-
var i = new (HttpCallValidator$lambda$slambda_1())(this.
|
|
522
|
-
i.
|
|
523
|
-
i.
|
|
520
|
+
b5j($this$on, request, completion) {
|
|
521
|
+
var i = new (HttpCallValidator$lambda$slambda_1())(this.w5i_1, completion);
|
|
522
|
+
i.x5i_1 = $this$on;
|
|
523
|
+
i.y5i_1 = request;
|
|
524
524
|
return i;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
@@ -532,7 +532,7 @@ function HttpCallValidator$lambda$slambda_1() {
|
|
|
532
532
|
function HttpCallValidator$lambda$slambda_2($responseValidators, resultContinuation) {
|
|
533
533
|
var i = new (HttpCallValidator$lambda$slambda_1())($responseValidators, resultContinuation);
|
|
534
534
|
var l = function ($this$on, request, $completion) {
|
|
535
|
-
return i.
|
|
535
|
+
return i.a5j($this$on, request, $completion);
|
|
536
536
|
};
|
|
537
537
|
l.$arity = 2;
|
|
538
538
|
return l;
|
|
@@ -544,18 +544,18 @@ function HttpCallValidator$lambda$slambda_3() {
|
|
|
544
544
|
constructor($callExceptionHandlers, resultContinuation, $box) {
|
|
545
545
|
if ($box === VOID)
|
|
546
546
|
$box = {};
|
|
547
|
-
$box.
|
|
547
|
+
$box.n5j_1 = $callExceptionHandlers;
|
|
548
548
|
super(resultContinuation, $box);
|
|
549
549
|
}
|
|
550
|
-
|
|
551
|
-
var tmp = this.
|
|
550
|
+
r5j(request, cause, $completion) {
|
|
551
|
+
var tmp = this.s5j(request, cause, $completion);
|
|
552
552
|
tmp.cc_1 = Unit_instance;
|
|
553
553
|
tmp.dc_1 = null;
|
|
554
554
|
return tmp.ic();
|
|
555
555
|
}
|
|
556
556
|
ld(p1, p2, $completion) {
|
|
557
557
|
var tmp = (!(p1 == null) ? isInterface(p1, HttpRequest()) : false) ? p1 : THROW_CCE();
|
|
558
|
-
return this.
|
|
558
|
+
return this.r5j(tmp, p2 instanceof Error ? p2 : THROW_CCE(), $completion);
|
|
559
559
|
}
|
|
560
560
|
ic() {
|
|
561
561
|
var suspendResult = this.cc_1;
|
|
@@ -565,16 +565,16 @@ function HttpCallValidator$lambda$slambda_3() {
|
|
|
565
565
|
switch (tmp) {
|
|
566
566
|
case 0:
|
|
567
567
|
this.bc_1 = 2;
|
|
568
|
-
this.
|
|
568
|
+
this.q5j_1 = unwrapCancellationException(this.p5j_1);
|
|
569
569
|
this.ac_1 = 1;
|
|
570
|
-
suspendResult = invoke$processException(this.
|
|
570
|
+
suspendResult = invoke$processException(this.n5j_1, this.q5j_1, this.o5j_1, this);
|
|
571
571
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
572
572
|
return suspendResult;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
continue $sm;
|
|
576
576
|
case 1:
|
|
577
|
-
return this.
|
|
577
|
+
return this.q5j_1;
|
|
578
578
|
case 2:
|
|
579
579
|
throw this.dc_1;
|
|
580
580
|
}
|
|
@@ -589,10 +589,10 @@ function HttpCallValidator$lambda$slambda_3() {
|
|
|
589
589
|
}
|
|
590
590
|
while (true);
|
|
591
591
|
}
|
|
592
|
-
|
|
593
|
-
var i = new (HttpCallValidator$lambda$slambda_3())(this.
|
|
594
|
-
i.
|
|
595
|
-
i.
|
|
592
|
+
s5j(request, cause, completion) {
|
|
593
|
+
var i = new (HttpCallValidator$lambda$slambda_3())(this.n5j_1, completion);
|
|
594
|
+
i.o5j_1 = request;
|
|
595
|
+
i.p5j_1 = cause;
|
|
596
596
|
return i;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
@@ -604,7 +604,7 @@ function HttpCallValidator$lambda$slambda_3() {
|
|
|
604
604
|
function HttpCallValidator$lambda$slambda_4($callExceptionHandlers, resultContinuation) {
|
|
605
605
|
var i = new (HttpCallValidator$lambda$slambda_3())($callExceptionHandlers, resultContinuation);
|
|
606
606
|
var l = function (request, cause, $completion) {
|
|
607
|
-
return i.
|
|
607
|
+
return i.r5j(request, cause, $completion);
|
|
608
608
|
};
|
|
609
609
|
l.$arity = 2;
|
|
610
610
|
return l;
|
|
@@ -616,18 +616,18 @@ function HttpCallValidator$lambda$slambda_5() {
|
|
|
616
616
|
constructor($callExceptionHandlers, resultContinuation, $box) {
|
|
617
617
|
if ($box === VOID)
|
|
618
618
|
$box = {};
|
|
619
|
-
$box.
|
|
619
|
+
$box.b5k_1 = $callExceptionHandlers;
|
|
620
620
|
super(resultContinuation, $box);
|
|
621
621
|
}
|
|
622
|
-
|
|
623
|
-
var tmp = this.
|
|
622
|
+
r5j(request, cause, $completion) {
|
|
623
|
+
var tmp = this.s5j(request, cause, $completion);
|
|
624
624
|
tmp.cc_1 = Unit_instance;
|
|
625
625
|
tmp.dc_1 = null;
|
|
626
626
|
return tmp.ic();
|
|
627
627
|
}
|
|
628
628
|
ld(p1, p2, $completion) {
|
|
629
629
|
var tmp = (!(p1 == null) ? isInterface(p1, HttpRequest()) : false) ? p1 : THROW_CCE();
|
|
630
|
-
return this.
|
|
630
|
+
return this.r5j(tmp, p2 instanceof Error ? p2 : THROW_CCE(), $completion);
|
|
631
631
|
}
|
|
632
632
|
ic() {
|
|
633
633
|
var suspendResult = this.cc_1;
|
|
@@ -637,16 +637,16 @@ function HttpCallValidator$lambda$slambda_5() {
|
|
|
637
637
|
switch (tmp) {
|
|
638
638
|
case 0:
|
|
639
639
|
this.bc_1 = 2;
|
|
640
|
-
this.
|
|
640
|
+
this.e5k_1 = unwrapCancellationException(this.d5k_1);
|
|
641
641
|
this.ac_1 = 1;
|
|
642
|
-
suspendResult = invoke$processException(this.
|
|
642
|
+
suspendResult = invoke$processException(this.b5k_1, this.e5k_1, this.c5k_1, this);
|
|
643
643
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
644
644
|
return suspendResult;
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
continue $sm;
|
|
648
648
|
case 1:
|
|
649
|
-
return this.
|
|
649
|
+
return this.e5k_1;
|
|
650
650
|
case 2:
|
|
651
651
|
throw this.dc_1;
|
|
652
652
|
}
|
|
@@ -661,10 +661,10 @@ function HttpCallValidator$lambda$slambda_5() {
|
|
|
661
661
|
}
|
|
662
662
|
while (true);
|
|
663
663
|
}
|
|
664
|
-
|
|
665
|
-
var i = new (HttpCallValidator$lambda$slambda_5())(this.
|
|
666
|
-
i.
|
|
667
|
-
i.
|
|
664
|
+
s5j(request, cause, completion) {
|
|
665
|
+
var i = new (HttpCallValidator$lambda$slambda_5())(this.b5k_1, completion);
|
|
666
|
+
i.c5k_1 = request;
|
|
667
|
+
i.d5k_1 = cause;
|
|
668
668
|
return i;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
@@ -676,7 +676,7 @@ function HttpCallValidator$lambda$slambda_5() {
|
|
|
676
676
|
function HttpCallValidator$lambda$slambda_6($callExceptionHandlers, resultContinuation) {
|
|
677
677
|
var i = new (HttpCallValidator$lambda$slambda_5())($callExceptionHandlers, resultContinuation);
|
|
678
678
|
var l = function (request, cause, $completion) {
|
|
679
|
-
return i.
|
|
679
|
+
return i.r5j(request, cause, $completion);
|
|
680
680
|
};
|
|
681
681
|
l.$arity = 2;
|
|
682
682
|
return l;
|
|
@@ -687,8 +687,8 @@ function $invoke$validateResponseCOROUTINE$() {
|
|
|
687
687
|
class $ extends CoroutineImpl() {
|
|
688
688
|
constructor(responseValidators, response, resultContinuation) {
|
|
689
689
|
super(resultContinuation);
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
690
|
+
this.c5h_1 = responseValidators;
|
|
691
|
+
this.d5h_1 = response;
|
|
692
692
|
}
|
|
693
693
|
ic() {
|
|
694
694
|
var suspendResult = this.cc_1;
|
|
@@ -698,25 +698,25 @@ function $invoke$validateResponseCOROUTINE$() {
|
|
|
698
698
|
switch (tmp) {
|
|
699
699
|
case 0:
|
|
700
700
|
this.bc_1 = 4;
|
|
701
|
-
get_LOGGER().
|
|
701
|
+
get_LOGGER().g3y('Validating response for request ' + this.d5h_1.l52().e52().n52().toString());
|
|
702
702
|
var tmp_0 = this;
|
|
703
|
-
tmp_0.
|
|
704
|
-
this.
|
|
705
|
-
this.
|
|
703
|
+
tmp_0.e5h_1 = this.c5h_1;
|
|
704
|
+
this.f5h_1 = this.e5h_1;
|
|
705
|
+
this.g5h_1 = this.f5h_1.d1();
|
|
706
706
|
this.ac_1 = 1;
|
|
707
707
|
continue $sm;
|
|
708
708
|
case 1:
|
|
709
|
-
if (!this.
|
|
709
|
+
if (!this.g5h_1.e1()) {
|
|
710
710
|
this.ac_1 = 3;
|
|
711
711
|
continue $sm;
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
-
this.
|
|
714
|
+
this.h5h_1 = this.g5h_1.f1();
|
|
715
715
|
var tmp_1 = this;
|
|
716
|
-
tmp_1.
|
|
717
|
-
this.
|
|
716
|
+
tmp_1.i5h_1 = this.h5h_1;
|
|
717
|
+
this.j5h_1 = this.i5h_1;
|
|
718
718
|
this.ac_1 = 2;
|
|
719
|
-
suspendResult = this.
|
|
719
|
+
suspendResult = this.j5h_1(this.d5h_1, this);
|
|
720
720
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
721
721
|
return suspendResult;
|
|
722
722
|
}
|
|
@@ -753,9 +753,9 @@ function $invoke$processExceptionCOROUTINE$() {
|
|
|
753
753
|
class $ extends CoroutineImpl() {
|
|
754
754
|
constructor(callExceptionHandlers, cause, request, resultContinuation) {
|
|
755
755
|
super(resultContinuation);
|
|
756
|
-
this.
|
|
757
|
-
this.
|
|
758
|
-
this.
|
|
756
|
+
this.s5h_1 = callExceptionHandlers;
|
|
757
|
+
this.t5h_1 = cause;
|
|
758
|
+
this.u5h_1 = request;
|
|
759
759
|
}
|
|
760
760
|
ic() {
|
|
761
761
|
var suspendResult = this.cc_1;
|
|
@@ -765,37 +765,37 @@ function $invoke$processExceptionCOROUTINE$() {
|
|
|
765
765
|
switch (tmp) {
|
|
766
766
|
case 0:
|
|
767
767
|
this.bc_1 = 6;
|
|
768
|
-
get_LOGGER().
|
|
768
|
+
get_LOGGER().g3y('Processing exception ' + this.t5h_1.toString() + ' for request ' + this.u5h_1.n52().toString());
|
|
769
769
|
var tmp_0 = this;
|
|
770
|
-
tmp_0.
|
|
771
|
-
this.
|
|
772
|
-
this.
|
|
770
|
+
tmp_0.v5h_1 = this.s5h_1;
|
|
771
|
+
this.w5h_1 = this.v5h_1;
|
|
772
|
+
this.x5h_1 = this.w5h_1.d1();
|
|
773
773
|
this.ac_1 = 1;
|
|
774
774
|
continue $sm;
|
|
775
775
|
case 1:
|
|
776
|
-
if (!this.
|
|
776
|
+
if (!this.x5h_1.e1()) {
|
|
777
777
|
this.ac_1 = 5;
|
|
778
778
|
continue $sm;
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
this.
|
|
781
|
+
this.y5h_1 = this.x5h_1.f1();
|
|
782
782
|
var tmp_1 = this;
|
|
783
|
-
tmp_1.
|
|
784
|
-
this.
|
|
785
|
-
this.
|
|
786
|
-
var tmp_2 = this.
|
|
783
|
+
tmp_1.z5h_1 = this.y5h_1;
|
|
784
|
+
this.a5i_1 = this.z5h_1;
|
|
785
|
+
this.b5i_1 = this.a5i_1;
|
|
786
|
+
var tmp_2 = this.b5i_1;
|
|
787
787
|
if (tmp_2 instanceof ExceptionHandlerWrapper()) {
|
|
788
788
|
this.ac_1 = 3;
|
|
789
|
-
suspendResult = this.
|
|
789
|
+
suspendResult = this.a5i_1.g5k_1(this.t5h_1, this);
|
|
790
790
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
791
791
|
return suspendResult;
|
|
792
792
|
}
|
|
793
793
|
continue $sm;
|
|
794
794
|
} else {
|
|
795
|
-
var tmp_3 = this.
|
|
795
|
+
var tmp_3 = this.b5i_1;
|
|
796
796
|
if (tmp_3 instanceof RequestExceptionHandlerWrapper()) {
|
|
797
797
|
this.ac_1 = 2;
|
|
798
|
-
suspendResult = this.
|
|
798
|
+
suspendResult = this.a5i_1.f5k_1(this.t5h_1, this.u5h_1, this);
|
|
799
799
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
800
800
|
return suspendResult;
|
|
801
801
|
}
|
|
@@ -842,27 +842,27 @@ function HttpRequest$1() {
|
|
|
842
842
|
if (HttpRequest$1Class === VOID) {
|
|
843
843
|
class $ {
|
|
844
844
|
constructor($builder) {
|
|
845
|
-
this.
|
|
846
|
-
this.
|
|
847
|
-
this.
|
|
848
|
-
this.
|
|
849
|
-
this.
|
|
845
|
+
this.l5k_1 = $builder;
|
|
846
|
+
this.h5k_1 = $builder.o50_1;
|
|
847
|
+
this.i5k_1 = $builder.n50_1.z1i();
|
|
848
|
+
this.j5k_1 = $builder.s50_1;
|
|
849
|
+
this.k5k_1 = $builder.p50_1.z1i();
|
|
850
850
|
}
|
|
851
|
-
|
|
851
|
+
l52() {
|
|
852
852
|
var message = 'Call is not initialized';
|
|
853
853
|
throw IllegalStateException().o4(toString(message));
|
|
854
854
|
}
|
|
855
|
-
|
|
856
|
-
return this.
|
|
855
|
+
m52() {
|
|
856
|
+
return this.h5k_1;
|
|
857
857
|
}
|
|
858
|
-
|
|
859
|
-
return this.
|
|
858
|
+
n52() {
|
|
859
|
+
return this.i5k_1;
|
|
860
860
|
}
|
|
861
|
-
|
|
862
|
-
return this.
|
|
861
|
+
f52() {
|
|
862
|
+
return this.j5k_1;
|
|
863
863
|
}
|
|
864
|
-
|
|
865
|
-
return this.
|
|
864
|
+
z45() {
|
|
865
|
+
return this.k5k_1;
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
protoOf($).s1x = get_coroutineContext;
|
|
@@ -30,8 +30,8 @@ function plugin(_this__u8e3s4, plugin) {
|
|
|
30
30
|
}
|
|
31
31
|
function pluginOrNull(_this__u8e3s4, plugin) {
|
|
32
32
|
_init_properties_HttpClientPlugin_kt__cypu1m();
|
|
33
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
34
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
33
|
+
var tmp0_safe_receiver = _this__u8e3s4.q4y_1.s3r(get_PLUGIN_INSTALLED_LIST());
|
|
34
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s3r(plugin.r1());
|
|
35
35
|
}
|
|
36
36
|
var properties_initialized_HttpClientPlugin_kt_p98320;
|
|
37
37
|
function _init_properties_HttpClientPlugin_kt__cypu1m() {
|