@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
|
@@ -29,26 +29,26 @@ function JsonConfiguration() {
|
|
|
29
29
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
30
30
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
31
31
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
32
|
+
this.x6h_1 = encodeDefaults;
|
|
33
|
+
this.y6h_1 = ignoreUnknownKeys;
|
|
34
|
+
this.z6h_1 = isLenient;
|
|
35
|
+
this.a6i_1 = allowStructuredMapKeys;
|
|
36
|
+
this.b6i_1 = prettyPrint;
|
|
37
|
+
this.c6i_1 = explicitNulls;
|
|
38
|
+
this.d6i_1 = prettyPrintIndent;
|
|
39
|
+
this.e6i_1 = coerceInputValues;
|
|
40
|
+
this.f6i_1 = useArrayPolymorphism;
|
|
41
|
+
this.g6i_1 = classDiscriminator;
|
|
42
|
+
this.h6i_1 = allowSpecialFloatingPointValues;
|
|
43
|
+
this.i6i_1 = useAlternativeNames;
|
|
44
|
+
this.j6i_1 = namingStrategy;
|
|
45
|
+
this.k6i_1 = decodeEnumsCaseInsensitive;
|
|
46
|
+
this.l6i_1 = allowTrailingComma;
|
|
47
|
+
this.m6i_1 = allowComments;
|
|
48
|
+
this.n6i_1 = classDiscriminatorMode;
|
|
49
49
|
}
|
|
50
50
|
toString() {
|
|
51
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
51
|
+
return 'JsonConfiguration(encodeDefaults=' + this.x6h_1 + ', ignoreUnknownKeys=' + this.y6h_1 + ', isLenient=' + this.z6h_1 + ', ' + ('allowStructuredMapKeys=' + this.a6i_1 + ', prettyPrint=' + this.b6i_1 + ', explicitNulls=' + this.c6i_1 + ', ') + ("prettyPrintIndent='" + this.d6i_1 + "', coerceInputValues=" + this.e6i_1 + ', useArrayPolymorphism=' + this.f6i_1 + ', ') + ("classDiscriminator='" + this.g6i_1 + "', allowSpecialFloatingPointValues=" + this.h6i_1 + ', ') + ('useAlternativeNames=' + this.i6i_1 + ', namingStrategy=' + toString(this.j6i_1) + ', decodeEnumsCaseInsensitive=' + this.k6i_1 + ', ') + ('allowTrailingComma=' + this.l6i_1 + ', allowComments=' + this.m6i_1 + ', classDiscriminatorMode=' + this.n6i_1.toString() + ')');
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
initMetadataForClass($, 'JsonConfiguration');
|
package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs
CHANGED
|
@@ -103,48 +103,48 @@ function JsonObject() {
|
|
|
103
103
|
class $ extends JsonElement() {
|
|
104
104
|
constructor(content) {
|
|
105
105
|
super();
|
|
106
|
-
this.
|
|
106
|
+
this.q6i_1 = content;
|
|
107
107
|
}
|
|
108
108
|
equals(other) {
|
|
109
|
-
return equals(this.
|
|
109
|
+
return equals(this.q6i_1, other);
|
|
110
110
|
}
|
|
111
111
|
hashCode() {
|
|
112
|
-
return hashCode(this.
|
|
112
|
+
return hashCode(this.q6i_1);
|
|
113
113
|
}
|
|
114
114
|
toString() {
|
|
115
|
-
var tmp = this.
|
|
115
|
+
var tmp = this.q6i_1.q1();
|
|
116
116
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
117
117
|
}
|
|
118
118
|
j() {
|
|
119
|
-
return this.
|
|
119
|
+
return this.q6i_1.j();
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
return this.
|
|
121
|
+
b3s(key) {
|
|
122
|
+
return this.q6i_1.u2(key);
|
|
123
123
|
}
|
|
124
124
|
u2(key) {
|
|
125
125
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
126
126
|
return false;
|
|
127
|
-
return this.
|
|
127
|
+
return this.b3s((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
return this.
|
|
129
|
+
c3s(key) {
|
|
130
|
+
return this.q6i_1.w2(key);
|
|
131
131
|
}
|
|
132
132
|
w2(key) {
|
|
133
133
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
134
134
|
return null;
|
|
135
|
-
return this.
|
|
135
|
+
return this.c3s((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
136
136
|
}
|
|
137
137
|
i1() {
|
|
138
|
-
return this.
|
|
138
|
+
return this.q6i_1.i1();
|
|
139
139
|
}
|
|
140
140
|
x2() {
|
|
141
|
-
return this.
|
|
141
|
+
return this.q6i_1.x2();
|
|
142
142
|
}
|
|
143
143
|
y2() {
|
|
144
|
-
return this.
|
|
144
|
+
return this.q6i_1.y2();
|
|
145
145
|
}
|
|
146
146
|
q1() {
|
|
147
|
-
return this.
|
|
147
|
+
return this.q6i_1.q1();
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
initMetadataForClass($, 'JsonObject', VOID, VOID, [JsonElement(), KtMap()], VOID, VOID, {0: JsonObjectSerializer_getInstance});
|
|
@@ -160,16 +160,16 @@ function JsonNull() {
|
|
|
160
160
|
JsonNull_instance = null;
|
|
161
161
|
super();
|
|
162
162
|
JsonNull_instance = this;
|
|
163
|
-
this.
|
|
163
|
+
this.r6i_1 = 'null';
|
|
164
164
|
}
|
|
165
|
-
|
|
166
|
-
return this.
|
|
165
|
+
s6i() {
|
|
166
|
+
return this.r6i_1;
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
e2v() {
|
|
169
169
|
return JsonNullSerializer_getInstance();
|
|
170
170
|
}
|
|
171
171
|
x15(typeParamsSerializers) {
|
|
172
|
-
return this.
|
|
172
|
+
return this.e2v();
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
initMetadataForObject($, 'JsonNull', VOID, VOID, [JsonPrimitive(), SerializerFactory()], VOID, VOID, {0: JsonNullSerializer_getInstance});
|
|
@@ -201,7 +201,7 @@ function JsonPrimitive() {
|
|
|
201
201
|
if (JsonPrimitiveClass === VOID) {
|
|
202
202
|
class $ extends JsonElement() {
|
|
203
203
|
toString() {
|
|
204
|
-
return this.
|
|
204
|
+
return this.s6i();
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
initMetadataForClass($, 'JsonPrimitive', VOID, VOID, VOID, VOID, VOID, {0: JsonPrimitiveSerializer_getInstance});
|
|
@@ -222,31 +222,31 @@ function JsonLiteral() {
|
|
|
222
222
|
constructor(body, isString, coerceToInlineType) {
|
|
223
223
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
224
224
|
super();
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
if (!(this.
|
|
225
|
+
this.t6i_1 = isString;
|
|
226
|
+
this.u6i_1 = coerceToInlineType;
|
|
227
|
+
this.v6i_1 = toString(body);
|
|
228
|
+
if (!(this.u6i_1 == null)) {
|
|
229
229
|
// Inline function 'kotlin.require' call
|
|
230
230
|
// Inline function 'kotlin.require' call
|
|
231
|
-
if (!this.
|
|
231
|
+
if (!this.u6i_1.pv()) {
|
|
232
232
|
var message = 'Failed requirement.';
|
|
233
233
|
throw IllegalArgumentException().u(toString(message));
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
|
|
238
|
-
return this.
|
|
237
|
+
s6i() {
|
|
238
|
+
return this.v6i_1;
|
|
239
239
|
}
|
|
240
240
|
toString() {
|
|
241
241
|
var tmp;
|
|
242
|
-
if (this.
|
|
242
|
+
if (this.t6i_1) {
|
|
243
243
|
// Inline function 'kotlin.text.buildString' call
|
|
244
244
|
// Inline function 'kotlin.apply' call
|
|
245
245
|
var this_0 = StringBuilder().a1();
|
|
246
|
-
printQuoted(this_0, this.
|
|
246
|
+
printQuoted(this_0, this.v6i_1);
|
|
247
247
|
tmp = this_0.toString();
|
|
248
248
|
} else {
|
|
249
|
-
tmp = this.
|
|
249
|
+
tmp = this.v6i_1;
|
|
250
250
|
}
|
|
251
251
|
return tmp;
|
|
252
252
|
}
|
|
@@ -257,15 +257,15 @@ function JsonLiteral() {
|
|
|
257
257
|
return false;
|
|
258
258
|
if (!(other instanceof JsonLiteral()))
|
|
259
259
|
THROW_CCE();
|
|
260
|
-
if (!(this.
|
|
260
|
+
if (!(this.t6i_1 === other.t6i_1))
|
|
261
261
|
return false;
|
|
262
|
-
if (!(this.
|
|
262
|
+
if (!(this.v6i_1 === other.v6i_1))
|
|
263
263
|
return false;
|
|
264
264
|
return true;
|
|
265
265
|
}
|
|
266
266
|
hashCode() {
|
|
267
|
-
var result = getBooleanHashCode(this.
|
|
268
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
267
|
+
var result = getBooleanHashCode(this.t6i_1);
|
|
268
|
+
result = imul(31, result) + getStringHashCode(this.v6i_1) | 0;
|
|
269
269
|
return result;
|
|
270
270
|
}
|
|
271
271
|
}
|
|
@@ -293,56 +293,56 @@ function JsonArray() {
|
|
|
293
293
|
class $ extends JsonElement() {
|
|
294
294
|
constructor(content) {
|
|
295
295
|
super();
|
|
296
|
-
this.
|
|
296
|
+
this.w6i_1 = content;
|
|
297
297
|
}
|
|
298
298
|
equals(other) {
|
|
299
|
-
return equals(this.
|
|
299
|
+
return equals(this.w6i_1, other);
|
|
300
300
|
}
|
|
301
301
|
hashCode() {
|
|
302
|
-
return hashCode(this.
|
|
302
|
+
return hashCode(this.w6i_1);
|
|
303
303
|
}
|
|
304
304
|
toString() {
|
|
305
|
-
return joinToString(this.
|
|
305
|
+
return joinToString(this.w6i_1, ',', '[', ']');
|
|
306
306
|
}
|
|
307
307
|
j() {
|
|
308
|
-
return this.
|
|
308
|
+
return this.w6i_1.j();
|
|
309
309
|
}
|
|
310
|
-
|
|
311
|
-
return this.
|
|
310
|
+
x6i(element) {
|
|
311
|
+
return this.w6i_1.q2(element);
|
|
312
312
|
}
|
|
313
313
|
q2(element) {
|
|
314
314
|
if (!(element instanceof JsonElement()))
|
|
315
315
|
return false;
|
|
316
|
-
return this.
|
|
316
|
+
return this.x6i(element instanceof JsonElement() ? element : THROW_CCE());
|
|
317
317
|
}
|
|
318
318
|
d1() {
|
|
319
|
-
return this.
|
|
319
|
+
return this.w6i_1.d1();
|
|
320
320
|
}
|
|
321
|
-
|
|
322
|
-
return this.
|
|
321
|
+
y6i(elements) {
|
|
322
|
+
return this.w6i_1.r2(elements);
|
|
323
323
|
}
|
|
324
324
|
r2(elements) {
|
|
325
|
-
return this.
|
|
325
|
+
return this.y6i(elements);
|
|
326
326
|
}
|
|
327
327
|
j1(index) {
|
|
328
|
-
return this.
|
|
328
|
+
return this.w6i_1.j1(index);
|
|
329
329
|
}
|
|
330
|
-
|
|
331
|
-
return this.
|
|
330
|
+
z6i(element) {
|
|
331
|
+
return this.w6i_1.s2(element);
|
|
332
332
|
}
|
|
333
333
|
s2(element) {
|
|
334
334
|
if (!(element instanceof JsonElement()))
|
|
335
335
|
return -1;
|
|
336
|
-
return this.
|
|
336
|
+
return this.z6i(element instanceof JsonElement() ? element : THROW_CCE());
|
|
337
337
|
}
|
|
338
338
|
n1(index) {
|
|
339
|
-
return this.
|
|
339
|
+
return this.w6i_1.n1(index);
|
|
340
340
|
}
|
|
341
341
|
t2(fromIndex, toIndex) {
|
|
342
|
-
return this.
|
|
342
|
+
return this.w6i_1.t2(fromIndex, toIndex);
|
|
343
343
|
}
|
|
344
344
|
i1() {
|
|
345
|
-
return this.
|
|
345
|
+
return this.w6i_1.i1();
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
initMetadataForClass($, 'JsonArray', VOID, VOID, [JsonElement(), KtList()], VOID, VOID, {0: JsonArraySerializer_getInstance});
|
|
@@ -352,23 +352,23 @@ function JsonArray() {
|
|
|
352
352
|
}
|
|
353
353
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
354
354
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
355
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
355
|
+
return toBooleanStrictOrNull(_this__u8e3s4.s6i());
|
|
356
356
|
}
|
|
357
357
|
function parseLongImpl(_this__u8e3s4) {
|
|
358
358
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
359
|
-
return (new (StringJsonLexer())(_this__u8e3s4.
|
|
359
|
+
return (new (StringJsonLexer())(_this__u8e3s4.s6i())).a6j();
|
|
360
360
|
}
|
|
361
361
|
function get_float(_this__u8e3s4) {
|
|
362
362
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
363
363
|
// Inline function 'kotlin.text.toFloat' call
|
|
364
|
-
var this_0 = _this__u8e3s4.
|
|
364
|
+
var this_0 = _this__u8e3s4.s6i();
|
|
365
365
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
366
366
|
// Inline function 'kotlin.js.asDynamic' call
|
|
367
367
|
return toDouble(this_0);
|
|
368
368
|
}
|
|
369
369
|
function get_double(_this__u8e3s4) {
|
|
370
370
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
371
|
-
return toDouble(_this__u8e3s4.
|
|
371
|
+
return toDouble(_this__u8e3s4.s6i());
|
|
372
372
|
}
|
|
373
373
|
function get_contentOrNull(_this__u8e3s4) {
|
|
374
374
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -376,7 +376,7 @@ function get_contentOrNull(_this__u8e3s4) {
|
|
|
376
376
|
if (_this__u8e3s4 instanceof JsonNull()) {
|
|
377
377
|
tmp = null;
|
|
378
378
|
} else {
|
|
379
|
-
tmp = _this__u8e3s4.
|
|
379
|
+
tmp = _this__u8e3s4.s6i();
|
|
380
380
|
}
|
|
381
381
|
return tmp;
|
|
382
382
|
}
|
|
@@ -78,19 +78,19 @@ function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
|
78
78
|
return Unit_instance;
|
|
79
79
|
}
|
|
80
80
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
81
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
81
|
+
return JsonPrimitiveSerializer_getInstance().b6j_1;
|
|
82
82
|
}
|
|
83
83
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
84
|
-
return JsonNullSerializer_getInstance().
|
|
84
|
+
return JsonNullSerializer_getInstance().c6j_1;
|
|
85
85
|
}
|
|
86
86
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
87
|
-
return JsonLiteralSerializer_getInstance().
|
|
87
|
+
return JsonLiteralSerializer_getInstance().d6j_1;
|
|
88
88
|
}
|
|
89
89
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
90
|
-
return JsonObjectSerializer_getInstance().
|
|
90
|
+
return JsonObjectSerializer_getInstance().e6j_1;
|
|
91
91
|
}
|
|
92
92
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
93
|
-
return JsonArraySerializer_getInstance().
|
|
93
|
+
return JsonArraySerializer_getInstance().f6j_1;
|
|
94
94
|
}
|
|
95
95
|
var JsonElementSerializerClass;
|
|
96
96
|
function JsonElementSerializer() {
|
|
@@ -100,12 +100,12 @@ function JsonElementSerializer() {
|
|
|
100
100
|
JsonElementSerializer_instance = this;
|
|
101
101
|
var tmp = this;
|
|
102
102
|
var tmp_0 = SEALED_getInstance();
|
|
103
|
-
tmp.
|
|
103
|
+
tmp.g6j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
104
104
|
}
|
|
105
105
|
xs() {
|
|
106
|
-
return this.
|
|
106
|
+
return this.g6j_1;
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
h6j(encoder, value) {
|
|
109
109
|
verify(encoder);
|
|
110
110
|
if (value instanceof JsonPrimitive()) {
|
|
111
111
|
encoder.cz(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -122,11 +122,11 @@ function JsonElementSerializer() {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
ys(encoder, value) {
|
|
125
|
-
return this.
|
|
125
|
+
return this.h6j(encoder, value instanceof JsonElement() ? value : THROW_CCE());
|
|
126
126
|
}
|
|
127
127
|
zs(decoder) {
|
|
128
128
|
var input = asJsonDecoder(decoder);
|
|
129
|
-
return input.
|
|
129
|
+
return input.p6i();
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
initMetadataForObject($, 'JsonElementSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -146,41 +146,41 @@ function JsonObjectDescriptor() {
|
|
|
146
146
|
class $ {
|
|
147
147
|
constructor() {
|
|
148
148
|
JsonObjectDescriptor_instance = this;
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
149
|
+
this.i6j_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).xs();
|
|
150
|
+
this.j6j_1 = 'kotlinx.serialization.json.JsonObject';
|
|
151
151
|
}
|
|
152
152
|
au() {
|
|
153
|
-
return this.
|
|
153
|
+
return this.j6j_1;
|
|
154
154
|
}
|
|
155
155
|
sv(index) {
|
|
156
|
-
return this.
|
|
156
|
+
return this.i6j_1.sv(index);
|
|
157
157
|
}
|
|
158
158
|
tv(name) {
|
|
159
|
-
return this.
|
|
159
|
+
return this.i6j_1.tv(name);
|
|
160
160
|
}
|
|
161
161
|
uv(index) {
|
|
162
|
-
return this.
|
|
162
|
+
return this.i6j_1.uv(index);
|
|
163
163
|
}
|
|
164
164
|
vv(index) {
|
|
165
|
-
return this.
|
|
165
|
+
return this.i6j_1.vv(index);
|
|
166
166
|
}
|
|
167
167
|
wv(index) {
|
|
168
|
-
return this.
|
|
168
|
+
return this.i6j_1.wv(index);
|
|
169
169
|
}
|
|
170
170
|
ov() {
|
|
171
|
-
return this.
|
|
171
|
+
return this.i6j_1.ov();
|
|
172
172
|
}
|
|
173
173
|
kv() {
|
|
174
|
-
return this.
|
|
174
|
+
return this.i6j_1.kv();
|
|
175
175
|
}
|
|
176
176
|
pv() {
|
|
177
|
-
return this.
|
|
177
|
+
return this.i6j_1.pv();
|
|
178
178
|
}
|
|
179
179
|
qv() {
|
|
180
|
-
return this.
|
|
180
|
+
return this.i6j_1.qv();
|
|
181
181
|
}
|
|
182
182
|
rv() {
|
|
183
|
-
return this.
|
|
183
|
+
return this.i6j_1.rv();
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
initMetadataForObject($, 'JsonObjectDescriptor', VOID, VOID, [SerialDescriptor()]);
|
|
@@ -200,17 +200,17 @@ function JsonObjectSerializer() {
|
|
|
200
200
|
class $ {
|
|
201
201
|
constructor() {
|
|
202
202
|
JsonObjectSerializer_instance = this;
|
|
203
|
-
this.
|
|
203
|
+
this.e6j_1 = JsonObjectDescriptor_getInstance();
|
|
204
204
|
}
|
|
205
205
|
xs() {
|
|
206
|
-
return this.
|
|
206
|
+
return this.e6j_1;
|
|
207
207
|
}
|
|
208
|
-
|
|
208
|
+
k6j(encoder, value) {
|
|
209
209
|
verify(encoder);
|
|
210
210
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ys(encoder, value);
|
|
211
211
|
}
|
|
212
212
|
ys(encoder, value) {
|
|
213
|
-
return this.
|
|
213
|
+
return this.k6j(encoder, value instanceof JsonObject() ? value : THROW_CCE());
|
|
214
214
|
}
|
|
215
215
|
zs(decoder) {
|
|
216
216
|
verify_0(decoder);
|
|
@@ -234,41 +234,41 @@ function JsonArrayDescriptor() {
|
|
|
234
234
|
class $ {
|
|
235
235
|
constructor() {
|
|
236
236
|
JsonArrayDescriptor_instance = this;
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
237
|
+
this.l6j_1 = ListSerializer(JsonElementSerializer_getInstance()).xs();
|
|
238
|
+
this.m6j_1 = 'kotlinx.serialization.json.JsonArray';
|
|
239
239
|
}
|
|
240
240
|
au() {
|
|
241
|
-
return this.
|
|
241
|
+
return this.m6j_1;
|
|
242
242
|
}
|
|
243
243
|
sv(index) {
|
|
244
|
-
return this.
|
|
244
|
+
return this.l6j_1.sv(index);
|
|
245
245
|
}
|
|
246
246
|
tv(name) {
|
|
247
|
-
return this.
|
|
247
|
+
return this.l6j_1.tv(name);
|
|
248
248
|
}
|
|
249
249
|
uv(index) {
|
|
250
|
-
return this.
|
|
250
|
+
return this.l6j_1.uv(index);
|
|
251
251
|
}
|
|
252
252
|
vv(index) {
|
|
253
|
-
return this.
|
|
253
|
+
return this.l6j_1.vv(index);
|
|
254
254
|
}
|
|
255
255
|
wv(index) {
|
|
256
|
-
return this.
|
|
256
|
+
return this.l6j_1.wv(index);
|
|
257
257
|
}
|
|
258
258
|
ov() {
|
|
259
|
-
return this.
|
|
259
|
+
return this.l6j_1.ov();
|
|
260
260
|
}
|
|
261
261
|
kv() {
|
|
262
|
-
return this.
|
|
262
|
+
return this.l6j_1.kv();
|
|
263
263
|
}
|
|
264
264
|
pv() {
|
|
265
|
-
return this.
|
|
265
|
+
return this.l6j_1.pv();
|
|
266
266
|
}
|
|
267
267
|
qv() {
|
|
268
|
-
return this.
|
|
268
|
+
return this.l6j_1.qv();
|
|
269
269
|
}
|
|
270
270
|
rv() {
|
|
271
|
-
return this.
|
|
271
|
+
return this.l6j_1.rv();
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
initMetadataForObject($, 'JsonArrayDescriptor', VOID, VOID, [SerialDescriptor()]);
|
|
@@ -288,17 +288,17 @@ function JsonArraySerializer() {
|
|
|
288
288
|
class $ {
|
|
289
289
|
constructor() {
|
|
290
290
|
JsonArraySerializer_instance = this;
|
|
291
|
-
this.
|
|
291
|
+
this.f6j_1 = JsonArrayDescriptor_getInstance();
|
|
292
292
|
}
|
|
293
293
|
xs() {
|
|
294
|
-
return this.
|
|
294
|
+
return this.f6j_1;
|
|
295
295
|
}
|
|
296
|
-
|
|
296
|
+
n6j(encoder, value) {
|
|
297
297
|
verify(encoder);
|
|
298
298
|
ListSerializer(JsonElementSerializer_getInstance()).ys(encoder, value);
|
|
299
299
|
}
|
|
300
300
|
ys(encoder, value) {
|
|
301
|
-
return this.
|
|
301
|
+
return this.n6j(encoder, value instanceof JsonArray() ? value : THROW_CCE());
|
|
302
302
|
}
|
|
303
303
|
zs(decoder) {
|
|
304
304
|
verify_0(decoder);
|
|
@@ -325,12 +325,12 @@ function JsonPrimitiveSerializer() {
|
|
|
325
325
|
class $ {
|
|
326
326
|
constructor() {
|
|
327
327
|
JsonPrimitiveSerializer_instance = this;
|
|
328
|
-
this.
|
|
328
|
+
this.b6j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
329
329
|
}
|
|
330
330
|
xs() {
|
|
331
|
-
return this.
|
|
331
|
+
return this.b6j_1;
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
o6j(encoder, value) {
|
|
334
334
|
verify(encoder);
|
|
335
335
|
var tmp;
|
|
336
336
|
if (value instanceof JsonNull()) {
|
|
@@ -344,10 +344,10 @@ function JsonPrimitiveSerializer() {
|
|
|
344
344
|
return tmp;
|
|
345
345
|
}
|
|
346
346
|
ys(encoder, value) {
|
|
347
|
-
return this.
|
|
347
|
+
return this.o6j(encoder, value instanceof JsonPrimitive() ? value : THROW_CCE());
|
|
348
348
|
}
|
|
349
349
|
zs(decoder) {
|
|
350
|
-
var result = asJsonDecoder(decoder).
|
|
350
|
+
var result = asJsonDecoder(decoder).p6i();
|
|
351
351
|
if (!(result instanceof JsonPrimitive()))
|
|
352
352
|
throw JsonDecodingException(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
353
353
|
return result;
|
|
@@ -370,22 +370,22 @@ function JsonNullSerializer() {
|
|
|
370
370
|
class $ {
|
|
371
371
|
constructor() {
|
|
372
372
|
JsonNullSerializer_instance = this;
|
|
373
|
-
this.
|
|
373
|
+
this.c6j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
374
374
|
}
|
|
375
375
|
xs() {
|
|
376
|
-
return this.
|
|
376
|
+
return this.c6j_1;
|
|
377
377
|
}
|
|
378
|
-
|
|
378
|
+
p6j(encoder, value) {
|
|
379
379
|
verify(encoder);
|
|
380
380
|
encoder.fy();
|
|
381
381
|
}
|
|
382
382
|
ys(encoder, value) {
|
|
383
|
-
return this.
|
|
383
|
+
return this.p6j(encoder, value instanceof JsonNull() ? value : THROW_CCE());
|
|
384
384
|
}
|
|
385
385
|
zs(decoder) {
|
|
386
386
|
verify_0(decoder);
|
|
387
387
|
if (decoder.vw()) {
|
|
388
|
-
throw JsonDecodingException_0().
|
|
388
|
+
throw JsonDecodingException_0().w6j("Expected 'null' literal");
|
|
389
389
|
}
|
|
390
390
|
decoder.ww();
|
|
391
391
|
return JsonNull_getInstance();
|
|
@@ -408,27 +408,27 @@ function JsonLiteralSerializer() {
|
|
|
408
408
|
class $ {
|
|
409
409
|
constructor() {
|
|
410
410
|
JsonLiteralSerializer_instance = this;
|
|
411
|
-
this.
|
|
411
|
+
this.d6j_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
412
412
|
}
|
|
413
413
|
xs() {
|
|
414
|
-
return this.
|
|
414
|
+
return this.d6j_1;
|
|
415
415
|
}
|
|
416
|
-
|
|
416
|
+
x6j(encoder, value) {
|
|
417
417
|
verify(encoder);
|
|
418
|
-
if (value.
|
|
419
|
-
return encoder.oy(value.
|
|
418
|
+
if (value.t6i_1) {
|
|
419
|
+
return encoder.oy(value.v6i_1);
|
|
420
420
|
}
|
|
421
|
-
if (!(value.
|
|
422
|
-
return encoder.qy(value.
|
|
421
|
+
if (!(value.u6i_1 == null)) {
|
|
422
|
+
return encoder.qy(value.u6i_1).oy(value.v6i_1);
|
|
423
423
|
}
|
|
424
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
424
|
+
var tmp0_safe_receiver = toLongOrNull(value.v6i_1);
|
|
425
425
|
if (tmp0_safe_receiver == null)
|
|
426
426
|
null;
|
|
427
427
|
else {
|
|
428
428
|
// Inline function 'kotlin.let' call
|
|
429
429
|
return encoder.ky(tmp0_safe_receiver);
|
|
430
430
|
}
|
|
431
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
431
|
+
var tmp1_safe_receiver = toULongOrNull(value.v6i_1);
|
|
432
432
|
var tmp = tmp1_safe_receiver;
|
|
433
433
|
if ((tmp == null ? null : new (ULong())(tmp)) == null)
|
|
434
434
|
null;
|
|
@@ -442,27 +442,27 @@ function JsonLiteralSerializer() {
|
|
|
442
442
|
tmp_1.ky(tmp$ret$1);
|
|
443
443
|
return Unit_instance;
|
|
444
444
|
}
|
|
445
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
445
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.v6i_1);
|
|
446
446
|
if (tmp2_safe_receiver == null)
|
|
447
447
|
null;
|
|
448
448
|
else {
|
|
449
449
|
// Inline function 'kotlin.let' call
|
|
450
450
|
return encoder.my(tmp2_safe_receiver);
|
|
451
451
|
}
|
|
452
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
452
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.v6i_1);
|
|
453
453
|
if (tmp3_safe_receiver == null)
|
|
454
454
|
null;
|
|
455
455
|
else {
|
|
456
456
|
// Inline function 'kotlin.let' call
|
|
457
457
|
return encoder.gy(tmp3_safe_receiver);
|
|
458
458
|
}
|
|
459
|
-
encoder.oy(value.
|
|
459
|
+
encoder.oy(value.v6i_1);
|
|
460
460
|
}
|
|
461
461
|
ys(encoder, value) {
|
|
462
|
-
return this.
|
|
462
|
+
return this.x6j(encoder, value instanceof JsonLiteral() ? value : THROW_CCE());
|
|
463
463
|
}
|
|
464
464
|
zs(decoder) {
|
|
465
|
-
var result = asJsonDecoder(decoder).
|
|
465
|
+
var result = asJsonDecoder(decoder).p6i();
|
|
466
466
|
if (!(result instanceof JsonLiteral()))
|
|
467
467
|
throw JsonDecodingException(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
468
468
|
return result;
|
|
@@ -506,7 +506,7 @@ function asJsonEncoder(_this__u8e3s4) {
|
|
|
506
506
|
return tmp;
|
|
507
507
|
}
|
|
508
508
|
function _get_original__l7ku1m($this) {
|
|
509
|
-
var tmp0 = $this.
|
|
509
|
+
var tmp0 = $this.y6j_1;
|
|
510
510
|
var tmp = KProperty1();
|
|
511
511
|
// Inline function 'kotlin.getValue' call
|
|
512
512
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -522,7 +522,7 @@ function defer$1() {
|
|
|
522
522
|
if (defer$1Class === VOID) {
|
|
523
523
|
class $ {
|
|
524
524
|
constructor($deferred) {
|
|
525
|
-
this.
|
|
525
|
+
this.y6j_1 = lazy($deferred);
|
|
526
526
|
}
|
|
527
527
|
au() {
|
|
528
528
|
return _get_original__l7ku1m(this).au();
|