@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
|
@@ -28,15 +28,15 @@ var imul = Math.imul;
|
|
|
28
28
|
//region block: pre-declaration
|
|
29
29
|
//endregion
|
|
30
30
|
function get(name) {
|
|
31
|
-
var tmp0_safe_receiver = this.
|
|
31
|
+
var tmp0_safe_receiver = this.g3t(name);
|
|
32
32
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
33
33
|
}
|
|
34
34
|
function contains(name) {
|
|
35
|
-
return !(this.
|
|
35
|
+
return !(this.g3t(name) == null);
|
|
36
36
|
}
|
|
37
37
|
function forEach(body) {
|
|
38
38
|
// Inline function 'kotlin.collections.forEach' call
|
|
39
|
-
var _iterator__ex2g4s = this.
|
|
39
|
+
var _iterator__ex2g4s = this.i3t().d1();
|
|
40
40
|
while (_iterator__ex2g4s.e1()) {
|
|
41
41
|
var element = _iterator__ex2g4s.f1();
|
|
42
42
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -57,15 +57,15 @@ function StringValues() {
|
|
|
57
57
|
return StringValuesClass;
|
|
58
58
|
}
|
|
59
59
|
function ensureListForKey($this, name) {
|
|
60
|
-
var tmp0_elvis_lhs = $this.
|
|
60
|
+
var tmp0_elvis_lhs = $this.m3t_1.w2(name);
|
|
61
61
|
var tmp;
|
|
62
62
|
if (tmp0_elvis_lhs == null) {
|
|
63
63
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
64
64
|
// Inline function 'kotlin.also' call
|
|
65
65
|
var this_0 = ArrayList().l1();
|
|
66
|
-
$this.
|
|
66
|
+
$this.n3t(name);
|
|
67
67
|
// Inline function 'kotlin.collections.set' call
|
|
68
|
-
$this.
|
|
68
|
+
$this.m3t_1.d3(name, this_0);
|
|
69
69
|
tmp = this_0;
|
|
70
70
|
} else {
|
|
71
71
|
tmp = tmp0_elvis_lhs;
|
|
@@ -74,7 +74,7 @@ function ensureListForKey($this, name) {
|
|
|
74
74
|
}
|
|
75
75
|
function StringValuesBuilderImpl$appendAll$lambda(this$0) {
|
|
76
76
|
return function (name, values) {
|
|
77
|
-
this$0.
|
|
77
|
+
this$0.o3t(name, values);
|
|
78
78
|
return Unit_instance;
|
|
79
79
|
};
|
|
80
80
|
}
|
|
@@ -85,61 +85,61 @@ function StringValuesBuilderImpl() {
|
|
|
85
85
|
constructor(caseInsensitiveName, size) {
|
|
86
86
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
87
87
|
size = size === VOID ? 8 : size;
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
88
|
+
this.l3t_1 = caseInsensitiveName;
|
|
89
|
+
this.m3t_1 = this.l3t_1 ? caseInsensitiveMap() : LinkedHashMap().vb(size);
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
return this.
|
|
91
|
+
f3t() {
|
|
92
|
+
return this.l3t_1;
|
|
93
93
|
}
|
|
94
|
-
|
|
95
|
-
return this.
|
|
94
|
+
g3t(name) {
|
|
95
|
+
return this.m3t_1.w2(name);
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
return this.
|
|
97
|
+
h3t() {
|
|
98
|
+
return this.m3t_1.x2();
|
|
99
99
|
}
|
|
100
100
|
j() {
|
|
101
|
-
return this.
|
|
101
|
+
return this.m3t_1.j();
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
return unmodifiable(this.
|
|
103
|
+
i3t() {
|
|
104
|
+
return unmodifiable(this.m3t_1.q1());
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
this.
|
|
106
|
+
p3t(name, value) {
|
|
107
|
+
this.q3t(value);
|
|
108
108
|
var list = ensureListForKey(this, name);
|
|
109
109
|
list.z2();
|
|
110
110
|
list.m(value);
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
var tmp0_safe_receiver = this.
|
|
112
|
+
c3s(name) {
|
|
113
|
+
var tmp0_safe_receiver = this.g3t(name);
|
|
114
114
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
115
115
|
}
|
|
116
|
-
|
|
117
|
-
this.
|
|
116
|
+
r3t(name, value) {
|
|
117
|
+
this.q3t(value);
|
|
118
118
|
ensureListForKey(this, name).m(value);
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
stringValues.
|
|
120
|
+
s3t(stringValues) {
|
|
121
|
+
stringValues.k3t(StringValuesBuilderImpl$appendAll$lambda(this));
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
o3t(name, values) {
|
|
124
124
|
// Inline function 'kotlin.let' call
|
|
125
125
|
var list = ensureListForKey(this, name);
|
|
126
126
|
// Inline function 'kotlin.collections.forEach' call
|
|
127
127
|
var _iterator__ex2g4s = values.d1();
|
|
128
128
|
while (_iterator__ex2g4s.e1()) {
|
|
129
129
|
var element = _iterator__ex2g4s.f1();
|
|
130
|
-
this.
|
|
130
|
+
this.q3t(element);
|
|
131
131
|
}
|
|
132
132
|
addAll(list, values);
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
this.
|
|
134
|
+
t3t(name) {
|
|
135
|
+
this.m3t_1.e3(name);
|
|
136
136
|
}
|
|
137
137
|
z2() {
|
|
138
|
-
this.
|
|
138
|
+
this.m3t_1.z2();
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
n3t(name) {
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
q3t(value) {
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
initMetadataForClass($, 'StringValuesBuilderImpl', StringValuesBuilderImpl);
|
|
@@ -148,7 +148,7 @@ function StringValuesBuilderImpl() {
|
|
|
148
148
|
return StringValuesBuilderImplClass;
|
|
149
149
|
}
|
|
150
150
|
function listForKey($this, name) {
|
|
151
|
-
return $this.
|
|
151
|
+
return $this.v3t_1.w2(name);
|
|
152
152
|
}
|
|
153
153
|
var StringValuesImplClass;
|
|
154
154
|
function StringValuesImpl() {
|
|
@@ -157,9 +157,9 @@ function StringValuesImpl() {
|
|
|
157
157
|
constructor(caseInsensitiveName, values) {
|
|
158
158
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
159
159
|
values = values === VOID ? emptyMap() : values;
|
|
160
|
-
this.
|
|
160
|
+
this.u3t_1 = caseInsensitiveName;
|
|
161
161
|
var tmp;
|
|
162
|
-
if (this.
|
|
162
|
+
if (this.u3t_1) {
|
|
163
163
|
tmp = caseInsensitiveMap();
|
|
164
164
|
} else {
|
|
165
165
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
@@ -192,33 +192,33 @@ function StringValuesImpl() {
|
|
|
192
192
|
// Inline function 'kotlin.collections.set' call
|
|
193
193
|
newMap.d3(key, list);
|
|
194
194
|
}
|
|
195
|
-
this.
|
|
195
|
+
this.v3t_1 = newMap;
|
|
196
196
|
}
|
|
197
|
-
|
|
198
|
-
return this.
|
|
197
|
+
f3t() {
|
|
198
|
+
return this.u3t_1;
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
c3s(name) {
|
|
201
201
|
var tmp0_safe_receiver = listForKey(this, name);
|
|
202
202
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
g3t(name) {
|
|
205
205
|
return listForKey(this, name);
|
|
206
206
|
}
|
|
207
|
-
|
|
207
|
+
j3t(name) {
|
|
208
208
|
return !(listForKey(this, name) == null);
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
return unmodifiable(this.
|
|
210
|
+
h3t() {
|
|
211
|
+
return unmodifiable(this.v3t_1.x2());
|
|
212
212
|
}
|
|
213
213
|
j() {
|
|
214
|
-
return this.
|
|
214
|
+
return this.v3t_1.j();
|
|
215
215
|
}
|
|
216
|
-
|
|
217
|
-
return unmodifiable(this.
|
|
216
|
+
i3t() {
|
|
217
|
+
return unmodifiable(this.v3t_1.q1());
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
k3t(body) {
|
|
220
220
|
// Inline function 'kotlin.collections.iterator' call
|
|
221
|
-
var _iterator__ex2g4s = this.
|
|
221
|
+
var _iterator__ex2g4s = this.v3t_1.q1().d1();
|
|
222
222
|
while (_iterator__ex2g4s.e1()) {
|
|
223
223
|
var _destruct__k2r9zo = _iterator__ex2g4s.f1();
|
|
224
224
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -229,19 +229,19 @@ function StringValuesImpl() {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
toString() {
|
|
232
|
-
return 'StringValues(case=' + !this.
|
|
232
|
+
return 'StringValues(case=' + !this.u3t_1 + ') ' + toString(this.i3t());
|
|
233
233
|
}
|
|
234
234
|
equals(other) {
|
|
235
235
|
if (this === other)
|
|
236
236
|
return true;
|
|
237
237
|
if (!(!(other == null) ? isInterface(other, StringValues()) : false))
|
|
238
238
|
return false;
|
|
239
|
-
if (!(this.
|
|
239
|
+
if (!(this.u3t_1 === other.f3t()))
|
|
240
240
|
return false;
|
|
241
|
-
return entriesEquals(this.
|
|
241
|
+
return entriesEquals(this.i3t(), other.i3t());
|
|
242
242
|
}
|
|
243
243
|
hashCode() {
|
|
244
|
-
return entriesHashCode(this.
|
|
244
|
+
return entriesHashCode(this.i3t(), imul(31, getBooleanHashCode(this.u3t_1)));
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
initMetadataForClass($, 'StringValuesImpl', StringValuesImpl, VOID, [StringValues()]);
|
|
@@ -252,14 +252,14 @@ function StringValuesImpl() {
|
|
|
252
252
|
function appendAll(_this__u8e3s4, builder) {
|
|
253
253
|
// Inline function 'kotlin.apply' call
|
|
254
254
|
// Inline function 'kotlin.collections.forEach' call
|
|
255
|
-
var _iterator__ex2g4s = builder.
|
|
255
|
+
var _iterator__ex2g4s = builder.i3t().d1();
|
|
256
256
|
while (_iterator__ex2g4s.e1()) {
|
|
257
257
|
var element = _iterator__ex2g4s.f1();
|
|
258
258
|
// Inline function 'kotlin.collections.component1' call
|
|
259
259
|
var name = element.r1();
|
|
260
260
|
// Inline function 'kotlin.collections.component2' call
|
|
261
261
|
var values = element.s1();
|
|
262
|
-
_this__u8e3s4.
|
|
262
|
+
_this__u8e3s4.o3t(name, values);
|
|
263
263
|
}
|
|
264
264
|
return _this__u8e3s4;
|
|
265
265
|
}
|
|
@@ -274,35 +274,35 @@ function StringValuesSingleImpl$entries$1() {
|
|
|
274
274
|
if (StringValuesSingleImpl$entries$1Class === VOID) {
|
|
275
275
|
class $ {
|
|
276
276
|
constructor(this$0) {
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
277
|
+
this.w3t_1 = this$0.z3t_1;
|
|
278
|
+
this.x3t_1 = this$0.a3u_1;
|
|
279
279
|
}
|
|
280
280
|
r1() {
|
|
281
|
-
return this.
|
|
281
|
+
return this.w3t_1;
|
|
282
282
|
}
|
|
283
283
|
s1() {
|
|
284
|
-
return this.
|
|
284
|
+
return this.x3t_1;
|
|
285
285
|
}
|
|
286
286
|
toString() {
|
|
287
|
-
return this.
|
|
287
|
+
return this.w3t_1 + '=' + toString(this.x3t_1);
|
|
288
288
|
}
|
|
289
289
|
equals(other) {
|
|
290
290
|
var tmp;
|
|
291
291
|
var tmp_0;
|
|
292
292
|
if (!(other == null) ? isInterface(other, Entry()) : false) {
|
|
293
|
-
tmp_0 = equals(other.r1(), this.
|
|
293
|
+
tmp_0 = equals(other.r1(), this.w3t_1);
|
|
294
294
|
} else {
|
|
295
295
|
tmp_0 = false;
|
|
296
296
|
}
|
|
297
297
|
if (tmp_0) {
|
|
298
|
-
tmp = equals(other.s1(), this.
|
|
298
|
+
tmp = equals(other.s1(), this.x3t_1);
|
|
299
299
|
} else {
|
|
300
300
|
tmp = false;
|
|
301
301
|
}
|
|
302
302
|
return tmp;
|
|
303
303
|
}
|
|
304
304
|
hashCode() {
|
|
305
|
-
return getStringHashCode(this.
|
|
305
|
+
return getStringHashCode(this.w3t_1) ^ hashCode(this.x3t_1);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
initMetadataForClass($, VOID, VOID, VOID, [Entry()]);
|
|
@@ -315,45 +315,45 @@ function StringValuesSingleImpl() {
|
|
|
315
315
|
if (StringValuesSingleImplClass === VOID) {
|
|
316
316
|
class $ {
|
|
317
317
|
constructor(caseInsensitiveName, name, values) {
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
318
|
+
this.y3t_1 = caseInsensitiveName;
|
|
319
|
+
this.z3t_1 = name;
|
|
320
|
+
this.a3u_1 = values;
|
|
321
321
|
}
|
|
322
|
-
|
|
323
|
-
return this.
|
|
322
|
+
f3t() {
|
|
323
|
+
return this.y3t_1;
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
return equals_0(this.
|
|
325
|
+
g3t(name) {
|
|
326
|
+
return equals_0(this.z3t_1, name, this.f3t()) ? this.a3u_1 : null;
|
|
327
327
|
}
|
|
328
|
-
|
|
328
|
+
i3t() {
|
|
329
329
|
return setOf(new (StringValuesSingleImpl$entries$1())(this));
|
|
330
330
|
}
|
|
331
|
-
|
|
332
|
-
return setOf(this.
|
|
331
|
+
h3t() {
|
|
332
|
+
return setOf(this.z3t_1);
|
|
333
333
|
}
|
|
334
334
|
toString() {
|
|
335
|
-
return 'StringValues(case=' + !this.
|
|
335
|
+
return 'StringValues(case=' + !this.f3t() + ') ' + toString(this.i3t());
|
|
336
336
|
}
|
|
337
337
|
hashCode() {
|
|
338
|
-
return entriesHashCode(this.
|
|
338
|
+
return entriesHashCode(this.i3t(), imul(31, getBooleanHashCode(this.f3t())));
|
|
339
339
|
}
|
|
340
340
|
equals(other) {
|
|
341
341
|
if (this === other)
|
|
342
342
|
return true;
|
|
343
343
|
if (!(!(other == null) ? isInterface(other, StringValues()) : false))
|
|
344
344
|
return false;
|
|
345
|
-
if (!(this.
|
|
345
|
+
if (!(this.f3t() === other.f3t()))
|
|
346
346
|
return false;
|
|
347
|
-
return entriesEquals(this.
|
|
347
|
+
return entriesEquals(this.i3t(), other.i3t());
|
|
348
348
|
}
|
|
349
|
-
|
|
350
|
-
return body(this.
|
|
349
|
+
k3t(body) {
|
|
350
|
+
return body(this.z3t_1, this.a3u_1);
|
|
351
351
|
}
|
|
352
|
-
|
|
353
|
-
return equals_0(name, this.
|
|
352
|
+
c3s(name) {
|
|
353
|
+
return equals_0(name, this.z3t_1, this.f3t()) ? firstOrNull(this.a3u_1) : null;
|
|
354
354
|
}
|
|
355
|
-
|
|
356
|
-
return equals_0(name, this.
|
|
355
|
+
j3t(name) {
|
|
356
|
+
return equals_0(name, this.z3t_1, this.f3t());
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
initMetadataForClass($, 'StringValuesSingleImpl', VOID, VOID, [StringValues()]);
|
|
@@ -81,9 +81,9 @@ function CaseInsensitiveString() {
|
|
|
81
81
|
if (CaseInsensitiveStringClass === VOID) {
|
|
82
82
|
class $ {
|
|
83
83
|
constructor(content) {
|
|
84
|
-
this.
|
|
84
|
+
this.y3r_1 = content;
|
|
85
85
|
var temp = 0;
|
|
86
|
-
var indexedObject = this.
|
|
86
|
+
var indexedObject = this.y3r_1;
|
|
87
87
|
var inductionVariable = 0;
|
|
88
88
|
var last = indexedObject.length;
|
|
89
89
|
while (inductionVariable < last) {
|
|
@@ -99,18 +99,18 @@ function CaseInsensitiveString() {
|
|
|
99
99
|
var this_0 = charCodeAt(tmp$ret$2, 0);
|
|
100
100
|
temp = tmp + Char__toInt_impl_vasixd(this_0) | 0;
|
|
101
101
|
}
|
|
102
|
-
this.
|
|
102
|
+
this.z3r_1 = temp;
|
|
103
103
|
}
|
|
104
104
|
equals(other) {
|
|
105
105
|
var tmp0_safe_receiver = other instanceof CaseInsensitiveString() ? other : null;
|
|
106
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
107
|
-
return (tmp1_safe_receiver == null ? null : equals(tmp1_safe_receiver, this.
|
|
106
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y3r_1;
|
|
107
|
+
return (tmp1_safe_receiver == null ? null : equals(tmp1_safe_receiver, this.y3r_1, true)) === true;
|
|
108
108
|
}
|
|
109
109
|
hashCode() {
|
|
110
|
-
return this.
|
|
110
|
+
return this.z3r_1;
|
|
111
111
|
}
|
|
112
112
|
toString() {
|
|
113
|
-
return this.
|
|
113
|
+
return this.y3r_1;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
initMetadataForClass($, 'CaseInsensitiveString');
|
|
@@ -22,81 +22,81 @@ function ConcurrentMap() {
|
|
|
22
22
|
class $ {
|
|
23
23
|
constructor(initialCapacity) {
|
|
24
24
|
initialCapacity = initialCapacity === VOID ? 32 : initialCapacity;
|
|
25
|
-
this.
|
|
25
|
+
this.v3x_1 = LinkedHashMap().vb(initialCapacity);
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
if (this.
|
|
29
|
-
return ensureNotNull(this.
|
|
27
|
+
w3x(key, block) {
|
|
28
|
+
if (this.v3x_1.u2(key))
|
|
29
|
+
return ensureNotNull(this.v3x_1.w2(key));
|
|
30
30
|
var value = block();
|
|
31
31
|
// Inline function 'kotlin.collections.set' call
|
|
32
|
-
this.
|
|
32
|
+
this.v3x_1.d3(key, value);
|
|
33
33
|
return value;
|
|
34
34
|
}
|
|
35
35
|
i1() {
|
|
36
|
-
return this.
|
|
36
|
+
return this.v3x_1.i1();
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
return this.
|
|
38
|
+
x3x(key) {
|
|
39
|
+
return this.v3x_1.u2(key);
|
|
40
40
|
}
|
|
41
41
|
u2(key) {
|
|
42
42
|
if (!(key == null ? true : !(key == null)))
|
|
43
43
|
return false;
|
|
44
|
-
return this.
|
|
44
|
+
return this.x3x((key == null ? true : !(key == null)) ? key : THROW_CCE());
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
return this.
|
|
46
|
+
y3x(key) {
|
|
47
|
+
return this.v3x_1.w2(key);
|
|
48
48
|
}
|
|
49
49
|
w2(key) {
|
|
50
50
|
if (!(key == null ? true : !(key == null)))
|
|
51
51
|
return null;
|
|
52
|
-
return this.
|
|
52
|
+
return this.y3x((key == null ? true : !(key == null)) ? key : THROW_CCE());
|
|
53
53
|
}
|
|
54
54
|
j() {
|
|
55
|
-
return this.
|
|
55
|
+
return this.v3x_1.j();
|
|
56
56
|
}
|
|
57
57
|
q1() {
|
|
58
|
-
return this.
|
|
58
|
+
return this.v3x_1.q1();
|
|
59
59
|
}
|
|
60
60
|
x2() {
|
|
61
|
-
return this.
|
|
61
|
+
return this.v3x_1.x2();
|
|
62
62
|
}
|
|
63
63
|
y2() {
|
|
64
|
-
return this.
|
|
64
|
+
return this.v3x_1.y2();
|
|
65
65
|
}
|
|
66
66
|
z2() {
|
|
67
|
-
this.
|
|
67
|
+
this.v3x_1.z2();
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
return this.
|
|
69
|
+
z3x(key, value) {
|
|
70
|
+
return this.v3x_1.d3(key, value);
|
|
71
71
|
}
|
|
72
72
|
d3(key, value) {
|
|
73
73
|
var tmp = (key == null ? true : !(key == null)) ? key : THROW_CCE();
|
|
74
|
-
return this.
|
|
74
|
+
return this.z3x(tmp, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
this.
|
|
76
|
+
a3y(from) {
|
|
77
|
+
this.v3x_1.f3(from);
|
|
78
78
|
}
|
|
79
79
|
f3(from) {
|
|
80
|
-
return this.
|
|
80
|
+
return this.a3y(from);
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
return this.
|
|
82
|
+
b3y(key) {
|
|
83
|
+
return this.v3x_1.e3(key);
|
|
84
84
|
}
|
|
85
85
|
e3(key) {
|
|
86
86
|
if (!(key == null ? true : !(key == null)))
|
|
87
87
|
return null;
|
|
88
|
-
return this.
|
|
88
|
+
return this.b3y((key == null ? true : !(key == null)) ? key : THROW_CCE());
|
|
89
89
|
}
|
|
90
90
|
hashCode() {
|
|
91
|
-
return this.
|
|
91
|
+
return this.v3x_1.hashCode();
|
|
92
92
|
}
|
|
93
93
|
equals(other) {
|
|
94
94
|
if (!(!(other == null) ? isInterface(other, KtMap()) : false))
|
|
95
95
|
return false;
|
|
96
|
-
return equals(other, this.
|
|
96
|
+
return equals(other, this.v3x_1);
|
|
97
97
|
}
|
|
98
98
|
toString() {
|
|
99
|
-
return 'ConcurrentMapJs by ' + this.
|
|
99
|
+
return 'ConcurrentMapJs by ' + this.v3x_1.toString();
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
initMetadataForClass($, 'ConcurrentMap', ConcurrentMap, VOID, [KtMutableMap()]);
|
|
@@ -11,10 +11,10 @@ function CopyOnWriteHashMap() {
|
|
|
11
11
|
if (CopyOnWriteHashMapClass === VOID) {
|
|
12
12
|
class $ {
|
|
13
13
|
constructor() {
|
|
14
|
-
this.
|
|
14
|
+
this.b3u_1 = atomic$ref$1(emptyMap());
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
return this.
|
|
16
|
+
c3u(key) {
|
|
17
|
+
return this.b3u_1.kotlinx$atomicfu$value.w2(key);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
initMetadataForClass($, 'CopyOnWriteHashMap', CopyOnWriteHashMap);
|