@attocash/commons-js 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 +106 -106
- 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 +13 -13
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
- 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 +6 -6
- 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 +55 -55
- 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-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
- 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/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 +13 -13
- 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 +205 -252
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +40 -46
- 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 +31 -68
- 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 +61 -61
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
- 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 +29 -29
- 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 +6 -6
- 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 +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
- 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/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.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/CancellableContinuationImpl.mjs.map +1 -1
- 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 +6 -6
- 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 +5 -5
- 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/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
- 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 +93 -115
- 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/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- 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 +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
- 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 +41 -41
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- 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/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- 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 +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- 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/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 +50 -50
- 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/JsClientEngine.mjs.map +1 -1
- 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/engine/js/compatibility/Utils.mjs.map +1 -1
- 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/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +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 +44 -44
- 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 +105 -105
- 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
|
@@ -36,7 +36,7 @@ function get_NO_CALLBACK() {
|
|
|
36
36
|
}
|
|
37
37
|
var NO_CALLBACK;
|
|
38
38
|
function *_generator_writeFully__hb5mir(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
39
|
-
_this__u8e3s4.
|
|
39
|
+
_this__u8e3s4.c3v().y28(value, startIndex, endIndex);
|
|
40
40
|
var tmp = flushIfNeeded(_this__u8e3s4, $completion);
|
|
41
41
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
42
42
|
tmp = yield tmp;
|
|
@@ -52,11 +52,11 @@ function WriterJob() {
|
|
|
52
52
|
if (WriterJobClass === VOID) {
|
|
53
53
|
class $ {
|
|
54
54
|
constructor(channel, job) {
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
55
|
+
this.i3w_1 = channel;
|
|
56
|
+
this.j3w_1 = job;
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
return this.
|
|
58
|
+
u10() {
|
|
59
|
+
return this.j3w_1;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
initMetadataForClass($, 'WriterJob');
|
|
@@ -75,11 +75,11 @@ function WriterScope() {
|
|
|
75
75
|
if (WriterScopeClass === VOID) {
|
|
76
76
|
class $ {
|
|
77
77
|
constructor(channel, coroutineContext) {
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
78
|
+
this.k3w_1 = channel;
|
|
79
|
+
this.l3w_1 = coroutineContext;
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
return this.
|
|
81
|
+
xu() {
|
|
82
|
+
return this.l3w_1;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
initMetadataForClass($, 'WriterScope', VOID, VOID, [CoroutineScope()]);
|
|
@@ -89,14 +89,14 @@ function WriterScope() {
|
|
|
89
89
|
}
|
|
90
90
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
91
91
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
92
|
-
return _this__u8e3s4.
|
|
92
|
+
return _this__u8e3s4.u10().aw(block);
|
|
93
93
|
}
|
|
94
94
|
function close(_this__u8e3s4, cause) {
|
|
95
95
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
96
96
|
if (cause == null) {
|
|
97
97
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
98
98
|
} else {
|
|
99
|
-
_this__u8e3s4.
|
|
99
|
+
_this__u8e3s4.k3v(cause);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
@@ -104,7 +104,7 @@ function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
|
104
104
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
105
105
|
// Inline function 'kotlin.apply' call
|
|
106
106
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel));
|
|
107
|
-
this_0.
|
|
107
|
+
this_0.aw(writer$lambda(channel));
|
|
108
108
|
var job = this_0;
|
|
109
109
|
return new (WriterJob())(channel, job);
|
|
110
110
|
}
|
|
@@ -113,7 +113,7 @@ function fireAndForget(_this__u8e3s4) {
|
|
|
113
113
|
startCoroutineCancellable(_this__u8e3s4, get_NO_CALLBACK());
|
|
114
114
|
}
|
|
115
115
|
function *_generator_writeByte__k05tl9(_this__u8e3s4, value, $completion) {
|
|
116
|
-
_this__u8e3s4.
|
|
116
|
+
_this__u8e3s4.c3v().h29(value);
|
|
117
117
|
var tmp = flushIfNeeded(_this__u8e3s4, $completion);
|
|
118
118
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
119
119
|
tmp = yield tmp;
|
|
@@ -127,16 +127,16 @@ function NO_CALLBACK$1() {
|
|
|
127
127
|
if (NO_CALLBACK$1Class === VOID) {
|
|
128
128
|
class $ {
|
|
129
129
|
constructor() {
|
|
130
|
-
this.
|
|
130
|
+
this.m3w_1 = EmptyCoroutineContext_instance;
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
return this.
|
|
132
|
+
qc() {
|
|
133
|
+
return this.m3w_1;
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
rc(result) {
|
|
136
136
|
return Unit_instance;
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
return this.
|
|
138
|
+
sc(result) {
|
|
139
|
+
return this.rc(result);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
initMetadataForClass($, VOID, VOID, VOID, [Continuation()]);
|
|
@@ -149,10 +149,10 @@ function ByteWriteChannel$flushAndClose$ref() {
|
|
|
149
149
|
if (ByteWriteChannel$flushAndClose$refClass === VOID) {
|
|
150
150
|
class $ {
|
|
151
151
|
constructor(p0) {
|
|
152
|
-
this.
|
|
152
|
+
this.n3w_1 = p0;
|
|
153
153
|
}
|
|
154
|
-
|
|
155
|
-
return this.
|
|
154
|
+
ud($completion) {
|
|
155
|
+
return this.n3w_1.j3v($completion);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
initMetadataForFunctionReference($, VOID, VOID, [0]);
|
|
@@ -162,38 +162,38 @@ function ByteWriteChannel$flushAndClose$ref() {
|
|
|
162
162
|
}
|
|
163
163
|
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
164
164
|
var i = new (ByteWriteChannel$flushAndClose$ref())(p0);
|
|
165
|
-
var l = ($completion) => i.
|
|
165
|
+
var l = ($completion) => i.ud($completion);
|
|
166
166
|
l.callableName = 'flushAndClose';
|
|
167
167
|
l.$arity = 0;
|
|
168
168
|
return l;
|
|
169
169
|
}
|
|
170
170
|
function *_generator_invoke__zhh2q8($this, $this$launch, $completion) {
|
|
171
|
-
var nested = Job(get_job($this$launch.
|
|
171
|
+
var nested = Job(get_job($this$launch.xu()));
|
|
172
172
|
try {
|
|
173
|
-
var tmp = $this.
|
|
173
|
+
var tmp = $this.o3w_1(new (WriterScope())($this.p3w_1, $this$launch.xu().jl(nested)), $completion);
|
|
174
174
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
175
175
|
tmp = yield tmp;
|
|
176
|
-
nested.
|
|
177
|
-
if (get_job($this$launch.
|
|
178
|
-
$this.
|
|
176
|
+
nested.g11();
|
|
177
|
+
if (get_job($this$launch.xu()).uv()) {
|
|
178
|
+
$this.p3w_1.k3v(get_job($this$launch.xu()).xv());
|
|
179
179
|
}
|
|
180
180
|
} catch ($p) {
|
|
181
181
|
if ($p instanceof Error) {
|
|
182
182
|
var cause = $p;
|
|
183
183
|
cancel(nested, 'Exception thrown while writing to channel', cause);
|
|
184
|
-
$this.
|
|
184
|
+
$this.p3w_1.k3v(cause);
|
|
185
185
|
} else {
|
|
186
186
|
throw $p;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
finally {
|
|
190
|
-
var tmp_0 = nested.
|
|
190
|
+
var tmp_0 = nested.ew($completion);
|
|
191
191
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
192
192
|
tmp_0 = yield tmp_0;
|
|
193
193
|
// Inline function 'kotlin.runCatching' call
|
|
194
194
|
var tmp_1;
|
|
195
195
|
try {
|
|
196
|
-
var tmp_2 = $this.
|
|
196
|
+
var tmp_2 = $this.p3w_1.j3v($completion);
|
|
197
197
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
198
198
|
tmp_2 = yield tmp_2;
|
|
199
199
|
// Inline function 'kotlin.Companion.success' call
|
|
@@ -217,14 +217,14 @@ function writer$slambda() {
|
|
|
217
217
|
if (writer$slambdaClass === VOID) {
|
|
218
218
|
class $ {
|
|
219
219
|
constructor($block, $channel) {
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
220
|
+
this.o3w_1 = $block;
|
|
221
|
+
this.p3w_1 = $channel;
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
p1d($this$launch, $completion) {
|
|
224
224
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$launch), $completion);
|
|
225
225
|
}
|
|
226
|
-
|
|
227
|
-
return this.
|
|
226
|
+
sd(p1, $completion) {
|
|
227
|
+
return this.p1d((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -234,15 +234,15 @@ function writer$slambda() {
|
|
|
234
234
|
}
|
|
235
235
|
function writer$slambda_0($block, $channel) {
|
|
236
236
|
var i = new (writer$slambda())($block, $channel);
|
|
237
|
-
var l = ($this$launch, $completion) => i.
|
|
237
|
+
var l = ($this$launch, $completion) => i.p1d($this$launch, $completion);
|
|
238
238
|
l.$arity = 1;
|
|
239
239
|
return l;
|
|
240
240
|
}
|
|
241
241
|
function writer$lambda($channel) {
|
|
242
242
|
return (it) => {
|
|
243
243
|
var tmp;
|
|
244
|
-
if (!(it == null) && !$channel.
|
|
245
|
-
$channel.
|
|
244
|
+
if (!(it == null) && !$channel.d3v()) {
|
|
245
|
+
$channel.k3v(it);
|
|
246
246
|
tmp = Unit_instance;
|
|
247
247
|
}
|
|
248
248
|
return Unit_instance;
|
|
@@ -14,7 +14,7 @@ function get_CLOSED() {
|
|
|
14
14
|
}
|
|
15
15
|
var CLOSED;
|
|
16
16
|
function ClosedByteChannelException$_init_$ref_yjp351() {
|
|
17
|
-
var l = (p0) => ClosedByteChannelException().
|
|
17
|
+
var l = (p0) => ClosedByteChannelException().t3w(p0);
|
|
18
18
|
l.callableName = '<init>';
|
|
19
19
|
return l;
|
|
20
20
|
}
|
|
@@ -23,27 +23,27 @@ function CloseToken() {
|
|
|
23
23
|
if (CloseTokenClass === VOID) {
|
|
24
24
|
class $ {
|
|
25
25
|
constructor(origin) {
|
|
26
|
-
this.
|
|
26
|
+
this.a3v_1 = origin;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
var tmp0_subject = this.
|
|
28
|
+
u3w(wrap) {
|
|
29
|
+
var tmp0_subject = this.a3v_1;
|
|
30
30
|
var tmp;
|
|
31
31
|
if (tmp0_subject == null) {
|
|
32
32
|
tmp = null;
|
|
33
33
|
} else {
|
|
34
34
|
if (isInterface(tmp0_subject, CopyableThrowable())) {
|
|
35
|
-
tmp = this.
|
|
35
|
+
tmp = this.a3v_1.r11();
|
|
36
36
|
} else {
|
|
37
37
|
if (tmp0_subject instanceof CancellationException()) {
|
|
38
|
-
tmp = CancellationException().p(this.
|
|
38
|
+
tmp = CancellationException().p(this.a3v_1.message, this.a3v_1);
|
|
39
39
|
} else {
|
|
40
|
-
tmp = wrap(this.
|
|
40
|
+
tmp = wrap(this.a3v_1);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
return tmp;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
f3v(wrap, $super) {
|
|
47
47
|
var tmp;
|
|
48
48
|
if (wrap === VOID) {
|
|
49
49
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -51,10 +51,10 @@ function CloseToken() {
|
|
|
51
51
|
tmp = wrap;
|
|
52
52
|
}
|
|
53
53
|
wrap = tmp;
|
|
54
|
-
return $super === VOID ? this.
|
|
54
|
+
return $super === VOID ? this.u3w(wrap) : $super.u3w.call(this, wrap);
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
var tmp0_safe_receiver = this.
|
|
56
|
+
b3v(wrap) {
|
|
57
|
+
var tmp0_safe_receiver = this.u3w(wrap);
|
|
58
58
|
var tmp;
|
|
59
59
|
if (tmp0_safe_receiver == null) {
|
|
60
60
|
tmp = null;
|
|
@@ -18,10 +18,10 @@ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../
|
|
|
18
18
|
//region block: pre-declaration
|
|
19
19
|
//endregion
|
|
20
20
|
function *_generator_awaitContent__vf28kb($this, min, $completion) {
|
|
21
|
-
if ($this.
|
|
21
|
+
if ($this.z3u().u2() >= fromInt(min)) {
|
|
22
22
|
return true;
|
|
23
23
|
}
|
|
24
|
-
var tmp = $this.
|
|
24
|
+
var tmp = $this.v3w_1.h3v(min, $completion);
|
|
25
25
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
26
26
|
tmp = yield tmp;
|
|
27
27
|
if (tmp) {
|
|
@@ -32,46 +32,46 @@ function *_generator_awaitContent__vf28kb($this, min, $completion) {
|
|
|
32
32
|
}
|
|
33
33
|
function transferFromDelegate($this) {
|
|
34
34
|
updateConsumed($this);
|
|
35
|
-
var appended = $this.
|
|
36
|
-
$this.
|
|
35
|
+
var appended = $this.w3w_1.g29($this.v3w_1.z3u());
|
|
36
|
+
$this.x3w_1 = add($this.x3w_1, appended);
|
|
37
37
|
}
|
|
38
38
|
function updateConsumed($this) {
|
|
39
|
-
$this.
|
|
40
|
-
$this.
|
|
39
|
+
$this.y3w_1 = add($this.y3w_1, subtract($this.x3w_1, $this.w3w_1.u2()));
|
|
40
|
+
$this.x3w_1 = $this.w3w_1.u2();
|
|
41
41
|
}
|
|
42
42
|
var CountedByteReadChannelClass;
|
|
43
43
|
function CountedByteReadChannel() {
|
|
44
44
|
if (CountedByteReadChannelClass === VOID) {
|
|
45
45
|
class $ {
|
|
46
46
|
constructor(delegate) {
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
47
|
+
this.v3w_1 = delegate;
|
|
48
|
+
this.w3w_1 = new (Buffer())();
|
|
49
|
+
this.x3w_1 = 0n;
|
|
50
|
+
this.y3w_1 = 0n;
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
z3w() {
|
|
53
53
|
updateConsumed(this);
|
|
54
|
-
return this.
|
|
54
|
+
return this.y3w_1;
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
return this.
|
|
56
|
+
e3v() {
|
|
57
|
+
return this.v3w_1.e3v();
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
return this.
|
|
59
|
+
g3v() {
|
|
60
|
+
return this.w3w_1.l27() && this.v3w_1.g3v();
|
|
61
61
|
}
|
|
62
|
-
|
|
62
|
+
z3u() {
|
|
63
63
|
transferFromDelegate(this);
|
|
64
|
-
return this.
|
|
64
|
+
return this.w3w_1;
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
h3v(min, $completion) {
|
|
67
67
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_awaitContent__vf28kb.bind(VOID, this, min), $completion);
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
69
|
+
k3v(cause) {
|
|
70
|
+
this.v3w_1.k3v(cause);
|
|
71
|
+
this.w3w_1.v6();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
protoOf($).
|
|
74
|
+
protoOf($).i3v = awaitContent$default;
|
|
75
75
|
initMetadataForClass($, 'CountedByteReadChannel', VOID, VOID, [ByteReadChannel()], [1]);
|
|
76
76
|
CountedByteReadChannelClass = $;
|
|
77
77
|
}
|
|
@@ -10,14 +10,14 @@ var ClosedByteChannelExceptionClass;
|
|
|
10
10
|
function ClosedByteChannelException() {
|
|
11
11
|
if (ClosedByteChannelExceptionClass === VOID) {
|
|
12
12
|
class $ extends IOException() {
|
|
13
|
-
static
|
|
13
|
+
static t3w(cause) {
|
|
14
14
|
cause = cause === VOID ? null : cause;
|
|
15
|
-
var $this = this.
|
|
16
|
-
captureStack($this, $this.
|
|
15
|
+
var $this = this.x2a(cause == null ? null : cause.message, cause);
|
|
16
|
+
captureStack($this, $this.s3w_1);
|
|
17
17
|
return $this;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
initMetadataForClass($, 'ClosedByteChannelException', $.
|
|
20
|
+
initMetadataForClass($, 'ClosedByteChannelException', $.t3w);
|
|
21
21
|
ClosedByteChannelExceptionClass = $;
|
|
22
22
|
}
|
|
23
23
|
return ClosedByteChannelExceptionClass;
|
|
@@ -26,14 +26,14 @@ var ClosedReadChannelExceptionClass;
|
|
|
26
26
|
function ClosedReadChannelException() {
|
|
27
27
|
if (ClosedReadChannelExceptionClass === VOID) {
|
|
28
28
|
class $ extends ClosedByteChannelException() {
|
|
29
|
-
static
|
|
29
|
+
static s3u(cause) {
|
|
30
30
|
cause = cause === VOID ? null : cause;
|
|
31
|
-
var $this = this.
|
|
32
|
-
captureStack($this, $this.
|
|
31
|
+
var $this = this.t3w(cause);
|
|
32
|
+
captureStack($this, $this.r3u_1);
|
|
33
33
|
return $this;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
initMetadataForClass($, 'ClosedReadChannelException', $.
|
|
36
|
+
initMetadataForClass($, 'ClosedReadChannelException', $.s3u);
|
|
37
37
|
ClosedReadChannelExceptionClass = $;
|
|
38
38
|
}
|
|
39
39
|
return ClosedReadChannelExceptionClass;
|
|
@@ -42,14 +42,14 @@ var ClosedWriteChannelExceptionClass;
|
|
|
42
42
|
function ClosedWriteChannelException() {
|
|
43
43
|
if (ClosedWriteChannelExceptionClass === VOID) {
|
|
44
44
|
class $ extends ClosedByteChannelException() {
|
|
45
|
-
static
|
|
45
|
+
static x3u(cause) {
|
|
46
46
|
cause = cause === VOID ? null : cause;
|
|
47
|
-
var $this = this.
|
|
48
|
-
captureStack($this, $this.
|
|
47
|
+
var $this = this.t3w(cause);
|
|
48
|
+
captureStack($this, $this.w3u_1);
|
|
49
49
|
return $this;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
initMetadataForClass($, 'ClosedWriteChannelException', $.
|
|
52
|
+
initMetadataForClass($, 'ClosedWriteChannelException', $.x3u);
|
|
53
53
|
ClosedWriteChannelExceptionClass = $;
|
|
54
54
|
}
|
|
55
55
|
return ClosedWriteChannelExceptionClass;
|
|
@@ -4,7 +4,7 @@ import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '
|
|
|
4
4
|
//region block: pre-declaration
|
|
5
5
|
//endregion
|
|
6
6
|
function ioDispatcher() {
|
|
7
|
-
return Dispatchers_getInstance().
|
|
7
|
+
return Dispatchers_getInstance().i15_1;
|
|
8
8
|
}
|
|
9
9
|
//region block: exports
|
|
10
10
|
export {
|
|
@@ -25,21 +25,21 @@ function LineEndingMode__plus_impl_ttpz2j($this, other) {
|
|
|
25
25
|
}
|
|
26
26
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
27
27
|
var tmp;
|
|
28
|
-
if ($this === Companion_getInstance().
|
|
28
|
+
if ($this === Companion_getInstance().y3v_1) {
|
|
29
29
|
tmp = 'CR';
|
|
30
|
-
} else if ($this === Companion_getInstance().
|
|
30
|
+
} else if ($this === Companion_getInstance().z3v_1) {
|
|
31
31
|
tmp = 'LF';
|
|
32
|
-
} else if ($this === Companion_getInstance().
|
|
32
|
+
} else if ($this === Companion_getInstance().a3w_1) {
|
|
33
33
|
tmp = 'CRLF';
|
|
34
34
|
} else {
|
|
35
35
|
// Inline function 'kotlin.collections.filter' call
|
|
36
|
-
var tmp0 = Companion_getInstance().
|
|
36
|
+
var tmp0 = Companion_getInstance().c3w_1;
|
|
37
37
|
// Inline function 'kotlin.collections.filterTo' call
|
|
38
38
|
var destination = ArrayList().y2();
|
|
39
39
|
var _iterator__ex2g4s = tmp0.q1();
|
|
40
40
|
while (_iterator__ex2g4s.r1()) {
|
|
41
41
|
var element = _iterator__ex2g4s.s1();
|
|
42
|
-
var it = element.
|
|
42
|
+
var it = element.a3x_1;
|
|
43
43
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
44
44
|
destination.h2(element);
|
|
45
45
|
}
|
|
@@ -54,11 +54,11 @@ function Companion() {
|
|
|
54
54
|
class $ {
|
|
55
55
|
constructor() {
|
|
56
56
|
Companion_instance = this;
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
57
|
+
this.y3v_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
58
|
+
this.z3v_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
59
|
+
this.a3w_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
60
|
+
this.b3w_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
61
|
+
this.c3w_1 = listOf([new (LineEndingMode())(this.y3v_1), new (LineEndingMode())(this.z3v_1), new (LineEndingMode())(this.a3w_1)]);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
initMetadataForCompanion($);
|
|
@@ -78,7 +78,7 @@ function LineEndingMode__hashCode_impl_2mopm4($this) {
|
|
|
78
78
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
79
79
|
if (!(other instanceof LineEndingMode()))
|
|
80
80
|
return false;
|
|
81
|
-
if (!($this === other.
|
|
81
|
+
if (!($this === other.a3x_1))
|
|
82
82
|
return false;
|
|
83
83
|
return true;
|
|
84
84
|
}
|
|
@@ -88,16 +88,16 @@ function LineEndingMode() {
|
|
|
88
88
|
class $ {
|
|
89
89
|
constructor(mode) {
|
|
90
90
|
Companion_getInstance();
|
|
91
|
-
this.
|
|
91
|
+
this.a3x_1 = mode;
|
|
92
92
|
}
|
|
93
93
|
toString() {
|
|
94
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
94
|
+
return LineEndingMode__toString_impl_j4h76r(this.a3x_1);
|
|
95
95
|
}
|
|
96
96
|
hashCode() {
|
|
97
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
97
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.a3x_1);
|
|
98
98
|
}
|
|
99
99
|
equals(other) {
|
|
100
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
100
|
+
return LineEndingMode__equals_impl_qyr4nk(this.a3x_1, other);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
initMetadataForClass($, 'LineEndingMode');
|
|
@@ -18,46 +18,46 @@ function SourceByteReadChannel() {
|
|
|
18
18
|
if (SourceByteReadChannelClass === VOID) {
|
|
19
19
|
class $ {
|
|
20
20
|
constructor(source) {
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
21
|
+
this.b3x_1 = source;
|
|
22
|
+
this.c3x_1 = null;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
var tmp0_safe_receiver = this.
|
|
26
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
24
|
+
e3v() {
|
|
25
|
+
var tmp0_safe_receiver = this.c3x_1;
|
|
26
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f3v();
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return this.
|
|
28
|
+
g3v() {
|
|
29
|
+
return this.b3x_1.l27();
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
var tmp0_safe_receiver = this.
|
|
31
|
+
z3u() {
|
|
32
|
+
var tmp0_safe_receiver = this.e3v();
|
|
33
33
|
if (tmp0_safe_receiver == null)
|
|
34
34
|
null;
|
|
35
35
|
else {
|
|
36
36
|
// Inline function 'kotlin.let' call
|
|
37
37
|
throw tmp0_safe_receiver;
|
|
38
38
|
}
|
|
39
|
-
return this.
|
|
39
|
+
return this.b3x_1.k27();
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
var tmp0_safe_receiver = this.
|
|
41
|
+
h3v(min, $completion) {
|
|
42
|
+
var tmp0_safe_receiver = this.e3v();
|
|
43
43
|
if (tmp0_safe_receiver == null)
|
|
44
44
|
null;
|
|
45
45
|
else {
|
|
46
46
|
// Inline function 'kotlin.let' call
|
|
47
47
|
throw tmp0_safe_receiver;
|
|
48
48
|
}
|
|
49
|
-
return this.
|
|
49
|
+
return this.b3x_1.n27(fromInt(min));
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
if (!(this.
|
|
51
|
+
k3v(cause) {
|
|
52
|
+
if (!(this.c3x_1 == null))
|
|
53
53
|
return Unit_instance;
|
|
54
|
-
this.
|
|
54
|
+
this.b3x_1.v6();
|
|
55
55
|
var tmp = this;
|
|
56
56
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
57
|
-
tmp.
|
|
57
|
+
tmp.c3x_1 = new (CloseToken())(IOException().x2a(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
protoOf($).
|
|
60
|
+
protoOf($).i3v = awaitContent$default;
|
|
61
61
|
initMetadataForClass($, 'SourceByteReadChannel', VOID, VOID, [ByteReadChannel()], [1]);
|
|
62
62
|
SourceByteReadChannelClass = $;
|
|
63
63
|
}
|