@attocash/commons-js 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +40 -46
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +31 -68
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +41 -41
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +105 -105
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -64,10 +64,10 @@ function AttoAccount$Companion$$childSerializers$_anonymous__l1b023() {
|
|
|
64
64
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
65
65
|
}
|
|
66
66
|
function AttoAccount$Companion$$childSerializers$_anonymous__l1b023_0() {
|
|
67
|
-
return Companion_getInstance().
|
|
67
|
+
return Companion_getInstance().u2t();
|
|
68
68
|
}
|
|
69
69
|
function AttoAccount$Companion$$childSerializers$_anonymous__l1b023_1() {
|
|
70
|
-
return Companion_getInstance().
|
|
70
|
+
return Companion_getInstance().u2t();
|
|
71
71
|
}
|
|
72
72
|
var CompanionClass;
|
|
73
73
|
function Companion() {
|
|
@@ -84,18 +84,18 @@ function Companion() {
|
|
|
84
84
|
// Inline function 'kotlin.arrayOf' call
|
|
85
85
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
86
86
|
// Inline function 'kotlin.js.asDynamic' call
|
|
87
|
-
tmp.
|
|
87
|
+
tmp.v2t_1 = [null, tmp_1, null, tmp_3, null, null, null, null, lazy(tmp_4, AttoAccount$Companion$$childSerializers$_anonymous__l1b023_1), null];
|
|
88
88
|
}
|
|
89
|
-
|
|
89
|
+
w2t(representativeAlgorithm, representativePublicKey, receivable, timestamp) {
|
|
90
90
|
var block = new (AttoOpenBlock())(receivable.network, receivable.version, receivable.receiverAlgorithm, receivable.receiverPublicKey, receivable.amount, timestamp, receivable.algorithm, receivable.hash, representativeAlgorithm, representativePublicKey);
|
|
91
|
-
var account = new (AttoAccount())(receivable.receiverPublicKey, receivable.network, receivable.version, receivable.receiverAlgorithm, block.
|
|
91
|
+
var account = new (AttoAccount())(receivable.receiverPublicKey, receivable.network, receivable.version, receivable.receiverAlgorithm, block.l2u_1, receivable.amount, block.hash, timestamp, representativeAlgorithm, representativePublicKey);
|
|
92
92
|
return new (Pair())(block, account);
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
n2u(representativeAlgorithm, representativePublicKey, receivable, timestamp, $super) {
|
|
95
95
|
timestamp = timestamp === VOID ? Companion_instance.now() : timestamp;
|
|
96
|
-
return $super === VOID ? this.
|
|
96
|
+
return $super === VOID ? this.w2t(representativeAlgorithm, representativePublicKey, receivable, timestamp) : $super.w2t.call(this, representativeAlgorithm, representativePublicKey, receivable, timestamp);
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
u2t() {
|
|
99
99
|
return $serializer_getInstance();
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -117,39 +117,39 @@ function $serializer() {
|
|
|
117
117
|
constructor() {
|
|
118
118
|
$serializer_instance = this;
|
|
119
119
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.AttoAccount', this, 10);
|
|
120
|
-
tmp0_serialDesc.
|
|
121
|
-
tmp0_serialDesc.
|
|
122
|
-
tmp0_serialDesc.
|
|
123
|
-
tmp0_serialDesc.
|
|
124
|
-
tmp0_serialDesc.
|
|
125
|
-
tmp0_serialDesc.
|
|
126
|
-
tmp0_serialDesc.
|
|
127
|
-
tmp0_serialDesc.
|
|
128
|
-
tmp0_serialDesc.
|
|
129
|
-
tmp0_serialDesc.
|
|
130
|
-
this.
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
var tmp0_desc = this.
|
|
134
|
-
var tmp1_output = encoder.
|
|
135
|
-
var tmp2_cached = Companion_getInstance_0().
|
|
136
|
-
tmp1_output.
|
|
137
|
-
tmp1_output.
|
|
138
|
-
tmp1_output.
|
|
139
|
-
tmp1_output.
|
|
140
|
-
tmp1_output.
|
|
141
|
-
tmp1_output.
|
|
142
|
-
tmp1_output.
|
|
143
|
-
tmp1_output.
|
|
144
|
-
tmp1_output.
|
|
145
|
-
tmp1_output.
|
|
146
|
-
tmp1_output.
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
return this.
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
var tmp0_desc = this.
|
|
120
|
+
tmp0_serialDesc.f1x('publicKey', false);
|
|
121
|
+
tmp0_serialDesc.f1x('network', false);
|
|
122
|
+
tmp0_serialDesc.f1x('version', false);
|
|
123
|
+
tmp0_serialDesc.f1x('algorithm', false);
|
|
124
|
+
tmp0_serialDesc.f1x('height', false);
|
|
125
|
+
tmp0_serialDesc.f1x('balance', false);
|
|
126
|
+
tmp0_serialDesc.f1x('lastTransactionHash', false);
|
|
127
|
+
tmp0_serialDesc.f1x('lastTransactionTimestamp', false);
|
|
128
|
+
tmp0_serialDesc.f1x('representativeAlgorithm', false);
|
|
129
|
+
tmp0_serialDesc.f1x('representativePublicKey', false);
|
|
130
|
+
this.o2u_1 = tmp0_serialDesc;
|
|
131
|
+
}
|
|
132
|
+
p2u(encoder, value) {
|
|
133
|
+
var tmp0_desc = this.o2u_1;
|
|
134
|
+
var tmp1_output = encoder.r1p(tmp0_desc);
|
|
135
|
+
var tmp2_cached = Companion_getInstance_0().v2t_1;
|
|
136
|
+
tmp1_output.i1r(tmp0_desc, 0, AttoPublicKeyAsStringSerializer_getInstance(), value.publicKey);
|
|
137
|
+
tmp1_output.i1r(tmp0_desc, 1, tmp2_cached[1].g3(), value.network);
|
|
138
|
+
tmp1_output.i1r(tmp0_desc, 2, AttoVersionSerializer_getInstance(), value.version);
|
|
139
|
+
tmp1_output.i1r(tmp0_desc, 3, tmp2_cached[3].g3(), value.algorithm);
|
|
140
|
+
tmp1_output.i1r(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.q2u_1);
|
|
141
|
+
tmp1_output.i1r(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.balance);
|
|
142
|
+
tmp1_output.i1r(tmp0_desc, 6, AttoHashAsStringSerializer_getInstance(), value.lastTransactionHash);
|
|
143
|
+
tmp1_output.i1r(tmp0_desc, 7, AttoInstantAsLongSerializer_getInstance(), value.lastTransactionTimestamp);
|
|
144
|
+
tmp1_output.i1r(tmp0_desc, 8, tmp2_cached[8].g3(), value.representativeAlgorithm);
|
|
145
|
+
tmp1_output.i1r(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.representativePublicKey);
|
|
146
|
+
tmp1_output.s1p(tmp0_desc);
|
|
147
|
+
}
|
|
148
|
+
d1l(encoder, value) {
|
|
149
|
+
return this.p2u(encoder, value instanceof AttoAccount() ? value : THROW_CCE());
|
|
150
|
+
}
|
|
151
|
+
e1l(decoder) {
|
|
152
|
+
var tmp0_desc = this.o2u_1;
|
|
153
153
|
var tmp1_flag = true;
|
|
154
154
|
var tmp2_index = 0;
|
|
155
155
|
var tmp3_bitMask0 = 0;
|
|
@@ -163,95 +163,95 @@ function $serializer() {
|
|
|
163
163
|
var tmp11_local7 = null;
|
|
164
164
|
var tmp12_local8 = null;
|
|
165
165
|
var tmp13_local9 = null;
|
|
166
|
-
var tmp16_input = decoder.
|
|
167
|
-
var tmp17_cached = Companion_getInstance_0().
|
|
168
|
-
if (tmp16_input.
|
|
169
|
-
tmp4_local0 = tmp16_input.
|
|
166
|
+
var tmp16_input = decoder.r1p(tmp0_desc);
|
|
167
|
+
var tmp17_cached = Companion_getInstance_0().v2t_1;
|
|
168
|
+
if (tmp16_input.g1q()) {
|
|
169
|
+
tmp4_local0 = tmp16_input.d1q(tmp0_desc, 0, AttoPublicKeyAsStringSerializer_getInstance(), tmp4_local0);
|
|
170
170
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
171
|
-
tmp5_local1 = tmp16_input.
|
|
171
|
+
tmp5_local1 = tmp16_input.d1q(tmp0_desc, 1, tmp17_cached[1].g3(), tmp5_local1);
|
|
172
172
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
173
|
-
tmp6_local2 = tmp16_input.
|
|
173
|
+
tmp6_local2 = tmp16_input.d1q(tmp0_desc, 2, AttoVersionSerializer_getInstance(), tmp6_local2);
|
|
174
174
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
175
|
-
tmp7_local3 = tmp16_input.
|
|
175
|
+
tmp7_local3 = tmp16_input.d1q(tmp0_desc, 3, tmp17_cached[3].g3(), tmp7_local3);
|
|
176
176
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
177
|
-
tmp8_local4 = tmp16_input.
|
|
177
|
+
tmp8_local4 = tmp16_input.d1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
178
178
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
179
|
-
tmp9_local5 = tmp16_input.
|
|
179
|
+
tmp9_local5 = tmp16_input.d1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
180
180
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
181
|
-
tmp10_local6 = tmp16_input.
|
|
181
|
+
tmp10_local6 = tmp16_input.d1q(tmp0_desc, 6, AttoHashAsStringSerializer_getInstance(), tmp10_local6);
|
|
182
182
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
183
|
-
tmp11_local7 = tmp16_input.
|
|
183
|
+
tmp11_local7 = tmp16_input.d1q(tmp0_desc, 7, AttoInstantAsLongSerializer_getInstance(), tmp11_local7);
|
|
184
184
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
185
|
-
tmp12_local8 = tmp16_input.
|
|
185
|
+
tmp12_local8 = tmp16_input.d1q(tmp0_desc, 8, tmp17_cached[8].g3(), tmp12_local8);
|
|
186
186
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
187
|
-
tmp13_local9 = tmp16_input.
|
|
187
|
+
tmp13_local9 = tmp16_input.d1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
188
188
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
189
189
|
} else
|
|
190
190
|
while (tmp1_flag) {
|
|
191
|
-
tmp2_index = tmp16_input.
|
|
191
|
+
tmp2_index = tmp16_input.h1q(tmp0_desc);
|
|
192
192
|
switch (tmp2_index) {
|
|
193
193
|
case -1:
|
|
194
194
|
tmp1_flag = false;
|
|
195
195
|
break;
|
|
196
196
|
case 0:
|
|
197
|
-
tmp4_local0 = tmp16_input.
|
|
197
|
+
tmp4_local0 = tmp16_input.d1q(tmp0_desc, 0, AttoPublicKeyAsStringSerializer_getInstance(), tmp4_local0);
|
|
198
198
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
199
199
|
break;
|
|
200
200
|
case 1:
|
|
201
|
-
tmp5_local1 = tmp16_input.
|
|
201
|
+
tmp5_local1 = tmp16_input.d1q(tmp0_desc, 1, tmp17_cached[1].g3(), tmp5_local1);
|
|
202
202
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
203
203
|
break;
|
|
204
204
|
case 2:
|
|
205
|
-
tmp6_local2 = tmp16_input.
|
|
205
|
+
tmp6_local2 = tmp16_input.d1q(tmp0_desc, 2, AttoVersionSerializer_getInstance(), tmp6_local2);
|
|
206
206
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
207
207
|
break;
|
|
208
208
|
case 3:
|
|
209
|
-
tmp7_local3 = tmp16_input.
|
|
209
|
+
tmp7_local3 = tmp16_input.d1q(tmp0_desc, 3, tmp17_cached[3].g3(), tmp7_local3);
|
|
210
210
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
211
211
|
break;
|
|
212
212
|
case 4:
|
|
213
|
-
tmp8_local4 = tmp16_input.
|
|
213
|
+
tmp8_local4 = tmp16_input.d1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
214
214
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
215
215
|
break;
|
|
216
216
|
case 5:
|
|
217
|
-
tmp9_local5 = tmp16_input.
|
|
217
|
+
tmp9_local5 = tmp16_input.d1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
218
218
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
219
219
|
break;
|
|
220
220
|
case 6:
|
|
221
|
-
tmp10_local6 = tmp16_input.
|
|
221
|
+
tmp10_local6 = tmp16_input.d1q(tmp0_desc, 6, AttoHashAsStringSerializer_getInstance(), tmp10_local6);
|
|
222
222
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
223
223
|
break;
|
|
224
224
|
case 7:
|
|
225
|
-
tmp11_local7 = tmp16_input.
|
|
225
|
+
tmp11_local7 = tmp16_input.d1q(tmp0_desc, 7, AttoInstantAsLongSerializer_getInstance(), tmp11_local7);
|
|
226
226
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
227
227
|
break;
|
|
228
228
|
case 8:
|
|
229
|
-
tmp12_local8 = tmp16_input.
|
|
229
|
+
tmp12_local8 = tmp16_input.d1q(tmp0_desc, 8, tmp17_cached[8].g3(), tmp12_local8);
|
|
230
230
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
231
231
|
break;
|
|
232
232
|
case 9:
|
|
233
|
-
tmp13_local9 = tmp16_input.
|
|
233
|
+
tmp13_local9 = tmp16_input.d1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
234
234
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
235
235
|
break;
|
|
236
236
|
default:
|
|
237
|
-
throw UnknownFieldException().
|
|
237
|
+
throw UnknownFieldException().y1m(tmp2_index);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
tmp16_input.
|
|
241
|
-
return AttoAccount().
|
|
240
|
+
tmp16_input.s1p(tmp0_desc);
|
|
241
|
+
return AttoAccount().t2u(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
|
|
242
242
|
}
|
|
243
|
-
|
|
244
|
-
return this.
|
|
243
|
+
c1l() {
|
|
244
|
+
return this.o2u_1;
|
|
245
245
|
}
|
|
246
|
-
|
|
247
|
-
var tmp0_cached = Companion_getInstance_0().
|
|
246
|
+
u1x() {
|
|
247
|
+
var tmp0_cached = Companion_getInstance_0().v2t_1;
|
|
248
248
|
// Inline function 'kotlin.arrayOf' call
|
|
249
249
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
250
250
|
// Inline function 'kotlin.js.asDynamic' call
|
|
251
251
|
return [AttoPublicKeyAsStringSerializer_getInstance(), tmp0_cached[1].g3(), AttoVersionSerializer_getInstance(), tmp0_cached[3].g3(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), tmp0_cached[8].g3(), AttoPublicKeyAsStringSerializer_getInstance()];
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
protoOf($).
|
|
254
|
+
protoOf($).v1x = typeParametersSerializers;
|
|
255
255
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
256
256
|
$serializerClass = $;
|
|
257
257
|
}
|
|
@@ -291,133 +291,133 @@ function AttoAccount() {
|
|
|
291
291
|
this.network = network;
|
|
292
292
|
this.version = version;
|
|
293
293
|
this.algorithm = algorithm;
|
|
294
|
-
this.
|
|
294
|
+
this.q2u_1 = height;
|
|
295
295
|
this.balance = balance;
|
|
296
296
|
this.lastTransactionHash = lastTransactionHash;
|
|
297
297
|
this.lastTransactionTimestamp = lastTransactionTimestamp;
|
|
298
298
|
this.representativeAlgorithm = representativeAlgorithm;
|
|
299
299
|
this.representativePublicKey = representativePublicKey;
|
|
300
300
|
var tmp = this;
|
|
301
|
-
tmp.
|
|
301
|
+
tmp.r2u_1 = lazy_0(AttoAccount$address$delegate$lambda(this));
|
|
302
302
|
var tmp_0 = this;
|
|
303
|
-
tmp_0.
|
|
303
|
+
tmp_0.s2u_1 = lazy_0(AttoAccount$representativeAddress$delegate$lambda(this));
|
|
304
304
|
}
|
|
305
|
-
|
|
305
|
+
u2u() {
|
|
306
306
|
return this.publicKey;
|
|
307
307
|
}
|
|
308
|
-
|
|
308
|
+
v2u() {
|
|
309
309
|
return this.network;
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
w2u() {
|
|
312
312
|
return this.version;
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
x2u() {
|
|
315
315
|
return this.algorithm;
|
|
316
316
|
}
|
|
317
|
-
|
|
318
|
-
return this.
|
|
317
|
+
y2u() {
|
|
318
|
+
return this.q2u_1;
|
|
319
319
|
}
|
|
320
|
-
|
|
320
|
+
z2u() {
|
|
321
321
|
return this.balance;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
a2v() {
|
|
324
324
|
return this.lastTransactionHash;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
b2v() {
|
|
327
327
|
return this.lastTransactionTimestamp;
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
c2v() {
|
|
330
330
|
return this.representativeAlgorithm;
|
|
331
331
|
}
|
|
332
|
-
|
|
332
|
+
d2v() {
|
|
333
333
|
return this.representativePublicKey;
|
|
334
334
|
}
|
|
335
|
-
|
|
336
|
-
var tmp0 = this.
|
|
335
|
+
e2v() {
|
|
336
|
+
var tmp0 = this.r2u_1;
|
|
337
337
|
var tmp = KProperty1();
|
|
338
338
|
// Inline function 'kotlin.getValue' call
|
|
339
339
|
getPropertyCallableRef('address', 1, tmp, AttoAccount$_get_address_$ref_18f195(), null);
|
|
340
340
|
return tmp0.g3();
|
|
341
341
|
}
|
|
342
|
-
|
|
343
|
-
var tmp0 = this.
|
|
342
|
+
f2v() {
|
|
343
|
+
var tmp0 = this.s2u_1;
|
|
344
344
|
var tmp = KProperty1();
|
|
345
345
|
// Inline function 'kotlin.getValue' call
|
|
346
346
|
getPropertyCallableRef('representativeAddress', 1, tmp, AttoAccount$_get_representativeAddress_$ref_s5qqn0(), null);
|
|
347
347
|
return tmp0.g3();
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
g2v(receiverAlgorithm, receiverPublicKey, amount, timestamp) {
|
|
350
350
|
if (receiverPublicKey.equals(this.publicKey)) {
|
|
351
351
|
throw IllegalArgumentException().t2("You can't send money to yourself");
|
|
352
352
|
}
|
|
353
353
|
var newBalance = this.balance.minus(amount);
|
|
354
|
-
var newHeight = this.
|
|
354
|
+
var newHeight = this.q2u_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
|
|
355
355
|
var block = new (AttoSendBlock())(this.network, this.version, this.algorithm, this.publicKey, newHeight, newBalance, timestamp, this.lastTransactionHash, receiverAlgorithm, receiverPublicKey, amount);
|
|
356
356
|
var updatedAccount = this.copy(VOID, VOID, VOID, VOID, newHeight, newBalance, block.hash, timestamp);
|
|
357
357
|
return new (Pair())(block, updatedAccount);
|
|
358
358
|
}
|
|
359
|
-
|
|
359
|
+
h2v(receiverAlgorithm, receiverPublicKey, amount, timestamp, $super) {
|
|
360
360
|
timestamp = timestamp === VOID ? Companion_instance.now() : timestamp;
|
|
361
|
-
return $super === VOID ? this.
|
|
361
|
+
return $super === VOID ? this.g2v(receiverAlgorithm, receiverPublicKey, amount, timestamp) : $super.g2v.call(this, receiverAlgorithm, receiverPublicKey, amount, timestamp);
|
|
362
362
|
}
|
|
363
|
-
|
|
363
|
+
i2v(receivable, timestamp) {
|
|
364
364
|
// Inline function 'kotlin.require' call
|
|
365
|
-
if (!(timestamp.
|
|
365
|
+
if (!(timestamp.j2v(receivable.timestamp) > 0)) {
|
|
366
366
|
var message = "Timestamp can't be before receivable timestamp";
|
|
367
367
|
throw IllegalArgumentException().t2(toString(message));
|
|
368
368
|
}
|
|
369
369
|
var newBalance = this.balance.plus(receivable.amount);
|
|
370
|
-
var newHeight = this.
|
|
370
|
+
var newHeight = this.q2u_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
|
|
371
371
|
var newVersion = max(this.version, receivable.version);
|
|
372
372
|
var block = new (AttoReceiveBlock())(this.network, newVersion, this.algorithm, this.publicKey, newHeight, newBalance, timestamp, this.lastTransactionHash, receivable.algorithm, receivable.hash);
|
|
373
373
|
var updatedAccount = this.copy(VOID, VOID, newVersion, VOID, newHeight, newBalance, block.hash, timestamp);
|
|
374
374
|
return new (Pair())(block, updatedAccount);
|
|
375
375
|
}
|
|
376
|
-
|
|
376
|
+
k2v(receivable, timestamp, $super) {
|
|
377
377
|
timestamp = timestamp === VOID ? Companion_instance.now() : timestamp;
|
|
378
|
-
return $super === VOID ? this.
|
|
378
|
+
return $super === VOID ? this.i2v(receivable, timestamp) : $super.i2v.call(this, receivable, timestamp);
|
|
379
379
|
}
|
|
380
|
-
|
|
381
|
-
var newHeight = this.
|
|
380
|
+
l2v(representativeAlgorithm, representativePublicKey, timestamp) {
|
|
381
|
+
var newHeight = this.q2u_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
|
|
382
382
|
var block = new (AttoChangeBlock())(this.network, this.version, this.algorithm, this.publicKey, newHeight, this.balance, timestamp, this.lastTransactionHash, representativeAlgorithm, representativePublicKey);
|
|
383
383
|
var updatedAccount = this.copy(VOID, VOID, VOID, VOID, newHeight, VOID, block.hash, timestamp, representativeAlgorithm, representativePublicKey);
|
|
384
384
|
return new (Pair())(block, updatedAccount);
|
|
385
385
|
}
|
|
386
|
-
|
|
386
|
+
m2v(representativeAlgorithm, representativePublicKey, timestamp, $super) {
|
|
387
387
|
timestamp = timestamp === VOID ? Companion_instance.now() : timestamp;
|
|
388
|
-
return $super === VOID ? this.
|
|
388
|
+
return $super === VOID ? this.l2v(representativeAlgorithm, representativePublicKey, timestamp) : $super.l2v.call(this, representativeAlgorithm, representativePublicKey, timestamp);
|
|
389
389
|
}
|
|
390
|
-
|
|
390
|
+
ef() {
|
|
391
391
|
return this.publicKey;
|
|
392
392
|
}
|
|
393
|
-
|
|
393
|
+
ff() {
|
|
394
394
|
return this.network;
|
|
395
395
|
}
|
|
396
|
-
|
|
396
|
+
n2v() {
|
|
397
397
|
return this.version;
|
|
398
398
|
}
|
|
399
|
-
|
|
399
|
+
o2v() {
|
|
400
400
|
return this.algorithm;
|
|
401
401
|
}
|
|
402
|
-
|
|
403
|
-
return this.
|
|
402
|
+
p2v() {
|
|
403
|
+
return this.q2u_1;
|
|
404
404
|
}
|
|
405
|
-
|
|
405
|
+
q2v() {
|
|
406
406
|
return this.balance;
|
|
407
407
|
}
|
|
408
|
-
|
|
408
|
+
r2v() {
|
|
409
409
|
return this.lastTransactionHash;
|
|
410
410
|
}
|
|
411
|
-
|
|
411
|
+
s2v() {
|
|
412
412
|
return this.lastTransactionTimestamp;
|
|
413
413
|
}
|
|
414
|
-
|
|
414
|
+
t2v() {
|
|
415
415
|
return this.representativeAlgorithm;
|
|
416
416
|
}
|
|
417
|
-
|
|
417
|
+
u2v() {
|
|
418
418
|
return this.representativePublicKey;
|
|
419
419
|
}
|
|
420
|
-
|
|
420
|
+
v2v(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey) {
|
|
421
421
|
return new (AttoAccount())(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey);
|
|
422
422
|
}
|
|
423
423
|
copy(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey, $super) {
|
|
@@ -425,23 +425,23 @@ function AttoAccount() {
|
|
|
425
425
|
network = network === VOID ? this.network : network;
|
|
426
426
|
version = version === VOID ? this.version : version;
|
|
427
427
|
algorithm = algorithm === VOID ? this.algorithm : algorithm;
|
|
428
|
-
height = height === VOID ? this.
|
|
428
|
+
height = height === VOID ? this.q2u_1 : height;
|
|
429
429
|
balance = balance === VOID ? this.balance : balance;
|
|
430
430
|
lastTransactionHash = lastTransactionHash === VOID ? this.lastTransactionHash : lastTransactionHash;
|
|
431
431
|
lastTransactionTimestamp = lastTransactionTimestamp === VOID ? this.lastTransactionTimestamp : lastTransactionTimestamp;
|
|
432
432
|
representativeAlgorithm = representativeAlgorithm === VOID ? this.representativeAlgorithm : representativeAlgorithm;
|
|
433
433
|
representativePublicKey = representativePublicKey === VOID ? this.representativePublicKey : representativePublicKey;
|
|
434
|
-
return $super === VOID ? this.
|
|
434
|
+
return $super === VOID ? this.v2v(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey) : $super.v2v.call(this, publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey);
|
|
435
435
|
}
|
|
436
436
|
toString() {
|
|
437
|
-
return 'AttoAccount(publicKey=' + this.publicKey.toString() + ', network=' + this.network.toString() + ', version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', height=' + this.
|
|
437
|
+
return 'AttoAccount(publicKey=' + this.publicKey.toString() + ', network=' + this.network.toString() + ', version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', height=' + this.q2u_1.toString() + ', balance=' + this.balance.toString() + ', lastTransactionHash=' + this.lastTransactionHash.toString() + ', lastTransactionTimestamp=' + this.lastTransactionTimestamp.toString() + ', representativeAlgorithm=' + this.representativeAlgorithm.toString() + ', representativePublicKey=' + this.representativePublicKey.toString() + ')';
|
|
438
438
|
}
|
|
439
439
|
hashCode() {
|
|
440
440
|
var result = this.publicKey.hashCode();
|
|
441
441
|
result = imul(result, 31) + this.network.hashCode() | 0;
|
|
442
442
|
result = imul(result, 31) + this.version.hashCode() | 0;
|
|
443
443
|
result = imul(result, 31) + this.algorithm.hashCode() | 0;
|
|
444
|
-
result = imul(result, 31) + this.
|
|
444
|
+
result = imul(result, 31) + this.q2u_1.hashCode() | 0;
|
|
445
445
|
result = imul(result, 31) + this.balance.hashCode() | 0;
|
|
446
446
|
result = imul(result, 31) + this.lastTransactionHash.hashCode() | 0;
|
|
447
447
|
result = imul(result, 31) + this.lastTransactionTimestamp.hashCode() | 0;
|
|
@@ -462,7 +462,7 @@ function AttoAccount() {
|
|
|
462
462
|
return false;
|
|
463
463
|
if (!this.algorithm.equals(other.algorithm))
|
|
464
464
|
return false;
|
|
465
|
-
if (!this.
|
|
465
|
+
if (!this.q2u_1.equals(other.q2u_1))
|
|
466
466
|
return false;
|
|
467
467
|
if (!this.balance.equals(other.balance))
|
|
468
468
|
return false;
|
|
@@ -476,36 +476,36 @@ function AttoAccount() {
|
|
|
476
476
|
return false;
|
|
477
477
|
return true;
|
|
478
478
|
}
|
|
479
|
-
static
|
|
479
|
+
static t2u(seen0, publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey, serializationConstructorMarker) {
|
|
480
480
|
Companion_getInstance_0();
|
|
481
481
|
if (!(1023 === (1023 & seen0))) {
|
|
482
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance().
|
|
482
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance().o2u_1);
|
|
483
483
|
}
|
|
484
484
|
var $this = createThis(this);
|
|
485
485
|
$this.publicKey = publicKey;
|
|
486
486
|
$this.network = network;
|
|
487
487
|
$this.version = version;
|
|
488
488
|
$this.algorithm = algorithm;
|
|
489
|
-
$this.
|
|
489
|
+
$this.q2u_1 = height;
|
|
490
490
|
$this.balance = balance;
|
|
491
491
|
$this.lastTransactionHash = lastTransactionHash;
|
|
492
492
|
$this.lastTransactionTimestamp = lastTransactionTimestamp;
|
|
493
493
|
$this.representativeAlgorithm = representativeAlgorithm;
|
|
494
494
|
$this.representativePublicKey = representativePublicKey;
|
|
495
495
|
var tmp = $this;
|
|
496
|
-
tmp.
|
|
496
|
+
tmp.r2u_1 = lazy_0(AttoAccount$_init_$lambda_irkxp0($this));
|
|
497
497
|
var tmp_0 = $this;
|
|
498
|
-
tmp_0.
|
|
498
|
+
tmp_0.s2u_1 = lazy_0(AttoAccount$_init_$lambda_irkxp0_0($this));
|
|
499
499
|
return $this;
|
|
500
500
|
}
|
|
501
501
|
get height() {
|
|
502
|
-
return this.
|
|
502
|
+
return this.y2u();
|
|
503
503
|
}
|
|
504
504
|
get address() {
|
|
505
|
-
return this.
|
|
505
|
+
return this.e2v();
|
|
506
506
|
}
|
|
507
507
|
get representativeAddress() {
|
|
508
|
-
return this.
|
|
508
|
+
return this.f2v();
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
initMetadataForClass($, 'AttoAccount', VOID, VOID, [HeightSupport(), AddressSupport()], VOID, VOID, {0: $serializer_getInstance});
|