@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
|
@@ -47,26 +47,26 @@ var HeaderValueParamClass;
|
|
|
47
47
|
function HeaderValueParam() {
|
|
48
48
|
if (HeaderValueParamClass === VOID) {
|
|
49
49
|
class $ {
|
|
50
|
-
static
|
|
50
|
+
static e45(name, value, escapeValue) {
|
|
51
51
|
var $this = createThis(this);
|
|
52
|
-
$this.
|
|
53
|
-
$this.
|
|
54
|
-
$this.
|
|
52
|
+
$this.p3y_1 = name;
|
|
53
|
+
$this.q3y_1 = value;
|
|
54
|
+
$this.r3y_1 = escapeValue;
|
|
55
55
|
return $this;
|
|
56
56
|
}
|
|
57
|
-
static
|
|
58
|
-
return this.
|
|
57
|
+
static z40(name, value) {
|
|
58
|
+
return this.e45(name, value, false);
|
|
59
59
|
}
|
|
60
60
|
equals(other) {
|
|
61
61
|
var tmp;
|
|
62
62
|
var tmp_0;
|
|
63
63
|
if (other instanceof HeaderValueParam()) {
|
|
64
|
-
tmp_0 = equals_0(other.
|
|
64
|
+
tmp_0 = equals_0(other.p3y_1, this.p3y_1, true);
|
|
65
65
|
} else {
|
|
66
66
|
tmp_0 = false;
|
|
67
67
|
}
|
|
68
68
|
if (tmp_0) {
|
|
69
|
-
tmp = equals_0(other.
|
|
69
|
+
tmp = equals_0(other.q3y_1, this.q3y_1, true);
|
|
70
70
|
} else {
|
|
71
71
|
tmp = false;
|
|
72
72
|
}
|
|
@@ -75,24 +75,24 @@ function HeaderValueParam() {
|
|
|
75
75
|
hashCode() {
|
|
76
76
|
// Inline function 'kotlin.text.lowercase' call
|
|
77
77
|
// Inline function 'kotlin.js.asDynamic' call
|
|
78
|
-
var tmp$ret$1 = this.
|
|
78
|
+
var tmp$ret$1 = this.p3y_1.toLowerCase();
|
|
79
79
|
var result = getStringHashCode(tmp$ret$1);
|
|
80
80
|
var tmp = result;
|
|
81
81
|
var tmp_0 = imul(31, result);
|
|
82
82
|
// Inline function 'kotlin.text.lowercase' call
|
|
83
83
|
// Inline function 'kotlin.js.asDynamic' call
|
|
84
|
-
var tmp$ret$3 = this.
|
|
84
|
+
var tmp$ret$3 = this.q3y_1.toLowerCase();
|
|
85
85
|
result = tmp + (tmp_0 + getStringHashCode(tmp$ret$3) | 0) | 0;
|
|
86
86
|
return result;
|
|
87
87
|
}
|
|
88
88
|
gl() {
|
|
89
|
-
return this.
|
|
89
|
+
return this.p3y_1;
|
|
90
90
|
}
|
|
91
91
|
hl() {
|
|
92
|
-
return this.
|
|
92
|
+
return this.q3y_1;
|
|
93
93
|
}
|
|
94
94
|
toString() {
|
|
95
|
-
return 'HeaderValueParam(name=' + this.
|
|
95
|
+
return 'HeaderValueParam(name=' + this.p3y_1 + ', value=' + this.q3y_1 + ', escapeValue=' + this.r3y_1 + ')';
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
initMetadataForClass($, 'HeaderValueParam');
|
|
@@ -106,17 +106,17 @@ function HeaderValue() {
|
|
|
106
106
|
class $ {
|
|
107
107
|
constructor(value, params) {
|
|
108
108
|
params = params === VOID ? emptyList() : params;
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
109
|
+
this.y3y_1 = value;
|
|
110
|
+
this.z3y_1 = params;
|
|
111
111
|
var tmp = this;
|
|
112
|
-
var tmp0 = this.
|
|
112
|
+
var tmp0 = this.z3y_1;
|
|
113
113
|
var tmp$ret$1;
|
|
114
114
|
$l$block: {
|
|
115
115
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
116
116
|
var _iterator__ex2g4s = tmp0.d1();
|
|
117
117
|
while (_iterator__ex2g4s.e1()) {
|
|
118
118
|
var element = _iterator__ex2g4s.f1();
|
|
119
|
-
if (element.
|
|
119
|
+
if (element.p3y_1 === 'q') {
|
|
120
120
|
tmp$ret$1 = element;
|
|
121
121
|
break $l$block;
|
|
122
122
|
}
|
|
@@ -124,7 +124,7 @@ function HeaderValue() {
|
|
|
124
124
|
tmp$ret$1 = null;
|
|
125
125
|
}
|
|
126
126
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
127
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
127
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q3y_1;
|
|
128
128
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : toDoubleOrNull(tmp1_safe_receiver);
|
|
129
129
|
var tmp_0;
|
|
130
130
|
if (tmp2_safe_receiver == null) {
|
|
@@ -140,17 +140,17 @@ function HeaderValue() {
|
|
|
140
140
|
tmp_0 = tmp_1;
|
|
141
141
|
}
|
|
142
142
|
var tmp3_elvis_lhs = tmp_0;
|
|
143
|
-
tmp.
|
|
143
|
+
tmp.a3z_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
|
|
144
144
|
}
|
|
145
145
|
gl() {
|
|
146
|
-
return this.
|
|
146
|
+
return this.y3y_1;
|
|
147
147
|
}
|
|
148
148
|
toString() {
|
|
149
|
-
return 'HeaderValue(value=' + this.
|
|
149
|
+
return 'HeaderValue(value=' + this.y3y_1 + ', params=' + toString(this.z3y_1) + ')';
|
|
150
150
|
}
|
|
151
151
|
hashCode() {
|
|
152
|
-
var result = getStringHashCode(this.
|
|
153
|
-
result = imul(result, 31) + hashCode(this.
|
|
152
|
+
var result = getStringHashCode(this.y3y_1);
|
|
153
|
+
result = imul(result, 31) + hashCode(this.z3y_1) | 0;
|
|
154
154
|
return result;
|
|
155
155
|
}
|
|
156
156
|
equals(other) {
|
|
@@ -159,9 +159,9 @@ function HeaderValue() {
|
|
|
159
159
|
if (!(other instanceof HeaderValue()))
|
|
160
160
|
return false;
|
|
161
161
|
var tmp0_other_with_cast = other instanceof HeaderValue() ? other : THROW_CCE();
|
|
162
|
-
if (!(this.
|
|
162
|
+
if (!(this.y3y_1 === tmp0_other_with_cast.y3y_1))
|
|
163
163
|
return false;
|
|
164
|
-
if (!equals(this.
|
|
164
|
+
if (!equals(this.z3y_1, tmp0_other_with_cast.z3y_1))
|
|
165
165
|
return false;
|
|
166
166
|
return true;
|
|
167
167
|
}
|
|
@@ -305,16 +305,16 @@ function sam$kotlin_Comparator$0() {
|
|
|
305
305
|
if (sam$kotlin_Comparator$0Class === VOID) {
|
|
306
306
|
class $ {
|
|
307
307
|
constructor(function_0) {
|
|
308
|
-
this.
|
|
308
|
+
this.f45_1 = function_0;
|
|
309
309
|
}
|
|
310
310
|
wi(a, b) {
|
|
311
|
-
return this.
|
|
311
|
+
return this.f45_1(a, b);
|
|
312
312
|
}
|
|
313
313
|
compare(a, b) {
|
|
314
314
|
return this.wi(a, b);
|
|
315
315
|
}
|
|
316
316
|
i4() {
|
|
317
|
-
return this.
|
|
317
|
+
return this.f45_1;
|
|
318
318
|
}
|
|
319
319
|
equals(other) {
|
|
320
320
|
var tmp;
|
|
@@ -346,7 +346,7 @@ function parseHeaderValueParameter$addParam($parameters, text, start, end, value
|
|
|
346
346
|
if (charSequenceLength(name) === 0) {
|
|
347
347
|
return Unit_instance;
|
|
348
348
|
}
|
|
349
|
-
$parameters.s1().m(HeaderValueParam().
|
|
349
|
+
$parameters.s1().m(HeaderValueParam().z40(name, value));
|
|
350
350
|
}
|
|
351
351
|
function parseHeaderValue$lambda() {
|
|
352
352
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
@@ -358,8 +358,8 @@ function parseHeaderValueItem$lambda() {
|
|
|
358
358
|
}
|
|
359
359
|
function parseAndSortHeader$lambda(a, b) {
|
|
360
360
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
361
|
-
var tmp = b.
|
|
362
|
-
var tmp$ret$1 = a.
|
|
361
|
+
var tmp = b.a3z_1;
|
|
362
|
+
var tmp$ret$1 = a.a3z_1;
|
|
363
363
|
return compareValues(tmp, tmp$ret$1);
|
|
364
364
|
}
|
|
365
365
|
//region block: exports
|
|
@@ -29,112 +29,112 @@ function HttpHeaders() {
|
|
|
29
29
|
class $ {
|
|
30
30
|
constructor() {
|
|
31
31
|
HttpHeaders_instance = this;
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
83
|
-
this.
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
90
|
-
this.
|
|
91
|
-
this.
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
113
|
-
this.
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
32
|
+
this.g41_1 = 'Accept';
|
|
33
|
+
this.h41_1 = 'Accept-Charset';
|
|
34
|
+
this.i41_1 = 'Accept-Encoding';
|
|
35
|
+
this.j41_1 = 'Accept-Language';
|
|
36
|
+
this.k41_1 = 'Accept-Ranges';
|
|
37
|
+
this.l41_1 = 'Age';
|
|
38
|
+
this.m41_1 = 'Allow';
|
|
39
|
+
this.n41_1 = 'ALPN';
|
|
40
|
+
this.o41_1 = 'Authentication-Info';
|
|
41
|
+
this.p41_1 = 'Authorization';
|
|
42
|
+
this.q41_1 = 'Cache-Control';
|
|
43
|
+
this.r41_1 = 'Connection';
|
|
44
|
+
this.s41_1 = 'Content-Disposition';
|
|
45
|
+
this.t41_1 = 'Content-Encoding';
|
|
46
|
+
this.u41_1 = 'Content-Language';
|
|
47
|
+
this.v41_1 = 'Content-Length';
|
|
48
|
+
this.w41_1 = 'Content-Location';
|
|
49
|
+
this.x41_1 = 'Content-Range';
|
|
50
|
+
this.y41_1 = 'Content-Type';
|
|
51
|
+
this.z41_1 = 'Cookie';
|
|
52
|
+
this.a42_1 = 'DASL';
|
|
53
|
+
this.b42_1 = 'Date';
|
|
54
|
+
this.c42_1 = 'DAV';
|
|
55
|
+
this.d42_1 = 'Depth';
|
|
56
|
+
this.e42_1 = 'Destination';
|
|
57
|
+
this.f42_1 = 'ETag';
|
|
58
|
+
this.g42_1 = 'Expect';
|
|
59
|
+
this.h42_1 = 'Expires';
|
|
60
|
+
this.i42_1 = 'From';
|
|
61
|
+
this.j42_1 = 'Forwarded';
|
|
62
|
+
this.k42_1 = 'Host';
|
|
63
|
+
this.l42_1 = 'HTTP2-Settings';
|
|
64
|
+
this.m42_1 = 'If';
|
|
65
|
+
this.n42_1 = 'If-Match';
|
|
66
|
+
this.o42_1 = 'If-Modified-Since';
|
|
67
|
+
this.p42_1 = 'If-None-Match';
|
|
68
|
+
this.q42_1 = 'If-Range';
|
|
69
|
+
this.r42_1 = 'If-Schedule-Tag-Match';
|
|
70
|
+
this.s42_1 = 'If-Unmodified-Since';
|
|
71
|
+
this.t42_1 = 'Last-Modified';
|
|
72
|
+
this.u42_1 = 'Location';
|
|
73
|
+
this.v42_1 = 'Lock-Token';
|
|
74
|
+
this.w42_1 = 'Link';
|
|
75
|
+
this.x42_1 = 'Max-Forwards';
|
|
76
|
+
this.y42_1 = 'MIME-Version';
|
|
77
|
+
this.z42_1 = 'Ordering-Type';
|
|
78
|
+
this.a43_1 = 'Origin';
|
|
79
|
+
this.b43_1 = 'Overwrite';
|
|
80
|
+
this.c43_1 = 'Position';
|
|
81
|
+
this.d43_1 = 'Pragma';
|
|
82
|
+
this.e43_1 = 'Prefer';
|
|
83
|
+
this.f43_1 = 'Preference-Applied';
|
|
84
|
+
this.g43_1 = 'Proxy-Authenticate';
|
|
85
|
+
this.h43_1 = 'Proxy-Authentication-Info';
|
|
86
|
+
this.i43_1 = 'Proxy-Authorization';
|
|
87
|
+
this.j43_1 = 'Public-Key-Pins';
|
|
88
|
+
this.k43_1 = 'Public-Key-Pins-Report-Only';
|
|
89
|
+
this.l43_1 = 'Range';
|
|
90
|
+
this.m43_1 = 'Referer';
|
|
91
|
+
this.n43_1 = 'Retry-After';
|
|
92
|
+
this.o43_1 = 'Schedule-Reply';
|
|
93
|
+
this.p43_1 = 'Schedule-Tag';
|
|
94
|
+
this.q43_1 = 'Sec-WebSocket-Accept';
|
|
95
|
+
this.r43_1 = 'Sec-WebSocket-Extensions';
|
|
96
|
+
this.s43_1 = 'Sec-WebSocket-Key';
|
|
97
|
+
this.t43_1 = 'Sec-WebSocket-Protocol';
|
|
98
|
+
this.u43_1 = 'Sec-WebSocket-Version';
|
|
99
|
+
this.v43_1 = 'Server';
|
|
100
|
+
this.w43_1 = 'Set-Cookie';
|
|
101
|
+
this.x43_1 = 'SLUG';
|
|
102
|
+
this.y43_1 = 'Strict-Transport-Security';
|
|
103
|
+
this.z43_1 = 'TE';
|
|
104
|
+
this.a44_1 = 'Timeout';
|
|
105
|
+
this.b44_1 = 'Trailer';
|
|
106
|
+
this.c44_1 = 'Transfer-Encoding';
|
|
107
|
+
this.d44_1 = 'Upgrade';
|
|
108
|
+
this.e44_1 = 'User-Agent';
|
|
109
|
+
this.f44_1 = 'Vary';
|
|
110
|
+
this.g44_1 = 'Via';
|
|
111
|
+
this.h44_1 = 'Warning';
|
|
112
|
+
this.i44_1 = 'WWW-Authenticate';
|
|
113
|
+
this.j44_1 = 'Access-Control-Allow-Origin';
|
|
114
|
+
this.k44_1 = 'Access-Control-Allow-Methods';
|
|
115
|
+
this.l44_1 = 'Access-Control-Allow-Credentials';
|
|
116
|
+
this.m44_1 = 'Access-Control-Allow-Headers';
|
|
117
|
+
this.n44_1 = 'Access-Control-Request-Method';
|
|
118
|
+
this.o44_1 = 'Access-Control-Request-Headers';
|
|
119
|
+
this.p44_1 = 'Access-Control-Expose-Headers';
|
|
120
|
+
this.q44_1 = 'Access-Control-Max-Age';
|
|
121
|
+
this.r44_1 = 'X-Http-Method-Override';
|
|
122
|
+
this.s44_1 = 'X-Forwarded-Host';
|
|
123
|
+
this.t44_1 = 'X-Forwarded-Server';
|
|
124
|
+
this.u44_1 = 'X-Forwarded-Proto';
|
|
125
|
+
this.v44_1 = 'X-Forwarded-For';
|
|
126
|
+
this.w44_1 = 'X-Forwarded-Port';
|
|
127
|
+
this.x44_1 = 'X-Request-ID';
|
|
128
|
+
this.y44_1 = 'X-Correlation-ID';
|
|
129
|
+
this.z44_1 = 'X-Total-Count';
|
|
130
130
|
var tmp = this;
|
|
131
131
|
// Inline function 'kotlin.arrayOf' call
|
|
132
132
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
133
133
|
// Inline function 'kotlin.js.asDynamic' call
|
|
134
|
-
tmp.
|
|
135
|
-
this.
|
|
134
|
+
tmp.a45_1 = [this.c44_1, this.d44_1];
|
|
135
|
+
this.b45_1 = asList(this.a45_1);
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
c45(name) {
|
|
138
138
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
139
139
|
var index = 0;
|
|
140
140
|
var inductionVariable = 0;
|
|
@@ -144,11 +144,11 @@ function HttpHeaders() {
|
|
|
144
144
|
var _unary__edvuaz = index;
|
|
145
145
|
index = _unary__edvuaz + 1 | 0;
|
|
146
146
|
if (Char__compareTo_impl_ypi4mb(item, _Char___init__impl__6a9atx(32)) <= 0 || isDelimiter(item)) {
|
|
147
|
-
throw IllegalHeaderNameException().
|
|
147
|
+
throw IllegalHeaderNameException().m45(name, _unary__edvuaz);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
|
|
151
|
+
d45(value) {
|
|
152
152
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
153
153
|
var index = 0;
|
|
154
154
|
var inductionVariable = 0;
|
|
@@ -158,7 +158,7 @@ function HttpHeaders() {
|
|
|
158
158
|
var _unary__edvuaz = index;
|
|
159
159
|
index = _unary__edvuaz + 1 | 0;
|
|
160
160
|
if (Char__compareTo_impl_ypi4mb(item, _Char___init__impl__6a9atx(32)) < 0 && !(item === _Char___init__impl__6a9atx(9))) {
|
|
161
|
-
throw IllegalHeaderValueException().
|
|
161
|
+
throw IllegalHeaderValueException().t45(value, _unary__edvuaz);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -181,15 +181,15 @@ var IllegalHeaderNameExceptionClass;
|
|
|
181
181
|
function IllegalHeaderNameException() {
|
|
182
182
|
if (IllegalHeaderNameExceptionClass === VOID) {
|
|
183
183
|
class $ extends IllegalArgumentException() {
|
|
184
|
-
static
|
|
184
|
+
static m45(headerName, position) {
|
|
185
185
|
var tmp = "Header name '" + headerName + "' contains illegal character '" + toString(charCodeAt(headerName, position)) + "'";
|
|
186
186
|
// Inline function 'kotlin.code' call
|
|
187
187
|
var this_0 = charCodeAt(headerName, position);
|
|
188
188
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
189
189
|
var $this = this.u(tmp + (' (code ' + (tmp$ret$0 & 255) + ')'));
|
|
190
|
-
captureStack($this, $this.
|
|
191
|
-
$this.
|
|
192
|
-
$this.
|
|
190
|
+
captureStack($this, $this.l45_1);
|
|
191
|
+
$this.j45_1 = headerName;
|
|
192
|
+
$this.k45_1 = position;
|
|
193
193
|
return $this;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -202,15 +202,15 @@ var IllegalHeaderValueExceptionClass;
|
|
|
202
202
|
function IllegalHeaderValueException() {
|
|
203
203
|
if (IllegalHeaderValueExceptionClass === VOID) {
|
|
204
204
|
class $ extends IllegalArgumentException() {
|
|
205
|
-
static
|
|
205
|
+
static t45(headerValue, position) {
|
|
206
206
|
var tmp = "Header value '" + headerValue + "' contains illegal character '" + toString(charCodeAt(headerValue, position)) + "'";
|
|
207
207
|
// Inline function 'kotlin.code' call
|
|
208
208
|
var this_0 = charCodeAt(headerValue, position);
|
|
209
209
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
210
210
|
var $this = this.u(tmp + (' (code ' + (tmp$ret$0 & 255) + ')'));
|
|
211
|
-
captureStack($this, $this.
|
|
212
|
-
$this.
|
|
213
|
-
$this.
|
|
211
|
+
captureStack($this, $this.s45_1);
|
|
212
|
+
$this.q45_1 = headerValue;
|
|
213
|
+
$this.r45_1 = position;
|
|
214
214
|
return $this;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
@@ -223,9 +223,9 @@ var UnsafeHeaderExceptionClass;
|
|
|
223
223
|
function UnsafeHeaderException() {
|
|
224
224
|
if (UnsafeHeaderExceptionClass === VOID) {
|
|
225
225
|
class $ extends IllegalArgumentException() {
|
|
226
|
-
static
|
|
226
|
+
static y45(header) {
|
|
227
227
|
var $this = this.u('Header(s) ' + header + ' are controlled by the engine and ' + 'cannot be set explicitly');
|
|
228
|
-
captureStack($this, $this.
|
|
228
|
+
captureStack($this, $this.x45_1);
|
|
229
229
|
return $this;
|
|
230
230
|
}
|
|
231
231
|
}
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
//region block: pre-declaration
|
|
10
10
|
//endregion
|
|
11
11
|
function contentLength(_this__u8e3s4) {
|
|
12
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
12
|
+
var tmp0_safe_receiver = _this__u8e3s4.z45().c3s(HttpHeaders_getInstance().v41_1);
|
|
13
13
|
return tmp0_safe_receiver == null ? null : toLong(tmp0_safe_receiver);
|
|
14
14
|
}
|
|
15
15
|
function charset_0(_this__u8e3s4) {
|
|
@@ -17,7 +17,7 @@ function charset_0(_this__u8e3s4) {
|
|
|
17
17
|
return tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
18
18
|
}
|
|
19
19
|
function contentType(_this__u8e3s4) {
|
|
20
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
20
|
+
var tmp0_safe_receiver = _this__u8e3s4.z45().c3s(HttpHeaders_getInstance().y41_1);
|
|
21
21
|
var tmp;
|
|
22
22
|
if (tmp0_safe_receiver == null) {
|
|
23
23
|
tmp = null;
|
|
@@ -28,10 +28,10 @@ function contentType(_this__u8e3s4) {
|
|
|
28
28
|
return tmp;
|
|
29
29
|
}
|
|
30
30
|
function contentType_0(_this__u8e3s4, type) {
|
|
31
|
-
return _this__u8e3s4.
|
|
31
|
+
return _this__u8e3s4.z45().p3t(HttpHeaders_getInstance().y41_1, type.toString());
|
|
32
32
|
}
|
|
33
33
|
function contentType_1(_this__u8e3s4) {
|
|
34
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
34
|
+
var tmp0_safe_receiver = _this__u8e3s4.z45().c3s(HttpHeaders_getInstance().y41_1);
|
|
35
35
|
var tmp;
|
|
36
36
|
if (tmp0_safe_receiver == null) {
|
|
37
37
|
tmp = null;
|
|
@@ -22,14 +22,14 @@ function Companion() {
|
|
|
22
22
|
class $ {
|
|
23
23
|
constructor() {
|
|
24
24
|
Companion_instance = this;
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
25
|
+
this.a46_1 = new (HttpMethod())('GET');
|
|
26
|
+
this.b46_1 = new (HttpMethod())('POST');
|
|
27
|
+
this.c46_1 = new (HttpMethod())('PUT');
|
|
28
|
+
this.d46_1 = new (HttpMethod())('PATCH');
|
|
29
|
+
this.e46_1 = new (HttpMethod())('DELETE');
|
|
30
|
+
this.f46_1 = new (HttpMethod())('HEAD');
|
|
31
|
+
this.g46_1 = new (HttpMethod())('OPTIONS');
|
|
32
|
+
this.h46_1 = listOf([this.a46_1, this.b46_1, this.c46_1, this.d46_1, this.e46_1, this.f46_1, this.g46_1]);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
initMetadataForCompanion($);
|
|
@@ -49,13 +49,13 @@ function HttpMethod() {
|
|
|
49
49
|
class $ {
|
|
50
50
|
constructor(value) {
|
|
51
51
|
Companion_getInstance();
|
|
52
|
-
this.
|
|
52
|
+
this.i46_1 = value;
|
|
53
53
|
}
|
|
54
54
|
toString() {
|
|
55
|
-
return this.
|
|
55
|
+
return this.i46_1;
|
|
56
56
|
}
|
|
57
57
|
hashCode() {
|
|
58
|
-
return getStringHashCode(this.
|
|
58
|
+
return getStringHashCode(this.i46_1);
|
|
59
59
|
}
|
|
60
60
|
equals(other) {
|
|
61
61
|
if (this === other)
|
|
@@ -63,7 +63,7 @@ function HttpMethod() {
|
|
|
63
63
|
if (!(other instanceof HttpMethod()))
|
|
64
64
|
return false;
|
|
65
65
|
var tmp0_other_with_cast = other instanceof HttpMethod() ? other : THROW_CCE();
|
|
66
|
-
if (!(this.
|
|
66
|
+
if (!(this.i46_1 === tmp0_other_with_cast.i46_1))
|
|
67
67
|
return false;
|
|
68
68
|
return true;
|
|
69
69
|
}
|
|
@@ -81,7 +81,7 @@ var properties_initialized_HttpMethod_kt_ogor3f;
|
|
|
81
81
|
function _init_properties_HttpMethod_kt__cbus5z() {
|
|
82
82
|
if (!properties_initialized_HttpMethod_kt_ogor3f) {
|
|
83
83
|
properties_initialized_HttpMethod_kt_ogor3f = true;
|
|
84
|
-
REQUESTS_WITHOUT_BODY = setOf([Companion_getInstance().
|
|
84
|
+
REQUESTS_WITHOUT_BODY = setOf([Companion_getInstance().a46_1, Companion_getInstance().f46_1, Companion_getInstance().g46_1, new (HttpMethod())('TRACE')]);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
//region block: exports
|
|
@@ -23,14 +23,14 @@ function Companion() {
|
|
|
23
23
|
class $ {
|
|
24
24
|
constructor() {
|
|
25
25
|
Companion_instance = this;
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
26
|
+
this.j46_1 = new (HttpProtocolVersion())('HTTP', 2, 0);
|
|
27
|
+
this.k46_1 = new (HttpProtocolVersion())('HTTP', 1, 1);
|
|
28
|
+
this.l46_1 = new (HttpProtocolVersion())('HTTP', 1, 0);
|
|
29
|
+
this.m46_1 = new (HttpProtocolVersion())('SPDY', 3, 0);
|
|
30
|
+
this.n46_1 = new (HttpProtocolVersion())('QUIC', 1, 0);
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
return name === 'HTTP' && major === 1 && minor === 0 ? this.
|
|
32
|
+
o46(name, major, minor) {
|
|
33
|
+
return name === 'HTTP' && major === 1 && minor === 0 ? this.l46_1 : name === 'HTTP' && major === 1 && minor === 1 ? this.k46_1 : name === 'HTTP' && major === 2 && minor === 0 ? this.j46_1 : new (HttpProtocolVersion())(name, major, minor);
|
|
34
34
|
}
|
|
35
35
|
h1l(value) {
|
|
36
36
|
// Inline function 'kotlin.also' call
|
|
@@ -46,7 +46,7 @@ function Companion() {
|
|
|
46
46
|
var major = this_0.j1(1);
|
|
47
47
|
// Inline function 'kotlin.collections.component3' call
|
|
48
48
|
var minor = this_0.j1(2);
|
|
49
|
-
return this.
|
|
49
|
+
return this.o46(protocol, toInt(major), toInt(minor));
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
initMetadataForCompanion($);
|
|
@@ -66,17 +66,17 @@ function HttpProtocolVersion() {
|
|
|
66
66
|
class $ {
|
|
67
67
|
constructor(name, major, minor) {
|
|
68
68
|
Companion_getInstance();
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
69
|
+
this.p46_1 = name;
|
|
70
|
+
this.q46_1 = major;
|
|
71
|
+
this.r46_1 = minor;
|
|
72
72
|
}
|
|
73
73
|
toString() {
|
|
74
|
-
return this.
|
|
74
|
+
return this.p46_1 + '/' + this.q46_1 + '.' + this.r46_1;
|
|
75
75
|
}
|
|
76
76
|
hashCode() {
|
|
77
|
-
var result = getStringHashCode(this.
|
|
78
|
-
result = imul(result, 31) + this.
|
|
79
|
-
result = imul(result, 31) + this.
|
|
77
|
+
var result = getStringHashCode(this.p46_1);
|
|
78
|
+
result = imul(result, 31) + this.q46_1 | 0;
|
|
79
|
+
result = imul(result, 31) + this.r46_1 | 0;
|
|
80
80
|
return result;
|
|
81
81
|
}
|
|
82
82
|
equals(other) {
|
|
@@ -85,11 +85,11 @@ function HttpProtocolVersion() {
|
|
|
85
85
|
if (!(other instanceof HttpProtocolVersion()))
|
|
86
86
|
return false;
|
|
87
87
|
var tmp0_other_with_cast = other instanceof HttpProtocolVersion() ? other : THROW_CCE();
|
|
88
|
-
if (!(this.
|
|
88
|
+
if (!(this.p46_1 === tmp0_other_with_cast.p46_1))
|
|
89
89
|
return false;
|
|
90
|
-
if (!(this.
|
|
90
|
+
if (!(this.q46_1 === tmp0_other_with_cast.q46_1))
|
|
91
91
|
return false;
|
|
92
|
-
if (!(this.
|
|
92
|
+
if (!(this.r46_1 === tmp0_other_with_cast.r46_1))
|
|
93
93
|
return false;
|
|
94
94
|
return true;
|
|
95
95
|
}
|