@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
|
@@ -30,8 +30,8 @@ function Tombstone_getInstance() {
|
|
|
30
30
|
return Tombstone_instance;
|
|
31
31
|
}
|
|
32
32
|
function resize($this) {
|
|
33
|
-
var newSize = imul($this.
|
|
34
|
-
$this.
|
|
33
|
+
var newSize = imul($this.p3a_1, 2);
|
|
34
|
+
$this.n3a_1 = copyOf($this.n3a_1, newSize);
|
|
35
35
|
var tmp = 0;
|
|
36
36
|
var tmp_0 = new Int32Array(newSize);
|
|
37
37
|
while (tmp < newSize) {
|
|
@@ -40,7 +40,7 @@ function resize($this) {
|
|
|
40
40
|
}
|
|
41
41
|
var newIndices = tmp_0;
|
|
42
42
|
// Inline function 'kotlin.collections.copyInto' call
|
|
43
|
-
var this_0 = $this.
|
|
43
|
+
var this_0 = $this.o3a_1;
|
|
44
44
|
var endIndex = this_0.length;
|
|
45
45
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
46
46
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -48,7 +48,7 @@ function resize($this) {
|
|
|
48
48
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
49
49
|
// Inline function 'kotlin.js.asDynamic' call
|
|
50
50
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
51
|
-
$this.
|
|
51
|
+
$this.o3a_1 = newIndices;
|
|
52
52
|
}
|
|
53
53
|
var JsonPathClass;
|
|
54
54
|
function JsonPath() {
|
|
@@ -57,7 +57,7 @@ function JsonPath() {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
var tmp = this;
|
|
59
59
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
60
|
-
tmp.
|
|
60
|
+
tmp.n3a_1 = Array(8);
|
|
61
61
|
var tmp_0 = this;
|
|
62
62
|
var tmp_1 = 0;
|
|
63
63
|
var tmp_2 = new Int32Array(8);
|
|
@@ -65,74 +65,74 @@ function JsonPath() {
|
|
|
65
65
|
tmp_2[tmp_1] = -1;
|
|
66
66
|
tmp_1 = tmp_1 + 1 | 0;
|
|
67
67
|
}
|
|
68
|
-
tmp_0.
|
|
69
|
-
this.
|
|
68
|
+
tmp_0.o3a_1 = tmp_2;
|
|
69
|
+
this.p3a_1 = -1;
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
this.
|
|
73
|
-
var depth = this.
|
|
74
|
-
if (depth === this.
|
|
71
|
+
q3a(sd) {
|
|
72
|
+
this.p3a_1 = this.p3a_1 + 1 | 0;
|
|
73
|
+
var depth = this.p3a_1;
|
|
74
|
+
if (depth === this.n3a_1.length) {
|
|
75
75
|
resize(this);
|
|
76
76
|
}
|
|
77
|
-
this.
|
|
77
|
+
this.n3a_1[depth] = sd;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
this.
|
|
79
|
+
r3a(index) {
|
|
80
|
+
this.o3a_1[this.p3a_1] = index;
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
s3a(key) {
|
|
83
83
|
var tmp;
|
|
84
|
-
if (!(this.
|
|
85
|
-
this.
|
|
86
|
-
tmp = this.
|
|
84
|
+
if (!(this.o3a_1[this.p3a_1] === -2)) {
|
|
85
|
+
this.p3a_1 = this.p3a_1 + 1 | 0;
|
|
86
|
+
tmp = this.p3a_1 === this.n3a_1.length;
|
|
87
87
|
} else {
|
|
88
88
|
tmp = false;
|
|
89
89
|
}
|
|
90
90
|
if (tmp) {
|
|
91
91
|
resize(this);
|
|
92
92
|
}
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
93
|
+
this.n3a_1[this.p3a_1] = key;
|
|
94
|
+
this.o3a_1[this.p3a_1] = -2;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
if (this.
|
|
98
|
-
this.
|
|
96
|
+
t3a() {
|
|
97
|
+
if (this.o3a_1[this.p3a_1] === -2) {
|
|
98
|
+
this.n3a_1[this.p3a_1] = Tombstone_instance;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
var depth = this.
|
|
103
|
-
if (this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
101
|
+
u3a() {
|
|
102
|
+
var depth = this.p3a_1;
|
|
103
|
+
if (this.o3a_1[depth] === -2) {
|
|
104
|
+
this.o3a_1[depth] = -1;
|
|
105
|
+
this.p3a_1 = this.p3a_1 - 1 | 0;
|
|
106
106
|
}
|
|
107
|
-
if (!(this.
|
|
108
|
-
this.
|
|
107
|
+
if (!(this.p3a_1 === -1)) {
|
|
108
|
+
this.p3a_1 = this.p3a_1 - 1 | 0;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
v3a() {
|
|
112
112
|
// Inline function 'kotlin.text.buildString' call
|
|
113
113
|
// Inline function 'kotlin.apply' call
|
|
114
114
|
var this_0 = StringBuilder().m1();
|
|
115
115
|
this_0.n1('$');
|
|
116
116
|
// Inline function 'kotlin.repeat' call
|
|
117
|
-
var times = this.
|
|
117
|
+
var times = this.p3a_1 + 1 | 0;
|
|
118
118
|
var inductionVariable = 0;
|
|
119
119
|
if (inductionVariable < times)
|
|
120
120
|
do {
|
|
121
121
|
var index = inductionVariable;
|
|
122
122
|
inductionVariable = inductionVariable + 1 | 0;
|
|
123
|
-
var element = this.
|
|
123
|
+
var element = this.n3a_1[index];
|
|
124
124
|
if (!(element == null) ? isInterface(element, SerialDescriptor()) : false) {
|
|
125
|
-
if (equals(element.
|
|
126
|
-
if (!(this.
|
|
125
|
+
if (equals(element.y1n(), LIST_getInstance())) {
|
|
126
|
+
if (!(this.o3a_1[index] === -1)) {
|
|
127
127
|
this_0.n1('[');
|
|
128
|
-
this_0.
|
|
128
|
+
this_0.yg(this.o3a_1[index]);
|
|
129
129
|
this_0.n1(']');
|
|
130
130
|
}
|
|
131
131
|
} else {
|
|
132
|
-
var idx = this.
|
|
132
|
+
var idx = this.o3a_1[index];
|
|
133
133
|
if (idx >= 0) {
|
|
134
134
|
this_0.n1('.');
|
|
135
|
-
this_0.n1(element.
|
|
135
|
+
this_0.n1(element.c1o(idx));
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
} else {
|
|
@@ -149,7 +149,7 @@ function JsonPath() {
|
|
|
149
149
|
return this_0.toString();
|
|
150
150
|
}
|
|
151
151
|
toString() {
|
|
152
|
-
return this.
|
|
152
|
+
return this.v3a();
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
initMetadataForClass($, 'JsonPath', JsonPath);
|
|
@@ -25,7 +25,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/k
|
|
|
25
25
|
//region block: pre-declaration
|
|
26
26
|
//endregion
|
|
27
27
|
function checkKind($this, descriptor, actualClass) {
|
|
28
|
-
var kind = descriptor.
|
|
28
|
+
var kind = descriptor.y1n();
|
|
29
29
|
var tmp;
|
|
30
30
|
if (kind instanceof PolymorphicKind()) {
|
|
31
31
|
tmp = true;
|
|
@@ -35,9 +35,9 @@ function checkKind($this, descriptor, actualClass) {
|
|
|
35
35
|
if (tmp) {
|
|
36
36
|
throw IllegalArgumentException().t2('Serializer for ' + actualClass.k1() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
37
37
|
}
|
|
38
|
-
if ($this.
|
|
38
|
+
if ($this.x3a_1)
|
|
39
39
|
return Unit_instance;
|
|
40
|
-
if (!$this.
|
|
40
|
+
if (!$this.y3a_1)
|
|
41
41
|
return Unit_instance;
|
|
42
42
|
var tmp_0;
|
|
43
43
|
var tmp_1;
|
|
@@ -57,13 +57,13 @@ function checkKind($this, descriptor, actualClass) {
|
|
|
57
57
|
}
|
|
58
58
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
59
59
|
var inductionVariable = 0;
|
|
60
|
-
var last = descriptor.
|
|
60
|
+
var last = descriptor.a1o();
|
|
61
61
|
if (inductionVariable < last)
|
|
62
62
|
do {
|
|
63
63
|
var i = inductionVariable;
|
|
64
64
|
inductionVariable = inductionVariable + 1 | 0;
|
|
65
|
-
var name = descriptor.
|
|
66
|
-
if (name === $this.
|
|
65
|
+
var name = descriptor.c1o(i);
|
|
66
|
+
if (name === $this.w3a_1) {
|
|
67
67
|
throw IllegalArgumentException().t2('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -74,25 +74,25 @@ function JsonSerializersModuleValidator() {
|
|
|
74
74
|
if (JsonSerializersModuleValidatorClass === VOID) {
|
|
75
75
|
class $ {
|
|
76
76
|
constructor(configuration) {
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
77
|
+
this.w3a_1 = configuration.r36_1;
|
|
78
|
+
this.x3a_1 = configuration.q36_1;
|
|
79
|
+
this.y3a_1 = !configuration.y36_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
80
80
|
}
|
|
81
|
-
|
|
81
|
+
i26(kClass, provider) {
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
var descriptor = actualSerializer.
|
|
83
|
+
l26(baseClass, actualClass, actualSerializer) {
|
|
84
|
+
var descriptor = actualSerializer.c1l();
|
|
85
85
|
checkKind(this, descriptor, actualClass);
|
|
86
|
-
if (!this.
|
|
86
|
+
if (!this.x3a_1 && this.y3a_1) {
|
|
87
87
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
m26(baseClass, defaultSerializerProvider) {
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
n26(baseClass, defaultDeserializerProvider) {
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
protoOf($).
|
|
95
|
+
protoOf($).k26 = contextual;
|
|
96
96
|
initMetadataForClass($, 'JsonSerializersModuleValidator', VOID, VOID, [SerializersModuleCollector()]);
|
|
97
97
|
JsonSerializersModuleValidatorClass = $;
|
|
98
98
|
}
|
|
@@ -12,8 +12,8 @@ function encodeByWriter(json, writer, serializer, value) {
|
|
|
12
12
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
13
13
|
var size = get_entries().u2();
|
|
14
14
|
var tmp$ret$0 = Array(size);
|
|
15
|
-
var encoder = StreamingJsonEncoder().
|
|
16
|
-
encoder.
|
|
15
|
+
var encoder = StreamingJsonEncoder().i3b(writer, json, tmp, tmp$ret$0);
|
|
16
|
+
encoder.j1r(serializer, value);
|
|
17
17
|
}
|
|
18
18
|
//region block: exports
|
|
19
19
|
export {
|
|
@@ -12,25 +12,25 @@ function JsonToStringWriter() {
|
|
|
12
12
|
if (JsonToStringWriterClass === VOID) {
|
|
13
13
|
class $ {
|
|
14
14
|
constructor() {
|
|
15
|
-
this.
|
|
15
|
+
this.b35_1 = StringBuilder().jc(128);
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
this.
|
|
17
|
+
n29(value) {
|
|
18
|
+
this.b35_1.zg(value);
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
this.
|
|
20
|
+
u38(char) {
|
|
21
|
+
this.b35_1.p1(char);
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
this.
|
|
23
|
+
w38(text) {
|
|
24
|
+
this.b35_1.n1(text);
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
printQuoted(this.
|
|
26
|
+
f39(text) {
|
|
27
|
+
printQuoted(this.b35_1, text);
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
this.
|
|
29
|
+
y1i() {
|
|
30
|
+
this.b35_1.ch();
|
|
31
31
|
}
|
|
32
32
|
toString() {
|
|
33
|
-
return this.
|
|
33
|
+
return this.b35_1.toString();
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
initMetadataForClass($, 'JsonToStringWriter', JsonToStringWriter);
|
|
@@ -30,90 +30,90 @@ import { tokenDescription3r6eqmtoxe76u as tokenDescription } from './AbstractJso
|
|
|
30
30
|
//region block: pre-declaration
|
|
31
31
|
//endregion
|
|
32
32
|
function *_generator_invoke__zhh2q8($this, $this$DeepRecursiveFunction, it, $completion) {
|
|
33
|
-
var tmp0_subject = $this.
|
|
33
|
+
var tmp0_subject = $this.n3b_1.j3b_1.o3b();
|
|
34
34
|
var tmp;
|
|
35
35
|
if (tmp0_subject === 1) {
|
|
36
|
-
tmp = readValue($this.
|
|
36
|
+
tmp = readValue($this.n3b_1, true);
|
|
37
37
|
} else if (tmp0_subject === 0) {
|
|
38
|
-
tmp = readValue($this.
|
|
38
|
+
tmp = readValue($this.n3b_1, false);
|
|
39
39
|
} else if (tmp0_subject === 6) {
|
|
40
|
-
var tmp_0 = readObject_0($this.
|
|
40
|
+
var tmp_0 = readObject_0($this.n3b_1, $this$DeepRecursiveFunction, $completion);
|
|
41
41
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
42
42
|
tmp_0 = yield tmp_0;
|
|
43
43
|
tmp = tmp_0;
|
|
44
44
|
} else if (tmp0_subject === 8) {
|
|
45
|
-
tmp = readArray($this.
|
|
45
|
+
tmp = readArray($this.n3b_1);
|
|
46
46
|
} else {
|
|
47
|
-
$this.
|
|
47
|
+
$this.n3b_1.j3b_1.b3a("Can't begin reading element, unexpected token");
|
|
48
48
|
}
|
|
49
49
|
return tmp;
|
|
50
50
|
}
|
|
51
51
|
function readObject($this) {
|
|
52
52
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
53
|
-
var lastToken = $this.
|
|
54
|
-
if ($this.
|
|
55
|
-
$this.
|
|
53
|
+
var lastToken = $this.j3b_1.p3b(6);
|
|
54
|
+
if ($this.j3b_1.o3b() === 4) {
|
|
55
|
+
$this.j3b_1.b3a('Unexpected leading comma');
|
|
56
56
|
}
|
|
57
57
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
58
|
-
var result = LinkedHashMap().
|
|
59
|
-
$l$loop: while ($this.
|
|
60
|
-
var key = $this.
|
|
61
|
-
$this.
|
|
62
|
-
var element = $this.
|
|
58
|
+
var result = LinkedHashMap().t5();
|
|
59
|
+
$l$loop: while ($this.j3b_1.q3b()) {
|
|
60
|
+
var key = $this.k3b_1 ? $this.j3b_1.s3b() : $this.j3b_1.r3b();
|
|
61
|
+
$this.j3b_1.p3b(5);
|
|
62
|
+
var element = $this.t3b();
|
|
63
63
|
// Inline function 'kotlin.collections.set' call
|
|
64
|
-
result.
|
|
65
|
-
lastToken = $this.
|
|
64
|
+
result.l4(key, element);
|
|
65
|
+
lastToken = $this.j3b_1.u3b();
|
|
66
66
|
var tmp0_subject = lastToken;
|
|
67
67
|
if (tmp0_subject !== 4)
|
|
68
68
|
if (tmp0_subject === 7)
|
|
69
69
|
break $l$loop;
|
|
70
70
|
else {
|
|
71
|
-
$this.
|
|
71
|
+
$this.j3b_1.b3a('Expected end of the object or comma');
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
if (lastToken === 6) {
|
|
75
|
-
$this.
|
|
75
|
+
$this.j3b_1.p3b(7);
|
|
76
76
|
} else if (lastToken === 4) {
|
|
77
|
-
if (!$this.
|
|
78
|
-
invalidTrailingComma($this.
|
|
77
|
+
if (!$this.l3b_1) {
|
|
78
|
+
invalidTrailingComma($this.j3b_1);
|
|
79
79
|
}
|
|
80
|
-
$this.
|
|
80
|
+
$this.j3b_1.p3b(7);
|
|
81
81
|
}
|
|
82
82
|
return new (JsonObject())(result);
|
|
83
83
|
}
|
|
84
84
|
function *_generator_readObject__361wel($this, _this__u8e3s4, $completion) {
|
|
85
85
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
86
|
-
var lastToken = $this.
|
|
87
|
-
if ($this.
|
|
88
|
-
$this.
|
|
86
|
+
var lastToken = $this.j3b_1.p3b(6);
|
|
87
|
+
if ($this.j3b_1.o3b() === 4) {
|
|
88
|
+
$this.j3b_1.b3a('Unexpected leading comma');
|
|
89
89
|
}
|
|
90
90
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
91
|
-
var result = LinkedHashMap().
|
|
92
|
-
$l$loop: while ($this.
|
|
93
|
-
var key = $this.
|
|
94
|
-
$this.
|
|
95
|
-
var tmp = _this__u8e3s4.
|
|
91
|
+
var result = LinkedHashMap().t5();
|
|
92
|
+
$l$loop: while ($this.j3b_1.q3b()) {
|
|
93
|
+
var key = $this.k3b_1 ? $this.j3b_1.s3b() : $this.j3b_1.r3b();
|
|
94
|
+
$this.j3b_1.p3b(5);
|
|
95
|
+
var tmp = _this__u8e3s4.mq(Unit_instance, $completion);
|
|
96
96
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
97
97
|
tmp = yield tmp;
|
|
98
98
|
var element = tmp;
|
|
99
99
|
// Inline function 'kotlin.collections.set' call
|
|
100
|
-
result.
|
|
101
|
-
lastToken = $this.
|
|
100
|
+
result.l4(key, element);
|
|
101
|
+
lastToken = $this.j3b_1.u3b();
|
|
102
102
|
var tmp0_subject = lastToken;
|
|
103
103
|
if (tmp0_subject !== 4)
|
|
104
104
|
if (tmp0_subject === 7)
|
|
105
105
|
break $l$loop;
|
|
106
106
|
else {
|
|
107
|
-
$this.
|
|
107
|
+
$this.j3b_1.b3a('Expected end of the object or comma');
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
if (lastToken === 6) {
|
|
111
|
-
$this.
|
|
111
|
+
$this.j3b_1.p3b(7);
|
|
112
112
|
} else if (lastToken === 4) {
|
|
113
|
-
if (!$this.
|
|
114
|
-
invalidTrailingComma($this.
|
|
113
|
+
if (!$this.l3b_1) {
|
|
114
|
+
invalidTrailingComma($this.j3b_1);
|
|
115
115
|
}
|
|
116
|
-
$this.
|
|
116
|
+
$this.j3b_1.p3b(7);
|
|
117
117
|
}
|
|
118
118
|
return new (JsonObject())(result);
|
|
119
119
|
}
|
|
@@ -121,43 +121,43 @@ function readObject_0($this, _this__u8e3s4, $completion) {
|
|
|
121
121
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_readObject__361wel.bind(VOID, $this, _this__u8e3s4), $completion);
|
|
122
122
|
}
|
|
123
123
|
function readArray($this) {
|
|
124
|
-
var lastToken = $this.
|
|
125
|
-
if ($this.
|
|
126
|
-
$this.
|
|
124
|
+
var lastToken = $this.j3b_1.u3b();
|
|
125
|
+
if ($this.j3b_1.o3b() === 4) {
|
|
126
|
+
$this.j3b_1.b3a('Unexpected leading comma');
|
|
127
127
|
}
|
|
128
128
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
129
129
|
var result = ArrayList().y2();
|
|
130
|
-
while ($this.
|
|
131
|
-
var element = $this.
|
|
130
|
+
while ($this.j3b_1.q3b()) {
|
|
131
|
+
var element = $this.t3b();
|
|
132
132
|
result.h2(element);
|
|
133
|
-
lastToken = $this.
|
|
133
|
+
lastToken = $this.j3b_1.u3b();
|
|
134
134
|
if (!(lastToken === 4)) {
|
|
135
|
-
var tmp0 = $this.
|
|
135
|
+
var tmp0 = $this.j3b_1;
|
|
136
136
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
137
137
|
var condition = lastToken === 9;
|
|
138
|
-
var position = tmp0.
|
|
138
|
+
var position = tmp0.k35_1;
|
|
139
139
|
if (!condition) {
|
|
140
140
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
141
|
-
tmp0.
|
|
141
|
+
tmp0.b3a(tmp$ret$1, position);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
if (lastToken === 8) {
|
|
146
|
-
$this.
|
|
146
|
+
$this.j3b_1.p3b(9);
|
|
147
147
|
} else if (lastToken === 4) {
|
|
148
|
-
if (!$this.
|
|
149
|
-
invalidTrailingComma($this.
|
|
148
|
+
if (!$this.l3b_1) {
|
|
149
|
+
invalidTrailingComma($this.j3b_1, 'array');
|
|
150
150
|
}
|
|
151
|
-
$this.
|
|
151
|
+
$this.j3b_1.p3b(9);
|
|
152
152
|
}
|
|
153
153
|
return new (JsonArray())(result);
|
|
154
154
|
}
|
|
155
155
|
function readValue($this, isString) {
|
|
156
156
|
var tmp;
|
|
157
|
-
if ($this.
|
|
158
|
-
tmp = $this.
|
|
157
|
+
if ($this.k3b_1 || !isString) {
|
|
158
|
+
tmp = $this.j3b_1.s3b();
|
|
159
159
|
} else {
|
|
160
|
-
tmp = $this.
|
|
160
|
+
tmp = $this.j3b_1.r3b();
|
|
161
161
|
}
|
|
162
162
|
var string = tmp;
|
|
163
163
|
if (!isString && string === 'null')
|
|
@@ -172,14 +172,14 @@ function JsonTreeReader$readDeepRecursive$slambda() {
|
|
|
172
172
|
if (JsonTreeReader$readDeepRecursive$slambdaClass === VOID) {
|
|
173
173
|
class $ {
|
|
174
174
|
constructor(this$0) {
|
|
175
|
-
this.
|
|
175
|
+
this.n3b_1 = this$0;
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
v3b($this$DeepRecursiveFunction, it, $completion) {
|
|
178
178
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$DeepRecursiveFunction, it), $completion);
|
|
179
179
|
}
|
|
180
|
-
|
|
180
|
+
td(p1, p2, $completion) {
|
|
181
181
|
var tmp = p1 instanceof DeepRecursiveScope() ? p1 : THROW_CCE();
|
|
182
|
-
return this.
|
|
182
|
+
return this.v3b(tmp, p2 instanceof Unit() ? p2 : THROW_CCE(), $completion);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -189,7 +189,7 @@ function JsonTreeReader$readDeepRecursive$slambda() {
|
|
|
189
189
|
}
|
|
190
190
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0) {
|
|
191
191
|
var i = new (JsonTreeReader$readDeepRecursive$slambda())(this$0);
|
|
192
|
-
var l = ($this$DeepRecursiveFunction, it, $completion) => i.
|
|
192
|
+
var l = ($this$DeepRecursiveFunction, it, $completion) => i.v3b($this$DeepRecursiveFunction, it, $completion);
|
|
193
193
|
l.$arity = 2;
|
|
194
194
|
return l;
|
|
195
195
|
}
|
|
@@ -198,13 +198,13 @@ function JsonTreeReader() {
|
|
|
198
198
|
if (JsonTreeReaderClass === VOID) {
|
|
199
199
|
class $ {
|
|
200
200
|
constructor(configuration, lexer) {
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
203
|
-
this.
|
|
204
|
-
this.
|
|
201
|
+
this.j3b_1 = lexer;
|
|
202
|
+
this.k3b_1 = configuration.k36_1;
|
|
203
|
+
this.l3b_1 = configuration.w36_1;
|
|
204
|
+
this.m3b_1 = 0;
|
|
205
205
|
}
|
|
206
|
-
|
|
207
|
-
var token = this.
|
|
206
|
+
t3b() {
|
|
207
|
+
var token = this.j3b_1.o3b();
|
|
208
208
|
var tmp;
|
|
209
209
|
if (token === 1) {
|
|
210
210
|
tmp = readValue(this, true);
|
|
@@ -212,19 +212,19 @@ function JsonTreeReader() {
|
|
|
212
212
|
tmp = readValue(this, false);
|
|
213
213
|
} else if (token === 6) {
|
|
214
214
|
var tmp_0;
|
|
215
|
-
this.
|
|
216
|
-
if (this.
|
|
215
|
+
this.m3b_1 = this.m3b_1 + 1 | 0;
|
|
216
|
+
if (this.m3b_1 === 200) {
|
|
217
217
|
tmp_0 = readDeepRecursive(this);
|
|
218
218
|
} else {
|
|
219
219
|
tmp_0 = readObject(this);
|
|
220
220
|
}
|
|
221
221
|
var result = tmp_0;
|
|
222
|
-
this.
|
|
222
|
+
this.m3b_1 = this.m3b_1 - 1 | 0;
|
|
223
223
|
tmp = result;
|
|
224
224
|
} else if (token === 8) {
|
|
225
225
|
tmp = readArray(this);
|
|
226
226
|
} else {
|
|
227
|
-
this.
|
|
227
|
+
this.j3b_1.b3a('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
228
228
|
}
|
|
229
229
|
return tmp;
|
|
230
230
|
}
|
|
@@ -14,20 +14,20 @@ import {
|
|
|
14
14
|
//region block: pre-declaration
|
|
15
15
|
//endregion
|
|
16
16
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
17
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
17
|
+
var _iterator__ex2g4s = _this__u8e3s4.b1o().q1();
|
|
18
18
|
while (_iterator__ex2g4s.r1()) {
|
|
19
19
|
var annotation = _iterator__ex2g4s.s1();
|
|
20
20
|
if (annotation instanceof JsonClassDiscriminator())
|
|
21
|
-
return annotation.
|
|
21
|
+
return annotation.w3b_1;
|
|
22
22
|
}
|
|
23
|
-
return json.
|
|
23
|
+
return json.y34_1.r36_1;
|
|
24
24
|
}
|
|
25
25
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
26
26
|
if (!(serializer instanceof SealedClassSerializer()))
|
|
27
27
|
return Unit_instance;
|
|
28
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
29
|
-
var baseName = serializer.
|
|
30
|
-
var actualName = actualSerializer.
|
|
28
|
+
if (jsonCachedSerialNames(actualSerializer.c1l()).o3(classDiscriminator)) {
|
|
29
|
+
var baseName = serializer.c1l().f1m();
|
|
30
|
+
var actualName = actualSerializer.c1l().f1m();
|
|
31
31
|
// Inline function 'kotlin.error' call
|
|
32
32
|
var message = "Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because" + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. ") + 'You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism';
|
|
33
33
|
throw IllegalStateException().o(toString(message));
|
|
@@ -21,16 +21,16 @@ function DescriptorSchemaCache() {
|
|
|
21
21
|
if (DescriptorSchemaCacheClass === VOID) {
|
|
22
22
|
class $ {
|
|
23
23
|
constructor() {
|
|
24
|
-
this.
|
|
24
|
+
this.j3a_1 = createMapForCache(16);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
x3b(descriptor, key, value) {
|
|
27
27
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
28
|
-
var this_0 = this.
|
|
29
|
-
var value_0 = this_0.
|
|
28
|
+
var this_0 = this.j3a_1;
|
|
29
|
+
var value_0 = this_0.t4(descriptor);
|
|
30
30
|
var tmp;
|
|
31
31
|
if (value_0 == null) {
|
|
32
32
|
var answer = createMapForCache(2);
|
|
33
|
-
this_0.
|
|
33
|
+
this_0.l4(descriptor, answer);
|
|
34
34
|
tmp = answer;
|
|
35
35
|
} else {
|
|
36
36
|
tmp = value_0;
|
|
@@ -39,10 +39,10 @@ function DescriptorSchemaCache() {
|
|
|
39
39
|
var tmp2 = key instanceof Key() ? key : THROW_CCE();
|
|
40
40
|
// Inline function 'kotlin.collections.set' call
|
|
41
41
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
42
|
-
tmp0.
|
|
42
|
+
tmp0.l4(tmp2, value_1);
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
var tmp0_safe_receiver = this.
|
|
44
|
+
k3a(descriptor, key, defaultValue) {
|
|
45
|
+
var tmp0_safe_receiver = this.y3b(descriptor, key);
|
|
46
46
|
if (tmp0_safe_receiver == null)
|
|
47
47
|
null;
|
|
48
48
|
else {
|
|
@@ -50,16 +50,16 @@ function DescriptorSchemaCache() {
|
|
|
50
50
|
return tmp0_safe_receiver;
|
|
51
51
|
}
|
|
52
52
|
var value = defaultValue();
|
|
53
|
-
this.
|
|
53
|
+
this.x3b(descriptor, key, value);
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
var tmp0_safe_receiver = this.
|
|
56
|
+
y3b(descriptor, key) {
|
|
57
|
+
var tmp0_safe_receiver = this.j3a_1.t4(descriptor);
|
|
58
58
|
var tmp;
|
|
59
59
|
if (tmp0_safe_receiver == null) {
|
|
60
60
|
tmp = null;
|
|
61
61
|
} else {
|
|
62
|
-
tmp = tmp0_safe_receiver.
|
|
62
|
+
tmp = tmp0_safe_receiver.t4(key instanceof Key() ? key : THROW_CCE());
|
|
63
63
|
}
|
|
64
64
|
var tmp_0 = tmp;
|
|
65
65
|
return !(tmp_0 == null) ? tmp_0 : null;
|