@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
|
@@ -79,12 +79,12 @@ function HttpPlainTextConfig() {
|
|
|
79
79
|
constructor() {
|
|
80
80
|
var tmp = this;
|
|
81
81
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
82
|
-
tmp.
|
|
82
|
+
tmp.k3p_1 = LinkedHashSet().w2();
|
|
83
83
|
var tmp_0 = this;
|
|
84
84
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
85
|
-
tmp_0.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
85
|
+
tmp_0.l3p_1 = LinkedHashMap().s5();
|
|
86
|
+
this.m3p_1 = null;
|
|
87
|
+
this.n3p_1 = Charsets_getInstance().t2o_1;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
initMetadataForClass($, 'HttpPlainTextConfig', HttpPlainTextConfig);
|
|
@@ -93,12 +93,12 @@ function HttpPlainTextConfig() {
|
|
|
93
93
|
return HttpPlainTextConfigClass;
|
|
94
94
|
}
|
|
95
95
|
function *_generator_invoke__zhh2q8($this, $this$intercept, content, $completion) {
|
|
96
|
-
var tmp = $this.
|
|
96
|
+
var tmp = $this.o3p_1($this$intercept.p2u_1, content, $completion);
|
|
97
97
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
98
98
|
tmp = yield tmp;
|
|
99
99
|
var result = tmp;
|
|
100
100
|
if (!(result == null)) {
|
|
101
|
-
var tmp_0 = $this$intercept.
|
|
101
|
+
var tmp_0 = $this$intercept.r2t(result, $completion);
|
|
102
102
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
103
103
|
tmp_0 = yield tmp_0;
|
|
104
104
|
}
|
|
@@ -109,14 +109,14 @@ function RenderRequestHook$install$slambda() {
|
|
|
109
109
|
if (RenderRequestHook$install$slambdaClass === VOID) {
|
|
110
110
|
class $ {
|
|
111
111
|
constructor($handler) {
|
|
112
|
-
this.
|
|
112
|
+
this.o3p_1 = $handler;
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
p3g($this$intercept, content, $completion) {
|
|
115
115
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$intercept, content), $completion);
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
nd(p1, p2, $completion) {
|
|
118
118
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
119
|
-
return this.
|
|
119
|
+
return this.p3g(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -126,7 +126,7 @@ function RenderRequestHook$install$slambda() {
|
|
|
126
126
|
}
|
|
127
127
|
function RenderRequestHook$install$slambda_0($handler) {
|
|
128
128
|
var i = new (RenderRequestHook$install$slambda())($handler);
|
|
129
|
-
var l = ($this$intercept, content, $completion) => i.
|
|
129
|
+
var l = ($this$intercept, content, $completion) => i.p3g($this$intercept, content, $completion);
|
|
130
130
|
l.$arity = 2;
|
|
131
131
|
return l;
|
|
132
132
|
}
|
|
@@ -134,12 +134,12 @@ var RenderRequestHookClass;
|
|
|
134
134
|
function RenderRequestHook() {
|
|
135
135
|
if (RenderRequestHookClass === VOID) {
|
|
136
136
|
class $ {
|
|
137
|
-
|
|
138
|
-
var tmp = Phases_getInstance().
|
|
139
|
-
client.
|
|
137
|
+
p3p(client, handler) {
|
|
138
|
+
var tmp = Phases_getInstance().g3m_1;
|
|
139
|
+
client.s3f_1.t2u(tmp, RenderRequestHook$install$slambda_0(handler));
|
|
140
140
|
}
|
|
141
|
-
|
|
142
|
-
return this.
|
|
141
|
+
i3m(client, handler) {
|
|
142
|
+
return this.p3p(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
initMetadataForObject($, 'RenderRequestHook');
|
|
@@ -159,20 +159,20 @@ function HttpPlainTextConfig$_init_$ref_isjudo() {
|
|
|
159
159
|
function HttpPlainText$lambda($this$createClientPlugin) {
|
|
160
160
|
_init_properties_HttpPlainText_kt__iy89z1();
|
|
161
161
|
// Inline function 'kotlin.collections.sortedByDescending' call
|
|
162
|
-
var this_0 = toList($this$createClientPlugin.
|
|
162
|
+
var this_0 = toList($this$createClientPlugin.r3m_1.l3p_1);
|
|
163
163
|
// Inline function 'kotlin.comparisons.compareByDescending' call
|
|
164
164
|
var tmp = HttpPlainText$lambda$lambda;
|
|
165
165
|
var tmp$ret$0 = new (sam$kotlin_Comparator$0())(tmp);
|
|
166
166
|
var withQuality = sortedWith(this_0, tmp$ret$0);
|
|
167
|
-
var responseCharsetFallback = $this$createClientPlugin.
|
|
167
|
+
var responseCharsetFallback = $this$createClientPlugin.r3m_1.n3p_1;
|
|
168
168
|
// Inline function 'kotlin.collections.filter' call
|
|
169
|
-
var tmp0 = $this$createClientPlugin.
|
|
169
|
+
var tmp0 = $this$createClientPlugin.r3m_1.k3p_1;
|
|
170
170
|
// Inline function 'kotlin.collections.filterTo' call
|
|
171
171
|
var destination = ArrayList().y2();
|
|
172
172
|
var _iterator__ex2g4s = tmp0.q1();
|
|
173
173
|
while (_iterator__ex2g4s.r1()) {
|
|
174
174
|
var element = _iterator__ex2g4s.s1();
|
|
175
|
-
if (!$this$createClientPlugin.
|
|
175
|
+
if (!$this$createClientPlugin.r3m_1.l3p_1.m4(element)) {
|
|
176
176
|
destination.h2(element);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
@@ -198,8 +198,8 @@ function HttpPlainText$lambda($this$createClientPlugin) {
|
|
|
198
198
|
var _iterator__ex2g4s_1 = withQuality.q1();
|
|
199
199
|
while (_iterator__ex2g4s_1.r1()) {
|
|
200
200
|
var element_1 = _iterator__ex2g4s_1.s1();
|
|
201
|
-
var charset = element_1.
|
|
202
|
-
var quality = element_1.
|
|
201
|
+
var charset = element_1.ye();
|
|
202
|
+
var quality = element_1.ze();
|
|
203
203
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
204
204
|
if (charSequenceLength(this_1) > 0) {
|
|
205
205
|
this_1.n1(',');
|
|
@@ -218,20 +218,20 @@ function HttpPlainText$lambda($this$createClientPlugin) {
|
|
|
218
218
|
this_1.n1(get_name(responseCharsetFallback));
|
|
219
219
|
}
|
|
220
220
|
var acceptCharsetHeader = this_1.toString();
|
|
221
|
-
var tmp0_elvis_lhs = $this$createClientPlugin.
|
|
221
|
+
var tmp0_elvis_lhs = $this$createClientPlugin.r3m_1.m3p_1;
|
|
222
222
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? firstOrNull(withoutQuality) : tmp0_elvis_lhs;
|
|
223
223
|
var tmp_1;
|
|
224
224
|
if (tmp1_elvis_lhs == null) {
|
|
225
225
|
var tmp2_safe_receiver = firstOrNull(withQuality);
|
|
226
|
-
tmp_1 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
226
|
+
tmp_1 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.we_1;
|
|
227
227
|
} else {
|
|
228
228
|
tmp_1 = tmp1_elvis_lhs;
|
|
229
229
|
}
|
|
230
230
|
var tmp3_elvis_lhs = tmp_1;
|
|
231
|
-
var requestCharset = tmp3_elvis_lhs == null ? Charsets_getInstance().
|
|
231
|
+
var requestCharset = tmp3_elvis_lhs == null ? Charsets_getInstance().t2o_1 : tmp3_elvis_lhs;
|
|
232
232
|
var tmp_2 = RenderRequestHook_instance;
|
|
233
|
-
$this$createClientPlugin.
|
|
234
|
-
$this$createClientPlugin.
|
|
233
|
+
$this$createClientPlugin.u3m(tmp_2, HttpPlainText$lambda$slambda_0(acceptCharsetHeader, requestCharset));
|
|
234
|
+
$this$createClientPlugin.q3p(HttpPlainText$lambda$slambda_2(responseCharsetFallback));
|
|
235
235
|
return Unit_instance;
|
|
236
236
|
}
|
|
237
237
|
var sam$kotlin_Comparator$0Class;
|
|
@@ -239,23 +239,23 @@ function sam$kotlin_Comparator$0() {
|
|
|
239
239
|
if (sam$kotlin_Comparator$0Class === VOID) {
|
|
240
240
|
class $ {
|
|
241
241
|
constructor(function_0) {
|
|
242
|
-
this.
|
|
242
|
+
this.r3p_1 = function_0;
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
return this.
|
|
244
|
+
qh(a, b) {
|
|
245
|
+
return this.r3p_1(a, b);
|
|
246
246
|
}
|
|
247
247
|
compare(a, b) {
|
|
248
|
-
return this.
|
|
248
|
+
return this.qh(a, b);
|
|
249
249
|
}
|
|
250
|
-
|
|
251
|
-
return this.
|
|
250
|
+
f5() {
|
|
251
|
+
return this.r3p_1;
|
|
252
252
|
}
|
|
253
253
|
equals(other) {
|
|
254
254
|
var tmp;
|
|
255
255
|
if (!(other == null) ? isInterface(other, Comparator()) : false) {
|
|
256
256
|
var tmp_0;
|
|
257
257
|
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
258
|
-
tmp_0 = equals(this.
|
|
258
|
+
tmp_0 = equals(this.f5(), other.f5());
|
|
259
259
|
} else {
|
|
260
260
|
tmp_0 = false;
|
|
261
261
|
}
|
|
@@ -266,7 +266,7 @@ function sam$kotlin_Comparator$0() {
|
|
|
266
266
|
return tmp;
|
|
267
267
|
}
|
|
268
268
|
hashCode() {
|
|
269
|
-
return hashCode(this.
|
|
269
|
+
return hashCode(this.f5());
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
initMetadataForClass($, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator(), FunctionAdapter()]);
|
|
@@ -277,8 +277,8 @@ function sam$kotlin_Comparator$0() {
|
|
|
277
277
|
function HttpPlainText$lambda$lambda(a, b) {
|
|
278
278
|
_init_properties_HttpPlainText_kt__iy89z1();
|
|
279
279
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
280
|
-
var tmp = b.
|
|
281
|
-
var tmp$ret$1 = a.
|
|
280
|
+
var tmp = b.xe_1;
|
|
281
|
+
var tmp$ret$1 = a.xe_1;
|
|
282
282
|
return compareValues(tmp, tmp$ret$1);
|
|
283
283
|
}
|
|
284
284
|
function HttpPlainText$lambda$lambda_0(a, b) {
|
|
@@ -289,45 +289,45 @@ function HttpPlainText$lambda$lambda_0(a, b) {
|
|
|
289
289
|
return compareValues(tmp, tmp$ret$1);
|
|
290
290
|
}
|
|
291
291
|
function invoke$wrapContent(requestCharset, request, content, requestContentType) {
|
|
292
|
-
var contentType = requestContentType == null ? Text_getInstance().
|
|
292
|
+
var contentType = requestContentType == null ? Text_getInstance().c2y_1 : requestContentType;
|
|
293
293
|
var tmp2_elvis_lhs = requestContentType == null ? null : charset(requestContentType);
|
|
294
294
|
var charset_0 = tmp2_elvis_lhs == null ? requestCharset : tmp2_elvis_lhs;
|
|
295
|
-
get_LOGGER().
|
|
295
|
+
get_LOGGER().t2v('Sending request body to ' + request.j3g_1.toString() + ' as text/plain with charset ' + charset_0.toString());
|
|
296
296
|
return new (TextContent())(content, withCharset(contentType, charset_0));
|
|
297
297
|
}
|
|
298
298
|
function invoke$read(responseCharsetFallback, call, body) {
|
|
299
|
-
var tmp0_elvis_lhs = charset_0(call.
|
|
299
|
+
var tmp0_elvis_lhs = charset_0(call.g3g());
|
|
300
300
|
var actualCharset = tmp0_elvis_lhs == null ? responseCharsetFallback : tmp0_elvis_lhs;
|
|
301
|
-
get_LOGGER().
|
|
301
|
+
get_LOGGER().t2v('Reading response body for ' + call.c3i().l3i().toString() + ' as String with charset ' + actualCharset.toString());
|
|
302
302
|
return readText(body, actualCharset);
|
|
303
303
|
}
|
|
304
304
|
function invoke$addCharsetHeaders(acceptCharsetHeader, context) {
|
|
305
|
-
if (!(context.
|
|
305
|
+
if (!(context.l3g_1.t1g(HttpHeaders_getInstance().v2y_1) == null))
|
|
306
306
|
return Unit_instance;
|
|
307
|
-
get_LOGGER().
|
|
308
|
-
context.
|
|
307
|
+
get_LOGGER().t2v('Adding Accept-Charset=' + acceptCharsetHeader + ' to ' + context.j3g_1.toString());
|
|
308
|
+
context.l3g_1.u2r(HttpHeaders_getInstance().v2y_1, acceptCharsetHeader);
|
|
309
309
|
}
|
|
310
310
|
var HttpPlainText$lambda$slambdaClass;
|
|
311
311
|
function HttpPlainText$lambda$slambda() {
|
|
312
312
|
if (HttpPlainText$lambda$slambdaClass === VOID) {
|
|
313
313
|
class $ {
|
|
314
314
|
constructor($acceptCharsetHeader, $requestCharset) {
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
315
|
+
this.s3p_1 = $acceptCharsetHeader;
|
|
316
|
+
this.t3p_1 = $requestCharset;
|
|
317
317
|
}
|
|
318
|
-
|
|
319
|
-
invoke$addCharsetHeaders(this.
|
|
318
|
+
u3p(request, content, $completion) {
|
|
319
|
+
invoke$addCharsetHeaders(this.s3p_1, request);
|
|
320
320
|
if (!(typeof content === 'string'))
|
|
321
321
|
return null;
|
|
322
322
|
var contentType_0 = contentType(request);
|
|
323
|
-
if (!(contentType_0 == null) && !(contentType_0.
|
|
323
|
+
if (!(contentType_0 == null) && !(contentType_0.j2w_1 === Text_getInstance().c2y_1.j2w_1)) {
|
|
324
324
|
return null;
|
|
325
325
|
}
|
|
326
|
-
return invoke$wrapContent(this.
|
|
326
|
+
return invoke$wrapContent(this.t3p_1, request, content, contentType_0);
|
|
327
327
|
}
|
|
328
|
-
|
|
328
|
+
nd(p1, p2, $completion) {
|
|
329
329
|
var tmp = p1 instanceof HttpRequestBuilder() ? p1 : THROW_CCE();
|
|
330
|
-
return this.
|
|
330
|
+
return this.u3p(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -337,34 +337,34 @@ function HttpPlainText$lambda$slambda() {
|
|
|
337
337
|
}
|
|
338
338
|
function HttpPlainText$lambda$slambda_0($acceptCharsetHeader, $requestCharset) {
|
|
339
339
|
var i = new (HttpPlainText$lambda$slambda())($acceptCharsetHeader, $requestCharset);
|
|
340
|
-
var l = (request, content, $completion) => i.
|
|
340
|
+
var l = (request, content, $completion) => i.u3p(request, content, $completion);
|
|
341
341
|
l.$arity = 2;
|
|
342
342
|
return l;
|
|
343
343
|
}
|
|
344
344
|
function *_generator_invoke__zhh2q8_0($this, $this$transformResponseBody, response, content, requestedType, $completion) {
|
|
345
|
-
if (!requestedType.
|
|
345
|
+
if (!requestedType.h2v_1.equals(PrimitiveClasses_getInstance().bg()))
|
|
346
346
|
return null;
|
|
347
347
|
var tmp = readRemaining(content, $completion);
|
|
348
348
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
349
349
|
tmp = yield tmp;
|
|
350
350
|
var bodyBytes = tmp;
|
|
351
|
-
return invoke$read($this.
|
|
351
|
+
return invoke$read($this.v3p_1, response.j3i(), bodyBytes);
|
|
352
352
|
}
|
|
353
353
|
var HttpPlainText$lambda$slambdaClass_0;
|
|
354
354
|
function HttpPlainText$lambda$slambda_1() {
|
|
355
355
|
if (HttpPlainText$lambda$slambdaClass_0 === VOID) {
|
|
356
356
|
class $ {
|
|
357
357
|
constructor($responseCharsetFallback) {
|
|
358
|
-
this.
|
|
358
|
+
this.v3p_1 = $responseCharsetFallback;
|
|
359
359
|
}
|
|
360
|
-
|
|
360
|
+
w3p($this$transformResponseBody, response, content, requestedType, $completion) {
|
|
361
361
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$transformResponseBody, response, content, requestedType), $completion);
|
|
362
362
|
}
|
|
363
|
-
|
|
363
|
+
x3p(p1, p2, p3, p4, $completion) {
|
|
364
364
|
var tmp = p1 instanceof TransformResponseBodyContext() ? p1 : THROW_CCE();
|
|
365
365
|
var tmp_0 = p2 instanceof HttpResponse() ? p2 : THROW_CCE();
|
|
366
366
|
var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel()) : false) ? p3 : THROW_CCE();
|
|
367
|
-
return this.
|
|
367
|
+
return this.w3p(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo() ? p4 : THROW_CCE(), $completion);
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
initMetadataForLambda($, VOID, VOID, [4]);
|
|
@@ -374,7 +374,7 @@ function HttpPlainText$lambda$slambda_1() {
|
|
|
374
374
|
}
|
|
375
375
|
function HttpPlainText$lambda$slambda_2($responseCharsetFallback) {
|
|
376
376
|
var i = new (HttpPlainText$lambda$slambda_1())($responseCharsetFallback);
|
|
377
|
-
var l = ($this$transformResponseBody, response, content, requestedType, $completion) => i.
|
|
377
|
+
var l = ($this$transformResponseBody, response, content, requestedType, $completion) => i.w3p($this$transformResponseBody, response, content, requestedType, $completion);
|
|
378
378
|
l.$arity = 4;
|
|
379
379
|
return l;
|
|
380
380
|
}
|
|
@@ -52,8 +52,8 @@ function HttpRedirectConfig() {
|
|
|
52
52
|
if (HttpRedirectConfigClass === VOID) {
|
|
53
53
|
class $ {
|
|
54
54
|
constructor() {
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
55
|
+
this.y3p_1 = true;
|
|
56
|
+
this.z3p_1 = false;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
initMetadataForClass($, 'HttpRedirectConfig', HttpRedirectConfig);
|
|
@@ -63,8 +63,8 @@ function HttpRedirectConfig() {
|
|
|
63
63
|
}
|
|
64
64
|
function isRedirect(_this__u8e3s4) {
|
|
65
65
|
_init_properties_HttpRedirect_kt__ure7fo();
|
|
66
|
-
var tmp0_subject = _this__u8e3s4.
|
|
67
|
-
return tmp0_subject === Companion_getInstance().
|
|
66
|
+
var tmp0_subject = _this__u8e3s4.l36_1;
|
|
67
|
+
return tmp0_subject === Companion_getInstance().u34_1.l36_1 || tmp0_subject === Companion_getInstance().v34_1.l36_1 || (tmp0_subject === Companion_getInstance().a35_1.l36_1 || (tmp0_subject === Companion_getInstance().b35_1.l36_1 || tmp0_subject === Companion_getInstance().w34_1.l36_1)) ? true : false;
|
|
68
68
|
}
|
|
69
69
|
function HttpRedirectConfig$_init_$ref_rhym9t() {
|
|
70
70
|
var l = () => new (HttpRedirectConfig())();
|
|
@@ -73,42 +73,42 @@ function HttpRedirectConfig$_init_$ref_rhym9t() {
|
|
|
73
73
|
}
|
|
74
74
|
function HttpRedirect$lambda($this$createClientPlugin) {
|
|
75
75
|
_init_properties_HttpRedirect_kt__ure7fo();
|
|
76
|
-
var checkHttpMethod = $this$createClientPlugin.
|
|
77
|
-
var allowHttpsDowngrade = $this$createClientPlugin.
|
|
76
|
+
var checkHttpMethod = $this$createClientPlugin.r3m_1.y3p_1;
|
|
77
|
+
var allowHttpsDowngrade = $this$createClientPlugin.r3m_1.z3p_1;
|
|
78
78
|
var tmp = Send_instance;
|
|
79
|
-
$this$createClientPlugin.
|
|
79
|
+
$this$createClientPlugin.u3m(tmp, HttpRedirect$lambda$slambda_0(checkHttpMethod, allowHttpsDowngrade, $this$createClientPlugin));
|
|
80
80
|
return Unit_instance;
|
|
81
81
|
}
|
|
82
82
|
function *_generator_invoke$handleCall__nrwzaa(_this__u8e3s4, context, origin, allowHttpsDowngrade, client, $completion) {
|
|
83
83
|
var call = origin;
|
|
84
84
|
var requestBuilder = context;
|
|
85
85
|
while (true) {
|
|
86
|
-
var previousProtocol = call.
|
|
87
|
-
var previousAuthority = get_authority(call.
|
|
88
|
-
if (!isRedirect(call.
|
|
86
|
+
var previousProtocol = call.c3i().l3i().q37_1;
|
|
87
|
+
var previousAuthority = get_authority(call.c3i().l3i());
|
|
88
|
+
if (!isRedirect(call.g3g().s3i()))
|
|
89
89
|
return call;
|
|
90
|
-
var location = call.
|
|
90
|
+
var location = call.g3g().p33().t1g(HttpHeaders_getInstance().i30_1);
|
|
91
91
|
if (location == null) {
|
|
92
|
-
get_LOGGER().
|
|
92
|
+
get_LOGGER().r2v('Location header missing from redirect response ' + call.c3i().l3i().toString() + '; returning response as is');
|
|
93
93
|
return call;
|
|
94
94
|
}
|
|
95
|
-
client.
|
|
96
|
-
get_LOGGER().
|
|
95
|
+
client.y3f_1.v2v(get_HttpResponseRedirectEvent(), call.g3g());
|
|
96
|
+
get_LOGGER().t2v('Received redirect response to ' + location + ' for request ' + call.c3i().l3i().toString());
|
|
97
97
|
// Inline function 'kotlin.apply' call
|
|
98
98
|
var this_0 = new (HttpRequestBuilder())();
|
|
99
|
-
this_0.
|
|
100
|
-
this_0.
|
|
101
|
-
takeFrom(this_0.
|
|
102
|
-
if (!allowHttpsDowngrade && isSecure(previousProtocol) && !isSecure(this_0.
|
|
103
|
-
get_LOGGER().
|
|
99
|
+
this_0.w3k(requestBuilder);
|
|
100
|
+
this_0.j3g_1.a37_1.u4();
|
|
101
|
+
takeFrom(this_0.j3g_1, location);
|
|
102
|
+
if (!allowHttpsDowngrade && isSecure(previousProtocol) && !isSecure(this_0.j3g_1.d37())) {
|
|
103
|
+
get_LOGGER().t2v('Blocked redirect from ' + call.c3i().l3i().toString() + ' to ' + location + ' due to HTTPS downgrade');
|
|
104
104
|
return call;
|
|
105
105
|
}
|
|
106
|
-
if (!(previousAuthority === get_authority_0(this_0.
|
|
107
|
-
this_0.
|
|
108
|
-
get_LOGGER().
|
|
106
|
+
if (!(previousAuthority === get_authority_0(this_0.j3g_1))) {
|
|
107
|
+
this_0.l3g_1.z2r(HttpHeaders_getInstance().d2z_1);
|
|
108
|
+
get_LOGGER().t2v('Removing Authorization header for cross-authority redirect: ' + (previousAuthority + ' -> ' + this_0.j3g_1.n38()));
|
|
109
109
|
}
|
|
110
110
|
requestBuilder = this_0;
|
|
111
|
-
var tmp = _this__u8e3s4.
|
|
111
|
+
var tmp = _this__u8e3s4.z3o(requestBuilder, $completion);
|
|
112
112
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
113
113
|
tmp = yield tmp;
|
|
114
114
|
call = tmp;
|
|
@@ -118,14 +118,14 @@ function invoke$handleCall(_this__u8e3s4, context, origin, allowHttpsDowngrade,
|
|
|
118
118
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke$handleCall__nrwzaa.bind(VOID, _this__u8e3s4, context, origin, allowHttpsDowngrade, client), $completion);
|
|
119
119
|
}
|
|
120
120
|
function *_generator_invoke__zhh2q8($this, $this$on, request, $completion) {
|
|
121
|
-
var tmp = $this$on.
|
|
121
|
+
var tmp = $this$on.z3o(request, $completion);
|
|
122
122
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
123
123
|
tmp = yield tmp;
|
|
124
124
|
var origin = tmp;
|
|
125
|
-
if ($this.
|
|
125
|
+
if ($this.a3q_1 && !get_ALLOWED_FOR_REDIRECT().o3(origin.c3i().k3i())) {
|
|
126
126
|
return origin;
|
|
127
127
|
}
|
|
128
|
-
var tmp_0 = invoke$handleCall($this$on, request, origin, $this.
|
|
128
|
+
var tmp_0 = invoke$handleCall($this$on, request, origin, $this.b3q_1, $this.c3q_1.q3m_1, $completion);
|
|
129
129
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
130
130
|
tmp_0 = yield tmp_0;
|
|
131
131
|
return tmp_0;
|
|
@@ -135,16 +135,16 @@ function HttpRedirect$lambda$slambda() {
|
|
|
135
135
|
if (HttpRedirect$lambda$slambdaClass === VOID) {
|
|
136
136
|
class $ {
|
|
137
137
|
constructor($checkHttpMethod, $allowHttpsDowngrade, $this_createClientPlugin) {
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
138
|
+
this.a3q_1 = $checkHttpMethod;
|
|
139
|
+
this.b3q_1 = $allowHttpsDowngrade;
|
|
140
|
+
this.c3q_1 = $this_createClientPlugin;
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
b3p($this$on, request, $completion) {
|
|
143
143
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$on, request), $completion);
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
nd(p1, p2, $completion) {
|
|
146
146
|
var tmp = p1 instanceof Sender() ? p1 : THROW_CCE();
|
|
147
|
-
return this.
|
|
147
|
+
return this.b3p(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -154,7 +154,7 @@ function HttpRedirect$lambda$slambda() {
|
|
|
154
154
|
}
|
|
155
155
|
function HttpRedirect$lambda$slambda_0($checkHttpMethod, $allowHttpsDowngrade, $this_createClientPlugin) {
|
|
156
156
|
var i = new (HttpRedirect$lambda$slambda())($checkHttpMethod, $allowHttpsDowngrade, $this_createClientPlugin);
|
|
157
|
-
var l = ($this$on, request, $completion) => i.
|
|
157
|
+
var l = ($this$on, request, $completion) => i.b3p($this$on, request, $completion);
|
|
158
158
|
l.$arity = 2;
|
|
159
159
|
return l;
|
|
160
160
|
}
|
|
@@ -162,7 +162,7 @@ var properties_initialized_HttpRedirect_kt_klj746;
|
|
|
162
162
|
function _init_properties_HttpRedirect_kt__ure7fo() {
|
|
163
163
|
if (!properties_initialized_HttpRedirect_kt_klj746) {
|
|
164
164
|
properties_initialized_HttpRedirect_kt_klj746 = true;
|
|
165
|
-
ALLOWED_FOR_REDIRECT = setOf([Companion_getInstance_0().
|
|
165
|
+
ALLOWED_FOR_REDIRECT = setOf([Companion_getInstance_0().q33_1, Companion_getInstance_0().v33_1]);
|
|
166
166
|
LOGGER = KtorSimpleLogger('io.ktor.client.plugins.HttpRedirect');
|
|
167
167
|
HttpResponseRedirectEvent = new (EventDefinition())();
|
|
168
168
|
var tmp = HttpRedirectConfig$_init_$ref_rhym9t();
|
|
@@ -37,13 +37,13 @@ function get_HttpRequestLifecycle() {
|
|
|
37
37
|
}
|
|
38
38
|
var HttpRequestLifecycle;
|
|
39
39
|
function *_generator_invoke__zhh2q8($this, $completion) {
|
|
40
|
-
var tmp = $this.
|
|
40
|
+
var tmp = $this.d3q_1.s2t($completion);
|
|
41
41
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
42
42
|
tmp = yield tmp;
|
|
43
43
|
return Unit_instance;
|
|
44
44
|
}
|
|
45
45
|
function *_generator_invoke__zhh2q8_0($this, $this$intercept, it, $completion) {
|
|
46
|
-
var tmp = $this.
|
|
46
|
+
var tmp = $this.e3q_1($this$intercept.p2u_1, PipelineContext$proceed$ref_0($this$intercept), $completion);
|
|
47
47
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
48
48
|
tmp = yield tmp;
|
|
49
49
|
return Unit_instance;
|
|
@@ -53,9 +53,9 @@ function PipelineContext$proceed$ref() {
|
|
|
53
53
|
if (PipelineContext$proceed$refClass === VOID) {
|
|
54
54
|
class $ {
|
|
55
55
|
constructor(p0) {
|
|
56
|
-
this.
|
|
56
|
+
this.d3q_1 = p0;
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
od($completion) {
|
|
59
59
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -66,7 +66,7 @@ function PipelineContext$proceed$ref() {
|
|
|
66
66
|
}
|
|
67
67
|
function PipelineContext$proceed$ref_0(p0) {
|
|
68
68
|
var i = new (PipelineContext$proceed$ref())(p0);
|
|
69
|
-
var l = ($completion) => i.
|
|
69
|
+
var l = ($completion) => i.od($completion);
|
|
70
70
|
l.$arity = 0;
|
|
71
71
|
return l;
|
|
72
72
|
}
|
|
@@ -75,14 +75,14 @@ function SetupRequestContext$install$slambda() {
|
|
|
75
75
|
if (SetupRequestContext$install$slambdaClass === VOID) {
|
|
76
76
|
class $ {
|
|
77
77
|
constructor($handler) {
|
|
78
|
-
this.
|
|
78
|
+
this.e3q_1 = $handler;
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
p3g($this$intercept, it, $completion) {
|
|
81
81
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$intercept, it), $completion);
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
nd(p1, p2, $completion) {
|
|
84
84
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
85
|
-
return this.
|
|
85
|
+
return this.p3g(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -92,7 +92,7 @@ function SetupRequestContext$install$slambda() {
|
|
|
92
92
|
}
|
|
93
93
|
function SetupRequestContext$install$slambda_0($handler) {
|
|
94
94
|
var i = new (SetupRequestContext$install$slambda())($handler);
|
|
95
|
-
var l = ($this$intercept, it, $completion) => i.
|
|
95
|
+
var l = ($this$intercept, it, $completion) => i.p3g($this$intercept, it, $completion);
|
|
96
96
|
l.$arity = 2;
|
|
97
97
|
return l;
|
|
98
98
|
}
|
|
@@ -100,12 +100,12 @@ var SetupRequestContextClass;
|
|
|
100
100
|
function SetupRequestContext() {
|
|
101
101
|
if (SetupRequestContextClass === VOID) {
|
|
102
102
|
class $ {
|
|
103
|
-
|
|
104
|
-
var tmp = Phases_getInstance().
|
|
105
|
-
client.
|
|
103
|
+
f3q(client, handler) {
|
|
104
|
+
var tmp = Phases_getInstance().d3m_1;
|
|
105
|
+
client.s3f_1.t2u(tmp, SetupRequestContext$install$slambda_0(handler));
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
return this.
|
|
107
|
+
i3m(client, handler) {
|
|
108
|
+
return this.f3q(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
initMetadataForObject($, 'SetupRequestContext');
|
|
@@ -119,34 +119,34 @@ function SetupRequestContext_getInstance() {
|
|
|
119
119
|
}
|
|
120
120
|
function attachToClientEngineJob(requestJob, clientEngineJob) {
|
|
121
121
|
_init_properties_HttpRequestLifecycle_kt__jgkmfx();
|
|
122
|
-
var handler = clientEngineJob.
|
|
123
|
-
requestJob.
|
|
122
|
+
var handler = clientEngineJob.e1r(attachToClientEngineJob$lambda(requestJob));
|
|
123
|
+
requestJob.e1r(attachToClientEngineJob$lambda_0(handler));
|
|
124
124
|
}
|
|
125
125
|
function HttpRequestLifecycle$lambda($this$createClientPlugin) {
|
|
126
126
|
_init_properties_HttpRequestLifecycle_kt__jgkmfx();
|
|
127
127
|
var tmp = SetupRequestContext_instance;
|
|
128
|
-
$this$createClientPlugin.
|
|
128
|
+
$this$createClientPlugin.u3m(tmp, HttpRequestLifecycle$lambda$slambda_0($this$createClientPlugin));
|
|
129
129
|
return Unit_instance;
|
|
130
130
|
}
|
|
131
131
|
function *_generator_invoke__zhh2q8_1($this, request, proceed, $completion) {
|
|
132
|
-
var executionContext = SupervisorJob(request.
|
|
133
|
-
attachToClientEngineJob(executionContext, ensureNotNull($this.
|
|
132
|
+
var executionContext = SupervisorJob(request.n3g_1);
|
|
133
|
+
attachToClientEngineJob(executionContext, ensureNotNull($this.g3q_1.q3m_1.r3f_1.ad(Key_instance)));
|
|
134
134
|
try {
|
|
135
|
-
request.
|
|
135
|
+
request.n3g_1 = executionContext;
|
|
136
136
|
var tmp = proceed($completion);
|
|
137
137
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
138
138
|
tmp = yield tmp;
|
|
139
139
|
} catch ($p) {
|
|
140
140
|
if ($p instanceof Error) {
|
|
141
141
|
var cause = $p;
|
|
142
|
-
executionContext.
|
|
142
|
+
executionContext.j1w(cause);
|
|
143
143
|
throw cause;
|
|
144
144
|
} else {
|
|
145
145
|
throw $p;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
finally {
|
|
149
|
-
executionContext.
|
|
149
|
+
executionContext.k1w();
|
|
150
150
|
}
|
|
151
151
|
return Unit_instance;
|
|
152
152
|
}
|
|
@@ -155,14 +155,14 @@ function HttpRequestLifecycle$lambda$slambda() {
|
|
|
155
155
|
if (HttpRequestLifecycle$lambda$slambdaClass === VOID) {
|
|
156
156
|
class $ {
|
|
157
157
|
constructor($this_createClientPlugin) {
|
|
158
|
-
this.
|
|
158
|
+
this.g3q_1 = $this_createClientPlugin;
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
h3q(request, proceed, $completion) {
|
|
161
161
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_1.bind(VOID, this, request, proceed), $completion);
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
nd(p1, p2, $completion) {
|
|
164
164
|
var tmp = p1 instanceof HttpRequestBuilder() ? p1 : THROW_CCE();
|
|
165
|
-
return this.
|
|
165
|
+
return this.h3q(tmp, (!(p2 == null) ? isSuspendFunction(p2, 0) : false) ? p2 : THROW_CCE(), $completion);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -172,25 +172,25 @@ function HttpRequestLifecycle$lambda$slambda() {
|
|
|
172
172
|
}
|
|
173
173
|
function HttpRequestLifecycle$lambda$slambda_0($this_createClientPlugin) {
|
|
174
174
|
var i = new (HttpRequestLifecycle$lambda$slambda())($this_createClientPlugin);
|
|
175
|
-
var l = (request, proceed, $completion) => i.
|
|
175
|
+
var l = (request, proceed, $completion) => i.h3q(request, proceed, $completion);
|
|
176
176
|
l.$arity = 2;
|
|
177
177
|
return l;
|
|
178
178
|
}
|
|
179
179
|
function attachToClientEngineJob$lambda($requestJob) {
|
|
180
180
|
return (cause) => {
|
|
181
181
|
if (!(cause == null)) {
|
|
182
|
-
get_LOGGER().
|
|
182
|
+
get_LOGGER().t2v('Cancelling request because engine Job failed with error: ' + cause.toString());
|
|
183
183
|
cancel($requestJob, 'Engine failed', cause);
|
|
184
184
|
} else {
|
|
185
|
-
get_LOGGER().
|
|
186
|
-
$requestJob.
|
|
185
|
+
get_LOGGER().t2v('Cancelling request because engine Job completed');
|
|
186
|
+
$requestJob.k1w();
|
|
187
187
|
}
|
|
188
188
|
return Unit_instance;
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
191
|
function attachToClientEngineJob$lambda_0($handler) {
|
|
192
192
|
return (it) => {
|
|
193
|
-
$handler.
|
|
193
|
+
$handler.i1t();
|
|
194
194
|
return Unit_instance;
|
|
195
195
|
};
|
|
196
196
|
}
|