@attocash/commons-test 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -27,32 +27,32 @@ function DecimalFraction() {
|
|
|
27
27
|
if (DecimalFractionClass === VOID) {
|
|
28
28
|
class $ {
|
|
29
29
|
constructor(fractionalPart, digits) {
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
30
|
+
this.s46_1 = fractionalPart;
|
|
31
|
+
this.t46_1 = digits;
|
|
32
32
|
// Inline function 'kotlin.require' call
|
|
33
|
-
if (!(this.
|
|
34
|
-
var message = 'Digits must be non-negative, but was ' + this.
|
|
33
|
+
if (!(this.t46_1 >= 0)) {
|
|
34
|
+
var message = 'Digits must be non-negative, but was ' + this.t46_1;
|
|
35
35
|
throw IllegalArgumentException().s2(toString(message));
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
return newDigits === this.
|
|
38
|
+
u46(newDigits) {
|
|
39
|
+
return newDigits === this.t46_1 ? this.s46_1 : newDigits > this.t46_1 ? imul(this.s46_1, get_POWERS_OF_TEN()[newDigits - this.t46_1 | 0]) : this.s46_1 / get_POWERS_OF_TEN()[this.t46_1 - newDigits | 0] | 0;
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
var tmp0 = this.
|
|
41
|
+
d4f(other) {
|
|
42
|
+
var tmp0 = this.t46_1;
|
|
43
43
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
44
|
-
var b = other.
|
|
44
|
+
var b = other.t46_1;
|
|
45
45
|
// Inline function 'kotlin.let' call
|
|
46
46
|
var maxPrecision = Math.max(tmp0, b);
|
|
47
|
-
return compareTo(this.
|
|
47
|
+
return compareTo(this.u46(maxPrecision), other.u46(maxPrecision));
|
|
48
48
|
}
|
|
49
49
|
d(other) {
|
|
50
|
-
return this.
|
|
50
|
+
return this.d4f(other instanceof DecimalFraction() ? other : THROW_CCE());
|
|
51
51
|
}
|
|
52
52
|
equals(other) {
|
|
53
53
|
var tmp;
|
|
54
54
|
if (other instanceof DecimalFraction()) {
|
|
55
|
-
tmp = this.
|
|
55
|
+
tmp = this.d4f(other) === 0;
|
|
56
56
|
} else {
|
|
57
57
|
tmp = false;
|
|
58
58
|
}
|
|
@@ -62,14 +62,14 @@ function DecimalFraction() {
|
|
|
62
62
|
// Inline function 'kotlin.text.buildString' call
|
|
63
63
|
// Inline function 'kotlin.apply' call
|
|
64
64
|
var this_0 = StringBuilder().m1();
|
|
65
|
-
var denominator = get_POWERS_OF_TEN()[this.
|
|
66
|
-
this_0.
|
|
65
|
+
var denominator = get_POWERS_OF_TEN()[this.t46_1];
|
|
66
|
+
this_0.sg(this.s46_1 / denominator | 0);
|
|
67
67
|
this_0.p1(_Char___init__impl__6a9atx(46));
|
|
68
|
-
this_0.n1(removePrefix((denominator + (this.
|
|
68
|
+
this_0.n1(removePrefix((denominator + (this.s46_1 % denominator | 0) | 0).toString(), '1'));
|
|
69
69
|
return this_0.toString();
|
|
70
70
|
}
|
|
71
71
|
hashCode() {
|
|
72
|
-
throw UnsupportedOperationException().
|
|
72
|
+
throw UnsupportedOperationException().ma('DecimalFraction is not supposed to be used as a hash key');
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
initMetadataForClass($, 'DecimalFraction', VOID, VOID, [Comparable()]);
|
|
@@ -13,7 +13,7 @@ import { ArithmeticException18dajwq7kbp38 as ArithmeticException } from '../../.
|
|
|
13
13
|
function safeAdd(a, b) {
|
|
14
14
|
var sum = add(a, b);
|
|
15
15
|
if ((a ^ sum) < 0n && (a ^ b) >= 0n) {
|
|
16
|
-
throw ArithmeticException().
|
|
16
|
+
throw ArithmeticException().qe('Addition overflows a long: ' + a.toString() + ' + ' + b.toString());
|
|
17
17
|
}
|
|
18
18
|
return sum;
|
|
19
19
|
}
|
|
@@ -29,14 +29,14 @@ function safeMultiply(a, b) {
|
|
|
29
29
|
}
|
|
30
30
|
var total = multiply(a, b);
|
|
31
31
|
if (!(divide(total, b) === a) || (a === -9223372036854775808n && b === -1n) || (b === -9223372036854775808n && a === -1n)) {
|
|
32
|
-
throw ArithmeticException().
|
|
32
|
+
throw ArithmeticException().qe('Multiplication overflows a long: ' + a.toString() + ' * ' + b.toString());
|
|
33
33
|
}
|
|
34
34
|
return total;
|
|
35
35
|
}
|
|
36
36
|
function safeMultiply_0(a, b) {
|
|
37
37
|
var total = multiply(fromInt(a), fromInt(b));
|
|
38
38
|
if (total < -2147483648n || total > 2147483647n) {
|
|
39
|
-
throw ArithmeticException().
|
|
39
|
+
throw ArithmeticException().qe('Multiplication overflows an int: ' + a + ' * ' + b);
|
|
40
40
|
}
|
|
41
41
|
return convertToInt(total);
|
|
42
42
|
}
|
|
@@ -41,13 +41,13 @@ function TimeBasedDateTimeUnitSerializer$descriptor$delegate$lambda$lambda($this
|
|
|
41
41
|
var annotations = emptyList();
|
|
42
42
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
43
43
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
44
|
-
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().
|
|
45
|
-
var descriptor = (isInterface(this_0, KSerializer()) ? this_0 : THROW_CCE()).
|
|
46
|
-
$this$buildClassSerialDescriptor.
|
|
44
|
+
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().xf(), arrayOf([]), false));
|
|
45
|
+
var descriptor = (isInterface(this_0, KSerializer()) ? this_0 : THROW_CCE()).ws();
|
|
46
|
+
$this$buildClassSerialDescriptor.hw(elementName, descriptor, annotations, false);
|
|
47
47
|
return Unit_instance;
|
|
48
48
|
}
|
|
49
49
|
function TimeBasedDateTimeUnitSerializer$_get_descriptor_$ref_ezonyw() {
|
|
50
|
-
return (p0) => p0.
|
|
50
|
+
return (p0) => p0.ws();
|
|
51
51
|
}
|
|
52
52
|
var TimeBasedDateTimeUnitSerializerClass;
|
|
53
53
|
function TimeBasedDateTimeUnitSerializer() {
|
|
@@ -57,40 +57,40 @@ function TimeBasedDateTimeUnitSerializer() {
|
|
|
57
57
|
TimeBasedDateTimeUnitSerializer_instance = this;
|
|
58
58
|
var tmp = this;
|
|
59
59
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
60
|
-
tmp.
|
|
60
|
+
tmp.e4f_1 = lazy(tmp_0, TimeBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
var tmp0 = this.
|
|
62
|
+
ws() {
|
|
63
|
+
var tmp0 = this.e4f_1;
|
|
64
64
|
var tmp = KProperty1();
|
|
65
65
|
// Inline function 'kotlin.getValue' call
|
|
66
66
|
getPropertyCallableRef('descriptor', 1, tmp, TimeBasedDateTimeUnitSerializer$_get_descriptor_$ref_ezonyw(), null);
|
|
67
67
|
return tmp0.g3();
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
f4f(encoder, value) {
|
|
70
70
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
71
|
-
var descriptor = this.
|
|
72
|
-
var composite = encoder.
|
|
73
|
-
composite.
|
|
74
|
-
composite.
|
|
71
|
+
var descriptor = this.ws();
|
|
72
|
+
var composite = encoder.lx(descriptor);
|
|
73
|
+
composite.wy(TimeBasedDateTimeUnitSerializer_getInstance().ws(), 0, value.k40_1);
|
|
74
|
+
composite.mx(descriptor);
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
return this.
|
|
76
|
+
xs(encoder, value) {
|
|
77
|
+
return this.f4f(encoder, value instanceof TimeBased() ? value : THROW_CCE());
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
ys(decoder) {
|
|
80
80
|
var seen = {_v: false};
|
|
81
81
|
var nanoseconds = {_v: 0n};
|
|
82
82
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
83
|
-
var descriptor = this.
|
|
84
|
-
var composite = decoder.
|
|
85
|
-
if (composite.
|
|
86
|
-
nanoseconds._v = composite.
|
|
83
|
+
var descriptor = this.ws();
|
|
84
|
+
var composite = decoder.lx(descriptor);
|
|
85
|
+
if (composite.ay()) {
|
|
86
|
+
nanoseconds._v = composite.rx(TimeBasedDateTimeUnitSerializer_getInstance().ws(), 0);
|
|
87
87
|
seen._v = true;
|
|
88
88
|
} else {
|
|
89
89
|
loop: while (true) {
|
|
90
|
-
var elementIndex = composite.
|
|
90
|
+
var elementIndex = composite.by(TimeBasedDateTimeUnitSerializer_getInstance().ws());
|
|
91
91
|
switch (elementIndex) {
|
|
92
92
|
case 0:
|
|
93
|
-
nanoseconds._v = composite.
|
|
93
|
+
nanoseconds._v = composite.rx(TimeBasedDateTimeUnitSerializer_getInstance().ws(), 0);
|
|
94
94
|
seen._v = true;
|
|
95
95
|
break;
|
|
96
96
|
case -1:
|
|
@@ -102,9 +102,9 @@ function TimeBasedDateTimeUnitSerializer() {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
var result = Unit_instance;
|
|
105
|
-
composite.
|
|
105
|
+
composite.mx(descriptor);
|
|
106
106
|
if (!seen._v)
|
|
107
|
-
throw MissingFieldException().
|
|
107
|
+
throw MissingFieldException().ev('nanoseconds', this.ws().zt());
|
|
108
108
|
return new (TimeBased())(nanoseconds._v);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -120,7 +120,7 @@ function TimeBasedDateTimeUnitSerializer_getInstance() {
|
|
|
120
120
|
return TimeBasedDateTimeUnitSerializer_instance;
|
|
121
121
|
}
|
|
122
122
|
function _get_impl__d88w17($this) {
|
|
123
|
-
var tmp0 = $this.
|
|
123
|
+
var tmp0 = $this.g4f_1;
|
|
124
124
|
var tmp = KProperty1();
|
|
125
125
|
// Inline function 'kotlin.getValue' call
|
|
126
126
|
getPropertyCallableRef('impl', 1, tmp, DateBasedDateTimeUnitSerializer$_get_impl_$ref_m860rs(), null);
|
|
@@ -136,7 +136,7 @@ function DateBasedDateTimeUnitSerializer$impl$delegate$lambda() {
|
|
|
136
136
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
137
137
|
// Inline function 'kotlin.js.asDynamic' call
|
|
138
138
|
var tmp$ret$5 = [DayBasedDateTimeUnitSerializer_getInstance(), MonthBasedDateTimeUnitSerializer_getInstance()];
|
|
139
|
-
return SealedClassSerializer().
|
|
139
|
+
return SealedClassSerializer().bu('kotlinx.datetime.DateTimeUnit.DateBased', tmp, tmp_0, tmp$ret$5);
|
|
140
140
|
}
|
|
141
141
|
function DateBasedDateTimeUnitSerializer$_get_impl_$ref_m860rs() {
|
|
142
142
|
return (p0) => _get_impl__d88w17(p0);
|
|
@@ -145,29 +145,29 @@ var DateBasedDateTimeUnitSerializerClass;
|
|
|
145
145
|
function DateBasedDateTimeUnitSerializer() {
|
|
146
146
|
if (DateBasedDateTimeUnitSerializerClass === VOID) {
|
|
147
147
|
class $ extends AbstractPolymorphicSerializer() {
|
|
148
|
-
static
|
|
148
|
+
static h4f() {
|
|
149
149
|
DateBasedDateTimeUnitSerializer_instance = null;
|
|
150
|
-
var $this = this.
|
|
150
|
+
var $this = this.pt();
|
|
151
151
|
DateBasedDateTimeUnitSerializer_instance = $this;
|
|
152
152
|
var tmp = $this;
|
|
153
153
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
154
|
-
tmp.
|
|
154
|
+
tmp.g4f_1 = lazy(tmp_0, DateBasedDateTimeUnitSerializer$impl$delegate$lambda);
|
|
155
155
|
return $this;
|
|
156
156
|
}
|
|
157
|
-
|
|
158
|
-
return _get_impl__d88w17(this).
|
|
157
|
+
zs(decoder, klassName) {
|
|
158
|
+
return _get_impl__d88w17(this).zs(decoder, klassName);
|
|
159
159
|
}
|
|
160
|
-
|
|
161
|
-
return _get_impl__d88w17(this).
|
|
160
|
+
i4f(encoder, value) {
|
|
161
|
+
return _get_impl__d88w17(this).bt(encoder, value);
|
|
162
162
|
}
|
|
163
|
-
|
|
164
|
-
return this.
|
|
163
|
+
bt(encoder, value) {
|
|
164
|
+
return this.i4f(encoder, value instanceof DateBased() ? value : THROW_CCE());
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
at() {
|
|
167
167
|
return getKClass(DateBased());
|
|
168
168
|
}
|
|
169
|
-
|
|
170
|
-
return _get_impl__d88w17(this).
|
|
169
|
+
ws() {
|
|
170
|
+
return _get_impl__d88w17(this).ws();
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
initMetadataForObject($, 'DateBasedDateTimeUnitSerializer');
|
|
@@ -178,7 +178,7 @@ function DateBasedDateTimeUnitSerializer() {
|
|
|
178
178
|
var DateBasedDateTimeUnitSerializer_instance;
|
|
179
179
|
function DateBasedDateTimeUnitSerializer_getInstance() {
|
|
180
180
|
if (DateBasedDateTimeUnitSerializer_instance === VOID)
|
|
181
|
-
DateBasedDateTimeUnitSerializer().
|
|
181
|
+
DateBasedDateTimeUnitSerializer().h4f();
|
|
182
182
|
return DateBasedDateTimeUnitSerializer_instance;
|
|
183
183
|
}
|
|
184
184
|
function DayBasedDateTimeUnitSerializer$descriptor$delegate$lambda() {
|
|
@@ -189,13 +189,13 @@ function DayBasedDateTimeUnitSerializer$descriptor$delegate$lambda$lambda($this$
|
|
|
189
189
|
var annotations = emptyList();
|
|
190
190
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
191
191
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
192
|
-
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().
|
|
193
|
-
var descriptor = (isInterface(this_0, KSerializer()) ? this_0 : THROW_CCE()).
|
|
194
|
-
$this$buildClassSerialDescriptor.
|
|
192
|
+
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().wf(), arrayOf([]), false));
|
|
193
|
+
var descriptor = (isInterface(this_0, KSerializer()) ? this_0 : THROW_CCE()).ws();
|
|
194
|
+
$this$buildClassSerialDescriptor.hw('days', descriptor, annotations, false);
|
|
195
195
|
return Unit_instance;
|
|
196
196
|
}
|
|
197
197
|
function DayBasedDateTimeUnitSerializer$_get_descriptor_$ref_2ycvl3() {
|
|
198
|
-
return (p0) => p0.
|
|
198
|
+
return (p0) => p0.ws();
|
|
199
199
|
}
|
|
200
200
|
var DayBasedDateTimeUnitSerializerClass;
|
|
201
201
|
function DayBasedDateTimeUnitSerializer() {
|
|
@@ -205,40 +205,40 @@ function DayBasedDateTimeUnitSerializer() {
|
|
|
205
205
|
DayBasedDateTimeUnitSerializer_instance = this;
|
|
206
206
|
var tmp = this;
|
|
207
207
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
208
|
-
tmp.
|
|
208
|
+
tmp.j4f_1 = lazy(tmp_0, DayBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
var tmp0 = this.
|
|
210
|
+
ws() {
|
|
211
|
+
var tmp0 = this.j4f_1;
|
|
212
212
|
var tmp = KProperty1();
|
|
213
213
|
// Inline function 'kotlin.getValue' call
|
|
214
214
|
getPropertyCallableRef('descriptor', 1, tmp, DayBasedDateTimeUnitSerializer$_get_descriptor_$ref_2ycvl3(), null);
|
|
215
215
|
return tmp0.g3();
|
|
216
216
|
}
|
|
217
|
-
|
|
217
|
+
k4f(encoder, value) {
|
|
218
218
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
219
|
-
var descriptor = this.
|
|
220
|
-
var composite = encoder.
|
|
221
|
-
composite.
|
|
222
|
-
composite.
|
|
219
|
+
var descriptor = this.ws();
|
|
220
|
+
var composite = encoder.lx(descriptor);
|
|
221
|
+
composite.vy(DayBasedDateTimeUnitSerializer_getInstance().ws(), 0, value.q40_1);
|
|
222
|
+
composite.mx(descriptor);
|
|
223
223
|
}
|
|
224
|
-
|
|
225
|
-
return this.
|
|
224
|
+
xs(encoder, value) {
|
|
225
|
+
return this.k4f(encoder, value instanceof DayBased() ? value : THROW_CCE());
|
|
226
226
|
}
|
|
227
|
-
|
|
227
|
+
ys(decoder) {
|
|
228
228
|
var seen = {_v: false};
|
|
229
229
|
var days = {_v: 0};
|
|
230
230
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
231
|
-
var descriptor = this.
|
|
232
|
-
var composite = decoder.
|
|
233
|
-
if (composite.
|
|
234
|
-
days._v = composite.
|
|
231
|
+
var descriptor = this.ws();
|
|
232
|
+
var composite = decoder.lx(descriptor);
|
|
233
|
+
if (composite.ay()) {
|
|
234
|
+
days._v = composite.qx(DayBasedDateTimeUnitSerializer_getInstance().ws(), 0);
|
|
235
235
|
seen._v = true;
|
|
236
236
|
} else {
|
|
237
237
|
loop: while (true) {
|
|
238
|
-
var elementIndex = composite.
|
|
238
|
+
var elementIndex = composite.by(DayBasedDateTimeUnitSerializer_getInstance().ws());
|
|
239
239
|
switch (elementIndex) {
|
|
240
240
|
case 0:
|
|
241
|
-
days._v = composite.
|
|
241
|
+
days._v = composite.qx(DayBasedDateTimeUnitSerializer_getInstance().ws(), 0);
|
|
242
242
|
seen._v = true;
|
|
243
243
|
break;
|
|
244
244
|
case -1:
|
|
@@ -250,9 +250,9 @@ function DayBasedDateTimeUnitSerializer() {
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
var result = Unit_instance;
|
|
253
|
-
composite.
|
|
253
|
+
composite.mx(descriptor);
|
|
254
254
|
if (!seen._v)
|
|
255
|
-
throw MissingFieldException().
|
|
255
|
+
throw MissingFieldException().ev('days', this.ws().zt());
|
|
256
256
|
return new (DayBased())(days._v);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
@@ -275,13 +275,13 @@ function MonthBasedDateTimeUnitSerializer$descriptor$delegate$lambda$lambda($thi
|
|
|
275
275
|
var annotations = emptyList();
|
|
276
276
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
277
277
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
278
|
-
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().
|
|
279
|
-
var descriptor = (isInterface(this_0, KSerializer()) ? this_0 : THROW_CCE()).
|
|
280
|
-
$this$buildClassSerialDescriptor.
|
|
278
|
+
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().wf(), arrayOf([]), false));
|
|
279
|
+
var descriptor = (isInterface(this_0, KSerializer()) ? this_0 : THROW_CCE()).ws();
|
|
280
|
+
$this$buildClassSerialDescriptor.hw('months', descriptor, annotations, false);
|
|
281
281
|
return Unit_instance;
|
|
282
282
|
}
|
|
283
283
|
function MonthBasedDateTimeUnitSerializer$_get_descriptor_$ref_vroatn() {
|
|
284
|
-
return (p0) => p0.
|
|
284
|
+
return (p0) => p0.ws();
|
|
285
285
|
}
|
|
286
286
|
var MonthBasedDateTimeUnitSerializerClass;
|
|
287
287
|
function MonthBasedDateTimeUnitSerializer() {
|
|
@@ -291,40 +291,40 @@ function MonthBasedDateTimeUnitSerializer() {
|
|
|
291
291
|
MonthBasedDateTimeUnitSerializer_instance = this;
|
|
292
292
|
var tmp = this;
|
|
293
293
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
294
|
-
tmp.
|
|
294
|
+
tmp.l4f_1 = lazy(tmp_0, MonthBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
var tmp0 = this.
|
|
296
|
+
ws() {
|
|
297
|
+
var tmp0 = this.l4f_1;
|
|
298
298
|
var tmp = KProperty1();
|
|
299
299
|
// Inline function 'kotlin.getValue' call
|
|
300
300
|
getPropertyCallableRef('descriptor', 1, tmp, MonthBasedDateTimeUnitSerializer$_get_descriptor_$ref_vroatn(), null);
|
|
301
301
|
return tmp0.g3();
|
|
302
302
|
}
|
|
303
|
-
|
|
303
|
+
m4f(encoder, value) {
|
|
304
304
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
305
|
-
var descriptor = this.
|
|
306
|
-
var composite = encoder.
|
|
307
|
-
composite.
|
|
308
|
-
composite.
|
|
305
|
+
var descriptor = this.ws();
|
|
306
|
+
var composite = encoder.lx(descriptor);
|
|
307
|
+
composite.vy(MonthBasedDateTimeUnitSerializer_getInstance().ws(), 0, value.r40_1);
|
|
308
|
+
composite.mx(descriptor);
|
|
309
309
|
}
|
|
310
|
-
|
|
311
|
-
return this.
|
|
310
|
+
xs(encoder, value) {
|
|
311
|
+
return this.m4f(encoder, value instanceof MonthBased() ? value : THROW_CCE());
|
|
312
312
|
}
|
|
313
|
-
|
|
313
|
+
ys(decoder) {
|
|
314
314
|
var seen = {_v: false};
|
|
315
315
|
var months = {_v: 0};
|
|
316
316
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
317
|
-
var descriptor = this.
|
|
318
|
-
var composite = decoder.
|
|
319
|
-
if (composite.
|
|
320
|
-
months._v = composite.
|
|
317
|
+
var descriptor = this.ws();
|
|
318
|
+
var composite = decoder.lx(descriptor);
|
|
319
|
+
if (composite.ay()) {
|
|
320
|
+
months._v = composite.qx(MonthBasedDateTimeUnitSerializer_getInstance().ws(), 0);
|
|
321
321
|
seen._v = true;
|
|
322
322
|
} else {
|
|
323
323
|
loop: while (true) {
|
|
324
|
-
var elementIndex = composite.
|
|
324
|
+
var elementIndex = composite.by(MonthBasedDateTimeUnitSerializer_getInstance().ws());
|
|
325
325
|
switch (elementIndex) {
|
|
326
326
|
case 0:
|
|
327
|
-
months._v = composite.
|
|
327
|
+
months._v = composite.qx(MonthBasedDateTimeUnitSerializer_getInstance().ws(), 0);
|
|
328
328
|
seen._v = true;
|
|
329
329
|
break;
|
|
330
330
|
case -1:
|
|
@@ -336,9 +336,9 @@ function MonthBasedDateTimeUnitSerializer() {
|
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
var result = Unit_instance;
|
|
339
|
-
composite.
|
|
339
|
+
composite.mx(descriptor);
|
|
340
340
|
if (!seen._v)
|
|
341
|
-
throw MissingFieldException().
|
|
341
|
+
throw MissingFieldException().ev('months', this.ws().zt());
|
|
342
342
|
return new (MonthBased())(months._v);
|
|
343
343
|
}
|
|
344
344
|
}
|
|
@@ -354,7 +354,7 @@ function MonthBasedDateTimeUnitSerializer_getInstance() {
|
|
|
354
354
|
return MonthBasedDateTimeUnitSerializer_instance;
|
|
355
355
|
}
|
|
356
356
|
function _get_impl__d88w17_0($this) {
|
|
357
|
-
var tmp0 = $this.
|
|
357
|
+
var tmp0 = $this.n4f_1;
|
|
358
358
|
var tmp = KProperty1();
|
|
359
359
|
// Inline function 'kotlin.getValue' call
|
|
360
360
|
getPropertyCallableRef('impl', 1, tmp, DateTimeUnitSerializer$_get_impl_$ref_2y1hvx(), null);
|
|
@@ -370,7 +370,7 @@ function DateTimeUnitSerializer$impl$delegate$lambda() {
|
|
|
370
370
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
371
371
|
// Inline function 'kotlin.js.asDynamic' call
|
|
372
372
|
var tmp$ret$5 = [DayBasedDateTimeUnitSerializer_getInstance(), MonthBasedDateTimeUnitSerializer_getInstance(), TimeBasedDateTimeUnitSerializer_getInstance()];
|
|
373
|
-
return SealedClassSerializer().
|
|
373
|
+
return SealedClassSerializer().bu('kotlinx.datetime.DateTimeUnit', tmp, tmp_0, tmp$ret$5);
|
|
374
374
|
}
|
|
375
375
|
function DateTimeUnitSerializer$_get_impl_$ref_2y1hvx() {
|
|
376
376
|
return (p0) => _get_impl__d88w17_0(p0);
|
|
@@ -379,29 +379,29 @@ var DateTimeUnitSerializerClass;
|
|
|
379
379
|
function DateTimeUnitSerializer() {
|
|
380
380
|
if (DateTimeUnitSerializerClass === VOID) {
|
|
381
381
|
class $ extends AbstractPolymorphicSerializer() {
|
|
382
|
-
static
|
|
382
|
+
static o4f() {
|
|
383
383
|
DateTimeUnitSerializer_instance = null;
|
|
384
|
-
var $this = this.
|
|
384
|
+
var $this = this.pt();
|
|
385
385
|
DateTimeUnitSerializer_instance = $this;
|
|
386
386
|
var tmp = $this;
|
|
387
387
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
388
|
-
tmp.
|
|
388
|
+
tmp.n4f_1 = lazy(tmp_0, DateTimeUnitSerializer$impl$delegate$lambda);
|
|
389
389
|
return $this;
|
|
390
390
|
}
|
|
391
|
-
|
|
392
|
-
return _get_impl__d88w17_0(this).
|
|
391
|
+
zs(decoder, klassName) {
|
|
392
|
+
return _get_impl__d88w17_0(this).zs(decoder, klassName);
|
|
393
393
|
}
|
|
394
|
-
|
|
395
|
-
return _get_impl__d88w17_0(this).
|
|
394
|
+
p4f(encoder, value) {
|
|
395
|
+
return _get_impl__d88w17_0(this).bt(encoder, value);
|
|
396
396
|
}
|
|
397
|
-
|
|
398
|
-
return this.
|
|
397
|
+
bt(encoder, value) {
|
|
398
|
+
return this.p4f(encoder, value instanceof DateTimeUnit() ? value : THROW_CCE());
|
|
399
399
|
}
|
|
400
|
-
|
|
400
|
+
at() {
|
|
401
401
|
return getKClass(DateTimeUnit());
|
|
402
402
|
}
|
|
403
|
-
|
|
404
|
-
return _get_impl__d88w17_0(this).
|
|
403
|
+
ws() {
|
|
404
|
+
return _get_impl__d88w17_0(this).ws();
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
initMetadataForObject($, 'DateTimeUnitSerializer');
|
|
@@ -412,11 +412,11 @@ function DateTimeUnitSerializer() {
|
|
|
412
412
|
var DateTimeUnitSerializer_instance;
|
|
413
413
|
function DateTimeUnitSerializer_getInstance() {
|
|
414
414
|
if (DateTimeUnitSerializer_instance === VOID)
|
|
415
|
-
DateTimeUnitSerializer().
|
|
415
|
+
DateTimeUnitSerializer().o4f();
|
|
416
416
|
return DateTimeUnitSerializer_instance;
|
|
417
417
|
}
|
|
418
418
|
function throwUnknownIndexException(index) {
|
|
419
|
-
throw SerializationException().
|
|
419
|
+
throw SerializationException().ru('An unknown field for index ' + index);
|
|
420
420
|
}
|
|
421
421
|
//region block: exports
|
|
422
422
|
export {
|
|
@@ -18,19 +18,19 @@ function LocalDateSerializer() {
|
|
|
18
18
|
class $ {
|
|
19
19
|
constructor() {
|
|
20
20
|
LocalDateSerializer_instance = this;
|
|
21
|
-
this.
|
|
21
|
+
this.q4f_1 = PrimitiveSerialDescriptor('kotlinx.datetime.LocalDate', STRING_getInstance());
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
return this.
|
|
23
|
+
ws() {
|
|
24
|
+
return this.q4f_1;
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
return Companion_getInstance().
|
|
26
|
+
ys(decoder) {
|
|
27
|
+
return Companion_getInstance().v4f(decoder.gx());
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
encoder.
|
|
29
|
+
w4f(encoder, value) {
|
|
30
|
+
encoder.py(value.toString());
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
return this.
|
|
32
|
+
xs(encoder, value) {
|
|
33
|
+
return this.w4f(encoder, value instanceof LocalDate() ? value : THROW_CCE());
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
initMetadataForObject($, 'LocalDateSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -18,19 +18,19 @@ function LocalDateTimeSerializer() {
|
|
|
18
18
|
class $ {
|
|
19
19
|
constructor() {
|
|
20
20
|
LocalDateTimeSerializer_instance = this;
|
|
21
|
-
this.
|
|
21
|
+
this.x4f_1 = PrimitiveSerialDescriptor('kotlinx.datetime.LocalDateTime', STRING_getInstance());
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
return this.
|
|
23
|
+
ws() {
|
|
24
|
+
return this.x4f_1;
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
return Companion_getInstance().
|
|
26
|
+
ys(decoder) {
|
|
27
|
+
return Companion_getInstance().a4g(decoder.gx());
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
encoder.
|
|
29
|
+
b4g(encoder, value) {
|
|
30
|
+
encoder.py(value.toString());
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
return this.
|
|
32
|
+
xs(encoder, value) {
|
|
33
|
+
return this.b4g(encoder, value instanceof LocalDateTime() ? value : THROW_CCE());
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
initMetadataForObject($, 'LocalDateTimeSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -18,19 +18,19 @@ function LocalTimeSerializer() {
|
|
|
18
18
|
class $ {
|
|
19
19
|
constructor() {
|
|
20
20
|
LocalTimeSerializer_instance = this;
|
|
21
|
-
this.
|
|
21
|
+
this.c4g_1 = PrimitiveSerialDescriptor('kotlinx.datetime.LocalTime', STRING_getInstance());
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
return this.
|
|
23
|
+
ws() {
|
|
24
|
+
return this.c4g_1;
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
return Companion_getInstance().
|
|
26
|
+
ys(decoder) {
|
|
27
|
+
return Companion_getInstance().f4g(decoder.gx());
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
encoder.
|
|
29
|
+
g4g(encoder, value) {
|
|
30
|
+
encoder.py(value.toString());
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
return this.
|
|
32
|
+
xs(encoder, value) {
|
|
33
|
+
return this.g4g(encoder, value instanceof LocalTime() ? value : THROW_CCE());
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
initMetadataForObject($, 'LocalTimeSerializer', VOID, VOID, [KSerializer()]);
|