@attocash/commons-js 5.0.0 → 5.1.1
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/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
- 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-node.mjs +1 -0
- package/commons-commons-node.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/channels/BufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- 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/ByteString.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
- 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/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
- 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 +106 -106
- 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
|
@@ -83,7 +83,7 @@ function FlushRequest() {
|
|
|
83
83
|
if (FlushRequestClass === VOID) {
|
|
84
84
|
class $ {
|
|
85
85
|
d25() {
|
|
86
|
-
return this.
|
|
86
|
+
return this.q4p_1.d25();
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
initMetadataForClass($, 'FlushRequest', VOID, VOID, VOID, [0]);
|
|
@@ -98,17 +98,17 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
98
98
|
constructor(this$0, resultContinuation, $box) {
|
|
99
99
|
if ($box === VOID)
|
|
100
100
|
$box = {};
|
|
101
|
-
$box.
|
|
101
|
+
$box.z4p_1 = this$0;
|
|
102
102
|
super(resultContinuation, $box);
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
var tmp = this.
|
|
104
|
+
z37($this$launch, $completion) {
|
|
105
|
+
var tmp = this.d36($this$launch, $completion);
|
|
106
106
|
tmp.cc_1 = Unit_instance;
|
|
107
107
|
tmp.dc_1 = null;
|
|
108
108
|
return tmp.ic();
|
|
109
109
|
}
|
|
110
110
|
kd(p1, $completion) {
|
|
111
|
-
return this.
|
|
111
|
+
return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
112
112
|
}
|
|
113
113
|
ic() {
|
|
114
114
|
var suspendResult = this.cc_1;
|
|
@@ -132,45 +132,45 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
this.ac_1 = 3;
|
|
135
|
-
suspendResult = this.
|
|
135
|
+
suspendResult = this.z4p_1.o4q_1.i2i(this);
|
|
136
136
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
137
137
|
return suspendResult;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
continue $sm;
|
|
141
141
|
case 3:
|
|
142
|
-
this.
|
|
143
|
-
var tmp_0 = this.
|
|
142
|
+
this.c4q_1 = suspendResult;
|
|
143
|
+
var tmp_0 = this.c4q_1;
|
|
144
144
|
if (tmp_0 instanceof Frame()) {
|
|
145
145
|
this.ac_1 = 4;
|
|
146
|
-
suspendResult = writeFrame(this.
|
|
146
|
+
suspendResult = writeFrame(this.z4p_1.j4q_1, this.c4q_1, this.z4p_1.l4q_1, this);
|
|
147
147
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
148
148
|
return suspendResult;
|
|
149
149
|
}
|
|
150
150
|
continue $sm;
|
|
151
151
|
} else {
|
|
152
|
-
var tmp_1 = this.
|
|
152
|
+
var tmp_1 = this.c4q_1;
|
|
153
153
|
if (tmp_1 instanceof FlushRequest()) {
|
|
154
154
|
var tmp_2 = this;
|
|
155
|
-
tmp_2.
|
|
155
|
+
tmp_2.d4q_1 = this.c4q_1.d25();
|
|
156
156
|
this.ac_1 = 7;
|
|
157
157
|
continue $sm;
|
|
158
158
|
} else {
|
|
159
159
|
var tmp_3 = this;
|
|
160
|
-
throw IllegalArgumentException().u('unknown message ' + toString(this.
|
|
160
|
+
throw IllegalArgumentException().u('unknown message ' + toString(this.c4q_1));
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
case 4:
|
|
165
165
|
this.ac_1 = 5;
|
|
166
|
-
suspendResult = this.
|
|
166
|
+
suspendResult = this.z4p_1.j4q_1.z3a(this);
|
|
167
167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
168
168
|
return suspendResult;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
continue $sm;
|
|
172
172
|
case 5:
|
|
173
|
-
var tmp_4 = this.
|
|
173
|
+
var tmp_4 = this.c4q_1;
|
|
174
174
|
if (tmp_4 instanceof Close()) {
|
|
175
175
|
this.ac_1 = 8;
|
|
176
176
|
continue $sm;
|
|
@@ -180,14 +180,14 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
case 6:
|
|
183
|
-
this.
|
|
183
|
+
this.d4q_1 = Unit_instance;
|
|
184
184
|
this.ac_1 = 7;
|
|
185
185
|
continue $sm;
|
|
186
186
|
case 7:
|
|
187
187
|
this.ac_1 = 2;
|
|
188
188
|
continue $sm;
|
|
189
189
|
case 8:
|
|
190
|
-
this.
|
|
190
|
+
this.b4q_1 = this.z4p_1.o4q_1.s2i();
|
|
191
191
|
this.bc_1 = 14;
|
|
192
192
|
this.ac_1 = 12;
|
|
193
193
|
continue $sm;
|
|
@@ -195,18 +195,18 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
195
195
|
this.bc_1 = 10;
|
|
196
196
|
var tmp_5 = this.dc_1;
|
|
197
197
|
if (tmp_5 instanceof ChannelWriteException()) {
|
|
198
|
-
this.
|
|
198
|
+
this.e4q_1 = this.dc_1;
|
|
199
199
|
var tmp_6 = this;
|
|
200
|
-
tmp_6.
|
|
200
|
+
tmp_6.b4q_1 = this.z4p_1.o4q_1.q2i(CancellationException().dd('Failed to write to WebSocket.', this.e4q_1));
|
|
201
201
|
this.bc_1 = 14;
|
|
202
202
|
this.ac_1 = 12;
|
|
203
203
|
continue $sm;
|
|
204
204
|
} else {
|
|
205
205
|
var tmp_7 = this.dc_1;
|
|
206
206
|
if (tmp_7 instanceof Error) {
|
|
207
|
-
this.
|
|
207
|
+
this.f4q_1 = this.dc_1;
|
|
208
208
|
var tmp_8 = this;
|
|
209
|
-
tmp_8.
|
|
209
|
+
tmp_8.b4q_1 = this.z4p_1.o4q_1.q2i(this.f4q_1);
|
|
210
210
|
this.bc_1 = 14;
|
|
211
211
|
this.ac_1 = 12;
|
|
212
212
|
continue $sm;
|
|
@@ -217,23 +217,23 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
217
217
|
|
|
218
218
|
case 10:
|
|
219
219
|
this.bc_1 = 14;
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
220
|
+
this.g4q_1 = this.dc_1;
|
|
221
|
+
this.z4p_1.o4q_1.q2i(CancellationException().dd('WebSocket closed.', null));
|
|
222
222
|
this.ac_1 = 11;
|
|
223
|
-
suspendResult = this.
|
|
223
|
+
suspendResult = this.z4p_1.j4q_1.k3b(this);
|
|
224
224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
225
225
|
return suspendResult;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
continue $sm;
|
|
229
229
|
case 11:
|
|
230
|
-
throw this.
|
|
230
|
+
throw this.g4q_1;
|
|
231
231
|
case 12:
|
|
232
|
-
this.
|
|
232
|
+
this.h4q_1 = this.b4q_1;
|
|
233
233
|
this.bc_1 = 14;
|
|
234
|
-
this.
|
|
234
|
+
this.z4p_1.o4q_1.q2i(CancellationException().dd('WebSocket closed.', null));
|
|
235
235
|
this.ac_1 = 13;
|
|
236
|
-
suspendResult = this.
|
|
236
|
+
suspendResult = this.z4p_1.j4q_1.k3b(this);
|
|
237
237
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
238
238
|
return suspendResult;
|
|
239
239
|
}
|
|
@@ -241,7 +241,7 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
241
241
|
continue $sm;
|
|
242
242
|
case 13:
|
|
243
243
|
$l$loop: while (true) {
|
|
244
|
-
var tmp0_elvis_lhs = ChannelResult__getOrNull_impl_f5e07h(this.
|
|
244
|
+
var tmp0_elvis_lhs = ChannelResult__getOrNull_impl_f5e07h(this.z4p_1.o4q_1.j2i());
|
|
245
245
|
var tmp_9;
|
|
246
246
|
if (tmp0_elvis_lhs == null) {
|
|
247
247
|
break $l$loop;
|
|
@@ -268,9 +268,9 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
268
268
|
}
|
|
269
269
|
while (true);
|
|
270
270
|
}
|
|
271
|
-
|
|
272
|
-
var i = new (RawWebSocketCommon$writerJob$slambda())(this.
|
|
273
|
-
i.
|
|
271
|
+
d36($this$launch, completion) {
|
|
272
|
+
var i = new (RawWebSocketCommon$writerJob$slambda())(this.z4p_1, completion);
|
|
273
|
+
i.a4q_1 = $this$launch;
|
|
274
274
|
return i;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
@@ -282,7 +282,7 @@ function RawWebSocketCommon$writerJob$slambda() {
|
|
|
282
282
|
function RawWebSocketCommon$writerJob$slambda_0(this$0, resultContinuation) {
|
|
283
283
|
var i = new (RawWebSocketCommon$writerJob$slambda())(this$0, resultContinuation);
|
|
284
284
|
var l = function ($this$launch, $completion) {
|
|
285
|
-
return i.
|
|
285
|
+
return i.z37($this$launch, $completion);
|
|
286
286
|
};
|
|
287
287
|
l.$arity = 1;
|
|
288
288
|
return l;
|
|
@@ -294,17 +294,17 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
294
294
|
constructor(this$0, resultContinuation, $box) {
|
|
295
295
|
if ($box === VOID)
|
|
296
296
|
$box = {};
|
|
297
|
-
$box.
|
|
297
|
+
$box.b4r_1 = this$0;
|
|
298
298
|
super(resultContinuation, $box);
|
|
299
299
|
}
|
|
300
|
-
|
|
301
|
-
var tmp = this.
|
|
300
|
+
z37($this$launch, $completion) {
|
|
301
|
+
var tmp = this.d36($this$launch, $completion);
|
|
302
302
|
tmp.cc_1 = Unit_instance;
|
|
303
303
|
tmp.dc_1 = null;
|
|
304
304
|
return tmp.ic();
|
|
305
305
|
}
|
|
306
306
|
kd(p1, $completion) {
|
|
307
|
-
return this.
|
|
307
|
+
return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
308
308
|
}
|
|
309
309
|
ic() {
|
|
310
310
|
var suspendResult = this.cc_1;
|
|
@@ -314,7 +314,7 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
314
314
|
switch (tmp) {
|
|
315
315
|
case 0:
|
|
316
316
|
this.bc_1 = 10;
|
|
317
|
-
this.
|
|
317
|
+
this.d4r_1 = Unit_instance;
|
|
318
318
|
this.ac_1 = 1;
|
|
319
319
|
continue $sm;
|
|
320
320
|
case 1:
|
|
@@ -329,20 +329,20 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
this.ac_1 = 3;
|
|
332
|
-
suspendResult = readFrame(this.
|
|
332
|
+
suspendResult = readFrame(this.b4r_1.i4q_1, this.b4r_1.k4q_1, this.b4r_1.p4q_1, this);
|
|
333
333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
334
334
|
return suspendResult;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
continue $sm;
|
|
338
338
|
case 3:
|
|
339
|
-
this.
|
|
340
|
-
if (!this.
|
|
341
|
-
this.
|
|
339
|
+
this.e4r_1 = suspendResult;
|
|
340
|
+
if (!this.e4r_1.i4r_1.i4p_1) {
|
|
341
|
+
this.b4r_1.p4q_1 = this.e4r_1.h4r_1 ? 0 : this.e4r_1.i4r_1.j4p_1;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
this.ac_1 = 4;
|
|
345
|
-
suspendResult = this.n4q_1.
|
|
345
|
+
suspendResult = this.b4r_1.n4q_1.e2i(this.e4r_1, this);
|
|
346
346
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
347
347
|
return suspendResult;
|
|
348
348
|
}
|
|
@@ -352,7 +352,7 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
352
352
|
this.ac_1 = 2;
|
|
353
353
|
continue $sm;
|
|
354
354
|
case 5:
|
|
355
|
-
this.
|
|
355
|
+
this.d4r_1 = Unit_instance;
|
|
356
356
|
this.bc_1 = 10;
|
|
357
357
|
this.ac_1 = 11;
|
|
358
358
|
continue $sm;
|
|
@@ -360,9 +360,9 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
360
360
|
this.bc_1 = 9;
|
|
361
361
|
var tmp_0 = this.dc_1;
|
|
362
362
|
if (tmp_0 instanceof FrameTooBigException()) {
|
|
363
|
-
this.
|
|
363
|
+
this.f4r_1 = this.dc_1;
|
|
364
364
|
this.ac_1 = 7;
|
|
365
|
-
suspendResult = this.
|
|
365
|
+
suspendResult = this.b4r_1.o4r().e2i(Close().w4r(CloseReason().a4p(Codes_TOO_BIG_getInstance(), this.f4r_1.fd())), this);
|
|
366
366
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
367
367
|
return suspendResult;
|
|
368
368
|
}
|
|
@@ -370,9 +370,9 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
370
370
|
} else {
|
|
371
371
|
var tmp_1 = this.dc_1;
|
|
372
372
|
if (tmp_1 instanceof ProtocolViolationException()) {
|
|
373
|
-
this.
|
|
373
|
+
this.g4r_1 = this.dc_1;
|
|
374
374
|
this.ac_1 = 8;
|
|
375
|
-
suspendResult = this.
|
|
375
|
+
suspendResult = this.b4r_1.o4r().e2i(Close().w4r(CloseReason().a4p(Codes_PROTOCOL_ERROR_getInstance(), this.g4r_1.fd())), this);
|
|
376
376
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
377
377
|
return suspendResult;
|
|
378
378
|
}
|
|
@@ -382,8 +382,8 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
382
382
|
if (tmp_2 instanceof CancellationException()) {
|
|
383
383
|
var cause = this.dc_1;
|
|
384
384
|
var tmp_3 = this;
|
|
385
|
-
this.n4q_1.
|
|
386
|
-
tmp_3.
|
|
385
|
+
this.b4r_1.n4q_1.c1z(cause);
|
|
386
|
+
tmp_3.d4r_1 = Unit_instance;
|
|
387
387
|
this.bc_1 = 10;
|
|
388
388
|
this.ac_1 = 11;
|
|
389
389
|
continue $sm;
|
|
@@ -392,7 +392,7 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
392
392
|
if (tmp_4 instanceof EOFException()) {
|
|
393
393
|
var eof = this.dc_1;
|
|
394
394
|
var tmp_5 = this;
|
|
395
|
-
tmp_5.
|
|
395
|
+
tmp_5.d4r_1 = Unit_instance;
|
|
396
396
|
this.bc_1 = 10;
|
|
397
397
|
this.ac_1 = 11;
|
|
398
398
|
continue $sm;
|
|
@@ -401,7 +401,7 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
401
401
|
if (tmp_6 instanceof ClosedReceiveChannelException()) {
|
|
402
402
|
var eof_0 = this.dc_1;
|
|
403
403
|
var tmp_7 = this;
|
|
404
|
-
tmp_7.
|
|
404
|
+
tmp_7.d4r_1 = Unit_instance;
|
|
405
405
|
this.bc_1 = 10;
|
|
406
406
|
this.ac_1 = 11;
|
|
407
407
|
continue $sm;
|
|
@@ -410,7 +410,7 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
410
410
|
if (tmp_8 instanceof Error) {
|
|
411
411
|
var cause_0 = this.dc_1;
|
|
412
412
|
var tmp_9 = this;
|
|
413
|
-
this.n4q_1.
|
|
413
|
+
this.b4r_1.n4q_1.q2i(cause_0);
|
|
414
414
|
throw cause_0;
|
|
415
415
|
} else {
|
|
416
416
|
throw this.dc_1;
|
|
@@ -422,26 +422,26 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
case 7:
|
|
425
|
-
this.
|
|
425
|
+
this.d4r_1 = this.b4r_1.n4q_1.q2i(this.f4r_1);
|
|
426
426
|
this.bc_1 = 10;
|
|
427
427
|
this.ac_1 = 11;
|
|
428
428
|
continue $sm;
|
|
429
429
|
case 8:
|
|
430
|
-
this.
|
|
430
|
+
this.d4r_1 = this.b4r_1.n4q_1.q2i(this.g4r_1);
|
|
431
431
|
this.bc_1 = 10;
|
|
432
432
|
this.ac_1 = 11;
|
|
433
433
|
continue $sm;
|
|
434
434
|
case 9:
|
|
435
435
|
this.bc_1 = 10;
|
|
436
436
|
var t = this.dc_1;
|
|
437
|
-
this.n4q_1.
|
|
437
|
+
this.b4r_1.n4q_1.s2i();
|
|
438
438
|
throw t;
|
|
439
439
|
case 10:
|
|
440
440
|
throw this.dc_1;
|
|
441
441
|
case 11:
|
|
442
|
-
this.
|
|
442
|
+
this.d4r_1;
|
|
443
443
|
this.bc_1 = 10;
|
|
444
|
-
this.n4q_1.
|
|
444
|
+
this.b4r_1.n4q_1.s2i();
|
|
445
445
|
return Unit_instance;
|
|
446
446
|
}
|
|
447
447
|
} catch ($p) {
|
|
@@ -455,9 +455,9 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
455
455
|
}
|
|
456
456
|
while (true);
|
|
457
457
|
}
|
|
458
|
-
|
|
459
|
-
var i = new (RawWebSocketCommon$readerJob$slambda())(this.
|
|
460
|
-
i.
|
|
458
|
+
d36($this$launch, completion) {
|
|
459
|
+
var i = new (RawWebSocketCommon$readerJob$slambda())(this.b4r_1, completion);
|
|
460
|
+
i.c4r_1 = $this$launch;
|
|
461
461
|
return i;
|
|
462
462
|
}
|
|
463
463
|
}
|
|
@@ -469,7 +469,7 @@ function RawWebSocketCommon$readerJob$slambda() {
|
|
|
469
469
|
function RawWebSocketCommon$readerJob$slambda_0(this$0, resultContinuation) {
|
|
470
470
|
var i = new (RawWebSocketCommon$readerJob$slambda())(this$0, resultContinuation);
|
|
471
471
|
var l = function ($this$launch, $completion) {
|
|
472
|
-
return i.
|
|
472
|
+
return i.z37($this$launch, $completion);
|
|
473
473
|
};
|
|
474
474
|
l.$arity = 1;
|
|
475
475
|
return l;
|
|
@@ -481,30 +481,30 @@ function RawWebSocketCommon() {
|
|
|
481
481
|
constructor(input, output, maxFrameSize, masking, coroutineContext) {
|
|
482
482
|
maxFrameSize = maxFrameSize === VOID ? new (Long())(2147483647, 0) : maxFrameSize;
|
|
483
483
|
masking = masking === VOID ? false : masking;
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
-
this.
|
|
489
|
-
this.
|
|
490
|
-
this.
|
|
491
|
-
this.
|
|
492
|
-
this.
|
|
484
|
+
this.i4q_1 = input;
|
|
485
|
+
this.j4q_1 = output;
|
|
486
|
+
this.k4q_1 = maxFrameSize;
|
|
487
|
+
this.l4q_1 = masking;
|
|
488
|
+
this.m4q_1 = Job(coroutineContext.nc(Key_instance));
|
|
489
|
+
this.n4q_1 = Channel(8);
|
|
490
|
+
this.o4q_1 = Channel(8);
|
|
491
|
+
this.p4q_1 = 0;
|
|
492
|
+
this.q4q_1 = coroutineContext.lm(this.m4q_1).lm(new (CoroutineName())('raw-ws'));
|
|
493
493
|
var tmp = this;
|
|
494
494
|
var tmp_0 = new (CoroutineName())('ws-writer');
|
|
495
495
|
var tmp_1 = CoroutineStart_ATOMIC_getInstance();
|
|
496
|
-
tmp.
|
|
496
|
+
tmp.r4q_1 = launch(this, tmp_0, tmp_1, RawWebSocketCommon$writerJob$slambda_0(this, null));
|
|
497
497
|
var tmp_2 = this;
|
|
498
498
|
var tmp_3 = new (CoroutineName())('ws-reader');
|
|
499
499
|
var tmp_4 = CoroutineStart_ATOMIC_getInstance();
|
|
500
|
-
tmp_2.
|
|
501
|
-
this.
|
|
500
|
+
tmp_2.s4q_1 = launch(this, tmp_3, tmp_4, RawWebSocketCommon$readerJob$slambda_0(this, null));
|
|
501
|
+
this.m4q_1.d25();
|
|
502
502
|
}
|
|
503
503
|
s1x() {
|
|
504
|
-
return this.
|
|
504
|
+
return this.q4q_1;
|
|
505
505
|
}
|
|
506
|
-
|
|
507
|
-
return this.
|
|
506
|
+
o4r() {
|
|
507
|
+
return this.o4q_1;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
initMetadataForClass($, 'RawWebSocketCommon', VOID, VOID, [CoroutineScope()], [0, 1]);
|
|
@@ -539,7 +539,7 @@ function mask$lambda($maskKey, $this_mask) {
|
|
|
539
539
|
do {
|
|
540
540
|
var index = inductionVariable;
|
|
541
541
|
inductionVariable = inductionVariable + 1 | 0;
|
|
542
|
-
builder.
|
|
542
|
+
builder.l2t(toByte($this_mask.r2r() ^ maskMemory[index % 4 | 0]));
|
|
543
543
|
}
|
|
544
544
|
while (inductionVariable < times);
|
|
545
545
|
return builder;
|
|
@@ -551,9 +551,9 @@ function $writeFrameCOROUTINE$() {
|
|
|
551
551
|
class $ extends CoroutineImpl() {
|
|
552
552
|
constructor(_this__u8e3s4, frame, masking, resultContinuation) {
|
|
553
553
|
super(resultContinuation);
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
556
|
-
this.
|
|
554
|
+
this.f4s_1 = _this__u8e3s4;
|
|
555
|
+
this.g4s_1 = frame;
|
|
556
|
+
this.h4s_1 = masking;
|
|
557
557
|
}
|
|
558
558
|
ic() {
|
|
559
559
|
var suspendResult = this.cc_1;
|
|
@@ -563,43 +563,43 @@ function $writeFrameCOROUTINE$() {
|
|
|
563
563
|
switch (tmp) {
|
|
564
564
|
case 0:
|
|
565
565
|
this.bc_1 = 9;
|
|
566
|
-
this.
|
|
566
|
+
this.i4s_1 = this.g4s_1.j4r_1.length;
|
|
567
567
|
var tmp_0 = this;
|
|
568
|
-
var tmp_1 = this.
|
|
569
|
-
var tmp_2 = tmp_1 | (this.
|
|
570
|
-
var tmp_3 = tmp_2 | (this.
|
|
571
|
-
tmp_0.
|
|
568
|
+
var tmp_1 = this.g4s_1.h4r_1 ? 1 << 7 : 0;
|
|
569
|
+
var tmp_2 = tmp_1 | (this.g4s_1.l4r_1 ? 1 << 6 : 0);
|
|
570
|
+
var tmp_3 = tmp_2 | (this.g4s_1.m4r_1 ? 1 << 5 : 0);
|
|
571
|
+
tmp_0.j4s_1 = tmp_3 | (this.g4s_1.n4r_1 ? 1 << 4 : 0) | this.g4s_1.i4r_1.j4p_1;
|
|
572
572
|
this.ac_1 = 1;
|
|
573
|
-
suspendResult = writeByte(this.
|
|
573
|
+
suspendResult = writeByte(this.f4s_1, toByte(this.j4s_1), this);
|
|
574
574
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
575
575
|
return suspendResult;
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
continue $sm;
|
|
579
579
|
case 1:
|
|
580
|
-
this.
|
|
580
|
+
this.k4s_1 = this.i4s_1 < 126 ? this.i4s_1 : this.i4s_1 <= 65535 ? 126 : 127;
|
|
581
581
|
var tmp_4 = this;
|
|
582
|
-
tmp_4.
|
|
582
|
+
tmp_4.l4s_1 = (this.h4s_1 ? 1 << 7 : 0) | this.k4s_1;
|
|
583
583
|
this.ac_1 = 2;
|
|
584
|
-
suspendResult = writeByte(this.
|
|
584
|
+
suspendResult = writeByte(this.f4s_1, toByte(this.l4s_1), this);
|
|
585
585
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
586
586
|
return suspendResult;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
continue $sm;
|
|
590
590
|
case 2:
|
|
591
|
-
this.
|
|
592
|
-
if (this.
|
|
591
|
+
this.m4s_1 = this.k4s_1;
|
|
592
|
+
if (this.m4s_1 === 126) {
|
|
593
593
|
this.ac_1 = 4;
|
|
594
|
-
suspendResult = writeShort(this.
|
|
594
|
+
suspendResult = writeShort(this.f4s_1, toShort(this.i4s_1), this);
|
|
595
595
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
596
596
|
return suspendResult;
|
|
597
597
|
}
|
|
598
598
|
continue $sm;
|
|
599
599
|
} else {
|
|
600
|
-
if (this.
|
|
600
|
+
if (this.m4s_1 === 127) {
|
|
601
601
|
this.ac_1 = 3;
|
|
602
|
-
suspendResult = writeLong(this.
|
|
602
|
+
suspendResult = writeLong(this.f4s_1, toLong(this.i4s_1), this);
|
|
603
603
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
604
604
|
return suspendResult;
|
|
605
605
|
}
|
|
@@ -617,19 +617,19 @@ function $writeFrameCOROUTINE$() {
|
|
|
617
617
|
this.ac_1 = 5;
|
|
618
618
|
continue $sm;
|
|
619
619
|
case 5:
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
622
|
-
if (this.
|
|
623
|
-
this.
|
|
620
|
+
this.n4s_1 = ByteReadPacket(this.g4s_1.j4r_1);
|
|
621
|
+
this.o4s_1 = this.h4s_1;
|
|
622
|
+
if (this.o4s_1 === true) {
|
|
623
|
+
this.q4s_1 = Default_getInstance().il();
|
|
624
624
|
this.ac_1 = 6;
|
|
625
|
-
suspendResult = writeInt(this.
|
|
625
|
+
suspendResult = writeInt(this.f4s_1, this.q4s_1, this);
|
|
626
626
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
627
627
|
return suspendResult;
|
|
628
628
|
}
|
|
629
629
|
continue $sm;
|
|
630
630
|
} else {
|
|
631
|
-
if (this.
|
|
632
|
-
this.
|
|
631
|
+
if (this.o4s_1 === false) {
|
|
632
|
+
this.p4s_1 = this.n4s_1;
|
|
633
633
|
this.ac_1 = 7;
|
|
634
634
|
continue $sm;
|
|
635
635
|
} else {
|
|
@@ -640,13 +640,13 @@ function $writeFrameCOROUTINE$() {
|
|
|
640
640
|
|
|
641
641
|
break;
|
|
642
642
|
case 6:
|
|
643
|
-
this.
|
|
643
|
+
this.p4s_1 = mask(this.n4s_1, this.q4s_1);
|
|
644
644
|
this.ac_1 = 7;
|
|
645
645
|
continue $sm;
|
|
646
646
|
case 7:
|
|
647
|
-
this.
|
|
647
|
+
this.r4s_1 = this.p4s_1;
|
|
648
648
|
this.ac_1 = 8;
|
|
649
|
-
suspendResult = writePacket(this.
|
|
649
|
+
suspendResult = writePacket(this.f4s_1, this.r4s_1, this);
|
|
650
650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
651
651
|
return suspendResult;
|
|
652
652
|
}
|
|
@@ -680,9 +680,9 @@ function $readFrameCOROUTINE$() {
|
|
|
680
680
|
class $ extends CoroutineImpl() {
|
|
681
681
|
constructor(_this__u8e3s4, maxFrameSize, lastOpcode, resultContinuation) {
|
|
682
682
|
super(resultContinuation);
|
|
683
|
-
this.
|
|
684
|
-
this.
|
|
685
|
-
this.
|
|
683
|
+
this.a4t_1 = _this__u8e3s4;
|
|
684
|
+
this.b4t_1 = maxFrameSize;
|
|
685
|
+
this.c4t_1 = lastOpcode;
|
|
686
686
|
}
|
|
687
687
|
ic() {
|
|
688
688
|
var suspendResult = this.cc_1;
|
|
@@ -693,100 +693,100 @@ function $readFrameCOROUTINE$() {
|
|
|
693
693
|
case 0:
|
|
694
694
|
this.bc_1 = 9;
|
|
695
695
|
this.ac_1 = 1;
|
|
696
|
-
suspendResult = readByte(this.
|
|
696
|
+
suspendResult = readByte(this.a4t_1, this);
|
|
697
697
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
698
698
|
return suspendResult;
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
continue $sm;
|
|
702
702
|
case 1:
|
|
703
|
-
this.
|
|
704
|
-
this.
|
|
703
|
+
this.d4t_1 = suspendResult;
|
|
704
|
+
this.e4t_1 = this.d4t_1;
|
|
705
705
|
this.ac_1 = 2;
|
|
706
|
-
suspendResult = readByte(this.
|
|
706
|
+
suspendResult = readByte(this.a4t_1, this);
|
|
707
707
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
708
708
|
return suspendResult;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
continue $sm;
|
|
712
712
|
case 2:
|
|
713
|
-
this.
|
|
714
|
-
this.
|
|
715
|
-
this.
|
|
716
|
-
if (this.
|
|
717
|
-
throw ProtocolViolationException().
|
|
713
|
+
this.f4t_1 = suspendResult;
|
|
714
|
+
this.g4t_1 = this.f4t_1;
|
|
715
|
+
this.h4t_1 = this.e4t_1 & 15;
|
|
716
|
+
if (this.h4t_1 === 0 && this.c4t_1 === 0) {
|
|
717
|
+
throw ProtocolViolationException().p4p("Can't continue finished frames");
|
|
718
718
|
}
|
|
719
719
|
|
|
720
|
-
this.
|
|
720
|
+
this.i4t_1 = this.h4t_1 === 0 ? this.c4t_1 : this.h4t_1;
|
|
721
721
|
var tmp_0 = this;
|
|
722
|
-
var tmp0_elvis_lhs = Companion_getInstance_0().j1(this.
|
|
722
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().j1(this.i4t_1);
|
|
723
723
|
var tmp_1;
|
|
724
724
|
if (tmp0_elvis_lhs == null) {
|
|
725
|
-
throw ProtocolViolationException().
|
|
725
|
+
throw ProtocolViolationException().p4p('Unsupported opcode: ' + this.i4t_1);
|
|
726
726
|
} else {
|
|
727
727
|
tmp_1 = tmp0_elvis_lhs;
|
|
728
728
|
}
|
|
729
729
|
|
|
730
|
-
tmp_0.
|
|
731
|
-
if (!(this.
|
|
732
|
-
throw ProtocolViolationException().
|
|
730
|
+
tmp_0.j4t_1 = tmp_1;
|
|
731
|
+
if (!(this.h4t_1 === 0) && !(this.c4t_1 === 0) && !this.j4t_1.i4p_1) {
|
|
732
|
+
throw ProtocolViolationException().p4p("Can't start new data frame before finishing previous one");
|
|
733
733
|
}
|
|
734
734
|
|
|
735
|
-
this.
|
|
736
|
-
if (this.
|
|
737
|
-
throw ProtocolViolationException().
|
|
735
|
+
this.k4t_1 = !((this.e4t_1 & 128) === 0);
|
|
736
|
+
if (this.j4t_1.i4p_1 && !this.k4t_1) {
|
|
737
|
+
throw ProtocolViolationException().p4p("control frames can't be fragmented");
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
this.
|
|
741
|
-
if (this.
|
|
740
|
+
this.l4t_1 = this.g4t_1 & 127;
|
|
741
|
+
if (this.l4t_1 === 126) {
|
|
742
742
|
this.ac_1 = 4;
|
|
743
|
-
suspendResult = readShort(this.
|
|
743
|
+
suspendResult = readShort(this.a4t_1, this);
|
|
744
744
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
745
745
|
return suspendResult;
|
|
746
746
|
}
|
|
747
747
|
continue $sm;
|
|
748
748
|
} else {
|
|
749
|
-
if (this.
|
|
749
|
+
if (this.l4t_1 === 127) {
|
|
750
750
|
this.ac_1 = 3;
|
|
751
|
-
suspendResult = readLong(this.
|
|
751
|
+
suspendResult = readLong(this.a4t_1, this);
|
|
752
752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
753
753
|
return suspendResult;
|
|
754
754
|
}
|
|
755
755
|
continue $sm;
|
|
756
756
|
} else {
|
|
757
|
-
this.
|
|
757
|
+
this.m4t_1 = toLong(this.l4t_1);
|
|
758
758
|
this.ac_1 = 5;
|
|
759
759
|
continue $sm;
|
|
760
760
|
}
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
case 3:
|
|
764
|
-
this.
|
|
764
|
+
this.m4t_1 = suspendResult;
|
|
765
765
|
this.ac_1 = 5;
|
|
766
766
|
continue $sm;
|
|
767
767
|
case 4:
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
770
|
-
this.
|
|
768
|
+
this.n4t_1 = suspendResult;
|
|
769
|
+
this.o4t_1 = toLong(this.n4t_1);
|
|
770
|
+
this.m4t_1 = this.o4t_1.c4(new (Long())(65535, 0));
|
|
771
771
|
this.ac_1 = 5;
|
|
772
772
|
continue $sm;
|
|
773
773
|
case 5:
|
|
774
|
-
this.
|
|
775
|
-
if (this.
|
|
776
|
-
throw ProtocolViolationException().
|
|
774
|
+
this.p4t_1 = this.m4t_1;
|
|
775
|
+
if (this.j4t_1.i4p_1 && this.p4t_1.a2(new (Long())(125, 0)) > 0) {
|
|
776
|
+
throw ProtocolViolationException().p4p("control frames can't be larger than 125 bytes");
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
this.
|
|
780
|
-
if (this.
|
|
779
|
+
this.q4t_1 = !((this.g4t_1 & 128) === 0);
|
|
780
|
+
if (this.q4t_1 === true) {
|
|
781
781
|
this.ac_1 = 6;
|
|
782
|
-
suspendResult = readInt(this.
|
|
782
|
+
suspendResult = readInt(this.a4t_1, this);
|
|
783
783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
784
784
|
return suspendResult;
|
|
785
785
|
}
|
|
786
786
|
continue $sm;
|
|
787
787
|
} else {
|
|
788
|
-
if (this.
|
|
789
|
-
this.
|
|
788
|
+
if (this.q4t_1 === false) {
|
|
789
|
+
this.r4t_1 = -1;
|
|
790
790
|
this.ac_1 = 7;
|
|
791
791
|
continue $sm;
|
|
792
792
|
} else {
|
|
@@ -797,17 +797,17 @@ function $readFrameCOROUTINE$() {
|
|
|
797
797
|
|
|
798
798
|
break;
|
|
799
799
|
case 6:
|
|
800
|
-
this.
|
|
800
|
+
this.r4t_1 = suspendResult;
|
|
801
801
|
this.ac_1 = 7;
|
|
802
802
|
continue $sm;
|
|
803
803
|
case 7:
|
|
804
|
-
this.
|
|
805
|
-
if (this.
|
|
806
|
-
throw FrameTooBigException().
|
|
804
|
+
this.s4t_1 = this.r4t_1;
|
|
805
|
+
if (this.p4t_1.a2(new (Long())(2147483647, 0)) > 0 || this.p4t_1.a2(this.b4t_1) > 0) {
|
|
806
|
+
throw FrameTooBigException().f4p(this.p4t_1);
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
this.ac_1 = 8;
|
|
810
|
-
suspendResult = readPacket(this.
|
|
810
|
+
suspendResult = readPacket(this.a4t_1, this.p4t_1.c2(), this);
|
|
811
811
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
812
812
|
return suspendResult;
|
|
813
813
|
}
|
|
@@ -815,8 +815,8 @@ function $readFrameCOROUTINE$() {
|
|
|
815
815
|
continue $sm;
|
|
816
816
|
case 8:
|
|
817
817
|
var data = suspendResult;
|
|
818
|
-
var maskedData = this.
|
|
819
|
-
return Companion_getInstance().
|
|
818
|
+
var maskedData = this.s4t_1 === -1 ? data : mask(data, this.s4t_1);
|
|
819
|
+
return Companion_getInstance().u4t(this.k4t_1, this.j4t_1, readByteArray(maskedData), !((this.e4t_1 & 64) === 0), !((this.e4t_1 & 32) === 0), !((this.e4t_1 & 16) === 0));
|
|
820
820
|
case 9:
|
|
821
821
|
throw this.dc_1;
|
|
822
822
|
}
|