@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
|
@@ -44,14 +44,14 @@ function *_generator_deserialize__why6p7(_this__u8e3s4, body, typeInfo, charset,
|
|
|
44
44
|
if (!(result == null)) {
|
|
45
45
|
tmp_1 = result;
|
|
46
46
|
} else {
|
|
47
|
-
if (!body.
|
|
47
|
+
if (!body.s2m()) {
|
|
48
48
|
tmp_1 = body;
|
|
49
49
|
} else {
|
|
50
|
-
var tmp0_safe_receiver = typeInfo.
|
|
50
|
+
var tmp0_safe_receiver = typeInfo.i2v_1;
|
|
51
51
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h1()) === true) {
|
|
52
52
|
tmp_1 = NullBody_instance;
|
|
53
53
|
} else {
|
|
54
|
-
throw ContentConvertException().
|
|
54
|
+
throw ContentConvertException().x3e('No suitable converter found for ' + typeInfo.toString());
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -61,7 +61,7 @@ function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
|
|
|
61
61
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_deserialize__why6p7.bind(VOID, _this__u8e3s4, body, typeInfo, charset), $completion);
|
|
62
62
|
}
|
|
63
63
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
64
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
64
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t2o_1 : defaultCharset;
|
|
65
65
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
66
66
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
67
67
|
}
|
|
@@ -78,10 +78,10 @@ function register$default(contentType, converter, configuration, $super) {
|
|
|
78
78
|
configuration = tmp;
|
|
79
79
|
var tmp_0;
|
|
80
80
|
if ($super === VOID) {
|
|
81
|
-
this.
|
|
81
|
+
this.y3e(contentType, converter, configuration);
|
|
82
82
|
tmp_0 = Unit_instance;
|
|
83
83
|
} else {
|
|
84
|
-
tmp_0 = $super.
|
|
84
|
+
tmp_0 = $super.y3e.call(this, contentType, converter, configuration);
|
|
85
85
|
}
|
|
86
86
|
return tmp_0;
|
|
87
87
|
}
|
|
@@ -95,10 +95,10 @@ function Configuration() {
|
|
|
95
95
|
return ConfigurationClass;
|
|
96
96
|
}
|
|
97
97
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
98
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
99
|
-
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.
|
|
98
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t2o_1 : defaultCharset;
|
|
99
|
+
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.t1g(HttpHeaders_getInstance().v2y_1)).q1();
|
|
100
100
|
while (_iterator__ex2g4s.r1()) {
|
|
101
|
-
var charset = _iterator__ex2g4s.s1().
|
|
101
|
+
var charset = _iterator__ex2g4s.s1().ye();
|
|
102
102
|
if (charset === '*')
|
|
103
103
|
return defaultCharset;
|
|
104
104
|
else if (isSupported(Charsets_getInstance(), charset))
|
|
@@ -107,19 +107,19 @@ function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
|
107
107
|
return null;
|
|
108
108
|
}
|
|
109
109
|
function *_generator_invoke__zhh2q8($this, value, $completion) {
|
|
110
|
-
var $this$transform = $this.
|
|
111
|
-
var tmp = value.
|
|
110
|
+
var $this$transform = $this.a3f_1;
|
|
111
|
+
var tmp = value.e3f($this.b3f_1, $this.c3f_1, $this.d3f_1, $completion);
|
|
112
112
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
113
113
|
tmp = yield tmp;
|
|
114
114
|
var tmp$ret$0 = tmp;
|
|
115
|
-
var tmp_0 = $this$transform.
|
|
115
|
+
var tmp_0 = $this$transform.h26(tmp$ret$0, $completion);
|
|
116
116
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
117
117
|
tmp_0 = yield tmp_0;
|
|
118
118
|
return Unit_instance;
|
|
119
119
|
}
|
|
120
120
|
function *_generator_collect__dlomyy($this, collector, $completion) {
|
|
121
|
-
var tmp = deserialize$o$collect$slambda_0(collector, $this.
|
|
122
|
-
var tmp_0 = $this.
|
|
121
|
+
var tmp = deserialize$o$collect$slambda_0(collector, $this.g3f_1, $this.h3f_1, $this.i3f_1);
|
|
122
|
+
var tmp_0 = $this.f3f_1.d26(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
|
|
123
123
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
124
124
|
tmp_0 = yield tmp_0;
|
|
125
125
|
return Unit_instance;
|
|
@@ -129,20 +129,20 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
129
129
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
|
|
130
130
|
class $ {
|
|
131
131
|
constructor(function_0) {
|
|
132
|
-
this.
|
|
132
|
+
this.j3f_1 = function_0;
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
return this.
|
|
134
|
+
h26(value, $completion) {
|
|
135
|
+
return this.j3f_1(value, $completion);
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
return this.
|
|
137
|
+
f5() {
|
|
138
|
+
return this.j3f_1;
|
|
139
139
|
}
|
|
140
140
|
equals(other) {
|
|
141
141
|
var tmp;
|
|
142
142
|
if (!(other == null) ? isInterface(other, FlowCollector()) : false) {
|
|
143
143
|
var tmp_0;
|
|
144
144
|
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
145
|
-
tmp_0 = equals(this.
|
|
145
|
+
tmp_0 = equals(this.f5(), other.f5());
|
|
146
146
|
} else {
|
|
147
147
|
tmp_0 = false;
|
|
148
148
|
}
|
|
@@ -153,7 +153,7 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
153
153
|
return tmp;
|
|
154
154
|
}
|
|
155
155
|
hashCode() {
|
|
156
|
-
return hashCode(this.
|
|
156
|
+
return hashCode(this.f5());
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
initMetadataForClass($, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector(), FunctionAdapter()], [1]);
|
|
@@ -166,16 +166,16 @@ function deserialize$o$collect$slambda() {
|
|
|
166
166
|
if (deserialize$o$collect$slambdaClass === VOID) {
|
|
167
167
|
class $ {
|
|
168
168
|
constructor($$this$unsafeFlow, $charset, $typeInfo, $body) {
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
169
|
+
this.a3f_1 = $$this$unsafeFlow;
|
|
170
|
+
this.b3f_1 = $charset;
|
|
171
|
+
this.c3f_1 = $typeInfo;
|
|
172
|
+
this.d3f_1 = $body;
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
k3f(value, $completion) {
|
|
175
175
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, value), $completion);
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
return this.
|
|
177
|
+
md(p1, $completion) {
|
|
178
|
+
return this.k3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -185,7 +185,7 @@ function deserialize$o$collect$slambda() {
|
|
|
185
185
|
}
|
|
186
186
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body) {
|
|
187
187
|
var i = new (deserialize$o$collect$slambda())($$this$unsafeFlow, $charset, $typeInfo, $body);
|
|
188
|
-
var l = (value, $completion) => i.
|
|
188
|
+
var l = (value, $completion) => i.k3f(value, $completion);
|
|
189
189
|
l.$arity = 1;
|
|
190
190
|
return l;
|
|
191
191
|
}
|
|
@@ -194,16 +194,16 @@ function deserialize$$inlined$map$1() {
|
|
|
194
194
|
if (deserialize$$inlined$map$1Class === VOID) {
|
|
195
195
|
class $ {
|
|
196
196
|
constructor($this, $charset, $typeInfo, $body) {
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
197
|
+
this.f3f_1 = $this;
|
|
198
|
+
this.g3f_1 = $charset;
|
|
199
|
+
this.h3f_1 = $typeInfo;
|
|
200
|
+
this.i3f_1 = $body;
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
i26(collector, $completion) {
|
|
203
203
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_collect__dlomyy.bind(VOID, this, collector), $completion);
|
|
204
204
|
}
|
|
205
|
-
|
|
206
|
-
return this.
|
|
205
|
+
d26(collector, $completion) {
|
|
206
|
+
return this.i26(collector, $completion);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
initMetadataForClass($, VOID, VOID, VOID, VOID, [1]);
|
|
@@ -216,13 +216,13 @@ function deserialize$slambda() {
|
|
|
216
216
|
if (deserialize$slambdaClass === VOID) {
|
|
217
217
|
class $ {
|
|
218
218
|
constructor($body) {
|
|
219
|
-
this.
|
|
219
|
+
this.l3f_1 = $body;
|
|
220
220
|
}
|
|
221
|
-
|
|
222
|
-
return !(it == null) || this.
|
|
221
|
+
k3f(it, $completion) {
|
|
222
|
+
return !(it == null) || this.l3f_1.s2m();
|
|
223
223
|
}
|
|
224
|
-
|
|
225
|
-
return this.
|
|
224
|
+
md(p1, $completion) {
|
|
225
|
+
return this.k3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -232,7 +232,7 @@ function deserialize$slambda() {
|
|
|
232
232
|
}
|
|
233
233
|
function deserialize$slambda_0($body) {
|
|
234
234
|
var i = new (deserialize$slambda())($body);
|
|
235
|
-
var l = (it, $completion) => i.
|
|
235
|
+
var l = (it, $completion) => i.k3f(it, $completion);
|
|
236
236
|
l.$arity = 1;
|
|
237
237
|
return l;
|
|
238
238
|
}
|
|
@@ -14,7 +14,7 @@ function extensions(format) {
|
|
|
14
14
|
var _iterator__ex2g4s = tmp0.q1();
|
|
15
15
|
while (_iterator__ex2g4s.r1()) {
|
|
16
16
|
var element = _iterator__ex2g4s.s1();
|
|
17
|
-
var tmp0_safe_receiver = element.
|
|
17
|
+
var tmp0_safe_receiver = element.l3z(format);
|
|
18
18
|
if (tmp0_safe_receiver == null)
|
|
19
19
|
null;
|
|
20
20
|
else {
|
|
@@ -46,22 +46,22 @@ import { extensionsocv2ha4uem50 as extensions } from './Extensions.mjs';
|
|
|
46
46
|
//region block: pre-declaration
|
|
47
47
|
//endregion
|
|
48
48
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
49
|
-
_this__u8e3s4.
|
|
49
|
+
_this__u8e3s4.z3e(contentType, new (KotlinxSerializationConverter())(format));
|
|
50
50
|
}
|
|
51
51
|
function *_generator_invoke__zhh2q8($this, value, $completion) {
|
|
52
|
-
var $this$transform = $this.
|
|
53
|
-
var tmp = value.
|
|
52
|
+
var $this$transform = $this.m3z_1;
|
|
53
|
+
var tmp = value.d3z($this.n3z_1, $this.o3z_1, $this.p3z_1, $this.q3z_1, $completion);
|
|
54
54
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
55
55
|
tmp = yield tmp;
|
|
56
56
|
var tmp$ret$0 = tmp;
|
|
57
|
-
var tmp_0 = $this$transform.
|
|
57
|
+
var tmp_0 = $this$transform.h26(tmp$ret$0, $completion);
|
|
58
58
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
59
59
|
tmp_0 = yield tmp_0;
|
|
60
60
|
return Unit_instance;
|
|
61
61
|
}
|
|
62
62
|
function *_generator_collect__dlomyy($this, collector, $completion) {
|
|
63
|
-
var tmp = KotlinxSerializationConverter$serialize$o$collect$slambda_0(collector, $this.
|
|
64
|
-
var tmp_0 = $this.
|
|
63
|
+
var tmp = KotlinxSerializationConverter$serialize$o$collect$slambda_0(collector, $this.s3z_1, $this.t3z_1, $this.u3z_1, $this.v3z_1);
|
|
64
|
+
var tmp_0 = $this.r3z_1.d26(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
|
|
65
65
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
66
66
|
tmp_0 = yield tmp_0;
|
|
67
67
|
return Unit_instance;
|
|
@@ -71,17 +71,17 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
|
|
|
71
71
|
if (KotlinxSerializationConverter$serialize$o$collect$slambdaClass === VOID) {
|
|
72
72
|
class $ {
|
|
73
73
|
constructor($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value) {
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
74
|
+
this.m3z_1 = $$this$unsafeFlow;
|
|
75
|
+
this.n3z_1 = $contentType;
|
|
76
|
+
this.o3z_1 = $charset;
|
|
77
|
+
this.p3z_1 = $typeInfo;
|
|
78
|
+
this.q3z_1 = $value;
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
k3f(value, $completion) {
|
|
81
81
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, value), $completion);
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
return this.
|
|
83
|
+
md(p1, $completion) {
|
|
84
|
+
return this.k3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -91,24 +91,24 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
|
|
|
91
91
|
}
|
|
92
92
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value) {
|
|
93
93
|
var i = new (KotlinxSerializationConverter$serialize$o$collect$slambda())($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value);
|
|
94
|
-
var l = (value, $completion) => i.
|
|
94
|
+
var l = (value, $completion) => i.k3f(value, $completion);
|
|
95
95
|
l.$arity = 1;
|
|
96
96
|
return l;
|
|
97
97
|
}
|
|
98
98
|
function *_generator_invoke__zhh2q8_0($this, value, $completion) {
|
|
99
|
-
var $this$transform = $this.
|
|
100
|
-
var tmp = value.
|
|
99
|
+
var $this$transform = $this.w3z_1;
|
|
100
|
+
var tmp = value.e3f($this.x3z_1, $this.y3z_1, $this.z3z_1, $completion);
|
|
101
101
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
102
102
|
tmp = yield tmp;
|
|
103
103
|
var tmp$ret$0 = tmp;
|
|
104
|
-
var tmp_0 = $this$transform.
|
|
104
|
+
var tmp_0 = $this$transform.h26(tmp$ret$0, $completion);
|
|
105
105
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
106
106
|
tmp_0 = yield tmp_0;
|
|
107
107
|
return Unit_instance;
|
|
108
108
|
}
|
|
109
109
|
function *_generator_collect__dlomyy_0($this, collector, $completion) {
|
|
110
|
-
var tmp = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(collector, $this.
|
|
111
|
-
var tmp_0 = $this.
|
|
110
|
+
var tmp = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(collector, $this.b40_1, $this.c40_1, $this.d40_1);
|
|
111
|
+
var tmp_0 = $this.a40_1.d26(new (sam$kotlinx_coroutines_flow_FlowCollector$0_0())(tmp), $completion);
|
|
112
112
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
113
113
|
tmp_0 = yield tmp_0;
|
|
114
114
|
return Unit_instance;
|
|
@@ -118,16 +118,16 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
|
|
|
118
118
|
if (KotlinxSerializationConverter$deserialize$o$collect$slambdaClass === VOID) {
|
|
119
119
|
class $ {
|
|
120
120
|
constructor($$this$unsafeFlow, $charset, $typeInfo, $content) {
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
121
|
+
this.w3z_1 = $$this$unsafeFlow;
|
|
122
|
+
this.x3z_1 = $charset;
|
|
123
|
+
this.y3z_1 = $typeInfo;
|
|
124
|
+
this.z3z_1 = $content;
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
k3f(value, $completion) {
|
|
127
127
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, value), $completion);
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
return this.
|
|
129
|
+
md(p1, $completion) {
|
|
130
|
+
return this.k3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -137,14 +137,14 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
|
|
|
137
137
|
}
|
|
138
138
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content) {
|
|
139
139
|
var i = new (KotlinxSerializationConverter$deserialize$o$collect$slambda())($$this$unsafeFlow, $charset, $typeInfo, $content);
|
|
140
|
-
var l = (value, $completion) => i.
|
|
140
|
+
var l = (value, $completion) => i.k3f(value, $completion);
|
|
141
141
|
l.$arity = 1;
|
|
142
142
|
return l;
|
|
143
143
|
}
|
|
144
144
|
function *_generator_serialize__l2piac($this, contentType, charset, typeInfo, value, $completion) {
|
|
145
145
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
146
146
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
147
|
-
var this_0 = asFlow($this.
|
|
147
|
+
var this_0 = asFlow($this.f40_1);
|
|
148
148
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
149
149
|
var tmp = new (KotlinxSerializationConverter$serialize$$inlined$map$1())(this_0, contentType, charset, typeInfo, value);
|
|
150
150
|
var tmp_0 = firstOrNull(tmp, KotlinxSerializationConverter$serialize$slambda_0(), $completion);
|
|
@@ -155,24 +155,24 @@ function *_generator_serialize__l2piac($this, contentType, charset, typeInfo, va
|
|
|
155
155
|
return fromExtension;
|
|
156
156
|
var tmp_1;
|
|
157
157
|
try {
|
|
158
|
-
tmp_1 = serializerForTypeInfo($this.
|
|
158
|
+
tmp_1 = serializerForTypeInfo($this.e40_1.zx(), typeInfo);
|
|
159
159
|
} catch ($p) {
|
|
160
160
|
var tmp_2;
|
|
161
161
|
if ($p instanceof SerializationException()) {
|
|
162
162
|
var cause = $p;
|
|
163
|
-
tmp_2 = guessSerializer(value, $this.
|
|
163
|
+
tmp_2 = guessSerializer(value, $this.e40_1.zx());
|
|
164
164
|
} else {
|
|
165
165
|
throw $p;
|
|
166
166
|
}
|
|
167
167
|
tmp_1 = tmp_2;
|
|
168
168
|
}
|
|
169
169
|
var serializer = tmp_1;
|
|
170
|
-
return serializeContent($this, serializer, $this.
|
|
170
|
+
return serializeContent($this, serializer, $this.e40_1, value, contentType, charset);
|
|
171
171
|
}
|
|
172
172
|
function *_generator_deserialize__why6p7($this, charset, typeInfo, content, $completion) {
|
|
173
173
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
174
174
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
175
|
-
var this_0 = asFlow($this.
|
|
175
|
+
var this_0 = asFlow($this.f40_1);
|
|
176
176
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
177
177
|
var tmp = new (KotlinxSerializationConverter$deserialize$$inlined$map$1())(this_0, charset, typeInfo, content);
|
|
178
178
|
var tmp_0 = firstOrNull(tmp, KotlinxSerializationConverter$deserialize$slambda_0(content), $completion);
|
|
@@ -181,30 +181,30 @@ function *_generator_deserialize__why6p7($this, charset, typeInfo, content, $com
|
|
|
181
181
|
var fromExtension = tmp_0;
|
|
182
182
|
var tmp_1;
|
|
183
183
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
184
|
-
if (!$this.
|
|
185
|
-
tmp_1 = !(fromExtension == null) || content.
|
|
184
|
+
if (!$this.f40_1.o1()) {
|
|
185
|
+
tmp_1 = !(fromExtension == null) || content.s2m();
|
|
186
186
|
} else {
|
|
187
187
|
tmp_1 = false;
|
|
188
188
|
}
|
|
189
189
|
if (tmp_1)
|
|
190
190
|
return fromExtension;
|
|
191
|
-
var serializer = serializerForTypeInfo($this.
|
|
191
|
+
var serializer = serializerForTypeInfo($this.e40_1.zx(), typeInfo);
|
|
192
192
|
var tmp_2 = readRemaining(content, $completion);
|
|
193
193
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
194
194
|
tmp_2 = yield tmp_2;
|
|
195
195
|
var contentPacket = tmp_2;
|
|
196
196
|
try {
|
|
197
|
-
var tmp0_subject = $this.
|
|
197
|
+
var tmp0_subject = $this.e40_1;
|
|
198
198
|
var tmp_3;
|
|
199
199
|
if (isInterface(tmp0_subject, StringFormat())) {
|
|
200
|
-
tmp_3 = $this.
|
|
200
|
+
tmp_3 = $this.e40_1.eu(serializer, readText(contentPacket, charset));
|
|
201
201
|
} else {
|
|
202
202
|
if (isInterface(tmp0_subject, BinaryFormat())) {
|
|
203
|
-
tmp_3 = $this.
|
|
203
|
+
tmp_3 = $this.e40_1.gu(serializer, readByteArray(contentPacket));
|
|
204
204
|
} else {
|
|
205
205
|
discard(contentPacket);
|
|
206
206
|
// Inline function 'kotlin.error' call
|
|
207
|
-
var message = 'Unsupported format ' + toString($this.
|
|
207
|
+
var message = 'Unsupported format ' + toString($this.e40_1);
|
|
208
208
|
throw IllegalStateException().o(toString(message));
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -212,7 +212,7 @@ function *_generator_deserialize__why6p7($this, charset, typeInfo, content, $com
|
|
|
212
212
|
} catch ($p) {
|
|
213
213
|
if ($p instanceof Error) {
|
|
214
214
|
var cause = $p;
|
|
215
|
-
throw JsonConvertException().
|
|
215
|
+
throw JsonConvertException().u3e('Illegal input: ' + cause.message, cause);
|
|
216
216
|
} else {
|
|
217
217
|
throw $p;
|
|
218
218
|
}
|
|
@@ -221,11 +221,11 @@ function *_generator_deserialize__why6p7($this, charset, typeInfo, content, $com
|
|
|
221
221
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
222
222
|
var tmp;
|
|
223
223
|
if (isInterface(format, StringFormat())) {
|
|
224
|
-
var content = format.
|
|
224
|
+
var content = format.du(isInterface(serializer, KSerializer()) ? serializer : THROW_CCE(), value);
|
|
225
225
|
tmp = new (TextContent())(content, withCharsetIfNeeded(contentType, charset));
|
|
226
226
|
} else {
|
|
227
227
|
if (isInterface(format, BinaryFormat())) {
|
|
228
|
-
var content_0 = format.
|
|
228
|
+
var content_0 = format.fu(isInterface(serializer, KSerializer()) ? serializer : THROW_CCE(), value);
|
|
229
229
|
tmp = new (ByteArrayContent())(content_0, contentType);
|
|
230
230
|
} else {
|
|
231
231
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -239,20 +239,20 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
239
239
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
|
|
240
240
|
class $ {
|
|
241
241
|
constructor(function_0) {
|
|
242
|
-
this.
|
|
242
|
+
this.g40_1 = function_0;
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
return this.
|
|
244
|
+
h26(value, $completion) {
|
|
245
|
+
return this.g40_1(value, $completion);
|
|
246
246
|
}
|
|
247
|
-
|
|
248
|
-
return this.
|
|
247
|
+
f5() {
|
|
248
|
+
return this.g40_1;
|
|
249
249
|
}
|
|
250
250
|
equals(other) {
|
|
251
251
|
var tmp;
|
|
252
252
|
if (!(other == null) ? isInterface(other, FlowCollector()) : false) {
|
|
253
253
|
var tmp_0;
|
|
254
254
|
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
255
|
-
tmp_0 = equals(this.
|
|
255
|
+
tmp_0 = equals(this.f5(), other.f5());
|
|
256
256
|
} else {
|
|
257
257
|
tmp_0 = false;
|
|
258
258
|
}
|
|
@@ -263,7 +263,7 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
263
263
|
return tmp;
|
|
264
264
|
}
|
|
265
265
|
hashCode() {
|
|
266
|
-
return hashCode(this.
|
|
266
|
+
return hashCode(this.f5());
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
initMetadataForClass($, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector(), FunctionAdapter()], [1]);
|
|
@@ -276,20 +276,20 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0_0() {
|
|
|
276
276
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class_0 === VOID) {
|
|
277
277
|
class $ {
|
|
278
278
|
constructor(function_0) {
|
|
279
|
-
this.
|
|
279
|
+
this.h40_1 = function_0;
|
|
280
280
|
}
|
|
281
|
-
|
|
282
|
-
return this.
|
|
281
|
+
h26(value, $completion) {
|
|
282
|
+
return this.h40_1(value, $completion);
|
|
283
283
|
}
|
|
284
|
-
|
|
285
|
-
return this.
|
|
284
|
+
f5() {
|
|
285
|
+
return this.h40_1;
|
|
286
286
|
}
|
|
287
287
|
equals(other) {
|
|
288
288
|
var tmp;
|
|
289
289
|
if (!(other == null) ? isInterface(other, FlowCollector()) : false) {
|
|
290
290
|
var tmp_0;
|
|
291
291
|
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
292
|
-
tmp_0 = equals(this.
|
|
292
|
+
tmp_0 = equals(this.f5(), other.f5());
|
|
293
293
|
} else {
|
|
294
294
|
tmp_0 = false;
|
|
295
295
|
}
|
|
@@ -300,7 +300,7 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0_0() {
|
|
|
300
300
|
return tmp;
|
|
301
301
|
}
|
|
302
302
|
hashCode() {
|
|
303
|
-
return hashCode(this.
|
|
303
|
+
return hashCode(this.f5());
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
initMetadataForClass($, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector(), FunctionAdapter()], [1]);
|
|
@@ -313,17 +313,17 @@ function KotlinxSerializationConverter$serialize$$inlined$map$1() {
|
|
|
313
313
|
if (KotlinxSerializationConverter$serialize$$inlined$map$1Class === VOID) {
|
|
314
314
|
class $ {
|
|
315
315
|
constructor($this, $contentType, $charset, $typeInfo, $value) {
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
316
|
+
this.r3z_1 = $this;
|
|
317
|
+
this.s3z_1 = $contentType;
|
|
318
|
+
this.t3z_1 = $charset;
|
|
319
|
+
this.u3z_1 = $typeInfo;
|
|
320
|
+
this.v3z_1 = $value;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
i26(collector, $completion) {
|
|
323
323
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_collect__dlomyy.bind(VOID, this, collector), $completion);
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
return this.
|
|
325
|
+
d26(collector, $completion) {
|
|
326
|
+
return this.i26(collector, $completion);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
initMetadataForClass($, VOID, VOID, VOID, VOID, [1]);
|
|
@@ -335,11 +335,11 @@ var KotlinxSerializationConverter$serialize$slambdaClass;
|
|
|
335
335
|
function KotlinxSerializationConverter$serialize$slambda() {
|
|
336
336
|
if (KotlinxSerializationConverter$serialize$slambdaClass === VOID) {
|
|
337
337
|
class $ {
|
|
338
|
-
|
|
338
|
+
i40(it, $completion) {
|
|
339
339
|
return !(it == null);
|
|
340
340
|
}
|
|
341
|
-
|
|
342
|
-
return this.
|
|
341
|
+
md(p1, $completion) {
|
|
342
|
+
return this.i40((p1 == null ? true : p1 instanceof OutgoingContent()) ? p1 : THROW_CCE(), $completion);
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -349,7 +349,7 @@ function KotlinxSerializationConverter$serialize$slambda() {
|
|
|
349
349
|
}
|
|
350
350
|
function KotlinxSerializationConverter$serialize$slambda_0() {
|
|
351
351
|
var i = new (KotlinxSerializationConverter$serialize$slambda())();
|
|
352
|
-
var l = (it, $completion) => i.
|
|
352
|
+
var l = (it, $completion) => i.i40(it, $completion);
|
|
353
353
|
l.$arity = 1;
|
|
354
354
|
return l;
|
|
355
355
|
}
|
|
@@ -358,16 +358,16 @@ function KotlinxSerializationConverter$deserialize$$inlined$map$1() {
|
|
|
358
358
|
if (KotlinxSerializationConverter$deserialize$$inlined$map$1Class === VOID) {
|
|
359
359
|
class $ {
|
|
360
360
|
constructor($this, $charset, $typeInfo, $content) {
|
|
361
|
-
this.
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
361
|
+
this.a40_1 = $this;
|
|
362
|
+
this.b40_1 = $charset;
|
|
363
|
+
this.c40_1 = $typeInfo;
|
|
364
|
+
this.d40_1 = $content;
|
|
365
365
|
}
|
|
366
|
-
|
|
366
|
+
i26(collector, $completion) {
|
|
367
367
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_collect__dlomyy_0.bind(VOID, this, collector), $completion);
|
|
368
368
|
}
|
|
369
|
-
|
|
370
|
-
return this.
|
|
369
|
+
d26(collector, $completion) {
|
|
370
|
+
return this.i26(collector, $completion);
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
initMetadataForClass($, VOID, VOID, VOID, VOID, [1]);
|
|
@@ -380,13 +380,13 @@ function KotlinxSerializationConverter$deserialize$slambda() {
|
|
|
380
380
|
if (KotlinxSerializationConverter$deserialize$slambdaClass === VOID) {
|
|
381
381
|
class $ {
|
|
382
382
|
constructor($content) {
|
|
383
|
-
this.
|
|
383
|
+
this.j40_1 = $content;
|
|
384
384
|
}
|
|
385
|
-
|
|
386
|
-
return !(it == null) || this.
|
|
385
|
+
k3f(it, $completion) {
|
|
386
|
+
return !(it == null) || this.j40_1.s2m();
|
|
387
387
|
}
|
|
388
|
-
|
|
389
|
-
return this.
|
|
388
|
+
md(p1, $completion) {
|
|
389
|
+
return this.k3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -396,7 +396,7 @@ function KotlinxSerializationConverter$deserialize$slambda() {
|
|
|
396
396
|
}
|
|
397
397
|
function KotlinxSerializationConverter$deserialize$slambda_0($content) {
|
|
398
398
|
var i = new (KotlinxSerializationConverter$deserialize$slambda())($content);
|
|
399
|
-
var l = (it, $completion) => i.
|
|
399
|
+
var l = (it, $completion) => i.k3f(it, $completion);
|
|
400
400
|
l.$arity = 1;
|
|
401
401
|
return l;
|
|
402
402
|
}
|
|
@@ -405,26 +405,26 @@ function KotlinxSerializationConverter() {
|
|
|
405
405
|
if (KotlinxSerializationConverterClass === VOID) {
|
|
406
406
|
class $ {
|
|
407
407
|
constructor(format) {
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
408
|
+
this.e40_1 = format;
|
|
409
|
+
this.f40_1 = extensions(this.e40_1);
|
|
410
410
|
var tmp;
|
|
411
|
-
var tmp_0 = this.
|
|
411
|
+
var tmp_0 = this.e40_1;
|
|
412
412
|
if (isInterface(tmp_0, BinaryFormat())) {
|
|
413
413
|
tmp = true;
|
|
414
414
|
} else {
|
|
415
|
-
var tmp_1 = this.
|
|
415
|
+
var tmp_1 = this.e40_1;
|
|
416
416
|
tmp = isInterface(tmp_1, StringFormat());
|
|
417
417
|
}
|
|
418
418
|
// Inline function 'kotlin.require' call
|
|
419
419
|
if (!tmp) {
|
|
420
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
420
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.e40_1) + ' is not supported.';
|
|
421
421
|
throw IllegalArgumentException().s2(toString(message));
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
|
|
424
|
+
d3z(contentType, charset, typeInfo, value, $completion) {
|
|
425
425
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_serialize__l2piac.bind(VOID, this, contentType, charset, typeInfo, value), $completion);
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
e3f(charset, typeInfo, content, $completion) {
|
|
428
428
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_deserialize__why6p7.bind(VOID, this, charset, typeInfo, content), $completion);
|
|
429
429
|
}
|
|
430
430
|
}
|