@attocash/commons-test 6.0.0 → 6.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/DateTimeFormatBuilder.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +6 -6
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +73 -73
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +57 -57
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +65 -65
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +274 -274
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +53 -53
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +27 -27
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +41 -41
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +2 -2
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +66 -66
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +85 -85
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +52 -25
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +5 -5
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +13 -13
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +389 -642
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +18 -18
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +9 -9
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +40 -40
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +31 -25
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +168 -168
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +42 -42
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +92 -92
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +315 -315
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +435 -435
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +48 -48
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +24 -24
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +56 -56
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +33 -33
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +46 -46
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +72 -72
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- 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 +187 -187
- 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 +53 -53
- 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 +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +231 -231
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +5 -5
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +90 -90
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +30 -30
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +69 -69
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
- 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/JsonElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +20 -20
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +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 +61 -61
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
- 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 +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- 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 +214 -214
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +70 -70
- 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 +71 -71
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- 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 +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
- 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 +32 -32
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +66 -66
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +75 -75
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +108 -108
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- 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 +13 -13
- 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 +26 -26
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
- 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 +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- 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 +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +56 -56
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- 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 +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- 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-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- 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 +115 -115
- 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 +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +59 -59
- 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 +15 -15
- package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- 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 +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +88 -88
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
- 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 +4 -4
- 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-io/io/ktor/utils/io/ByteChannel.mjs +126 -126
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +60 -60
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- 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 +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- 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 +28 -28
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +36 -36
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +36 -36
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- 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 +36 -36
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +34 -34
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +79 -79
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- 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/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
- 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 +50 -50
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +16 -16
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -60,18 +60,18 @@ var imul = Math.imul;
|
|
|
60
60
|
//endregion
|
|
61
61
|
function hasParameter($this, name, value) {
|
|
62
62
|
var tmp;
|
|
63
|
-
switch ($this.
|
|
63
|
+
switch ($this.u2v_1.n1()) {
|
|
64
64
|
case 0:
|
|
65
65
|
tmp = false;
|
|
66
66
|
break;
|
|
67
67
|
case 1:
|
|
68
68
|
// Inline function 'kotlin.let' call
|
|
69
69
|
|
|
70
|
-
var it = $this.
|
|
71
|
-
tmp = (equals(it.
|
|
70
|
+
var it = $this.u2v_1.o1(0);
|
|
71
|
+
tmp = (equals(it.v2v_1, name, true) && equals(it.w2v_1, value, true));
|
|
72
72
|
break;
|
|
73
73
|
default:
|
|
74
|
-
var tmp0 = $this.
|
|
74
|
+
var tmp0 = $this.u2v_1;
|
|
75
75
|
var tmp$ret$2;
|
|
76
76
|
$l$block_0: {
|
|
77
77
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -88,7 +88,7 @@ function hasParameter($this, name, value) {
|
|
|
88
88
|
var _iterator__ex2g4s = tmp0.k1();
|
|
89
89
|
while (_iterator__ex2g4s.l1()) {
|
|
90
90
|
var element = _iterator__ex2g4s.m1();
|
|
91
|
-
if (equals(element.
|
|
91
|
+
if (equals(element.v2v_1, name, true) && equals(element.w2v_1, value, true)) {
|
|
92
92
|
tmp$ret$2 = true;
|
|
93
93
|
break $l$block_0;
|
|
94
94
|
}
|
|
@@ -107,34 +107,34 @@ function Companion() {
|
|
|
107
107
|
class $ {
|
|
108
108
|
constructor() {
|
|
109
109
|
Companion_instance_0 = this;
|
|
110
|
-
this.
|
|
110
|
+
this.y2v_1 = ContentType().d2w('*', '*');
|
|
111
111
|
}
|
|
112
112
|
nq(value) {
|
|
113
113
|
if (isBlank(value))
|
|
114
|
-
return this.
|
|
114
|
+
return this.y2v_1;
|
|
115
115
|
// Inline function 'io.ktor.http.Companion.parse' call
|
|
116
116
|
var headerValue = last(parseHeaderValue(value));
|
|
117
|
-
var tmp0 = headerValue.
|
|
118
|
-
var parameters = headerValue.
|
|
117
|
+
var tmp0 = headerValue.e2w_1;
|
|
118
|
+
var parameters = headerValue.f2w_1;
|
|
119
119
|
var slash = indexOf(tmp0, _Char___init__impl__6a9atx(47));
|
|
120
120
|
if (slash === -1) {
|
|
121
121
|
// Inline function 'kotlin.text.trim' call
|
|
122
122
|
if (toString(trim(isCharSequence(tmp0) ? tmp0 : THROW_CCE())) === '*')
|
|
123
|
-
return Companion_getInstance().
|
|
124
|
-
throw BadContentTypeFormatException().
|
|
123
|
+
return Companion_getInstance().y2v_1;
|
|
124
|
+
throw BadContentTypeFormatException().j2w(value);
|
|
125
125
|
}
|
|
126
126
|
// Inline function 'kotlin.text.trim' call
|
|
127
127
|
var this_0 = substring(tmp0, 0, slash);
|
|
128
128
|
var type = toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
129
129
|
// Inline function 'kotlin.text.isEmpty' call
|
|
130
130
|
if (charSequenceLength(type) === 0) {
|
|
131
|
-
throw BadContentTypeFormatException().
|
|
131
|
+
throw BadContentTypeFormatException().j2w(value);
|
|
132
132
|
}
|
|
133
133
|
// Inline function 'kotlin.text.trim' call
|
|
134
134
|
var this_1 = substring_0(tmp0, slash + 1 | 0);
|
|
135
135
|
var subtype = toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE()));
|
|
136
136
|
if (contains(type, _Char___init__impl__6a9atx(32)) || contains(subtype, _Char___init__impl__6a9atx(32))) {
|
|
137
|
-
throw BadContentTypeFormatException().
|
|
137
|
+
throw BadContentTypeFormatException().j2w(value);
|
|
138
138
|
}
|
|
139
139
|
var tmp;
|
|
140
140
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -144,9 +144,9 @@ function Companion() {
|
|
|
144
144
|
tmp = contains(subtype, _Char___init__impl__6a9atx(47));
|
|
145
145
|
}
|
|
146
146
|
if (tmp) {
|
|
147
|
-
throw BadContentTypeFormatException().
|
|
147
|
+
throw BadContentTypeFormatException().j2w(value);
|
|
148
148
|
}
|
|
149
|
-
return ContentType().
|
|
149
|
+
return ContentType().d2w(type, subtype, parameters);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
initMetadataForCompanion($);
|
|
@@ -166,32 +166,32 @@ function Application() {
|
|
|
166
166
|
class $ {
|
|
167
167
|
constructor() {
|
|
168
168
|
Application_instance = this;
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
191
|
-
this.
|
|
192
|
-
this.
|
|
169
|
+
this.k2w_1 = 'application';
|
|
170
|
+
this.l2w_1 = ContentType().d2w('application', '*');
|
|
171
|
+
this.m2w_1 = ContentType().d2w('application', 'atom+xml');
|
|
172
|
+
this.n2w_1 = ContentType().d2w('application', 'cbor');
|
|
173
|
+
this.o2w_1 = ContentType().d2w('application', 'json');
|
|
174
|
+
this.p2w_1 = ContentType().d2w('application', 'hal+json');
|
|
175
|
+
this.q2w_1 = ContentType().d2w('application', 'javascript');
|
|
176
|
+
this.r2w_1 = ContentType().d2w('application', 'octet-stream');
|
|
177
|
+
this.s2w_1 = ContentType().d2w('application', 'rss+xml');
|
|
178
|
+
this.t2w_1 = ContentType().d2w('application', 'soap+xml');
|
|
179
|
+
this.u2w_1 = ContentType().d2w('application', 'xml');
|
|
180
|
+
this.v2w_1 = ContentType().d2w('application', 'xml-dtd');
|
|
181
|
+
this.w2w_1 = ContentType().d2w('application', 'yaml');
|
|
182
|
+
this.x2w_1 = ContentType().d2w('application', 'zip');
|
|
183
|
+
this.y2w_1 = ContentType().d2w('application', 'gzip');
|
|
184
|
+
this.z2w_1 = ContentType().d2w('application', 'x-www-form-urlencoded');
|
|
185
|
+
this.a2x_1 = ContentType().d2w('application', 'pdf');
|
|
186
|
+
this.b2x_1 = ContentType().d2w('application', 'vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
|
187
|
+
this.c2x_1 = ContentType().d2w('application', 'vnd.openxmlformats-officedocument.wordprocessingml.document');
|
|
188
|
+
this.d2x_1 = ContentType().d2w('application', 'vnd.openxmlformats-officedocument.presentationml.presentation');
|
|
189
|
+
this.e2x_1 = ContentType().d2w('application', 'protobuf');
|
|
190
|
+
this.f2x_1 = ContentType().d2w('application', 'wasm');
|
|
191
|
+
this.g2x_1 = ContentType().d2w('application', 'problem+json');
|
|
192
|
+
this.h2x_1 = ContentType().d2w('application', 'problem+xml');
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
i2x(contentType) {
|
|
195
195
|
return startsWith(contentType, 'application/', true);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -212,17 +212,17 @@ function MultiPart() {
|
|
|
212
212
|
class $ {
|
|
213
213
|
constructor() {
|
|
214
214
|
MultiPart_instance = this;
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
215
|
+
this.j2x_1 = 'multipart';
|
|
216
|
+
this.k2x_1 = ContentType().d2w('multipart', '*');
|
|
217
|
+
this.l2x_1 = ContentType().d2w('multipart', 'mixed');
|
|
218
|
+
this.m2x_1 = ContentType().d2w('multipart', 'alternative');
|
|
219
|
+
this.n2x_1 = ContentType().d2w('multipart', 'related');
|
|
220
|
+
this.o2x_1 = ContentType().d2w('multipart', 'form-data');
|
|
221
|
+
this.p2x_1 = ContentType().d2w('multipart', 'signed');
|
|
222
|
+
this.q2x_1 = ContentType().d2w('multipart', 'encrypted');
|
|
223
|
+
this.r2x_1 = ContentType().d2w('multipart', 'byteranges');
|
|
224
224
|
}
|
|
225
|
-
|
|
225
|
+
i2x(contentType) {
|
|
226
226
|
return startsWith(contentType, 'multipart/', true);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -243,16 +243,16 @@ function Text() {
|
|
|
243
243
|
class $ {
|
|
244
244
|
constructor() {
|
|
245
245
|
Text_instance = this;
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
246
|
+
this.s2x_1 = 'text';
|
|
247
|
+
this.t2x_1 = ContentType().d2w('text', '*');
|
|
248
|
+
this.u2x_1 = ContentType().d2w('text', 'plain');
|
|
249
|
+
this.v2x_1 = ContentType().d2w('text', 'css');
|
|
250
|
+
this.w2x_1 = ContentType().d2w('text', 'csv');
|
|
251
|
+
this.x2x_1 = ContentType().d2w('text', 'html');
|
|
252
|
+
this.y2x_1 = ContentType().d2w('text', 'javascript');
|
|
253
|
+
this.z2x_1 = ContentType().d2w('text', 'vcard');
|
|
254
|
+
this.a2y_1 = ContentType().d2w('text', 'xml');
|
|
255
|
+
this.b2y_1 = ContentType().d2w('text', 'event-stream');
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
initMetadataForObject($, 'Text');
|
|
@@ -270,35 +270,35 @@ var ContentTypeClass;
|
|
|
270
270
|
function ContentType() {
|
|
271
271
|
if (ContentTypeClass === VOID) {
|
|
272
272
|
class $ extends HeaderValueWithParameters() {
|
|
273
|
-
static
|
|
273
|
+
static c2y(contentType, contentSubtype, existingContent, parameters) {
|
|
274
274
|
Companion_getInstance();
|
|
275
275
|
parameters = parameters === VOID ? emptyList() : parameters;
|
|
276
|
-
var $this = this.
|
|
277
|
-
$this.
|
|
278
|
-
$this.
|
|
276
|
+
var $this = this.d2y(existingContent, parameters);
|
|
277
|
+
$this.b2w_1 = contentType;
|
|
278
|
+
$this.c2w_1 = contentSubtype;
|
|
279
279
|
return $this;
|
|
280
280
|
}
|
|
281
|
-
static
|
|
281
|
+
static d2w(contentType, contentSubtype, parameters) {
|
|
282
282
|
Companion_getInstance();
|
|
283
283
|
parameters = parameters === VOID ? emptyList() : parameters;
|
|
284
|
-
return this.
|
|
284
|
+
return this.c2y(contentType, contentSubtype, contentType + '/' + contentSubtype, parameters);
|
|
285
285
|
}
|
|
286
|
-
|
|
286
|
+
e2y(name, value) {
|
|
287
287
|
if (hasParameter(this, name, value))
|
|
288
288
|
return this;
|
|
289
|
-
return ContentType().
|
|
289
|
+
return ContentType().c2y(this.b2w_1, this.c2w_1, this.t2v_1, plus(this.u2v_1, HeaderValueParam().f2y(name, value)));
|
|
290
290
|
}
|
|
291
|
-
|
|
292
|
-
return this.
|
|
291
|
+
g2y() {
|
|
292
|
+
return this.u2v_1.o() ? this : ContentType().d2w(this.b2w_1, this.c2w_1);
|
|
293
293
|
}
|
|
294
|
-
|
|
295
|
-
if (!(pattern.
|
|
294
|
+
h2y(pattern) {
|
|
295
|
+
if (!(pattern.b2w_1 === '*') && !equals(pattern.b2w_1, this.b2w_1, true)) {
|
|
296
296
|
return false;
|
|
297
297
|
}
|
|
298
|
-
if (!(pattern.
|
|
298
|
+
if (!(pattern.c2w_1 === '*') && !equals(pattern.c2w_1, this.c2w_1, true)) {
|
|
299
299
|
return false;
|
|
300
300
|
}
|
|
301
|
-
var _iterator__ex2g4s = pattern.
|
|
301
|
+
var _iterator__ex2g4s = pattern.u2v_1.k1();
|
|
302
302
|
while (_iterator__ex2g4s.l1()) {
|
|
303
303
|
var _destruct__k2r9zo = _iterator__ex2g4s.m1();
|
|
304
304
|
var patternName = _destruct__k2r9zo.ne();
|
|
@@ -309,7 +309,7 @@ function ContentType() {
|
|
|
309
309
|
if (patternValue === '*') {
|
|
310
310
|
tmp_0 = true;
|
|
311
311
|
} else {
|
|
312
|
-
var tmp0 = this.
|
|
312
|
+
var tmp0 = this.u2v_1;
|
|
313
313
|
var tmp$ret$0;
|
|
314
314
|
$l$block_0: {
|
|
315
315
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -326,7 +326,7 @@ function ContentType() {
|
|
|
326
326
|
var _iterator__ex2g4s_0 = tmp0.k1();
|
|
327
327
|
while (_iterator__ex2g4s_0.l1()) {
|
|
328
328
|
var element = _iterator__ex2g4s_0.m1();
|
|
329
|
-
if (equals(element.
|
|
329
|
+
if (equals(element.w2v_1, patternValue, true)) {
|
|
330
330
|
tmp$ret$0 = true;
|
|
331
331
|
break $l$block_0;
|
|
332
332
|
}
|
|
@@ -337,7 +337,7 @@ function ContentType() {
|
|
|
337
337
|
}
|
|
338
338
|
tmp = tmp_0;
|
|
339
339
|
} else {
|
|
340
|
-
var value = this.
|
|
340
|
+
var value = this.i2y(patternName);
|
|
341
341
|
tmp = patternValue === '*' ? !(value == null) : equals(value, patternValue, true);
|
|
342
342
|
}
|
|
343
343
|
var matches = tmp;
|
|
@@ -352,17 +352,17 @@ function ContentType() {
|
|
|
352
352
|
var tmp_0;
|
|
353
353
|
var tmp_1;
|
|
354
354
|
if (other instanceof ContentType()) {
|
|
355
|
-
tmp_1 = equals(this.
|
|
355
|
+
tmp_1 = equals(this.b2w_1, other.b2w_1, true);
|
|
356
356
|
} else {
|
|
357
357
|
tmp_1 = false;
|
|
358
358
|
}
|
|
359
359
|
if (tmp_1) {
|
|
360
|
-
tmp_0 = equals(this.
|
|
360
|
+
tmp_0 = equals(this.c2w_1, other.c2w_1, true);
|
|
361
361
|
} else {
|
|
362
362
|
tmp_0 = false;
|
|
363
363
|
}
|
|
364
364
|
if (tmp_0) {
|
|
365
|
-
tmp = equals_0(this.
|
|
365
|
+
tmp = equals_0(this.u2v_1, other.u2v_1);
|
|
366
366
|
} else {
|
|
367
367
|
tmp = false;
|
|
368
368
|
}
|
|
@@ -371,15 +371,15 @@ function ContentType() {
|
|
|
371
371
|
hashCode() {
|
|
372
372
|
// Inline function 'kotlin.text.lowercase' call
|
|
373
373
|
// Inline function 'kotlin.js.asDynamic' call
|
|
374
|
-
var tmp$ret$1 = this.
|
|
374
|
+
var tmp$ret$1 = this.b2w_1.toLowerCase();
|
|
375
375
|
var result = getStringHashCode(tmp$ret$1);
|
|
376
376
|
var tmp = result;
|
|
377
377
|
var tmp_0 = imul(31, result);
|
|
378
378
|
// Inline function 'kotlin.text.lowercase' call
|
|
379
379
|
// Inline function 'kotlin.js.asDynamic' call
|
|
380
|
-
var tmp$ret$3 = this.
|
|
380
|
+
var tmp$ret$3 = this.c2w_1.toLowerCase();
|
|
381
381
|
result = tmp + (tmp_0 + getStringHashCode(tmp$ret$3) | 0) | 0;
|
|
382
|
-
result = result + imul(31, hashCode(this.
|
|
382
|
+
result = result + imul(31, hashCode(this.u2v_1)) | 0;
|
|
383
383
|
return result;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
@@ -389,7 +389,7 @@ function ContentType() {
|
|
|
389
389
|
return ContentTypeClass;
|
|
390
390
|
}
|
|
391
391
|
function charset(_this__u8e3s4) {
|
|
392
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
392
|
+
var tmp0_safe_receiver = _this__u8e3s4.i2y('charset');
|
|
393
393
|
var tmp;
|
|
394
394
|
if (tmp0_safe_receiver == null) {
|
|
395
395
|
tmp = null;
|
|
@@ -416,10 +416,10 @@ function withCharsetIfNeeded(_this__u8e3s4, charset) {
|
|
|
416
416
|
var tmp;
|
|
417
417
|
// Inline function 'kotlin.text.lowercase' call
|
|
418
418
|
// Inline function 'kotlin.js.asDynamic' call
|
|
419
|
-
if (!(_this__u8e3s4.
|
|
419
|
+
if (!(_this__u8e3s4.b2w_1.toLowerCase() === 'text')) {
|
|
420
420
|
tmp = _this__u8e3s4;
|
|
421
421
|
} else {
|
|
422
|
-
tmp = _this__u8e3s4.
|
|
422
|
+
tmp = _this__u8e3s4.e2y('charset', get_name(charset));
|
|
423
423
|
}
|
|
424
424
|
return tmp;
|
|
425
425
|
}
|
|
@@ -427,9 +427,9 @@ var BadContentTypeFormatExceptionClass;
|
|
|
427
427
|
function BadContentTypeFormatException() {
|
|
428
428
|
if (BadContentTypeFormatExceptionClass === VOID) {
|
|
429
429
|
class $ extends Exception() {
|
|
430
|
-
static
|
|
430
|
+
static j2w(value) {
|
|
431
431
|
var $this = this.gd('Bad Content-Type format: ' + value);
|
|
432
|
-
captureStack($this, $this.
|
|
432
|
+
captureStack($this, $this.i2w_1);
|
|
433
433
|
return $this;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
@@ -439,7 +439,7 @@ function BadContentTypeFormatException() {
|
|
|
439
439
|
return BadContentTypeFormatExceptionClass;
|
|
440
440
|
}
|
|
441
441
|
function withCharset(_this__u8e3s4, charset) {
|
|
442
|
-
return _this__u8e3s4.
|
|
442
|
+
return _this__u8e3s4.e2y('charset', get_name(charset));
|
|
443
443
|
}
|
|
444
444
|
//region block: exports
|
|
445
445
|
export {
|
|
@@ -54,23 +54,23 @@ var HeaderValueWithParametersClass;
|
|
|
54
54
|
function HeaderValueWithParameters() {
|
|
55
55
|
if (HeaderValueWithParametersClass === VOID) {
|
|
56
56
|
class $ {
|
|
57
|
-
static
|
|
57
|
+
static d2y(content, parameters) {
|
|
58
58
|
parameters = parameters === VOID ? emptyList() : parameters;
|
|
59
59
|
var $this = createThis(this);
|
|
60
|
-
$this.
|
|
61
|
-
$this.
|
|
60
|
+
$this.t2v_1 = content;
|
|
61
|
+
$this.u2v_1 = parameters;
|
|
62
62
|
return $this;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
i2y(name) {
|
|
65
65
|
var inductionVariable = 0;
|
|
66
|
-
var last = get_lastIndex(this.
|
|
66
|
+
var last = get_lastIndex(this.u2v_1);
|
|
67
67
|
if (inductionVariable <= last)
|
|
68
68
|
do {
|
|
69
69
|
var index = inductionVariable;
|
|
70
70
|
inductionVariable = inductionVariable + 1 | 0;
|
|
71
|
-
var parameter = this.
|
|
72
|
-
if (equals(parameter.
|
|
73
|
-
return parameter.
|
|
71
|
+
var parameter = this.u2v_1.o1(index);
|
|
72
|
+
if (equals(parameter.v2v_1, name, true)) {
|
|
73
|
+
return parameter.w2v_1;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
while (!(index === last));
|
|
@@ -78,34 +78,34 @@ function HeaderValueWithParameters() {
|
|
|
78
78
|
}
|
|
79
79
|
toString() {
|
|
80
80
|
var tmp;
|
|
81
|
-
if (this.
|
|
82
|
-
tmp = this.
|
|
81
|
+
if (this.u2v_1.o()) {
|
|
82
|
+
tmp = this.t2v_1;
|
|
83
83
|
} else {
|
|
84
|
-
var tmp_0 = this.
|
|
84
|
+
var tmp_0 = this.t2v_1.length;
|
|
85
85
|
// Inline function 'kotlin.collections.sumOf' call
|
|
86
86
|
var sum = 0;
|
|
87
|
-
var _iterator__ex2g4s = this.
|
|
87
|
+
var _iterator__ex2g4s = this.u2v_1.k1();
|
|
88
88
|
while (_iterator__ex2g4s.l1()) {
|
|
89
89
|
var element = _iterator__ex2g4s.m1();
|
|
90
90
|
var tmp_1 = sum;
|
|
91
|
-
sum = tmp_1 + ((element.
|
|
91
|
+
sum = tmp_1 + ((element.v2v_1.length + element.w2v_1.length | 0) + 3 | 0) | 0;
|
|
92
92
|
}
|
|
93
93
|
var size = tmp_0 + sum | 0;
|
|
94
94
|
// Inline function 'kotlin.apply' call
|
|
95
95
|
var this_0 = StringBuilder().mb(size);
|
|
96
|
-
this_0.ib(this.
|
|
96
|
+
this_0.ib(this.t2v_1);
|
|
97
97
|
var inductionVariable = 0;
|
|
98
|
-
var last = get_lastIndex(this.
|
|
98
|
+
var last = get_lastIndex(this.u2v_1);
|
|
99
99
|
if (inductionVariable <= last)
|
|
100
100
|
do {
|
|
101
101
|
var index = inductionVariable;
|
|
102
102
|
inductionVariable = inductionVariable + 1 | 0;
|
|
103
|
-
var element_0 = this.
|
|
103
|
+
var element_0 = this.u2v_1.o1(index);
|
|
104
104
|
this_0.ib('; ');
|
|
105
|
-
this_0.ib(element_0.
|
|
105
|
+
this_0.ib(element_0.v2v_1);
|
|
106
106
|
this_0.ib('=');
|
|
107
107
|
// Inline function 'io.ktor.http.escapeIfNeededTo' call
|
|
108
|
-
var this_1 = element_0.
|
|
108
|
+
var this_1 = element_0.w2v_1;
|
|
109
109
|
if (needQuotes(this_1))
|
|
110
110
|
this_0.ib(quote(this_1));
|
|
111
111
|
else
|
|
@@ -32,16 +32,16 @@ function HeadersBuilder() {
|
|
|
32
32
|
size = size === VOID ? 8 : size;
|
|
33
33
|
super(true, size);
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
return new (HeadersImpl())(this.
|
|
35
|
+
l2y() {
|
|
36
|
+
return new (HeadersImpl())(this.h2r_1);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
super.
|
|
40
|
-
HttpHeaders_getInstance().
|
|
38
|
+
i2r(name) {
|
|
39
|
+
super.i2r(name);
|
|
40
|
+
HttpHeaders_getInstance().j32(name);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
super.
|
|
44
|
-
HttpHeaders_getInstance().
|
|
42
|
+
n2r(value) {
|
|
43
|
+
super.n2r(value);
|
|
44
|
+
HttpHeaders_getInstance().k32(value);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
initMetadataForClass($, 'HeadersBuilder', HeadersBuilder);
|
|
@@ -55,7 +55,7 @@ function Companion() {
|
|
|
55
55
|
class $ {
|
|
56
56
|
constructor() {
|
|
57
57
|
Companion_instance = this;
|
|
58
|
-
this.
|
|
58
|
+
this.l32_1 = EmptyHeaders_instance;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
initMetadataForCompanion($);
|
|
@@ -81,7 +81,7 @@ function HeadersImpl() {
|
|
|
81
81
|
super(true, values);
|
|
82
82
|
}
|
|
83
83
|
toString() {
|
|
84
|
-
return 'Headers ' + toString(this.
|
|
84
|
+
return 'Headers ' + toString(this.e2r());
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
initMetadataForClass($, 'HeadersImpl', HeadersImpl, VOID, [StringValues(), StringValuesImpl()]);
|
|
@@ -93,27 +93,27 @@ var EmptyHeadersClass;
|
|
|
93
93
|
function EmptyHeaders() {
|
|
94
94
|
if (EmptyHeadersClass === VOID) {
|
|
95
95
|
class $ {
|
|
96
|
-
|
|
96
|
+
j2r() {
|
|
97
97
|
return true;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
k2r(name) {
|
|
100
100
|
return null;
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
l2r() {
|
|
103
103
|
return emptySet();
|
|
104
104
|
}
|
|
105
|
-
|
|
105
|
+
e2r() {
|
|
106
106
|
return emptySet();
|
|
107
107
|
}
|
|
108
108
|
o() {
|
|
109
109
|
return true;
|
|
110
110
|
}
|
|
111
111
|
toString() {
|
|
112
|
-
return 'Headers ' + toString(this.
|
|
112
|
+
return 'Headers ' + toString(this.e2r());
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
protoOf($).
|
|
116
|
-
protoOf($).
|
|
115
|
+
protoOf($).j1g = get;
|
|
116
|
+
protoOf($).q2r = forEach;
|
|
117
117
|
initMetadataForObject($, 'EmptyHeaders', VOID, VOID, [StringValues()]);
|
|
118
118
|
EmptyHeadersClass = $;
|
|
119
119
|
}
|
|
@@ -131,7 +131,7 @@ function HeadersSingleImpl() {
|
|
|
131
131
|
super(true, name, values);
|
|
132
132
|
}
|
|
133
133
|
toString() {
|
|
134
|
-
return 'Headers ' + toString(this.
|
|
134
|
+
return 'Headers ' + toString(this.e2r());
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
initMetadataForClass($, 'HeadersSingleImpl', VOID, VOID, [StringValues(), StringValuesSingleImpl()]);
|