@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
|
@@ -45,27 +45,27 @@ function ULongSerializer() {
|
|
|
45
45
|
class $ {
|
|
46
46
|
constructor() {
|
|
47
47
|
ULongSerializer_instance = this;
|
|
48
|
-
this.
|
|
48
|
+
this.n25_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer(Companion_instance));
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
return this.
|
|
50
|
+
c1l() {
|
|
51
|
+
return this.n25_1;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
var tmp = encoder.
|
|
53
|
+
o25(encoder, value) {
|
|
54
|
+
var tmp = encoder.x1q(this.n25_1);
|
|
55
55
|
// Inline function 'kotlin.ULong.toLong' call
|
|
56
56
|
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(value);
|
|
57
|
-
tmp.
|
|
57
|
+
tmp.r1q(tmp$ret$0);
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
return this.
|
|
59
|
+
d1l(encoder, value) {
|
|
60
|
+
return this.o25(encoder, value instanceof ULong() ? value.is_1 : THROW_CCE());
|
|
61
61
|
}
|
|
62
|
-
|
|
62
|
+
p25(decoder) {
|
|
63
63
|
// Inline function 'kotlin.toULong' call
|
|
64
|
-
var this_0 = decoder.
|
|
64
|
+
var this_0 = decoder.o1p(this.n25_1).i1p();
|
|
65
65
|
return _ULong___init__impl__c78o9k(this_0);
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
return new (ULong())(this.
|
|
67
|
+
e1l(decoder) {
|
|
68
|
+
return new (ULong())(this.p25(decoder));
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
initMetadataForObject($, 'ULongSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -85,27 +85,27 @@ function UShortSerializer() {
|
|
|
85
85
|
class $ {
|
|
86
86
|
constructor() {
|
|
87
87
|
UShortSerializer_instance = this;
|
|
88
|
-
this.
|
|
88
|
+
this.q25_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_0(ShortCompanionObject_instance));
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
return this.
|
|
90
|
+
c1l() {
|
|
91
|
+
return this.q25_1;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
var tmp = encoder.
|
|
93
|
+
r25(encoder, value) {
|
|
94
|
+
var tmp = encoder.x1q(this.q25_1);
|
|
95
95
|
// Inline function 'kotlin.UShort.toShort' call
|
|
96
96
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(value);
|
|
97
|
-
tmp.
|
|
97
|
+
tmp.p1q(tmp$ret$0);
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
return this.
|
|
99
|
+
d1l(encoder, value) {
|
|
100
|
+
return this.r25(encoder, value instanceof UShort() ? value.us_1 : THROW_CCE());
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
s25(decoder) {
|
|
103
103
|
// Inline function 'kotlin.toUShort' call
|
|
104
|
-
var this_0 = decoder.
|
|
104
|
+
var this_0 = decoder.o1p(this.q25_1).g1p();
|
|
105
105
|
return _UShort___init__impl__jigrne(this_0);
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
return new (UShort())(this.
|
|
107
|
+
e1l(decoder) {
|
|
108
|
+
return new (UShort())(this.s25(decoder));
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
initMetadataForObject($, 'UShortSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -125,27 +125,27 @@ function UIntSerializer() {
|
|
|
125
125
|
class $ {
|
|
126
126
|
constructor() {
|
|
127
127
|
UIntSerializer_instance = this;
|
|
128
|
-
this.
|
|
128
|
+
this.t25_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_1(IntCompanionObject_instance));
|
|
129
129
|
}
|
|
130
|
-
|
|
131
|
-
return this.
|
|
130
|
+
c1l() {
|
|
131
|
+
return this.t25_1;
|
|
132
132
|
}
|
|
133
|
-
|
|
134
|
-
var tmp = encoder.
|
|
133
|
+
u25(encoder, value) {
|
|
134
|
+
var tmp = encoder.x1q(this.t25_1);
|
|
135
135
|
// Inline function 'kotlin.UInt.toInt' call
|
|
136
136
|
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(value);
|
|
137
|
-
tmp.
|
|
137
|
+
tmp.q1q(tmp$ret$0);
|
|
138
138
|
}
|
|
139
|
-
|
|
140
|
-
return this.
|
|
139
|
+
d1l(encoder, value) {
|
|
140
|
+
return this.u25(encoder, value instanceof UInt() ? value.wr_1 : THROW_CCE());
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
v25(decoder) {
|
|
143
143
|
// Inline function 'kotlin.toUInt' call
|
|
144
|
-
var this_0 = decoder.
|
|
144
|
+
var this_0 = decoder.o1p(this.t25_1).h1p();
|
|
145
145
|
return _UInt___init__impl__l7qpdl(this_0);
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
return new (UInt())(this.
|
|
147
|
+
e1l(decoder) {
|
|
148
|
+
return new (UInt())(this.v25(decoder));
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
initMetadataForObject($, 'UIntSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -165,27 +165,27 @@ function UByteSerializer() {
|
|
|
165
165
|
class $ {
|
|
166
166
|
constructor() {
|
|
167
167
|
UByteSerializer_instance = this;
|
|
168
|
-
this.
|
|
168
|
+
this.w25_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_2(ByteCompanionObject_instance));
|
|
169
169
|
}
|
|
170
|
-
|
|
171
|
-
return this.
|
|
170
|
+
c1l() {
|
|
171
|
+
return this.w25_1;
|
|
172
172
|
}
|
|
173
|
-
|
|
174
|
-
var tmp = encoder.
|
|
173
|
+
x25(encoder, value) {
|
|
174
|
+
var tmp = encoder.x1q(this.w25_1);
|
|
175
175
|
// Inline function 'kotlin.UByte.toByte' call
|
|
176
176
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(value);
|
|
177
|
-
tmp.
|
|
177
|
+
tmp.o1q(tmp$ret$0);
|
|
178
178
|
}
|
|
179
|
-
|
|
180
|
-
return this.
|
|
179
|
+
d1l(encoder, value) {
|
|
180
|
+
return this.x25(encoder, value instanceof UByte() ? value.kr_1 : THROW_CCE());
|
|
181
181
|
}
|
|
182
|
-
|
|
182
|
+
y25(decoder) {
|
|
183
183
|
// Inline function 'kotlin.toUByte' call
|
|
184
|
-
var this_0 = decoder.
|
|
184
|
+
var this_0 = decoder.o1p(this.w25_1).f1p();
|
|
185
185
|
return _UByte___init__impl__g9hnc4(this_0);
|
|
186
186
|
}
|
|
187
|
-
|
|
188
|
-
return new (UByte())(this.
|
|
187
|
+
e1l(decoder) {
|
|
188
|
+
return new (UByte())(this.y25(decoder));
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
initMetadataForObject($, 'UByteSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -28,9 +28,9 @@ var SerializersModuleClass;
|
|
|
28
28
|
function SerializersModule() {
|
|
29
29
|
if (SerializersModuleClass === VOID) {
|
|
30
30
|
class $ {
|
|
31
|
-
|
|
31
|
+
n1n(kClass, typeArgumentsSerializers, $super) {
|
|
32
32
|
typeArgumentsSerializers = typeArgumentsSerializers === VOID ? emptyList() : typeArgumentsSerializers;
|
|
33
|
-
return $super === VOID ? this.
|
|
33
|
+
return $super === VOID ? this.o1n(kClass, typeArgumentsSerializers) : $super.o1n.call(this, kClass, typeArgumentsSerializers);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
initMetadataForClass($, 'SerializersModule');
|
|
@@ -44,54 +44,54 @@ function SerialModuleImpl() {
|
|
|
44
44
|
class $ extends SerializersModule() {
|
|
45
45
|
constructor(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider, hasInterfaceContextualSerializers) {
|
|
46
46
|
super();
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
47
|
+
this.a26_1 = class2ContextualFactory;
|
|
48
|
+
this.b26_1 = polyBase2Serializers;
|
|
49
|
+
this.c26_1 = polyBase2DefaultSerializerProvider;
|
|
50
|
+
this.d26_1 = polyBase2NamedSerializers;
|
|
51
|
+
this.e26_1 = polyBase2DefaultDeserializerProvider;
|
|
52
|
+
this.f26_1 = hasInterfaceContextualSerializers;
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
return this.
|
|
54
|
+
m1n() {
|
|
55
|
+
return this.f26_1;
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
if (!baseClass.
|
|
57
|
+
o1r(baseClass, value) {
|
|
58
|
+
if (!baseClass.hf(value))
|
|
59
59
|
return null;
|
|
60
|
-
var tmp0_safe_receiver = this.
|
|
61
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
60
|
+
var tmp0_safe_receiver = this.b26_1.t4(baseClass);
|
|
61
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t4(getKClassFromExpression(value));
|
|
62
62
|
var registered = (!(tmp == null) ? isInterface(tmp, SerializationStrategy()) : false) ? tmp : null;
|
|
63
63
|
if (!(registered == null))
|
|
64
64
|
return registered;
|
|
65
|
-
var tmp_0 = this.
|
|
65
|
+
var tmp_0 = this.c26_1.t4(baseClass);
|
|
66
66
|
var tmp1_safe_receiver = (!(tmp_0 == null) ? typeof tmp_0 === 'function' : false) ? tmp_0 : null;
|
|
67
67
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(value);
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
var tmp0_safe_receiver = this.
|
|
69
|
+
n1r(baseClass, serializedClassName) {
|
|
70
|
+
var tmp0_safe_receiver = this.d26_1.t4(baseClass);
|
|
71
71
|
var tmp;
|
|
72
72
|
if (tmp0_safe_receiver == null) {
|
|
73
73
|
tmp = null;
|
|
74
74
|
} else {
|
|
75
75
|
// Inline function 'kotlin.collections.get' call
|
|
76
|
-
tmp = (isInterface(tmp0_safe_receiver, KtMap()) ? tmp0_safe_receiver : THROW_CCE()).
|
|
76
|
+
tmp = (isInterface(tmp0_safe_receiver, KtMap()) ? tmp0_safe_receiver : THROW_CCE()).t4(serializedClassName);
|
|
77
77
|
}
|
|
78
78
|
var tmp_0 = tmp;
|
|
79
79
|
var registered = (!(tmp_0 == null) ? isInterface(tmp_0, KSerializer()) : false) ? tmp_0 : null;
|
|
80
80
|
if (!(registered == null))
|
|
81
81
|
return registered;
|
|
82
|
-
var tmp_1 = this.
|
|
82
|
+
var tmp_1 = this.e26_1.t4(baseClass);
|
|
83
83
|
var tmp1_safe_receiver = (!(tmp_1 == null) ? typeof tmp_1 === 'function' : false) ? tmp_1 : null;
|
|
84
84
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(serializedClassName);
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
var tmp0_safe_receiver = this.
|
|
88
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
86
|
+
o1n(kClass, typeArgumentsSerializers) {
|
|
87
|
+
var tmp0_safe_receiver = this.a26_1.t4(kClass);
|
|
88
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g26(typeArgumentsSerializers);
|
|
89
89
|
return (tmp == null ? true : isInterface(tmp, KSerializer())) ? tmp : null;
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
z25(collector) {
|
|
92
92
|
// Inline function 'kotlin.collections.forEach' call
|
|
93
93
|
// Inline function 'kotlin.collections.iterator' call
|
|
94
|
-
var _iterator__ex2g4s = this.
|
|
94
|
+
var _iterator__ex2g4s = this.a26_1.e3().q1();
|
|
95
95
|
while (_iterator__ex2g4s.r1()) {
|
|
96
96
|
var element = _iterator__ex2g4s.s1();
|
|
97
97
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -100,11 +100,11 @@ function SerialModuleImpl() {
|
|
|
100
100
|
var serial = element.g3();
|
|
101
101
|
if (serial instanceof Argless()) {
|
|
102
102
|
var tmp = isInterface(kclass, KClass()) ? kclass : THROW_CCE();
|
|
103
|
-
var tmp_0 = serial.
|
|
104
|
-
collector.
|
|
103
|
+
var tmp_0 = serial.j26_1;
|
|
104
|
+
collector.k26(tmp, isInterface(tmp_0, KSerializer()) ? tmp_0 : THROW_CCE());
|
|
105
105
|
} else {
|
|
106
106
|
if (serial instanceof WithTypeArguments()) {
|
|
107
|
-
collector.
|
|
107
|
+
collector.i26(kclass, serial.h26_1);
|
|
108
108
|
} else {
|
|
109
109
|
noWhenBranchMatchedException();
|
|
110
110
|
}
|
|
@@ -112,7 +112,7 @@ function SerialModuleImpl() {
|
|
|
112
112
|
}
|
|
113
113
|
// Inline function 'kotlin.collections.forEach' call
|
|
114
114
|
// Inline function 'kotlin.collections.iterator' call
|
|
115
|
-
var _iterator__ex2g4s_0 = this.
|
|
115
|
+
var _iterator__ex2g4s_0 = this.b26_1.e3().q1();
|
|
116
116
|
while (_iterator__ex2g4s_0.r1()) {
|
|
117
117
|
var element_0 = _iterator__ex2g4s_0.s1();
|
|
118
118
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -132,12 +132,12 @@ function SerialModuleImpl() {
|
|
|
132
132
|
var tmp_2 = isInterface(actualClass, KClass()) ? actualClass : THROW_CCE();
|
|
133
133
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
134
134
|
var tmp$ret$11 = isInterface(serializer, KSerializer()) ? serializer : THROW_CCE();
|
|
135
|
-
collector.
|
|
135
|
+
collector.l26(tmp_1, tmp_2, tmp$ret$11);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
// Inline function 'kotlin.collections.forEach' call
|
|
139
139
|
// Inline function 'kotlin.collections.iterator' call
|
|
140
|
-
var _iterator__ex2g4s_2 = this.
|
|
140
|
+
var _iterator__ex2g4s_2 = this.c26_1.e3().q1();
|
|
141
141
|
while (_iterator__ex2g4s_2.r1()) {
|
|
142
142
|
var element_2 = _iterator__ex2g4s_2.s1();
|
|
143
143
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -145,11 +145,11 @@ function SerialModuleImpl() {
|
|
|
145
145
|
// Inline function 'kotlin.collections.component2' call
|
|
146
146
|
var provider = element_2.g3();
|
|
147
147
|
var tmp_3 = isInterface(baseClass_0, KClass()) ? baseClass_0 : THROW_CCE();
|
|
148
|
-
collector.
|
|
148
|
+
collector.m26(tmp_3, typeof provider === 'function' ? provider : THROW_CCE());
|
|
149
149
|
}
|
|
150
150
|
// Inline function 'kotlin.collections.forEach' call
|
|
151
151
|
// Inline function 'kotlin.collections.iterator' call
|
|
152
|
-
var _iterator__ex2g4s_3 = this.
|
|
152
|
+
var _iterator__ex2g4s_3 = this.e26_1.e3().q1();
|
|
153
153
|
while (_iterator__ex2g4s_3.r1()) {
|
|
154
154
|
var element_3 = _iterator__ex2g4s_3.s1();
|
|
155
155
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -157,7 +157,7 @@ function SerialModuleImpl() {
|
|
|
157
157
|
// Inline function 'kotlin.collections.component2' call
|
|
158
158
|
var provider_0 = element_3.g3();
|
|
159
159
|
var tmp_4 = isInterface(baseClass_1, KClass()) ? baseClass_1 : THROW_CCE();
|
|
160
|
-
collector.
|
|
160
|
+
collector.n26(tmp_4, typeof provider_0 === 'function' ? provider_0 : THROW_CCE());
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -8,7 +8,7 @@ function SerializersModuleCollector$contextual$lambda($serializer) {
|
|
|
8
8
|
return (it) => $serializer;
|
|
9
9
|
}
|
|
10
10
|
function contextual(kClass, serializer) {
|
|
11
|
-
return this.
|
|
11
|
+
return this.i26(kClass, SerializersModuleCollector$contextual$lambda(serializer));
|
|
12
12
|
}
|
|
13
13
|
var SerializersModuleCollectorClass;
|
|
14
14
|
function SerializersModuleCollector() {
|
package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs
CHANGED
|
@@ -58,27 +58,27 @@ function Json() {
|
|
|
58
58
|
class $ {
|
|
59
59
|
constructor(configuration, serializersModule) {
|
|
60
60
|
Default_getInstance();
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
61
|
+
this.y34_1 = configuration;
|
|
62
|
+
this.z34_1 = serializersModule;
|
|
63
|
+
this.a35_1 = new (DescriptorSchemaCache())();
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
return this.
|
|
65
|
+
f1q() {
|
|
66
|
+
return this.z34_1;
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
j1m(serializer, value) {
|
|
69
69
|
var result = new (JsonToStringWriter())();
|
|
70
70
|
try {
|
|
71
71
|
encodeByWriter(this, result, serializer, value);
|
|
72
72
|
return result.toString();
|
|
73
73
|
}finally {
|
|
74
|
-
result.
|
|
74
|
+
result.y1i();
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
k1m(deserializer, string) {
|
|
78
78
|
var lexer = StringJsonLexer(this, string);
|
|
79
|
-
var input = new (StreamingJsonDecoder())(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
80
|
-
var result = input.
|
|
81
|
-
lexer.
|
|
79
|
+
var input = new (StreamingJsonDecoder())(this, WriteMode_OBJ_getInstance(), lexer, deserializer.c1l(), null);
|
|
80
|
+
var result = input.q1p(deserializer);
|
|
81
|
+
lexer.o35();
|
|
82
82
|
return result;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -91,54 +91,54 @@ function Json_0(from, builderAction) {
|
|
|
91
91
|
from = from === VOID ? Default_getInstance() : from;
|
|
92
92
|
var builder = new (JsonBuilder())(from);
|
|
93
93
|
builderAction(builder);
|
|
94
|
-
var conf = builder.
|
|
95
|
-
return new (JsonImpl())(conf, builder.
|
|
94
|
+
var conf = builder.h36();
|
|
95
|
+
return new (JsonImpl())(conf, builder.g36_1);
|
|
96
96
|
}
|
|
97
97
|
var JsonBuilderClass;
|
|
98
98
|
function JsonBuilder() {
|
|
99
99
|
if (JsonBuilderClass === VOID) {
|
|
100
100
|
class $ {
|
|
101
101
|
constructor(json) {
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
113
|
-
this.
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
102
|
+
this.p35_1 = json.y34_1.i36_1;
|
|
103
|
+
this.q35_1 = json.y34_1.n36_1;
|
|
104
|
+
this.r35_1 = json.y34_1.j36_1;
|
|
105
|
+
this.s35_1 = json.y34_1.k36_1;
|
|
106
|
+
this.t35_1 = json.y34_1.m36_1;
|
|
107
|
+
this.u35_1 = json.y34_1.o36_1;
|
|
108
|
+
this.v35_1 = json.y34_1.p36_1;
|
|
109
|
+
this.w35_1 = json.y34_1.r36_1;
|
|
110
|
+
this.x35_1 = json.y34_1.y36_1;
|
|
111
|
+
this.y35_1 = json.y34_1.t36_1;
|
|
112
|
+
this.z35_1 = json.y34_1.u36_1;
|
|
113
|
+
this.a36_1 = json.y34_1.v36_1;
|
|
114
|
+
this.b36_1 = json.y34_1.w36_1;
|
|
115
|
+
this.c36_1 = json.y34_1.x36_1;
|
|
116
|
+
this.d36_1 = json.y34_1.s36_1;
|
|
117
|
+
this.e36_1 = json.y34_1.l36_1;
|
|
118
|
+
this.f36_1 = json.y34_1.q36_1;
|
|
119
|
+
this.g36_1 = json.f1q();
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
if (this.
|
|
121
|
+
h36() {
|
|
122
|
+
if (this.f36_1) {
|
|
123
123
|
// Inline function 'kotlin.require' call
|
|
124
|
-
if (!(this.
|
|
124
|
+
if (!(this.w35_1 === 'type')) {
|
|
125
125
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
126
126
|
throw IllegalArgumentException().t2(toString(message));
|
|
127
127
|
}
|
|
128
128
|
// Inline function 'kotlin.require' call
|
|
129
|
-
if (!this.
|
|
129
|
+
if (!this.x35_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
130
130
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
131
131
|
throw IllegalArgumentException().t2(toString(message_0));
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
if (!this.
|
|
134
|
+
if (!this.t35_1) {
|
|
135
135
|
// Inline function 'kotlin.require' call
|
|
136
|
-
if (!(this.
|
|
136
|
+
if (!(this.u35_1 === ' ')) {
|
|
137
137
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
138
138
|
throw IllegalArgumentException().t2(toString(message_1));
|
|
139
139
|
}
|
|
140
|
-
} else if (!(this.
|
|
141
|
-
var tmp0 = this.
|
|
140
|
+
} else if (!(this.u35_1 === ' ')) {
|
|
141
|
+
var tmp0 = this.u35_1;
|
|
142
142
|
var tmp$ret$7;
|
|
143
143
|
$l$block: {
|
|
144
144
|
// Inline function 'kotlin.text.all' call
|
|
@@ -156,11 +156,11 @@ function JsonBuilder() {
|
|
|
156
156
|
var allWhitespaces = tmp$ret$7;
|
|
157
157
|
// Inline function 'kotlin.require' call
|
|
158
158
|
if (!allWhitespaces) {
|
|
159
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
159
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.u35_1;
|
|
160
160
|
throw IllegalArgumentException().t2(toString(message_2));
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
return new (JsonConfiguration())(this.
|
|
163
|
+
return new (JsonConfiguration())(this.p35_1, this.r35_1, this.s35_1, this.e36_1, this.t35_1, this.q35_1, this.u35_1, this.v35_1, this.f36_1, this.w35_1, this.d36_1, this.y35_1, this.z35_1, this.a36_1, this.b36_1, this.c36_1, this.x35_1);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
initMetadataForClass($, 'JsonBuilder');
|
|
@@ -169,10 +169,10 @@ function JsonBuilder() {
|
|
|
169
169
|
return JsonBuilderClass;
|
|
170
170
|
}
|
|
171
171
|
function validateConfiguration($this) {
|
|
172
|
-
if (equals($this.
|
|
172
|
+
if (equals($this.f1q(), EmptySerializersModule()))
|
|
173
173
|
return Unit_instance;
|
|
174
|
-
var collector = new (JsonSerializersModuleValidator())($this.
|
|
175
|
-
$this.
|
|
174
|
+
var collector = new (JsonSerializersModuleValidator())($this.y34_1);
|
|
175
|
+
$this.f1q().z25(collector);
|
|
176
176
|
}
|
|
177
177
|
var JsonImplClass;
|
|
178
178
|
function JsonImpl() {
|
|
@@ -29,26 +29,26 @@ function JsonConfiguration() {
|
|
|
29
29
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
30
30
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
31
31
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
32
|
+
this.i36_1 = encodeDefaults;
|
|
33
|
+
this.j36_1 = ignoreUnknownKeys;
|
|
34
|
+
this.k36_1 = isLenient;
|
|
35
|
+
this.l36_1 = allowStructuredMapKeys;
|
|
36
|
+
this.m36_1 = prettyPrint;
|
|
37
|
+
this.n36_1 = explicitNulls;
|
|
38
|
+
this.o36_1 = prettyPrintIndent;
|
|
39
|
+
this.p36_1 = coerceInputValues;
|
|
40
|
+
this.q36_1 = useArrayPolymorphism;
|
|
41
|
+
this.r36_1 = classDiscriminator;
|
|
42
|
+
this.s36_1 = allowSpecialFloatingPointValues;
|
|
43
|
+
this.t36_1 = useAlternativeNames;
|
|
44
|
+
this.u36_1 = namingStrategy;
|
|
45
|
+
this.v36_1 = decodeEnumsCaseInsensitive;
|
|
46
|
+
this.w36_1 = allowTrailingComma;
|
|
47
|
+
this.x36_1 = allowComments;
|
|
48
|
+
this.y36_1 = classDiscriminatorMode;
|
|
49
49
|
}
|
|
50
50
|
toString() {
|
|
51
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
51
|
+
return 'JsonConfiguration(encodeDefaults=' + this.i36_1 + ', ignoreUnknownKeys=' + this.j36_1 + ', isLenient=' + this.k36_1 + ', ' + ('allowStructuredMapKeys=' + this.l36_1 + ', prettyPrint=' + this.m36_1 + ', explicitNulls=' + this.n36_1 + ', ') + ("prettyPrintIndent='" + this.o36_1 + "', coerceInputValues=" + this.p36_1 + ', useArrayPolymorphism=' + this.q36_1 + ', ') + ("classDiscriminator='" + this.r36_1 + "', allowSpecialFloatingPointValues=" + this.s36_1 + ', ') + ('useAlternativeNames=' + this.t36_1 + ', namingStrategy=' + toString(this.u36_1) + ', decodeEnumsCaseInsensitive=' + this.v36_1 + ', ') + ('allowTrailingComma=' + this.w36_1 + ', allowComments=' + this.x36_1 + ', classDiscriminatorMode=' + this.y36_1.toString() + ')');
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
initMetadataForClass($, 'JsonConfiguration');
|