@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,7 +47,7 @@ import { extensionsocv2ha4uem50 as extensions } from './Extensions.mjs';
|
|
|
47
47
|
//region block: pre-declaration
|
|
48
48
|
//endregion
|
|
49
49
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
50
|
-
_this__u8e3s4.
|
|
50
|
+
_this__u8e3s4.c4w(contentType, new (KotlinxSerializationConverter())(format));
|
|
51
51
|
}
|
|
52
52
|
var KotlinxSerializationConverter$serialize$o$collect$slambdaClass;
|
|
53
53
|
function KotlinxSerializationConverter$serialize$o$collect$slambda() {
|
|
@@ -56,21 +56,21 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
|
|
|
56
56
|
constructor($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation, $box) {
|
|
57
57
|
if ($box === VOID)
|
|
58
58
|
$box = {};
|
|
59
|
-
$box.
|
|
60
|
-
$box.
|
|
61
|
-
$box.
|
|
62
|
-
$box.
|
|
63
|
-
$box.
|
|
59
|
+
$box.y6b_1 = $$this$unsafeFlow;
|
|
60
|
+
$box.z6b_1 = $contentType;
|
|
61
|
+
$box.a6c_1 = $charset;
|
|
62
|
+
$box.b6c_1 = $typeInfo;
|
|
63
|
+
$box.c6c_1 = $value;
|
|
64
64
|
super(resultContinuation, $box);
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
var tmp = this.
|
|
66
|
+
y4w(value, $completion) {
|
|
67
|
+
var tmp = this.z4w(value, $completion);
|
|
68
68
|
tmp.cc_1 = Unit_instance;
|
|
69
69
|
tmp.dc_1 = null;
|
|
70
70
|
return tmp.ic();
|
|
71
71
|
}
|
|
72
72
|
kd(p1, $completion) {
|
|
73
|
-
return this.
|
|
73
|
+
return this.y4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
74
74
|
}
|
|
75
75
|
ic() {
|
|
76
76
|
var suspendResult = this.cc_1;
|
|
@@ -81,25 +81,25 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
|
|
|
81
81
|
case 0:
|
|
82
82
|
this.bc_1 = 3;
|
|
83
83
|
var tmp_0 = this;
|
|
84
|
-
tmp_0.
|
|
84
|
+
tmp_0.e6c_1 = this.y6b_1;
|
|
85
85
|
var tmp_1 = this;
|
|
86
|
-
tmp_1.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
86
|
+
tmp_1.f6c_1 = this.d6c_1;
|
|
87
|
+
this.g6c_1 = this.e6c_1;
|
|
88
|
+
this.h6c_1 = this.f6c_1;
|
|
89
89
|
var tmp_2 = this;
|
|
90
|
-
tmp_2.
|
|
91
|
-
this.
|
|
90
|
+
tmp_2.i6c_1 = this.h6c_1;
|
|
91
|
+
this.j6c_1 = this.i6c_1;
|
|
92
92
|
this.ac_1 = 1;
|
|
93
|
-
suspendResult = this.
|
|
93
|
+
suspendResult = this.j6c_1.o6b(this.z6b_1, this.a6c_1, this.b6c_1, this.c6c_1, this);
|
|
94
94
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
95
95
|
return suspendResult;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
continue $sm;
|
|
99
99
|
case 1:
|
|
100
|
-
this.
|
|
100
|
+
this.k6c_1 = suspendResult;
|
|
101
101
|
this.ac_1 = 2;
|
|
102
|
-
suspendResult = this.
|
|
102
|
+
suspendResult = this.g6c_1.w2k(this.k6c_1, this);
|
|
103
103
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
104
104
|
return suspendResult;
|
|
105
105
|
}
|
|
@@ -121,9 +121,9 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
|
|
|
121
121
|
}
|
|
122
122
|
while (true);
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
var i = new (KotlinxSerializationConverter$serialize$o$collect$slambda())(this.
|
|
126
|
-
i.
|
|
124
|
+
z4w(value, completion) {
|
|
125
|
+
var i = new (KotlinxSerializationConverter$serialize$o$collect$slambda())(this.y6b_1, this.z6b_1, this.a6c_1, this.b6c_1, this.c6c_1, completion);
|
|
126
|
+
i.d6c_1 = value;
|
|
127
127
|
return i;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -135,7 +135,7 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
|
|
|
135
135
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
136
136
|
var i = new (KotlinxSerializationConverter$serialize$o$collect$slambda())($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
137
137
|
var l = function (value, $completion) {
|
|
138
|
-
return i.
|
|
138
|
+
return i.y4w(value, $completion);
|
|
139
139
|
};
|
|
140
140
|
l.$arity = 1;
|
|
141
141
|
return l;
|
|
@@ -146,8 +146,8 @@ function $collectCOROUTINE$() {
|
|
|
146
146
|
class $ extends CoroutineImpl() {
|
|
147
147
|
constructor(_this__u8e3s4, collector, resultContinuation) {
|
|
148
148
|
super(resultContinuation);
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
149
|
+
this.t6c_1 = _this__u8e3s4;
|
|
150
|
+
this.u6c_1 = collector;
|
|
151
151
|
}
|
|
152
152
|
ic() {
|
|
153
153
|
var suspendResult = this.cc_1;
|
|
@@ -158,11 +158,11 @@ function $collectCOROUTINE$() {
|
|
|
158
158
|
case 0:
|
|
159
159
|
this.bc_1 = 2;
|
|
160
160
|
var tmp_0 = this;
|
|
161
|
-
tmp_0.
|
|
162
|
-
this.
|
|
161
|
+
tmp_0.v6c_1 = this.u6c_1;
|
|
162
|
+
this.w6c_1 = this.v6c_1;
|
|
163
163
|
this.ac_1 = 1;
|
|
164
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
165
|
-
suspendResult = this.
|
|
164
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.w6c_1, this.t6c_1.y6c_1, this.t6c_1.z6c_1, this.t6c_1.a6d_1, this.t6c_1.b6d_1, null);
|
|
165
|
+
suspendResult = this.t6c_1.x6c_1.c2k(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp_1), this);
|
|
166
166
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
167
167
|
return suspendResult;
|
|
168
168
|
}
|
|
@@ -197,20 +197,20 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
|
|
|
197
197
|
constructor($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation, $box) {
|
|
198
198
|
if ($box === VOID)
|
|
199
199
|
$box = {};
|
|
200
|
-
$box.
|
|
201
|
-
$box.
|
|
202
|
-
$box.
|
|
203
|
-
$box.
|
|
200
|
+
$box.k6d_1 = $$this$unsafeFlow;
|
|
201
|
+
$box.l6d_1 = $charset;
|
|
202
|
+
$box.m6d_1 = $typeInfo;
|
|
203
|
+
$box.n6d_1 = $content;
|
|
204
204
|
super(resultContinuation, $box);
|
|
205
205
|
}
|
|
206
|
-
|
|
207
|
-
var tmp = this.
|
|
206
|
+
y4w(value, $completion) {
|
|
207
|
+
var tmp = this.z4w(value, $completion);
|
|
208
208
|
tmp.cc_1 = Unit_instance;
|
|
209
209
|
tmp.dc_1 = null;
|
|
210
210
|
return tmp.ic();
|
|
211
211
|
}
|
|
212
212
|
kd(p1, $completion) {
|
|
213
|
-
return this.
|
|
213
|
+
return this.y4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
214
214
|
}
|
|
215
215
|
ic() {
|
|
216
216
|
var suspendResult = this.cc_1;
|
|
@@ -221,25 +221,25 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
|
|
|
221
221
|
case 0:
|
|
222
222
|
this.bc_1 = 3;
|
|
223
223
|
var tmp_0 = this;
|
|
224
|
-
tmp_0.
|
|
224
|
+
tmp_0.p6d_1 = this.k6d_1;
|
|
225
225
|
var tmp_1 = this;
|
|
226
|
-
tmp_1.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
226
|
+
tmp_1.q6d_1 = this.o6d_1;
|
|
227
|
+
this.r6d_1 = this.p6d_1;
|
|
228
|
+
this.s6d_1 = this.q6d_1;
|
|
229
229
|
var tmp_2 = this;
|
|
230
|
-
tmp_2.
|
|
231
|
-
this.
|
|
230
|
+
tmp_2.t6d_1 = this.s6d_1;
|
|
231
|
+
this.u6d_1 = this.t6d_1;
|
|
232
232
|
this.ac_1 = 1;
|
|
233
|
-
suspendResult = this.
|
|
233
|
+
suspendResult = this.u6d_1.a4x(this.l6d_1, this.m6d_1, this.n6d_1, this);
|
|
234
234
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
235
235
|
return suspendResult;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
continue $sm;
|
|
239
239
|
case 1:
|
|
240
|
-
this.
|
|
240
|
+
this.v6d_1 = suspendResult;
|
|
241
241
|
this.ac_1 = 2;
|
|
242
|
-
suspendResult = this.
|
|
242
|
+
suspendResult = this.r6d_1.w2k(this.v6d_1, this);
|
|
243
243
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
244
244
|
return suspendResult;
|
|
245
245
|
}
|
|
@@ -261,9 +261,9 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
|
|
|
261
261
|
}
|
|
262
262
|
while (true);
|
|
263
263
|
}
|
|
264
|
-
|
|
265
|
-
var i = new (KotlinxSerializationConverter$deserialize$o$collect$slambda())(this.
|
|
266
|
-
i.
|
|
264
|
+
z4w(value, completion) {
|
|
265
|
+
var i = new (KotlinxSerializationConverter$deserialize$o$collect$slambda())(this.k6d_1, this.l6d_1, this.m6d_1, this.n6d_1, completion);
|
|
266
|
+
i.o6d_1 = value;
|
|
267
267
|
return i;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
@@ -275,7 +275,7 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
|
|
|
275
275
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
276
276
|
var i = new (KotlinxSerializationConverter$deserialize$o$collect$slambda())($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
277
277
|
var l = function (value, $completion) {
|
|
278
|
-
return i.
|
|
278
|
+
return i.y4w(value, $completion);
|
|
279
279
|
};
|
|
280
280
|
l.$arity = 1;
|
|
281
281
|
return l;
|
|
@@ -286,8 +286,8 @@ function $collectCOROUTINE$_0() {
|
|
|
286
286
|
class $ extends CoroutineImpl() {
|
|
287
287
|
constructor(_this__u8e3s4, collector, resultContinuation) {
|
|
288
288
|
super(resultContinuation);
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
289
|
+
this.e6e_1 = _this__u8e3s4;
|
|
290
|
+
this.f6e_1 = collector;
|
|
291
291
|
}
|
|
292
292
|
ic() {
|
|
293
293
|
var suspendResult = this.cc_1;
|
|
@@ -298,11 +298,11 @@ function $collectCOROUTINE$_0() {
|
|
|
298
298
|
case 0:
|
|
299
299
|
this.bc_1 = 2;
|
|
300
300
|
var tmp_0 = this;
|
|
301
|
-
tmp_0.
|
|
302
|
-
this.
|
|
301
|
+
tmp_0.g6e_1 = this.f6e_1;
|
|
302
|
+
this.h6e_1 = this.g6e_1;
|
|
303
303
|
this.ac_1 = 1;
|
|
304
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
305
|
-
suspendResult = this.
|
|
304
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.h6e_1, this.e6e_1.j6e_1, this.e6e_1.k6e_1, this.e6e_1.l6e_1, null);
|
|
305
|
+
suspendResult = this.e6e_1.i6e_1.c2k(new (sam$kotlinx_coroutines_flow_FlowCollector$0_0())(tmp_1), this);
|
|
306
306
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
307
307
|
return suspendResult;
|
|
308
308
|
}
|
|
@@ -351,13 +351,13 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
351
351
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
|
|
352
352
|
class $ {
|
|
353
353
|
constructor(function_0) {
|
|
354
|
-
this.
|
|
354
|
+
this.m6e_1 = function_0;
|
|
355
355
|
}
|
|
356
356
|
w2k(value, $completion) {
|
|
357
|
-
return this.
|
|
357
|
+
return this.m6e_1(value, $completion);
|
|
358
358
|
}
|
|
359
359
|
i4() {
|
|
360
|
-
return this.
|
|
360
|
+
return this.m6e_1;
|
|
361
361
|
}
|
|
362
362
|
equals(other) {
|
|
363
363
|
var tmp;
|
|
@@ -388,13 +388,13 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0_0() {
|
|
|
388
388
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class_0 === VOID) {
|
|
389
389
|
class $ {
|
|
390
390
|
constructor(function_0) {
|
|
391
|
-
this.
|
|
391
|
+
this.n6e_1 = function_0;
|
|
392
392
|
}
|
|
393
393
|
w2k(value, $completion) {
|
|
394
|
-
return this.
|
|
394
|
+
return this.n6e_1(value, $completion);
|
|
395
395
|
}
|
|
396
396
|
i4() {
|
|
397
|
-
return this.
|
|
397
|
+
return this.n6e_1;
|
|
398
398
|
}
|
|
399
399
|
equals(other) {
|
|
400
400
|
var tmp;
|
|
@@ -425,11 +425,11 @@ function KotlinxSerializationConverter$serialize$$inlined$map$1() {
|
|
|
425
425
|
if (KotlinxSerializationConverter$serialize$$inlined$map$1Class === VOID) {
|
|
426
426
|
class $ {
|
|
427
427
|
constructor($this, $contentType, $charset, $typeInfo, $value) {
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
428
|
+
this.x6c_1 = $this;
|
|
429
|
+
this.y6c_1 = $contentType;
|
|
430
|
+
this.z6c_1 = $charset;
|
|
431
|
+
this.a6d_1 = $typeInfo;
|
|
432
|
+
this.b6d_1 = $value;
|
|
433
433
|
}
|
|
434
434
|
x2k(collector, $completion) {
|
|
435
435
|
var tmp = new ($collectCOROUTINE$())(this, collector, $completion);
|
|
@@ -450,14 +450,14 @@ var KotlinxSerializationConverter$serialize$slambdaClass;
|
|
|
450
450
|
function KotlinxSerializationConverter$serialize$slambda() {
|
|
451
451
|
if (KotlinxSerializationConverter$serialize$slambdaClass === VOID) {
|
|
452
452
|
class $ extends CoroutineImpl() {
|
|
453
|
-
|
|
454
|
-
var tmp = this.
|
|
453
|
+
x6e(it, $completion) {
|
|
454
|
+
var tmp = this.y6e(it, $completion);
|
|
455
455
|
tmp.cc_1 = Unit_instance;
|
|
456
456
|
tmp.dc_1 = null;
|
|
457
457
|
return tmp.ic();
|
|
458
458
|
}
|
|
459
459
|
kd(p1, $completion) {
|
|
460
|
-
return this.
|
|
460
|
+
return this.x6e((p1 == null ? true : p1 instanceof OutgoingContent()) ? p1 : THROW_CCE(), $completion);
|
|
461
461
|
}
|
|
462
462
|
ic() {
|
|
463
463
|
var suspendResult = this.cc_1;
|
|
@@ -466,7 +466,7 @@ function KotlinxSerializationConverter$serialize$slambda() {
|
|
|
466
466
|
var tmp = this.ac_1;
|
|
467
467
|
if (tmp === 0) {
|
|
468
468
|
this.bc_1 = 1;
|
|
469
|
-
return !(this.
|
|
469
|
+
return !(this.w6e_1 == null);
|
|
470
470
|
} else if (tmp === 1) {
|
|
471
471
|
throw this.dc_1;
|
|
472
472
|
}
|
|
@@ -476,9 +476,9 @@ function KotlinxSerializationConverter$serialize$slambda() {
|
|
|
476
476
|
}
|
|
477
477
|
while (true);
|
|
478
478
|
}
|
|
479
|
-
|
|
479
|
+
y6e(it, completion) {
|
|
480
480
|
var i = new (KotlinxSerializationConverter$serialize$slambda())(completion);
|
|
481
|
-
i.
|
|
481
|
+
i.w6e_1 = it;
|
|
482
482
|
return i;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
@@ -490,7 +490,7 @@ function KotlinxSerializationConverter$serialize$slambda() {
|
|
|
490
490
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
491
491
|
var i = new (KotlinxSerializationConverter$serialize$slambda())(resultContinuation);
|
|
492
492
|
var l = function (it, $completion) {
|
|
493
|
-
return i.
|
|
493
|
+
return i.x6e(it, $completion);
|
|
494
494
|
};
|
|
495
495
|
l.$arity = 1;
|
|
496
496
|
return l;
|
|
@@ -500,10 +500,10 @@ function KotlinxSerializationConverter$deserialize$$inlined$map$1() {
|
|
|
500
500
|
if (KotlinxSerializationConverter$deserialize$$inlined$map$1Class === VOID) {
|
|
501
501
|
class $ {
|
|
502
502
|
constructor($this, $charset, $typeInfo, $content) {
|
|
503
|
-
this.
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
506
|
-
this.
|
|
503
|
+
this.i6e_1 = $this;
|
|
504
|
+
this.j6e_1 = $charset;
|
|
505
|
+
this.k6e_1 = $typeInfo;
|
|
506
|
+
this.l6e_1 = $content;
|
|
507
507
|
}
|
|
508
508
|
x2k(collector, $completion) {
|
|
509
509
|
var tmp = new ($collectCOROUTINE$_0())(this, collector, $completion);
|
|
@@ -527,17 +527,17 @@ function KotlinxSerializationConverter$deserialize$slambda() {
|
|
|
527
527
|
constructor($content, resultContinuation, $box) {
|
|
528
528
|
if ($box === VOID)
|
|
529
529
|
$box = {};
|
|
530
|
-
$box.
|
|
530
|
+
$box.h6f_1 = $content;
|
|
531
531
|
super(resultContinuation, $box);
|
|
532
532
|
}
|
|
533
|
-
|
|
534
|
-
var tmp = this.
|
|
533
|
+
b4y(it, $completion) {
|
|
534
|
+
var tmp = this.z4w(it, $completion);
|
|
535
535
|
tmp.cc_1 = Unit_instance;
|
|
536
536
|
tmp.dc_1 = null;
|
|
537
537
|
return tmp.ic();
|
|
538
538
|
}
|
|
539
539
|
kd(p1, $completion) {
|
|
540
|
-
return this.
|
|
540
|
+
return this.b4y((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
541
541
|
}
|
|
542
542
|
ic() {
|
|
543
543
|
var suspendResult = this.cc_1;
|
|
@@ -546,7 +546,7 @@ function KotlinxSerializationConverter$deserialize$slambda() {
|
|
|
546
546
|
var tmp = this.ac_1;
|
|
547
547
|
if (tmp === 0) {
|
|
548
548
|
this.bc_1 = 1;
|
|
549
|
-
return !(this.
|
|
549
|
+
return !(this.i6f_1 == null) || this.h6f_1.h3b();
|
|
550
550
|
} else if (tmp === 1) {
|
|
551
551
|
throw this.dc_1;
|
|
552
552
|
}
|
|
@@ -556,9 +556,9 @@ function KotlinxSerializationConverter$deserialize$slambda() {
|
|
|
556
556
|
}
|
|
557
557
|
while (true);
|
|
558
558
|
}
|
|
559
|
-
|
|
560
|
-
var i = new (KotlinxSerializationConverter$deserialize$slambda())(this.
|
|
561
|
-
i.
|
|
559
|
+
z4w(it, completion) {
|
|
560
|
+
var i = new (KotlinxSerializationConverter$deserialize$slambda())(this.h6f_1, completion);
|
|
561
|
+
i.i6f_1 = it;
|
|
562
562
|
return i;
|
|
563
563
|
}
|
|
564
564
|
}
|
|
@@ -570,7 +570,7 @@ function KotlinxSerializationConverter$deserialize$slambda() {
|
|
|
570
570
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
571
571
|
var i = new (KotlinxSerializationConverter$deserialize$slambda())($content, resultContinuation);
|
|
572
572
|
var l = function (it, $completion) {
|
|
573
|
-
return i.
|
|
573
|
+
return i.b4y(it, $completion);
|
|
574
574
|
};
|
|
575
575
|
l.$arity = 1;
|
|
576
576
|
return l;
|
|
@@ -581,11 +581,11 @@ function $serializeCOROUTINE$() {
|
|
|
581
581
|
class $ extends CoroutineImpl() {
|
|
582
582
|
constructor(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
583
583
|
super(resultContinuation);
|
|
584
|
-
this.
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
587
|
-
this.
|
|
588
|
-
this.
|
|
584
|
+
this.r6f_1 = _this__u8e3s4;
|
|
585
|
+
this.s6f_1 = contentType;
|
|
586
|
+
this.t6f_1 = charset;
|
|
587
|
+
this.u6f_1 = typeInfo;
|
|
588
|
+
this.v6f_1 = value;
|
|
589
589
|
}
|
|
590
590
|
ic() {
|
|
591
591
|
var suspendResult = this.cc_1;
|
|
@@ -596,8 +596,8 @@ function $serializeCOROUTINE$() {
|
|
|
596
596
|
case 0:
|
|
597
597
|
this.bc_1 = 2;
|
|
598
598
|
this.ac_1 = 1;
|
|
599
|
-
var this_0 = asFlow(this.
|
|
600
|
-
var tmp_0 = new (KotlinxSerializationConverter$serialize$$inlined$map$1())(this_0, this.
|
|
599
|
+
var this_0 = asFlow(this.r6f_1.x6f_1);
|
|
600
|
+
var tmp_0 = new (KotlinxSerializationConverter$serialize$$inlined$map$1())(this_0, this.s6f_1, this.t6f_1, this.u6f_1, this.v6f_1);
|
|
601
601
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
602
602
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
603
603
|
return suspendResult;
|
|
@@ -610,12 +610,12 @@ function $serializeCOROUTINE$() {
|
|
|
610
610
|
return fromExtension;
|
|
611
611
|
var tmp_1;
|
|
612
612
|
try {
|
|
613
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
613
|
+
tmp_1 = serializerForTypeInfo(this.r6f_1.w6f_1.yx(), this.u6f_1);
|
|
614
614
|
} catch ($p) {
|
|
615
615
|
var tmp_2;
|
|
616
616
|
if ($p instanceof SerializationException()) {
|
|
617
617
|
var cause = $p;
|
|
618
|
-
tmp_2 = guessSerializer(this.
|
|
618
|
+
tmp_2 = guessSerializer(this.v6f_1, this.r6f_1.w6f_1.yx());
|
|
619
619
|
} else {
|
|
620
620
|
throw $p;
|
|
621
621
|
}
|
|
@@ -623,7 +623,7 @@ function $serializeCOROUTINE$() {
|
|
|
623
623
|
}
|
|
624
624
|
|
|
625
625
|
var serializer = tmp_1;
|
|
626
|
-
return serializeContent(this.
|
|
626
|
+
return serializeContent(this.r6f_1, serializer, this.r6f_1.w6f_1, this.v6f_1, this.s6f_1, this.t6f_1);
|
|
627
627
|
case 2:
|
|
628
628
|
throw this.dc_1;
|
|
629
629
|
}
|
|
@@ -650,10 +650,10 @@ function $deserializeCOROUTINE$() {
|
|
|
650
650
|
class $ extends CoroutineImpl() {
|
|
651
651
|
constructor(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
652
652
|
super(resultContinuation);
|
|
653
|
-
this.
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
653
|
+
this.g6g_1 = _this__u8e3s4;
|
|
654
|
+
this.h6g_1 = charset;
|
|
655
|
+
this.i6g_1 = typeInfo;
|
|
656
|
+
this.j6g_1 = content;
|
|
657
657
|
}
|
|
658
658
|
ic() {
|
|
659
659
|
var suspendResult = this.cc_1;
|
|
@@ -664,28 +664,28 @@ function $deserializeCOROUTINE$() {
|
|
|
664
664
|
case 0:
|
|
665
665
|
this.bc_1 = 4;
|
|
666
666
|
this.ac_1 = 1;
|
|
667
|
-
var this_0 = asFlow(this.
|
|
668
|
-
var tmp_0 = new (KotlinxSerializationConverter$deserialize$$inlined$map$1())(this_0, this.
|
|
669
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
667
|
+
var this_0 = asFlow(this.g6g_1.x6f_1);
|
|
668
|
+
var tmp_0 = new (KotlinxSerializationConverter$deserialize$$inlined$map$1())(this_0, this.h6g_1, this.i6g_1, this.j6g_1);
|
|
669
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.j6g_1, null), this);
|
|
670
670
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
671
671
|
return suspendResult;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
continue $sm;
|
|
675
675
|
case 1:
|
|
676
|
-
this.
|
|
676
|
+
this.k6g_1 = suspendResult;
|
|
677
677
|
var tmp_1;
|
|
678
|
-
if (!this.
|
|
679
|
-
tmp_1 = !(this.
|
|
678
|
+
if (!this.g6g_1.x6f_1.j()) {
|
|
679
|
+
tmp_1 = !(this.k6g_1 == null) || this.j6g_1.h3b();
|
|
680
680
|
} else {
|
|
681
681
|
tmp_1 = false;
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
if (tmp_1)
|
|
685
|
-
return this.
|
|
686
|
-
this.
|
|
685
|
+
return this.k6g_1;
|
|
686
|
+
this.l6g_1 = serializerForTypeInfo(this.g6g_1.w6f_1.yx(), this.i6g_1);
|
|
687
687
|
this.ac_1 = 2;
|
|
688
|
-
suspendResult = readRemaining(this.
|
|
688
|
+
suspendResult = readRemaining(this.j6g_1, this);
|
|
689
689
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
690
690
|
return suspendResult;
|
|
691
691
|
}
|
|
@@ -694,16 +694,16 @@ function $deserializeCOROUTINE$() {
|
|
|
694
694
|
case 2:
|
|
695
695
|
var contentPacket = suspendResult;
|
|
696
696
|
this.bc_1 = 3;
|
|
697
|
-
var tmp0_subject = this.
|
|
697
|
+
var tmp0_subject = this.g6g_1.w6f_1;
|
|
698
698
|
var tmp_2;
|
|
699
699
|
if (isInterface(tmp0_subject, StringFormat())) {
|
|
700
|
-
tmp_2 = this.
|
|
700
|
+
tmp_2 = this.g6g_1.w6f_1.fu(this.l6g_1, readText(contentPacket, this.h6g_1));
|
|
701
701
|
} else {
|
|
702
702
|
if (isInterface(tmp0_subject, BinaryFormat())) {
|
|
703
|
-
tmp_2 = this.
|
|
703
|
+
tmp_2 = this.g6g_1.w6f_1.hu(this.l6g_1, readByteArray(contentPacket));
|
|
704
704
|
} else {
|
|
705
705
|
discard(contentPacket);
|
|
706
|
-
var message = 'Unsupported format ' + toString(this.
|
|
706
|
+
var message = 'Unsupported format ' + toString(this.g6g_1.w6f_1);
|
|
707
707
|
throw IllegalStateException().o4(toString(message));
|
|
708
708
|
}
|
|
709
709
|
}
|
|
@@ -714,7 +714,7 @@ function $deserializeCOROUTINE$() {
|
|
|
714
714
|
var tmp_3 = this.dc_1;
|
|
715
715
|
if (tmp_3 instanceof Error) {
|
|
716
716
|
var cause = this.dc_1;
|
|
717
|
-
throw JsonConvertException().
|
|
717
|
+
throw JsonConvertException().o4v('Illegal input: ' + cause.message, cause);
|
|
718
718
|
} else {
|
|
719
719
|
throw this.dc_1;
|
|
720
720
|
}
|
|
@@ -744,32 +744,32 @@ function KotlinxSerializationConverter() {
|
|
|
744
744
|
if (KotlinxSerializationConverterClass === VOID) {
|
|
745
745
|
class $ {
|
|
746
746
|
constructor(format) {
|
|
747
|
-
this.
|
|
748
|
-
this.
|
|
747
|
+
this.w6f_1 = format;
|
|
748
|
+
this.x6f_1 = extensions(this.w6f_1);
|
|
749
749
|
var tmp;
|
|
750
|
-
var tmp_0 = this.
|
|
750
|
+
var tmp_0 = this.w6f_1;
|
|
751
751
|
if (isInterface(tmp_0, BinaryFormat())) {
|
|
752
752
|
tmp = true;
|
|
753
753
|
} else {
|
|
754
|
-
var tmp_1 = this.
|
|
754
|
+
var tmp_1 = this.w6f_1;
|
|
755
755
|
tmp = isInterface(tmp_1, StringFormat());
|
|
756
756
|
}
|
|
757
757
|
// Inline function 'kotlin.require' call
|
|
758
758
|
if (!tmp) {
|
|
759
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
759
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.w6f_1) + ' is not supported.';
|
|
760
760
|
throw IllegalArgumentException().u(toString(message));
|
|
761
761
|
}
|
|
762
762
|
}
|
|
763
|
-
|
|
763
|
+
m6g(contentType, charset, typeInfo, value, $completion) {
|
|
764
764
|
var tmp = new ($serializeCOROUTINE$())(this, contentType, charset, typeInfo, value, $completion);
|
|
765
765
|
tmp.cc_1 = Unit_instance;
|
|
766
766
|
tmp.dc_1 = null;
|
|
767
767
|
return tmp.ic();
|
|
768
768
|
}
|
|
769
|
-
|
|
770
|
-
return this.
|
|
769
|
+
o6b(contentType, charset, typeInfo, value, $completion) {
|
|
770
|
+
return this.m6g(contentType, charset, typeInfo, value, $completion);
|
|
771
771
|
}
|
|
772
|
-
|
|
772
|
+
a4x(charset, typeInfo, content, $completion) {
|
|
773
773
|
var tmp = new ($deserializeCOROUTINE$())(this, charset, typeInfo, content, $completion);
|
|
774
774
|
tmp.cc_1 = Unit_instance;
|
|
775
775
|
tmp.dc_1 = null;
|
|
@@ -40,7 +40,7 @@ import { IllegalStateExceptionkoljg5n0nrlr as IllegalStateException } from '../.
|
|
|
40
40
|
//endregion
|
|
41
41
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
42
42
|
var module_0 = _this__u8e3s4;
|
|
43
|
-
var tmp0_safe_receiver = typeInfo.
|
|
43
|
+
var tmp0_safe_receiver = typeInfo.o3x_1;
|
|
44
44
|
var tmp;
|
|
45
45
|
if (tmp0_safe_receiver == null) {
|
|
46
46
|
tmp = null;
|
|
@@ -57,13 +57,13 @@ function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
|
57
57
|
var tmp1_elvis_lhs = tmp;
|
|
58
58
|
var tmp_1;
|
|
59
59
|
if (tmp1_elvis_lhs == null) {
|
|
60
|
-
var tmp2_safe_receiver = module_0.gv(typeInfo.
|
|
60
|
+
var tmp2_safe_receiver = module_0.gv(typeInfo.n3x_1);
|
|
61
61
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
62
62
|
} else {
|
|
63
63
|
tmp_1 = tmp1_elvis_lhs;
|
|
64
64
|
}
|
|
65
65
|
var tmp3_elvis_lhs = tmp_1;
|
|
66
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
66
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.n3x_1), typeInfo) : tmp3_elvis_lhs;
|
|
67
67
|
}
|
|
68
68
|
function guessSerializer(value, module_0) {
|
|
69
69
|
var tmp;
|
|
@@ -105,7 +105,7 @@ function guessSerializer(value, module_0) {
|
|
|
105
105
|
}
|
|
106
106
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
107
107
|
var tmp;
|
|
108
|
-
var tmp0_safe_receiver = typeInfo.
|
|
108
|
+
var tmp0_safe_receiver = typeInfo.o3x_1;
|
|
109
109
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.rg()) === true) {
|
|
110
110
|
tmp = get_nullable(_this__u8e3s4);
|
|
111
111
|
} else {
|
package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs
CHANGED
|
@@ -14,18 +14,18 @@ function get_DefaultJson() {
|
|
|
14
14
|
var DefaultJson;
|
|
15
15
|
function json(_this__u8e3s4, json, contentType) {
|
|
16
16
|
json = json === VOID ? get_DefaultJson() : json;
|
|
17
|
-
contentType = contentType === VOID ? Application_getInstance().
|
|
17
|
+
contentType = contentType === VOID ? Application_getInstance().i3z_1 : contentType;
|
|
18
18
|
_init_properties_JsonSupport_kt__yf438r();
|
|
19
19
|
serialization(_this__u8e3s4, contentType, json);
|
|
20
20
|
}
|
|
21
21
|
function DefaultJson$lambda($this$Json) {
|
|
22
22
|
_init_properties_JsonSupport_kt__yf438r();
|
|
23
|
-
$this$Json.q6g_1 = true;
|
|
24
|
-
$this$Json.t6g_1 = true;
|
|
25
23
|
$this$Json.e6h_1 = true;
|
|
26
|
-
$this$Json.
|
|
27
|
-
$this$Json.
|
|
28
|
-
$this$Json.
|
|
24
|
+
$this$Json.h6h_1 = true;
|
|
25
|
+
$this$Json.s6h_1 = true;
|
|
26
|
+
$this$Json.t6h_1 = true;
|
|
27
|
+
$this$Json.i6h_1 = false;
|
|
28
|
+
$this$Json.u6h_1 = false;
|
|
29
29
|
return Unit_instance;
|
|
30
30
|
}
|
|
31
31
|
var properties_initialized_JsonSupport_kt_9cgd93;
|