@attocash/commons-test 6.2.1 → 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 +20 -20
- 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 +121 -121
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +151 -151
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +130 -130
- 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 +24 -24
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +46 -46
- 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 +105 -105
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +48 -48
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +59 -59
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +15 -15
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/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 +13 -13
- 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 +62 -54
- 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 +868 -860
- 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.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +6 -6
- 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 +18 -18
- 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 +96 -96
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +6 -6
- 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.export.mjs.map +1 -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 +74 -11
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +76 -0
- 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 +24 -24
- 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 +4 -4
- 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-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} +375 -419
- 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 +7 -7
- 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} +70 -41
- 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} +18 -18
- 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 +37 -37
- 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} +134 -129
- 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 +57 -57
- 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 +7 -7
- 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} +70 -41
- 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} +18 -18
- 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 +8 -8
- 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 +320 -320
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +31 -31
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +36 -48
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +55 -59
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +14 -14
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +33 -45
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +40 -40
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.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 +73 -73
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +36 -36
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.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 +14 -14
- 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 +27 -27
- 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/DeepRecursive.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +10 -5
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +31 -31
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +191 -191
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +9 -0
- 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 +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +91 -0
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +43 -43
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- 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 +24 -24
- 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 +22 -22
- 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 +29 -29
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +26 -26
- 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/StringBuilderJs.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +62 -62
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +76 -76
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +167 -167
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +43 -43
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +85 -85
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +318 -318
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +438 -438
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +48 -48
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +56 -56
- 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 +33 -33
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- 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 +46 -46
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +75 -75
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +52 -52
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +35 -35
- 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 +189 -189
- 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 +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +53 -53
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +150 -150
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +41 -41
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +45 -45
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +53 -53
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +232 -232
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +17 -17
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +97 -97
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +31 -31
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +61 -61
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +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/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +21 -21
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +64 -64
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +177 -177
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +214 -214
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- 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 +71 -71
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +50 -50
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +46 -46
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
- 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 +23 -23
- 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 +32 -32
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +7 -7
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +71 -71
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +77 -77
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +55 -55
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -114
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- 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 +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
- 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 +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +57 -57
- 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 +22 -22
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- 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 +14 -14
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +39 -39
- 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 +67 -67
- 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 +59 -59
- 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 +21 -21
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +89 -89
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +11 -11
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +73 -73
- 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 +125 -125
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- 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 +28 -28
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +37 -37
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +79 -79
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- 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 +40 -40
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +36 -36
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +82 -82
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +100 -100
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- 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 +52 -52
- 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 +17 -17
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
- 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.export.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
- /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-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
|
@@ -38,7 +38,7 @@ var imul = Math.imul;
|
|
|
38
38
|
//region block: pre-declaration
|
|
39
39
|
//endregion
|
|
40
40
|
function checksum($this, algorithm, publicKey) {
|
|
41
|
-
return AttoHasher_instance.
|
|
41
|
+
return AttoHasher_instance.v4l(5, [algorithm, publicKey]);
|
|
42
42
|
}
|
|
43
43
|
function checksum_0($this, algorithm, publicKey) {
|
|
44
44
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -53,7 +53,7 @@ function toAlgorithmPublicKey($this, decoded) {
|
|
|
53
53
|
// Inline function 'kotlin.toUByte' call
|
|
54
54
|
var this_0 = decoded[0];
|
|
55
55
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
|
|
56
|
-
var algorithm = tmp.
|
|
56
|
+
var algorithm = tmp.y4l(tmp$ret$0);
|
|
57
57
|
var publicKey = new (AttoPublicKey())(sliceArray(decoded, until(1, 33)));
|
|
58
58
|
return to(algorithm, publicKey);
|
|
59
59
|
}
|
|
@@ -69,17 +69,17 @@ function Companion() {
|
|
|
69
69
|
var tmp = this;
|
|
70
70
|
// Inline function 'kotlin.text.toRegex' call
|
|
71
71
|
var this_0 = '^atto://[a-z2-7]{61}$';
|
|
72
|
-
tmp.
|
|
73
|
-
this.
|
|
72
|
+
tmp.z4l_1 = Regex().nh(this_0);
|
|
73
|
+
this.a4m_1 = 5;
|
|
74
74
|
}
|
|
75
75
|
isValid(value) {
|
|
76
|
-
if (!this.
|
|
76
|
+
if (!this.z4l_1.oh(value)) {
|
|
77
77
|
return false;
|
|
78
78
|
}
|
|
79
79
|
var decoded = fromAddress(value);
|
|
80
80
|
var _destruct__k2r9zo = toAlgorithmPublicKey(this, decoded);
|
|
81
|
-
var algorithm = _destruct__k2r9zo.
|
|
82
|
-
var publicKey = _destruct__k2r9zo.
|
|
81
|
+
var algorithm = _destruct__k2r9zo.bf();
|
|
82
|
+
var publicKey = _destruct__k2r9zo.cf();
|
|
83
83
|
var checksum = sliceArray(decoded, until(33, decoded.length));
|
|
84
84
|
return contentEquals(checksum, checksum_0(this, algorithm, publicKey));
|
|
85
85
|
}
|
|
@@ -106,11 +106,11 @@ function Companion() {
|
|
|
106
106
|
// Inline function 'kotlin.toUByte' call
|
|
107
107
|
var this_0 = serialized[0];
|
|
108
108
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
|
|
109
|
-
var algorithm = tmp.
|
|
109
|
+
var algorithm = tmp.y4l(tmp$ret$0);
|
|
110
110
|
var publicKey = new (AttoPublicKey())(sliceArray(serialized, until(1, serialized.length)));
|
|
111
111
|
return new (AttoAddress())(algorithm, publicKey);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
yq(value) {
|
|
114
114
|
var address = startsWith(value, 'atto://') ? value : 'atto://' + value;
|
|
115
115
|
// Inline function 'kotlin.require' call
|
|
116
116
|
if (!this.isValid(address)) {
|
|
@@ -118,14 +118,14 @@ function Companion() {
|
|
|
118
118
|
throw IllegalArgumentException().s2(toString(message));
|
|
119
119
|
}
|
|
120
120
|
var _destruct__k2r9zo = toAlgorithmPublicKey_0(this, address);
|
|
121
|
-
var algorithm = _destruct__k2r9zo.
|
|
122
|
-
var publicKey = _destruct__k2r9zo.
|
|
121
|
+
var algorithm = _destruct__k2r9zo.bf();
|
|
122
|
+
var publicKey = _destruct__k2r9zo.cf();
|
|
123
123
|
return new (AttoAddress())(algorithm, publicKey);
|
|
124
124
|
}
|
|
125
125
|
parsePath(path) {
|
|
126
|
-
return this.
|
|
126
|
+
return this.yq(path);
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
b1h() {
|
|
129
129
|
return AttoAddressAsStringSerializer_getInstance();
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -140,6 +140,9 @@ function Companion_getInstance_0() {
|
|
|
140
140
|
new (Companion())();
|
|
141
141
|
return Companion_instance;
|
|
142
142
|
}
|
|
143
|
+
function parse(value) {
|
|
144
|
+
return Companion_getInstance_0().yq(value);
|
|
145
|
+
}
|
|
143
146
|
var AttoAddressClass;
|
|
144
147
|
function AttoAddress() {
|
|
145
148
|
if (AttoAddressClass === VOID) {
|
|
@@ -152,44 +155,44 @@ function AttoAddress() {
|
|
|
152
155
|
this.path = Companion_getInstance_0().toAddressPath(this.algorithm, this.publicKey);
|
|
153
156
|
this.value = this.schema + this.path;
|
|
154
157
|
}
|
|
155
|
-
|
|
158
|
+
i4k() {
|
|
156
159
|
return this.algorithm;
|
|
157
160
|
}
|
|
158
|
-
|
|
161
|
+
g4k() {
|
|
159
162
|
return this.publicKey;
|
|
160
163
|
}
|
|
161
|
-
|
|
164
|
+
b4m() {
|
|
162
165
|
return this.schema;
|
|
163
166
|
}
|
|
164
|
-
|
|
167
|
+
c4m() {
|
|
165
168
|
return this.path;
|
|
166
169
|
}
|
|
167
170
|
g3() {
|
|
168
171
|
return this.value;
|
|
169
172
|
}
|
|
170
|
-
|
|
173
|
+
d4m() {
|
|
171
174
|
// Inline function 'kotlin.apply' call
|
|
172
175
|
var this_0 = new (Buffer())();
|
|
173
176
|
writeUByte(this_0, this.algorithm.code);
|
|
174
|
-
this_0.
|
|
177
|
+
this_0.c2j(this.publicKey.value, 0, this.publicKey.value.length);
|
|
175
178
|
return this_0;
|
|
176
179
|
}
|
|
177
180
|
toString() {
|
|
178
181
|
return this.value;
|
|
179
182
|
}
|
|
180
|
-
|
|
183
|
+
bf() {
|
|
181
184
|
return this.algorithm;
|
|
182
185
|
}
|
|
183
|
-
|
|
186
|
+
cf() {
|
|
184
187
|
return this.publicKey;
|
|
185
188
|
}
|
|
186
|
-
|
|
189
|
+
e4m(algorithm, publicKey) {
|
|
187
190
|
return new (AttoAddress())(algorithm, publicKey);
|
|
188
191
|
}
|
|
189
192
|
copy(algorithm, publicKey, $super) {
|
|
190
193
|
algorithm = algorithm === VOID ? this.algorithm : algorithm;
|
|
191
194
|
publicKey = publicKey === VOID ? this.publicKey : publicKey;
|
|
192
|
-
return $super === VOID ? this.
|
|
195
|
+
return $super === VOID ? this.e4m(algorithm, publicKey) : $super.e4m.call(this, algorithm, publicKey);
|
|
193
196
|
}
|
|
194
197
|
hashCode() {
|
|
195
198
|
var result = this.algorithm.hashCode();
|
|
@@ -222,19 +225,19 @@ function AttoAddressAsStringSerializer() {
|
|
|
222
225
|
class $ {
|
|
223
226
|
constructor() {
|
|
224
227
|
AttoAddressAsStringSerializer_instance = this;
|
|
225
|
-
this.
|
|
228
|
+
this.f4m_1 = PrimitiveSerialDescriptor('AttoAddressAsString', STRING_getInstance());
|
|
226
229
|
}
|
|
227
|
-
|
|
228
|
-
return this.
|
|
230
|
+
zs() {
|
|
231
|
+
return this.f4m_1;
|
|
229
232
|
}
|
|
230
|
-
|
|
231
|
-
encoder.
|
|
233
|
+
g4m(encoder, value) {
|
|
234
|
+
encoder.sy(value.toString());
|
|
232
235
|
}
|
|
233
|
-
|
|
234
|
-
return this.
|
|
236
|
+
at(encoder, value) {
|
|
237
|
+
return this.g4m(encoder, value instanceof AttoAddress() ? value : THROW_CCE());
|
|
235
238
|
}
|
|
236
|
-
|
|
237
|
-
return Companion_getInstance_0().
|
|
239
|
+
bt(decoder) {
|
|
240
|
+
return Companion_getInstance_0().yq(decoder.jx());
|
|
238
241
|
}
|
|
239
242
|
}
|
|
240
243
|
initMetadataForObject($, 'AttoAddressAsStringSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -253,7 +256,7 @@ function fromAddress(_this__u8e3s4) {
|
|
|
253
256
|
// Inline function 'kotlin.text.uppercase' call
|
|
254
257
|
// Inline function 'kotlin.js.asDynamic' call
|
|
255
258
|
var tmp$ret$1 = substring(_this__u8e3s4, 7).toUpperCase();
|
|
256
|
-
return tmp.
|
|
259
|
+
return tmp.j4m(tmp$ret$1 + '===');
|
|
257
260
|
}
|
|
258
261
|
function toAddressPath(_this__u8e3s4) {
|
|
259
262
|
// Inline function 'kotlin.require' call
|
|
@@ -263,13 +266,14 @@ function toAddressPath(_this__u8e3s4) {
|
|
|
263
266
|
}
|
|
264
267
|
// Inline function 'kotlin.text.lowercase' call
|
|
265
268
|
// Inline function 'kotlin.js.asDynamic' call
|
|
266
|
-
return replace(Base32_getInstance().
|
|
269
|
+
return replace(Base32_getInstance().k4m(_this__u8e3s4), '=', '').toLowerCase();
|
|
267
270
|
}
|
|
268
271
|
//region block: exports
|
|
269
272
|
export {
|
|
270
273
|
Companion as Companionbjcqn3f8pqzu,
|
|
271
274
|
AttoAddress as AttoAddressi1gjrmqbg81z,
|
|
272
275
|
toAddress as toAddress3631euu7evnij,
|
|
276
|
+
parse as parse1f2naevhetf25,
|
|
273
277
|
Companion_getInstance_0 as Companion_getInstance1473mqafveo6d,
|
|
274
278
|
AttoAddressAsStringSerializer_getInstance as AttoAddressAsStringSerializer_getInstance24yl5bwdaz5bm,
|
|
275
279
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAddress.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/text/regex/RegexExtensions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Preconditions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/text/stringJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","algorithm","publicKey","toAlgorithmPublicKey","decoded","value","isValid","isValidPath","path","toAddressPath","parse","serialized","address","message","parsePath","serializer","<get-algorithm>","<get-publicKey>","<get-schema>","<get-path>","<get-value>","toBuffer","toString","result","toAddress","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder","fromAddress"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6CgBA,CAAA,K,EACJC,S,EACAC,SAFIF,EAIJ;A,EAIC,OAJU,wBACP,CADO,EAEP,YACA,SADA,CAFO,C;AAIX,C;mBAEIA,CAAA,K,EACJC,S,EACAC,SAFIF,EAGO;A;eAAqB,S,CAAU,I;MC0PX,YAAJ,uC;;MChP0C,YFVtB,0B;EAA2B,OAA/D,gBAAS,SAAT,EAA+C,SAA/C,CAAyD,KAAzD,C;AAA8D,C;6BAErEG,CAAA,K,EAAyBC,OAAzBD,EAAiF;A;;eAClD,QAAQ,CAAR,C;MC+VM,YAAX,4BAAM,MAAN,C;MD/V9BF,YAA8B,QAAgB,SAAhB,C;MAC9BC,kCAAsC,WAAR,OAAQ,EAAW,SAAQ,EAAR,CAAX,CAAtCA,C;EAEA,OAAO,cAAa,SAAb,C;AACX,C;+BAEQC,CAAA,K,EAAyBE,KAAzBF,EAA8E;A,EAAyC,OAAzC,4BAA2B,YAAN,KAAM,CAA3B,C;AAAwC,C;;;;;;;kBAzBlF,I;;qBAAxB,uB;QAAwB,uBG5BF,MH4BE,C;QACV,c;;aA0BlCG,CAAYD,KAAZC,EAAoC;A,QAC5B,KAAC,IAAM,CAAN,KAAM,IAAQ,KAAR,CAAP,C,CAAuB;A,UACvB,OAAO,K;QACX,C;YACAF,UAAoB,YAAN,KAAM,C;YAEpB,oBAA6B,2BAAqB,OAArB,C;YAAxBH,kC;YAAWC,kC;YAChBF,WAAuB,WAAR,OAAQ,EAAW,UAAS,OAA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AAyC,OAA7B,gCAAM,OAAQ,KAAd,C;MAA4B,C;;;;;;;;;;;;;oBAhH9FE,CAAIN,aAAJM,EAAsC;A;;;MO0LiC,YP1Ld,UAAL,aAAK,EAAiB,CAAjB,CO0LC,c;EP1L4C,OAAzD,QAAqC,SAA9B,GAA4C,KAAnD,C;AAAwD,C;sBALrGtB,CAAIgB,aAAJhB,EAAsC;A;EKYtC,MLXI,cAAK,MAAL,KAAa,EKWjB,E,CAAQ;A,QACRI,ULZuB,gC;IKavB,oCAAuC,SAAR,OAAQ,CAAvC,C;EACJ,C;;;ELbA,OAA2B,QAAb,yBAAO,aAAP,CAAa,EAAQ,GAAR,EAAa,EAAb,COiNmC,c;APhNlE,C;;;;;"}
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAddress.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/text/regex/RegexExtensions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Preconditions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/text/stringJs.kt"],"sourcesContent":["@file:JvmName(\"AttoAddresses\")\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.Base32\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.io.Buffer\nimport kotlinx.io.readByteArray\nimport kotlinx.io.writeUByte\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.ExperimentalJsStatic\nimport kotlin.js.JsExport\nimport kotlin.js.JsName\nimport kotlin.js.JsStatic\nimport kotlin.jvm.JvmName\n\nprivate const val SCHEMA = \"atto://\"\n\nprivate fun ByteArray.toAddressPath(): String {\n require(this.size == 38) { \"ByteArray should have 38 bytes\" }\n return Base32.encode(this).replace(\"=\", \"\").lowercase()\n}\n\nprivate fun String.fromAddress(): ByteArray = Base32.decode(this.substring(SCHEMA.length).uppercase() + \"===\")\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable(with = AttoAddressAsStringSerializer::class)\ndata class AttoAddress(\n val algorithm: AttoAlgorithm,\n val publicKey: AttoPublicKey,\n) {\n val schema = SCHEMA\n val path = toAddressPath(algorithm, publicKey)\n val value = schema + path\n\n companion object {\n private val regex = \"^$SCHEMA[a-z2-7]{61}$\".toRegex()\n private const val CHECKSUM_SIZE = 5\n\n private fun checksum(\n algorithm: ByteArray,\n publicKey: ByteArray,\n ): ByteArray =\n AttoHasher.hash(\n CHECKSUM_SIZE,\n algorithm,\n publicKey,\n )\n\n private fun checksum(\n algorithm: AttoAlgorithm,\n publicKey: AttoPublicKey,\n ): ByteArray = checksum(byteArrayOf(algorithm.code.toByte()), publicKey.value)\n\n private fun toAlgorithmPublicKey(decoded: ByteArray): Pair<AttoAlgorithm, AttoPublicKey> {\n val algorithm = AttoAlgorithm.from(decoded[0].toUByte())\n val publicKey = AttoPublicKey(decoded.sliceArray(1 until 33))\n\n return algorithm to publicKey\n }\n\n private fun toAlgorithmPublicKey(value: String): Pair<AttoAlgorithm, AttoPublicKey> = toAlgorithmPublicKey(value.fromAddress())\n\n fun isValid(value: String): Boolean {\n if (!regex.matches(value)) {\n return false\n }\n val decoded = value.fromAddress()\n\n val (algorithm, publicKey) = toAlgorithmPublicKey(decoded)\n val checksum = decoded.sliceArray(33 until decoded.size)\n\n return checksum.contentEquals(checksum(algorithm, publicKey))\n }\n\n fun isValidPath(path: String): Boolean {\n val value = SCHEMA + path\n return isValid(value)\n }\n\n fun toAddressPath(\n algorithm: AttoAlgorithm,\n publicKey: AttoPublicKey,\n ): String {\n val algorithm = byteArrayOf(algorithm.code.toByte())\n val publicKey = publicKey.value\n val checksum = checksum(algorithm, publicKey)\n\n return (algorithm + publicKey + checksum).toAddressPath()\n }\n\n @JsName(\"parseSerialized\")\n fun parse(serialized: ByteArray): AttoAddress {\n val algorithm = AttoAlgorithm.from(serialized[0].toUByte())\n val publicKey = AttoPublicKey(serialized.sliceArray(1 until serialized.size))\n return AttoAddress(algorithm, publicKey)\n }\n\n @OptIn(ExperimentalJsStatic::class)\n @JsStatic\n fun parse(value: String): AttoAddress {\n val address = if (value.startsWith(SCHEMA)) value else SCHEMA + value\n require(isValid(address)) { \"$value is invalid\" }\n\n val (algorithm, publicKey) = toAlgorithmPublicKey(address)\n\n return AttoAddress(algorithm, publicKey)\n }\n\n @Deprecated(\"Use parse instead\", ReplaceWith(\"parse(path)\"))\n fun parsePath(path: String): AttoAddress = parse(path)\n }\n\n @JsExport.Ignore\n fun toBuffer(): Buffer =\n Buffer().apply {\n this.writeUByte(algorithm.code)\n this.write(publicKey.value, 0, publicKey.value.size)\n }\n\n override fun toString(): String = value\n}\n\n@JsExportForJs\nfun AttoPublicKey.toAddress(algorithm: AttoAlgorithm): AttoAddress = AttoAddress(algorithm, this)\n\nobject AttoAddressAsStringSerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsString\", PrimitiveKind.STRING)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeString(value.toString())\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeString())\n}\n\nobject AttoAddressAsPathStringSerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsPathString\", PrimitiveKind.STRING)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeString(value.path)\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeString())\n}\n\nobject AttoAddressAsByteArraySerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsByteArray\", PrimitiveKind.BYTE)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeSerializableValue(ByteArraySerializer(), value.toBuffer().readByteArray())\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeSerializableValue(ByteArraySerializer()))\n}\n",null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","algorithm","publicKey","toAlgorithmPublicKey","decoded","value","isValid","isValidPath","path","toAddressPath","parse","serialized","address","message","parsePath","serializer","<get-algorithm>","<get-publicKey>","<get-schema>","<get-path>","<get-value>","toBuffer","toString","result","toAddress","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder","fromAddress"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+CgBA,CAAA,K,EACJC,S,EACAC,SAFIF,EAIJ;A,EAIC,OAJU,wBACP,CADO,EAEP,YACA,SADA,CAFO,C;AAIX,C;mBAEIA,CAAA,K,EACJC,S,EACAC,SAFIF,EAGO;A;eAAqB,S,CAAU,I;MCwPX,YAAJ,uC;;MChP0C,YFRtB,0B;EAA2B,OAA/D,gBAAS,SAAT,EAA+C,SAA/C,CAAyD,KAAzD,C;AAA8D,C;6BAErEG,CAAA,K,EAAyBC,OAAzBD,EAAiF;A;;e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this) {
|
|
28
|
-
return $this.
|
|
28
|
+
return $this.g4j_1.g3();
|
|
29
29
|
}
|
|
30
30
|
function AttoAlgorithm$Companion$_anonymous__z50osy() {
|
|
31
31
|
return createSimpleEnumSerializer('cash.atto.commons.AttoAlgorithm', values());
|
|
@@ -47,15 +47,15 @@ function Companion() {
|
|
|
47
47
|
while (_iterator__ex2g4s.r1()) {
|
|
48
48
|
var element = _iterator__ex2g4s.s1();
|
|
49
49
|
var tmp$ret$0 = new (UByte())(element.code);
|
|
50
|
-
destination.
|
|
50
|
+
destination.t4(tmp$ret$0, element);
|
|
51
51
|
}
|
|
52
|
-
tmp.
|
|
52
|
+
tmp.f4j_1 = destination;
|
|
53
53
|
var tmp_0 = this;
|
|
54
54
|
var tmp_1 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
55
|
-
tmp_0.
|
|
55
|
+
tmp_0.g4j_1 = lazy(tmp_1, AttoAlgorithm$Companion$_anonymous__z50osy);
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
var tmp0_elvis_lhs = this.
|
|
57
|
+
y4l(code) {
|
|
58
|
+
var tmp0_elvis_lhs = this.f4j_1.o4(new (UByte())(code));
|
|
59
59
|
var tmp;
|
|
60
60
|
if (tmp0_elvis_lhs == null) {
|
|
61
61
|
throw IllegalArgumentException().s2('Unsupported algorithm ' + new (UByte())(code) + ' code');
|
|
@@ -64,11 +64,11 @@ function Companion() {
|
|
|
64
64
|
}
|
|
65
65
|
return tmp;
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
b1h() {
|
|
68
68
|
return _get_$cachedSerializer__te6jhj(this);
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
return this.
|
|
70
|
+
d16(typeParamsSerializers) {
|
|
71
|
+
return this.b1h();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
initMetadataForCompanion($, VOID, [SerializerFactory()]);
|
|
@@ -119,16 +119,16 @@ function AttoAlgorithm() {
|
|
|
119
119
|
this.publicKeySize = publicKeySize;
|
|
120
120
|
this.hashSize = hashSize;
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
l4m() {
|
|
123
123
|
return this.code;
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
m4m() {
|
|
126
126
|
return this.privateKeySize;
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
n4m() {
|
|
129
129
|
return this.publicKeySize;
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
o4m() {
|
|
132
132
|
return this.hashSize;
|
|
133
133
|
}
|
|
134
134
|
get name() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAlgorithm.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/common/src/generated/_Collections.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAlgorithm.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/common/src/generated/_Collections.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.Serializable\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@JsExportForJs\n@Serializable\nenum class AttoAlgorithm(\n val code: UByte,\n val privateKeySize: Int,\n val publicKeySize: Int,\n val hashSize: Int,\n) {\n V1(0u, 32, 32, 32), // BLAKE2B + ED25519\n ;\n\n companion object {\n private val map = AttoAlgorithm.entries.associateBy(AttoAlgorithm::code)\n\n @OptIn(ExperimentalJsExport::class)\n @JsExport.Ignore\n fun from(code: UByte): AttoAlgorithm = map[code] ?: throw IllegalArgumentException(\"Unsupported algorithm $code code\")\n }\n}\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-$cachedSerializer>","AttoAlgorithm$Companion$<anonymous>","capacity","element","from","code","serializer","values","valueOf","value","<get-entries>","privateKeySize","publicKeySize","hashSize","<get-code>","<get-privateKeySize>","<get-publicKeySize>","<get-hashSize>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;uCAkBIA,CAAA,KAAAA,EAAA;A,EAAA,uB;AAMA,C;mDANAC,CAAAA,EAAA;A,EAAA,8E;AAMA,C;;;;;;;;kBAL4C,I;;qBAAR,a;YCgrCpCC,WAAwD,cAAzC,YAAY,gCAAwB,EAAxB,CAAZ,CAAyC,EAAc,EAAd,C;;0BACnC,mBAAoB,QAApB,C;YA4BL,oBA5BT,MA4BS,K;eAAA,sB,EAAM;A,cAAjBC,UAAW,sB;wCACgB,O,CD9sCwB,I;UC8sCpD,WAAY,IAAI,SAAJ,EAA0B,OAA1B,C;QAChB,C;QD/sC4C,YCgtCrC,W;oBDjtCP,I;oBAAA,8C;QAAA,qE;;SAKIC,CAASC,IAATD,EAAuC;A,YAAA,6CAAI,IAAJ,E;;QAAA,2B;UAAa,oCAAgC,wBAAhC,iBAAuD,IAAvD,IAA2D,OAA3D,C;;gBAAb,c;;QAA+E,U;MAAD,C;SALzHE,CAAAA,EAAA;A,QAAA,2C;MAMA,C;SANAA,C,qBAAAA,EAAA;A,QAAA,iB;MAMA,C;;;;;;;;;;;;;;eAxBJC,CAAAA,E;;C;gBAAAC,CAOAC,KAPAD,E;;;;;;;C;oBAAAE,CAAAA,E;;;;C;;;;;;oDAAA,I,EAAA,C,EAeO,8B,EAAI,E,EAAI,E,EAAI,E;;;;;;;;iCALfL,I,EACAM,c,EACAC,a,EACAC,Q;;QAHA,gB;QACA,oC;QACA,kC;QACA,wB;;SAHAC,CAAAA,EAAA;A,QAAA,gB;MAAc,C;SACdC,CAAAA,EAAA;A,QAAA,0B;MAAsB,C;SACtBC,CAAAA,EAAA;A,QAAA,yB;MAAqB,C;SACrBC,CAAAA,EAAA;A,QAAA,oB;MAAgB,C;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -23,8 +23,7 @@ export declare namespace AttoUnit {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
export declare class AttoAmount /* implements Comparable<AttoAmount> */ {
|
|
26
|
-
constructor(
|
|
27
|
-
get raw(): bigint;
|
|
26
|
+
private constructor();
|
|
28
27
|
toFormattedString(unit: AttoUnit): string;
|
|
29
28
|
plus(amount: AttoAmount): AttoAmount;
|
|
30
29
|
minus(amount: AttoAmount): AttoAmount;
|
|
@@ -32,6 +31,8 @@ export declare class AttoAmount /* implements Comparable<AttoAmount> */ {
|
|
|
32
31
|
copy(raw?: bigint): AttoAmount;
|
|
33
32
|
hashCode(): number;
|
|
34
33
|
equals(other: Nullable<any>): boolean;
|
|
34
|
+
static get MAX(): AttoAmount;
|
|
35
|
+
static get MIN(): AttoAmount;
|
|
35
36
|
static from(unit: AttoUnit, string: string): AttoAmount;
|
|
36
37
|
}
|
|
37
38
|
export declare namespace AttoAmount {
|
|
@@ -46,8 +47,6 @@ export declare namespace AttoAmount {
|
|
|
46
47
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
47
48
|
namespace $metadata$ {
|
|
48
49
|
abstract class constructor {
|
|
49
|
-
get MAX(): AttoAmount;
|
|
50
|
-
get MIN(): AttoAmount;
|
|
51
50
|
private constructor();
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -6,6 +6,8 @@ import {
|
|
|
6
6
|
AttoUnit_RAW_getInstance11a119riojt51 as AttoUnit_RAW_getInstance,
|
|
7
7
|
AttoAmount28z2ffm4ih7im as AttoAmount,
|
|
8
8
|
from3jnisfe2fcztd as from,
|
|
9
|
+
get_MAX2zywb5v5icuoh as get_MAX,
|
|
10
|
+
get_MINrg1454zqj3dr as get_MIN,
|
|
9
11
|
Companion311shwy120dnf as Companion,
|
|
10
12
|
Companion_getInstance28cx33iqjvgos as Companion_getInstance,
|
|
11
13
|
toAttoAmount2kbgjtdbld3yn as toAttoAmount,
|
|
@@ -24,6 +26,8 @@ defineProp(AttoUnit_0, 'ATTO', AttoUnit_ATTO_getInstance, VOID, true);
|
|
|
24
26
|
defineProp(AttoUnit_0, 'RAW', AttoUnit_RAW_getInstance, VOID, true);
|
|
25
27
|
var AttoAmount_0 = AttoAmount();
|
|
26
28
|
AttoAmount_0.from = from;
|
|
29
|
+
defineProp(AttoAmount_0, 'MAX', get_MAX, VOID, true);
|
|
30
|
+
defineProp(AttoAmount_0, 'MIN', get_MIN, VOID, true);
|
|
27
31
|
defineProp(AttoAmount_0, 'Companion', Companion_getInstance, VOID, true);
|
|
28
32
|
export {
|
|
29
33
|
AttoUnit_0 as AttoUnit,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -81,13 +81,13 @@ function AttoUnit() {
|
|
|
81
81
|
constructor(name, ordinal, prefix, scale) {
|
|
82
82
|
super(name, ordinal);
|
|
83
83
|
this.prefix = prefix;
|
|
84
|
-
this.
|
|
84
|
+
this.r4m_1 = scale;
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
s4m() {
|
|
87
87
|
return this.prefix;
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
return this.
|
|
89
|
+
t4m() {
|
|
90
|
+
return this.r4m_1;
|
|
91
91
|
}
|
|
92
92
|
get name() {
|
|
93
93
|
return this.i1();
|
|
@@ -128,21 +128,21 @@ function Companion() {
|
|
|
128
128
|
class $ {
|
|
129
129
|
constructor() {
|
|
130
130
|
Companion_instance = this;
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
131
|
+
this.u4m_1 = _ULong___init__impl__c78o9k(-446744073709551616n);
|
|
132
|
+
this.v4m_1 = new (AttoAmount())(this.u4m_1);
|
|
133
|
+
this.w4m_1 = _ULong___init__impl__c78o9k(0n);
|
|
134
|
+
this.x4m_1 = new (AttoAmount())(this.w4m_1);
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
return this.
|
|
136
|
+
y4m() {
|
|
137
|
+
return this.v4m_1;
|
|
138
138
|
}
|
|
139
|
-
|
|
140
|
-
return this.
|
|
139
|
+
z4m() {
|
|
140
|
+
return this.x4m_1;
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
a4n(unit, string) {
|
|
143
143
|
var parts = split(string, charArrayOf([_Char___init__impl__6a9atx(46)]));
|
|
144
144
|
var wholePart = toULong(parts.v2(0));
|
|
145
|
-
var factor = scaleFactor(this, unit.
|
|
145
|
+
var factor = scaleFactor(this, unit.r4m_1);
|
|
146
146
|
// Inline function 'kotlin.ULong.times' call
|
|
147
147
|
var scaledValue = _ULong___init__impl__c78o9k(multiply(_ULong___get_data__impl__fggpzb(wholePart), _ULong___get_data__impl__fggpzb(factor)));
|
|
148
148
|
if (parts.u2() > 1) {
|
|
@@ -161,7 +161,7 @@ function Companion() {
|
|
|
161
161
|
}
|
|
162
162
|
return new (AttoAmount())(scaledValue);
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
b1h() {
|
|
165
165
|
return AttoAmountAsULongSerializer_getInstance();
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -176,8 +176,14 @@ function Companion_getInstance_0() {
|
|
|
176
176
|
new (Companion())();
|
|
177
177
|
return Companion_instance;
|
|
178
178
|
}
|
|
179
|
+
function get_MAX() {
|
|
180
|
+
return Companion_getInstance_0().v4m_1;
|
|
181
|
+
}
|
|
182
|
+
function get_MIN() {
|
|
183
|
+
return Companion_getInstance_0().x4m_1;
|
|
184
|
+
}
|
|
179
185
|
function from(unit, string) {
|
|
180
|
-
return Companion_getInstance_0().
|
|
186
|
+
return Companion_getInstance_0().a4n(unit, string);
|
|
181
187
|
}
|
|
182
188
|
var AttoAmountClass;
|
|
183
189
|
function AttoAmount() {
|
|
@@ -185,24 +191,24 @@ function AttoAmount() {
|
|
|
185
191
|
class $ {
|
|
186
192
|
constructor(raw) {
|
|
187
193
|
Companion_getInstance_0();
|
|
188
|
-
this.
|
|
189
|
-
var tmp0 = this.
|
|
194
|
+
this.b4n_1 = raw;
|
|
195
|
+
var tmp0 = this.b4n_1;
|
|
190
196
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
191
|
-
var other = Companion_getInstance_0().
|
|
197
|
+
var other = Companion_getInstance_0().u4m_1;
|
|
192
198
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) > 0) {
|
|
193
|
-
throw IllegalStateException().o('' + new (ULong())(this.
|
|
199
|
+
throw IllegalStateException().o('' + new (ULong())(this.b4n_1) + ' exceeds the max amount of ' + new (ULong())(Companion_getInstance_0().u4m_1));
|
|
194
200
|
}
|
|
195
201
|
}
|
|
196
|
-
|
|
197
|
-
return this.
|
|
202
|
+
c4n() {
|
|
203
|
+
return this.b4n_1;
|
|
198
204
|
}
|
|
199
205
|
toFormattedString(unit) {
|
|
200
|
-
var factor = scaleFactor(Companion_getInstance_0(), unit.
|
|
206
|
+
var factor = scaleFactor(Companion_getInstance_0(), unit.r4m_1);
|
|
201
207
|
// Inline function 'kotlin.ULong.div' call
|
|
202
|
-
var this_0 = this.
|
|
208
|
+
var this_0 = this.b4n_1;
|
|
203
209
|
var wholePart = ulongDivide(this_0, factor);
|
|
204
210
|
// Inline function 'kotlin.ULong.rem' call
|
|
205
|
-
var this_1 = this.
|
|
211
|
+
var this_1 = this.b4n_1;
|
|
206
212
|
var fractionalPart = ulongRemainder(this_1, factor);
|
|
207
213
|
var tmp;
|
|
208
214
|
if (fractionalPart === _ULong___init__impl__c78o9k(0n)) {
|
|
@@ -210,7 +216,7 @@ function AttoAmount() {
|
|
|
210
216
|
} else {
|
|
211
217
|
var tmp_0 = ULong__toString_impl_f9au7k(fractionalPart);
|
|
212
218
|
// Inline function 'kotlin.UByte.toInt' call
|
|
213
|
-
var this_2 = unit.
|
|
219
|
+
var this_2 = unit.r4m_1;
|
|
214
220
|
var tmp$ret$2 = _UByte___get_data__impl__jof9qr(this_2) & 255;
|
|
215
221
|
var fractionalStr = trimEnd(padStart(tmp_0, tmp$ret$2, _Char___init__impl__6a9atx(48)), charArrayOf([_Char___init__impl__6a9atx(48)]));
|
|
216
222
|
tmp = '' + new (ULong())(wholePart) + '.' + fractionalStr;
|
|
@@ -218,18 +224,18 @@ function AttoAmount() {
|
|
|
218
224
|
return tmp;
|
|
219
225
|
}
|
|
220
226
|
plus(amount) {
|
|
221
|
-
var tmp0 = this.
|
|
227
|
+
var tmp0 = this.b4n_1;
|
|
222
228
|
// Inline function 'kotlin.ULong.plus' call
|
|
223
|
-
var other = amount.
|
|
229
|
+
var other = amount.b4n_1;
|
|
224
230
|
var total = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
225
231
|
var tmp;
|
|
226
232
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
227
|
-
var other_0 = this.
|
|
233
|
+
var other_0 = this.b4n_1;
|
|
228
234
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_0)) < 0) {
|
|
229
235
|
tmp = true;
|
|
230
236
|
} else {
|
|
231
237
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
232
|
-
var other_1 = amount.
|
|
238
|
+
var other_1 = amount.b4n_1;
|
|
233
239
|
tmp = ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_1)) < 0;
|
|
234
240
|
}
|
|
235
241
|
if (tmp) {
|
|
@@ -238,48 +244,48 @@ function AttoAmount() {
|
|
|
238
244
|
return new (AttoAmount())(total);
|
|
239
245
|
}
|
|
240
246
|
minus(amount) {
|
|
241
|
-
var tmp0 = this.
|
|
247
|
+
var tmp0 = this.b4n_1;
|
|
242
248
|
// Inline function 'kotlin.ULong.minus' call
|
|
243
|
-
var other = amount.
|
|
249
|
+
var other = amount.b4n_1;
|
|
244
250
|
var total = _ULong___init__impl__c78o9k(subtract(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
245
251
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
246
|
-
var other_0 = this.
|
|
252
|
+
var other_0 = this.b4n_1;
|
|
247
253
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_0)) > 0) {
|
|
248
254
|
throw IllegalStateException().o('ULong underflow');
|
|
249
255
|
}
|
|
250
256
|
return new (AttoAmount())(total);
|
|
251
257
|
}
|
|
252
|
-
|
|
253
|
-
var tmp0 = this.
|
|
258
|
+
d4n(other) {
|
|
259
|
+
var tmp0 = this.b4n_1;
|
|
254
260
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
255
|
-
var other_0 = other.
|
|
261
|
+
var other_0 = other.b4n_1;
|
|
256
262
|
return ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
|
|
257
263
|
}
|
|
258
264
|
d(other) {
|
|
259
|
-
return this.
|
|
265
|
+
return this.d4n(other instanceof AttoAmount() ? other : THROW_CCE());
|
|
260
266
|
}
|
|
261
267
|
toString() {
|
|
262
|
-
return '' + new (ULong())(this.
|
|
268
|
+
return '' + new (ULong())(this.b4n_1);
|
|
263
269
|
}
|
|
264
|
-
|
|
265
|
-
return this.
|
|
270
|
+
e4n() {
|
|
271
|
+
return this.b4n_1;
|
|
266
272
|
}
|
|
267
|
-
|
|
273
|
+
f4n(raw) {
|
|
268
274
|
return new (AttoAmount())(raw);
|
|
269
275
|
}
|
|
270
276
|
copy(raw, $super) {
|
|
271
|
-
raw = raw === VOID ? this.
|
|
272
|
-
return $super === VOID ? this.
|
|
277
|
+
raw = raw === VOID ? this.b4n_1 : raw;
|
|
278
|
+
return $super === VOID ? this.f4n(raw) : $super.f4n.call(this, new (ULong())(raw));
|
|
273
279
|
}
|
|
274
280
|
hashCode() {
|
|
275
|
-
return ULong__hashCode_impl_6hv2lb(this.
|
|
281
|
+
return ULong__hashCode_impl_6hv2lb(this.b4n_1);
|
|
276
282
|
}
|
|
277
283
|
equals(other) {
|
|
278
284
|
if (this === other)
|
|
279
285
|
return true;
|
|
280
286
|
if (!(other instanceof AttoAmount()))
|
|
281
287
|
return false;
|
|
282
|
-
if (!(this.
|
|
288
|
+
if (!(this.b4n_1 === other.b4n_1))
|
|
283
289
|
return false;
|
|
284
290
|
return true;
|
|
285
291
|
}
|
|
@@ -298,19 +304,19 @@ function AttoAmountAsULongSerializer() {
|
|
|
298
304
|
class $ {
|
|
299
305
|
constructor() {
|
|
300
306
|
AttoAmountAsULongSerializer_instance = this;
|
|
301
|
-
this.
|
|
307
|
+
this.g4n_1 = serializer(Companion_getInstance()).zs();
|
|
302
308
|
}
|
|
303
|
-
|
|
304
|
-
return this.
|
|
309
|
+
zs() {
|
|
310
|
+
return this.g4n_1;
|
|
305
311
|
}
|
|
306
|
-
|
|
307
|
-
serializer(Companion_getInstance()).
|
|
312
|
+
h4n(encoder, value) {
|
|
313
|
+
serializer(Companion_getInstance()).at(encoder, new (ULong())(value.b4n_1));
|
|
308
314
|
}
|
|
309
|
-
|
|
310
|
-
return this.
|
|
315
|
+
at(encoder, value) {
|
|
316
|
+
return this.h4n(encoder, value instanceof AttoAmount() ? value : THROW_CCE());
|
|
311
317
|
}
|
|
312
|
-
|
|
313
|
-
return new (AttoAmount())(serializer(Companion_getInstance()).
|
|
318
|
+
bt(decoder) {
|
|
319
|
+
return new (AttoAmount())(serializer(Companion_getInstance()).bt(decoder).fs_1);
|
|
314
320
|
}
|
|
315
321
|
}
|
|
316
322
|
initMetadataForObject($, 'AttoAmountAsULongSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -340,6 +346,8 @@ export {
|
|
|
340
346
|
values as values3ntpkxfaw56c5,
|
|
341
347
|
AttoUnit as AttoUnit3uf7k0bjq9xrg,
|
|
342
348
|
toAttoAmount as toAttoAmount2kbgjtdbld3yn,
|
|
349
|
+
get_MAX as get_MAX2zywb5v5icuoh,
|
|
350
|
+
get_MIN as get_MINrg1454zqj3dr,
|
|
343
351
|
from as from3jnisfe2fcztd,
|
|
344
352
|
AttoUnit_ATTO_getInstance as AttoUnit_ATTO_getInstancew3eagleomrkc,
|
|
345
353
|
AttoUnit_RAW_getInstance as AttoUnit_RAW_getInstance11a119riojt51,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAmount.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/ULong.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAmount.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/ULong.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt"],"sourcesContent":["@file:JvmName(\"AttoAmounts\")\n@file:OptIn(ExperimentalJsStatic::class)\n\npackage 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.ExperimentalJsStatic\nimport kotlin.js.JsExport\nimport kotlin.js.JsName\nimport kotlin.js.JsStatic\nimport kotlin.jvm.JvmField\nimport kotlin.jvm.JvmName\nimport kotlin.jvm.JvmStatic\nimport kotlin.jvm.JvmSynthetic\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nenum class AttoUnit(\n val prefix: String,\n @JsExport.Ignore\n internal val scale: UByte,\n) {\n ATTO(\"atto\", 9U),\n RAW(\"raw\", 0U),\n}\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable(with = AttoAmountAsULongSerializer::class)\ndata class AttoAmount\n @JsExport.Ignore\n constructor(\n @JsExport.Ignore\n val raw: ULong,\n ) : Comparable<AttoAmount> {\n init {\n if (raw > MAX_RAW) {\n throw IllegalStateException(\"$raw exceeds the max amount of $MAX_RAW\")\n }\n }\n\n companion object {\n private val MAX_RAW = 18_000_000_000_000_000_000UL\n\n @JvmField\n @JsStatic\n val MAX = AttoAmount(MAX_RAW)\n\n @JsExport.Ignore\n private val MIN_RAW = 0UL\n\n @JvmField\n @JsStatic\n val MIN = AttoAmount(MIN_RAW)\n\n private fun ULong.pow(exponent: Int): ULong {\n var result = 1UL\n repeat(exponent) {\n result *= this\n }\n return result\n }\n\n private fun scaleFactor(scale: UByte): ULong = 10UL.pow(scale.toInt())\n\n @OptIn(ExperimentalJsStatic::class)\n @JsStatic\n @JvmStatic\n fun from(\n unit: AttoUnit,\n string: String,\n ): AttoAmount {\n val parts = string.split('.')\n val wholePart = parts[0].toULong()\n val factor = scaleFactor(unit.scale)\n\n var scaledValue = wholePart * factor\n\n if (parts.size > 1) {\n val fractionalPart = parts[1].toULong()\n scaledValue += fractionalPart * factor / scaleFactor(parts[1].length.toUByte())\n }\n return AttoAmount(scaledValue)\n }\n }\n\n @JsName(\"toFormattedString\")\n fun toString(unit: AttoUnit): String {\n val factor = scaleFactor(unit.scale)\n val wholePart = raw / factor\n\n val fractionalPart = raw % factor\n\n return if (fractionalPart == 0UL) {\n wholePart.toString()\n } else {\n val fractionalStr = fractionalPart.toString().padStart(unit.scale.toInt(), '0').trimEnd('0')\n \"$wholePart.$fractionalStr\"\n }\n }\n\n operator fun plus(amount: AttoAmount): AttoAmount {\n val total = raw + amount.raw\n if (total < raw || total < amount.raw) {\n throw IllegalStateException(\"ULong overflow\")\n }\n return AttoAmount(total)\n }\n\n operator fun minus(amount: AttoAmount): AttoAmount {\n val total = raw - amount.raw\n if (total > raw) {\n throw IllegalStateException(\"ULong underflow\")\n }\n return AttoAmount(total)\n }\n\n override operator fun compareTo(other: AttoAmount): Int = this.raw.compareTo(other.raw)\n\n override fun toString(): String = \"$raw\"\n }\n\n@JvmSynthetic\nfun ULong.toAttoAmount() = AttoAmount(this)\n\n@JvmSynthetic\nfun UInt.toAttoAmount() = this.toULong().toAttoAmount()\n\nfun Int.toAttoAmount() = this.toULong().toAttoAmount()\n\nfun Long.toAttoAmount() = this.toULong().toAttoAmount()\n\n@JsExportForJs\nfun String.toAttoAmount(): AttoAmount = AttoAmount(this.toULong())\n\nobject AttoAmountAsULongSerializer : KSerializer<AttoAmount> {\n override val descriptor = ULong.serializer().descriptor\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAmount,\n ) {\n ULong.serializer().serialize(encoder, value.raw)\n }\n\n override fun deserialize(decoder: Decoder): AttoAmount = AttoAmount(ULong.serializer().deserialize(decoder))\n}\n",null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["values","valueOf","value","prefix","scale","<get-prefix>","<get-scale>","pow","<this>","exponent","result","index","scaleFactor","<get-MAX>","<get-MIN>","from","unit","string","parts","wholePart","factor","scaledValue","fractionalPart","serializer","raw","<get-raw>","toString","fractionalStr","plus","amount","total","minus","compareTo","other","toAttoAmount","<get-descriptor>","serialize","encoder","deserialize","decoder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAAAA,CAAAA,E;;C;gBAAAC,CAqBAC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