@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
|
@@ -73,7 +73,7 @@ function *_generator_execute__d6syw1($this, data, $completion) {
|
|
|
73
73
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74
74
|
tmp = yield tmp;
|
|
75
75
|
var callContext_0 = tmp;
|
|
76
|
-
var clientConfig = data.
|
|
76
|
+
var clientConfig = data.x3k_1.q2p(get_CLIENT_CONFIG());
|
|
77
77
|
if (isUpgradeRequest(data)) {
|
|
78
78
|
var tmp_0 = executeWebSocketRequest($this, data, callContext_0, $completion);
|
|
79
79
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
@@ -85,8 +85,8 @@ function *_generator_execute__d6syw1($this, data, $completion) {
|
|
|
85
85
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
86
86
|
tmp_1 = yield tmp_1;
|
|
87
87
|
var rawRequest = tmp_1;
|
|
88
|
-
var tmp0_safe_receiver = data.
|
|
89
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
88
|
+
var tmp0_safe_receiver = data.x3k_1.r2p(Companion_getInstance().e3x_1);
|
|
89
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o3x_1;
|
|
90
90
|
var tmp_2;
|
|
91
91
|
if (tmp1_elvis_lhs == null) {
|
|
92
92
|
tmp_2 = JsClientEngine$execute$lambda;
|
|
@@ -94,28 +94,28 @@ function *_generator_execute__d6syw1($this, data, $completion) {
|
|
|
94
94
|
tmp_2 = tmp1_elvis_lhs;
|
|
95
95
|
}
|
|
96
96
|
var fetchOptions = tmp_2;
|
|
97
|
-
var tmp_3 = commonFetch(data.
|
|
97
|
+
var tmp_3 = commonFetch(data.s3k_1.toString(), rawRequest, fetchOptions, $this.t3x_1, get_job(callContext_0), $completion);
|
|
98
98
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
99
99
|
tmp_3 = yield tmp_3;
|
|
100
100
|
var rawResponse = tmp_3;
|
|
101
101
|
var status = new (HttpStatusCode())(rawResponse.status, rawResponse.statusText);
|
|
102
|
-
var headers = mapToKtor(rawResponse.headers, data.
|
|
103
|
-
var version = Companion_getInstance_1().
|
|
102
|
+
var headers = mapToKtor(rawResponse.headers, data.t3k_1, data.x3k_1);
|
|
103
|
+
var version = Companion_getInstance_1().t33_1;
|
|
104
104
|
var body = readBody(CoroutineScope(callContext_0), rawResponse);
|
|
105
|
-
var tmp2_safe_receiver = data.
|
|
106
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
105
|
+
var tmp2_safe_receiver = data.x3k_1.r2p(get_ResponseAdapterAttributeKey());
|
|
106
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.b3v(data, status, headers, body, data.v3k_1, callContext_0);
|
|
107
107
|
var responseBody = tmp3_elvis_lhs == null ? body : tmp3_elvis_lhs;
|
|
108
108
|
return new (HttpResponseData())(status, requestTime, headers, version, responseBody, callContext_0);
|
|
109
109
|
}
|
|
110
110
|
function *_generator_createWebSocket__urhgaf($this, urlString_capturingHack, headers, $completion) {
|
|
111
111
|
// Inline function 'kotlin.collections.filter' call
|
|
112
|
-
var tmp0 = headers.
|
|
112
|
+
var tmp0 = headers.l2r();
|
|
113
113
|
// Inline function 'kotlin.collections.filterTo' call
|
|
114
114
|
var destination = ArrayList().r1();
|
|
115
115
|
var _iterator__ex2g4s = tmp0.k1();
|
|
116
116
|
while (_iterator__ex2g4s.l1()) {
|
|
117
117
|
var element = _iterator__ex2g4s.m1();
|
|
118
|
-
if (equals(element, HttpHeaders_getInstance().
|
|
118
|
+
if (equals(element, HttpHeaders_getInstance().z30_1, true)) {
|
|
119
119
|
destination.v(element);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -127,7 +127,7 @@ function *_generator_createWebSocket__urhgaf($this, urlString_capturingHack, hea
|
|
|
127
127
|
var _iterator__ex2g4s_0 = protocolHeaderNames.k1();
|
|
128
128
|
while (_iterator__ex2g4s_0.l1()) {
|
|
129
129
|
var element_0 = _iterator__ex2g4s_0.m1();
|
|
130
|
-
var tmp0_safe_receiver = headers.
|
|
130
|
+
var tmp0_safe_receiver = headers.k2r(element_0);
|
|
131
131
|
if (tmp0_safe_receiver == null)
|
|
132
132
|
null;
|
|
133
133
|
else {
|
|
@@ -139,7 +139,7 @@ function *_generator_createWebSocket__urhgaf($this, urlString_capturingHack, hea
|
|
|
139
139
|
var this_0 = flatten(destination_0);
|
|
140
140
|
var protocols = copyToArray(this_0);
|
|
141
141
|
var tmp;
|
|
142
|
-
if (PlatformUtils_getInstance().
|
|
142
|
+
if (PlatformUtils_getInstance().w2q_1) {
|
|
143
143
|
tmp = new WebSocket(urlString_capturingHack, protocols);
|
|
144
144
|
} else {
|
|
145
145
|
var ws_import = import('ws');
|
|
@@ -148,7 +148,7 @@ function *_generator_createWebSocket__urhgaf($this, urlString_capturingHack, hea
|
|
|
148
148
|
tmp_0 = yield tmp_0;
|
|
149
149
|
var ws_capturingHack = tmp_0.default;
|
|
150
150
|
var headers_capturingHack = new (JsClientEngine$createWebSocket$headers_capturingHack$1())();
|
|
151
|
-
headers.
|
|
151
|
+
headers.q2r(JsClientEngine$createWebSocket$lambda(headers_capturingHack));
|
|
152
152
|
tmp = new ws_capturingHack(urlString_capturingHack, protocols, {headers: headers_capturingHack});
|
|
153
153
|
}
|
|
154
154
|
return tmp;
|
|
@@ -158,8 +158,8 @@ function createWebSocket($this, urlString_capturingHack, headers, $completion) {
|
|
|
158
158
|
}
|
|
159
159
|
function *_generator_executeWebSocketRequest__7f0rb($this, request, callContext, $completion) {
|
|
160
160
|
var requestTime = GMTDate();
|
|
161
|
-
var urlString = request.
|
|
162
|
-
var tmp = createWebSocket($this, urlString, request.
|
|
161
|
+
var urlString = request.s3k_1.toString();
|
|
162
|
+
var tmp = createWebSocket($this, urlString, request.u3k_1, $completion);
|
|
163
163
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
164
164
|
tmp = yield tmp;
|
|
165
165
|
var socket = tmp;
|
|
@@ -187,8 +187,8 @@ function *_generator_executeWebSocketRequest__7f0rb($this, request, callContext,
|
|
|
187
187
|
tmp_1 = null;
|
|
188
188
|
}
|
|
189
189
|
var protocol = tmp_1;
|
|
190
|
-
var headers = !(protocol == null) ? headersOf(HttpHeaders_getInstance().
|
|
191
|
-
return new (HttpResponseData())(Companion_getInstance_0().
|
|
190
|
+
var headers = !(protocol == null) ? headersOf(HttpHeaders_getInstance().z30_1, protocol) : Companion_getInstance_2().l32_1;
|
|
191
|
+
return new (HttpResponseData())(Companion_getInstance_0().b34_1, requestTime, headers, Companion_getInstance_1().t33_1, session, callContext);
|
|
192
192
|
}
|
|
193
193
|
function executeWebSocketRequest($this, request, callContext, $completion) {
|
|
194
194
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_executeWebSocketRequest__7f0rb.bind(VOID, $this, request, callContext), $completion);
|
|
@@ -217,21 +217,21 @@ function JsClientEngine() {
|
|
|
217
217
|
class $ extends HttpClientEngineBase() {
|
|
218
218
|
constructor(config) {
|
|
219
219
|
super('ktor-js');
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
220
|
+
this.t3x_1 = config;
|
|
221
|
+
this.u3x_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, SSECapability_instance]);
|
|
222
222
|
// Inline function 'kotlin.check' call
|
|
223
|
-
if (!(this.
|
|
223
|
+
if (!(this.t3x_1.m3l_1 == null)) {
|
|
224
224
|
var message = 'Proxy unsupported in Js engine.';
|
|
225
225
|
throw IllegalStateException().w4(toString(message));
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
|
|
229
|
-
return this.
|
|
228
|
+
k3g() {
|
|
229
|
+
return this.t3x_1;
|
|
230
230
|
}
|
|
231
|
-
|
|
232
|
-
return this.
|
|
231
|
+
z3k() {
|
|
232
|
+
return this.u3x_1;
|
|
233
233
|
}
|
|
234
|
-
|
|
234
|
+
i3l(data, $completion) {
|
|
235
235
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_execute__d6syw1.bind(VOID, this, data), $completion);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
@@ -245,17 +245,17 @@ function mapToKtor(_this__u8e3s4, method, attributes) {
|
|
|
245
245
|
}
|
|
246
246
|
function awaitConnection(_this__u8e3s4, $completion) {
|
|
247
247
|
var cancellable = new (CancellableContinuationImpl())(intercepted($completion), 1);
|
|
248
|
-
cancellable.
|
|
248
|
+
cancellable.h1u();
|
|
249
249
|
$l$block: {
|
|
250
|
-
if (cancellable.
|
|
250
|
+
if (cancellable.q1q()) {
|
|
251
251
|
break $l$block;
|
|
252
252
|
}
|
|
253
253
|
var eventListener = awaitConnection$lambda(cancellable, _this__u8e3s4);
|
|
254
254
|
_this__u8e3s4.addEventListener('open', eventListener);
|
|
255
255
|
_this__u8e3s4.addEventListener('error', eventListener);
|
|
256
|
-
cancellable.
|
|
256
|
+
cancellable.o1s(awaitConnection$lambda_0(_this__u8e3s4, eventListener));
|
|
257
257
|
}
|
|
258
|
-
return cancellable.
|
|
258
|
+
return cancellable.p1u();
|
|
259
259
|
}
|
|
260
260
|
function asString(_this__u8e3s4) {
|
|
261
261
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -271,7 +271,7 @@ function asString(_this__u8e3s4) {
|
|
|
271
271
|
}
|
|
272
272
|
function mapToKtor$lambda$lambda($this_buildHeaders) {
|
|
273
273
|
return (value, key) => {
|
|
274
|
-
$this_buildHeaders.
|
|
274
|
+
$this_buildHeaders.o2r(key, value);
|
|
275
275
|
return Unit_instance;
|
|
276
276
|
};
|
|
277
277
|
}
|
|
@@ -279,7 +279,7 @@ function mapToKtor$lambda($this_mapToKtor, $method, $attributes) {
|
|
|
279
279
|
return ($this$buildHeaders) => {
|
|
280
280
|
// Inline function 'kotlin.js.asDynamic' call
|
|
281
281
|
$this_mapToKtor.forEach(mapToKtor$lambda$lambda($this$buildHeaders));
|
|
282
|
-
dropCompressionHeaders($this$buildHeaders, $method, $attributes, PlatformUtils_getInstance().
|
|
282
|
+
dropCompressionHeaders($this$buildHeaders, $method, $attributes, PlatformUtils_getInstance().w2q_1);
|
|
283
283
|
return Unit_instance;
|
|
284
284
|
};
|
|
285
285
|
}
|
|
@@ -299,7 +299,7 @@ function awaitConnection$lambda($continuation, $this_awaitConnection) {
|
|
|
299
299
|
var tmp0_0 = $continuation;
|
|
300
300
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
301
301
|
// Inline function 'kotlin.Companion.failure' call
|
|
302
|
-
var exception = WebSocketException().
|
|
302
|
+
var exception = WebSocketException().u3u(asString(event));
|
|
303
303
|
var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
304
304
|
tmp0_0.vb(tmp$ret$2);
|
|
305
305
|
tmp = Unit_instance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/js/src/io/ktor/client/engine/js/JsClientEngine.kt","common/src/generated/_Collections.kt","js/src/kotlin/collectionJs.kt","JsClientEngine.kt","src/kotlin/util/Standard.kt","src/kotlin/text/Strings.kt","src/kotlin/util/Preconditions.kt","../../../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuation.kt","src/kotlin/text/StringBuilder.kt","js/builtins/Library.kt","src/kotlin/util/Result.kt","src/kotlin/coroutines/Continuation.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-execute>","data","$completion","callContext","clientConfig","requestTime","rawRequest","fetchOptions","rawResponse","status","headers","version","body","responseBody","<generator-createWebSocket>","urlString_capturingHack","element","protocolHeaderNames","protocols","ws_import","ws_capturingHack","headers_capturingHack","createWebSocket","<generator-executeWebSocketRequest>","request","urlString","socket","session","cause","protocol","executeWebSocketRequest","JsClientEngine$execute$lambda","JsClientEngine$createWebSocket$lambda","$headers_capturingHack","JsClientEngine$createWebSocket$lambda$lambda","config","message","<get-config>","<get-supportedCapabilities>","execute","mapToKtor","<this>","method","attributes","awaitConnection","cancellable","eventListener","asString","mapToKtor$lambda$lambda","$this_buildHeaders","mapToKtor$lambda$lambda$lambda","mapToKtor$lambda","$method","$attributes","awaitConnection$lambda","awaitConnection$lambda$lambda","$eventListener"],"mappings":"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
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/js/src/io/ktor/client/engine/js/JsClientEngine.kt","common/src/generated/_Collections.kt","js/src/kotlin/collectionJs.kt","JsClientEngine.kt","src/kotlin/util/Standard.kt","src/kotlin/text/Strings.kt","src/kotlin/util/Preconditions.kt","../../../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuation.kt","src/kotlin/text/StringBuilder.kt","js/builtins/Library.kt","src/kotlin/util/Result.kt","src/kotlin/coroutines/Continuation.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-execute>","data","$completion","callContext","clientConfig","requestTime","rawRequest","fetchOptions","rawResponse","status","headers","version","body","responseBody","<generator-createWebSocket>","urlString_capturingHack","element","protocolHeaderNames","protocols","ws_import","ws_capturingHack","headers_capturingHack","createWebSocket","<generator-executeWebSocketRequest>","request","urlString","socket","session","cause","protocol","executeWebSocketRequest","JsClientEngine$execute$lambda","JsClientEngine$createWebSocket$lambda","$headers_capturingHack","JsClientEngine$createWebSocket$lambda$lambda","config","message","<get-config>","<get-supportedCapabilities>","execute","mapToKtor","<this>","method","attributes","awaitConnection","cancellable","eventListener","asString","mapToKtor$lambda$lambda","$this_buildHeaders","mapToKtor$lambda$lambda$lambda","mapToKtor$lambda","$method","$attributes","awaitConnection$lambda","awaitConnection$lambda$lambda","$eventListener"],"mappings":"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"}
|
|
@@ -35,9 +35,9 @@ import { initMetadataForLambda3af3he42mmnh as initMetadataForLambda } from '../.
|
|
|
35
35
|
function *_generator_toRaw__vjyxt3(_this__u8e3s4, clientConfig, callContext, $completion) {
|
|
36
36
|
var jsHeaders = {};
|
|
37
37
|
// Inline function 'io.ktor.client.request.forEachHeader' call
|
|
38
|
-
var skipContentLengthHeader = !get_supportsRequestBody(_this__u8e3s4.
|
|
39
|
-
mergeHeaders(_this__u8e3s4.
|
|
40
|
-
var tmp = getBodyBytes(_this__u8e3s4.
|
|
38
|
+
var skipContentLengthHeader = !get_supportsRequestBody(_this__u8e3s4.t3k_1) && isEmpty(_this__u8e3s4.v3k_1);
|
|
39
|
+
mergeHeaders(_this__u8e3s4.u3k_1, _this__u8e3s4.v3k_1, toRaw$lambda(skipContentLengthHeader, jsHeaders));
|
|
40
|
+
var tmp = getBodyBytes(_this__u8e3s4.v3k_1, callContext, $completion);
|
|
41
41
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
42
42
|
tmp = yield tmp;
|
|
43
43
|
var bodyBytes = tmp;
|
|
@@ -49,23 +49,23 @@ function toRaw(_this__u8e3s4, clientConfig, callContext, $completion) {
|
|
|
49
49
|
function *_generator_getBodyBytes__kitznv(content, callContext, $completion) {
|
|
50
50
|
var tmp;
|
|
51
51
|
if (content instanceof ByteArrayContent()) {
|
|
52
|
-
tmp = content.
|
|
52
|
+
tmp = content.z38();
|
|
53
53
|
} else {
|
|
54
54
|
if (content instanceof ReadChannelContent()) {
|
|
55
|
-
var tmp_0 = readRemaining(content.
|
|
55
|
+
var tmp_0 = readRemaining(content.c39(), $completion);
|
|
56
56
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
57
57
|
tmp_0 = yield tmp_0;
|
|
58
58
|
tmp = readByteArray(tmp_0);
|
|
59
59
|
} else {
|
|
60
60
|
if (content instanceof WriteChannelContent()) {
|
|
61
61
|
var tmp_1 = GlobalScope_instance;
|
|
62
|
-
var tmp_2 = readRemaining(writer(tmp_1, callContext, VOID, getBodyBytes$slambda_0(content)).
|
|
62
|
+
var tmp_2 = readRemaining(writer(tmp_1, callContext, VOID, getBodyBytes$slambda_0(content)).m2n_1, $completion);
|
|
63
63
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
64
64
|
tmp_2 = yield tmp_2;
|
|
65
65
|
tmp = readByteArray(tmp_2);
|
|
66
66
|
} else {
|
|
67
67
|
if (content instanceof ContentWrapper()) {
|
|
68
|
-
var tmp_3 = getBodyBytes(content.
|
|
68
|
+
var tmp_3 = getBodyBytes(content.i39(), callContext, $completion);
|
|
69
69
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
70
70
|
tmp_3 = yield tmp_3;
|
|
71
71
|
tmp = tmp_3;
|
|
@@ -74,7 +74,7 @@ function *_generator_getBodyBytes__kitznv(content, callContext, $completion) {
|
|
|
74
74
|
tmp = null;
|
|
75
75
|
} else {
|
|
76
76
|
if (content instanceof ProtocolUpgrade()) {
|
|
77
|
-
throw UnsupportedContentTypeException().
|
|
77
|
+
throw UnsupportedContentTypeException().h3k(content);
|
|
78
78
|
} else {
|
|
79
79
|
noWhenBranchMatchedException();
|
|
80
80
|
}
|
|
@@ -98,7 +98,7 @@ function buildObject(block) {
|
|
|
98
98
|
function toRaw$lambda($skipContentLengthHeader, $jsHeaders) {
|
|
99
99
|
return (key, value) => {
|
|
100
100
|
var tmp;
|
|
101
|
-
if ($skipContentLengthHeader && key === HttpHeaders_getInstance().
|
|
101
|
+
if ($skipContentLengthHeader && key === HttpHeaders_getInstance().b2z_1) {
|
|
102
102
|
return Unit_instance;
|
|
103
103
|
}
|
|
104
104
|
$jsHeaders[key] = value;
|
|
@@ -107,10 +107,10 @@ function toRaw$lambda($skipContentLengthHeader, $jsHeaders) {
|
|
|
107
107
|
}
|
|
108
108
|
function toRaw$lambda_0($this_toRaw, $jsHeaders, $clientConfig, $bodyBytes) {
|
|
109
109
|
return ($this$buildObject) => {
|
|
110
|
-
$this$buildObject.method = $this_toRaw.
|
|
110
|
+
$this$buildObject.method = $this_toRaw.t3k_1.q33_1;
|
|
111
111
|
$this$buildObject.headers = $jsHeaders;
|
|
112
112
|
var tmp;
|
|
113
|
-
if ($clientConfig.
|
|
113
|
+
if ($clientConfig.v3g_1) {
|
|
114
114
|
// Inline function 'org.w3c.fetch.FOLLOW' call
|
|
115
115
|
// Inline function 'kotlin.js.asDynamic' call
|
|
116
116
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -133,7 +133,7 @@ function toRaw$lambda_0($this_toRaw, $jsHeaders, $clientConfig, $bodyBytes) {
|
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
function *_generator_invoke__zhh2q8($this, $this$writer, $completion) {
|
|
136
|
-
var tmp = $this.
|
|
136
|
+
var tmp = $this.v3x_1.e39($this$writer.o2n_1, $completion);
|
|
137
137
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
138
138
|
tmp = yield tmp;
|
|
139
139
|
return Unit_instance;
|
|
@@ -143,13 +143,13 @@ function getBodyBytes$slambda() {
|
|
|
143
143
|
if (getBodyBytes$slambdaClass === VOID) {
|
|
144
144
|
class $ {
|
|
145
145
|
constructor($content) {
|
|
146
|
-
this.
|
|
146
|
+
this.v3x_1 = $content;
|
|
147
147
|
}
|
|
148
|
-
|
|
148
|
+
s3b($this$writer, $completion) {
|
|
149
149
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$writer), $completion);
|
|
150
150
|
}
|
|
151
151
|
bd(p1, $completion) {
|
|
152
|
-
return this.
|
|
152
|
+
return this.s3b(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -159,7 +159,7 @@ function getBodyBytes$slambda() {
|
|
|
159
159
|
}
|
|
160
160
|
function getBodyBytes$slambda_0($content) {
|
|
161
161
|
var i = new (getBodyBytes$slambda())($content);
|
|
162
|
-
var l = ($this$writer, $completion) => i.
|
|
162
|
+
var l = ($this$writer, $completion) => i.s3b($this$writer, $completion);
|
|
163
163
|
l.$arity = 1;
|
|
164
164
|
return l;
|
|
165
165
|
}
|
|
@@ -29,7 +29,7 @@ function readBodyBrowser(_this__u8e3s4, response) {
|
|
|
29
29
|
var tmp0_elvis_lhs = response.body;
|
|
30
30
|
var tmp;
|
|
31
31
|
if (tmp0_elvis_lhs == null) {
|
|
32
|
-
return Companion_getInstance().
|
|
32
|
+
return Companion_getInstance().b2n_1;
|
|
33
33
|
} else {
|
|
34
34
|
tmp = tmp0_elvis_lhs;
|
|
35
35
|
}
|
|
@@ -37,7 +37,7 @@ function readBodyBrowser(_this__u8e3s4, response) {
|
|
|
37
37
|
return channelFromStream(_this__u8e3s4, stream);
|
|
38
38
|
}
|
|
39
39
|
function channelFromStream(_this__u8e3s4, stream) {
|
|
40
|
-
return writer(_this__u8e3s4, VOID, VOID, channelFromStream$slambda_0(stream)).
|
|
40
|
+
return writer(_this__u8e3s4, VOID, VOID, channelFromStream$slambda_0(stream)).m2n_1;
|
|
41
41
|
}
|
|
42
42
|
function readChunk(_this__u8e3s4, $completion) {
|
|
43
43
|
var safe = SafeContinuation().mc(intercepted($completion));
|
|
@@ -47,7 +47,7 @@ function readChunk(_this__u8e3s4, $completion) {
|
|
|
47
47
|
return safe.nc();
|
|
48
48
|
}
|
|
49
49
|
function *_generator_invoke__zhh2q8($this, $this$writer, $completion) {
|
|
50
|
-
var reader = $this.
|
|
50
|
+
var reader = $this.w3x_1.getReader();
|
|
51
51
|
try {
|
|
52
52
|
$l$loop: while (true) {
|
|
53
53
|
var tmp = readChunk(reader, $completion);
|
|
@@ -61,10 +61,10 @@ function *_generator_invoke__zhh2q8($this, $this$writer, $completion) {
|
|
|
61
61
|
tmp_0 = tmp0_elvis_lhs;
|
|
62
62
|
}
|
|
63
63
|
var chunk = tmp_0;
|
|
64
|
-
var tmp_1 = writeFully($this$writer.
|
|
64
|
+
var tmp_1 = writeFully($this$writer.o2n_1, asByteArray(chunk), VOID, VOID, $completion);
|
|
65
65
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
66
66
|
tmp_1 = yield tmp_1;
|
|
67
|
-
var tmp_2 = $this$writer.
|
|
67
|
+
var tmp_2 = $this$writer.o2n_1.r2l($completion);
|
|
68
68
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
69
69
|
tmp_2 = yield tmp_2;
|
|
70
70
|
}
|
|
@@ -90,13 +90,13 @@ function channelFromStream$slambda() {
|
|
|
90
90
|
if (channelFromStream$slambdaClass === VOID) {
|
|
91
91
|
class $ {
|
|
92
92
|
constructor($stream) {
|
|
93
|
-
this.
|
|
93
|
+
this.w3x_1 = $stream;
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
s3b($this$writer, $completion) {
|
|
96
96
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$writer), $completion);
|
|
97
97
|
}
|
|
98
98
|
bd(p1, $completion) {
|
|
99
|
-
return this.
|
|
99
|
+
return this.s3b(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -106,7 +106,7 @@ function channelFromStream$slambda() {
|
|
|
106
106
|
}
|
|
107
107
|
function channelFromStream$slambda_0($stream) {
|
|
108
108
|
var i = new (channelFromStream$slambda())($stream);
|
|
109
|
-
var l = ($this$writer, $completion) => i.
|
|
109
|
+
var l = ($this$writer, $completion) => i.s3b($this$writer, $completion);
|
|
110
110
|
l.$arity = 1;
|
|
111
111
|
return l;
|
|
112
112
|
}
|
|
@@ -16,23 +16,23 @@ import { Error3ofk6owajcepa as Error_0 } from '../../../../../../../kotlin-kotli
|
|
|
16
16
|
//endregion
|
|
17
17
|
function commonFetch(input, init, requestConfig, config, callJob, $completion) {
|
|
18
18
|
var cancellable = new (CancellableContinuationImpl())(intercepted($completion), 1);
|
|
19
|
-
cancellable.
|
|
19
|
+
cancellable.h1u();
|
|
20
20
|
var controller = AbortController_0();
|
|
21
21
|
init.signal = controller.signal;
|
|
22
|
-
config.
|
|
22
|
+
config.k3x_1(init);
|
|
23
23
|
requestConfig(init);
|
|
24
|
-
callJob.
|
|
24
|
+
callJob.y1q(true, VOID, commonFetch$lambda(controller));
|
|
25
25
|
var tmp;
|
|
26
|
-
if (PlatformUtils_getInstance().
|
|
26
|
+
if (PlatformUtils_getInstance().w2q_1) {
|
|
27
27
|
tmp = fetch(input, init);
|
|
28
28
|
} else {
|
|
29
|
-
var options = Object.assign(Object.create(null), init, config.
|
|
29
|
+
var options = Object.assign(Object.create(null), init, config.l3x_1);
|
|
30
30
|
tmp = fetch(input, options);
|
|
31
31
|
}
|
|
32
32
|
var promise = tmp;
|
|
33
33
|
var tmp_0 = commonFetch$lambda_0(cancellable);
|
|
34
34
|
promise.then(tmp_0, commonFetch$lambda_1(cancellable));
|
|
35
|
-
return cancellable.
|
|
35
|
+
return cancellable.p1u();
|
|
36
36
|
}
|
|
37
37
|
function readBody(_this__u8e3s4, response) {
|
|
38
38
|
return readBodyBrowser(_this__u8e3s4, response);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/js/src/io/ktor/client/engine/js/compatibility/Utils.kt","../../../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuation.kt","src/kotlin/util/Result.kt","src/kotlin/coroutines/Continuation.kt"],"sourcesContent":[null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["commonFetch","input","init","requestConfig","config","callJob","$completion","cancellable","controller","options","promise","readBody","<this>","response","AbortController","commonFetch$lambda","$controller","commonFetch$lambda$lambda"],"mappings":";;;;;;;;;;;;;;;;oBAoBiBA,CACbC,K,EACAC,I,EACAC,a,EACAC,M,EACAC,O,EALaC,WAAAN,EAMW;A,MCgZpBO,kDAAoD,YDxYR,WCwYQ,CAApDA,EAAgF,CAAhFA,C;EAMA,WAAY,
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8d547b974a7be21f/ktor-client/ktor-client-core/js/src/io/ktor/client/engine/js/compatibility/Utils.kt","../../../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuation.kt","src/kotlin/util/Result.kt","src/kotlin/coroutines/Continuation.kt"],"sourcesContent":[null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["commonFetch","input","init","requestConfig","config","callJob","$completion","cancellable","controller","options","promise","readBody","<this>","response","AbortController","commonFetch$lambda","$controller","commonFetch$lambda$lambda"],"mappings":";;;;;;;;;;;;;;;;oBAoBiBA,CACbC,K,EACAC,I,EACAC,a,EACAC,M,EACAC,O,EALaC,WAAAN,EAMW;A,MCgZpBO,kDAAoD,YDxYR,WCwYQ,CAApDA,EAAgF,CAAhFA,C;EAMA,WAAY,M;MDrZhBC,aAAiB,mB;EACjB,IAAK,UAAS,UAAT,CAAoB,M;EACzB,MAAO,OAAY,IAAZ,C;EACP,cAAc,IAAd,C;EAEA,OAAQ,KAAkC,IAAlC,QAAwC,8BAAxC,C;;EAGJ,gCAAc,KAAd,C;UAA4B,MAAM,KAAN,EAAa,IAAb,C;;QAExBC,UAAc,MAAa,QAAO,MAAa,QAAO,IAAP,CAApB,EAAkC,IAAlC,EAAwC,MAAxC,CAA+C,KAA/C,C;UAC3B,MAAM,KAAN,EAAa,OAAb,C;;MAJRC,a;cASkB,qBCsYR,WDtYQ,C;EADlB,OAAQ,aAIS,qBCmYP,WDnYO,CAJT,C;EAQZ,OCgYQ,WAAY,M;ADhYpB,C;iBAISC,CAAIC,a,EACTC,QADKF,EAGL;A,EAAyB,OAAzB,+BAAgB,QAAhB,C;AAAwB,C;0BALpBG,CAAAA,EAAyC;A,EAA2B,OAA3B,IAAO,eAAP,E;AAA0B,C;2BApBvBC,CALhDC,WAKgDD,E;SAAAE,CAAA,EAAAA,KAAA;A,IAAE,WAAW,Q;IAAQ,oB;EAAA,C;C;6BAWnDF,C,aAAAA,E;SAAAE,CAAA,EAAAA,KAAA;A;iBACV,a;;QEgDa,YAAb,6BFhDoB,EEgDpB,C;IChDR,UAAkB,SAAlB,C;IHCI,oB;EAAA,C;C;6BACaF,C,aAAAA,E;SAAAE,CAAA,EAAAA,KAAA;A,eACT,a;;;oBAAiC,aAAM,eAAN,EAAuB,EAAvB,C;QEsDD,YAAhC,6BAAO,cAAc,SAAd,CAAP,C;IChDR,QAAkB,SAAlB,C;IHLI,oB;EAAA,C;C;;;;;"}
|
|
@@ -50,7 +50,7 @@ var BodyProgress;
|
|
|
50
50
|
function *_generator_invoke__zhh2q8($this, $this$intercept, content, $completion) {
|
|
51
51
|
if (!(content instanceof OutgoingContent()))
|
|
52
52
|
return Unit_instance;
|
|
53
|
-
var tmp = $this.
|
|
53
|
+
var tmp = $this.t3l_1($this$intercept.h2u_1, content, $completion);
|
|
54
54
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
55
55
|
tmp = yield tmp;
|
|
56
56
|
var tmp0_elvis_lhs = tmp;
|
|
@@ -61,7 +61,7 @@ function *_generator_invoke__zhh2q8($this, $this$intercept, content, $completion
|
|
|
61
61
|
tmp_0 = tmp0_elvis_lhs;
|
|
62
62
|
}
|
|
63
63
|
var newContent = tmp_0;
|
|
64
|
-
var tmp_1 = $this$intercept.
|
|
64
|
+
var tmp_1 = $this$intercept.j2t(newContent, $completion);
|
|
65
65
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
66
66
|
tmp_1 = yield tmp_1;
|
|
67
67
|
return Unit_instance;
|
|
@@ -71,14 +71,14 @@ function AfterRenderHook$install$slambda() {
|
|
|
71
71
|
if (AfterRenderHook$install$slambdaClass === VOID) {
|
|
72
72
|
class $ {
|
|
73
73
|
constructor($handler) {
|
|
74
|
-
this.
|
|
74
|
+
this.t3l_1 = $handler;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
h3g($this$intercept, content, $completion) {
|
|
77
77
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$intercept, content), $completion);
|
|
78
78
|
}
|
|
79
79
|
cd(p1, p2, $completion) {
|
|
80
80
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
81
|
-
return this.
|
|
81
|
+
return this.h3g(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -88,7 +88,7 @@ function AfterRenderHook$install$slambda() {
|
|
|
88
88
|
}
|
|
89
89
|
function AfterRenderHook$install$slambda_0($handler) {
|
|
90
90
|
var i = new (AfterRenderHook$install$slambda())($handler);
|
|
91
|
-
var l = ($this$intercept, content, $completion) => i.
|
|
91
|
+
var l = ($this$intercept, content, $completion) => i.h3g($this$intercept, content, $completion);
|
|
92
92
|
l.$arity = 2;
|
|
93
93
|
return l;
|
|
94
94
|
}
|
|
@@ -96,13 +96,13 @@ var AfterRenderHookClass;
|
|
|
96
96
|
function AfterRenderHook() {
|
|
97
97
|
if (AfterRenderHookClass === VOID) {
|
|
98
98
|
class $ {
|
|
99
|
-
|
|
99
|
+
u3l(client, handler) {
|
|
100
100
|
var observableContentPhase = new (PipelinePhase())('ObservableContent');
|
|
101
|
-
client.
|
|
102
|
-
client.
|
|
101
|
+
client.k3f_1.i2u(Phases_getInstance().y3l_1, observableContentPhase);
|
|
102
|
+
client.k3f_1.l2u(observableContentPhase, AfterRenderHook$install$slambda_0(handler));
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
return this.
|
|
104
|
+
a3m(client, handler) {
|
|
105
|
+
return this.u3l(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
initMetadataForObject($, 'AfterRenderHook');
|
|
@@ -115,12 +115,12 @@ function AfterRenderHook_getInstance() {
|
|
|
115
115
|
return AfterRenderHook_instance;
|
|
116
116
|
}
|
|
117
117
|
function *_generator_invoke__zhh2q8_0($this, $this$intercept, response, $completion) {
|
|
118
|
-
var tmp = $this.
|
|
118
|
+
var tmp = $this.b3m_1(response, $completion);
|
|
119
119
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
120
120
|
tmp = yield tmp;
|
|
121
121
|
var newResponse = tmp;
|
|
122
122
|
if (!(newResponse == null)) {
|
|
123
|
-
var tmp_0 = $this$intercept.
|
|
123
|
+
var tmp_0 = $this$intercept.j2t(newResponse, $completion);
|
|
124
124
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
125
125
|
tmp_0 = yield tmp_0;
|
|
126
126
|
}
|
|
@@ -131,14 +131,14 @@ function AfterReceiveHook$install$slambda() {
|
|
|
131
131
|
if (AfterReceiveHook$install$slambdaClass === VOID) {
|
|
132
132
|
class $ {
|
|
133
133
|
constructor($handler) {
|
|
134
|
-
this.
|
|
134
|
+
this.b3m_1 = $handler;
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
c3m($this$intercept, response, $completion) {
|
|
137
137
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$intercept, response), $completion);
|
|
138
138
|
}
|
|
139
139
|
cd(p1, p2, $completion) {
|
|
140
140
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
141
|
-
return this.
|
|
141
|
+
return this.c3m(tmp, p2 instanceof HttpResponse() ? p2 : THROW_CCE(), $completion);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -148,7 +148,7 @@ function AfterReceiveHook$install$slambda() {
|
|
|
148
148
|
}
|
|
149
149
|
function AfterReceiveHook$install$slambda_0($handler) {
|
|
150
150
|
var i = new (AfterReceiveHook$install$slambda())($handler);
|
|
151
|
-
var l = ($this$intercept, response, $completion) => i.
|
|
151
|
+
var l = ($this$intercept, response, $completion) => i.c3m($this$intercept, response, $completion);
|
|
152
152
|
l.$arity = 2;
|
|
153
153
|
return l;
|
|
154
154
|
}
|
|
@@ -156,12 +156,12 @@ var AfterReceiveHookClass;
|
|
|
156
156
|
function AfterReceiveHook() {
|
|
157
157
|
if (AfterReceiveHookClass === VOID) {
|
|
158
158
|
class $ {
|
|
159
|
-
|
|
160
|
-
var tmp = Phases_getInstance_0().
|
|
161
|
-
client.
|
|
159
|
+
d3m(client, handler) {
|
|
160
|
+
var tmp = Phases_getInstance_0().g3m_1;
|
|
161
|
+
client.n3f_1.l2u(tmp, AfterReceiveHook$install$slambda_0(handler));
|
|
162
162
|
}
|
|
163
|
-
|
|
164
|
-
return this.
|
|
163
|
+
a3m(client, handler) {
|
|
164
|
+
return this.d3m(client, (!(handler == null) ? isSuspendFunction(handler, 1) : false) ? handler : THROW_CCE());
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
initMetadataForObject($, 'AfterReceiveHook');
|
|
@@ -175,23 +175,23 @@ function AfterReceiveHook_getInstance() {
|
|
|
175
175
|
}
|
|
176
176
|
function withObservableDownload(_this__u8e3s4, listener) {
|
|
177
177
|
_init_properties_BodyProgress_kt__s0v569();
|
|
178
|
-
var tmp = _this__u8e3s4.
|
|
179
|
-
return replaceResponse(tmp, VOID, withObservableDownload$lambda(listener)).
|
|
178
|
+
var tmp = _this__u8e3s4.b3i();
|
|
179
|
+
return replaceResponse(tmp, VOID, withObservableDownload$lambda(listener)).y3f();
|
|
180
180
|
}
|
|
181
181
|
function BodyProgress$lambda($this$createClientPlugin) {
|
|
182
182
|
_init_properties_BodyProgress_kt__s0v569();
|
|
183
183
|
var tmp = AfterRenderHook_instance;
|
|
184
|
-
$this$createClientPlugin.
|
|
184
|
+
$this$createClientPlugin.m3m(tmp, BodyProgress$lambda$slambda_0());
|
|
185
185
|
var tmp_0 = AfterReceiveHook_instance;
|
|
186
|
-
$this$createClientPlugin.
|
|
186
|
+
$this$createClientPlugin.m3m(tmp_0, BodyProgress$lambda$slambda_2());
|
|
187
187
|
return Unit_instance;
|
|
188
188
|
}
|
|
189
189
|
var BodyProgress$lambda$slambdaClass;
|
|
190
190
|
function BodyProgress$lambda$slambda() {
|
|
191
191
|
if (BodyProgress$lambda$slambdaClass === VOID) {
|
|
192
192
|
class $ {
|
|
193
|
-
|
|
194
|
-
var tmp0_elvis_lhs = request.
|
|
193
|
+
n3m(request, content, $completion) {
|
|
194
|
+
var tmp0_elvis_lhs = request.g3g_1.r2p(get_UploadProgressListenerAttributeKey());
|
|
195
195
|
var tmp;
|
|
196
196
|
if (tmp0_elvis_lhs == null) {
|
|
197
197
|
return null;
|
|
@@ -199,11 +199,11 @@ function BodyProgress$lambda$slambda() {
|
|
|
199
199
|
tmp = tmp0_elvis_lhs;
|
|
200
200
|
}
|
|
201
201
|
var listener = tmp;
|
|
202
|
-
return new (ObservableContent())(content, request.
|
|
202
|
+
return new (ObservableContent())(content, request.f3g_1, listener);
|
|
203
203
|
}
|
|
204
204
|
cd(p1, p2, $completion) {
|
|
205
205
|
var tmp = p1 instanceof HttpRequestBuilder() ? p1 : THROW_CCE();
|
|
206
|
-
return this.
|
|
206
|
+
return this.n3m(tmp, p2 instanceof OutgoingContent() ? p2 : THROW_CCE(), $completion);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -213,7 +213,7 @@ function BodyProgress$lambda$slambda() {
|
|
|
213
213
|
}
|
|
214
214
|
function BodyProgress$lambda$slambda_0() {
|
|
215
215
|
var i = new (BodyProgress$lambda$slambda())();
|
|
216
|
-
var l = (request, content, $completion) => i.
|
|
216
|
+
var l = (request, content, $completion) => i.n3m(request, content, $completion);
|
|
217
217
|
l.$arity = 2;
|
|
218
218
|
return l;
|
|
219
219
|
}
|
|
@@ -221,8 +221,8 @@ var BodyProgress$lambda$slambdaClass_0;
|
|
|
221
221
|
function BodyProgress$lambda$slambda_1() {
|
|
222
222
|
if (BodyProgress$lambda$slambdaClass_0 === VOID) {
|
|
223
223
|
class $ {
|
|
224
|
-
|
|
225
|
-
var tmp0_elvis_lhs = response.
|
|
224
|
+
o3m(response, $completion) {
|
|
225
|
+
var tmp0_elvis_lhs = response.b3i().u3h().v3h().r2p(get_DownloadProgressListenerAttributeKey());
|
|
226
226
|
var tmp;
|
|
227
227
|
if (tmp0_elvis_lhs == null) {
|
|
228
228
|
return null;
|
|
@@ -233,7 +233,7 @@ function BodyProgress$lambda$slambda_1() {
|
|
|
233
233
|
return withObservableDownload(response, listener);
|
|
234
234
|
}
|
|
235
235
|
bd(p1, $completion) {
|
|
236
|
-
return this.
|
|
236
|
+
return this.o3m(p1 instanceof HttpResponse() ? p1 : THROW_CCE(), $completion);
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -243,12 +243,12 @@ function BodyProgress$lambda$slambda_1() {
|
|
|
243
243
|
}
|
|
244
244
|
function BodyProgress$lambda$slambda_2() {
|
|
245
245
|
var i = new (BodyProgress$lambda$slambda_1())();
|
|
246
|
-
var l = (response, $completion) => i.
|
|
246
|
+
var l = (response, $completion) => i.o3m(response, $completion);
|
|
247
247
|
l.$arity = 1;
|
|
248
248
|
return l;
|
|
249
249
|
}
|
|
250
250
|
function withObservableDownload$lambda($listener) {
|
|
251
|
-
return ($this$replaceResponse) => observable($this$replaceResponse.
|
|
251
|
+
return ($this$replaceResponse) => observable($this$replaceResponse.j3i(), $this$replaceResponse.t1p(), contentLength($this$replaceResponse), $listener);
|
|
252
252
|
}
|
|
253
253
|
var properties_initialized_BodyProgress_kt_pmfrhr;
|
|
254
254
|
function _init_properties_BodyProgress_kt__s0v569() {
|