@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
|
@@ -43,13 +43,13 @@ import { Continuation1aa2oekvx7jm7 as Continuation } from '../../../../../kotlin
|
|
|
43
43
|
//region block: pre-declaration
|
|
44
44
|
//endregion
|
|
45
45
|
function *_generator_invoke__zhh2q8($this, it, $completion) {
|
|
46
|
-
var tmp = $this.
|
|
46
|
+
var tmp = $this.o28_1.w25(it, $completion);
|
|
47
47
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
48
48
|
tmp = yield tmp;
|
|
49
49
|
return Unit_instance;
|
|
50
50
|
}
|
|
51
51
|
function *_generator_invoke__zhh2q8_0($this, $this$coroutineScope, $completion) {
|
|
52
|
-
var tmp = emitAll($this.
|
|
52
|
+
var tmp = emitAll($this.p28_1, $this.q28_1.c26($this$coroutineScope), $completion);
|
|
53
53
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
54
54
|
tmp = yield tmp;
|
|
55
55
|
return Unit_instance;
|
|
@@ -59,13 +59,13 @@ function ChannelFlow$_get_collectToFun_$slambda_j53z2e() {
|
|
|
59
59
|
if (ChannelFlow$_get_collectToFun_$slambda_j53z2eClass === VOID) {
|
|
60
60
|
class $ {
|
|
61
61
|
constructor(this$0) {
|
|
62
|
-
this.
|
|
62
|
+
this.o28_1 = this$0;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
r28(it, $completion) {
|
|
65
65
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, it), $completion);
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
return this.
|
|
67
|
+
md(p1, $completion) {
|
|
68
|
+
return this.r28((!(p1 == null) ? isInterface(p1, ProducerScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -75,7 +75,7 @@ function ChannelFlow$_get_collectToFun_$slambda_j53z2e() {
|
|
|
75
75
|
}
|
|
76
76
|
function ChannelFlow$_get_collectToFun_$slambda_j53z2e_0(this$0) {
|
|
77
77
|
var i = new (ChannelFlow$_get_collectToFun_$slambda_j53z2e())(this$0);
|
|
78
|
-
var l = (it, $completion) => i.
|
|
78
|
+
var l = (it, $completion) => i.r28(it, $completion);
|
|
79
79
|
l.$arity = 1;
|
|
80
80
|
return l;
|
|
81
81
|
}
|
|
@@ -84,14 +84,14 @@ function ChannelFlow$collect$slambda() {
|
|
|
84
84
|
if (ChannelFlow$collect$slambdaClass === VOID) {
|
|
85
85
|
class $ {
|
|
86
86
|
constructor($collector, this$0) {
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
87
|
+
this.p28_1 = $collector;
|
|
88
|
+
this.q28_1 = this$0;
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
s28($this$coroutineScope, $completion) {
|
|
91
91
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$coroutineScope), $completion);
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
return this.
|
|
93
|
+
md(p1, $completion) {
|
|
94
|
+
return this.s28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -101,7 +101,7 @@ function ChannelFlow$collect$slambda() {
|
|
|
101
101
|
}
|
|
102
102
|
function ChannelFlow$collect$slambda_0($collector, this$0) {
|
|
103
103
|
var i = new (ChannelFlow$collect$slambda())($collector, this$0);
|
|
104
|
-
var l = ($this$coroutineScope, $completion) => i.
|
|
104
|
+
var l = ($this$coroutineScope, $completion) => i.s28($this$coroutineScope, $completion);
|
|
105
105
|
l.$arity = 1;
|
|
106
106
|
return l;
|
|
107
107
|
}
|
|
@@ -110,43 +110,43 @@ function ChannelFlow() {
|
|
|
110
110
|
if (ChannelFlowClass === VOID) {
|
|
111
111
|
class $ {
|
|
112
112
|
constructor(context, capacity, onBufferOverflow) {
|
|
113
|
-
this.
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
113
|
+
this.x25_1 = context;
|
|
114
|
+
this.y25_1 = capacity;
|
|
115
|
+
this.z25_1 = onBufferOverflow;
|
|
116
116
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
a26() {
|
|
119
119
|
return ChannelFlow$_get_collectToFun_$slambda_j53z2e_0(this);
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
return this.
|
|
121
|
+
b26() {
|
|
122
|
+
return this.y25_1 === -3 ? -2 : this.y25_1;
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
return produce(scope, this.
|
|
124
|
+
c26(scope) {
|
|
125
|
+
return produce(scope, this.x25_1, this.b26(), this.z25_1, CoroutineStart_ATOMIC_getInstance(), VOID, this.a26());
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
d26(collector, $completion) {
|
|
128
128
|
return coroutineScope(ChannelFlow$collect$slambda_0(collector, this), $completion);
|
|
129
129
|
}
|
|
130
|
-
|
|
130
|
+
e26() {
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
133
|
toString() {
|
|
134
134
|
var props = ArrayList().g2(4);
|
|
135
|
-
var tmp0_safe_receiver = this.
|
|
135
|
+
var tmp0_safe_receiver = this.e26();
|
|
136
136
|
if (tmp0_safe_receiver == null)
|
|
137
137
|
null;
|
|
138
138
|
else {
|
|
139
139
|
// Inline function 'kotlin.let' call
|
|
140
140
|
props.h2(tmp0_safe_receiver);
|
|
141
141
|
}
|
|
142
|
-
if (!(this.
|
|
143
|
-
props.h2('context=' + toString(this.
|
|
142
|
+
if (!(this.x25_1 === EmptyCoroutineContext_instance)) {
|
|
143
|
+
props.h2('context=' + toString(this.x25_1));
|
|
144
144
|
}
|
|
145
|
-
if (!(this.
|
|
146
|
-
props.h2('capacity=' + this.
|
|
145
|
+
if (!(this.y25_1 === -3)) {
|
|
146
|
+
props.h2('capacity=' + this.y25_1);
|
|
147
147
|
}
|
|
148
|
-
if (!this.
|
|
149
|
-
props.h2('onBufferOverflow=' + this.
|
|
148
|
+
if (!this.z25_1.equals(BufferOverflow_SUSPEND_getInstance())) {
|
|
149
|
+
props.h2('onBufferOverflow=' + this.z25_1.toString());
|
|
150
150
|
}
|
|
151
151
|
return get_classSimpleName(this) + '[' + joinToString(props, ', ') + ']';
|
|
152
152
|
}
|
|
@@ -157,36 +157,36 @@ function ChannelFlow() {
|
|
|
157
157
|
return ChannelFlowClass;
|
|
158
158
|
}
|
|
159
159
|
function *_generator_invoke__zhh2q8_1($this, it, $completion) {
|
|
160
|
-
var tmp = $this.
|
|
160
|
+
var tmp = $this.t28_1.y28(it, $completion);
|
|
161
161
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
162
162
|
tmp = yield tmp;
|
|
163
163
|
return Unit_instance;
|
|
164
164
|
}
|
|
165
165
|
function collectWithContextUndispatched($this, collector, newContext, $completion) {
|
|
166
166
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
167
|
-
var tmp$ret$0 = $completion.
|
|
167
|
+
var tmp$ret$0 = $completion.kc();
|
|
168
168
|
var originalContextCollector = withUndispatchedContextCollector(collector, tmp$ret$0);
|
|
169
169
|
return withContextUndispatched(newContext, originalContextCollector, VOID, ChannelFlowOperator$collectWithContextUndispatched$slambda_0($this), $completion);
|
|
170
170
|
}
|
|
171
171
|
function *_generator_collect__dlomyy($this, collector, $completion) {
|
|
172
|
-
if ($this.
|
|
172
|
+
if ($this.y25_1 === -3) {
|
|
173
173
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
174
|
-
var collectContext = $completion.
|
|
175
|
-
var newContext = newCoroutineContext(collectContext, $this.
|
|
174
|
+
var collectContext = $completion.kc();
|
|
175
|
+
var newContext = newCoroutineContext(collectContext, $this.x25_1);
|
|
176
176
|
if (equals(newContext, collectContext)) {
|
|
177
|
-
var tmp = $this.
|
|
177
|
+
var tmp = $this.y28(collector, $completion);
|
|
178
178
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
179
179
|
tmp = yield tmp;
|
|
180
180
|
return Unit_instance;
|
|
181
181
|
}
|
|
182
|
-
if (equals(newContext.
|
|
182
|
+
if (equals(newContext.ad(Key_instance), collectContext.ad(Key_instance))) {
|
|
183
183
|
var tmp_0 = collectWithContextUndispatched($this, collector, newContext, $completion);
|
|
184
184
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
185
185
|
tmp_0 = yield tmp_0;
|
|
186
186
|
return Unit_instance;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
var tmp_1 = protoOf(ChannelFlow()).
|
|
189
|
+
var tmp_1 = protoOf(ChannelFlow()).d26.call($this, collector, $completion);
|
|
190
190
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
191
191
|
tmp_1 = yield tmp_1;
|
|
192
192
|
return Unit_instance;
|
|
@@ -196,13 +196,13 @@ function ChannelFlowOperator$collectWithContextUndispatched$slambda() {
|
|
|
196
196
|
if (ChannelFlowOperator$collectWithContextUndispatched$slambdaClass === VOID) {
|
|
197
197
|
class $ {
|
|
198
198
|
constructor(this$0) {
|
|
199
|
-
this.
|
|
199
|
+
this.t28_1 = this$0;
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
z28(it, $completion) {
|
|
202
202
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_1.bind(VOID, this, it), $completion);
|
|
203
203
|
}
|
|
204
|
-
|
|
205
|
-
return this.
|
|
204
|
+
md(p1, $completion) {
|
|
205
|
+
return this.z28((!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE(), $completion);
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -212,7 +212,7 @@ function ChannelFlowOperator$collectWithContextUndispatched$slambda() {
|
|
|
212
212
|
}
|
|
213
213
|
function ChannelFlowOperator$collectWithContextUndispatched$slambda_0(this$0) {
|
|
214
214
|
var i = new (ChannelFlowOperator$collectWithContextUndispatched$slambda())(this$0);
|
|
215
|
-
var l = (it, $completion) => i.
|
|
215
|
+
var l = (it, $completion) => i.z28(it, $completion);
|
|
216
216
|
l.$arity = 1;
|
|
217
217
|
return l;
|
|
218
218
|
}
|
|
@@ -222,16 +222,16 @@ function ChannelFlowOperator() {
|
|
|
222
222
|
class $ extends ChannelFlow() {
|
|
223
223
|
constructor(flow, context, capacity, onBufferOverflow) {
|
|
224
224
|
super(context, capacity, onBufferOverflow);
|
|
225
|
-
this.
|
|
225
|
+
this.x28_1 = flow;
|
|
226
226
|
}
|
|
227
|
-
|
|
228
|
-
return this.
|
|
227
|
+
w25(scope, $completion) {
|
|
228
|
+
return this.y28(new (SendingCollector())(scope), $completion);
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
d26(collector, $completion) {
|
|
231
231
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_collect__dlomyy.bind(VOID, this, collector), $completion);
|
|
232
232
|
}
|
|
233
233
|
toString() {
|
|
234
|
-
return toString(this.
|
|
234
|
+
return toString(this.x28_1) + ' -> ' + super.toString();
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
initMetadataForClass($, 'ChannelFlowOperator', VOID, VOID, VOID, [1, 2]);
|
|
@@ -262,7 +262,7 @@ function withContextUndispatched(newContext, value, countOrElement, block, $comp
|
|
|
262
262
|
return startCoroutineUninterceptedOrReturnGeneratorVersion(block, value, completion);
|
|
263
263
|
}
|
|
264
264
|
function *_generator_invoke__zhh2q8_2($this, it, $completion) {
|
|
265
|
-
var tmp = $this.
|
|
265
|
+
var tmp = $this.a29_1.h26(it, $completion);
|
|
266
266
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
267
267
|
tmp = yield tmp;
|
|
268
268
|
return Unit_instance;
|
|
@@ -272,13 +272,13 @@ function UndispatchedContextCollector$emitRef$slambda() {
|
|
|
272
272
|
if (UndispatchedContextCollector$emitRef$slambdaClass === VOID) {
|
|
273
273
|
class $ {
|
|
274
274
|
constructor($downstream) {
|
|
275
|
-
this.
|
|
275
|
+
this.a29_1 = $downstream;
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
b29(it, $completion) {
|
|
278
278
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_2.bind(VOID, this, it), $completion);
|
|
279
279
|
}
|
|
280
|
-
|
|
281
|
-
return this.
|
|
280
|
+
md(p1, $completion) {
|
|
281
|
+
return this.b29((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -288,7 +288,7 @@ function UndispatchedContextCollector$emitRef$slambda() {
|
|
|
288
288
|
}
|
|
289
289
|
function UndispatchedContextCollector$emitRef$slambda_0($downstream) {
|
|
290
290
|
var i = new (UndispatchedContextCollector$emitRef$slambda())($downstream);
|
|
291
|
-
var l = (it, $completion) => i.
|
|
291
|
+
var l = (it, $completion) => i.b29(it, $completion);
|
|
292
292
|
l.$arity = 1;
|
|
293
293
|
return l;
|
|
294
294
|
}
|
|
@@ -297,13 +297,13 @@ function UndispatchedContextCollector() {
|
|
|
297
297
|
if (UndispatchedContextCollectorClass === VOID) {
|
|
298
298
|
class $ {
|
|
299
299
|
constructor(downstream, emitContext) {
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
300
|
+
this.c29_1 = emitContext;
|
|
301
|
+
this.d29_1 = threadContextElements(this.c29_1);
|
|
302
302
|
var tmp = this;
|
|
303
|
-
tmp.
|
|
303
|
+
tmp.e29_1 = UndispatchedContextCollector$emitRef$slambda_0(downstream);
|
|
304
304
|
}
|
|
305
|
-
|
|
306
|
-
return withContextUndispatched(this.
|
|
305
|
+
h26(value, $completion) {
|
|
306
|
+
return withContextUndispatched(this.c29_1, value, this.d29_1, this.e29_1, $completion);
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
initMetadataForClass($, 'UndispatchedContextCollector', VOID, VOID, [FlowCollector()], [1]);
|
|
@@ -316,14 +316,14 @@ function StackFrameContinuation() {
|
|
|
316
316
|
if (StackFrameContinuationClass === VOID) {
|
|
317
317
|
class $ {
|
|
318
318
|
constructor(uCont, context) {
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
319
|
+
this.f29_1 = uCont;
|
|
320
|
+
this.g29_1 = context;
|
|
321
321
|
}
|
|
322
|
-
|
|
323
|
-
return this.
|
|
322
|
+
kc() {
|
|
323
|
+
return this.g29_1;
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
this.
|
|
325
|
+
mc(result) {
|
|
326
|
+
this.f29_1.mc(result);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
initMetadataForClass($, 'StackFrameContinuation', VOID, VOID, [Continuation()]);
|
|
@@ -10,13 +10,13 @@ var ChildCancelledExceptionClass;
|
|
|
10
10
|
function ChildCancelledException() {
|
|
11
11
|
if (ChildCancelledExceptionClass === VOID) {
|
|
12
12
|
class $ extends CancellationException() {
|
|
13
|
-
static
|
|
13
|
+
static e2a() {
|
|
14
14
|
var $this = this.n('Child of the scoped flow was cancelled');
|
|
15
|
-
captureStack($this, $this.
|
|
15
|
+
captureStack($this, $this.d2a_1);
|
|
16
16
|
return $this;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
initMetadataForClass($, 'ChildCancelledException', $.
|
|
19
|
+
initMetadataForClass($, 'ChildCancelledException', $.e2a);
|
|
20
20
|
ChildCancelledExceptionClass = $;
|
|
21
21
|
}
|
|
22
22
|
return ChildCancelledExceptionClass;
|
|
@@ -25,10 +25,10 @@ var AbortFlowExceptionClass;
|
|
|
25
25
|
function AbortFlowException() {
|
|
26
26
|
if (AbortFlowExceptionClass === VOID) {
|
|
27
27
|
class $ extends CancellationException() {
|
|
28
|
-
static
|
|
28
|
+
static t2a(owner) {
|
|
29
29
|
var $this = this.n('Flow was aborted, no more elements needed');
|
|
30
|
-
captureStack($this, $this.
|
|
31
|
-
$this.
|
|
30
|
+
captureStack($this, $this.m29_1);
|
|
31
|
+
$this.l29_1 = owner;
|
|
32
32
|
return $this;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -29,24 +29,24 @@ import { BufferOverflow_SUSPEND_getInstance31wn3v83onf3w as BufferOverflow_SUSPE
|
|
|
29
29
|
//region block: pre-declaration
|
|
30
30
|
//endregion
|
|
31
31
|
function *_generator_invoke__zhh2q8($this, $this$launch, $completion) {
|
|
32
|
-
var tmp = $this.
|
|
32
|
+
var tmp = $this.s29_1.r29_1($this.t29_1, $this.u29_1, $completion);
|
|
33
33
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
34
34
|
tmp = yield tmp;
|
|
35
35
|
return Unit_instance;
|
|
36
36
|
}
|
|
37
37
|
function *_generator_invoke__zhh2q8_0($this, value, $completion) {
|
|
38
|
-
var tmp0_safe_receiver = $this.
|
|
38
|
+
var tmp0_safe_receiver = $this.v29_1._v;
|
|
39
39
|
if (tmp0_safe_receiver == null)
|
|
40
40
|
null;
|
|
41
41
|
else {
|
|
42
42
|
// Inline function 'kotlin.apply' call
|
|
43
|
-
tmp0_safe_receiver.
|
|
44
|
-
var tmp = tmp0_safe_receiver.
|
|
43
|
+
tmp0_safe_receiver.l1r(ChildCancelledException().e2a());
|
|
44
|
+
var tmp = tmp0_safe_receiver.i1r($completion);
|
|
45
45
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
46
46
|
tmp = yield tmp;
|
|
47
47
|
}
|
|
48
48
|
var tmp_0 = CoroutineStart_UNDISPATCHED_getInstance();
|
|
49
|
-
$this.
|
|
49
|
+
$this.v29_1._v = launch($this.w29_1, VOID, tmp_0, ChannelFlowTransformLatest$flowCollect$slambda$slambda$slambda_0($this.x29_1, $this.y29_1, value));
|
|
50
50
|
return Unit_instance;
|
|
51
51
|
}
|
|
52
52
|
var ChannelFlowTransformLatest$flowCollect$slambda$slambda$slambdaClass;
|
|
@@ -54,15 +54,15 @@ function ChannelFlowTransformLatest$flowCollect$slambda$slambda$slambda() {
|
|
|
54
54
|
if (ChannelFlowTransformLatest$flowCollect$slambda$slambda$slambdaClass === VOID) {
|
|
55
55
|
class $ {
|
|
56
56
|
constructor(this$0, $collector, $value) {
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
57
|
+
this.s29_1 = this$0;
|
|
58
|
+
this.t29_1 = $collector;
|
|
59
|
+
this.u29_1 = $value;
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
s28($this$launch, $completion) {
|
|
62
62
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$launch), $completion);
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
return this.
|
|
64
|
+
md(p1, $completion) {
|
|
65
|
+
return this.s28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -72,14 +72,14 @@ function ChannelFlowTransformLatest$flowCollect$slambda$slambda$slambda() {
|
|
|
72
72
|
}
|
|
73
73
|
function ChannelFlowTransformLatest$flowCollect$slambda$slambda$slambda_0(this$0, $collector, $value) {
|
|
74
74
|
var i = new (ChannelFlowTransformLatest$flowCollect$slambda$slambda$slambda())(this$0, $collector, $value);
|
|
75
|
-
var l = ($this$launch, $completion) => i.
|
|
75
|
+
var l = ($this$launch, $completion) => i.s28($this$launch, $completion);
|
|
76
76
|
l.$arity = 1;
|
|
77
77
|
return l;
|
|
78
78
|
}
|
|
79
79
|
function *_generator_invoke__zhh2q8_1($this, $this$coroutineScope, $completion) {
|
|
80
80
|
var previousFlow = {_v: null};
|
|
81
|
-
var tmp = ChannelFlowTransformLatest$flowCollect$slambda$slambda_0(previousFlow, $this$coroutineScope, $this.
|
|
82
|
-
var tmp_0 = $this.
|
|
81
|
+
var tmp = ChannelFlowTransformLatest$flowCollect$slambda$slambda_0(previousFlow, $this$coroutineScope, $this.f2a_1, $this.g2a_1);
|
|
82
|
+
var tmp_0 = $this.f2a_1.x28_1.d26(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
|
|
83
83
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
84
84
|
tmp_0 = yield tmp_0;
|
|
85
85
|
return Unit_instance;
|
|
@@ -89,16 +89,16 @@ function ChannelFlowTransformLatest$flowCollect$slambda$slambda() {
|
|
|
89
89
|
if (ChannelFlowTransformLatest$flowCollect$slambda$slambdaClass === VOID) {
|
|
90
90
|
class $ {
|
|
91
91
|
constructor($previousFlow, $this_coroutineScope, this$0, $collector) {
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
92
|
+
this.v29_1 = $previousFlow;
|
|
93
|
+
this.w29_1 = $this_coroutineScope;
|
|
94
|
+
this.x29_1 = this$0;
|
|
95
|
+
this.y29_1 = $collector;
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
b29(value, $completion) {
|
|
98
98
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, value), $completion);
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
return this.
|
|
100
|
+
md(p1, $completion) {
|
|
101
|
+
return this.b29((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -108,7 +108,7 @@ function ChannelFlowTransformLatest$flowCollect$slambda$slambda() {
|
|
|
108
108
|
}
|
|
109
109
|
function ChannelFlowTransformLatest$flowCollect$slambda$slambda_0($previousFlow, $this_coroutineScope, this$0, $collector) {
|
|
110
110
|
var i = new (ChannelFlowTransformLatest$flowCollect$slambda$slambda())($previousFlow, $this_coroutineScope, this$0, $collector);
|
|
111
|
-
var l = (value, $completion) => i.
|
|
111
|
+
var l = (value, $completion) => i.b29(value, $completion);
|
|
112
112
|
l.$arity = 1;
|
|
113
113
|
return l;
|
|
114
114
|
}
|
|
@@ -124,20 +124,20 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
124
124
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
|
|
125
125
|
class $ {
|
|
126
126
|
constructor(function_0) {
|
|
127
|
-
this.
|
|
127
|
+
this.h2a_1 = function_0;
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
return this.
|
|
129
|
+
h26(value, $completion) {
|
|
130
|
+
return this.h2a_1(value, $completion);
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
return this.
|
|
132
|
+
f5() {
|
|
133
|
+
return this.h2a_1;
|
|
134
134
|
}
|
|
135
135
|
equals(other) {
|
|
136
136
|
var tmp;
|
|
137
137
|
if (!(other == null) ? isInterface(other, FlowCollector()) : false) {
|
|
138
138
|
var tmp_0;
|
|
139
139
|
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
140
|
-
tmp_0 = equals(this.
|
|
140
|
+
tmp_0 = equals(this.f5(), other.f5());
|
|
141
141
|
} else {
|
|
142
142
|
tmp_0 = false;
|
|
143
143
|
}
|
|
@@ -148,7 +148,7 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
148
148
|
return tmp;
|
|
149
149
|
}
|
|
150
150
|
hashCode() {
|
|
151
|
-
return hashCode(this.
|
|
151
|
+
return hashCode(this.f5());
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
initMetadataForClass($, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector(), FunctionAdapter()], [1]);
|
|
@@ -161,14 +161,14 @@ function ChannelFlowTransformLatest$flowCollect$slambda() {
|
|
|
161
161
|
if (ChannelFlowTransformLatest$flowCollect$slambdaClass === VOID) {
|
|
162
162
|
class $ {
|
|
163
163
|
constructor(this$0, $collector) {
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
164
|
+
this.f2a_1 = this$0;
|
|
165
|
+
this.g2a_1 = $collector;
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
s28($this$coroutineScope, $completion) {
|
|
168
168
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_1.bind(VOID, this, $this$coroutineScope), $completion);
|
|
169
169
|
}
|
|
170
|
-
|
|
171
|
-
return this.
|
|
170
|
+
md(p1, $completion) {
|
|
171
|
+
return this.s28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -178,7 +178,7 @@ function ChannelFlowTransformLatest$flowCollect$slambda() {
|
|
|
178
178
|
}
|
|
179
179
|
function ChannelFlowTransformLatest$flowCollect$slambda_0(this$0, $collector) {
|
|
180
180
|
var i = new (ChannelFlowTransformLatest$flowCollect$slambda())(this$0, $collector);
|
|
181
|
-
var l = ($this$coroutineScope, $completion) => i.
|
|
181
|
+
var l = ($this$coroutineScope, $completion) => i.s28($this$coroutineScope, $completion);
|
|
182
182
|
l.$arity = 1;
|
|
183
183
|
return l;
|
|
184
184
|
}
|
|
@@ -191,13 +191,13 @@ function ChannelFlowTransformLatest() {
|
|
|
191
191
|
capacity = capacity === VOID ? -2 : capacity;
|
|
192
192
|
onBufferOverflow = onBufferOverflow === VOID ? BufferOverflow_SUSPEND_getInstance() : onBufferOverflow;
|
|
193
193
|
super(flow, context, capacity, onBufferOverflow);
|
|
194
|
-
this.
|
|
194
|
+
this.r29_1 = transform;
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
i2a(collector, $completion) {
|
|
197
197
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_flowCollect__xunvc8.bind(VOID, this, collector), $completion);
|
|
198
198
|
}
|
|
199
|
-
|
|
200
|
-
return this.
|
|
199
|
+
y28(collector, $completion) {
|
|
200
|
+
return this.i2a(collector, $completion);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
initMetadataForClass($, 'ChannelFlowTransformLatest', VOID, VOID, VOID, [1]);
|
|
@@ -14,10 +14,10 @@ import { toString30pk9tzaqopn as toString_0 } from '../../../../../kotlin-kotlin
|
|
|
14
14
|
//region block: pre-declaration
|
|
15
15
|
//endregion
|
|
16
16
|
function checkContext(_this__u8e3s4, currentContext) {
|
|
17
|
-
var result = currentContext.
|
|
18
|
-
if (!(result === _this__u8e3s4.
|
|
17
|
+
var result = currentContext.cl(0, checkContext$lambda(_this__u8e3s4));
|
|
18
|
+
if (!(result === _this__u8e3s4.l2a_1)) {
|
|
19
19
|
// Inline function 'kotlin.error' call
|
|
20
|
-
var message = 'Flow invariant is violated:\n' + ('\t\tFlow was collected in ' + toString(_this__u8e3s4.
|
|
20
|
+
var message = 'Flow invariant is violated:\n' + ('\t\tFlow was collected in ' + toString(_this__u8e3s4.k2a_1) + ',\n') + ('\t\tbut emission happened in ' + toString(currentContext) + '.\n') + "\t\tPlease refer to 'flow' documentation or use 'flowOn' instead";
|
|
21
21
|
throw IllegalStateException().o(toString(message));
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -32,7 +32,7 @@ function transitiveCoroutineParent(_this__u8e3s4, collectJob) {
|
|
|
32
32
|
return $this;
|
|
33
33
|
if (!($this instanceof ScopeCoroutine()))
|
|
34
34
|
return $this;
|
|
35
|
-
var tmp0 = $this.
|
|
35
|
+
var tmp0 = $this.v1q();
|
|
36
36
|
var tmp1 = collectJob_0;
|
|
37
37
|
$this = tmp0;
|
|
38
38
|
collectJob_0 = tmp1;
|
|
@@ -45,7 +45,7 @@ function transitiveCoroutineParent(_this__u8e3s4, collectJob) {
|
|
|
45
45
|
function checkContext$lambda($this_checkContext) {
|
|
46
46
|
return (count, element) => {
|
|
47
47
|
var key = element.f3();
|
|
48
|
-
var collectElement = $this_checkContext.
|
|
48
|
+
var collectElement = $this_checkContext.k2a_1.ad(key);
|
|
49
49
|
var tmp;
|
|
50
50
|
if (!(key === Key_instance)) {
|
|
51
51
|
return !(element === collectElement) ? -2147483648 : count + 1 | 0;
|
|
@@ -13,13 +13,13 @@ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../
|
|
|
13
13
|
function *_generator_emit__qph46j($this, value, $completion) {
|
|
14
14
|
// Inline function 'kotlinx.coroutines.currentCoroutineContext' call
|
|
15
15
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
16
|
-
var currentContext = $completion.
|
|
16
|
+
var currentContext = $completion.kc();
|
|
17
17
|
ensureActive(currentContext);
|
|
18
|
-
if (!($this.
|
|
18
|
+
if (!($this.m2a_1 === currentContext)) {
|
|
19
19
|
checkContext($this, currentContext);
|
|
20
|
-
$this.
|
|
20
|
+
$this.m2a_1 = currentContext;
|
|
21
21
|
}
|
|
22
|
-
var tmp = $this.
|
|
22
|
+
var tmp = $this.j2a_1.h26(value, $completion);
|
|
23
23
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
24
24
|
tmp = yield tmp;
|
|
25
25
|
return Unit_instance;
|
|
@@ -32,16 +32,16 @@ function SafeCollector() {
|
|
|
32
32
|
if (SafeCollectorClass === VOID) {
|
|
33
33
|
class $ {
|
|
34
34
|
constructor(collector, collectContext) {
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
35
|
+
this.j2a_1 = collector;
|
|
36
|
+
this.k2a_1 = collectContext;
|
|
37
37
|
var tmp = this;
|
|
38
|
-
tmp.
|
|
39
|
-
this.
|
|
38
|
+
tmp.l2a_1 = this.k2a_1.cl(0, SafeCollector$collectContextSize$lambda);
|
|
39
|
+
this.m2a_1 = null;
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
h26(value, $completion) {
|
|
42
42
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_emit__qph46j.bind(VOID, this, value), $completion);
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
yc() {
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
initMetadataForClass($, 'SafeCollector', VOID, VOID, [FlowCollector()], [1]);
|
|
@@ -10,10 +10,10 @@ function SendingCollector() {
|
|
|
10
10
|
if (SendingCollectorClass === VOID) {
|
|
11
11
|
class $ {
|
|
12
12
|
constructor(channel) {
|
|
13
|
-
this.
|
|
13
|
+
this.n2a_1 = channel;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
return this.
|
|
15
|
+
h26(value, $completion) {
|
|
16
|
+
return this.n2a_1.y23(value, $completion);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
initMetadataForClass($, 'SendingCollector', VOID, VOID, [FlowCollector()], [1]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
//region block: pre-declaration
|
|
2
2
|
//endregion
|
|
3
3
|
function set_value(_this__u8e3s4, value) {
|
|
4
|
-
return _this__u8e3s4.
|
|
4
|
+
return _this__u8e3s4.w2a(value);
|
|
5
5
|
}
|
|
6
6
|
function get_value(_this__u8e3s4) {
|
|
7
|
-
return _this__u8e3s4.
|
|
7
|
+
return _this__u8e3s4.n1x();
|
|
8
8
|
}
|
|
9
9
|
//region block: exports
|
|
10
10
|
export {
|
|
@@ -13,22 +13,22 @@ function WorkaroundAtomicReference() {
|
|
|
13
13
|
if (WorkaroundAtomicReferenceClass === VOID) {
|
|
14
14
|
class $ {
|
|
15
15
|
constructor(value) {
|
|
16
|
-
this.
|
|
16
|
+
this.y27_1 = value;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
return this.
|
|
18
|
+
n1x() {
|
|
19
|
+
return this.y27_1;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
this.
|
|
21
|
+
w2a(value) {
|
|
22
|
+
this.y27_1 = value;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
var prev = this.
|
|
26
|
-
this.
|
|
24
|
+
a28(value) {
|
|
25
|
+
var prev = this.y27_1;
|
|
26
|
+
this.y27_1 = value;
|
|
27
27
|
return prev;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
if (this.
|
|
31
|
-
this.
|
|
29
|
+
z27(expected, value) {
|
|
30
|
+
if (this.y27_1 === expected) {
|
|
31
|
+
this.y27_1 = value;
|
|
32
32
|
return true;
|
|
33
33
|
}
|
|
34
34
|
return false;
|