@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
|
@@ -35,7 +35,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/k
|
|
|
35
35
|
//region block: pre-declaration
|
|
36
36
|
//endregion
|
|
37
37
|
function _set_interceptors__wod97b($this, _set____db54di) {
|
|
38
|
-
var tmp0 = $this.
|
|
38
|
+
var tmp0 = $this.q3w_1;
|
|
39
39
|
var tmp = KMutableProperty1();
|
|
40
40
|
var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e_0();
|
|
41
41
|
// Inline function 'kotlinx.atomicfu.AtomicRef.setValue' call
|
|
@@ -44,7 +44,7 @@ function _set_interceptors__wod97b($this, _set____db54di) {
|
|
|
44
44
|
return Unit_instance;
|
|
45
45
|
}
|
|
46
46
|
function _get_interceptors__h4min7($this) {
|
|
47
|
-
var tmp0 = $this.
|
|
47
|
+
var tmp0 = $this.q3w_1;
|
|
48
48
|
var tmp = KMutableProperty1();
|
|
49
49
|
var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e();
|
|
50
50
|
// Inline function 'kotlinx.atomicfu.AtomicRef.getValue' call
|
|
@@ -52,10 +52,10 @@ function _get_interceptors__h4min7($this) {
|
|
|
52
52
|
return tmp0.kotlinx$atomicfu$value;
|
|
53
53
|
}
|
|
54
54
|
function createContext($this, context, subject, coroutineContext) {
|
|
55
|
-
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.
|
|
55
|
+
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.t3w());
|
|
56
56
|
}
|
|
57
57
|
function findPhase($this, phase) {
|
|
58
|
-
var phasesList = $this.
|
|
58
|
+
var phasesList = $this.o3w_1;
|
|
59
59
|
var inductionVariable = 0;
|
|
60
60
|
var last = phasesList.i1();
|
|
61
61
|
if (inductionVariable < last)
|
|
@@ -64,13 +64,13 @@ function findPhase($this, phase) {
|
|
|
64
64
|
inductionVariable = inductionVariable + 1 | 0;
|
|
65
65
|
var current = phasesList.j1(index);
|
|
66
66
|
if (current === phase) {
|
|
67
|
-
var content = PhaseContent().
|
|
67
|
+
var content = PhaseContent().g3w(phase, Last_getInstance());
|
|
68
68
|
phasesList.a3(index, content);
|
|
69
69
|
return content;
|
|
70
70
|
}
|
|
71
71
|
var tmp;
|
|
72
72
|
if (current instanceof PhaseContent()) {
|
|
73
|
-
tmp = current.
|
|
73
|
+
tmp = current.a3w_1 === phase;
|
|
74
74
|
} else {
|
|
75
75
|
tmp = false;
|
|
76
76
|
}
|
|
@@ -82,7 +82,7 @@ function findPhase($this, phase) {
|
|
|
82
82
|
return null;
|
|
83
83
|
}
|
|
84
84
|
function findPhaseIndex($this, phase) {
|
|
85
|
-
var phasesList = $this.
|
|
85
|
+
var phasesList = $this.o3w_1;
|
|
86
86
|
var inductionVariable = 0;
|
|
87
87
|
var last = phasesList.i1();
|
|
88
88
|
if (inductionVariable < last)
|
|
@@ -96,7 +96,7 @@ function findPhaseIndex($this, phase) {
|
|
|
96
96
|
} else {
|
|
97
97
|
var tmp_0;
|
|
98
98
|
if (current instanceof PhaseContent()) {
|
|
99
|
-
tmp_0 = current.
|
|
99
|
+
tmp_0 = current.a3w_1 === phase;
|
|
100
100
|
} else {
|
|
101
101
|
tmp_0 = false;
|
|
102
102
|
}
|
|
@@ -110,7 +110,7 @@ function findPhaseIndex($this, phase) {
|
|
|
110
110
|
return -1;
|
|
111
111
|
}
|
|
112
112
|
function hasPhase($this, phase) {
|
|
113
|
-
var phasesList = $this.
|
|
113
|
+
var phasesList = $this.o3w_1;
|
|
114
114
|
var inductionVariable = 0;
|
|
115
115
|
var last = phasesList.i1();
|
|
116
116
|
if (inductionVariable < last)
|
|
@@ -124,7 +124,7 @@ function hasPhase($this, phase) {
|
|
|
124
124
|
} else {
|
|
125
125
|
var tmp_0;
|
|
126
126
|
if (current instanceof PhaseContent()) {
|
|
127
|
-
tmp_0 = current.
|
|
127
|
+
tmp_0 = current.a3w_1 === phase;
|
|
128
128
|
} else {
|
|
129
129
|
tmp_0 = false;
|
|
130
130
|
}
|
|
@@ -138,12 +138,12 @@ function hasPhase($this, phase) {
|
|
|
138
138
|
return false;
|
|
139
139
|
}
|
|
140
140
|
function cacheInterceptors($this) {
|
|
141
|
-
var interceptorsQuantity = $this.
|
|
141
|
+
var interceptorsQuantity = $this.p3w_1;
|
|
142
142
|
if (interceptorsQuantity === 0) {
|
|
143
143
|
notSharedInterceptorsList($this, emptyList());
|
|
144
144
|
return emptyList();
|
|
145
145
|
}
|
|
146
|
-
var phases = $this.
|
|
146
|
+
var phases = $this.o3w_1;
|
|
147
147
|
if (interceptorsQuantity === 1) {
|
|
148
148
|
var inductionVariable = 0;
|
|
149
149
|
var last = get_lastIndex(phases);
|
|
@@ -160,9 +160,9 @@ function cacheInterceptors($this) {
|
|
|
160
160
|
tmp_0 = tmp0_elvis_lhs;
|
|
161
161
|
}
|
|
162
162
|
var phaseContent = tmp_0;
|
|
163
|
-
if (phaseContent.
|
|
163
|
+
if (phaseContent.h3w())
|
|
164
164
|
continue $l$loop_0;
|
|
165
|
-
var interceptors = phaseContent.
|
|
165
|
+
var interceptors = phaseContent.k3w();
|
|
166
166
|
setInterceptorsListFromPhase($this, phaseContent);
|
|
167
167
|
return interceptors;
|
|
168
168
|
}
|
|
@@ -185,7 +185,7 @@ function cacheInterceptors($this) {
|
|
|
185
185
|
tmp_2 = tmp1_elvis_lhs;
|
|
186
186
|
}
|
|
187
187
|
var phase = tmp_2;
|
|
188
|
-
phase.
|
|
188
|
+
phase.j3w(destination);
|
|
189
189
|
}
|
|
190
190
|
while (!(phaseIndex_0 === last_0));
|
|
191
191
|
notSharedInterceptorsList($this, destination);
|
|
@@ -195,31 +195,31 @@ function sharedInterceptorsList($this) {
|
|
|
195
195
|
if (_get_interceptors__h4min7($this) == null) {
|
|
196
196
|
cacheInterceptors($this);
|
|
197
197
|
}
|
|
198
|
-
$this.
|
|
198
|
+
$this.r3w_1 = true;
|
|
199
199
|
return ensureNotNull(_get_interceptors__h4min7($this));
|
|
200
200
|
}
|
|
201
201
|
function resetInterceptorsList($this) {
|
|
202
202
|
_set_interceptors__wod97b($this, null);
|
|
203
|
-
$this.
|
|
204
|
-
$this.
|
|
203
|
+
$this.r3w_1 = false;
|
|
204
|
+
$this.s3w_1 = null;
|
|
205
205
|
}
|
|
206
206
|
function notSharedInterceptorsList($this, list) {
|
|
207
207
|
_set_interceptors__wod97b($this, list);
|
|
208
|
-
$this.
|
|
209
|
-
$this.
|
|
208
|
+
$this.r3w_1 = false;
|
|
209
|
+
$this.s3w_1 = null;
|
|
210
210
|
}
|
|
211
211
|
function setInterceptorsListFromPhase($this, phaseContent) {
|
|
212
|
-
_set_interceptors__wod97b($this, phaseContent.
|
|
213
|
-
$this.
|
|
214
|
-
$this.
|
|
212
|
+
_set_interceptors__wod97b($this, phaseContent.k3w());
|
|
213
|
+
$this.r3w_1 = false;
|
|
214
|
+
$this.s3w_1 = phaseContent.a3w_1;
|
|
215
215
|
}
|
|
216
216
|
function tryAddToPhaseFastPath($this, phase, block) {
|
|
217
217
|
var currentInterceptors = _get_interceptors__h4min7($this);
|
|
218
|
-
if ($this.
|
|
218
|
+
if ($this.o3w_1.j() || currentInterceptors == null) {
|
|
219
219
|
return false;
|
|
220
220
|
}
|
|
221
221
|
var tmp;
|
|
222
|
-
if ($this.
|
|
222
|
+
if ($this.r3w_1) {
|
|
223
223
|
tmp = true;
|
|
224
224
|
} else {
|
|
225
225
|
tmp = !(!(currentInterceptors == null) ? isInterface(currentInterceptors, KtMutableList()) : false);
|
|
@@ -227,12 +227,12 @@ function tryAddToPhaseFastPath($this, phase, block) {
|
|
|
227
227
|
if (tmp) {
|
|
228
228
|
return false;
|
|
229
229
|
}
|
|
230
|
-
if (equals($this.
|
|
230
|
+
if (equals($this.s3w_1, phase)) {
|
|
231
231
|
currentInterceptors.m(block);
|
|
232
232
|
return true;
|
|
233
233
|
}
|
|
234
|
-
if (equals(phase, last($this.
|
|
235
|
-
ensureNotNull(findPhase($this, phase)).
|
|
234
|
+
if (equals(phase, last($this.o3w_1)) || findPhaseIndex($this, phase) === get_lastIndex($this.o3w_1)) {
|
|
235
|
+
ensureNotNull(findPhase($this, phase)).i3w(block);
|
|
236
236
|
currentInterceptors.m(block);
|
|
237
237
|
return true;
|
|
238
238
|
}
|
|
@@ -265,23 +265,23 @@ function Pipeline() {
|
|
|
265
265
|
if (PipelineClass === VOID) {
|
|
266
266
|
class $ {
|
|
267
267
|
constructor(phases) {
|
|
268
|
-
this.
|
|
269
|
-
this.
|
|
270
|
-
this.
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
268
|
+
this.m3w_1 = AttributesJsFn(true);
|
|
269
|
+
this.n3w_1 = false;
|
|
270
|
+
this.o3w_1 = mutableListOf(phases.slice());
|
|
271
|
+
this.p3w_1 = 0;
|
|
272
|
+
this.q3w_1 = atomic$ref$1(null);
|
|
273
|
+
this.r3w_1 = false;
|
|
274
|
+
this.s3w_1 = null;
|
|
275
275
|
}
|
|
276
|
-
|
|
277
|
-
return this.
|
|
276
|
+
t3w() {
|
|
277
|
+
return this.n3w_1;
|
|
278
278
|
}
|
|
279
|
-
|
|
279
|
+
u3w(context, subject, $completion) {
|
|
280
280
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
281
281
|
var tmp$ret$0 = $completion.gc();
|
|
282
|
-
return createContext(this, context, subject, tmp$ret$0).
|
|
282
|
+
return createContext(this, context, subject, tmp$ret$0).z3v(subject, $completion);
|
|
283
283
|
}
|
|
284
|
-
|
|
284
|
+
w3w(reference, phase) {
|
|
285
285
|
if (hasPhase(this, phase))
|
|
286
286
|
return Unit_instance;
|
|
287
287
|
var index = findPhaseIndex(this, reference);
|
|
@@ -290,14 +290,14 @@ function Pipeline() {
|
|
|
290
290
|
}
|
|
291
291
|
var lastRelatedPhaseIndex = index;
|
|
292
292
|
var inductionVariable = index + 1 | 0;
|
|
293
|
-
var last = get_lastIndex(this.
|
|
293
|
+
var last = get_lastIndex(this.o3w_1);
|
|
294
294
|
if (inductionVariable <= last)
|
|
295
295
|
$l$loop_0: do {
|
|
296
296
|
var i = inductionVariable;
|
|
297
297
|
inductionVariable = inductionVariable + 1 | 0;
|
|
298
|
-
var tmp = this.
|
|
298
|
+
var tmp = this.o3w_1.j1(i);
|
|
299
299
|
var tmp0_safe_receiver = tmp instanceof PhaseContent() ? tmp : null;
|
|
300
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
300
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b3w_1;
|
|
301
301
|
var tmp_0;
|
|
302
302
|
if (tmp1_elvis_lhs == null) {
|
|
303
303
|
break $l$loop_0;
|
|
@@ -306,7 +306,7 @@ function Pipeline() {
|
|
|
306
306
|
}
|
|
307
307
|
var relation = tmp_0;
|
|
308
308
|
var tmp2_safe_receiver = relation instanceof After() ? relation : null;
|
|
309
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
309
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.x3w_1;
|
|
310
310
|
var tmp_1;
|
|
311
311
|
if (tmp3_elvis_lhs == null) {
|
|
312
312
|
continue $l$loop_0;
|
|
@@ -317,18 +317,18 @@ function Pipeline() {
|
|
|
317
317
|
lastRelatedPhaseIndex = equals(relatedTo, reference) ? i : lastRelatedPhaseIndex;
|
|
318
318
|
}
|
|
319
319
|
while (!(i === last));
|
|
320
|
-
this.
|
|
320
|
+
this.o3w_1.b3(lastRelatedPhaseIndex + 1 | 0, PhaseContent().g3w(phase, new (After())(reference)));
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
y3w(reference, phase) {
|
|
323
323
|
if (hasPhase(this, phase))
|
|
324
324
|
return Unit_instance;
|
|
325
325
|
var index = findPhaseIndex(this, reference);
|
|
326
326
|
if (index === -1) {
|
|
327
327
|
throw new (InvalidPhaseException())('Phase ' + reference.toString() + ' was not registered for this pipeline');
|
|
328
328
|
}
|
|
329
|
-
this.
|
|
329
|
+
this.o3w_1.b3(index, PhaseContent().g3w(phase, new (Before())(reference)));
|
|
330
330
|
}
|
|
331
|
-
|
|
331
|
+
z3w(phase, block) {
|
|
332
332
|
var tmp0_elvis_lhs = findPhase(this, phase);
|
|
333
333
|
var tmp;
|
|
334
334
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -338,15 +338,15 @@ function Pipeline() {
|
|
|
338
338
|
}
|
|
339
339
|
var phaseContent = tmp;
|
|
340
340
|
if (tryAddToPhaseFastPath(this, phase, block)) {
|
|
341
|
-
this.
|
|
341
|
+
this.p3w_1 = this.p3w_1 + 1 | 0;
|
|
342
342
|
return Unit_instance;
|
|
343
343
|
}
|
|
344
|
-
phaseContent.
|
|
345
|
-
this.
|
|
344
|
+
phaseContent.i3w(block);
|
|
345
|
+
this.p3w_1 = this.p3w_1 + 1 | 0;
|
|
346
346
|
resetInterceptorsList(this);
|
|
347
|
-
this.
|
|
347
|
+
this.a3x();
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
a3x() {
|
|
350
350
|
}
|
|
351
351
|
toString() {
|
|
352
352
|
return anyToString(this);
|
|
@@ -14,10 +14,10 @@ function PipelinePhase() {
|
|
|
14
14
|
if (PipelinePhaseClass === VOID) {
|
|
15
15
|
class $ {
|
|
16
16
|
constructor(name) {
|
|
17
|
-
this.
|
|
17
|
+
this.l3w_1 = name;
|
|
18
18
|
}
|
|
19
19
|
toString() {
|
|
20
|
-
return "Phase('" + this.
|
|
20
|
+
return "Phase('" + this.l3w_1 + "')";
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
initMetadataForClass($, 'PipelinePhase');
|
|
@@ -32,7 +32,7 @@ function InvalidPhaseException() {
|
|
|
32
32
|
constructor(message) {
|
|
33
33
|
super(message);
|
|
34
34
|
setPropertiesToThrowableInstance(this, message);
|
|
35
|
-
captureStack(this, this.
|
|
35
|
+
captureStack(this, this.b3x_1);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
initMetadataForClass($, 'InvalidPhaseException');
|
|
@@ -14,7 +14,7 @@ function After() {
|
|
|
14
14
|
class $ extends PipelinePhaseRelation() {
|
|
15
15
|
constructor(relativeTo) {
|
|
16
16
|
super();
|
|
17
|
-
this.
|
|
17
|
+
this.x3w_1 = relativeTo;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
initMetadataForClass($, 'After');
|
|
@@ -28,7 +28,7 @@ function Before() {
|
|
|
28
28
|
class $ extends PipelinePhaseRelation() {
|
|
29
29
|
constructor(relativeTo) {
|
|
30
30
|
super();
|
|
31
|
-
this.
|
|
31
|
+
this.c3x_1 = relativeTo;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
initMetadataForClass($, 'Before');
|
|
@@ -23,21 +23,21 @@ import { intercepted2ogpsikxxj4u0 as intercepted } from '../../../../../kotlin-k
|
|
|
23
23
|
//endregion
|
|
24
24
|
function loop($this, direct) {
|
|
25
25
|
do {
|
|
26
|
-
var currentIndex = $this.
|
|
27
|
-
if (currentIndex === $this.
|
|
26
|
+
var currentIndex = $this.j3x_1;
|
|
27
|
+
if (currentIndex === $this.e3x_1.i1()) {
|
|
28
28
|
if (!direct) {
|
|
29
29
|
// Inline function 'kotlin.Companion.success' call
|
|
30
|
-
var value = $this.
|
|
30
|
+
var value = $this.g3x_1;
|
|
31
31
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
|
|
32
32
|
resumeRootWith($this, tmp$ret$0);
|
|
33
33
|
return false;
|
|
34
34
|
}
|
|
35
35
|
return true;
|
|
36
36
|
}
|
|
37
|
-
$this.
|
|
38
|
-
var next = $this.
|
|
37
|
+
$this.j3x_1 = currentIndex + 1 | 0;
|
|
38
|
+
var next = $this.e3x_1.j1(currentIndex);
|
|
39
39
|
try {
|
|
40
|
-
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.
|
|
40
|
+
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.g3x_1, $this.f3x_1);
|
|
41
41
|
if (result === get_COROUTINE_SUSPENDED())
|
|
42
42
|
return false;
|
|
43
43
|
} catch ($p) {
|
|
@@ -55,15 +55,15 @@ function loop($this, direct) {
|
|
|
55
55
|
while (true);
|
|
56
56
|
}
|
|
57
57
|
function resumeRootWith($this, result) {
|
|
58
|
-
if ($this.
|
|
58
|
+
if ($this.i3x_1 < 0) {
|
|
59
59
|
// Inline function 'kotlin.error' call
|
|
60
60
|
var message = 'No more continuations to resume';
|
|
61
61
|
throw IllegalStateException().o4(toString(message));
|
|
62
62
|
}
|
|
63
|
-
var next = ensureNotNull($this.
|
|
64
|
-
var _unary__edvuaz = $this.
|
|
65
|
-
$this.
|
|
66
|
-
$this.
|
|
63
|
+
var next = ensureNotNull($this.h3x_1[$this.i3x_1]);
|
|
64
|
+
var _unary__edvuaz = $this.i3x_1;
|
|
65
|
+
$this.i3x_1 = _unary__edvuaz - 1 | 0;
|
|
66
|
+
$this.h3x_1[_unary__edvuaz] = null;
|
|
67
67
|
if (!_Result___get_isFailure__impl__jpiriv(result)) {
|
|
68
68
|
next.lc(result);
|
|
69
69
|
} else {
|
|
@@ -75,29 +75,29 @@ function resumeRootWith($this, result) {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
function discardLastRootContinuation($this) {
|
|
78
|
-
if ($this.
|
|
78
|
+
if ($this.i3x_1 < 0)
|
|
79
79
|
throw IllegalStateException().o4('No more continuations to resume');
|
|
80
|
-
var _unary__edvuaz = $this.
|
|
81
|
-
$this.
|
|
82
|
-
$this.
|
|
80
|
+
var _unary__edvuaz = $this.i3x_1;
|
|
81
|
+
$this.i3x_1 = _unary__edvuaz - 1 | 0;
|
|
82
|
+
$this.h3x_1[_unary__edvuaz] = null;
|
|
83
83
|
}
|
|
84
84
|
var SuspendFunctionGun$continuation$1Class;
|
|
85
85
|
function SuspendFunctionGun$continuation$1() {
|
|
86
86
|
if (SuspendFunctionGun$continuation$1Class === VOID) {
|
|
87
87
|
class $ {
|
|
88
88
|
constructor(this$0) {
|
|
89
|
-
this.
|
|
90
|
-
this.
|
|
89
|
+
this.l3x_1 = this$0;
|
|
90
|
+
this.k3x_1 = -2147483648;
|
|
91
91
|
}
|
|
92
92
|
gc() {
|
|
93
|
-
var continuation = this.
|
|
93
|
+
var continuation = this.l3x_1.h3x_1[this.l3x_1.i3x_1];
|
|
94
94
|
if (!(continuation === this) && !(continuation == null))
|
|
95
95
|
return continuation.gc();
|
|
96
|
-
var index = this.
|
|
96
|
+
var index = this.l3x_1.i3x_1 - 1 | 0;
|
|
97
97
|
while (index >= 0) {
|
|
98
98
|
var _unary__edvuaz = index;
|
|
99
99
|
index = _unary__edvuaz - 1 | 0;
|
|
100
|
-
var cont = this.
|
|
100
|
+
var cont = this.l3x_1.h3x_1[_unary__edvuaz];
|
|
101
101
|
if (!(cont === this) && !(cont == null))
|
|
102
102
|
return cont.gc();
|
|
103
103
|
}
|
|
@@ -110,10 +110,10 @@ function SuspendFunctionGun$continuation$1() {
|
|
|
110
110
|
// Inline function 'kotlin.Companion.failure' call
|
|
111
111
|
var exception = ensureNotNull(Result__exceptionOrNull_impl_p6xea9(result));
|
|
112
112
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
113
|
-
resumeRootWith(this.
|
|
113
|
+
resumeRootWith(this.l3x_1, tmp$ret$0);
|
|
114
114
|
return Unit_instance;
|
|
115
115
|
}
|
|
116
|
-
loop(this.
|
|
116
|
+
loop(this.l3x_1, false);
|
|
117
117
|
}
|
|
118
118
|
lc(result) {
|
|
119
119
|
return this.rl(result);
|
|
@@ -130,56 +130,56 @@ function SuspendFunctionGun() {
|
|
|
130
130
|
class $ extends PipelineContext() {
|
|
131
131
|
constructor(initial, context, blocks) {
|
|
132
132
|
super(context);
|
|
133
|
-
this.
|
|
133
|
+
this.e3x_1 = blocks;
|
|
134
134
|
var tmp = this;
|
|
135
|
-
tmp.
|
|
136
|
-
this.
|
|
135
|
+
tmp.f3x_1 = new (SuspendFunctionGun$continuation$1())(this);
|
|
136
|
+
this.g3x_1 = initial;
|
|
137
137
|
var tmp_0 = this;
|
|
138
138
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
139
|
-
var size = this.
|
|
140
|
-
tmp_0.
|
|
141
|
-
this.
|
|
142
|
-
this.
|
|
139
|
+
var size = this.e3x_1.i1();
|
|
140
|
+
tmp_0.h3x_1 = Array(size);
|
|
141
|
+
this.i3x_1 = -1;
|
|
142
|
+
this.j3x_1 = 0;
|
|
143
143
|
}
|
|
144
144
|
s1x() {
|
|
145
|
-
return this.
|
|
145
|
+
return this.f3x_1.gc();
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
return this.
|
|
147
|
+
w3v() {
|
|
148
|
+
return this.g3x_1;
|
|
149
149
|
}
|
|
150
|
-
|
|
150
|
+
y3v($completion) {
|
|
151
151
|
var tmp$ret$0;
|
|
152
152
|
$l$block_0: {
|
|
153
|
-
if (this.
|
|
154
|
-
tmp$ret$0 = this.
|
|
153
|
+
if (this.j3x_1 === this.e3x_1.i1()) {
|
|
154
|
+
tmp$ret$0 = this.g3x_1;
|
|
155
155
|
break $l$block_0;
|
|
156
156
|
}
|
|
157
|
-
this.
|
|
157
|
+
this.m3x(intercepted($completion));
|
|
158
158
|
if (loop(this, true)) {
|
|
159
159
|
discardLastRootContinuation(this);
|
|
160
|
-
tmp$ret$0 = this.
|
|
160
|
+
tmp$ret$0 = this.g3x_1;
|
|
161
161
|
break $l$block_0;
|
|
162
162
|
}
|
|
163
163
|
tmp$ret$0 = get_COROUTINE_SUSPENDED();
|
|
164
164
|
}
|
|
165
165
|
return tmp$ret$0;
|
|
166
166
|
}
|
|
167
|
-
|
|
168
|
-
this.
|
|
169
|
-
return this.
|
|
167
|
+
x3v(subject, $completion) {
|
|
168
|
+
this.g3x_1 = subject;
|
|
169
|
+
return this.y3v($completion);
|
|
170
170
|
}
|
|
171
|
-
|
|
172
|
-
this.
|
|
173
|
-
if (this.
|
|
171
|
+
z3v(initial, $completion) {
|
|
172
|
+
this.j3x_1 = 0;
|
|
173
|
+
if (this.j3x_1 === this.e3x_1.i1())
|
|
174
174
|
return initial;
|
|
175
|
-
this.
|
|
176
|
-
if (this.
|
|
175
|
+
this.g3x_1 = initial;
|
|
176
|
+
if (this.i3x_1 >= 0)
|
|
177
177
|
throw IllegalStateException().o4('Already started');
|
|
178
|
-
return this.
|
|
178
|
+
return this.y3v($completion);
|
|
179
179
|
}
|
|
180
|
-
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
180
|
+
m3x(continuation) {
|
|
181
|
+
this.i3x_1 = this.i3x_1 + 1 | 0;
|
|
182
|
+
this.h3x_1[this.i3x_1] = continuation;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
initMetadataForClass($, 'SuspendFunctionGun', VOID, VOID, VOID, [0, 1]);
|
|
@@ -15,13 +15,13 @@ function TypeInfo() {
|
|
|
15
15
|
class $ {
|
|
16
16
|
constructor(type, kotlinType) {
|
|
17
17
|
kotlinType = kotlinType === VOID ? null : kotlinType;
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
18
|
+
this.n3x_1 = type;
|
|
19
|
+
this.o3x_1 = kotlinType;
|
|
20
20
|
}
|
|
21
21
|
hashCode() {
|
|
22
|
-
var tmp0_safe_receiver = this.
|
|
22
|
+
var tmp0_safe_receiver = this.o3x_1;
|
|
23
23
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
24
|
-
return tmp1_elvis_lhs == null ? this.
|
|
24
|
+
return tmp1_elvis_lhs == null ? this.n3x_1.hashCode() : tmp1_elvis_lhs;
|
|
25
25
|
}
|
|
26
26
|
equals(other) {
|
|
27
27
|
if (this === other)
|
|
@@ -29,16 +29,16 @@ function TypeInfo() {
|
|
|
29
29
|
if (!(other instanceof TypeInfo()))
|
|
30
30
|
return false;
|
|
31
31
|
var tmp;
|
|
32
|
-
if (!(this.
|
|
33
|
-
tmp = equals(this.
|
|
32
|
+
if (!(this.o3x_1 == null) || !(other.o3x_1 == null)) {
|
|
33
|
+
tmp = equals(this.o3x_1, other.o3x_1);
|
|
34
34
|
} else {
|
|
35
|
-
tmp = this.
|
|
35
|
+
tmp = this.n3x_1.equals(other.n3x_1);
|
|
36
36
|
}
|
|
37
37
|
return tmp;
|
|
38
38
|
}
|
|
39
39
|
toString() {
|
|
40
|
-
var tmp0_elvis_lhs = this.
|
|
41
|
-
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.
|
|
40
|
+
var tmp0_elvis_lhs = this.o3x_1;
|
|
41
|
+
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.n3x_1 : tmp0_elvis_lhs) + ')';
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
initMetadataForClass($, 'TypeInfo');
|
|
@@ -48,14 +48,14 @@ function Companion() {
|
|
|
48
48
|
var _iterator__ex2g4s = this_0.d1();
|
|
49
49
|
while (_iterator__ex2g4s.e1()) {
|
|
50
50
|
var element = _iterator__ex2g4s.f1();
|
|
51
|
-
var tmp$ret$0 = element.
|
|
51
|
+
var tmp$ret$0 = element.t4o_1;
|
|
52
52
|
destination.d3(tmp$ret$0, element);
|
|
53
53
|
}
|
|
54
|
-
tmp.
|
|
55
|
-
this.
|
|
54
|
+
tmp.u4o_1 = destination;
|
|
55
|
+
this.v4o_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
return this.
|
|
57
|
+
w4o(code) {
|
|
58
|
+
return this.u4o_1.w2(code);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
initMetadataForCompanion($);
|
|
@@ -104,7 +104,7 @@ function Codes() {
|
|
|
104
104
|
class $ extends Enum() {
|
|
105
105
|
constructor(name, ordinal, code) {
|
|
106
106
|
super(name, ordinal);
|
|
107
|
-
this.
|
|
107
|
+
this.t4o_1 = code;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
initMetadataForClass($, 'Codes');
|
|
@@ -164,25 +164,25 @@ var CloseReasonClass;
|
|
|
164
164
|
function CloseReason() {
|
|
165
165
|
if (CloseReasonClass === VOID) {
|
|
166
166
|
class $ {
|
|
167
|
-
static
|
|
167
|
+
static z4o(code, message) {
|
|
168
168
|
var $this = createThis(this);
|
|
169
|
-
$this.
|
|
170
|
-
$this.
|
|
169
|
+
$this.x4o_1 = code;
|
|
170
|
+
$this.y4o_1 = message;
|
|
171
171
|
return $this;
|
|
172
172
|
}
|
|
173
|
-
static
|
|
174
|
-
return this.
|
|
173
|
+
static a4p(code, message) {
|
|
174
|
+
return this.z4o(code.t4o_1, message);
|
|
175
175
|
}
|
|
176
|
-
|
|
177
|
-
return Companion_getInstance().
|
|
176
|
+
b4p() {
|
|
177
|
+
return Companion_getInstance().w4o(this.x4o_1);
|
|
178
178
|
}
|
|
179
179
|
toString() {
|
|
180
|
-
var tmp0_elvis_lhs = this.
|
|
181
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
180
|
+
var tmp0_elvis_lhs = this.b4p();
|
|
181
|
+
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.x4o_1 : tmp0_elvis_lhs) + ', message=' + this.y4o_1 + ')';
|
|
182
182
|
}
|
|
183
183
|
hashCode() {
|
|
184
|
-
var result = this.
|
|
185
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
184
|
+
var result = this.x4o_1;
|
|
185
|
+
result = imul(result, 31) + getStringHashCode(this.y4o_1) | 0;
|
|
186
186
|
return result;
|
|
187
187
|
}
|
|
188
188
|
equals(other) {
|
|
@@ -191,9 +191,9 @@ function CloseReason() {
|
|
|
191
191
|
if (!(other instanceof CloseReason()))
|
|
192
192
|
return false;
|
|
193
193
|
var tmp0_other_with_cast = other instanceof CloseReason() ? other : THROW_CCE();
|
|
194
|
-
if (!(this.
|
|
194
|
+
if (!(this.x4o_1 === tmp0_other_with_cast.x4o_1))
|
|
195
195
|
return false;
|
|
196
|
-
if (!(this.
|
|
196
|
+
if (!(this.y4o_1 === tmp0_other_with_cast.y4o_1))
|
|
197
197
|
return false;
|
|
198
198
|
return true;
|
|
199
199
|
}
|