@attocash/commons-test 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +2 -0
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +38 -34
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +63 -55
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +825 -817
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +20 -20
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.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 +26 -26
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- 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} +401 -409
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +140 -135
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +65 -65
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +10 -10
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-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 +32 -32
- 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 +57 -61
- 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 +15 -15
- 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 +79 -79
- 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 +38 -38
- 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 +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/commons-commons-worker.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +16 -11
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +24 -52
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +46 -83
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +7 -7
- 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 +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +10 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +112 -21
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- 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 +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +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 +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +63 -63
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +103 -103
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
- 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
|
@@ -42,10 +42,10 @@ function AttoReceivable$Companion$$childSerializers$_anonymous__bzviio() {
|
|
|
42
42
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
43
43
|
}
|
|
44
44
|
function AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_0() {
|
|
45
|
-
return Companion_getInstance().
|
|
45
|
+
return Companion_getInstance().b1h();
|
|
46
46
|
}
|
|
47
47
|
function AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_1() {
|
|
48
|
-
return Companion_getInstance().
|
|
48
|
+
return Companion_getInstance().b1h();
|
|
49
49
|
}
|
|
50
50
|
var CompanionClass;
|
|
51
51
|
function Companion() {
|
|
@@ -62,7 +62,7 @@ function Companion() {
|
|
|
62
62
|
// Inline function 'kotlin.arrayOf' call
|
|
63
63
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
64
64
|
// Inline function 'kotlin.js.asDynamic' call
|
|
65
|
-
tmp.
|
|
65
|
+
tmp.s4s_1 = [tmp_1, null, null, tmp_3, null, null, lazy(tmp_4, AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_1), null, null];
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
initMetadataForCompanion($);
|
|
@@ -83,37 +83,37 @@ function $serializer() {
|
|
|
83
83
|
constructor() {
|
|
84
84
|
$serializer_instance = this;
|
|
85
85
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.AttoReceivable', this, 9);
|
|
86
|
-
tmp0_serialDesc.
|
|
87
|
-
tmp0_serialDesc.
|
|
88
|
-
tmp0_serialDesc.
|
|
89
|
-
tmp0_serialDesc.
|
|
90
|
-
tmp0_serialDesc.
|
|
91
|
-
tmp0_serialDesc.
|
|
92
|
-
tmp0_serialDesc.
|
|
93
|
-
tmp0_serialDesc.
|
|
94
|
-
tmp0_serialDesc.
|
|
95
|
-
this.
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
var tmp0_desc = this.
|
|
99
|
-
var tmp1_output = encoder.
|
|
100
|
-
var tmp2_cached = Companion_getInstance_0().
|
|
101
|
-
tmp1_output.
|
|
102
|
-
tmp1_output.
|
|
103
|
-
tmp1_output.
|
|
104
|
-
tmp1_output.
|
|
105
|
-
tmp1_output.
|
|
106
|
-
tmp1_output.
|
|
107
|
-
tmp1_output.
|
|
108
|
-
tmp1_output.
|
|
109
|
-
tmp1_output.
|
|
110
|
-
tmp1_output.
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
return this.
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
var tmp0_desc = this.
|
|
86
|
+
tmp0_serialDesc.c15('network', false);
|
|
87
|
+
tmp0_serialDesc.c15('hash', false);
|
|
88
|
+
tmp0_serialDesc.c15('version', false);
|
|
89
|
+
tmp0_serialDesc.c15('algorithm', false);
|
|
90
|
+
tmp0_serialDesc.c15('publicKey', false);
|
|
91
|
+
tmp0_serialDesc.c15('timestamp', false);
|
|
92
|
+
tmp0_serialDesc.c15('receiverAlgorithm', false);
|
|
93
|
+
tmp0_serialDesc.c15('receiverPublicKey', false);
|
|
94
|
+
tmp0_serialDesc.c15('amount', false);
|
|
95
|
+
this.t4s_1 = tmp0_serialDesc;
|
|
96
|
+
}
|
|
97
|
+
u4s(encoder, value) {
|
|
98
|
+
var tmp0_desc = this.t4s_1;
|
|
99
|
+
var tmp1_output = encoder.ox(tmp0_desc);
|
|
100
|
+
var tmp2_cached = Companion_getInstance_0().s4s_1;
|
|
101
|
+
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.network);
|
|
102
|
+
tmp1_output.fz(tmp0_desc, 1, AttoHashAsStringSerializer_getInstance(), value.hash);
|
|
103
|
+
tmp1_output.fz(tmp0_desc, 2, AttoVersionSerializer_getInstance(), value.version);
|
|
104
|
+
tmp1_output.fz(tmp0_desc, 3, tmp2_cached[3].g3(), value.algorithm);
|
|
105
|
+
tmp1_output.fz(tmp0_desc, 4, AttoPublicKeyAsStringSerializer_getInstance(), value.publicKey);
|
|
106
|
+
tmp1_output.fz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.timestamp);
|
|
107
|
+
tmp1_output.fz(tmp0_desc, 6, tmp2_cached[6].g3(), value.receiverAlgorithm);
|
|
108
|
+
tmp1_output.fz(tmp0_desc, 7, AttoPublicKeyAsStringSerializer_getInstance(), value.receiverPublicKey);
|
|
109
|
+
tmp1_output.fz(tmp0_desc, 8, AttoAmountAsULongSerializer_getInstance(), value.amount);
|
|
110
|
+
tmp1_output.px(tmp0_desc);
|
|
111
|
+
}
|
|
112
|
+
at(encoder, value) {
|
|
113
|
+
return this.u4s(encoder, value instanceof AttoReceivable() ? value : THROW_CCE());
|
|
114
|
+
}
|
|
115
|
+
bt(decoder) {
|
|
116
|
+
var tmp0_desc = this.t4s_1;
|
|
117
117
|
var tmp1_flag = true;
|
|
118
118
|
var tmp2_index = 0;
|
|
119
119
|
var tmp3_bitMask0 = 0;
|
|
@@ -126,89 +126,89 @@ function $serializer() {
|
|
|
126
126
|
var tmp10_local6 = null;
|
|
127
127
|
var tmp11_local7 = null;
|
|
128
128
|
var tmp12_local8 = null;
|
|
129
|
-
var tmp15_input = decoder.
|
|
130
|
-
var tmp16_cached = Companion_getInstance_0().
|
|
131
|
-
if (tmp15_input.
|
|
132
|
-
tmp4_local0 = tmp15_input.
|
|
129
|
+
var tmp15_input = decoder.ox(tmp0_desc);
|
|
130
|
+
var tmp16_cached = Companion_getInstance_0().s4s_1;
|
|
131
|
+
if (tmp15_input.dy()) {
|
|
132
|
+
tmp4_local0 = tmp15_input.ay(tmp0_desc, 0, tmp16_cached[0].g3(), tmp4_local0);
|
|
133
133
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
134
|
-
tmp5_local1 = tmp15_input.
|
|
134
|
+
tmp5_local1 = tmp15_input.ay(tmp0_desc, 1, AttoHashAsStringSerializer_getInstance(), tmp5_local1);
|
|
135
135
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
136
|
-
tmp6_local2 = tmp15_input.
|
|
136
|
+
tmp6_local2 = tmp15_input.ay(tmp0_desc, 2, AttoVersionSerializer_getInstance(), tmp6_local2);
|
|
137
137
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
138
|
-
tmp7_local3 = tmp15_input.
|
|
138
|
+
tmp7_local3 = tmp15_input.ay(tmp0_desc, 3, tmp16_cached[3].g3(), tmp7_local3);
|
|
139
139
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
140
|
-
tmp8_local4 = tmp15_input.
|
|
140
|
+
tmp8_local4 = tmp15_input.ay(tmp0_desc, 4, AttoPublicKeyAsStringSerializer_getInstance(), tmp8_local4);
|
|
141
141
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
142
|
-
tmp9_local5 = tmp15_input.
|
|
142
|
+
tmp9_local5 = tmp15_input.ay(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
143
143
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
144
|
-
tmp10_local6 = tmp15_input.
|
|
144
|
+
tmp10_local6 = tmp15_input.ay(tmp0_desc, 6, tmp16_cached[6].g3(), tmp10_local6);
|
|
145
145
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
146
|
-
tmp11_local7 = tmp15_input.
|
|
146
|
+
tmp11_local7 = tmp15_input.ay(tmp0_desc, 7, AttoPublicKeyAsStringSerializer_getInstance(), tmp11_local7);
|
|
147
147
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
148
|
-
tmp12_local8 = tmp15_input.
|
|
148
|
+
tmp12_local8 = tmp15_input.ay(tmp0_desc, 8, AttoAmountAsULongSerializer_getInstance(), tmp12_local8);
|
|
149
149
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
150
150
|
} else
|
|
151
151
|
while (tmp1_flag) {
|
|
152
|
-
tmp2_index = tmp15_input.
|
|
152
|
+
tmp2_index = tmp15_input.ey(tmp0_desc);
|
|
153
153
|
switch (tmp2_index) {
|
|
154
154
|
case -1:
|
|
155
155
|
tmp1_flag = false;
|
|
156
156
|
break;
|
|
157
157
|
case 0:
|
|
158
|
-
tmp4_local0 = tmp15_input.
|
|
158
|
+
tmp4_local0 = tmp15_input.ay(tmp0_desc, 0, tmp16_cached[0].g3(), tmp4_local0);
|
|
159
159
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
160
160
|
break;
|
|
161
161
|
case 1:
|
|
162
|
-
tmp5_local1 = tmp15_input.
|
|
162
|
+
tmp5_local1 = tmp15_input.ay(tmp0_desc, 1, AttoHashAsStringSerializer_getInstance(), tmp5_local1);
|
|
163
163
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
164
164
|
break;
|
|
165
165
|
case 2:
|
|
166
|
-
tmp6_local2 = tmp15_input.
|
|
166
|
+
tmp6_local2 = tmp15_input.ay(tmp0_desc, 2, AttoVersionSerializer_getInstance(), tmp6_local2);
|
|
167
167
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
168
168
|
break;
|
|
169
169
|
case 3:
|
|
170
|
-
tmp7_local3 = tmp15_input.
|
|
170
|
+
tmp7_local3 = tmp15_input.ay(tmp0_desc, 3, tmp16_cached[3].g3(), tmp7_local3);
|
|
171
171
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
172
172
|
break;
|
|
173
173
|
case 4:
|
|
174
|
-
tmp8_local4 = tmp15_input.
|
|
174
|
+
tmp8_local4 = tmp15_input.ay(tmp0_desc, 4, AttoPublicKeyAsStringSerializer_getInstance(), tmp8_local4);
|
|
175
175
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
176
176
|
break;
|
|
177
177
|
case 5:
|
|
178
|
-
tmp9_local5 = tmp15_input.
|
|
178
|
+
tmp9_local5 = tmp15_input.ay(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
179
179
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
180
180
|
break;
|
|
181
181
|
case 6:
|
|
182
|
-
tmp10_local6 = tmp15_input.
|
|
182
|
+
tmp10_local6 = tmp15_input.ay(tmp0_desc, 6, tmp16_cached[6].g3(), tmp10_local6);
|
|
183
183
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
184
184
|
break;
|
|
185
185
|
case 7:
|
|
186
|
-
tmp11_local7 = tmp15_input.
|
|
186
|
+
tmp11_local7 = tmp15_input.ay(tmp0_desc, 7, AttoPublicKeyAsStringSerializer_getInstance(), tmp11_local7);
|
|
187
187
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
188
188
|
break;
|
|
189
189
|
case 8:
|
|
190
|
-
tmp12_local8 = tmp15_input.
|
|
190
|
+
tmp12_local8 = tmp15_input.ay(tmp0_desc, 8, AttoAmountAsULongSerializer_getInstance(), tmp12_local8);
|
|
191
191
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
192
192
|
break;
|
|
193
193
|
default:
|
|
194
|
-
throw UnknownFieldException().
|
|
194
|
+
throw UnknownFieldException().vu(tmp2_index);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
tmp15_input.
|
|
198
|
-
return AttoReceivable().
|
|
197
|
+
tmp15_input.px(tmp0_desc);
|
|
198
|
+
return AttoReceivable().v4s(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
199
199
|
}
|
|
200
|
-
|
|
201
|
-
return this.
|
|
200
|
+
zs() {
|
|
201
|
+
return this.t4s_1;
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
var tmp0_cached = Companion_getInstance_0().
|
|
203
|
+
r15() {
|
|
204
|
+
var tmp0_cached = Companion_getInstance_0().s4s_1;
|
|
205
205
|
// Inline function 'kotlin.arrayOf' call
|
|
206
206
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
207
207
|
// Inline function 'kotlin.js.asDynamic' call
|
|
208
208
|
return [tmp0_cached[0].g3(), AttoHashAsStringSerializer_getInstance(), AttoVersionSerializer_getInstance(), tmp0_cached[3].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), tmp0_cached[6].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance()];
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
protoOf($).
|
|
211
|
+
protoOf($).s15 = typeParametersSerializers;
|
|
212
212
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
213
213
|
$serializerClass = $;
|
|
214
214
|
}
|
|
@@ -254,79 +254,79 @@ function AttoReceivable() {
|
|
|
254
254
|
this.receiverPublicKey = receiverPublicKey;
|
|
255
255
|
this.amount = amount;
|
|
256
256
|
var tmp = this;
|
|
257
|
-
tmp.
|
|
257
|
+
tmp.j4j_1 = lazy_0(AttoReceivable$address$delegate$lambda(this));
|
|
258
258
|
var tmp_0 = this;
|
|
259
|
-
tmp_0.
|
|
259
|
+
tmp_0.k4j_1 = lazy_0(AttoReceivable$receiverAddress$delegate$lambda(this));
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
h4k() {
|
|
262
262
|
return this.network;
|
|
263
263
|
}
|
|
264
|
-
|
|
264
|
+
n4l() {
|
|
265
265
|
return this.hash;
|
|
266
266
|
}
|
|
267
|
-
|
|
267
|
+
w3i() {
|
|
268
268
|
return this.version;
|
|
269
269
|
}
|
|
270
|
-
|
|
270
|
+
i4k() {
|
|
271
271
|
return this.algorithm;
|
|
272
272
|
}
|
|
273
|
-
|
|
273
|
+
g4k() {
|
|
274
274
|
return this.publicKey;
|
|
275
275
|
}
|
|
276
|
-
|
|
276
|
+
s4l() {
|
|
277
277
|
return this.timestamp;
|
|
278
278
|
}
|
|
279
|
-
|
|
279
|
+
p4o() {
|
|
280
280
|
return this.receiverAlgorithm;
|
|
281
281
|
}
|
|
282
|
-
|
|
282
|
+
q4o() {
|
|
283
283
|
return this.receiverPublicKey;
|
|
284
284
|
}
|
|
285
|
-
|
|
285
|
+
r4o() {
|
|
286
286
|
return this.amount;
|
|
287
287
|
}
|
|
288
|
-
|
|
289
|
-
var tmp0 = this.
|
|
288
|
+
p4k() {
|
|
289
|
+
var tmp0 = this.j4j_1;
|
|
290
290
|
var tmp = KProperty1();
|
|
291
291
|
// Inline function 'kotlin.getValue' call
|
|
292
292
|
getPropertyCallableRef('address', 1, tmp, AttoReceivable$_get_address_$ref_d98trm(), null);
|
|
293
293
|
return tmp0.g3();
|
|
294
294
|
}
|
|
295
|
-
|
|
296
|
-
var tmp0 = this.
|
|
295
|
+
s4o() {
|
|
296
|
+
var tmp0 = this.k4j_1;
|
|
297
297
|
var tmp = KProperty1();
|
|
298
298
|
// Inline function 'kotlin.getValue' call
|
|
299
299
|
getPropertyCallableRef('receiverAddress', 1, tmp, AttoReceivable$_get_receiverAddress_$ref_i4thz5(), null);
|
|
300
300
|
return tmp0.g3();
|
|
301
301
|
}
|
|
302
|
-
|
|
302
|
+
bf() {
|
|
303
303
|
return this.network;
|
|
304
304
|
}
|
|
305
|
-
|
|
305
|
+
cf() {
|
|
306
306
|
return this.hash;
|
|
307
307
|
}
|
|
308
|
-
|
|
308
|
+
y4k() {
|
|
309
309
|
return this.version;
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
z4k() {
|
|
312
312
|
return this.algorithm;
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
a4l() {
|
|
315
315
|
return this.publicKey;
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
b4l() {
|
|
318
318
|
return this.timestamp;
|
|
319
319
|
}
|
|
320
|
-
|
|
320
|
+
c4l() {
|
|
321
321
|
return this.receiverAlgorithm;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
d4l() {
|
|
324
324
|
return this.receiverPublicKey;
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
e4l() {
|
|
327
327
|
return this.amount;
|
|
328
328
|
}
|
|
329
|
-
|
|
329
|
+
w4s(network, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) {
|
|
330
330
|
return new (AttoReceivable())(network, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount);
|
|
331
331
|
}
|
|
332
332
|
copy(network, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount, $super) {
|
|
@@ -339,7 +339,7 @@ function AttoReceivable() {
|
|
|
339
339
|
receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
|
|
340
340
|
receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
|
|
341
341
|
amount = amount === VOID ? this.amount : amount;
|
|
342
|
-
return $super === VOID ? this.
|
|
342
|
+
return $super === VOID ? this.w4s(network, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) : $super.w4s.call(this, network, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount);
|
|
343
343
|
}
|
|
344
344
|
toString() {
|
|
345
345
|
return 'AttoReceivable(network=' + this.network.toString() + ', hash=' + this.hash.toString() + ', version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', timestamp=' + this.timestamp.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
|
|
@@ -381,10 +381,10 @@ function AttoReceivable() {
|
|
|
381
381
|
return false;
|
|
382
382
|
return true;
|
|
383
383
|
}
|
|
384
|
-
static
|
|
384
|
+
static v4s(seen0, network, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount, serializationConstructorMarker) {
|
|
385
385
|
Companion_getInstance_0();
|
|
386
386
|
if (!(511 === (511 & seen0))) {
|
|
387
|
-
throwMissingFieldException(seen0, 511, $serializer_getInstance().
|
|
387
|
+
throwMissingFieldException(seen0, 511, $serializer_getInstance().t4s_1);
|
|
388
388
|
}
|
|
389
389
|
var $this = createThis(this);
|
|
390
390
|
$this.network = network;
|
|
@@ -397,16 +397,16 @@ function AttoReceivable() {
|
|
|
397
397
|
$this.receiverPublicKey = receiverPublicKey;
|
|
398
398
|
$this.amount = amount;
|
|
399
399
|
var tmp = $this;
|
|
400
|
-
tmp.
|
|
400
|
+
tmp.j4j_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201($this));
|
|
401
401
|
var tmp_0 = $this;
|
|
402
|
-
tmp_0.
|
|
402
|
+
tmp_0.k4j_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201_0($this));
|
|
403
403
|
return $this;
|
|
404
404
|
}
|
|
405
405
|
get address() {
|
|
406
|
-
return this.
|
|
406
|
+
return this.p4k();
|
|
407
407
|
}
|
|
408
408
|
get receiverAddress() {
|
|
409
|
-
return this.
|
|
409
|
+
return this.s4o();
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
initMetadataForClass($, 'AttoReceivable', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoReceivable.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Lazy.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoReceivable.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Lazy.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.Serializable\n\n@JsExportForJs\n@Serializable\ndata class AttoReceivable(\n val network: AttoNetwork,\n val hash: AttoHash,\n val version: AttoVersion,\n val algorithm: AttoAlgorithm,\n val publicKey: AttoPublicKey,\n val timestamp: AttoInstant,\n val receiverAlgorithm: AttoAlgorithm,\n val receiverPublicKey: AttoPublicKey,\n val amount: AttoAmount,\n) {\n val address by lazy { AttoAddress(algorithm, publicKey) }\n val receiverAddress by lazy { AttoAddress(receiverAlgorithm, receiverPublicKey) }\n}\n\nfun AttoSendBlock.toReceivable(): AttoReceivable =\n AttoReceivable(\n network = this.network,\n hash = this.hash,\n version = this.version,\n algorithm = this.algorithm,\n publicKey = this.publicKey,\n timestamp = this.timestamp,\n receiverAlgorithm = this.receiverAlgorithm,\n receiverPublicKey = this.receiverPublicKey,\n amount = this.amount,\n )\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["AttoReceivable$Companion$$childSerializers$<anonymous>","serialize","encoder","value","deserialize","childSerializers","AttoReceivable$address$delegate$lambda","AttoReceivable$address$delegate$lambda$lambda","AttoReceivable$receiverAddress$delegate$lambda","AttoReceivable$receiverAddress$delegate$lambda$lambda","AttoReceivable$<init>$lambda","AttoReceivable$<init>$lambda$lambda","network","hash","version","algorithm","publicKey","timestamp","receiverAlgorithm","receiverPublicKey","amount","<get-network>","<get-hash>","<get-version>","<get-algorithm>","<get-publicKey>","<get-timestamp>","<get-receiverAlgorithm>","<get-receiverPublicKey>","<get-amount>","<get-address>","<get-receiverAddress>","result"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sEAKAA,CAAAA,EAAA;A,EAAA,4E;AAeA,C;wEAfAA,CAAAA,EAAA;A,EAAA,oC;AAeA,C;wEAfAA,CAAAA,EAAA;A,EAAA,oC;AAeA,C;;;;;;;kBAfA,I;;gCAAA,6D;;gCAAA,+D;;;;;QAAA,4I;;;;;;;;;;;;;;;;;;;;YAAA,sG;QAAA,qC;QAAA,kC;QAAA,qC;QAAA,uC;QAAA,uC;QAAA,uC;QAAA,+C;QAAA,+C;QAAA,oC;QAAA,4B;;SAAAC,CAAA,O,EAAA,KAAAA,EAAA;A,YAAA,sB;YAAA,mC;YAAA,6C;QAAA,gE;QAAA,kF;QAAA,gF;QAAA,kE;QAAA,4F;QAAA,wF;QAAA,0E;QAAA,oG;QAAA,qF;QAAA,yB;MAeA,C;SAcmsLC,O,EAAkBC,K;;;QA7BrtLC,CAAA,OAAAA,EAAA;A,YAAA,sB;YAAA,gB;YAAA,c;YAAA,iB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,mB;YAAA,mB;YAAA,mB;YAAA,mC;YAAA,8C;QAAA,qB,CAAA;A,UAAA,6E;UAAA,iC;UAAA,iG;UAAA,iC;UAAA,4F;UAAA,iC;UAAA,6E;UAAA,iC;UAAA,sG;UAAA,kC;UAAA,kG;UAAA,kC;UAAA,+E;UAAA,kC;UAAA,wG;UAAA,mC;UAAA,oG;UAAA,mC;QAeA,C;iBAfA,S,EAAA;A,YAAA,sC;YAAA,mB;mBAAA,E;gBAAA,iB;;mBAAA,C;gBAAA,6E;gBAAA,iC;;mBAAA,C;gBAAA,iG;gBAAA,iC;;mBAAA,C;gBAAA,4F;gBAAA,iC;;mBAAA,C;gBAAA,6E;gBAAA,iC;;mBAAA,C;gBAAA,sG;gBAAA,kC;;mBAAA,C;gBAAA,kG;gBAAA,kC;;mBAAA,C;gBAAA,+E;gBAAA,kC;;mBAAA,C;gBAAA,wG;gBAAA,mC;;mBAAA,C;gBAAA,oG;gBAAA,mC;;;gBAAA,4C;;UAeA,C;QAfA,yB;QAAA,wK;MAeA,C;;;;SAfAC,CAAAA,EAAA;A,YAAA,6C;;;;QAAA,yU;MAeA,C;;;;;;;;;;;;;;+CAFwBC,CAbxB,MAawBA,E;SAAAC,CAAAA,yBAAc,MAAdA,CAAc,SAAdA,EAAyB,MAAzBA,CAAyB,SAAzBA,C;C;;iBAAL,E,CAAA,O;;uDACaC,CAdhC,MAcgCA,E;SAAAC,CAAAA,yBAAc,MAAdA,CAAc,iBAAdA,EAAiC,MAAjCA,CAAiC,iBAAjCA,C;C;;iBAAL,E,CAAA,e;;4CADHC,CAbxB,MAawBA,E;SAAAC,CAAAA,yBAAc,MAAdA,CAAc,SAAdA,EAAyB,MAAzBA,CAAyB,SAAzBA,C;C;8CACQD,CAdhC,MAcgCA,E;SAAAC,CAAAA,yBAAc,MAAdA,CAAc,iBAAdA,EAAiC,MAAjCA,CAAiC,iBAAjCA,C;C;;;;;kBAX5BC,O,EACAC,I,EACAC,O,EACAC,S,EACAC,S,EACAC,S,EACAC,iB,EACAC,iB,EACAC,M;QAXJ,yB;QAGI,sB;QACA,gB;QACA,sB;QACA,0B;QACA,0B;QACA,0B;QACA,0C;QACA,0C;QACA,oB;kBAEe,I;QAAA,mBAAK,4CAAL,C;oBACQ,I;QAAA,qBAAK,oDAAL,C;;SAXvBC,CAAAA,EAAA;A,QAAA,mB;MAAuB,C;SACvBC,CAAAA,EAAA;A,QAAA,gB;MAAiB,C;SACjBC,CAAAA,EAAA;A,QAAA,mB;MAAuB,C;SACvBC,CAAAA,EAAA;A,QAAA,qB;MAA2B,C;SAC3BC,CAAAA,EAAA;A,QAAA,qB;MAA2B,C;SAC3BC,CAAAA,EAAA;A,QAAA,qB;MAAyB,C;SACzBC,CAAAA,EAAA;A,QAAA,6B;MAAmC,C;SACnCC,CAAAA,EAAA;A,QAAA,6B;MAAmC,C;SACnCC,CAAAA,EAAA;A,QAAA,kB;MAAqB,C;SAErBC,CAAAA,EAAe;A,mBAAA,I,CAAA,K;;;QAAA,0F;QAAA,OCiCyE,S;MDjChC,C;SACxDC,CAAAA,EAAuB;A,mBAAA,I,CAAA,K;;;QAAA,0G;QAAA,OCgCiE,S;MDhCR,C;WAnBpF;A,QAAA,mB;MAAA,C;WAAA;A,QAAA,gB;MAAA,C;YAAA;A,QAAA,mB;MAAA,C;YAAA;A,QAAA,qB;MAAA,C;YAAA;A,QAAA,qB;MAAA,C;YAAA;A,QAAA,qB;MAAA,C;YAAA;A,QAAA,6B;MAAA,C;YAAA;A,QAAA,6B;MAAA,C;YAAA;A,QAAA,kB;MAAA,C;iHAAA;A,QAAA,oI;MAAA,C;;qCAAA,I,CAAA,O;+BAAA,I,CAAA,I;qCAAA,I,CAAA,O;yCAAA,I,CAAA,S;yCAAA,I,CAAA,S;yCAAA,I,CAAA,S;yDAAA,I,CAAA,iB;yDAAA,I,CAAA,iB;mCAAA,I,CAAA,M;;;iBAAA;A,QAAA,ob;MAAA,C;iBAAA;A,YAAAC,gC;QAAA,oD;QAAA,uD;QAAA,yD;QAAA,yD;QAAA,yD;QAAA,iE;QAAA,iE;QAAA,sD;QAAA,a;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,yC;UAAA,Y;QAAA,wC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,wC;UAAA,Y;QAAA,4C;UAAA,Y;QAAA,4C;UAAA,Y;QAAA,4C;UAAA,Y;QAAA,4D;UAAA,Y;QAAA,4D;UAAA,Y;QAAA,sC;UAAA,Y;QAAA,W;MAAA,C;;QAKA,yB;QAAA,6B;UAAA,uE;;;QAAA,uB;QAAA,iB;QAAA,uB;QAAA,2B;QAAA,2B;QAAA,2B;QAAA,2C;QAAA,2C;QAAA,qB;kBAAA,K;QAAA,YAamB,OAAK,0CAAL,C;oBAbnB,K;QAAA,cAc2B,OAAK,4CAAL,C;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -60,14 +60,14 @@ function toSeedAsync$slambda() {
|
|
|
60
60
|
if (toSeedAsync$slambdaClass === VOID) {
|
|
61
61
|
class $ {
|
|
62
62
|
constructor($this_toSeedAsync, $passphrase) {
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
63
|
+
this.l4u_1 = $this_toSeedAsync;
|
|
64
|
+
this.m4u_1 = $passphrase;
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
return toSeed(this.
|
|
66
|
+
v28($this$promise, $completion) {
|
|
67
|
+
return toSeed(this.l4u_1, this.m4u_1, $completion);
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
return this.
|
|
69
|
+
md(p1, $completion) {
|
|
70
|
+
return this.v28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -77,7 +77,7 @@ function toSeedAsync$slambda() {
|
|
|
77
77
|
}
|
|
78
78
|
function toSeedAsync$slambda_0($this_toSeedAsync, $passphrase) {
|
|
79
79
|
var i = new (toSeedAsync$slambda())($this_toSeedAsync, $passphrase);
|
|
80
|
-
var l = ($this$promise, $completion) => i.
|
|
80
|
+
var l = ($this$promise, $completion) => i.v28($this$promise, $completion);
|
|
81
81
|
l.$arity = 1;
|
|
82
82
|
return l;
|
|
83
83
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/jsMain/kotlin/cash/atto/commons/AttoSeed.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/jsMain/kotlin/cash/atto/commons/AttoSeed.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt"],"sourcesContent":["@file:OptIn(ExperimentalJsExport::class)\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport cash.atto.commons.utils.getSubtleCryptoInstance\nimport kotlinx.coroutines.DelicateCoroutinesApi\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.promise\nimport org.khronos.webgl.Uint8Array\nimport kotlin.js.json\n\ninternal actual suspend fun generateSecretWithPBKDF2WithHmacSHA512(\n mnemonic: CharArray,\n salt: ByteArray,\n iterations: Int,\n keyLength: Int,\n): ByteArray {\n val crypto = getSubtleCryptoInstance()\n\n val passwordString = mnemonic.concatToString()\n\n val baseKey =\n crypto\n .importKey(\n format = \"raw\",\n keyData = passwordString.encodeToByteArray().toUint8Array(),\n algorithm = json(\"name\" to \"PBKDF2\"),\n extractable = false,\n keyUsages = arrayOf(\"deriveBits\"),\n ).await()\n\n val algorithm =\n json(\n \"name\" to \"PBKDF2\",\n \"hash\" to \"SHA-512\",\n \"salt\" to salt.toUint8Array(),\n \"iterations\" to iterations,\n )\n\n val derivedBits =\n crypto\n .deriveBits(\n algorithm = algorithm,\n baseKey = baseKey,\n length = keyLength,\n ).await()\n\n val derivedArray = Uint8Array(derivedBits)\n return derivedArray.toByteArray()\n}\n\n@JsExportForJs\n@OptIn(DelicateCoroutinesApi::class)\nfun AttoMnemonic.toSeedAsync(passphrase: String = \"\"): kotlin.js.Promise<AttoSeed> =\n GlobalScope.promise {\n toSeed(passphrase)\n }\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["toSeedAsync","<this>","passphrase","<generator-generateSecretWithPBKDF2WithHmacSHA512>","mnemonic","salt","iterations","keyLength","$completion","crypto","passwordString","baseKey","algorithm","derivedBits","derivedArray","generateSecretWithPBKDF2WithHmacSHA512","$passphrase","invoke","toSeedAsync$slambda","toSeedAsync$slambda$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAsDAA,CAAIC,a,EAAyBC,UAA7BF,EACI;A,qCAD8C,E;;EAG7C,OAFW,yBAAQ,gDAAR,C;AAEZ,C;mEA7CoBG,CACpBC,Q,EACAC,I,EACAC,U,EACAC,S,EAJoBC,WAAAL,EAKX;A,MACTM,SAAa,yB;MAEbC,iBAA8B,eAAT,QAAS,C;YAM2B,aAApB,kBAAf,cAAe,CAAoB,C;cACjC,KAAK,YAAU,QAAV,EAAL,C;;;;MCMwE,YDJhE,c;MACtB,gBAPN,MACK,WACY,KADZ,cAIiB,KAJjB,EAKe,SALf,CAMC,c;;;MARVC,e;MAUAC,YACI,KACI,YAAU,QAAV,GACA,WAAU,SAAV,CADA,EAEA,WAAe,aAAL,IAAK,CAAf,CAFA,EAGA,iBAAgB,UAAhB,CAHA,CADJ,C;MAaM,gBALN,MACK,YACe,SADf,EAEa,OAFb,EAGY,SAHZ,CAIC,c;;;MANVC,mB;MAQAC,eAAmB,eAAW,WAAX,C;EACnB,OAAoB,YAAb,YAAa,C;AACxB,C;+CAtCwBC,CACpBX,Q,EACAC,I,EACAC,U,EACAC,S,EAJoBC,WAAAO,E;;C;;;;;kBA0CpB,iB,EAAyBC,W;;;;SACLC,CAAA,a,EAAAT,WAAAS,EAChB;A,QAAiB,OAAjB,mBAAO,IAAP,CAAO,KAAP,c;MAAiB,C;SAxDzB,E,EAAAT,W;;;;;;;;;8BAuDwBU,CADpB,iB,EAAyBF,WACLE,E;;UAAAC,CAAA,a,EAAAX,WAAAW,sC;;;C;;;;;"}
|
|
@@ -44,15 +44,15 @@ function AttoSeed() {
|
|
|
44
44
|
toString() {
|
|
45
45
|
return "AttoSeed(value='" + this.value.length + " bytes')";
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
bf() {
|
|
48
48
|
return this.value;
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
o4q(value) {
|
|
51
51
|
return new (AttoSeed())(value);
|
|
52
52
|
}
|
|
53
53
|
copy(value, $super) {
|
|
54
54
|
value = value === VOID ? this.value : value;
|
|
55
|
-
return $super === VOID ? this.
|
|
55
|
+
return $super === VOID ? this.o4q(value) : $super.o4q.call(this, value);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
initMetadataForClass($, 'AttoSeed');
|
|
@@ -61,7 +61,7 @@ function AttoSeed() {
|
|
|
61
61
|
return AttoSeedClass;
|
|
62
62
|
}
|
|
63
63
|
function *_generator_toSeed__g7vngk(_this__u8e3s4, passphrase, $completion) {
|
|
64
|
-
var mnemonic = joinToString(_this__u8e3s4.
|
|
64
|
+
var mnemonic = joinToString(_this__u8e3s4.m4r_1, ' ');
|
|
65
65
|
var salt = 'mnemonic' + passphrase;
|
|
66
66
|
var iterations = 2048;
|
|
67
67
|
var keyLength = 512;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoSeed.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoSeed.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.jvm.JvmSynthetic\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\ndata class AttoSeed(\n val value: ByteArray,\n) {\n init {\n value.checkLength(64)\n }\n\n override fun equals(other: Any?): Boolean {\n if (this === other) return true\n if (other !is AttoSeed) return false\n\n if (!value.contentEquals(other.value)) return false\n\n return true\n }\n\n override fun hashCode(): Int = value.contentHashCode()\n\n override fun toString(): String = \"AttoSeed(value='${value.size} bytes')\"\n}\n\ninternal expect suspend fun generateSecretWithPBKDF2WithHmacSHA512(\n mnemonic: CharArray,\n salt: ByteArray,\n iterations: Int,\n keyLength: Int,\n): ByteArray\n\n@JvmSynthetic\nsuspend fun AttoMnemonic.toSeed(passphrase: String = \"\"): AttoSeed {\n val mnemonic = words.joinToString(\" \")\n val salt = \"mnemonic$passphrase\"\n val iterations = 2048\n val keyLength = 512\n\n val key = generateSecretWithPBKDF2WithHmacSHA512(mnemonic.toCharArray(), salt.encodeToByteArray(), iterations, keyLength)\n\n return AttoSeed(key)\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["value","<get-value>","equals","other","hashCode","toString","<generator-toSeed>","<this>","passphrase","$completion","mnemonic","salt","iterations","keyLength","key","toSeed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;kBASIA,K;QAAA,kB;QAGU,YAAN,IAAM,CAAN,KAAM,EAAY,EAAZ,C;;QAHVC,CAAAA,EAAA;A,QAAA,iB;MAAmB,C;YAMVC,CAAWC,KAAXD,EAAiC;A,QAClC,aAAS,KAAT,C;UAAgB,OAAO,I;QACvB,mC;UAAoB,OAAO,K;QAE3B,KAAO,cAAN,IAAM,CAAN,KAAM,EAAc,KAAd,CAAoB,KAApB,CAAP,C;UAAmC,OAAO,K;QAE9C,OAAO,I;MACX,C;cAESE,CAAAA,EAAsB;A,QAAuB,OAAjB,gBAAN,IAAM,CAAN,KAAM,C;MAAgB,C;cAE5CC,CAAAA,EAAyB;A,QAAuC,OAAtC,kBAAsC,GAApB,IAAoB,CAApB,KAAoB,CAAd,MAAc,GAAT,U;MAAQ,C;WA1B5E;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,8B;MAAA,C;;iCAAA,I,CAAA,K;;;;;;;;;mCAqCQC,CAAIC,a,EAAoBC,U,EAAxBC,WAAAH,EAA2D;A,MAC/DI,WAAqB,aAAN,aAAM,CAAN,KAAM,EAAa,GAAb,C;MACrBC,OAAY,UAAZA,GAAqB,U;MACrBC,aAAiB,I;MACjBC,YAAgB,G;MAEN,6CAAgD,YAAT,QAAS,CAAhD,EAAoE,kBAAL,IAAK,CAApE,EAAyF,UAAzF,EAAqG,SAArG,c;;;MAAVC,S;EAEA,wBAAgB,GAAhB,C;AACJ,C;eATQC,CAAIR,a,EAAoBC,U,EAAxBC,WAAAM,E;qCAA6C,E;;C;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
2
|
+
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
+
export declare interface AttoSerializable {
|
|
4
|
+
toByteArray(): Int8Array;
|
|
5
|
+
readonly __doNotUseOrImplementIt: {
|
|
6
|
+
readonly "cash.atto.commons.AttoSerializable": unique symbol;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { readByteArray1ri21h2rciakw as readByteArray } from '../../../../kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs';
|
|
2
|
+
import { initMetadataForInterface1egvbzx539z91 as initMetadataForInterface } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
3
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
4
|
+
//region block: imports
|
|
5
|
+
//endregion
|
|
6
|
+
//region block: pre-declaration
|
|
7
|
+
//endregion
|
|
8
|
+
function toByteArray() {
|
|
9
|
+
return readByteArray(this.d4m());
|
|
10
|
+
}
|
|
11
|
+
var AttoSerializableClass;
|
|
12
|
+
function AttoSerializable() {
|
|
13
|
+
if (AttoSerializableClass === VOID) {
|
|
14
|
+
class $ {}
|
|
15
|
+
initMetadataForInterface($, 'AttoSerializable');
|
|
16
|
+
AttoSerializableClass = $;
|
|
17
|
+
}
|
|
18
|
+
return AttoSerializableClass;
|
|
19
|
+
}
|
|
20
|
+
//region block: exports
|
|
21
|
+
export {
|
|
22
|
+
toByteArray as toByteArrayholgcuj5zgpi,
|
|
23
|
+
AttoSerializable as AttoSerializable291xn050uxg51,
|
|
24
|
+
};
|
|
25
|
+
//endregion
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=AttoSerializable.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoSerializable.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.io.Buffer\nimport kotlinx.io.readByteArray\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@JsExportForJs\ninterface AttoSerializable {\n @OptIn(ExperimentalJsExport::class)\n @JsExport.Ignore\n fun toBuffer(): Buffer\n\n fun toByteArray(): ByteArray = toBuffer().readByteArray()\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["toByteArray"],"mappings":";;;;;;;oBAcIA,CAAAA,EAA+B;A,EAA0B,OAAf,cAAX,UAAW,C;AAAc,C;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/jsMain/kotlin/cash/atto/commons/AttoSignature.js.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/jsMain/kotlin/cash/atto/commons/AttoSignature.js.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.verify\n\nactual fun AttoSignature.isValid(\n publicKey: AttoPublicKey,\n hash: AttoHash,\n): Boolean {\n val publicKeyUint8 = publicKey.value.toUint8Array()\n\n val signatureUint8 = this.value.toUint8Array()\n\n val hashUint8 = hash.value.toUint8Array()\n\n return verify(\n publicKey = publicKeyUint8,\n message = hashUint8,\n signature = signatureUint8,\n )\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["isValid","<this>","publicKey","hash","publicKeyUint8","signatureUint8","hashUint8"],"mappings":";;;;;;gBAIOA,CAAIC,a,EACPC,S,EACAC,IAFGH,EAGI;A,MACPI,iBAAqC,aAAhB,SAAgB,CAAN,KAAM,C;MAErCC,iBAAgC,aAAX,aAAW,CAAN,KAAM,C;MAEhCC,YAA2B,aAAX,IAAW,CAAN,KAAM,C;EAE3B,OAAO,OACS,cADT,EAEO,SAFP,EAGS,cAHT,C;AAKX,C;;;;;"}
|
|
@@ -29,13 +29,13 @@ function Companion() {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
this.SIZE = 64;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
x4s() {
|
|
33
33
|
return this.SIZE;
|
|
34
34
|
}
|
|
35
35
|
parse(value) {
|
|
36
36
|
return new (AttoSignature())(fromHexToByteArray(value));
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
b1h() {
|
|
39
39
|
return AttoSignatureAsStringSerializer_getInstance();
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -72,15 +72,15 @@ function AttoSignature() {
|
|
|
72
72
|
toString() {
|
|
73
73
|
return toHex(this.value);
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
bf() {
|
|
76
76
|
return this.value;
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
o4q(value) {
|
|
79
79
|
return new (AttoSignature())(value);
|
|
80
80
|
}
|
|
81
81
|
copy(value, $super) {
|
|
82
82
|
value = value === VOID ? this.value : value;
|
|
83
|
-
return $super === VOID ? this.
|
|
83
|
+
return $super === VOID ? this.o4q(value) : $super.o4q.call(this, value);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
initMetadataForClass($, 'AttoSignature', VOID, VOID, VOID, VOID, VOID, {0: AttoSignatureAsStringSerializer_getInstance});
|
|
@@ -94,19 +94,19 @@ function AttoSignatureAsStringSerializer() {
|
|
|
94
94
|
class $ {
|
|
95
95
|
constructor() {
|
|
96
96
|
AttoSignatureAsStringSerializer_instance = this;
|
|
97
|
-
this.
|
|
97
|
+
this.y4s_1 = PrimitiveSerialDescriptor('AttoSignatureAsString', STRING_getInstance());
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
return this.
|
|
99
|
+
zs() {
|
|
100
|
+
return this.y4s_1;
|
|
101
101
|
}
|
|
102
|
-
|
|
103
|
-
encoder.
|
|
102
|
+
z4s(encoder, value) {
|
|
103
|
+
encoder.sy(value.toString());
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
return this.
|
|
105
|
+
at(encoder, value) {
|
|
106
|
+
return this.z4s(encoder, value instanceof AttoSignature() ? value : THROW_CCE());
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
return Companion_instance.parse(decoder.
|
|
108
|
+
bt(decoder) {
|
|
109
|
+
return Companion_instance.parse(decoder.jx());
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
initMetadataForObject($, 'AttoSignatureAsStringSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoSignature.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoSignature.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.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\n\n@Serializable(with = AttoSignatureAsStringSerializer::class)\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\ndata class AttoSignature(\n val value: ByteArray,\n) {\n companion object {\n const val SIZE = 64\n\n fun parse(value: String): AttoSignature = AttoSignature(value.fromHexToByteArray())\n }\n\n init {\n value.checkLength(SIZE)\n }\n\n override fun equals(other: Any?): Boolean {\n if (this === other) return true\n if (other !is AttoSignature) return false\n\n return value.contentEquals(other.value)\n }\n\n override fun hashCode(): Int = value.contentHashCode()\n\n override fun toString(): String = value.toHex()\n}\n\nexpect fun AttoSignature.isValid(\n publicKey: AttoPublicKey,\n hash: AttoHash,\n): Boolean\n\nfun AttoSignature.isValid(\n publicKey: AttoPublicKey,\n challenge: AttoChallenge,\n): Boolean {\n val hash = AttoHash.hash(64, publicKey.value, challenge.value)\n return isValid(publicKey, challenge)\n}\n\nobject AttoSignatureAsStringSerializer : KSerializer<AttoSignature> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoSignatureAsString\", PrimitiveKind.STRING)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoSignature,\n ) {\n encoder.encodeString(value.toString())\n }\n\n override fun deserialize(decoder: Decoder): AttoSignature = AttoSignature.parse(decoder.decodeString())\n}\n\nobject AttoSignatureAsByteArraySerializer : KSerializer<AttoSignature> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoSignatureAsByteArray\", PrimitiveKind.BYTE)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoSignature,\n ) {\n encoder.encodeSerializableValue(ByteArraySerializer(), value.value)\n }\n\n override fun deserialize(decoder: Decoder): AttoSignature = AttoSignature(decoder.decodeSerializableValue(ByteArraySerializer()))\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-SIZE>","parse","value","serializer","<get-value>","equals","other","hashCode","toString","<get-descriptor>","serialize","encoder","deserialize","decoder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmByB,c;;SAAXA,CAAAA,EAAA;A,QAAA,gB;MAAO,C;WAEbC,CAAUC,KAAVD,EAA0C;A,QAAyC,6BAArB,mBAAN,KAAM,CAAqB,C;MAAD,C;SAHtFE,CAAAA,EAAA;A,QAAA,oD;MAIA,C;;;;;;;;;;;;;;;kBANAD,K;QAAA,kB;QASU,YAAN,IAAM,CAAN,KAAM,EAAY,EAAZ,C;;QATVE,CAAAA,EAAA;A,QAAA,iB;MAAmB,C;YAYVC,CAAWC,KAAXD,EAAiC;A,QAClC,aAAS,KAAT,C;UAAgB,OAAO,I;QACvB,wC;UAAyB,OAAO,K;QAEpC,OAAa,cAAN,IAAM,CAAN,KAAM,EAAc,KAAd,CAAoB,KAApB,C;MACjB,C;cAESE,CAAAA,EAAsB;A,QAAuB,OAAjB,gBAAN,IAAM,CAAN,KAAM,C;MAAgB,C;cAE5CC,CAAAA,EAAyB;A,QAAa,OAAP,MAAN,IAAM,CAAN,KAAM,C;MAAM,C;WArClD;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,mC;MAAA,C;;iCAAA,I,CAAA,K;;;;;;;;;;;;;;;QAsD8B,uCAA0B,uBAA1B,uB;;QAAjBC,CAAAA,EAAA;A,QAAA,iB;MAAa,C;SAEbC,CACLC,O,EACAT,KAFKQ,EAGP;A,QACE,OAAQ,IAAa,KAAM,WAAnB,C;MACZ,C;SAiBm4IC,O,EAAkBT,K;;;QAf54IU,CAAgBC,OAAhBD,EAAmD;A,QAA2C,OAA7B,yBAAM,OAAQ,KAAd,C;MAA4B,C;;;;;;;;;;;;;;;;;;;;"}
|