@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
|
@@ -64,61 +64,61 @@ function get_unsignedNumberDescriptors() {
|
|
|
64
64
|
}
|
|
65
65
|
var unsignedNumberDescriptors;
|
|
66
66
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
67
|
-
$this.
|
|
67
|
+
$this.m6m_1.d6k();
|
|
68
68
|
$this.oy(discriminator);
|
|
69
|
-
$this.
|
|
70
|
-
$this.
|
|
69
|
+
$this.m6m_1.g6k(_Char___init__impl__6a9atx(58));
|
|
70
|
+
$this.m6m_1.f6k();
|
|
71
71
|
$this.oy(serialName);
|
|
72
72
|
}
|
|
73
73
|
var StreamingJsonEncoderClass;
|
|
74
74
|
function StreamingJsonEncoder() {
|
|
75
75
|
if (StreamingJsonEncoderClass === VOID) {
|
|
76
76
|
class $ extends AbstractEncoder() {
|
|
77
|
-
static
|
|
77
|
+
static h6p(composer, json, mode, modeReuseCache) {
|
|
78
78
|
var $this = this.cy();
|
|
79
|
-
$this.
|
|
80
|
-
$this.
|
|
81
|
-
$this.
|
|
82
|
-
$this.
|
|
83
|
-
$this.
|
|
84
|
-
$this.
|
|
85
|
-
$this.
|
|
86
|
-
$this.
|
|
87
|
-
$this.
|
|
88
|
-
var i = $this.
|
|
89
|
-
if (!($this.
|
|
90
|
-
if (!($this.
|
|
91
|
-
$this.
|
|
79
|
+
$this.m6m_1 = composer;
|
|
80
|
+
$this.n6m_1 = json;
|
|
81
|
+
$this.o6m_1 = mode;
|
|
82
|
+
$this.p6m_1 = modeReuseCache;
|
|
83
|
+
$this.q6m_1 = $this.n6m_1.yx();
|
|
84
|
+
$this.r6m_1 = $this.n6m_1.n6g_1;
|
|
85
|
+
$this.s6m_1 = false;
|
|
86
|
+
$this.t6m_1 = null;
|
|
87
|
+
$this.u6m_1 = null;
|
|
88
|
+
var i = $this.o6m_1.h3_1;
|
|
89
|
+
if (!($this.p6m_1 == null)) {
|
|
90
|
+
if (!($this.p6m_1[i] === null) || !($this.p6m_1[i] === $this)) {
|
|
91
|
+
$this.p6m_1[i] = $this;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
return $this;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
return this.
|
|
96
|
+
o6i() {
|
|
97
|
+
return this.n6m_1;
|
|
98
98
|
}
|
|
99
|
-
static
|
|
100
|
-
return this.
|
|
99
|
+
static v6m(output, json, mode, modeReuseCache) {
|
|
100
|
+
return this.h6p(Composer(output, json), json, mode, modeReuseCache);
|
|
101
101
|
}
|
|
102
102
|
yx() {
|
|
103
|
-
return this.
|
|
103
|
+
return this.q6m_1;
|
|
104
104
|
}
|
|
105
105
|
fz(descriptor, index) {
|
|
106
|
-
return this.
|
|
106
|
+
return this.r6m_1.x6h_1;
|
|
107
107
|
}
|
|
108
108
|
cz(serializer, value) {
|
|
109
109
|
$l$block: {
|
|
110
110
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
111
|
-
if (this.
|
|
111
|
+
if (this.o6i().n6g_1.f6i_1) {
|
|
112
112
|
serializer.ys(this, value);
|
|
113
113
|
break $l$block;
|
|
114
114
|
}
|
|
115
115
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer();
|
|
116
116
|
var tmp;
|
|
117
117
|
if (isPolymorphicSerializer) {
|
|
118
|
-
tmp = !this.
|
|
118
|
+
tmp = !this.o6i().n6g_1.n6i_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
119
119
|
} else {
|
|
120
120
|
var tmp_0;
|
|
121
|
-
switch (this.
|
|
121
|
+
switch (this.o6i().n6g_1.n6i_1.h3_1) {
|
|
122
122
|
case 0:
|
|
123
123
|
case 2:
|
|
124
124
|
tmp_0 = false;
|
|
@@ -136,7 +136,7 @@ function StreamingJsonEncoder() {
|
|
|
136
136
|
tmp = tmp_0;
|
|
137
137
|
}
|
|
138
138
|
var needDiscriminator = tmp;
|
|
139
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.xs(), this.
|
|
139
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.xs(), this.o6i()) : null;
|
|
140
140
|
var tmp_1;
|
|
141
141
|
if (isPolymorphicSerializer) {
|
|
142
142
|
var casted = serializer instanceof AbstractPolymorphicSerializer() ? serializer : THROW_CCE();
|
|
@@ -161,87 +161,87 @@ function StreamingJsonEncoder() {
|
|
|
161
161
|
var actualSerializer = tmp_1;
|
|
162
162
|
if (!(baseClassDiscriminator == null)) {
|
|
163
163
|
var serialName = actualSerializer.xs().au();
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
164
|
+
this.t6m_1 = baseClassDiscriminator;
|
|
165
|
+
this.u6m_1 = serialName;
|
|
166
166
|
}
|
|
167
167
|
actualSerializer.ys(this, value);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
kx(descriptor) {
|
|
171
|
-
var newMode = switchMode(this.
|
|
172
|
-
if (!(newMode.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
171
|
+
var newMode = switchMode(this.n6m_1, descriptor);
|
|
172
|
+
if (!(newMode.a6p_1 === _Char___init__impl__6a9atx(0))) {
|
|
173
|
+
this.m6m_1.g6k(newMode.a6p_1);
|
|
174
|
+
this.m6m_1.b6k();
|
|
175
175
|
}
|
|
176
|
-
var discriminator = this.
|
|
176
|
+
var discriminator = this.t6m_1;
|
|
177
177
|
if (!(discriminator == null)) {
|
|
178
|
-
var tmp0_elvis_lhs = this.
|
|
178
|
+
var tmp0_elvis_lhs = this.u6m_1;
|
|
179
179
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.au() : tmp0_elvis_lhs);
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
180
|
+
this.t6m_1 = null;
|
|
181
|
+
this.u6m_1 = null;
|
|
182
182
|
}
|
|
183
|
-
if (this.
|
|
183
|
+
if (this.o6m_1.equals(newMode)) {
|
|
184
184
|
return this;
|
|
185
185
|
}
|
|
186
|
-
var tmp1_safe_receiver = this.
|
|
186
|
+
var tmp1_safe_receiver = this.p6m_1;
|
|
187
187
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.h3_1];
|
|
188
|
-
return tmp2_elvis_lhs == null ? StreamingJsonEncoder().
|
|
188
|
+
return tmp2_elvis_lhs == null ? StreamingJsonEncoder().h6p(this.m6m_1, this.n6m_1, newMode, this.p6m_1) : tmp2_elvis_lhs;
|
|
189
189
|
}
|
|
190
190
|
lx(descriptor) {
|
|
191
|
-
if (!(this.
|
|
192
|
-
this.
|
|
193
|
-
this.
|
|
194
|
-
this.
|
|
191
|
+
if (!(this.o6m_1.b6p_1 === _Char___init__impl__6a9atx(0))) {
|
|
192
|
+
this.m6m_1.c6k();
|
|
193
|
+
this.m6m_1.e6k();
|
|
194
|
+
this.m6m_1.g6k(this.o6m_1.b6p_1);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
dy(descriptor, index) {
|
|
198
|
-
switch (this.
|
|
198
|
+
switch (this.o6m_1.h3_1) {
|
|
199
199
|
case 1:
|
|
200
|
-
if (!this.
|
|
201
|
-
this.
|
|
200
|
+
if (!this.m6m_1.a6k_1) {
|
|
201
|
+
this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
this.
|
|
204
|
+
this.m6m_1.d6k();
|
|
205
205
|
break;
|
|
206
206
|
case 2:
|
|
207
|
-
if (!this.
|
|
207
|
+
if (!this.m6m_1.a6k_1) {
|
|
208
208
|
var tmp = this;
|
|
209
209
|
var tmp_0;
|
|
210
210
|
if ((index % 2 | 0) === 0) {
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
211
|
+
this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
|
|
212
|
+
this.m6m_1.d6k();
|
|
213
213
|
tmp_0 = true;
|
|
214
214
|
} else {
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
215
|
+
this.m6m_1.g6k(_Char___init__impl__6a9atx(58));
|
|
216
|
+
this.m6m_1.f6k();
|
|
217
217
|
tmp_0 = false;
|
|
218
218
|
}
|
|
219
|
-
tmp.
|
|
219
|
+
tmp.s6m_1 = tmp_0;
|
|
220
220
|
} else {
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
221
|
+
this.s6m_1 = true;
|
|
222
|
+
this.m6m_1.d6k();
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
break;
|
|
226
226
|
case 3:
|
|
227
227
|
if (index === 0)
|
|
228
|
-
this.
|
|
228
|
+
this.s6m_1 = true;
|
|
229
229
|
if (index === 1) {
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
230
|
+
this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
|
|
231
|
+
this.m6m_1.f6k();
|
|
232
|
+
this.s6m_1 = false;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
break;
|
|
236
236
|
default:
|
|
237
|
-
if (!this.
|
|
238
|
-
this.
|
|
237
|
+
if (!this.m6m_1.a6k_1) {
|
|
238
|
+
this.m6m_1.g6k(_Char___init__impl__6a9atx(44));
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
this.
|
|
242
|
-
this.oy(getJsonElementName(descriptor, this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
241
|
+
this.m6m_1.d6k();
|
|
242
|
+
this.oy(getJsonElementName(descriptor, this.n6m_1, index));
|
|
243
|
+
this.m6m_1.g6k(_Char___init__impl__6a9atx(58));
|
|
244
|
+
this.m6m_1.f6k();
|
|
245
245
|
break;
|
|
246
246
|
}
|
|
247
247
|
return true;
|
|
@@ -251,32 +251,32 @@ function StreamingJsonEncoder() {
|
|
|
251
251
|
if (get_isUnsignedNumber(descriptor)) {
|
|
252
252
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
253
253
|
var tmp_0;
|
|
254
|
-
var tmp_1 = this.
|
|
254
|
+
var tmp_1 = this.m6m_1;
|
|
255
255
|
if (tmp_1 instanceof ComposerForUnsignedNumbers()) {
|
|
256
|
-
tmp_0 = this.
|
|
256
|
+
tmp_0 = this.m6m_1;
|
|
257
257
|
} else {
|
|
258
|
-
var tmp0 = this.
|
|
259
|
-
var p1 = this.
|
|
258
|
+
var tmp0 = this.m6m_1.z6j_1;
|
|
259
|
+
var p1 = this.s6m_1;
|
|
260
260
|
tmp_0 = new (ComposerForUnsignedNumbers())(tmp0, p1);
|
|
261
261
|
}
|
|
262
262
|
var tmp$ret$1 = tmp_0;
|
|
263
|
-
tmp = StreamingJsonEncoder().
|
|
263
|
+
tmp = StreamingJsonEncoder().h6p(tmp$ret$1, this.n6m_1, this.o6m_1, null);
|
|
264
264
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
265
265
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
266
266
|
var tmp_2;
|
|
267
|
-
var tmp_3 = this.
|
|
267
|
+
var tmp_3 = this.m6m_1;
|
|
268
268
|
if (tmp_3 instanceof ComposerForUnquotedLiterals()) {
|
|
269
|
-
tmp_2 = this.
|
|
269
|
+
tmp_2 = this.m6m_1;
|
|
270
270
|
} else {
|
|
271
|
-
var tmp0_0 = this.
|
|
272
|
-
var p1_0 = this.
|
|
271
|
+
var tmp0_0 = this.m6m_1.z6j_1;
|
|
272
|
+
var p1_0 = this.s6m_1;
|
|
273
273
|
tmp_2 = new (ComposerForUnquotedLiterals())(tmp0_0, p1_0);
|
|
274
274
|
}
|
|
275
275
|
var tmp$ret$3 = tmp_2;
|
|
276
|
-
tmp = StreamingJsonEncoder().
|
|
277
|
-
} else if (!(this.
|
|
276
|
+
tmp = StreamingJsonEncoder().h6p(tmp$ret$3, this.n6m_1, this.o6m_1, null);
|
|
277
|
+
} else if (!(this.t6m_1 == null)) {
|
|
278
278
|
// Inline function 'kotlin.apply' call
|
|
279
|
-
this.
|
|
279
|
+
this.u6m_1 = descriptor.au();
|
|
280
280
|
tmp = this;
|
|
281
281
|
} else {
|
|
282
282
|
tmp = super.qy(descriptor);
|
|
@@ -284,68 +284,68 @@ function StreamingJsonEncoder() {
|
|
|
284
284
|
return tmp;
|
|
285
285
|
}
|
|
286
286
|
fy() {
|
|
287
|
-
this.
|
|
287
|
+
this.m6m_1.i6k('null');
|
|
288
288
|
}
|
|
289
289
|
gy(value) {
|
|
290
|
-
if (this.
|
|
290
|
+
if (this.s6m_1) {
|
|
291
291
|
this.oy(value.toString());
|
|
292
292
|
} else {
|
|
293
|
-
this.
|
|
293
|
+
this.m6m_1.q6k(value);
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
hy(value) {
|
|
297
|
-
if (this.
|
|
297
|
+
if (this.s6m_1) {
|
|
298
298
|
this.oy(value.toString());
|
|
299
299
|
} else {
|
|
300
|
-
this.
|
|
300
|
+
this.m6m_1.m6k(value);
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
iy(value) {
|
|
304
|
-
if (this.
|
|
304
|
+
if (this.s6m_1) {
|
|
305
305
|
this.oy(value.toString());
|
|
306
306
|
} else {
|
|
307
|
-
this.
|
|
307
|
+
this.m6m_1.n6k(value);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
jy(value) {
|
|
311
|
-
if (this.
|
|
311
|
+
if (this.s6m_1) {
|
|
312
312
|
this.oy(value.toString());
|
|
313
313
|
} else {
|
|
314
|
-
this.
|
|
314
|
+
this.m6m_1.o6k(value);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
ky(value) {
|
|
318
|
-
if (this.
|
|
318
|
+
if (this.s6m_1) {
|
|
319
319
|
this.oy(value.toString());
|
|
320
320
|
} else {
|
|
321
|
-
this.
|
|
321
|
+
this.m6m_1.p6k(value);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
ly(value) {
|
|
325
|
-
if (this.
|
|
325
|
+
if (this.s6m_1) {
|
|
326
326
|
this.oy(value.toString());
|
|
327
327
|
} else {
|
|
328
|
-
this.
|
|
328
|
+
this.m6m_1.k6k(value);
|
|
329
329
|
}
|
|
330
|
-
if (!this.
|
|
331
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
330
|
+
if (!this.r6m_1.h6i_1 && !isFinite(value)) {
|
|
331
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.m6m_1.z6j_1));
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
my(value) {
|
|
335
|
-
if (this.
|
|
335
|
+
if (this.s6m_1) {
|
|
336
336
|
this.oy(value.toString());
|
|
337
337
|
} else {
|
|
338
|
-
this.
|
|
338
|
+
this.m6m_1.l6k(value);
|
|
339
339
|
}
|
|
340
|
-
if (!this.
|
|
341
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
340
|
+
if (!this.r6m_1.h6i_1 && !isFinite_0(value)) {
|
|
341
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.m6m_1.z6j_1));
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
ny(value) {
|
|
345
345
|
this.oy(toString(value));
|
|
346
346
|
}
|
|
347
347
|
oy(value) {
|
|
348
|
-
return this.
|
|
348
|
+
return this.m6m_1.r6k(value);
|
|
349
349
|
}
|
|
350
350
|
py(enumDescriptor, index) {
|
|
351
351
|
this.oy(enumDescriptor.sv(index));
|
|
@@ -28,17 +28,17 @@ function StringJsonLexer() {
|
|
|
28
28
|
class $ extends AbstractJsonLexer() {
|
|
29
29
|
constructor(source) {
|
|
30
30
|
super();
|
|
31
|
-
this.
|
|
31
|
+
this.l6s_1 = source;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
return this.
|
|
33
|
+
t6r() {
|
|
34
|
+
return this.l6s_1;
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
return position < this.
|
|
36
|
+
u6r(position) {
|
|
37
|
+
return position < this.t6r().length ? position : -1;
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
var source = this.
|
|
41
|
-
var cpos = this.
|
|
39
|
+
g6n() {
|
|
40
|
+
var source = this.t6r();
|
|
41
|
+
var cpos = this.z6g_1;
|
|
42
42
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
43
43
|
var _unary__edvuaz = cpos;
|
|
44
44
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -46,17 +46,17 @@ function StringJsonLexer() {
|
|
|
46
46
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
47
47
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
48
48
|
continue $l$loop;
|
|
49
|
-
this.
|
|
49
|
+
this.z6g_1 = cpos;
|
|
50
50
|
return charToTokenClass(c);
|
|
51
51
|
}
|
|
52
|
-
this.
|
|
52
|
+
this.z6g_1 = source.length;
|
|
53
53
|
return 10;
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
var current = this.
|
|
55
|
+
c6n() {
|
|
56
|
+
var current = this.z6g_1;
|
|
57
57
|
if (current === -1)
|
|
58
58
|
return false;
|
|
59
|
-
var source = this.
|
|
59
|
+
var source = this.t6r();
|
|
60
60
|
$l$loop: while (current < source.length) {
|
|
61
61
|
var c = charCodeAt(source, current);
|
|
62
62
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -64,17 +64,17 @@ function StringJsonLexer() {
|
|
|
64
64
|
current = current + 1 | 0;
|
|
65
65
|
continue $l$loop;
|
|
66
66
|
}
|
|
67
|
-
this.
|
|
68
|
-
return this.
|
|
67
|
+
this.z6g_1 = current;
|
|
68
|
+
return this.x6r(c);
|
|
69
69
|
}
|
|
70
|
-
this.
|
|
70
|
+
this.z6g_1 = current;
|
|
71
71
|
return false;
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
var current = this.
|
|
73
|
+
w6r() {
|
|
74
|
+
var current = this.z6g_1;
|
|
75
75
|
if (current === -1)
|
|
76
76
|
return current;
|
|
77
|
-
var source = this.
|
|
77
|
+
var source = this.t6r();
|
|
78
78
|
$l$loop: while (current < source.length) {
|
|
79
79
|
var c = charCodeAt(source, current);
|
|
80
80
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -84,15 +84,15 @@ function StringJsonLexer() {
|
|
|
84
84
|
break $l$loop;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
this.
|
|
87
|
+
this.z6g_1 = current;
|
|
88
88
|
return current;
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
if (this.
|
|
92
|
-
this.
|
|
90
|
+
p6o(expected) {
|
|
91
|
+
if (this.z6g_1 === -1) {
|
|
92
|
+
this.y6r(expected);
|
|
93
93
|
}
|
|
94
|
-
var source = this.
|
|
95
|
-
var cpos = this.
|
|
94
|
+
var source = this.t6r();
|
|
95
|
+
var cpos = this.z6g_1;
|
|
96
96
|
$l$loop: while (cpos < source.length) {
|
|
97
97
|
var _unary__edvuaz = cpos;
|
|
98
98
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -100,55 +100,55 @@ function StringJsonLexer() {
|
|
|
100
100
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
101
101
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
102
102
|
continue $l$loop;
|
|
103
|
-
this.
|
|
103
|
+
this.z6g_1 = cpos;
|
|
104
104
|
if (c === expected)
|
|
105
105
|
return Unit_instance;
|
|
106
|
-
this.
|
|
106
|
+
this.y6r(expected);
|
|
107
107
|
}
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
108
|
+
this.z6g_1 = -1;
|
|
109
|
+
this.y6r(expected);
|
|
110
110
|
}
|
|
111
|
-
|
|
112
|
-
this.
|
|
113
|
-
var current = this.
|
|
114
|
-
var closingQuote = indexOf(this.
|
|
111
|
+
v6o() {
|
|
112
|
+
this.p6o(_Char___init__impl__6a9atx(34));
|
|
113
|
+
var current = this.z6g_1;
|
|
114
|
+
var closingQuote = indexOf(this.t6r(), _Char___init__impl__6a9atx(34), current);
|
|
115
115
|
if (closingQuote === -1) {
|
|
116
|
-
this.
|
|
116
|
+
this.e6n();
|
|
117
117
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
118
118
|
var expected = tokenDescription(1);
|
|
119
|
-
var position = false ? this.
|
|
120
|
-
var s = this.
|
|
119
|
+
var position = false ? this.z6g_1 - 1 | 0 : this.z6g_1;
|
|
120
|
+
var s = this.z6g_1 === charSequenceLength(this.t6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.t6r(), position));
|
|
121
121
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
122
|
-
this.
|
|
122
|
+
this.i6l(tmp$ret$0, position);
|
|
123
123
|
}
|
|
124
124
|
var inductionVariable = current;
|
|
125
125
|
if (inductionVariable < closingQuote)
|
|
126
126
|
do {
|
|
127
127
|
var i = inductionVariable;
|
|
128
128
|
inductionVariable = inductionVariable + 1 | 0;
|
|
129
|
-
if (charCodeAt(this.
|
|
130
|
-
return this.consumeString2(this.
|
|
129
|
+
if (charCodeAt(this.t6r(), i) === _Char___init__impl__6a9atx(92)) {
|
|
130
|
+
return this.consumeString2(this.t6r(), this.z6g_1, i);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
while (inductionVariable < closingQuote);
|
|
134
|
-
this.
|
|
135
|
-
return substring(this.
|
|
134
|
+
this.z6g_1 = closingQuote + 1 | 0;
|
|
135
|
+
return substring(this.t6r(), current, closingQuote);
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
var positionSnapshot = this.
|
|
137
|
+
x6o(keyToMatch, isLenient) {
|
|
138
|
+
var positionSnapshot = this.z6g_1;
|
|
139
139
|
try {
|
|
140
|
-
if (!(this.
|
|
140
|
+
if (!(this.g6n() === 6))
|
|
141
141
|
return null;
|
|
142
|
-
var firstKey = this.
|
|
142
|
+
var firstKey = this.s6o(isLenient);
|
|
143
143
|
if (!(firstKey === keyToMatch))
|
|
144
144
|
return null;
|
|
145
|
-
this.
|
|
146
|
-
if (!(this.
|
|
145
|
+
this.z6r();
|
|
146
|
+
if (!(this.g6n() === 5))
|
|
147
147
|
return null;
|
|
148
|
-
return this.
|
|
148
|
+
return this.s6o(isLenient);
|
|
149
149
|
}finally {
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
150
|
+
this.z6g_1 = positionSnapshot;
|
|
151
|
+
this.z6r();
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -158,7 +158,7 @@ function StringJsonLexer() {
|
|
|
158
158
|
return StringJsonLexerClass;
|
|
159
159
|
}
|
|
160
160
|
function StringJsonLexer_0(json, source) {
|
|
161
|
-
return !json.
|
|
161
|
+
return !json.n6g_1.m6i_1 ? new (StringJsonLexer())(source) : new (StringJsonLexerWithComments())(source);
|
|
162
162
|
}
|
|
163
163
|
//region block: exports
|
|
164
164
|
export {
|