@attocash/commons-test 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- 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/Channels.common.mjs +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/flow/Builders.mjs +13 -13
- 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/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- 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 +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- 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 +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- 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 +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- 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 +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- 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/internal/-Utf8.mjs +1 -1
- 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/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- 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/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- 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 +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- 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/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- 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 +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- 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 +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- 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 +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- 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/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +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 +25 -25
- 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 +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- 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 +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- 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/HttpRequest.mjs +60 -60
- 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/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- 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 +6 -6
- 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 +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- 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 +68 -68
- 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 +61 -61
- 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 +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- 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/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- 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 +6 -6
- 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 +127 -127
- 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 +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- 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 +5 -5
- 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 +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- 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/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/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- 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 +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +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.f3l_1.y2p(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.f3l_1.z2p(Companion_getInstance().m3x_1);
|
|
89
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w3x_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.a3l_1.toString(), rawRequest, fetchOptions, $this.b3y_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.b3l_1, data.f3l_1);
|
|
103
|
+
var version = Companion_getInstance_1().b34_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.f3l_1.z2p(get_ResponseAdapterAttributeKey());
|
|
106
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.j3v(data, status, headers, body, data.d3l_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.t2r();
|
|
113
113
|
// Inline function 'kotlin.collections.filterTo' call
|
|
114
114
|
var destination = ArrayList().y2();
|
|
115
115
|
var _iterator__ex2g4s = tmp0.q1();
|
|
116
116
|
while (_iterator__ex2g4s.r1()) {
|
|
117
117
|
var element = _iterator__ex2g4s.s1();
|
|
118
|
-
if (equals(element, HttpHeaders_getInstance().
|
|
118
|
+
if (equals(element, HttpHeaders_getInstance().h31_1, true)) {
|
|
119
119
|
destination.h2(element);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -127,7 +127,7 @@ function *_generator_createWebSocket__urhgaf($this, urlString_capturingHack, hea
|
|
|
127
127
|
var _iterator__ex2g4s_0 = protocolHeaderNames.q1();
|
|
128
128
|
while (_iterator__ex2g4s_0.r1()) {
|
|
129
129
|
var element_0 = _iterator__ex2g4s_0.s1();
|
|
130
|
-
var tmp0_safe_receiver = headers.
|
|
130
|
+
var tmp0_safe_receiver = headers.s2r(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().e2r_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.y2r(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.a3l_1.toString();
|
|
162
|
+
var tmp = createWebSocket($this, urlString, request.c3l_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().h31_1, protocol) : Companion_getInstance_2().t32_1;
|
|
191
|
+
return new (HttpResponseData())(Companion_getInstance_0().j34_1, requestTime, headers, Companion_getInstance_1().b34_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.b3y_1 = config;
|
|
221
|
+
this.c3y_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, SSECapability_instance]);
|
|
222
222
|
// Inline function 'kotlin.check' call
|
|
223
|
-
if (!(this.
|
|
223
|
+
if (!(this.b3y_1.u3l_1 == null)) {
|
|
224
224
|
var message = 'Proxy unsupported in Js engine.';
|
|
225
225
|
throw IllegalStateException().o(toString(message));
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
|
|
229
|
-
return this.
|
|
228
|
+
s3g() {
|
|
229
|
+
return this.b3y_1;
|
|
230
230
|
}
|
|
231
|
-
|
|
232
|
-
return this.
|
|
231
|
+
h3l() {
|
|
232
|
+
return this.c3y_1;
|
|
233
233
|
}
|
|
234
|
-
|
|
234
|
+
q3l(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.p1u();
|
|
249
249
|
$l$block: {
|
|
250
|
-
if (cancellable.
|
|
250
|
+
if (cancellable.y1q()) {
|
|
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.w1s(awaitConnection$lambda_0(_this__u8e3s4, eventListener));
|
|
257
257
|
}
|
|
258
|
-
return cancellable.
|
|
258
|
+
return cancellable.x1u();
|
|
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.w2r(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().e2r_1);
|
|
283
283
|
return Unit_instance;
|
|
284
284
|
};
|
|
285
285
|
}
|
|
@@ -293,15 +293,15 @@ function awaitConnection$lambda($continuation, $this_awaitConnection) {
|
|
|
293
293
|
// Inline function 'kotlin.Companion.success' call
|
|
294
294
|
var value = $this_awaitConnection;
|
|
295
295
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
|
|
296
|
-
tmp0.
|
|
296
|
+
tmp0.mc(tmp$ret$0);
|
|
297
297
|
tmp = Unit_instance;
|
|
298
298
|
} else if (tmp0_subject === 'error') {
|
|
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().c3v(asString(event));
|
|
303
303
|
var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
304
|
-
tmp0_0.
|
|
304
|
+
tmp0_0.mc(tmp$ret$2);
|
|
305
305
|
tmp = Unit_instance;
|
|
306
306
|
}
|
|
307
307
|
return Unit_instance;
|
|
@@ -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.b3l_1) && isEmpty(_this__u8e3s4.d3l_1);
|
|
39
|
+
mergeHeaders(_this__u8e3s4.c3l_1, _this__u8e3s4.d3l_1, toRaw$lambda(skipContentLengthHeader, jsHeaders));
|
|
40
|
+
var tmp = getBodyBytes(_this__u8e3s4.d3l_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.h39();
|
|
53
53
|
} else {
|
|
54
54
|
if (content instanceof ReadChannelContent()) {
|
|
55
|
-
var tmp_0 = readRemaining(content.
|
|
55
|
+
var tmp_0 = readRemaining(content.k39(), $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)).u2n_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.q39(), 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().p3k(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().j2z_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.b3l_1.y33_1;
|
|
111
111
|
$this$buildObject.headers = $jsHeaders;
|
|
112
112
|
var tmp;
|
|
113
|
-
if ($clientConfig.
|
|
113
|
+
if ($clientConfig.d3h_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.d3y_1.m39($this$writer.w2n_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.d3y_1 = $content;
|
|
147
147
|
}
|
|
148
|
-
|
|
148
|
+
a3c($this$writer, $completion) {
|
|
149
149
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$writer), $completion);
|
|
150
150
|
}
|
|
151
|
-
|
|
152
|
-
return this.
|
|
151
|
+
md(p1, $completion) {
|
|
152
|
+
return this.a3c(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.a3c($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().j2n_1;
|
|
33
33
|
} else {
|
|
34
34
|
tmp = tmp0_elvis_lhs;
|
|
35
35
|
}
|
|
@@ -37,17 +37,17 @@ 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)).u2n_1;
|
|
41
41
|
}
|
|
42
42
|
function readChunk(_this__u8e3s4, $completion) {
|
|
43
|
-
var safe = SafeContinuation().
|
|
43
|
+
var safe = SafeContinuation().gd(intercepted($completion));
|
|
44
44
|
var tmp = _this__u8e3s4.read();
|
|
45
45
|
var tmp_0 = tmp.then(readChunk$lambda(safe));
|
|
46
46
|
tmp_0.catch(readChunk$lambda_0(safe));
|
|
47
|
-
return safe.
|
|
47
|
+
return safe.hd();
|
|
48
48
|
}
|
|
49
49
|
function *_generator_invoke__zhh2q8($this, $this$writer, $completion) {
|
|
50
|
-
var reader = $this.
|
|
50
|
+
var reader = $this.e3y_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.w2n_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.w2n_1.z2l($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.e3y_1 = $stream;
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
a3c($this$writer, $completion) {
|
|
96
96
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$writer), $completion);
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
return this.
|
|
98
|
+
md(p1, $completion) {
|
|
99
|
+
return this.a3c(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.a3c($this$writer, $completion);
|
|
110
110
|
l.$arity = 1;
|
|
111
111
|
return l;
|
|
112
112
|
}
|
|
@@ -118,7 +118,7 @@ function readChunk$lambda($continuation) {
|
|
|
118
118
|
var this_0 = $continuation;
|
|
119
119
|
// Inline function 'kotlin.Companion.success' call
|
|
120
120
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(result);
|
|
121
|
-
this_0.
|
|
121
|
+
this_0.mc(tmp$ret$0);
|
|
122
122
|
return Unit_instance;
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -128,7 +128,7 @@ function readChunk$lambda_0($continuation) {
|
|
|
128
128
|
var this_0 = $continuation;
|
|
129
129
|
// Inline function 'kotlin.Companion.failure' call
|
|
130
130
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(cause));
|
|
131
|
-
this_0.
|
|
131
|
+
this_0.mc(tmp$ret$0);
|
|
132
132
|
return Unit_instance;
|
|
133
133
|
};
|
|
134
134
|
}
|
|
@@ -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.p1u();
|
|
20
20
|
var controller = AbortController_0();
|
|
21
21
|
init.signal = controller.signal;
|
|
22
|
-
config.
|
|
22
|
+
config.s3x_1(init);
|
|
23
23
|
requestConfig(init);
|
|
24
|
-
callJob.
|
|
24
|
+
callJob.g1r(true, VOID, commonFetch$lambda(controller));
|
|
25
25
|
var tmp;
|
|
26
|
-
if (PlatformUtils_getInstance().
|
|
26
|
+
if (PlatformUtils_getInstance().e2r_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.t3x_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.x1u();
|
|
36
36
|
}
|
|
37
37
|
function readBody(_this__u8e3s4, response) {
|
|
38
38
|
return readBodyBrowser(_this__u8e3s4, response);
|
|
@@ -52,7 +52,7 @@ function commonFetch$lambda_0($continuation) {
|
|
|
52
52
|
var this_0 = $continuation;
|
|
53
53
|
// Inline function 'kotlin.Companion.success' call
|
|
54
54
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(it);
|
|
55
|
-
this_0.
|
|
55
|
+
this_0.mc(tmp$ret$0);
|
|
56
56
|
return Unit_instance;
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -61,9 +61,9 @@ function commonFetch$lambda_1($continuation) {
|
|
|
61
61
|
var tmp0 = $continuation;
|
|
62
62
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
63
63
|
// Inline function 'kotlin.Companion.failure' call
|
|
64
|
-
var exception = Error_0().
|
|
64
|
+
var exception = Error_0().fe('Fail to fetch', it);
|
|
65
65
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
66
|
-
tmp0.
|
|
66
|
+
tmp0.mc(tmp$ret$0);
|
|
67
67
|
return Unit_instance;
|
|
68
68
|
};
|
|
69
69
|
}
|
|
@@ -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.b3m_1($this$intercept.p2u_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.r2t(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.b3m_1 = $handler;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
p3g($this$intercept, content, $completion) {
|
|
77
77
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$intercept, content), $completion);
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
nd(p1, p2, $completion) {
|
|
80
80
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
81
|
-
return this.
|
|
81
|
+
return this.p3g(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.p3g($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
|
+
c3m(client, handler) {
|
|
100
100
|
var observableContentPhase = new (PipelinePhase())('ObservableContent');
|
|
101
|
-
client.
|
|
102
|
-
client.
|
|
101
|
+
client.s3f_1.q2u(Phases_getInstance().g3m_1, observableContentPhase);
|
|
102
|
+
client.s3f_1.t2u(observableContentPhase, AfterRenderHook$install$slambda_0(handler));
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
return this.
|
|
104
|
+
i3m(client, handler) {
|
|
105
|
+
return this.c3m(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.j3m_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.r2t(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.j3m_1 = $handler;
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
k3m($this$intercept, response, $completion) {
|
|
137
137
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$intercept, response), $completion);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
nd(p1, p2, $completion) {
|
|
140
140
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
141
|
-
return this.
|
|
141
|
+
return this.k3m(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.k3m($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
|
+
l3m(client, handler) {
|
|
160
|
+
var tmp = Phases_getInstance_0().o3m_1;
|
|
161
|
+
client.v3f_1.t2u(tmp, AfterReceiveHook$install$slambda_0(handler));
|
|
162
162
|
}
|
|
163
|
-
|
|
164
|
-
return this.
|
|
163
|
+
i3m(client, handler) {
|
|
164
|
+
return this.l3m(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.j3i();
|
|
179
|
+
return replaceResponse(tmp, VOID, withObservableDownload$lambda(listener)).g3g();
|
|
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.u3m(tmp, BodyProgress$lambda$slambda_0());
|
|
185
185
|
var tmp_0 = AfterReceiveHook_instance;
|
|
186
|
-
$this$createClientPlugin.
|
|
186
|
+
$this$createClientPlugin.u3m(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
|
+
v3m(request, content, $completion) {
|
|
194
|
+
var tmp0_elvis_lhs = request.o3g_1.z2p(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.n3g_1, listener);
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
nd(p1, p2, $completion) {
|
|
205
205
|
var tmp = p1 instanceof HttpRequestBuilder() ? p1 : THROW_CCE();
|
|
206
|
-
return this.
|
|
206
|
+
return this.v3m(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.v3m(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
|
+
w3m(response, $completion) {
|
|
225
|
+
var tmp0_elvis_lhs = response.j3i().c3i().d3i().z2p(get_DownloadProgressListenerAttributeKey());
|
|
226
226
|
var tmp;
|
|
227
227
|
if (tmp0_elvis_lhs == null) {
|
|
228
228
|
return null;
|
|
@@ -232,8 +232,8 @@ function BodyProgress$lambda$slambda_1() {
|
|
|
232
232
|
var listener = tmp;
|
|
233
233
|
return withObservableDownload(response, listener);
|
|
234
234
|
}
|
|
235
|
-
|
|
236
|
-
return this.
|
|
235
|
+
md(p1, $completion) {
|
|
236
|
+
return this.w3m(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.w3m(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.r3i(), $this$replaceResponse.b1q(), contentLength($this$replaceResponse), $listener);
|
|
252
252
|
}
|
|
253
253
|
var properties_initialized_BodyProgress_kt_pmfrhr;
|
|
254
254
|
function _init_properties_BodyProgress_kt__s0v569() {
|