@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/statement/DefaultHttpResponse.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["call","responseData","<get-call>","<get-coroutineContext>","<get-status>","<get-version>","<get-requestTime>","<get-responseTime>","<get-rawContent>","<get-headers>"],"mappings":";;;;;;;;;;;;;;;;kBAeaA,I,EACTC,Y;;QADA,iB;QAG+D,aAAb,YAAa,M;QAEZ,aAAb,YAAa,M;QAEM,aAAb,YAAa,M;QAER,aAAb,YAAa,M;QAEC,aAAb,YAAa,M;kBAEP,I;oBAAA,Y,CAAa,K;YAAb,qE;QAAA,6DACpB,KADoB,iB;QAGE,aAAb,YAAa,M;;SAhBpCC,CAAAA,EAAA;A,QAAA,iB;MAAuB,C;
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/statement/DefaultHttpResponse.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["call","responseData","<get-call>","<get-coroutineContext>","<get-status>","<get-version>","<get-requestTime>","<get-responseTime>","<get-rawContent>","<get-headers>"],"mappings":";;;;;;;;;;;;;;;;kBAeaA,I,EACTC,Y;;QADA,iB;QAG+D,aAAb,YAAa,M;QAEZ,aAAb,YAAa,M;QAEM,aAAb,YAAa,M;QAER,aAAb,YAAa,M;QAEC,aAAb,YAAa,M;kBAEP,I;oBAAA,Y,CAAa,K;YAAb,qE;QAAA,6DACpB,KADoB,iB;QAGE,aAAb,YAAa,M;;SAhBpCC,CAAAA,EAAA;A,QAAA,iB;MAAuB,C;SAGvBC,CAAAA,EAAA;A,QAAA,iB;MAAqC,C;SAErCC,CAAAA,EAAA;A,QAAA,iB;MAAyB,C;SAEzBC,CAAAA,EAAA;A,QAAA,iB;MAA+B,C;SAE/BC,CAAAA,EAAA;A,QAAA,iB;MAAuB,C;SAEvBC,CAAAA,EAAA;A,QAAA,iB;MAAwB,C;SAExBC,CAAAA,EAAA;A,QAAA,iB;MAA8B,C;SAG9BC,CAAAA,EAAA;A,QAAA,iB;MAAmB,C;;;;;;;;;;;"}
|
|
@@ -23,7 +23,7 @@ function HttpResponse() {
|
|
|
23
23
|
if (HttpResponseClass === VOID) {
|
|
24
24
|
class $ {
|
|
25
25
|
toString() {
|
|
26
|
-
return 'HttpResponse[' + get_request(this).
|
|
26
|
+
return 'HttpResponse[' + get_request(this).d3i().toString() + ', ' + this.k3i().toString() + ']';
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
initMetadataForClass($, 'HttpResponse', VOID, VOID, [CoroutineScope()]);
|
|
@@ -33,7 +33,7 @@ function HttpResponse() {
|
|
|
33
33
|
}
|
|
34
34
|
function *_generator_bodyAsChannel__1ymdgl(_this__u8e3s4, $completion) {
|
|
35
35
|
// Inline function 'io.ktor.client.call.body' call
|
|
36
|
-
var tmp = _this__u8e3s4.
|
|
36
|
+
var tmp = _this__u8e3s4.b3i();
|
|
37
37
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
38
38
|
var tmp_0 = getKClass(ByteReadChannel());
|
|
39
39
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
@@ -52,7 +52,7 @@ function *_generator_bodyAsChannel__1ymdgl(_this__u8e3s4, $completion) {
|
|
|
52
52
|
}
|
|
53
53
|
var tmp$ret$0 = tmp_1;
|
|
54
54
|
var tmp$ret$1 = new (TypeInfo())(tmp_0, tmp$ret$0);
|
|
55
|
-
var tmp_3 = tmp.
|
|
55
|
+
var tmp_3 = tmp.y3h(tmp$ret$1, $completion);
|
|
56
56
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
57
57
|
tmp_3 = yield tmp_3;
|
|
58
58
|
var tmp_4 = tmp_3;
|
|
@@ -62,15 +62,15 @@ function bodyAsChannel(_this__u8e3s4, $completion) {
|
|
|
62
62
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_bodyAsChannel__1ymdgl.bind(VOID, _this__u8e3s4), $completion);
|
|
63
63
|
}
|
|
64
64
|
function get_request(_this__u8e3s4) {
|
|
65
|
-
return _this__u8e3s4.
|
|
65
|
+
return _this__u8e3s4.b3i().u3h();
|
|
66
66
|
}
|
|
67
67
|
function *_generator_bodyAsText__non9cp(_this__u8e3s4, fallbackCharset, $completion) {
|
|
68
|
-
fallbackCharset = fallbackCharset === VOID ? Charsets_getInstance().
|
|
68
|
+
fallbackCharset = fallbackCharset === VOID ? Charsets_getInstance().l2o_1 : fallbackCharset;
|
|
69
69
|
var tmp0_elvis_lhs = charset(_this__u8e3s4);
|
|
70
70
|
var originCharset = tmp0_elvis_lhs == null ? fallbackCharset : tmp0_elvis_lhs;
|
|
71
|
-
var decoder = originCharset.
|
|
71
|
+
var decoder = originCharset.o2o();
|
|
72
72
|
// Inline function 'io.ktor.client.call.body' call
|
|
73
|
-
var tmp = _this__u8e3s4.
|
|
73
|
+
var tmp = _this__u8e3s4.b3i();
|
|
74
74
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
75
75
|
var tmp_0 = getKClass(Source());
|
|
76
76
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
@@ -89,7 +89,7 @@ function *_generator_bodyAsText__non9cp(_this__u8e3s4, fallbackCharset, $complet
|
|
|
89
89
|
}
|
|
90
90
|
var tmp$ret$0 = tmp_1;
|
|
91
91
|
var tmp$ret$1 = new (TypeInfo())(tmp_0, tmp$ret$0);
|
|
92
|
-
var tmp_3 = tmp.
|
|
92
|
+
var tmp_3 = tmp.y3h(tmp$ret$1, $completion);
|
|
93
93
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
94
94
|
tmp_3 = yield tmp_3;
|
|
95
95
|
var tmp_4 = tmp_3;
|
|
@@ -97,7 +97,7 @@ function *_generator_bodyAsText__non9cp(_this__u8e3s4, fallbackCharset, $complet
|
|
|
97
97
|
return decode(decoder, input);
|
|
98
98
|
}
|
|
99
99
|
function bodyAsText(_this__u8e3s4, fallbackCharset, $completion) {
|
|
100
|
-
fallbackCharset = fallbackCharset === VOID ? Charsets_getInstance().
|
|
100
|
+
fallbackCharset = fallbackCharset === VOID ? Charsets_getInstance().l2o_1 : fallbackCharset;
|
|
101
101
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_bodyAsText__non9cp.bind(VOID, _this__u8e3s4, fallbackCharset), $completion);
|
|
102
102
|
}
|
|
103
103
|
//region block: exports
|
|
@@ -20,21 +20,21 @@ function HttpResponseContainer() {
|
|
|
20
20
|
if (HttpResponseContainerClass === VOID) {
|
|
21
21
|
class $ {
|
|
22
22
|
constructor(expectedType, response) {
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
23
|
+
this.v3i_1 = expectedType;
|
|
24
|
+
this.w3i_1 = response;
|
|
25
25
|
}
|
|
26
26
|
ne() {
|
|
27
|
-
return this.
|
|
27
|
+
return this.v3i_1;
|
|
28
28
|
}
|
|
29
29
|
oe() {
|
|
30
|
-
return this.
|
|
30
|
+
return this.w3i_1;
|
|
31
31
|
}
|
|
32
32
|
toString() {
|
|
33
|
-
return 'HttpResponseContainer(expectedType=' + this.
|
|
33
|
+
return 'HttpResponseContainer(expectedType=' + this.v3i_1.toString() + ', response=' + toString(this.w3i_1) + ')';
|
|
34
34
|
}
|
|
35
35
|
hashCode() {
|
|
36
|
-
var result = this.
|
|
37
|
-
result = imul(result, 31) + hashCode(this.
|
|
36
|
+
var result = this.v3i_1.hashCode();
|
|
37
|
+
result = imul(result, 31) + hashCode(this.w3i_1) | 0;
|
|
38
38
|
return result;
|
|
39
39
|
}
|
|
40
40
|
equals(other) {
|
|
@@ -42,9 +42,9 @@ function HttpResponseContainer() {
|
|
|
42
42
|
return true;
|
|
43
43
|
if (!(other instanceof HttpResponseContainer()))
|
|
44
44
|
return false;
|
|
45
|
-
if (!this.
|
|
45
|
+
if (!this.v3i_1.equals(other.v3i_1))
|
|
46
46
|
return false;
|
|
47
|
-
if (!equals(this.
|
|
47
|
+
if (!equals(this.w3i_1, other.w3i_1))
|
|
48
48
|
return false;
|
|
49
49
|
return true;
|
|
50
50
|
}
|
|
@@ -60,9 +60,9 @@ function Phases() {
|
|
|
60
60
|
class $ {
|
|
61
61
|
constructor() {
|
|
62
62
|
Phases_instance = this;
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
63
|
+
this.e3m_1 = new (PipelinePhase())('Before');
|
|
64
|
+
this.f3m_1 = new (PipelinePhase())('State');
|
|
65
|
+
this.g3m_1 = new (PipelinePhase())('After');
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
initMetadataForObject($, 'Phases');
|
|
@@ -83,11 +83,11 @@ function HttpReceivePipeline() {
|
|
|
83
83
|
constructor(developmentMode) {
|
|
84
84
|
Phases_getInstance();
|
|
85
85
|
developmentMode = developmentMode === VOID ? true : developmentMode;
|
|
86
|
-
super([Phases_getInstance().
|
|
87
|
-
this.
|
|
86
|
+
super([Phases_getInstance().e3m_1, Phases_getInstance().f3m_1, Phases_getInstance().g3m_1]);
|
|
87
|
+
this.h3w_1 = developmentMode;
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
return this.
|
|
89
|
+
f2u() {
|
|
90
|
+
return this.h3w_1;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
initMetadataForClass($, 'HttpReceivePipeline', HttpReceivePipeline, VOID, VOID, [2]);
|
|
@@ -101,11 +101,11 @@ function Phases_0() {
|
|
|
101
101
|
class $ {
|
|
102
102
|
constructor() {
|
|
103
103
|
Phases_instance_0 = this;
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
104
|
+
this.c3h_1 = new (PipelinePhase())('Receive');
|
|
105
|
+
this.d3h_1 = new (PipelinePhase())('Parse');
|
|
106
|
+
this.e3h_1 = new (PipelinePhase())('Transform');
|
|
107
|
+
this.f3h_1 = new (PipelinePhase())('State');
|
|
108
|
+
this.g3h_1 = new (PipelinePhase())('After');
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
initMetadataForObject($, 'Phases');
|
|
@@ -126,11 +126,11 @@ function HttpResponsePipeline() {
|
|
|
126
126
|
constructor(developmentMode) {
|
|
127
127
|
Phases_getInstance_0();
|
|
128
128
|
developmentMode = developmentMode === VOID ? true : developmentMode;
|
|
129
|
-
super([Phases_getInstance_0().
|
|
130
|
-
this.
|
|
129
|
+
super([Phases_getInstance_0().c3h_1, Phases_getInstance_0().d3h_1, Phases_getInstance_0().e3h_1, Phases_getInstance_0().f3h_1, Phases_getInstance_0().g3h_1]);
|
|
130
|
+
this.p3w_1 = developmentMode;
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
return this.
|
|
132
|
+
f2u() {
|
|
133
|
+
return this.p3w_1;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
initMetadataForClass($, 'HttpResponsePipeline', HttpResponsePipeline, VOID, VOID, [2]);
|
|
@@ -24,7 +24,7 @@ function *_generator_execute__d6syw1($this, block, $completion) {
|
|
|
24
24
|
$l$block: {
|
|
25
25
|
// Inline function 'io.ktor.client.plugins.unwrapRequestTimeoutException' call
|
|
26
26
|
try {
|
|
27
|
-
var tmp = $this.
|
|
27
|
+
var tmp = $this.s3w($completion);
|
|
28
28
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
29
29
|
tmp = yield tmp;
|
|
30
30
|
var response = tmp;
|
|
@@ -35,7 +35,7 @@ function *_generator_execute__d6syw1($this, block, $completion) {
|
|
|
35
35
|
tmp_1 = yield tmp_1;
|
|
36
36
|
return tmp_1;
|
|
37
37
|
}finally {
|
|
38
|
-
var tmp_2 = $this.
|
|
38
|
+
var tmp_2 = $this.t3w(response, $completion);
|
|
39
39
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
40
40
|
tmp_2 = yield tmp_2;
|
|
41
41
|
}
|
|
@@ -52,13 +52,13 @@ function *_generator_execute__d6syw1($this, block, $completion) {
|
|
|
52
52
|
function *_generator_fetchStreamingResponse__ig8osh($this, $completion) {
|
|
53
53
|
// Inline function 'io.ktor.client.plugins.unwrapRequestTimeoutException' call
|
|
54
54
|
try {
|
|
55
|
-
var builder = (new (HttpRequestBuilder())()).
|
|
55
|
+
var builder = (new (HttpRequestBuilder())()).o3k($this.q3w_1);
|
|
56
56
|
skipSaveBody(builder);
|
|
57
|
-
var tmp = $this.
|
|
57
|
+
var tmp = $this.r3w_1.i3h(builder, $completion);
|
|
58
58
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
59
59
|
tmp = yield tmp;
|
|
60
60
|
var call = tmp;
|
|
61
|
-
return call.
|
|
61
|
+
return call.y3f();
|
|
62
62
|
} catch ($p) {
|
|
63
63
|
if ($p instanceof CancellationException()) {
|
|
64
64
|
var cause = $p;
|
|
@@ -71,16 +71,16 @@ function *_generator_fetchStreamingResponse__ig8osh($this, $completion) {
|
|
|
71
71
|
function *_generator_fetchResponse__e29uk9($this, $completion) {
|
|
72
72
|
// Inline function 'io.ktor.client.plugins.unwrapRequestTimeoutException' call
|
|
73
73
|
try {
|
|
74
|
-
var builder = (new (HttpRequestBuilder())()).
|
|
75
|
-
var tmp = $this.
|
|
74
|
+
var builder = (new (HttpRequestBuilder())()).o3k($this.q3w_1);
|
|
75
|
+
var tmp = $this.r3w_1.i3h(builder, $completion);
|
|
76
76
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
77
77
|
tmp = yield tmp;
|
|
78
78
|
var call = tmp;
|
|
79
79
|
var tmp_0 = save(call, $completion);
|
|
80
80
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
81
81
|
tmp_0 = yield tmp_0;
|
|
82
|
-
var result = tmp_0.
|
|
83
|
-
var tmp_1 = $this.
|
|
82
|
+
var result = tmp_0.y3f();
|
|
83
|
+
var tmp_1 = $this.t3w(call.y3f(), $completion);
|
|
84
84
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
85
85
|
tmp_1 = yield tmp_1;
|
|
86
86
|
return result;
|
|
@@ -94,13 +94,13 @@ function *_generator_fetchResponse__e29uk9($this, $completion) {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
function *_generator_cleanup__xwp6uo($this, _this__u8e3s4, $completion) {
|
|
97
|
-
var tmp = get_job(_this__u8e3s4.
|
|
97
|
+
var tmp = get_job(_this__u8e3s4.t1p());
|
|
98
98
|
var job = isInterface(tmp, CompletableJob()) ? tmp : THROW_CCE();
|
|
99
99
|
// Inline function 'kotlin.apply' call
|
|
100
|
-
job.
|
|
100
|
+
job.c1w();
|
|
101
101
|
if (!get_isSaved(_this__u8e3s4)) {
|
|
102
102
|
try {
|
|
103
|
-
cancel(_this__u8e3s4.
|
|
103
|
+
cancel(_this__u8e3s4.j3i());
|
|
104
104
|
} catch ($p) {
|
|
105
105
|
if ($p instanceof Error) {
|
|
106
106
|
var _unused_var__etf5q3 = $p;
|
|
@@ -109,7 +109,7 @@ function *_generator_cleanup__xwp6uo($this, _this__u8e3s4, $completion) {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
var tmp_0 = job.
|
|
112
|
+
var tmp_0 = job.a1r($completion);
|
|
113
113
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
114
114
|
tmp_0 = yield tmp_0;
|
|
115
115
|
return Unit_instance;
|
|
@@ -119,26 +119,26 @@ function HttpStatement() {
|
|
|
119
119
|
if (HttpStatementClass === VOID) {
|
|
120
120
|
class $ {
|
|
121
121
|
constructor(builder, client) {
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
122
|
+
this.q3w_1 = builder;
|
|
123
|
+
this.r3w_1 = client;
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
u3w(block, $completion) {
|
|
126
126
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_execute__d6syw1.bind(VOID, this, block), $completion);
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
return this.
|
|
128
|
+
v3w($completion) {
|
|
129
|
+
return this.w3w($completion);
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
s3w($completion) {
|
|
132
132
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_fetchStreamingResponse__ig8osh.bind(VOID, this), $completion);
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
w3w($completion) {
|
|
135
135
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_fetchResponse__e29uk9.bind(VOID, this), $completion);
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
t3w(_this__u8e3s4, $completion) {
|
|
138
138
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_cleanup__xwp6uo.bind(VOID, this, _this__u8e3s4), $completion);
|
|
139
139
|
}
|
|
140
140
|
toString() {
|
|
141
|
-
return 'HttpStatement[' + this.
|
|
141
|
+
return 'HttpStatement[' + this.q3w_1.b3g_1.toString() + ']';
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
initMetadataForClass($, 'HttpStatement', VOID, VOID, VOID, [1, 0]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/statement/HttpStatement.kt","../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/plugins/HttpTimeout.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-execute>","block","$completion","response","cause","<generator-fetchStreamingResponse>","builder","call","<generator-fetchResponse>","result","<generator-cleanup>","<this>","job","<unused var>","client","execute","fetchStreamingResponse","fetchResponse","cleanup","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;oCAqDmBA,CAAA,K,EAAgBC,K,EAAhBC,WAAAF,EAAmE;A;;IC8PlF,IAAI;A,UAhPN,4B;;;UADiGG,c;;MAEtE,I;YAAyB,cAAM,QAAN,c;;;QAAP,Y;eAAyC;A,YAAuB,QAAT,KAAS,KAAT,QAAS,c;;;;IAiP3G,C;iDAAuC;A,YAA9BC,U;QACL,MAAY,4BAAN,KAAM,C;MAChB,C;;;;;AD1PA,C;mDAqFiBC,CAAA,K,EAAAH,WAAAG,EAA6C;A;ECiK9D,IAAI;A,QA1JmEC,UAChD,mCACnB,KADmB,CACnB,KADmB,C;IACM,aAAR,OAAQ,C;QAC9B,MADiE,KACjE,CADiE,KACjE,KAEH,OAFG,c;;;QADsDC,U;IAGxC,OAAO,IAAK,M;EAuJzB,C;+CAAuC;A,UAA9BH,U;MACL,MAAY,4BAAN,KAAM,C;IAChB,C;;;;AD/JA,C;0CAOiBI,CAAA,K,EAAAN,WAAAM,EAAoC;A;ECoJrD,IAAI;A,QAhJLF,UAAmC,mCAA6B,KAA7B,CAA6B,KAA7B,C;QAC7B,MAAP,KAAO,CAAP,KAAO,KAAQ,OAAR,c;;;QAD4EC,U;QAU3E,aAAL,IAAK,c;;;QADSE,SACF,W;QAA+B,QAAd,KAAc,KAAd,IAAK,MAAS,c;;;IAC5C,OAAO,M;EAuIP,C;+CAAuC;A,UAA9BL,U;MACL,MAAY,4BAAN,KAAM,C;IAChB,C;;;;AD9IA,C;oCAOiBM,CAAA,K,EAAIC,a,EAAJT,WAAAQ,EAA2B;A,YACb,QAAjB,
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/statement/HttpStatement.kt","../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/plugins/HttpTimeout.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-execute>","block","$completion","response","cause","<generator-fetchStreamingResponse>","builder","call","<generator-fetchResponse>","result","<generator-cleanup>","<this>","job","<unused var>","client","execute","fetchStreamingResponse","fetchResponse","cleanup","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;oCAqDmBA,CAAA,K,EAAgBC,K,EAAhBC,WAAAF,EAAmE;A;;IC8PlF,IAAI;A,UAhPN,4B;;;UADiGG,c;;MAEtE,I;YAAyB,cAAM,QAAN,c;;;QAAP,Y;eAAyC;A,YAAuB,QAAT,KAAS,KAAT,QAAS,c;;;;IAiP3G,C;iDAAuC;A,YAA9BC,U;QACL,MAAY,4BAAN,KAAM,C;MAChB,C;;;;;AD1PA,C;mDAqFiBC,CAAA,K,EAAAH,WAAAG,EAA6C;A;ECiK9D,IAAI;A,QA1JmEC,UAChD,mCACnB,KADmB,CACnB,KADmB,C;IACM,aAAR,OAAQ,C;QAC9B,MADiE,KACjE,CADiE,KACjE,KAEH,OAFG,c;;;QADsDC,U;IAGxC,OAAO,IAAK,M;EAuJzB,C;+CAAuC;A,UAA9BH,U;MACL,MAAY,4BAAN,KAAM,C;IAChB,C;;;;AD/JA,C;0CAOiBI,CAAA,K,EAAAN,WAAAM,EAAoC;A;ECoJrD,IAAI;A,QAhJLF,UAAmC,mCAA6B,KAA7B,CAA6B,KAA7B,C;QAC7B,MAAP,KAAO,CAAP,KAAO,KAAQ,OAAR,c;;;QAD4EC,U;QAU3E,aAAL,IAAK,c;;;QADSE,SACF,W;QAA+B,QAAd,KAAc,KAAd,IAAK,MAAS,c;;;IAC5C,OAAO,M;EAuIP,C;+CAAuC;A,UAA9BL,U;MACL,MAAY,4BAAN,KAAM,C;IAChB,C;;;;AD9IA,C;oCAOiBM,CAAA,K,EAAIC,a,EAAJT,WAAAQ,EAA2B;A,YACb,QAAjB,mBAAiB,C;MAA3BE,2CAAU,GAAVA,c;;EAEA,GACI,M;EAGI,KAAC,0BAAD,C,CAAU;A,IACV,IAAI;A,MACW,OAAX,mBAAW,C;IACf,C;+BAAuB;A,YAAdC,wB;MACT,C;;;;EACJ,C;MACA,QAVJ,GAUI,iB;;;EAER,oB;AAAA,C;;;;;kBAhKQP,O,EAECQ,M;QAFT,oB;QACA,mB;;SAqBeC,CAAgBd,K,EAAhBC,WAAAa,E;;O;SAuBAA,CAAAb,WAAAa,EAA8B;A,QAAc,OAAd,qB;MAAc,C;SAsE1CC,CAAAd,WAAAc,E;;O;SAaAC,CAAAf,WAAAe,E;;O;SAiBAC,CAAIP,a,EAAJT,WAAAgB,E;;O;cAiBRC,CAAAA,EAAyB;A,QAA+B,OAA9B,gBAA8B,GAAd,IAAc,CAAd,KAAc,CAAN,KAAM,cAAF,G;MAAC,C;;;;;;;;;;;"}
|
|
@@ -23,42 +23,42 @@ import { initMetadataForLambda3af3he42mmnh as initMetadataForLambda } from '../.
|
|
|
23
23
|
//endregion
|
|
24
24
|
function observable(_this__u8e3s4, context, contentLength, listener) {
|
|
25
25
|
var tmp = GlobalScope_instance;
|
|
26
|
-
return writer(tmp, context, true, observable$slambda_0(_this__u8e3s4, listener, contentLength)).
|
|
26
|
+
return writer(tmp, context, true, observable$slambda_0(_this__u8e3s4, listener, contentLength)).m2n_1;
|
|
27
27
|
}
|
|
28
28
|
function *_generator_invoke__zhh2q8($this, $this$writer, $completion) {
|
|
29
29
|
var tmp0 = get_ByteArrayPool();
|
|
30
30
|
$l$block: {
|
|
31
31
|
// Inline function 'io.ktor.utils.io.pool.useInstance' call
|
|
32
|
-
var instance = tmp0.
|
|
32
|
+
var instance = tmp0.a2p();
|
|
33
33
|
try {
|
|
34
34
|
var bytesSend = 0n;
|
|
35
|
-
$l$loop: while (!$this.
|
|
36
|
-
var tmp = readAvailable($this.
|
|
35
|
+
$l$loop: while (!$this.x3w_1.k2m()) {
|
|
36
|
+
var tmp = readAvailable($this.x3w_1, instance, VOID, VOID, $completion);
|
|
37
37
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
38
38
|
tmp = yield tmp;
|
|
39
39
|
var read = tmp;
|
|
40
40
|
if (read <= 0)
|
|
41
41
|
continue $l$loop;
|
|
42
|
-
var tmp_0 = writeFully($this$writer.
|
|
42
|
+
var tmp_0 = writeFully($this$writer.o2n_1, instance, 0, read, $completion);
|
|
43
43
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
44
44
|
tmp_0 = yield tmp_0;
|
|
45
45
|
// Inline function 'kotlin.Long.plus' call
|
|
46
46
|
var this_0 = bytesSend;
|
|
47
47
|
bytesSend = add(this_0, fromInt(read));
|
|
48
|
-
var tmp_1 = $this.
|
|
48
|
+
var tmp_1 = $this.y3w_1.i3k(bytesSend, $this.z3w_1, $completion);
|
|
49
49
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
50
50
|
tmp_1 = yield tmp_1;
|
|
51
51
|
}
|
|
52
|
-
var closedCause = $this.
|
|
53
|
-
close($this$writer.
|
|
52
|
+
var closedCause = $this.x3w_1.i2m();
|
|
53
|
+
close($this$writer.o2n_1, closedCause);
|
|
54
54
|
if (closedCause == null && bytesSend === 0n) {
|
|
55
|
-
var tmp_2 = $this.
|
|
55
|
+
var tmp_2 = $this.y3w_1.i3k(bytesSend, $this.z3w_1, $completion);
|
|
56
56
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
57
57
|
tmp_2 = yield tmp_2;
|
|
58
58
|
}
|
|
59
59
|
break $l$block;
|
|
60
60
|
}finally {
|
|
61
|
-
tmp0.
|
|
61
|
+
tmp0.b2p(instance);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
return Unit_instance;
|
|
@@ -68,15 +68,15 @@ function observable$slambda() {
|
|
|
68
68
|
if (observable$slambdaClass === VOID) {
|
|
69
69
|
class $ {
|
|
70
70
|
constructor($this_observable, $listener, $contentLength) {
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
71
|
+
this.x3w_1 = $this_observable;
|
|
72
|
+
this.y3w_1 = $listener;
|
|
73
|
+
this.z3w_1 = $contentLength;
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
s3b($this$writer, $completion) {
|
|
76
76
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$writer), $completion);
|
|
77
77
|
}
|
|
78
78
|
bd(p1, $completion) {
|
|
79
|
-
return this.
|
|
79
|
+
return this.s3b(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -86,7 +86,7 @@ function observable$slambda() {
|
|
|
86
86
|
}
|
|
87
87
|
function observable$slambda_0($this_observable, $listener, $contentLength) {
|
|
88
88
|
var i = new (observable$slambda())($this_observable, $listener, $contentLength);
|
|
89
|
-
var l = ($this$writer, $completion) => i.
|
|
89
|
+
var l = ($this$writer, $completion) => i.s3b($this$writer, $completion);
|
|
90
90
|
l.$arity = 1;
|
|
91
91
|
return l;
|
|
92
92
|
}
|
|
@@ -35,8 +35,8 @@ function HttpResponseReceiveFail() {
|
|
|
35
35
|
if (HttpResponseReceiveFailClass === VOID) {
|
|
36
36
|
class $ {
|
|
37
37
|
constructor(response, cause) {
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
38
|
+
this.a3x_1 = response;
|
|
39
|
+
this.b3x_1 = cause;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
initMetadataForClass($, 'HttpResponseReceiveFail');
|
|
@@ -13,10 +13,10 @@ function EmptyContent() {
|
|
|
13
13
|
EmptyContent_instance = null;
|
|
14
14
|
super();
|
|
15
15
|
EmptyContent_instance = this;
|
|
16
|
-
this.
|
|
16
|
+
this.d3x_1 = 0n;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
return this.
|
|
18
|
+
y38() {
|
|
19
|
+
return this.d3x_1;
|
|
20
20
|
}
|
|
21
21
|
toString() {
|
|
22
22
|
return 'EmptyContent';
|
|
@@ -25,18 +25,18 @@ var DecompressionListAttribute;
|
|
|
25
25
|
function dropCompressionHeaders(_this__u8e3s4, method, attributes, alwaysRemove) {
|
|
26
26
|
alwaysRemove = alwaysRemove === VOID ? false : alwaysRemove;
|
|
27
27
|
_init_properties_HeadersUtils_kt__fb6dxx();
|
|
28
|
-
if (method.equals(Companion_getInstance().
|
|
28
|
+
if (method.equals(Companion_getInstance().n33_1) || method.equals(Companion_getInstance().o33_1))
|
|
29
29
|
return Unit_instance;
|
|
30
|
-
var header = _this__u8e3s4.
|
|
30
|
+
var header = _this__u8e3s4.j1g(HttpHeaders_getInstance().z2y_1);
|
|
31
31
|
if (header == null) {
|
|
32
32
|
if (!alwaysRemove)
|
|
33
33
|
return Unit_instance;
|
|
34
34
|
} else {
|
|
35
35
|
var tmp = get_DecompressionListAttribute();
|
|
36
|
-
attributes.
|
|
36
|
+
attributes.v2p(tmp, dropCompressionHeaders$lambda).v(header);
|
|
37
37
|
}
|
|
38
|
-
_this__u8e3s4.
|
|
39
|
-
_this__u8e3s4.
|
|
38
|
+
_this__u8e3s4.r2r(HttpHeaders_getInstance().z2y_1);
|
|
39
|
+
_this__u8e3s4.r2r(HttpHeaders_getInstance().b2z_1);
|
|
40
40
|
}
|
|
41
41
|
function dropCompressionHeaders$lambda() {
|
|
42
42
|
_init_properties_HeadersUtils_kt__fb6dxx();
|
|
@@ -24,22 +24,22 @@ function Events() {
|
|
|
24
24
|
if (EventsClass === VOID) {
|
|
25
25
|
class $ {
|
|
26
26
|
constructor() {
|
|
27
|
-
this.
|
|
27
|
+
this.m2v_1 = new (CopyOnWriteHashMap())();
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
n2v(definition, value) {
|
|
30
30
|
var exception = null;
|
|
31
|
-
var tmp0_safe_receiver = this.
|
|
31
|
+
var tmp0_safe_receiver = this.m2v_1.a2s(definition);
|
|
32
32
|
if (tmp0_safe_receiver == null)
|
|
33
33
|
null;
|
|
34
34
|
else {
|
|
35
35
|
// Inline function 'io.ktor.util.internal.LockFreeLinkedListHead.forEach' call
|
|
36
|
-
var tmp = tmp0_safe_receiver.
|
|
36
|
+
var tmp = tmp0_safe_receiver.b22();
|
|
37
37
|
var cur = tmp instanceof LockFreeLinkedListNode() ? tmp : THROW_CCE();
|
|
38
38
|
while (!equals(cur, tmp0_safe_receiver)) {
|
|
39
39
|
if (cur instanceof HandlerRegistration()) {
|
|
40
40
|
var registration = cur;
|
|
41
41
|
try {
|
|
42
|
-
var tmp_0 = registration.
|
|
42
|
+
var tmp_0 = registration.p2v_1;
|
|
43
43
|
(typeof tmp_0 === 'function' ? tmp_0 : THROW_CCE())(value);
|
|
44
44
|
} catch ($p) {
|
|
45
45
|
if ($p instanceof Error) {
|
|
@@ -61,7 +61,7 @@ function Events() {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
cur = cur.
|
|
64
|
+
cur = cur.z2s();
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
var tmp1_safe_receiver = exception;
|
|
@@ -88,9 +88,9 @@ var URLDecodeExceptionClass;
|
|
|
88
88
|
function URLDecodeException() {
|
|
89
89
|
if (URLDecodeExceptionClass === VOID) {
|
|
90
90
|
class $ extends Exception() {
|
|
91
|
-
static
|
|
91
|
+
static s2v(message) {
|
|
92
92
|
var $this = this.gd(message);
|
|
93
|
-
captureStack($this, $this.
|
|
93
|
+
captureStack($this, $this.r2v_1);
|
|
94
94
|
return $this;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -102,7 +102,7 @@ function URLDecodeException() {
|
|
|
102
102
|
function decodeURLPart(_this__u8e3s4, start, end, charset) {
|
|
103
103
|
start = start === VOID ? 0 : start;
|
|
104
104
|
end = end === VOID ? _this__u8e3s4.length : end;
|
|
105
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
105
|
+
charset = charset === VOID ? Charsets_getInstance().l2o_1 : charset;
|
|
106
106
|
_init_properties_Codecs_kt__fudxxf();
|
|
107
107
|
return decodeScan(_this__u8e3s4, start, end, false, charset);
|
|
108
108
|
}
|
|
@@ -147,12 +147,12 @@ function decodeImpl(_this__u8e3s4, start, end, prefixEnd, plusIsSpace, charset)
|
|
|
147
147
|
var startIndex = index;
|
|
148
148
|
var endIndex = charSequenceLength(_this__u8e3s4);
|
|
149
149
|
var tmp$ret$0 = toString(charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex));
|
|
150
|
-
throw URLDecodeException().
|
|
150
|
+
throw URLDecodeException().s2v('Incomplete trailing HEX escape: ' + tmp$ret$0 + ', in ' + toString(_this__u8e3s4) + ' at ' + index);
|
|
151
151
|
}
|
|
152
152
|
var digit1 = charToHexDigit(charSequenceGet(_this__u8e3s4, index + 1 | 0));
|
|
153
153
|
var digit2 = charToHexDigit(charSequenceGet(_this__u8e3s4, index + 2 | 0));
|
|
154
154
|
if (digit1 === -1 || digit2 === -1) {
|
|
155
|
-
throw URLDecodeException().
|
|
155
|
+
throw URLDecodeException().s2v('Wrong HEX escape: %' + toString_0(charSequenceGet(_this__u8e3s4, index + 1 | 0)) + toString_0(charSequenceGet(_this__u8e3s4, index + 2 | 0)) + ', in ' + toString(_this__u8e3s4) + ', at ' + index);
|
|
156
156
|
}
|
|
157
157
|
var tmp = bytes;
|
|
158
158
|
var _unary__edvuaz = count;
|
|
@@ -176,7 +176,7 @@ function decodeURLQueryComponent(_this__u8e3s4, start, end, plusIsSpace, charset
|
|
|
176
176
|
start = start === VOID ? 0 : start;
|
|
177
177
|
end = end === VOID ? _this__u8e3s4.length : end;
|
|
178
178
|
plusIsSpace = plusIsSpace === VOID ? false : plusIsSpace;
|
|
179
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
179
|
+
charset = charset === VOID ? Charsets_getInstance().l2o_1 : charset;
|
|
180
180
|
_init_properties_Codecs_kt__fudxxf();
|
|
181
181
|
return decodeScan(_this__u8e3s4, start, end, plusIsSpace, charset);
|
|
182
182
|
}
|
|
@@ -186,19 +186,19 @@ function encodeURLParameter(_this__u8e3s4, spaceToPlus) {
|
|
|
186
186
|
// Inline function 'kotlin.text.buildString' call
|
|
187
187
|
// Inline function 'kotlin.apply' call
|
|
188
188
|
var this_0 = StringBuilder().a1();
|
|
189
|
-
var content = encode(Charsets_getInstance().
|
|
189
|
+
var content = encode(Charsets_getInstance().l2o_1.p2o(), _this__u8e3s4);
|
|
190
190
|
forEach(content, encodeURLParameter$lambda(this_0, spaceToPlus));
|
|
191
191
|
return this_0.toString();
|
|
192
192
|
}
|
|
193
193
|
function encodeURLQueryComponent(_this__u8e3s4, encodeFull, spaceToPlus, charset) {
|
|
194
194
|
encodeFull = encodeFull === VOID ? false : encodeFull;
|
|
195
195
|
spaceToPlus = spaceToPlus === VOID ? false : spaceToPlus;
|
|
196
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
196
|
+
charset = charset === VOID ? Charsets_getInstance().l2o_1 : charset;
|
|
197
197
|
_init_properties_Codecs_kt__fudxxf();
|
|
198
198
|
// Inline function 'kotlin.text.buildString' call
|
|
199
199
|
// Inline function 'kotlin.apply' call
|
|
200
200
|
var this_0 = StringBuilder().a1();
|
|
201
|
-
var content = encode(charset.
|
|
201
|
+
var content = encode(charset.p2o(), _this__u8e3s4);
|
|
202
202
|
forEach(content, encodeURLQueryComponent$lambda(spaceToPlus, this_0, encodeFull));
|
|
203
203
|
return this_0.toString();
|
|
204
204
|
}
|
|
@@ -234,7 +234,7 @@ function encodeURLPath(_this__u8e3s4, encodeSlash, encodeEncoded) {
|
|
|
234
234
|
// Inline function 'kotlin.text.buildString' call
|
|
235
235
|
// Inline function 'kotlin.apply' call
|
|
236
236
|
var this_0 = StringBuilder().a1();
|
|
237
|
-
var charset = Charsets_getInstance().
|
|
237
|
+
var charset = Charsets_getInstance().l2o_1;
|
|
238
238
|
var index = 0;
|
|
239
239
|
$l$loop_0: while (index < _this__u8e3s4.length) {
|
|
240
240
|
var current = charCodeAt(_this__u8e3s4, index);
|
|
@@ -251,7 +251,7 @@ function encodeURLPath(_this__u8e3s4, encodeSlash, encodeEncoded) {
|
|
|
251
251
|
continue $l$loop_0;
|
|
252
252
|
}
|
|
253
253
|
var symbolSize = isSurrogate(current) ? 2 : 1;
|
|
254
|
-
var tmp = encode(charset.
|
|
254
|
+
var tmp = encode(charset.p2o(), _this__u8e3s4, index, index + symbolSize | 0);
|
|
255
255
|
forEach(tmp, encodeURLPath$lambda(this_0));
|
|
256
256
|
index = index + symbolSize | 0;
|
|
257
257
|
}
|
|
@@ -305,7 +305,7 @@ function encodeURLQueryComponent$lambda($spaceToPlus, $$this$buildString, $encod
|
|
|
305
305
|
function forEach$lambda($block) {
|
|
306
306
|
return (buffer) => {
|
|
307
307
|
while (canRead(buffer)) {
|
|
308
|
-
$block(buffer.
|
|
308
|
+
$block(buffer.h2h());
|
|
309
309
|
}
|
|
310
310
|
return true;
|
|
311
311
|
};
|