@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
|
@@ -41,13 +41,13 @@ var imul = Math.imul;
|
|
|
41
41
|
//region block: pre-declaration
|
|
42
42
|
//endregion
|
|
43
43
|
function AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j() {
|
|
44
|
-
return Companion_getInstance().
|
|
44
|
+
return Companion_getInstance().y1g();
|
|
45
45
|
}
|
|
46
46
|
function AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j_0() {
|
|
47
47
|
return createSimpleEnumSerializer('cash.atto.commons.AttoBlockType', values());
|
|
48
48
|
}
|
|
49
49
|
function AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j_1() {
|
|
50
|
-
return Companion_getInstance().
|
|
50
|
+
return Companion_getInstance().y1g();
|
|
51
51
|
}
|
|
52
52
|
var CompanionClass;
|
|
53
53
|
function Companion() {
|
|
@@ -64,7 +64,7 @@ function Companion() {
|
|
|
64
64
|
// Inline function 'kotlin.arrayOf' call
|
|
65
65
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
66
66
|
// Inline function 'kotlin.js.asDynamic' call
|
|
67
|
-
tmp.
|
|
67
|
+
tmp.e4l_1 = [null, tmp_1, null, null, tmp_3, lazy(tmp_4, AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j_1), null, null, null, null, null, null];
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
initMetadataForCompanion($);
|
|
@@ -85,47 +85,47 @@ function $serializer() {
|
|
|
85
85
|
constructor() {
|
|
86
86
|
$serializer_instance = this;
|
|
87
87
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.AttoAccountEntry', this, 12);
|
|
88
|
-
tmp0_serialDesc.
|
|
89
|
-
tmp0_serialDesc.
|
|
90
|
-
tmp0_serialDesc.
|
|
91
|
-
tmp0_serialDesc.
|
|
92
|
-
tmp0_serialDesc.
|
|
93
|
-
tmp0_serialDesc.
|
|
94
|
-
tmp0_serialDesc.
|
|
95
|
-
tmp0_serialDesc.
|
|
96
|
-
tmp0_serialDesc.
|
|
97
|
-
tmp0_serialDesc.
|
|
98
|
-
tmp0_serialDesc.
|
|
99
|
-
tmp0_serialDesc.
|
|
100
|
-
this.
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
var tmp0_desc = this.
|
|
104
|
-
var tmp1_output = encoder.
|
|
105
|
-
var tmp2_cached = Companion_getInstance_0().
|
|
106
|
-
tmp1_output.
|
|
107
|
-
tmp1_output.
|
|
108
|
-
tmp1_output.
|
|
109
|
-
tmp1_output.
|
|
110
|
-
tmp1_output.
|
|
111
|
-
tmp1_output.
|
|
112
|
-
tmp1_output.
|
|
113
|
-
tmp1_output.
|
|
114
|
-
tmp1_output.
|
|
115
|
-
tmp1_output.
|
|
116
|
-
if (tmp1_output.
|
|
117
|
-
tmp1_output.
|
|
88
|
+
tmp0_serialDesc.z14('hash', false);
|
|
89
|
+
tmp0_serialDesc.z14('algorithm', false);
|
|
90
|
+
tmp0_serialDesc.z14('publicKey', false);
|
|
91
|
+
tmp0_serialDesc.z14('height', false);
|
|
92
|
+
tmp0_serialDesc.z14('blockType', false);
|
|
93
|
+
tmp0_serialDesc.z14('subjectAlgorithm', false);
|
|
94
|
+
tmp0_serialDesc.z14('subjectPublicKey', false);
|
|
95
|
+
tmp0_serialDesc.z14('previousBalance', false);
|
|
96
|
+
tmp0_serialDesc.z14('balance', false);
|
|
97
|
+
tmp0_serialDesc.z14('timestamp', false);
|
|
98
|
+
tmp0_serialDesc.z14('address', true);
|
|
99
|
+
tmp0_serialDesc.z14('subjectAddress', true);
|
|
100
|
+
this.f4l_1 = tmp0_serialDesc;
|
|
101
|
+
}
|
|
102
|
+
g4l(encoder, value) {
|
|
103
|
+
var tmp0_desc = this.f4l_1;
|
|
104
|
+
var tmp1_output = encoder.lx(tmp0_desc);
|
|
105
|
+
var tmp2_cached = Companion_getInstance_0().e4l_1;
|
|
106
|
+
tmp1_output.cz(tmp0_desc, 0, AttoHashAsStringSerializer_getInstance(), value.hash);
|
|
107
|
+
tmp1_output.cz(tmp0_desc, 1, tmp2_cached[1].g3(), value.algorithm);
|
|
108
|
+
tmp1_output.cz(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), value.publicKey);
|
|
109
|
+
tmp1_output.cz(tmp0_desc, 3, AttoHeightSerializer_getInstance(), value.h4l_1);
|
|
110
|
+
tmp1_output.cz(tmp0_desc, 4, tmp2_cached[4].g3(), value.blockType);
|
|
111
|
+
tmp1_output.cz(tmp0_desc, 5, tmp2_cached[5].g3(), value.subjectAlgorithm);
|
|
112
|
+
tmp1_output.cz(tmp0_desc, 6, AttoPublicKeyAsStringSerializer_getInstance(), value.subjectPublicKey);
|
|
113
|
+
tmp1_output.cz(tmp0_desc, 7, AttoAmountAsULongSerializer_getInstance(), value.previousBalance);
|
|
114
|
+
tmp1_output.cz(tmp0_desc, 8, AttoAmountAsULongSerializer_getInstance(), value.balance);
|
|
115
|
+
tmp1_output.cz(tmp0_desc, 9, AttoInstantAsLongSerializer_getInstance(), value.timestamp);
|
|
116
|
+
if (tmp1_output.gz(tmp0_desc, 10) ? true : !value.i4l_1.equals(new (AttoAddress())(value.algorithm, value.publicKey))) {
|
|
117
|
+
tmp1_output.cz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.i4l_1);
|
|
118
118
|
}
|
|
119
|
-
if (tmp1_output.
|
|
120
|
-
tmp1_output.
|
|
119
|
+
if (tmp1_output.gz(tmp0_desc, 11) ? true : !value.subjectAddress.equals(new (AttoAddress())(value.subjectAlgorithm, value.subjectPublicKey))) {
|
|
120
|
+
tmp1_output.cz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.subjectAddress);
|
|
121
121
|
}
|
|
122
|
-
tmp1_output.
|
|
122
|
+
tmp1_output.mx(tmp0_desc);
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
return this.
|
|
124
|
+
xs(encoder, value) {
|
|
125
|
+
return this.g4l(encoder, value instanceof AttoAccountEntry() ? value : THROW_CCE());
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
var tmp0_desc = this.
|
|
127
|
+
ys(decoder) {
|
|
128
|
+
var tmp0_desc = this.f4l_1;
|
|
129
129
|
var tmp1_flag = true;
|
|
130
130
|
var tmp2_index = 0;
|
|
131
131
|
var tmp3_bitMask0 = 0;
|
|
@@ -141,107 +141,107 @@ function $serializer() {
|
|
|
141
141
|
var tmp13_local9 = null;
|
|
142
142
|
var tmp14_local10 = null;
|
|
143
143
|
var tmp15_local11 = null;
|
|
144
|
-
var tmp16_input = decoder.
|
|
145
|
-
var tmp17_cached = Companion_getInstance_0().
|
|
146
|
-
if (tmp16_input.
|
|
147
|
-
tmp4_local0 = tmp16_input.
|
|
144
|
+
var tmp16_input = decoder.lx(tmp0_desc);
|
|
145
|
+
var tmp17_cached = Companion_getInstance_0().e4l_1;
|
|
146
|
+
if (tmp16_input.ay()) {
|
|
147
|
+
tmp4_local0 = tmp16_input.xx(tmp0_desc, 0, AttoHashAsStringSerializer_getInstance(), tmp4_local0);
|
|
148
148
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
149
|
-
tmp5_local1 = tmp16_input.
|
|
149
|
+
tmp5_local1 = tmp16_input.xx(tmp0_desc, 1, tmp17_cached[1].g3(), tmp5_local1);
|
|
150
150
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
151
|
-
tmp6_local2 = tmp16_input.
|
|
151
|
+
tmp6_local2 = tmp16_input.xx(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
|
|
152
152
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
153
|
-
tmp7_local3 = tmp16_input.
|
|
153
|
+
tmp7_local3 = tmp16_input.xx(tmp0_desc, 3, AttoHeightSerializer_getInstance(), tmp7_local3);
|
|
154
154
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
155
|
-
tmp8_local4 = tmp16_input.
|
|
155
|
+
tmp8_local4 = tmp16_input.xx(tmp0_desc, 4, tmp17_cached[4].g3(), tmp8_local4);
|
|
156
156
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
157
|
-
tmp9_local5 = tmp16_input.
|
|
157
|
+
tmp9_local5 = tmp16_input.xx(tmp0_desc, 5, tmp17_cached[5].g3(), tmp9_local5);
|
|
158
158
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
159
|
-
tmp10_local6 = tmp16_input.
|
|
159
|
+
tmp10_local6 = tmp16_input.xx(tmp0_desc, 6, AttoPublicKeyAsStringSerializer_getInstance(), tmp10_local6);
|
|
160
160
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
161
|
-
tmp11_local7 = tmp16_input.
|
|
161
|
+
tmp11_local7 = tmp16_input.xx(tmp0_desc, 7, AttoAmountAsULongSerializer_getInstance(), tmp11_local7);
|
|
162
162
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
163
|
-
tmp12_local8 = tmp16_input.
|
|
163
|
+
tmp12_local8 = tmp16_input.xx(tmp0_desc, 8, AttoAmountAsULongSerializer_getInstance(), tmp12_local8);
|
|
164
164
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
165
|
-
tmp13_local9 = tmp16_input.
|
|
165
|
+
tmp13_local9 = tmp16_input.xx(tmp0_desc, 9, AttoInstantAsLongSerializer_getInstance(), tmp13_local9);
|
|
166
166
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
167
|
-
tmp14_local10 = tmp16_input.
|
|
167
|
+
tmp14_local10 = tmp16_input.xx(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
168
168
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
169
|
-
tmp15_local11 = tmp16_input.
|
|
169
|
+
tmp15_local11 = tmp16_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
170
170
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
171
171
|
} else
|
|
172
172
|
while (tmp1_flag) {
|
|
173
|
-
tmp2_index = tmp16_input.
|
|
173
|
+
tmp2_index = tmp16_input.by(tmp0_desc);
|
|
174
174
|
switch (tmp2_index) {
|
|
175
175
|
case -1:
|
|
176
176
|
tmp1_flag = false;
|
|
177
177
|
break;
|
|
178
178
|
case 0:
|
|
179
|
-
tmp4_local0 = tmp16_input.
|
|
179
|
+
tmp4_local0 = tmp16_input.xx(tmp0_desc, 0, AttoHashAsStringSerializer_getInstance(), tmp4_local0);
|
|
180
180
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
181
181
|
break;
|
|
182
182
|
case 1:
|
|
183
|
-
tmp5_local1 = tmp16_input.
|
|
183
|
+
tmp5_local1 = tmp16_input.xx(tmp0_desc, 1, tmp17_cached[1].g3(), tmp5_local1);
|
|
184
184
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
185
185
|
break;
|
|
186
186
|
case 2:
|
|
187
|
-
tmp6_local2 = tmp16_input.
|
|
187
|
+
tmp6_local2 = tmp16_input.xx(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
|
|
188
188
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
189
189
|
break;
|
|
190
190
|
case 3:
|
|
191
|
-
tmp7_local3 = tmp16_input.
|
|
191
|
+
tmp7_local3 = tmp16_input.xx(tmp0_desc, 3, AttoHeightSerializer_getInstance(), tmp7_local3);
|
|
192
192
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
193
193
|
break;
|
|
194
194
|
case 4:
|
|
195
|
-
tmp8_local4 = tmp16_input.
|
|
195
|
+
tmp8_local4 = tmp16_input.xx(tmp0_desc, 4, tmp17_cached[4].g3(), tmp8_local4);
|
|
196
196
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
197
197
|
break;
|
|
198
198
|
case 5:
|
|
199
|
-
tmp9_local5 = tmp16_input.
|
|
199
|
+
tmp9_local5 = tmp16_input.xx(tmp0_desc, 5, tmp17_cached[5].g3(), tmp9_local5);
|
|
200
200
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
201
201
|
break;
|
|
202
202
|
case 6:
|
|
203
|
-
tmp10_local6 = tmp16_input.
|
|
203
|
+
tmp10_local6 = tmp16_input.xx(tmp0_desc, 6, AttoPublicKeyAsStringSerializer_getInstance(), tmp10_local6);
|
|
204
204
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
205
205
|
break;
|
|
206
206
|
case 7:
|
|
207
|
-
tmp11_local7 = tmp16_input.
|
|
207
|
+
tmp11_local7 = tmp16_input.xx(tmp0_desc, 7, AttoAmountAsULongSerializer_getInstance(), tmp11_local7);
|
|
208
208
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
209
209
|
break;
|
|
210
210
|
case 8:
|
|
211
|
-
tmp12_local8 = tmp16_input.
|
|
211
|
+
tmp12_local8 = tmp16_input.xx(tmp0_desc, 8, AttoAmountAsULongSerializer_getInstance(), tmp12_local8);
|
|
212
212
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
213
213
|
break;
|
|
214
214
|
case 9:
|
|
215
|
-
tmp13_local9 = tmp16_input.
|
|
215
|
+
tmp13_local9 = tmp16_input.xx(tmp0_desc, 9, AttoInstantAsLongSerializer_getInstance(), tmp13_local9);
|
|
216
216
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
217
217
|
break;
|
|
218
218
|
case 10:
|
|
219
|
-
tmp14_local10 = tmp16_input.
|
|
219
|
+
tmp14_local10 = tmp16_input.xx(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
220
220
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
221
221
|
break;
|
|
222
222
|
case 11:
|
|
223
|
-
tmp15_local11 = tmp16_input.
|
|
223
|
+
tmp15_local11 = tmp16_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
224
224
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
225
225
|
break;
|
|
226
226
|
default:
|
|
227
|
-
throw UnknownFieldException().
|
|
227
|
+
throw UnknownFieldException().su(tmp2_index);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
tmp16_input.
|
|
231
|
-
return AttoAccountEntry().
|
|
230
|
+
tmp16_input.mx(tmp0_desc);
|
|
231
|
+
return AttoAccountEntry().j4l(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, null);
|
|
232
232
|
}
|
|
233
|
-
|
|
234
|
-
return this.
|
|
233
|
+
ws() {
|
|
234
|
+
return this.f4l_1;
|
|
235
235
|
}
|
|
236
|
-
|
|
237
|
-
var tmp0_cached = Companion_getInstance_0().
|
|
236
|
+
o15() {
|
|
237
|
+
var tmp0_cached = Companion_getInstance_0().e4l_1;
|
|
238
238
|
// Inline function 'kotlin.arrayOf' call
|
|
239
239
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
240
240
|
// Inline function 'kotlin.js.asDynamic' call
|
|
241
241
|
return [AttoHashAsStringSerializer_getInstance(), tmp0_cached[1].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), tmp0_cached[4].g3(), tmp0_cached[5].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
protoOf($).
|
|
244
|
+
protoOf($).p15 = typeParametersSerializers;
|
|
245
245
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
246
246
|
$serializerClass = $;
|
|
247
247
|
}
|
|
@@ -262,106 +262,106 @@ function AttoAccountEntry() {
|
|
|
262
262
|
this.hash = hash;
|
|
263
263
|
this.algorithm = algorithm;
|
|
264
264
|
this.publicKey = publicKey;
|
|
265
|
-
this.
|
|
265
|
+
this.h4l_1 = height;
|
|
266
266
|
this.blockType = blockType;
|
|
267
267
|
this.subjectAlgorithm = subjectAlgorithm;
|
|
268
268
|
this.subjectPublicKey = subjectPublicKey;
|
|
269
269
|
this.previousBalance = previousBalance;
|
|
270
270
|
this.balance = balance;
|
|
271
271
|
this.timestamp = timestamp;
|
|
272
|
-
this.
|
|
272
|
+
this.i4l_1 = new (AttoAddress())(this.algorithm, this.publicKey);
|
|
273
273
|
this.subjectAddress = new (AttoAddress())(this.subjectAlgorithm, this.subjectPublicKey);
|
|
274
274
|
}
|
|
275
|
-
|
|
275
|
+
k4l() {
|
|
276
276
|
return this.hash;
|
|
277
277
|
}
|
|
278
|
-
|
|
278
|
+
f4k() {
|
|
279
279
|
return this.algorithm;
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
d4k() {
|
|
282
282
|
return this.publicKey;
|
|
283
283
|
}
|
|
284
|
-
|
|
285
|
-
return this.
|
|
284
|
+
g4k() {
|
|
285
|
+
return this.h4l_1;
|
|
286
286
|
}
|
|
287
|
-
|
|
287
|
+
l4l() {
|
|
288
288
|
return this.blockType;
|
|
289
289
|
}
|
|
290
|
-
|
|
290
|
+
m4l() {
|
|
291
291
|
return this.subjectAlgorithm;
|
|
292
292
|
}
|
|
293
|
-
|
|
293
|
+
n4l() {
|
|
294
294
|
return this.subjectPublicKey;
|
|
295
295
|
}
|
|
296
|
-
|
|
296
|
+
o4l() {
|
|
297
297
|
return this.previousBalance;
|
|
298
298
|
}
|
|
299
|
-
|
|
299
|
+
h4k() {
|
|
300
300
|
return this.balance;
|
|
301
301
|
}
|
|
302
|
-
|
|
302
|
+
p4l() {
|
|
303
303
|
return this.timestamp;
|
|
304
304
|
}
|
|
305
|
-
|
|
306
|
-
return this.
|
|
305
|
+
m4k() {
|
|
306
|
+
return this.i4l_1;
|
|
307
307
|
}
|
|
308
|
-
|
|
308
|
+
q4l() {
|
|
309
309
|
return this.subjectAddress;
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
ye() {
|
|
312
312
|
return this.hash;
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
ze() {
|
|
315
315
|
return this.algorithm;
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
v4k() {
|
|
318
318
|
return this.publicKey;
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
return this.
|
|
320
|
+
w4k() {
|
|
321
|
+
return this.h4l_1;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
x4k() {
|
|
324
324
|
return this.blockType;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
y4k() {
|
|
327
327
|
return this.subjectAlgorithm;
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
z4k() {
|
|
330
330
|
return this.subjectPublicKey;
|
|
331
331
|
}
|
|
332
|
-
|
|
332
|
+
a4l() {
|
|
333
333
|
return this.previousBalance;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
b4l() {
|
|
336
336
|
return this.balance;
|
|
337
337
|
}
|
|
338
|
-
|
|
338
|
+
c4l() {
|
|
339
339
|
return this.timestamp;
|
|
340
340
|
}
|
|
341
|
-
|
|
341
|
+
r4l(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp) {
|
|
342
342
|
return new (AttoAccountEntry())(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp);
|
|
343
343
|
}
|
|
344
344
|
copy(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp, $super) {
|
|
345
345
|
hash = hash === VOID ? this.hash : hash;
|
|
346
346
|
algorithm = algorithm === VOID ? this.algorithm : algorithm;
|
|
347
347
|
publicKey = publicKey === VOID ? this.publicKey : publicKey;
|
|
348
|
-
height = height === VOID ? this.
|
|
348
|
+
height = height === VOID ? this.h4l_1 : height;
|
|
349
349
|
blockType = blockType === VOID ? this.blockType : blockType;
|
|
350
350
|
subjectAlgorithm = subjectAlgorithm === VOID ? this.subjectAlgorithm : subjectAlgorithm;
|
|
351
351
|
subjectPublicKey = subjectPublicKey === VOID ? this.subjectPublicKey : subjectPublicKey;
|
|
352
352
|
previousBalance = previousBalance === VOID ? this.previousBalance : previousBalance;
|
|
353
353
|
balance = balance === VOID ? this.balance : balance;
|
|
354
354
|
timestamp = timestamp === VOID ? this.timestamp : timestamp;
|
|
355
|
-
return $super === VOID ? this.
|
|
355
|
+
return $super === VOID ? this.r4l(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp) : $super.r4l.call(this, hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp);
|
|
356
356
|
}
|
|
357
357
|
toString() {
|
|
358
|
-
return 'AttoAccountEntry(hash=' + this.hash.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', height=' + this.
|
|
358
|
+
return 'AttoAccountEntry(hash=' + this.hash.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', height=' + this.h4l_1.toString() + ', blockType=' + this.blockType.toString() + ', subjectAlgorithm=' + this.subjectAlgorithm.toString() + ', subjectPublicKey=' + this.subjectPublicKey.toString() + ', previousBalance=' + this.previousBalance.toString() + ', balance=' + this.balance.toString() + ', timestamp=' + this.timestamp.toString() + ')';
|
|
359
359
|
}
|
|
360
360
|
hashCode() {
|
|
361
361
|
var result = this.hash.hashCode();
|
|
362
362
|
result = imul(result, 31) + this.algorithm.hashCode() | 0;
|
|
363
363
|
result = imul(result, 31) + this.publicKey.hashCode() | 0;
|
|
364
|
-
result = imul(result, 31) + this.
|
|
364
|
+
result = imul(result, 31) + this.h4l_1.hashCode() | 0;
|
|
365
365
|
result = imul(result, 31) + this.blockType.hashCode() | 0;
|
|
366
366
|
result = imul(result, 31) + this.subjectAlgorithm.hashCode() | 0;
|
|
367
367
|
result = imul(result, 31) + this.subjectPublicKey.hashCode() | 0;
|
|
@@ -381,7 +381,7 @@ function AttoAccountEntry() {
|
|
|
381
381
|
return false;
|
|
382
382
|
if (!this.publicKey.equals(other.publicKey))
|
|
383
383
|
return false;
|
|
384
|
-
if (!this.
|
|
384
|
+
if (!this.h4l_1.equals(other.h4l_1))
|
|
385
385
|
return false;
|
|
386
386
|
if (!this.blockType.equals(other.blockType))
|
|
387
387
|
return false;
|
|
@@ -397,16 +397,16 @@ function AttoAccountEntry() {
|
|
|
397
397
|
return false;
|
|
398
398
|
return true;
|
|
399
399
|
}
|
|
400
|
-
static
|
|
400
|
+
static j4l(seen0, hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp, address, subjectAddress, serializationConstructorMarker) {
|
|
401
401
|
Companion_getInstance_0();
|
|
402
402
|
if (!(1023 === (1023 & seen0))) {
|
|
403
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance().
|
|
403
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance().f4l_1);
|
|
404
404
|
}
|
|
405
405
|
var $this = createThis(this);
|
|
406
406
|
$this.hash = hash;
|
|
407
407
|
$this.algorithm = algorithm;
|
|
408
408
|
$this.publicKey = publicKey;
|
|
409
|
-
$this.
|
|
409
|
+
$this.h4l_1 = height;
|
|
410
410
|
$this.blockType = blockType;
|
|
411
411
|
$this.subjectAlgorithm = subjectAlgorithm;
|
|
412
412
|
$this.subjectPublicKey = subjectPublicKey;
|
|
@@ -414,9 +414,9 @@ function AttoAccountEntry() {
|
|
|
414
414
|
$this.balance = balance;
|
|
415
415
|
$this.timestamp = timestamp;
|
|
416
416
|
if (0 === (seen0 & 1024))
|
|
417
|
-
$this.
|
|
417
|
+
$this.i4l_1 = new (AttoAddress())($this.algorithm, $this.publicKey);
|
|
418
418
|
else
|
|
419
|
-
$this.
|
|
419
|
+
$this.i4l_1 = address;
|
|
420
420
|
if (0 === (seen0 & 2048))
|
|
421
421
|
$this.subjectAddress = new (AttoAddress())($this.subjectAlgorithm, $this.subjectPublicKey);
|
|
422
422
|
else
|
|
@@ -424,10 +424,10 @@ function AttoAccountEntry() {
|
|
|
424
424
|
return $this;
|
|
425
425
|
}
|
|
426
426
|
get height() {
|
|
427
|
-
return this.
|
|
427
|
+
return this.g4k();
|
|
428
428
|
}
|
|
429
429
|
get address() {
|
|
430
|
-
return this.
|
|
430
|
+
return this.m4k();
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
initMetadataForClass($, 'AttoAccountEntry', VOID, VOID, [HeightSupport(), AddressSupport()], VOID, VOID, {0: $serializer_getInstance});
|
|
@@ -38,7 +38,7 @@ var imul = Math.imul;
|
|
|
38
38
|
//region block: pre-declaration
|
|
39
39
|
//endregion
|
|
40
40
|
function checksum($this, algorithm, publicKey) {
|
|
41
|
-
return AttoHasher_instance.
|
|
41
|
+
return AttoHasher_instance.s4l(5, [algorithm, publicKey]);
|
|
42
42
|
}
|
|
43
43
|
function checksum_0($this, algorithm, publicKey) {
|
|
44
44
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -53,7 +53,7 @@ function toAlgorithmPublicKey($this, decoded) {
|
|
|
53
53
|
// Inline function 'kotlin.toUByte' call
|
|
54
54
|
var this_0 = decoded[0];
|
|
55
55
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
|
|
56
|
-
var algorithm = tmp.
|
|
56
|
+
var algorithm = tmp.v4l(tmp$ret$0);
|
|
57
57
|
var publicKey = new (AttoPublicKey())(sliceArray(decoded, until(1, 33)));
|
|
58
58
|
return to(algorithm, publicKey);
|
|
59
59
|
}
|
|
@@ -69,17 +69,17 @@ function Companion() {
|
|
|
69
69
|
var tmp = this;
|
|
70
70
|
// Inline function 'kotlin.text.toRegex' call
|
|
71
71
|
var this_0 = '^atto://[a-z2-7]{61}$';
|
|
72
|
-
tmp.
|
|
73
|
-
this.
|
|
72
|
+
tmp.w4l_1 = Regex().kh(this_0);
|
|
73
|
+
this.x4l_1 = 5;
|
|
74
74
|
}
|
|
75
75
|
isValid(value) {
|
|
76
|
-
if (!this.
|
|
76
|
+
if (!this.w4l_1.lh(value)) {
|
|
77
77
|
return false;
|
|
78
78
|
}
|
|
79
79
|
var decoded = fromAddress(value);
|
|
80
80
|
var _destruct__k2r9zo = toAlgorithmPublicKey(this, decoded);
|
|
81
|
-
var algorithm = _destruct__k2r9zo.
|
|
82
|
-
var publicKey = _destruct__k2r9zo.
|
|
81
|
+
var algorithm = _destruct__k2r9zo.ye();
|
|
82
|
+
var publicKey = _destruct__k2r9zo.ze();
|
|
83
83
|
var checksum = sliceArray(decoded, until(33, decoded.length));
|
|
84
84
|
return contentEquals(checksum, checksum_0(this, algorithm, publicKey));
|
|
85
85
|
}
|
|
@@ -106,7 +106,7 @@ function Companion() {
|
|
|
106
106
|
// Inline function 'kotlin.toUByte' call
|
|
107
107
|
var this_0 = serialized[0];
|
|
108
108
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
|
|
109
|
-
var algorithm = tmp.
|
|
109
|
+
var algorithm = tmp.v4l(tmp$ret$0);
|
|
110
110
|
var publicKey = new (AttoPublicKey())(sliceArray(serialized, until(1, serialized.length)));
|
|
111
111
|
return new (AttoAddress())(algorithm, publicKey);
|
|
112
112
|
}
|
|
@@ -118,14 +118,14 @@ function Companion() {
|
|
|
118
118
|
throw IllegalArgumentException().s2(toString(message));
|
|
119
119
|
}
|
|
120
120
|
var _destruct__k2r9zo = toAlgorithmPublicKey_0(this, address);
|
|
121
|
-
var algorithm = _destruct__k2r9zo.
|
|
122
|
-
var publicKey = _destruct__k2r9zo.
|
|
121
|
+
var algorithm = _destruct__k2r9zo.ye();
|
|
122
|
+
var publicKey = _destruct__k2r9zo.ze();
|
|
123
123
|
return new (AttoAddress())(algorithm, publicKey);
|
|
124
124
|
}
|
|
125
125
|
parsePath(path) {
|
|
126
126
|
return this.parse(path);
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
y1g() {
|
|
129
129
|
return AttoAddressAsStringSerializer_getInstance();
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -152,44 +152,44 @@ function AttoAddress() {
|
|
|
152
152
|
this.path = Companion_getInstance_0().toAddressPath(this.algorithm, this.publicKey);
|
|
153
153
|
this.value = this.schema + this.path;
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
f4k() {
|
|
156
156
|
return this.algorithm;
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
d4k() {
|
|
159
159
|
return this.publicKey;
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
y4l() {
|
|
162
162
|
return this.schema;
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
z4l() {
|
|
165
165
|
return this.path;
|
|
166
166
|
}
|
|
167
167
|
g3() {
|
|
168
168
|
return this.value;
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
a4m() {
|
|
171
171
|
// Inline function 'kotlin.apply' call
|
|
172
172
|
var this_0 = new (Buffer())();
|
|
173
173
|
writeUByte(this_0, this.algorithm.code);
|
|
174
|
-
this_0.
|
|
174
|
+
this_0.z2i(this.publicKey.value, 0, this.publicKey.value.length);
|
|
175
175
|
return this_0;
|
|
176
176
|
}
|
|
177
177
|
toString() {
|
|
178
178
|
return this.value;
|
|
179
179
|
}
|
|
180
|
-
|
|
180
|
+
ye() {
|
|
181
181
|
return this.algorithm;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
ze() {
|
|
184
184
|
return this.publicKey;
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
b4m(algorithm, publicKey) {
|
|
187
187
|
return new (AttoAddress())(algorithm, publicKey);
|
|
188
188
|
}
|
|
189
189
|
copy(algorithm, publicKey, $super) {
|
|
190
190
|
algorithm = algorithm === VOID ? this.algorithm : algorithm;
|
|
191
191
|
publicKey = publicKey === VOID ? this.publicKey : publicKey;
|
|
192
|
-
return $super === VOID ? this.
|
|
192
|
+
return $super === VOID ? this.b4m(algorithm, publicKey) : $super.b4m.call(this, algorithm, publicKey);
|
|
193
193
|
}
|
|
194
194
|
hashCode() {
|
|
195
195
|
var result = this.algorithm.hashCode();
|
|
@@ -222,19 +222,19 @@ function AttoAddressAsStringSerializer() {
|
|
|
222
222
|
class $ {
|
|
223
223
|
constructor() {
|
|
224
224
|
AttoAddressAsStringSerializer_instance = this;
|
|
225
|
-
this.
|
|
225
|
+
this.c4m_1 = PrimitiveSerialDescriptor('AttoAddressAsString', STRING_getInstance());
|
|
226
226
|
}
|
|
227
|
-
|
|
228
|
-
return this.
|
|
227
|
+
ws() {
|
|
228
|
+
return this.c4m_1;
|
|
229
229
|
}
|
|
230
|
-
|
|
231
|
-
encoder.
|
|
230
|
+
d4m(encoder, value) {
|
|
231
|
+
encoder.py(value.toString());
|
|
232
232
|
}
|
|
233
|
-
|
|
234
|
-
return this.
|
|
233
|
+
xs(encoder, value) {
|
|
234
|
+
return this.d4m(encoder, value instanceof AttoAddress() ? value : THROW_CCE());
|
|
235
235
|
}
|
|
236
|
-
|
|
237
|
-
return Companion_getInstance_0().parse(decoder.
|
|
236
|
+
ys(decoder) {
|
|
237
|
+
return Companion_getInstance_0().parse(decoder.gx());
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
initMetadataForObject($, 'AttoAddressAsStringSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -253,7 +253,7 @@ function fromAddress(_this__u8e3s4) {
|
|
|
253
253
|
// Inline function 'kotlin.text.uppercase' call
|
|
254
254
|
// Inline function 'kotlin.js.asDynamic' call
|
|
255
255
|
var tmp$ret$1 = substring(_this__u8e3s4, 7).toUpperCase();
|
|
256
|
-
return tmp.
|
|
256
|
+
return tmp.g4m(tmp$ret$1 + '===');
|
|
257
257
|
}
|
|
258
258
|
function toAddressPath(_this__u8e3s4) {
|
|
259
259
|
// Inline function 'kotlin.require' call
|
|
@@ -263,7 +263,7 @@ function toAddressPath(_this__u8e3s4) {
|
|
|
263
263
|
}
|
|
264
264
|
// Inline function 'kotlin.text.lowercase' call
|
|
265
265
|
// Inline function 'kotlin.js.asDynamic' call
|
|
266
|
-
return replace(Base32_getInstance().
|
|
266
|
+
return replace(Base32_getInstance().h4m(_this__u8e3s4), '=', '').toLowerCase();
|
|
267
267
|
}
|
|
268
268
|
//region block: exports
|
|
269
269
|
export {
|