@attocash/commons-js 6.2.0 → 6.3.0
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 +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +48 -48
- 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/DateTimeUnitSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +2 -0
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +38 -34
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +63 -55
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +561 -553
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
- 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/AttoMnemonicDictionary.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +20 -20
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +91 -91
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -15
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +46 -6
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
- package/commons-commons-core.mjs +1 -2
- package/commons-commons-core.mjs.map +1 -1
- package/commons-commons-js/cash/atto/commons/js/Placeholder.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +401 -409
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +140 -135
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +65 -65
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +10 -10
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.d.mts +15 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs +13 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +245 -232
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.d.mts +25 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/{AttoWalletAsync.export.mjs → AttoWalletAsync.js.export.mjs} +2 -2
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs +405 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs.map +1 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +6 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +46 -37
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-wallet.mjs +2 -1
- package/commons-commons-wallet.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/commons-commons-worker.mjs +1 -1
- 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 +16 -11
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +20 -20
- 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 +41 -47
- 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 +24 -52
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +72 -109
- 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 +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
- 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 +8 -8
- 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 +14 -14
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +28 -55
- 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/_Collections.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +30 -125
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +10 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +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 +112 -21
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- 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/Appendable.mjs +3 -3
- 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 +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +67 -67
- 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 +20 -20
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +13 -13
- 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 +85 -85
- 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.common.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- 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/CompletableDeferred.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- 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/CoroutineScope.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
- 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.common.mjs.map +1 -1
- 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/Job.mjs.map +1 -1
- 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 +16 -16
- 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/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- 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 +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +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/channels/Produce.mjs.map +1 -1
- 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/Errors.mjs.map +1 -1
- 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/Merge.mjs.map +1 -1
- 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.common.mjs.map +1 -1
- 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/ConcurrentLinkedList.mjs.map +1 -1
- 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/Scopes.mjs.map +1 -1
- 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/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- 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-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- 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/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- 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/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- 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 +245 -245
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- 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/Json.mjs.map +1 -1
- 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/JsonElementSerializers.mjs.map +1 -1
- 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 +70 -70
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- 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/Polymorphic.mjs.map +1 -1
- 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/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- 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/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- 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/HttpClient.mjs.map +1 -1
- 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/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- 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/HttpClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
- 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/BodyProgress.mjs.map +1 -1
- 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/DefaultTransform.mjs.map +1 -1
- 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/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
- 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/HttpTimeout.mjs.map +1 -1
- 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/CommonHooks.mjs.map +1 -1
- 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/sse/ClientSSESession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- 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/DefaultHttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- 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/DefaultHttpResponse.mjs.map +1 -1
- 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/statement/HttpStatement.mjs.map +1 -1
- 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 +71 -71
- 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 +20 -20
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- 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/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +93 -93
- 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 +75 -75
- 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 +62 -62
- 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/ByteWriteChannelOperations.mjs.map +1 -1
- 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 +37 -37
- 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/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- 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/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- 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 +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
- 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/DebugPipelineContext.mjs.map +1 -1
- 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/pipeline/SuspendFunctionGun.mjs.map +1 -1
- 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/FrameCommon.mjs.map +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
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +0 -26
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +0 -440
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +0 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +0 -8
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +0 -4
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs +0 -17
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
- /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map} +0 -0
- /package/{commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.mjs.map} +0 -0
- /package/{commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs.map → commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.mjs.map} +0 -0
- /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
|
@@ -12,8 +12,15 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotl
|
|
|
12
12
|
var OkClass;
|
|
13
13
|
function Ok() {
|
|
14
14
|
if (OkClass === VOID) {
|
|
15
|
-
class $ {
|
|
16
|
-
|
|
15
|
+
class $ {
|
|
16
|
+
getError() {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
get isValid() {
|
|
20
|
+
return this.h34();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
protoOf($).h34 = get_isValid;
|
|
17
24
|
initMetadataForObject($, 'Ok', VOID, VOID, [AttoValidation()]);
|
|
18
25
|
OkClass = $;
|
|
19
26
|
}
|
|
@@ -28,10 +35,16 @@ function Error_0() {
|
|
|
28
35
|
if (ErrorClass === VOID) {
|
|
29
36
|
class $ {
|
|
30
37
|
constructor(error) {
|
|
31
|
-
this.
|
|
38
|
+
this.i34_1 = error;
|
|
39
|
+
}
|
|
40
|
+
getError() {
|
|
41
|
+
return this.i34_1;
|
|
42
|
+
}
|
|
43
|
+
get isValid() {
|
|
44
|
+
return this.h34();
|
|
32
45
|
}
|
|
33
46
|
}
|
|
34
|
-
protoOf($).
|
|
47
|
+
protoOf($).h34 = get_isValid;
|
|
35
48
|
initMetadataForClass($, 'Error', VOID, VOID, [AttoValidation()]);
|
|
36
49
|
ErrorClass = $;
|
|
37
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoValidation.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["error","<get-isValid>"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoValidation.kt"],"sourcesContent":["@file:OptIn(ExperimentalJsExport::class)\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@JsExportForJs\nsealed interface AttoValidation {\n val isValid: Boolean get() = this is Ok\n\n fun getError(): String?\n\n @JsExport.Ignore\n object Ok : AttoValidation {\n override fun getError(): String? = null\n }\n\n @JsExport.Ignore\n class Error(\n private val error: String,\n ) : AttoValidation {\n override fun getError(): String = error\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["getError","error","<get-isValid>"],"mappings":";;;;;;;;;;;;;;;cAgBiBA,CAAAA,EAA0B;A,QAAI,OAAJ,I;MAAG,C;;;;;;;;;;;;;;;;;;;kBAK9BC,K;QAAR,kB;;cAESD,CAAAA,EAAyB;A,QAAK,OAAL,IAAK,CAAL,K;MAAI,C;;;;;;;;;;;oBAbrBE,CAAAA,EAAQ;A,EAAU,OAAV,IAAU,gB;AAAD,C;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
3
|
export declare class AttoVersion /* implements Comparable<AttoVersion> */ {
|
|
4
|
-
constructor(
|
|
4
|
+
private constructor();
|
|
5
5
|
get value(): any/* UShort */;
|
|
6
6
|
toString(): string;
|
|
7
7
|
copy(value?: any/* UShort */): AttoVersion;
|
|
@@ -40,10 +40,10 @@ function AttoVersion() {
|
|
|
40
40
|
constructor(value) {
|
|
41
41
|
this.value = value;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
j34() {
|
|
44
44
|
return this.value;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
m2y(other) {
|
|
47
47
|
var tmp0 = this.value;
|
|
48
48
|
// Inline function 'kotlin.UShort.compareTo' call
|
|
49
49
|
var other_0 = other.value;
|
|
@@ -54,20 +54,20 @@ function AttoVersion() {
|
|
|
54
54
|
return compareTo(tmp, tmp$ret$1);
|
|
55
55
|
}
|
|
56
56
|
d(other) {
|
|
57
|
-
return this.
|
|
57
|
+
return this.m2y(other instanceof AttoVersion() ? other : THROW_CCE());
|
|
58
58
|
}
|
|
59
59
|
toString() {
|
|
60
60
|
return UShort__toString_impl_edaoee(this.value);
|
|
61
61
|
}
|
|
62
|
-
|
|
62
|
+
k34() {
|
|
63
63
|
return this.value;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
l34(value) {
|
|
66
66
|
return new (AttoVersion())(value);
|
|
67
67
|
}
|
|
68
68
|
copy(value, $super) {
|
|
69
69
|
value = value === VOID ? this.value : value;
|
|
70
|
-
return $super === VOID ? this.
|
|
70
|
+
return $super === VOID ? this.l34(value) : $super.l34.call(this, new (UShort())(value));
|
|
71
71
|
}
|
|
72
72
|
hashCode() {
|
|
73
73
|
return UShort__hashCode_impl_ywngrv(this.value);
|
|
@@ -109,19 +109,19 @@ function AttoVersionSerializer() {
|
|
|
109
109
|
class $ {
|
|
110
110
|
constructor() {
|
|
111
111
|
AttoVersionSerializer_instance = this;
|
|
112
|
-
this.
|
|
112
|
+
this.m34_1 = serializer(Companion_getInstance()).nu();
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
return this.
|
|
114
|
+
nu() {
|
|
115
|
+
return this.m34_1;
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
serializer(Companion_getInstance()).
|
|
117
|
+
n34(encoder, value) {
|
|
118
|
+
serializer(Companion_getInstance()).ou(encoder, new (UShort())(value.value));
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
return this.
|
|
120
|
+
ou(encoder, value) {
|
|
121
|
+
return this.n34(encoder, value instanceof AttoVersion() ? value : THROW_CCE());
|
|
122
122
|
}
|
|
123
|
-
|
|
124
|
-
return new (AttoVersion())(serializer(Companion_getInstance()).
|
|
123
|
+
pu(decoder) {
|
|
124
|
+
return new (AttoVersion())(serializer(Companion_getInstance()).pu(decoder).xs_1);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
initMetadataForObject($, 'AttoVersionSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVersion.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVersion.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.serializer\nimport kotlinx.serialization.encoding.Decoder\nimport kotlinx.serialization.encoding.Encoder\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable(with = AttoVersionSerializer::class)\ndata class AttoVersion\n @JsExport.Ignore\n constructor(\n val value: UShort,\n ) : Comparable<AttoVersion> {\n override operator fun compareTo(other: AttoVersion): Int = value.compareTo(other.value)\n\n override fun toString(): String = value.toString()\n }\n\nfun AttoVersion.max(anotherVersion: AttoVersion): AttoVersion {\n return if (value > anotherVersion.value) {\n return this\n } else {\n anotherVersion\n }\n}\n\nfun UShort.toAttoVersion(): AttoVersion = AttoVersion(this)\n\nfun UInt.toAttoVersion(): AttoVersion = this.toUShort().toAttoVersion()\n\nfun Short.toAttoVersion(): AttoVersion = this.toUShort().toAttoVersion()\n\nfun Int.toAttoVersion(): AttoVersion = this.toUShort().toAttoVersion()\n\nobject AttoVersionSerializer : KSerializer<AttoVersion> {\n override val descriptor = UShort.serializer().descriptor\n\n override fun serialize(\n encoder: Encoder,\n value: AttoVersion,\n ) {\n UShort.serializer().serialize(encoder, value.value)\n }\n\n override fun deserialize(decoder: Decoder): AttoVersion = AttoVersion(UShort.serializer().deserialize(decoder))\n}\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["value","<get-value>","compareTo","other","toString","max","<this>","anotherVersion","<get-descriptor>","serialize","encoder","deserialize","decoder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBQA,K;QAAA,kB;;SAAAC,CAAAA,EAAA;A,QAAA,iB;MAAgB,C;SAEEC,CAAcC,KAAdD,EAAyC;A,mBAAA,I,CAAA,K;;sBAAgB,K,CAAM,K;;kBCwTpD,wCAAiB,K;;YAAM,YAAvB,gCAnR0D,OAmR1D,IAAiB,K;QDxTyC,OCqCV,eAAgB,SAAhB,C;MDrCS,C;QAKhFC,K;;;cAHGC,CAAAA,EAAyB;A,QAAgB,OAAV,6BAAN,IAAM,CAAN,KAAM,C;MAAS,C;YArBzD;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,iC;MAAA,C;;iCAAA,I,CAAA,K;;;iBAAA;A,QAAA,+C;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,sC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;;;;;;YAwBAC,CAAIC,a,EAAgBC,cAApBF,EAA8D;A;aAC/C,a,CAAA,K;;cAAQ,c,CAAe,K;;cCkTD,wCAAiB,K;;MAAM,YAAvB,gCAnR0D,KAmR1D,IAAiB,K;EDlTvC,IC+BsE,iBAAgB,SAAhB,CD/BtE,K;IACP,OAAO,a;;UAEP,c;;EAHJ,U;AAKJ,C;;;;;;;QAWkD,aAAb,mCAAa,K;;QAArCG,CAAAA,EAAA;A,QAAA,iB;MAAa,C;SAEbC,CACLC,O,EACAV,KAFKS,EAGP;A,QACS,mCAAa,IAAU,OAAV,iBAAmB,KAAnB,CAAyB,KAAzB,E;MACxB,C;SAIuoKC,O,EAAkBV,K;;;QAFhpKW,CAAgBC,OAAhBD,EAAiD;A,QAAqD,2BAAlC,mCAAa,IAAY,OAAZ,CAAqB,M;MAAD,C;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
-
export declare class AttoVote implements AttoHashable
|
|
3
|
+
export declare class AttoVote implements AttoHashable, AttoSerializable {
|
|
4
4
|
constructor(version: AttoVersion, algorithm: AttoAlgorithm, publicKey: AttoPublicKey, blockAlgorithm: AttoAlgorithm, blockHash: AttoHash, timestamp: AttoInstant);
|
|
5
5
|
get version(): AttoVersion;
|
|
6
6
|
get algorithm(): AttoAlgorithm;
|
|
@@ -15,7 +15,8 @@ export declare class AttoVote implements AttoHashable/*, AttoSerializable */ {
|
|
|
15
15
|
toString(): string;
|
|
16
16
|
hashCode(): number;
|
|
17
17
|
equals(other: Nullable<any>): boolean;
|
|
18
|
-
|
|
18
|
+
toByteArray(): Int8Array;
|
|
19
|
+
readonly __doNotUseOrImplementIt: AttoHashable["__doNotUseOrImplementIt"] & AttoSerializable["__doNotUseOrImplementIt"];
|
|
19
20
|
}
|
|
20
21
|
export declare namespace AttoVote {
|
|
21
22
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -50,16 +50,20 @@ import { uintCompare18k97xs29243i as uintCompare } from '../../../../kotlin-kotl
|
|
|
50
50
|
import { Buffergs925ekssbch as Buffer } from '../../../../kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs';
|
|
51
51
|
import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
52
52
|
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
|
|
53
|
+
import {
|
|
54
|
+
toByteArrayholgcuj5zgpi as toByteArray,
|
|
55
|
+
AttoSerializable291xn050uxg51 as AttoSerializable,
|
|
56
|
+
} from './AttoSerializable.mjs';
|
|
53
57
|
//region block: imports
|
|
54
58
|
var imul = Math.imul;
|
|
55
59
|
//endregion
|
|
56
60
|
//region block: pre-declaration
|
|
57
61
|
//endregion
|
|
58
62
|
function AttoVote$Companion$$childSerializers$_anonymous__q6z172() {
|
|
59
|
-
return Companion_getInstance().
|
|
63
|
+
return Companion_getInstance().x2t();
|
|
60
64
|
}
|
|
61
65
|
function AttoVote$Companion$$childSerializers$_anonymous__q6z172_0() {
|
|
62
|
-
return Companion_getInstance().
|
|
66
|
+
return Companion_getInstance().x2t();
|
|
63
67
|
}
|
|
64
68
|
var CompanionClass;
|
|
65
69
|
function Companion() {
|
|
@@ -74,13 +78,13 @@ function Companion() {
|
|
|
74
78
|
// Inline function 'kotlin.arrayOf' call
|
|
75
79
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
76
80
|
// Inline function 'kotlin.js.asDynamic' call
|
|
77
|
-
tmp.
|
|
81
|
+
tmp.o34_1 = [null, tmp_1, null, lazy(tmp_2, AttoVote$Companion$$childSerializers$_anonymous__q6z172_0), null, null];
|
|
78
82
|
this.finalTimestamp = Companion_instance.fromEpochMilliseconds(9223372036854775807n);
|
|
79
83
|
}
|
|
80
|
-
|
|
84
|
+
p34() {
|
|
81
85
|
return this.finalTimestamp;
|
|
82
86
|
}
|
|
83
|
-
|
|
87
|
+
x2t() {
|
|
84
88
|
return $serializer_getInstance();
|
|
85
89
|
}
|
|
86
90
|
}
|
|
@@ -102,31 +106,31 @@ function $serializer() {
|
|
|
102
106
|
constructor() {
|
|
103
107
|
$serializer_instance = this;
|
|
104
108
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.AttoVote', this, 6);
|
|
105
|
-
tmp0_serialDesc.
|
|
106
|
-
tmp0_serialDesc.
|
|
107
|
-
tmp0_serialDesc.
|
|
108
|
-
tmp0_serialDesc.
|
|
109
|
-
tmp0_serialDesc.
|
|
110
|
-
tmp0_serialDesc.
|
|
111
|
-
this.
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
var tmp0_desc = this.
|
|
115
|
-
var tmp1_output = encoder.
|
|
116
|
-
var tmp2_cached = Companion_getInstance_0().
|
|
117
|
-
tmp1_output.
|
|
118
|
-
tmp1_output.
|
|
119
|
-
tmp1_output.
|
|
120
|
-
tmp1_output.
|
|
121
|
-
tmp1_output.
|
|
122
|
-
tmp1_output.
|
|
123
|
-
tmp1_output.
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
return this.
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
var tmp0_desc = this.
|
|
109
|
+
tmp0_serialDesc.q16('version', false);
|
|
110
|
+
tmp0_serialDesc.q16('algorithm', false);
|
|
111
|
+
tmp0_serialDesc.q16('publicKey', false);
|
|
112
|
+
tmp0_serialDesc.q16('blockAlgorithm', false);
|
|
113
|
+
tmp0_serialDesc.q16('blockHash', false);
|
|
114
|
+
tmp0_serialDesc.q16('timestamp', false);
|
|
115
|
+
this.q34_1 = tmp0_serialDesc;
|
|
116
|
+
}
|
|
117
|
+
r34(encoder, value) {
|
|
118
|
+
var tmp0_desc = this.q34_1;
|
|
119
|
+
var tmp1_output = encoder.cz(tmp0_desc);
|
|
120
|
+
var tmp2_cached = Companion_getInstance_0().o34_1;
|
|
121
|
+
tmp1_output.t10(tmp0_desc, 0, AttoVersionSerializer_getInstance(), value.version);
|
|
122
|
+
tmp1_output.t10(tmp0_desc, 1, tmp2_cached[1].g3(), value.algorithm);
|
|
123
|
+
tmp1_output.t10(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), value.publicKey);
|
|
124
|
+
tmp1_output.t10(tmp0_desc, 3, tmp2_cached[3].g3(), value.blockAlgorithm);
|
|
125
|
+
tmp1_output.t10(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), value.blockHash);
|
|
126
|
+
tmp1_output.t10(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.timestamp);
|
|
127
|
+
tmp1_output.dz(tmp0_desc);
|
|
128
|
+
}
|
|
129
|
+
ou(encoder, value) {
|
|
130
|
+
return this.r34(encoder, value instanceof AttoVote() ? value : THROW_CCE());
|
|
131
|
+
}
|
|
132
|
+
pu(decoder) {
|
|
133
|
+
var tmp0_desc = this.q34_1;
|
|
130
134
|
var tmp1_flag = true;
|
|
131
135
|
var tmp2_index = 0;
|
|
132
136
|
var tmp3_bitMask0 = 0;
|
|
@@ -136,71 +140,71 @@ function $serializer() {
|
|
|
136
140
|
var tmp7_local3 = null;
|
|
137
141
|
var tmp8_local4 = null;
|
|
138
142
|
var tmp9_local5 = null;
|
|
139
|
-
var tmp11_input = decoder.
|
|
140
|
-
var tmp12_cached = Companion_getInstance_0().
|
|
141
|
-
if (tmp11_input.
|
|
142
|
-
tmp4_local0 = tmp11_input.
|
|
143
|
+
var tmp11_input = decoder.cz(tmp0_desc);
|
|
144
|
+
var tmp12_cached = Companion_getInstance_0().o34_1;
|
|
145
|
+
if (tmp11_input.rz()) {
|
|
146
|
+
tmp4_local0 = tmp11_input.oz(tmp0_desc, 0, AttoVersionSerializer_getInstance(), tmp4_local0);
|
|
143
147
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
144
|
-
tmp5_local1 = tmp11_input.
|
|
148
|
+
tmp5_local1 = tmp11_input.oz(tmp0_desc, 1, tmp12_cached[1].g3(), tmp5_local1);
|
|
145
149
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
146
|
-
tmp6_local2 = tmp11_input.
|
|
150
|
+
tmp6_local2 = tmp11_input.oz(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
|
|
147
151
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
148
|
-
tmp7_local3 = tmp11_input.
|
|
152
|
+
tmp7_local3 = tmp11_input.oz(tmp0_desc, 3, tmp12_cached[3].g3(), tmp7_local3);
|
|
149
153
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
150
|
-
tmp8_local4 = tmp11_input.
|
|
154
|
+
tmp8_local4 = tmp11_input.oz(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), tmp8_local4);
|
|
151
155
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
152
|
-
tmp9_local5 = tmp11_input.
|
|
156
|
+
tmp9_local5 = tmp11_input.oz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
153
157
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
154
158
|
} else
|
|
155
159
|
while (tmp1_flag) {
|
|
156
|
-
tmp2_index = tmp11_input.
|
|
160
|
+
tmp2_index = tmp11_input.sz(tmp0_desc);
|
|
157
161
|
switch (tmp2_index) {
|
|
158
162
|
case -1:
|
|
159
163
|
tmp1_flag = false;
|
|
160
164
|
break;
|
|
161
165
|
case 0:
|
|
162
|
-
tmp4_local0 = tmp11_input.
|
|
166
|
+
tmp4_local0 = tmp11_input.oz(tmp0_desc, 0, AttoVersionSerializer_getInstance(), tmp4_local0);
|
|
163
167
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
164
168
|
break;
|
|
165
169
|
case 1:
|
|
166
|
-
tmp5_local1 = tmp11_input.
|
|
170
|
+
tmp5_local1 = tmp11_input.oz(tmp0_desc, 1, tmp12_cached[1].g3(), tmp5_local1);
|
|
167
171
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
168
172
|
break;
|
|
169
173
|
case 2:
|
|
170
|
-
tmp6_local2 = tmp11_input.
|
|
174
|
+
tmp6_local2 = tmp11_input.oz(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
|
|
171
175
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
172
176
|
break;
|
|
173
177
|
case 3:
|
|
174
|
-
tmp7_local3 = tmp11_input.
|
|
178
|
+
tmp7_local3 = tmp11_input.oz(tmp0_desc, 3, tmp12_cached[3].g3(), tmp7_local3);
|
|
175
179
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
176
180
|
break;
|
|
177
181
|
case 4:
|
|
178
|
-
tmp8_local4 = tmp11_input.
|
|
182
|
+
tmp8_local4 = tmp11_input.oz(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), tmp8_local4);
|
|
179
183
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
180
184
|
break;
|
|
181
185
|
case 5:
|
|
182
|
-
tmp9_local5 = tmp11_input.
|
|
186
|
+
tmp9_local5 = tmp11_input.oz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
183
187
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
184
188
|
break;
|
|
185
189
|
default:
|
|
186
|
-
throw UnknownFieldException().
|
|
190
|
+
throw UnknownFieldException().jw(tmp2_index);
|
|
187
191
|
}
|
|
188
192
|
}
|
|
189
|
-
tmp11_input.
|
|
190
|
-
return AttoVote().
|
|
193
|
+
tmp11_input.dz(tmp0_desc);
|
|
194
|
+
return AttoVote().s34(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
191
195
|
}
|
|
192
|
-
|
|
193
|
-
return this.
|
|
196
|
+
nu() {
|
|
197
|
+
return this.q34_1;
|
|
194
198
|
}
|
|
195
|
-
|
|
196
|
-
var tmp0_cached = Companion_getInstance_0().
|
|
199
|
+
f17() {
|
|
200
|
+
var tmp0_cached = Companion_getInstance_0().o34_1;
|
|
197
201
|
// Inline function 'kotlin.arrayOf' call
|
|
198
202
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
199
203
|
// Inline function 'kotlin.js.asDynamic' call
|
|
200
204
|
return [AttoVersionSerializer_getInstance(), tmp0_cached[1].g3(), AttoPublicKeyAsStringSerializer_getInstance(), tmp0_cached[3].g3(), AttoHashAsStringSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance()];
|
|
201
205
|
}
|
|
202
206
|
}
|
|
203
|
-
protoOf($).
|
|
207
|
+
protoOf($).g17 = typeParametersSerializers;
|
|
204
208
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
205
209
|
$serializerClass = $;
|
|
206
210
|
}
|
|
@@ -213,13 +217,13 @@ function $serializer_getInstance() {
|
|
|
213
217
|
return $serializer_instance;
|
|
214
218
|
}
|
|
215
219
|
function AttoVote$hash$delegate$lambda(this$0) {
|
|
216
|
-
return () => hash(this$0.
|
|
220
|
+
return () => hash(this$0.v2w());
|
|
217
221
|
}
|
|
218
222
|
function AttoVote$_get_hash_$ref_apyrns() {
|
|
219
223
|
return (p0) => p0.hash;
|
|
220
224
|
}
|
|
221
225
|
function AttoVote$_init_$lambda_d8h57x(this$0) {
|
|
222
|
-
return () => hash(this$0.
|
|
226
|
+
return () => hash(this$0.v2w());
|
|
223
227
|
}
|
|
224
228
|
var AttoVoteClass;
|
|
225
229
|
function AttoVote() {
|
|
@@ -234,28 +238,28 @@ function AttoVote() {
|
|
|
234
238
|
this.blockHash = blockHash;
|
|
235
239
|
this.timestamp = timestamp;
|
|
236
240
|
var tmp = this;
|
|
237
|
-
tmp.
|
|
241
|
+
tmp.u33_1 = lazy_0(AttoVote$hash$delegate$lambda(this));
|
|
238
242
|
}
|
|
239
|
-
|
|
243
|
+
z2u() {
|
|
240
244
|
return this.version;
|
|
241
245
|
}
|
|
242
|
-
|
|
246
|
+
a2v() {
|
|
243
247
|
return this.algorithm;
|
|
244
248
|
}
|
|
245
|
-
|
|
249
|
+
x2u() {
|
|
246
250
|
return this.publicKey;
|
|
247
251
|
}
|
|
248
|
-
|
|
252
|
+
t34() {
|
|
249
253
|
return this.blockAlgorithm;
|
|
250
254
|
}
|
|
251
|
-
|
|
255
|
+
u34() {
|
|
252
256
|
return this.blockHash;
|
|
253
257
|
}
|
|
254
|
-
|
|
258
|
+
k2w() {
|
|
255
259
|
return this.timestamp;
|
|
256
260
|
}
|
|
257
|
-
|
|
258
|
-
var tmp0 = this.
|
|
261
|
+
f2w() {
|
|
262
|
+
var tmp0 = this.u33_1;
|
|
259
263
|
var tmp = KProperty1();
|
|
260
264
|
// Inline function 'kotlin.getValue' call
|
|
261
265
|
getPropertyCallableRef('hash', 1, tmp, AttoVote$_get_hash_$ref_apyrns(), null);
|
|
@@ -273,7 +277,7 @@ function AttoVote() {
|
|
|
273
277
|
var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(tmp0) & 65535);
|
|
274
278
|
return uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other)) <= 0;
|
|
275
279
|
}
|
|
276
|
-
|
|
280
|
+
v2w() {
|
|
277
281
|
// Inline function 'kotlin.apply' call
|
|
278
282
|
var this_0 = new (Buffer())();
|
|
279
283
|
writeAttoVersion(this_0, this.version);
|
|
@@ -284,25 +288,25 @@ function AttoVote() {
|
|
|
284
288
|
writeInstant(this_0, this.timestamp);
|
|
285
289
|
return this_0;
|
|
286
290
|
}
|
|
287
|
-
|
|
291
|
+
hf() {
|
|
288
292
|
return this.version;
|
|
289
293
|
}
|
|
290
|
-
|
|
294
|
+
if() {
|
|
291
295
|
return this.algorithm;
|
|
292
296
|
}
|
|
293
|
-
|
|
297
|
+
q2v() {
|
|
294
298
|
return this.publicKey;
|
|
295
299
|
}
|
|
296
|
-
|
|
300
|
+
r2v() {
|
|
297
301
|
return this.blockAlgorithm;
|
|
298
302
|
}
|
|
299
|
-
|
|
303
|
+
s2v() {
|
|
300
304
|
return this.blockHash;
|
|
301
305
|
}
|
|
302
|
-
|
|
306
|
+
t2v() {
|
|
303
307
|
return this.timestamp;
|
|
304
308
|
}
|
|
305
|
-
|
|
309
|
+
v34(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) {
|
|
306
310
|
return new (AttoVote())(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
|
|
307
311
|
}
|
|
308
312
|
copy(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, $super) {
|
|
@@ -312,7 +316,7 @@ function AttoVote() {
|
|
|
312
316
|
blockAlgorithm = blockAlgorithm === VOID ? this.blockAlgorithm : blockAlgorithm;
|
|
313
317
|
blockHash = blockHash === VOID ? this.blockHash : blockHash;
|
|
314
318
|
timestamp = timestamp === VOID ? this.timestamp : timestamp;
|
|
315
|
-
return $super === VOID ? this.
|
|
319
|
+
return $super === VOID ? this.v34(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) : $super.v34.call(this, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
|
|
316
320
|
}
|
|
317
321
|
toString() {
|
|
318
322
|
return 'AttoVote(version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', blockAlgorithm=' + this.blockAlgorithm.toString() + ', blockHash=' + this.blockHash.toString() + ', timestamp=' + this.timestamp.toString() + ')';
|
|
@@ -345,10 +349,10 @@ function AttoVote() {
|
|
|
345
349
|
return false;
|
|
346
350
|
return true;
|
|
347
351
|
}
|
|
348
|
-
static
|
|
352
|
+
static s34(seen0, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, serializationConstructorMarker) {
|
|
349
353
|
Companion_getInstance_0();
|
|
350
354
|
if (!(63 === (63 & seen0))) {
|
|
351
|
-
throwMissingFieldException(seen0, 63, $serializer_getInstance().
|
|
355
|
+
throwMissingFieldException(seen0, 63, $serializer_getInstance().q34_1);
|
|
352
356
|
}
|
|
353
357
|
var $this = createThis(this);
|
|
354
358
|
$this.version = version;
|
|
@@ -358,14 +362,15 @@ function AttoVote() {
|
|
|
358
362
|
$this.blockHash = blockHash;
|
|
359
363
|
$this.timestamp = timestamp;
|
|
360
364
|
var tmp = $this;
|
|
361
|
-
tmp.
|
|
365
|
+
tmp.u33_1 = lazy_0(AttoVote$_init_$lambda_d8h57x($this));
|
|
362
366
|
return $this;
|
|
363
367
|
}
|
|
364
368
|
get hash() {
|
|
365
|
-
return this.
|
|
369
|
+
return this.f2w();
|
|
366
370
|
}
|
|
367
371
|
}
|
|
368
|
-
|
|
372
|
+
protoOf($).toByteArray = toByteArray;
|
|
373
|
+
initMetadataForClass($, 'AttoVote', VOID, VOID, [AttoHashable(), AttoSerializable()], VOID, VOID, {0: $serializer_getInstance});
|
|
369
374
|
AttoVoteClass = $;
|
|
370
375
|
}
|
|
371
376
|
return AttoVoteClass;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVote.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Lazy.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVote.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Lazy.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.io.Buffer\nimport kotlinx.io.readByteArray\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.ByteArraySerializer\nimport kotlinx.serialization.descriptors.PrimitiveKind\nimport kotlinx.serialization.descriptors.PrimitiveSerialDescriptor\nimport kotlinx.serialization.encoding.Decoder\nimport kotlinx.serialization.encoding.Encoder\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable\ndata class AttoVote(\n val version: AttoVersion,\n val algorithm: AttoAlgorithm,\n val publicKey: AttoPublicKey,\n val blockAlgorithm: AttoAlgorithm,\n val blockHash: AttoHash,\n val timestamp: AttoInstant,\n) : AttoHashable,\n AttoSerializable {\n override val hash by lazy { toBuffer().hash() }\n\n companion object {\n val finalTimestamp = AttoInstant.fromEpochMilliseconds(Long.MAX_VALUE)\n }\n\n fun isFinal(): Boolean = timestamp == finalTimestamp\n\n fun isValid(): Boolean = version.value <= 0U\n\n @JsExport.Ignore\n override fun toBuffer(): Buffer =\n Buffer().apply {\n this.writeAttoVersion(version)\n this.writeAttoAlgorithm(algorithm)\n this.writeAttoPublicKey(publicKey)\n this.writeAttoAlgorithm(blockAlgorithm)\n this.writeAttoHash(blockHash)\n this.writeInstant(timestamp)\n }\n}\n\ndata class AttoSignedVote(\n val vote: AttoVote,\n val signature: AttoSignature,\n) : AttoHashable,\n AttoSerializable {\n override val hash by lazy { vote.hash }\n\n companion object {}\n\n fun isFinal() = vote.isFinal()\n\n fun isValid(): Boolean = vote.isValid() && signature.isValid(vote.publicKey, hash)\n\n override fun toBuffer(): Buffer =\n Buffer().apply {\n val serializedVote = vote.toBuffer()\n this.write(serializedVote, serializedVote.size)\n this.writeAttoSignature(signature)\n }\n}\n\nfun AttoVote.Companion.fromBuffer(buffer: Buffer): AttoVote =\n AttoVote(\n version = buffer.readAttoVersion(),\n algorithm = buffer.readAttoAlgorithm(),\n publicKey = buffer.readAttoPublicKey(),\n blockAlgorithm = buffer.readAttoAlgorithm(),\n blockHash = buffer.readAttoHash(),\n timestamp = buffer.readInstant(),\n )\n\nfun AttoSignedVote.Companion.fromBuffer(buffer: Buffer): AttoSignedVote {\n val vote = AttoVote.fromBuffer(buffer)\n return AttoSignedVote(\n vote = vote,\n signature = buffer.readAttoSignature(),\n )\n}\n\nobject AttoSignedVoteAsByteArraySerializer : KSerializer<AttoSignedVote> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoSignedVoteAsByteArray\", PrimitiveKind.BYTE)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoSignedVote,\n ) {\n encoder.encodeSerializableValue(ByteArraySerializer(), value.toBuffer().readByteArray())\n }\n\n override fun deserialize(decoder: Decoder): AttoSignedVote =\n AttoSignedVote.fromBuffer(decoder.decodeSerializableValue(ByteArraySerializer()).toBuffer())\n}\n",null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["AttoVote$Companion$$childSerializers$<anonymous>","<get-finalTimestamp>","serializer","serialize","encoder","value","deserialize","childSerializers","AttoVote$hash$delegate$lambda","AttoVote$hash$delegate$lambda$lambda","AttoVote$<init>$lambda","AttoVote$<init>$lambda$lambda","version","algorithm","publicKey","blockAlgorithm","blockHash","timestamp","<get-version>","<get-algorithm>","<get-publicKey>","<get-blockAlgorithm>","<get-blockHash>","<get-timestamp>","<get-hash>","isFinal","isValid","toBuffer","result"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAeAA,CAAAA,EAAA;A,EAAA,oC;AAgCA,C;kEAhCAA,CAAAA,EAAA;A,EAAA,oC;AAgCA,C;;;;;;;kBAlBI,I;;gCAdJ,uD;;;;;QAcI,4CAdJ,yDAcI,c;QACqC,+DAA2B,oBAA3B,C;;SAAjCC,CAAAA,EAAA;A,QAAA,0B;MAAiB,C;SADrBC,CAAAA,EAAA;A,QAAA,gC;MAEA,C;;;;;;;;;;;;;;;;;;;YAhBJ,gG;QAAA,qC;QAAA,uC;QAAA,uC;QAAA,4C;QAAA,uC;QAAA,uC;QAAA,4B;;SAAAC,CAAA,O,EAAA,KAAAA,EAAA;A,YAAA,sB;YAAA,mC;YAAA,6C;QAAA,iF;QAAA,mE;QAAA,6F;QAAA,wE;QAAA,wF;QAAA,yF;QAAA,yB;MAgCA,C;SAsDglHC,O,EAAkBC,K;;;QAtFlmHC,CAAA,OAAAA,EAAA;A,YAAA,sB;YAAA,gB;YAAA,c;YAAA,iB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,mC;YAAA,8C;QAAA,qB,CAAA;A,UAAA,4F;UAAA,iC;UAAA,6E;UAAA,iC;UAAA,sG;UAAA,iC;UAAA,6E;UAAA,iC;UAAA,iG;UAAA,kC;UAAA,kG;UAAA,kC;QAgCA,C;iBAhCA,S,EAAA;A,YAAA,sC;YAAA,mB;mBAAA,E;gBAAA,iB;;mBAAA,C;gBAAA,4F;gBAAA,iC;;mBAAA,C;gBAAA,6E;gBAAA,iC;;mBAAA,C;gBAAA,sG;gBAAA,iC;;mBAAA,C;gBAAA,6E;gBAAA,iC;;mBAAA,C;gBAAA,iG;gBAAA,kC;;mBAAA,C;gBAAA,kG;gBAAA,kC;;;gBAAA,4C;;UAgCA,C;QAhCA,yB;QAAA,wH;MAgCA,C;;;;SAhCAC,CAAAA,EAAA;A,YAAA,6C;;;;QAAA,0N;MAgCA,C;;;;;;;;;;;;;;sCApB8BC,CAZ9B,MAY8BA,E;SAAAC,CAAAA,KAAa,KAAX,YAAW,C;C;;iBAAlB,E,CAAA,I;;sCAAKC,CAZ9B,MAY8BA,E;SAAAC,CAAAA,KAAa,KAAX,YAAW,C;C;;;;;kBARvCC,O,EACAC,S,EACAC,S,EACAC,c,EACAC,S,EACAC,S;QATJ,yB;QAII,sB;QACA,0B;QACA,0B;QACA,oC;QACA,0B;QACA,0B;kBAGqB,I;QAAA,mBAAK,mCAAL,C;;SARrBC,CAAAA,EAAA;A,QAAA,mB;MAAuB,C;SACvBC,CAAAA,EAAA;A,QAAA,qB;MAA2B,C;SAC3BC,CAAAA,EAAA;A,QAAA,qB;MAA2B,C;SAC3BC,CAAAA,EAAA;A,QAAA,0B;MAAgC,C;SAChCC,CAAAA,EAAA;A,QAAA,qB;MAAsB,C;SACtBC,CAAAA,EAAA;A,QAAA,qB;MAAyB,C;SAGhBC,CAAAA,EAAY;A,mBAAA,I,CAAA,K;;;QAAA,8E;QAAA,OCwBmE,S;MDxB1C,C;aAM9CC,CAAAA,EAAyB;A,QAA2B,OAA3B,gDAAa,cAAb,C;MAA0B,C;aAEnDC,CAAAA,EAAyB;A,mBAAA,I,CAAA,O,CAAQ,K;;oBAAS,6B;;;qBE8UP,2BAAK,wCAAiB,KAAtB,C;QF9US,OG8BsB,YAAiB,+BAAL,MAAK,CAAjB,EAA6B,+BDAd,KCAc,CAA7B,CH9BzC,K;MAAkB,C;SAGlCC,CAAAA,EACL;A;qBAAA,gB;QACS,yBAAiB,IAAjB,CAAiB,OAAjB,C;QACA,2BAAmB,IAAnB,CAAmB,SAAnB,C;QACA,2BAAmB,IAAnB,CAAmB,SAAnB,C;QACA,2BAAmB,IAAnB,CAAmB,cAAnB,C;QACA,sBAAc,IAAd,CAAc,SAAd,C;QACA,qBAAa,IAAb,CAAa,SAAb,C;QACR,OIyCE,M;MJzCH,C;WA9CR;A,QAAA,mB;MAAA,C;WAAA;A,QAAA,qB;MAAA,C;YAAA;A,QAAA,qB;MAAA,C;YAAA;A,QAAA,0B;MAAA,C;YAAA;A,QAAA,qB;MAAA,C;YAAA;A,QAAA,qB;MAAA,C;+EAAA;A,QAAA,4F;MAAA,C;;qCAAA,I,CAAA,O;yCAAA,I,CAAA,S;yCAAA,I,CAAA,S;mDAAA,I,CAAA,c;yCAAA,I,CAAA,S;yCAAA,I,CAAA,S;;;iBAAA;A,QAAA,qS;MAAA,C;iBAAA;A,YAAAC,gC;QAAA,yD;QAAA,yD;QAAA,8D;QAAA,yD;QAAA,yD;QAAA,a;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,mC;UAAA,Y;QAAA,wC;UAAA,Y;QAAA,4C;UAAA,Y;QAAA,4C;UAAA,Y;QAAA,sD;UAAA,Y;QAAA,4C;UAAA,Y;QAAA,4C;UAAA,Y;QAAA,W;MAAA,C;;QAeA,yB;QAAA,2B;UAAA,sE;;;QAAA,uB;QAAA,2B;QAAA,2B;QAAA,qC;QAAA,2B;QAAA,2B;kBAAA,K;QAAA,YAYyB,OAAK,oCAAL,C;;;;;;;;;;;;;;;;;"}
|
|
@@ -66,13 +66,13 @@ function Companion() {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
this.SIZE = 8;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
p33() {
|
|
70
70
|
return this.SIZE;
|
|
71
71
|
}
|
|
72
72
|
parse(value) {
|
|
73
73
|
return new (AttoWork())(fromHexToByteArray(value));
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
x2t() {
|
|
76
76
|
return AttoWorkAsStringSerializer_getInstance();
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -112,15 +112,15 @@ function AttoWork() {
|
|
|
112
112
|
toString() {
|
|
113
113
|
return toHex(this.value);
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
hf() {
|
|
116
116
|
return this.value;
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
g31(value) {
|
|
119
119
|
return new (AttoWork())(value);
|
|
120
120
|
}
|
|
121
121
|
copy(value, $super) {
|
|
122
122
|
value = value === VOID ? this.value : value;
|
|
123
|
-
return $super === VOID ? this.
|
|
123
|
+
return $super === VOID ? this.g31(value) : $super.g31.call(this, value);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
initMetadataForClass($, 'AttoWork', VOID, VOID, VOID, VOID, VOID, {0: AttoWorkAsStringSerializer_getInstance});
|
|
@@ -130,10 +130,10 @@ function AttoWork() {
|
|
|
130
130
|
}
|
|
131
131
|
function getThreshold(_this__u8e3s4, network, timestamp) {
|
|
132
132
|
_init_properties_AttoWork_kt__ln1ynz();
|
|
133
|
-
if (timestamp.
|
|
134
|
-
throw IllegalArgumentException().t2('Timestamp(' + timestamp.toString() + ') lower than initialInstant(' + Companion_getInstance().
|
|
133
|
+
if (timestamp.m2v(Companion_getInstance().b31_1) < 0) {
|
|
134
|
+
throw IllegalArgumentException().t2('Timestamp(' + timestamp.toString() + ') lower than initialInstant(' + Companion_getInstance().b31_1.toString() + ')');
|
|
135
135
|
}
|
|
136
|
-
return ensureNotNull(ensureNotNull(get_thresholdCache().
|
|
136
|
+
return ensureNotNull(ensureNotNull(get_thresholdCache().t4(network)).t4(toLocalDateTime(timestamp.value, Companion_getInstance_0().b2r_1).y2e())).ls_1;
|
|
137
137
|
}
|
|
138
138
|
var AttoWorkAsStringSerializerClass;
|
|
139
139
|
function AttoWorkAsStringSerializer() {
|
|
@@ -141,19 +141,19 @@ function AttoWorkAsStringSerializer() {
|
|
|
141
141
|
class $ {
|
|
142
142
|
constructor() {
|
|
143
143
|
AttoWorkAsStringSerializer_instance = this;
|
|
144
|
-
this.
|
|
144
|
+
this.w34_1 = PrimitiveSerialDescriptor('AttoWorkAsString', STRING_getInstance());
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
return this.
|
|
146
|
+
nu() {
|
|
147
|
+
return this.w34_1;
|
|
148
148
|
}
|
|
149
|
-
|
|
150
|
-
encoder.
|
|
149
|
+
x34(encoder, value) {
|
|
150
|
+
encoder.g10(value.toString());
|
|
151
151
|
}
|
|
152
|
-
|
|
153
|
-
return this.
|
|
152
|
+
ou(encoder, value) {
|
|
153
|
+
return this.x34(encoder, value instanceof AttoWork() ? value : THROW_CCE());
|
|
154
154
|
}
|
|
155
|
-
|
|
156
|
-
return Companion_instance.parse(decoder.
|
|
155
|
+
pu(decoder) {
|
|
156
|
+
return Companion_instance.parse(decoder.xy());
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
initMetadataForObject($, 'AttoWorkAsStringSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -170,24 +170,24 @@ function AttoWorkAsStringSerializer_getInstance() {
|
|
|
170
170
|
function initializeThresholdCache() {
|
|
171
171
|
_init_properties_AttoWork_kt__ln1ynz();
|
|
172
172
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
173
|
-
var cache = LinkedHashMap().
|
|
173
|
+
var cache = LinkedHashMap().t5();
|
|
174
174
|
var _iterator__ex2g4s = get_entries().q1();
|
|
175
175
|
while (_iterator__ex2g4s.r1()) {
|
|
176
176
|
var network = _iterator__ex2g4s.s1();
|
|
177
177
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
178
|
-
var yearMap = LinkedHashMap().
|
|
179
|
-
var inductionVariable = Companion_getInstance().
|
|
180
|
-
var last = toLocalDateTime(System_instance.
|
|
178
|
+
var yearMap = LinkedHashMap().t5();
|
|
179
|
+
var inductionVariable = Companion_getInstance().a31_1.z2e_1;
|
|
180
|
+
var last = toLocalDateTime(System_instance.wo(), Companion_getInstance_0().b2r_1).y2e() + 10 | 0;
|
|
181
181
|
if (inductionVariable <= last)
|
|
182
182
|
do {
|
|
183
183
|
var year = inductionVariable;
|
|
184
184
|
inductionVariable = inductionVariable + 1 | 0;
|
|
185
185
|
// Inline function 'kotlin.math.pow' call
|
|
186
|
-
var x = (year - Companion_getInstance().
|
|
186
|
+
var x = (year - Companion_getInstance().a31_1.z2e_1 | 0) / Companion_getInstance().c31_1;
|
|
187
187
|
// Inline function 'kotlin.toULong' call
|
|
188
188
|
var this_0 = Math.pow(2.0, x);
|
|
189
189
|
var decreaseFactor = doubleToULong(this_0);
|
|
190
|
-
var tmp0 = Companion_getInstance().
|
|
190
|
+
var tmp0 = Companion_getInstance().z30_1;
|
|
191
191
|
// Inline function 'kotlin.ULong.times' call
|
|
192
192
|
var other = network.thresholdIncreaseFactor;
|
|
193
193
|
var initialThreshold = _ULong___init__impl__c78o9k(multiply(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
@@ -196,18 +196,18 @@ function initializeThresholdCache() {
|
|
|
196
196
|
var tmp$ret$5 = ulongDivide(initialThreshold, decreaseFactor);
|
|
197
197
|
// Inline function 'kotlin.collections.set' call
|
|
198
198
|
var value = new (ULong())(tmp$ret$5);
|
|
199
|
-
yearMap.
|
|
199
|
+
yearMap.l4(tmp2, value);
|
|
200
200
|
}
|
|
201
201
|
while (!(year === last));
|
|
202
202
|
// Inline function 'kotlin.collections.set' call
|
|
203
203
|
var value_0 = toMap(yearMap);
|
|
204
|
-
cache.
|
|
204
|
+
cache.l4(network, value_0);
|
|
205
205
|
}
|
|
206
206
|
return toMap(cache);
|
|
207
207
|
}
|
|
208
208
|
function isValid_0(_this__u8e3s4, threshold, target, work) {
|
|
209
209
|
_init_properties_AttoWork_kt__ln1ynz();
|
|
210
|
-
var difficult = toULong(AttoHasher_instance.
|
|
210
|
+
var difficult = toULong(AttoHasher_instance.n2w(8, [work, target]));
|
|
211
211
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
212
212
|
return ulongCompare(_ULong___get_data__impl__fggpzb(difficult), _ULong___get_data__impl__fggpzb(threshold)) <= 0;
|
|
213
213
|
}
|