@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
|
@@ -100,120 +100,120 @@ function Url$encodedPath$delegate$lambda($pathSegments, this$0) {
|
|
|
100
100
|
if ($pathSegments.j()) {
|
|
101
101
|
return '';
|
|
102
102
|
}
|
|
103
|
-
var pathStartIndex = indexOf(this$0.
|
|
103
|
+
var pathStartIndex = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(47), this$0.a4a_1.l49_1.length + 3 | 0);
|
|
104
104
|
var tmp_0;
|
|
105
105
|
if (pathStartIndex === -1) {
|
|
106
106
|
return '';
|
|
107
107
|
}
|
|
108
108
|
// Inline function 'kotlin.charArrayOf' call
|
|
109
109
|
var tmp$ret$0 = charArrayOf([_Char___init__impl__6a9atx(63), _Char___init__impl__6a9atx(35)]);
|
|
110
|
-
var pathEndIndex = indexOfAny(this$0.
|
|
110
|
+
var pathEndIndex = indexOfAny(this$0.v49_1, tmp$ret$0, pathStartIndex);
|
|
111
111
|
var tmp_1;
|
|
112
112
|
if (pathEndIndex === -1) {
|
|
113
|
-
return substring(this$0.
|
|
113
|
+
return substring(this$0.v49_1, pathStartIndex);
|
|
114
114
|
}
|
|
115
|
-
return substring_0(this$0.
|
|
115
|
+
return substring_0(this$0.v49_1, pathStartIndex, pathEndIndex);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
function Url$_get_encodedPath_$ref_fg9j48() {
|
|
119
119
|
return function (p0) {
|
|
120
|
-
return p0.
|
|
120
|
+
return p0.e4b();
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
function Url$encodedQuery$delegate$lambda(this$0) {
|
|
124
124
|
return function () {
|
|
125
|
-
var queryStart = indexOf(this$0.
|
|
125
|
+
var queryStart = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(63)) + 1 | 0;
|
|
126
126
|
var tmp;
|
|
127
127
|
if (queryStart === 0) {
|
|
128
128
|
return '';
|
|
129
129
|
}
|
|
130
|
-
var queryEnd = indexOf(this$0.
|
|
130
|
+
var queryEnd = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(35), queryStart);
|
|
131
131
|
var tmp_0;
|
|
132
132
|
if (queryEnd === -1) {
|
|
133
|
-
return substring(this$0.
|
|
133
|
+
return substring(this$0.v49_1, queryStart);
|
|
134
134
|
}
|
|
135
|
-
return substring_0(this$0.
|
|
135
|
+
return substring_0(this$0.v49_1, queryStart, queryEnd);
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
138
|
function Url$_get_encodedQuery_$ref_c7vq1h() {
|
|
139
139
|
return function (p0) {
|
|
140
|
-
return p0.
|
|
140
|
+
return p0.f4b();
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
function Url$encodedPathAndQuery$delegate$lambda(this$0) {
|
|
144
144
|
return function () {
|
|
145
|
-
var pathStart = indexOf(this$0.
|
|
145
|
+
var pathStart = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(47), this$0.a4a_1.l49_1.length + 3 | 0);
|
|
146
146
|
var tmp;
|
|
147
147
|
if (pathStart === -1) {
|
|
148
148
|
return '';
|
|
149
149
|
}
|
|
150
|
-
var queryEnd = indexOf(this$0.
|
|
150
|
+
var queryEnd = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(35), pathStart);
|
|
151
151
|
var tmp_0;
|
|
152
152
|
if (queryEnd === -1) {
|
|
153
|
-
return substring(this$0.
|
|
153
|
+
return substring(this$0.v49_1, pathStart);
|
|
154
154
|
}
|
|
155
|
-
return substring_0(this$0.
|
|
155
|
+
return substring_0(this$0.v49_1, pathStart, queryEnd);
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
function Url$encodedUser$delegate$lambda(this$0) {
|
|
159
159
|
return function () {
|
|
160
160
|
var tmp;
|
|
161
|
-
if (this$0.
|
|
161
|
+
if (this$0.s49_1 == null) {
|
|
162
162
|
return null;
|
|
163
163
|
}
|
|
164
164
|
var tmp_0;
|
|
165
165
|
// Inline function 'kotlin.text.isEmpty' call
|
|
166
|
-
var this_0 = this$0.
|
|
166
|
+
var this_0 = this$0.s49_1;
|
|
167
167
|
if (charSequenceLength(this_0) === 0) {
|
|
168
168
|
return '';
|
|
169
169
|
}
|
|
170
|
-
var usernameStart = this$0.
|
|
170
|
+
var usernameStart = this$0.a4a_1.l49_1.length + 3 | 0;
|
|
171
171
|
// Inline function 'kotlin.charArrayOf' call
|
|
172
172
|
var tmp$ret$1 = charArrayOf([_Char___init__impl__6a9atx(58), _Char___init__impl__6a9atx(64)]);
|
|
173
|
-
var usernameEnd = indexOfAny(this$0.
|
|
174
|
-
return substring_0(this$0.
|
|
173
|
+
var usernameEnd = indexOfAny(this$0.v49_1, tmp$ret$1, usernameStart);
|
|
174
|
+
return substring_0(this$0.v49_1, usernameStart, usernameEnd);
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
177
|
function Url$_get_encodedUser_$ref_3lb9bi() {
|
|
178
178
|
return function (p0) {
|
|
179
|
-
return p0.
|
|
179
|
+
return p0.h4b();
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
function Url$encodedPassword$delegate$lambda(this$0) {
|
|
183
183
|
return function () {
|
|
184
184
|
var tmp;
|
|
185
|
-
if (this$0.
|
|
185
|
+
if (this$0.t49_1 == null) {
|
|
186
186
|
return null;
|
|
187
187
|
}
|
|
188
188
|
var tmp_0;
|
|
189
189
|
// Inline function 'kotlin.text.isEmpty' call
|
|
190
|
-
var this_0 = this$0.
|
|
190
|
+
var this_0 = this$0.t49_1;
|
|
191
191
|
if (charSequenceLength(this_0) === 0) {
|
|
192
192
|
return '';
|
|
193
193
|
}
|
|
194
|
-
var passwordStart = indexOf(this$0.
|
|
195
|
-
var passwordEnd = indexOf(this$0.
|
|
196
|
-
return substring_0(this$0.
|
|
194
|
+
var passwordStart = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(58), this$0.a4a_1.l49_1.length + 3 | 0) + 1 | 0;
|
|
195
|
+
var passwordEnd = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(64));
|
|
196
|
+
return substring_0(this$0.v49_1, passwordStart, passwordEnd);
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
function Url$_get_encodedPassword_$ref_25ixc2() {
|
|
200
200
|
return function (p0) {
|
|
201
|
-
return p0.
|
|
201
|
+
return p0.i4b();
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
function Url$encodedFragment$delegate$lambda(this$0) {
|
|
205
205
|
return function () {
|
|
206
|
-
var fragmentStart = indexOf(this$0.
|
|
206
|
+
var fragmentStart = indexOf(this$0.v49_1, _Char___init__impl__6a9atx(35)) + 1 | 0;
|
|
207
207
|
var tmp;
|
|
208
208
|
if (fragmentStart === 0) {
|
|
209
209
|
return '';
|
|
210
210
|
}
|
|
211
|
-
return substring(this$0.
|
|
211
|
+
return substring(this$0.v49_1, fragmentStart);
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
function Url$_get_encodedFragment_$ref_itp7pv() {
|
|
215
215
|
return function (p0) {
|
|
216
|
-
return p0.
|
|
216
|
+
return p0.j4b();
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
var UrlClass;
|
|
@@ -221,44 +221,44 @@ function Url_0() {
|
|
|
221
221
|
if (UrlClass === VOID) {
|
|
222
222
|
class $ {
|
|
223
223
|
constructor(protocol, host, specifiedPort, pathSegments, parameters, fragment, user, password, trailingQuery, urlString) {
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
var containsArg = this.
|
|
224
|
+
this.o49_1 = host;
|
|
225
|
+
this.p49_1 = specifiedPort;
|
|
226
|
+
this.q49_1 = parameters;
|
|
227
|
+
this.r49_1 = fragment;
|
|
228
|
+
this.s49_1 = user;
|
|
229
|
+
this.t49_1 = password;
|
|
230
|
+
this.u49_1 = trailingQuery;
|
|
231
|
+
this.v49_1 = urlString;
|
|
232
|
+
var containsArg = this.p49_1;
|
|
233
233
|
// Inline function 'kotlin.require' call
|
|
234
234
|
if (!(0 <= containsArg ? containsArg <= 65535 : false)) {
|
|
235
|
-
var message = 'Port must be between 0 and 65535, or 0 if not set. Provided: ' + this.
|
|
235
|
+
var message = 'Port must be between 0 and 65535, or 0 if not set. Provided: ' + this.p49_1;
|
|
236
236
|
throw IllegalArgumentException().u(toString(message));
|
|
237
237
|
}
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
238
|
+
this.w49_1 = pathSegments;
|
|
239
|
+
this.x49_1 = pathSegments;
|
|
240
240
|
var tmp = this;
|
|
241
|
-
tmp.
|
|
242
|
-
this.
|
|
241
|
+
tmp.y49_1 = lazy(Url$segments$delegate$lambda(pathSegments));
|
|
242
|
+
this.z49_1 = protocol;
|
|
243
243
|
var tmp_0 = this;
|
|
244
|
-
var tmp0_elvis_lhs = this.
|
|
245
|
-
tmp_0.
|
|
244
|
+
var tmp0_elvis_lhs = this.z49_1;
|
|
245
|
+
tmp_0.a4a_1 = tmp0_elvis_lhs == null ? Companion_getInstance().l4a_1 : tmp0_elvis_lhs;
|
|
246
246
|
var tmp_1 = this;
|
|
247
|
-
tmp_1.
|
|
247
|
+
tmp_1.b4a_1 = lazy(Url$encodedPath$delegate$lambda(pathSegments, this));
|
|
248
248
|
var tmp_2 = this;
|
|
249
|
-
tmp_2.
|
|
249
|
+
tmp_2.c4a_1 = lazy(Url$encodedQuery$delegate$lambda(this));
|
|
250
250
|
var tmp_3 = this;
|
|
251
|
-
tmp_3.
|
|
251
|
+
tmp_3.d4a_1 = lazy(Url$encodedPathAndQuery$delegate$lambda(this));
|
|
252
252
|
var tmp_4 = this;
|
|
253
|
-
tmp_4.
|
|
253
|
+
tmp_4.e4a_1 = lazy(Url$encodedUser$delegate$lambda(this));
|
|
254
254
|
var tmp_5 = this;
|
|
255
|
-
tmp_5.
|
|
255
|
+
tmp_5.f4a_1 = lazy(Url$encodedPassword$delegate$lambda(this));
|
|
256
256
|
var tmp_6 = this;
|
|
257
|
-
tmp_6.
|
|
257
|
+
tmp_6.g4a_1 = lazy(Url$encodedFragment$delegate$lambda(this));
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
g4b() {
|
|
260
260
|
// Inline function 'kotlin.takeUnless' call
|
|
261
|
-
var this_0 = this.
|
|
261
|
+
var this_0 = this.p49_1;
|
|
262
262
|
var tmp;
|
|
263
263
|
if (!(this_0 === 0)) {
|
|
264
264
|
tmp = this_0;
|
|
@@ -266,45 +266,45 @@ function Url_0() {
|
|
|
266
266
|
tmp = null;
|
|
267
267
|
}
|
|
268
268
|
var tmp0_elvis_lhs = tmp;
|
|
269
|
-
return tmp0_elvis_lhs == null ? this.m49_1
|
|
269
|
+
return tmp0_elvis_lhs == null ? this.a4a_1.m49_1 : tmp0_elvis_lhs;
|
|
270
270
|
}
|
|
271
|
-
|
|
272
|
-
var tmp0 = this.
|
|
271
|
+
e4b() {
|
|
272
|
+
var tmp0 = this.b4a_1;
|
|
273
273
|
var tmp = KProperty1();
|
|
274
274
|
// Inline function 'kotlin.getValue' call
|
|
275
275
|
getPropertyCallableRef('encodedPath', 1, tmp, Url$_get_encodedPath_$ref_fg9j48(), null);
|
|
276
276
|
return tmp0.s1();
|
|
277
277
|
}
|
|
278
|
-
|
|
279
|
-
var tmp0 = this.
|
|
278
|
+
f4b() {
|
|
279
|
+
var tmp0 = this.c4a_1;
|
|
280
280
|
var tmp = KProperty1();
|
|
281
281
|
// Inline function 'kotlin.getValue' call
|
|
282
282
|
getPropertyCallableRef('encodedQuery', 1, tmp, Url$_get_encodedQuery_$ref_c7vq1h(), null);
|
|
283
283
|
return tmp0.s1();
|
|
284
284
|
}
|
|
285
|
-
|
|
286
|
-
var tmp0 = this.
|
|
285
|
+
h4b() {
|
|
286
|
+
var tmp0 = this.e4a_1;
|
|
287
287
|
var tmp = KProperty1();
|
|
288
288
|
// Inline function 'kotlin.getValue' call
|
|
289
289
|
getPropertyCallableRef('encodedUser', 1, tmp, Url$_get_encodedUser_$ref_3lb9bi(), null);
|
|
290
290
|
return tmp0.s1();
|
|
291
291
|
}
|
|
292
|
-
|
|
293
|
-
var tmp0 = this.
|
|
292
|
+
i4b() {
|
|
293
|
+
var tmp0 = this.f4a_1;
|
|
294
294
|
var tmp = KProperty1();
|
|
295
295
|
// Inline function 'kotlin.getValue' call
|
|
296
296
|
getPropertyCallableRef('encodedPassword', 1, tmp, Url$_get_encodedPassword_$ref_25ixc2(), null);
|
|
297
297
|
return tmp0.s1();
|
|
298
298
|
}
|
|
299
|
-
|
|
300
|
-
var tmp0 = this.
|
|
299
|
+
j4b() {
|
|
300
|
+
var tmp0 = this.g4a_1;
|
|
301
301
|
var tmp = KProperty1();
|
|
302
302
|
// Inline function 'kotlin.getValue' call
|
|
303
303
|
getPropertyCallableRef('encodedFragment', 1, tmp, Url$_get_encodedFragment_$ref_itp7pv(), null);
|
|
304
304
|
return tmp0.s1();
|
|
305
305
|
}
|
|
306
306
|
toString() {
|
|
307
|
-
return this.
|
|
307
|
+
return this.v49_1;
|
|
308
308
|
}
|
|
309
309
|
equals(other) {
|
|
310
310
|
if (this === other)
|
|
@@ -313,10 +313,10 @@ function Url_0() {
|
|
|
313
313
|
return false;
|
|
314
314
|
if (!(other instanceof Url_0()))
|
|
315
315
|
THROW_CCE();
|
|
316
|
-
return this.
|
|
316
|
+
return this.v49_1 === other.v49_1;
|
|
317
317
|
}
|
|
318
318
|
hashCode() {
|
|
319
|
-
return getStringHashCode(this.
|
|
319
|
+
return getStringHashCode(this.v49_1);
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
initMetadataForClass($, 'Url', VOID, VOID, VOID, VOID, VOID, {0: UrlSerializer_getInstance});
|
|
@@ -338,19 +338,19 @@ function UrlSerializer() {
|
|
|
338
338
|
class $ {
|
|
339
339
|
constructor() {
|
|
340
340
|
UrlSerializer_instance = this;
|
|
341
|
-
this.
|
|
341
|
+
this.k4b_1 = PrimitiveSerialDescriptor('io.ktor.http.Url', STRING_getInstance());
|
|
342
342
|
}
|
|
343
343
|
xs() {
|
|
344
|
-
return this.
|
|
344
|
+
return this.k4b_1;
|
|
345
345
|
}
|
|
346
346
|
zs(decoder) {
|
|
347
347
|
return Url(decoder.fx());
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
l4b(encoder, value) {
|
|
350
350
|
encoder.oy(value.toString());
|
|
351
351
|
}
|
|
352
352
|
ys(encoder, value) {
|
|
353
|
-
return this.
|
|
353
|
+
return this.l4b(encoder, value instanceof Url_0() ? value : THROW_CCE());
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
initMetadataForObject($, 'UrlSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -368,7 +368,7 @@ function get_encodedUserAndPassword(_this__u8e3s4) {
|
|
|
368
368
|
// Inline function 'kotlin.text.buildString' call
|
|
369
369
|
// Inline function 'kotlin.apply' call
|
|
370
370
|
var this_0 = StringBuilder().a1();
|
|
371
|
-
appendUserAndPassword(this_0, _this__u8e3s4.
|
|
371
|
+
appendUserAndPassword(this_0, _this__u8e3s4.h4b(), _this__u8e3s4.i4b());
|
|
372
372
|
return this_0.toString();
|
|
373
373
|
}
|
|
374
374
|
//region block: init
|
|
@@ -20,17 +20,17 @@ function UrlDecodedParametersBuilder() {
|
|
|
20
20
|
if (UrlDecodedParametersBuilderClass === VOID) {
|
|
21
21
|
class $ {
|
|
22
22
|
constructor(encodedParametersBuilder) {
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
23
|
+
this.m4b_1 = encodedParametersBuilder;
|
|
24
|
+
this.n4b_1 = this.m4b_1.f3t();
|
|
25
25
|
}
|
|
26
26
|
z1i() {
|
|
27
|
-
return decodeParameters(this.
|
|
27
|
+
return decodeParameters(this.m4b_1);
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
return this.
|
|
29
|
+
f3t() {
|
|
30
|
+
return this.n4b_1;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
var tmp0_safe_receiver = this.
|
|
32
|
+
g3t(name) {
|
|
33
|
+
var tmp0_safe_receiver = this.m4b_1.g3t(encodeURLParameter(name));
|
|
34
34
|
var tmp;
|
|
35
35
|
if (tmp0_safe_receiver == null) {
|
|
36
36
|
tmp = null;
|
|
@@ -48,9 +48,9 @@ function UrlDecodedParametersBuilder() {
|
|
|
48
48
|
}
|
|
49
49
|
return tmp;
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
h3t() {
|
|
52
52
|
// Inline function 'kotlin.collections.map' call
|
|
53
|
-
var this_0 = this.
|
|
53
|
+
var this_0 = this.m4b_1.h3t();
|
|
54
54
|
// Inline function 'kotlin.collections.mapTo' call
|
|
55
55
|
var destination = ArrayList().c1(collectionSizeOrDefault(this_0, 10));
|
|
56
56
|
var _iterator__ex2g4s = this_0.d1();
|
|
@@ -62,18 +62,18 @@ function UrlDecodedParametersBuilder() {
|
|
|
62
62
|
return toSet(destination);
|
|
63
63
|
}
|
|
64
64
|
j() {
|
|
65
|
-
return this.
|
|
65
|
+
return this.m4b_1.j();
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
return decodeParameters(this.
|
|
67
|
+
i3t() {
|
|
68
|
+
return decodeParameters(this.m4b_1).i3t();
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
return this.
|
|
70
|
+
r3t(name, value) {
|
|
71
|
+
return this.m4b_1.r3t(encodeURLParameter(name), encodeURLParameterValue(value));
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
return appendAllEncoded(this.
|
|
73
|
+
s3t(stringValues) {
|
|
74
|
+
return appendAllEncoded(this.m4b_1, stringValues);
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
o3t(name, values) {
|
|
77
77
|
var tmp = encodeURLParameter(name);
|
|
78
78
|
// Inline function 'kotlin.collections.map' call
|
|
79
79
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -84,10 +84,10 @@ function UrlDecodedParametersBuilder() {
|
|
|
84
84
|
var tmp$ret$0 = encodeURLParameterValue(item);
|
|
85
85
|
destination.m(tmp$ret$0);
|
|
86
86
|
}
|
|
87
|
-
return this.
|
|
87
|
+
return this.m4b_1.o3t(tmp, destination);
|
|
88
88
|
}
|
|
89
89
|
z2() {
|
|
90
|
-
return this.
|
|
90
|
+
return this.m4b_1.z2();
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
initMetadataForClass($, 'UrlDecodedParametersBuilder');
|
|
@@ -109,10 +109,10 @@ function decodeParameters(parameters) {
|
|
|
109
109
|
}
|
|
110
110
|
function appendAllEncoded(_this__u8e3s4, parameters) {
|
|
111
111
|
// Inline function 'kotlin.collections.forEach' call
|
|
112
|
-
var _iterator__ex2g4s = parameters.
|
|
112
|
+
var _iterator__ex2g4s = parameters.h3t().d1();
|
|
113
113
|
while (_iterator__ex2g4s.e1()) {
|
|
114
114
|
var element = _iterator__ex2g4s.f1();
|
|
115
|
-
var tmp0_elvis_lhs = parameters.
|
|
115
|
+
var tmp0_elvis_lhs = parameters.g3t(element);
|
|
116
116
|
var values = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
117
117
|
var tmp = encodeURLParameter(element);
|
|
118
118
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -124,15 +124,15 @@ function appendAllEncoded(_this__u8e3s4, parameters) {
|
|
|
124
124
|
var tmp$ret$0 = encodeURLParameterValue(item);
|
|
125
125
|
destination.m(tmp$ret$0);
|
|
126
126
|
}
|
|
127
|
-
_this__u8e3s4.
|
|
127
|
+
_this__u8e3s4.o3t(tmp, destination);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
function appendAllDecoded(_this__u8e3s4, parameters) {
|
|
131
131
|
// Inline function 'kotlin.collections.forEach' call
|
|
132
|
-
var _iterator__ex2g4s = parameters.
|
|
132
|
+
var _iterator__ex2g4s = parameters.h3t().d1();
|
|
133
133
|
while (_iterator__ex2g4s.e1()) {
|
|
134
134
|
var element = _iterator__ex2g4s.f1();
|
|
135
|
-
var tmp0_elvis_lhs = parameters.
|
|
135
|
+
var tmp0_elvis_lhs = parameters.g3t(element);
|
|
136
136
|
var values = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
137
137
|
var tmp = decodeURLQueryComponent(element);
|
|
138
138
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -144,7 +144,7 @@ function appendAllDecoded(_this__u8e3s4, parameters) {
|
|
|
144
144
|
var tmp$ret$0 = decodeURLQueryComponent(item, VOID, VOID, true);
|
|
145
145
|
destination.m(tmp$ret$0);
|
|
146
146
|
}
|
|
147
|
-
_this__u8e3s4.
|
|
147
|
+
_this__u8e3s4.o3t(tmp, destination);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
//region block: exports
|
|
@@ -14,18 +14,18 @@ function ByteArrayContent_0() {
|
|
|
14
14
|
contentType = contentType === VOID ? null : contentType;
|
|
15
15
|
status = status === VOID ? null : status;
|
|
16
16
|
super();
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
17
|
+
this.p4b_1 = bytes;
|
|
18
|
+
this.q4b_1 = contentType;
|
|
19
|
+
this.r4b_1 = status;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
return this.
|
|
21
|
+
s4b() {
|
|
22
|
+
return this.q4b_1;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
return toLong(this.
|
|
24
|
+
t4b() {
|
|
25
|
+
return toLong(this.p4b_1.length);
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
return this.
|
|
27
|
+
u4b() {
|
|
28
|
+
return this.p4b_1;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
initMetadataForClass($, 'ByteArrayContent');
|
|
@@ -58,8 +58,8 @@ var ContentWrapperClass;
|
|
|
58
58
|
function ContentWrapper() {
|
|
59
59
|
if (ContentWrapperClass === VOID) {
|
|
60
60
|
class $ extends OutgoingContent() {
|
|
61
|
-
|
|
62
|
-
return this.
|
|
61
|
+
d4c() {
|
|
62
|
+
return this.c4c_1;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
initMetadataForClass($, 'ContentWrapper');
|
|
@@ -73,16 +73,16 @@ function OutgoingContent() {
|
|
|
73
73
|
class $ {
|
|
74
74
|
constructor($box) {
|
|
75
75
|
boxApply(this, $box);
|
|
76
|
-
this.
|
|
76
|
+
this.v4b_1 = null;
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
s4b() {
|
|
79
79
|
return null;
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
t4b() {
|
|
82
82
|
return null;
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
return Companion_getInstance().
|
|
84
|
+
z45() {
|
|
85
|
+
return Companion_getInstance().d41_1;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
initMetadataForClass($, 'OutgoingContent');
|
|
@@ -109,7 +109,7 @@ function isEmpty(_this__u8e3s4) {
|
|
|
109
109
|
tmp = true;
|
|
110
110
|
} else {
|
|
111
111
|
if (_this__u8e3s4 instanceof ContentWrapper()) {
|
|
112
|
-
tmp = isEmpty(_this__u8e3s4.
|
|
112
|
+
tmp = isEmpty(_this__u8e3s4.d4c());
|
|
113
113
|
} else {
|
|
114
114
|
tmp = false;
|
|
115
115
|
}
|
|
@@ -17,24 +17,24 @@ function TextContent() {
|
|
|
17
17
|
constructor(text, contentType, status) {
|
|
18
18
|
status = status === VOID ? null : status;
|
|
19
19
|
super();
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
20
|
+
this.f4c_1 = text;
|
|
21
|
+
this.g4c_1 = contentType;
|
|
22
|
+
this.h4c_1 = status;
|
|
23
23
|
var tmp = this;
|
|
24
|
-
var tmp0_elvis_lhs = charset(this.
|
|
25
|
-
tmp.
|
|
24
|
+
var tmp0_elvis_lhs = charset(this.g4c_1);
|
|
25
|
+
tmp.i4c_1 = toByteArray(this.f4c_1, tmp0_elvis_lhs == null ? Charsets_getInstance().m3q_1 : tmp0_elvis_lhs);
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
return this.
|
|
27
|
+
s4b() {
|
|
28
|
+
return this.g4c_1;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
return toLong(this.
|
|
30
|
+
t4b() {
|
|
31
|
+
return toLong(this.i4c_1.length);
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
return this.
|
|
33
|
+
u4b() {
|
|
34
|
+
return this.i4c_1;
|
|
35
35
|
}
|
|
36
36
|
toString() {
|
|
37
|
-
return 'TextContent[' + this.
|
|
37
|
+
return 'TextContent[' + this.g4c_1.toString() + '] "' + take(this.f4c_1, 30) + '"';
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
initMetadataForClass($, 'TextContent');
|
|
@@ -14,12 +14,12 @@ function CIOMultipartDataBase() {
|
|
|
14
14
|
class $ {
|
|
15
15
|
constructor(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
16
16
|
formFieldLimit = formFieldLimit === VOID ? new (Long())(65536, 0) : formFieldLimit;
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
17
|
+
this.j4c_1 = coroutineContext;
|
|
18
|
+
this.k4c_1 = null;
|
|
19
|
+
this.l4c_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
20
20
|
}
|
|
21
21
|
s1x() {
|
|
22
|
-
return this.
|
|
22
|
+
return this.j4c_1;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
initMetadataForClass($, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData(), CoroutineScope()], [0, 1]);
|