@attocash/commons-test 6.2.1 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +121 -121
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +151 -151
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +130 -130
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +24 -24
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +46 -46
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +105 -105
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +48 -48
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +59 -59
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +15 -15
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +2 -0
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +38 -34
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +62 -54
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +868 -860
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +18 -18
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +74 -11
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +76 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
- package/commons-commons-core.mjs +1 -2
- package/commons-commons-core.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +375 -419
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +70 -41
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +18 -18
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +37 -37
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +134 -129
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +57 -57
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +70 -41
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +18 -18
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +8 -8
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +320 -320
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +31 -31
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +36 -48
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +55 -59
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +14 -14
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +33 -45
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +40 -40
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +73 -73
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +36 -36
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +14 -14
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +27 -27
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/commons-commons-worker.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +10 -5
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +31 -31
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +191 -191
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +9 -0
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +91 -0
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +43 -43
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +22 -22
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +62 -62
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +76 -76
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +167 -167
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +43 -43
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +85 -85
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +318 -318
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +438 -438
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +48 -48
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +56 -56
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +33 -33
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +46 -46
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +75 -75
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +52 -52
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +35 -35
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +53 -53
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +150 -150
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +41 -41
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +45 -45
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +53 -53
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +232 -232
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +17 -17
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +97 -97
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +31 -31
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +61 -61
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +21 -21
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +64 -64
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +177 -177
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +214 -214
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +71 -71
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +50 -50
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +46 -46
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +7 -7
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +71 -71
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +77 -77
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +55 -55
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -114
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +14 -14
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +39 -39
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +67 -67
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +59 -59
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +21 -21
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +89 -89
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +11 -11
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +73 -73
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +125 -125
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +28 -28
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +37 -37
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +79 -79
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +36 -36
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +82 -82
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +100 -100
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +52 -52
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +17 -17
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
- /package/{commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.mjs.map} +0 -0
- /package/{commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs.map → commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createAccountMonitor33xeovxaskm65 as createAccountMonitor } from './AttoAccountMonitor.mjs';
|
|
2
2
|
import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
|
|
3
|
-
import { AttoAccountMonitorAsynck80bazajgklw as AttoAccountMonitorAsync } from './AttoAccountMonitorAsync.mjs';
|
|
3
|
+
import { AttoAccountMonitorAsynck80bazajgklw as AttoAccountMonitorAsync } from './AttoAccountMonitorAsync.web.mjs';
|
|
4
4
|
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
5
5
|
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
6
6
|
//region block: imports
|
|
@@ -12,11 +12,11 @@ function AttoAccountMonitorAsyncBuilder() {
|
|
|
12
12
|
if (AttoAccountMonitorAsyncBuilderClass === VOID) {
|
|
13
13
|
class $ {
|
|
14
14
|
constructor(nodeClient) {
|
|
15
|
-
this.
|
|
15
|
+
this.d51_1 = nodeClient;
|
|
16
16
|
}
|
|
17
17
|
build() {
|
|
18
|
-
var monitor = createAccountMonitor(this.
|
|
19
|
-
return new (AttoAccountMonitorAsync())(monitor, Dispatchers_getInstance().
|
|
18
|
+
var monitor = createAccountMonitor(this.d51_1.client);
|
|
19
|
+
return new (AttoAccountMonitorAsync())(monitor, Dispatchers_getInstance().r20_1);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
initMetadataForClass($, 'AttoAccountMonitorAsyncBuilder');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-node/src/webMain/kotlin/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-node/src/webMain/kotlin/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.node.AttoNodeClientAsync\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.Dispatchers\n\n@JsExportForJs\nactual class AttoAccountMonitorAsyncBuilder actual constructor(\n private val nodeClient: AttoNodeClientAsync,\n) {\n actual fun build(): AttoAccountMonitorAsync {\n val monitor = nodeClient.client.createAccountMonitor()\n return AttoAccountMonitorAsync(monitor, Dispatchers.Default)\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["nodeClient","build","monitor"],"mappings":";;;;;;;;;;;;;kBAQYA,U;QAAR,uB;;WAEOC,CAAAA,EAAqC;A,YACxCC,UAAgC,qBAAlB,IAAkB,CAAlB,KAAkB,CAAP,MAAO,C;QAChC,uCAA+B,OAA/B,4BAAoD,KAApD,C;MACJ,C;;;;;;;;;;;"}
|
|
@@ -32,7 +32,7 @@ import { transformLatest23kpraac2xiec as transformLatest } from '../../../../../
|
|
|
32
32
|
//region block: pre-declaration
|
|
33
33
|
//endregion
|
|
34
34
|
function *_generator_acknowledge__rcglwo($this, $completion) {
|
|
35
|
-
var tmp = $this.
|
|
35
|
+
var tmp = $this.j4x_1($completion);
|
|
36
36
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
37
37
|
tmp = yield tmp;
|
|
38
38
|
return Unit_instance;
|
|
@@ -45,31 +45,31 @@ function *_generator_invoke__zhh2q8($this, $this$transformLatest, it, $completio
|
|
|
45
45
|
break $l$block;
|
|
46
46
|
}
|
|
47
47
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
48
|
-
var this_0 = $this.
|
|
49
|
-
var tmp = this_0.
|
|
48
|
+
var this_0 = $this.k4x_1.q4w_1;
|
|
49
|
+
var tmp = this_0.t2e(null, $completion);
|
|
50
50
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
51
51
|
tmp = yield tmp;
|
|
52
52
|
var tmp_0;
|
|
53
53
|
try {
|
|
54
|
-
$this.
|
|
54
|
+
$this.k4x_1.r4w_1.p4().r4(it);
|
|
55
55
|
// Inline function 'kotlin.collections.forEach' call
|
|
56
|
-
var _iterator__ex2g4s = minus(it, $this.
|
|
56
|
+
var _iterator__ex2g4s = minus(it, $this.k4x_1.r4w_1.p4()).q1();
|
|
57
57
|
while (_iterator__ex2g4s.r1()) {
|
|
58
58
|
var element = _iterator__ex2g4s.s1();
|
|
59
|
-
var tmp0 = $this.
|
|
60
|
-
var tmp_1 = $this.
|
|
59
|
+
var tmp0 = $this.k4x_1.r4w_1;
|
|
60
|
+
var tmp_1 = $this.k4x_1.p4w_1(element, $completion);
|
|
61
61
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
62
62
|
tmp_1 = yield tmp_1;
|
|
63
63
|
// Inline function 'kotlin.collections.set' call
|
|
64
64
|
var value = tmp_1;
|
|
65
|
-
tmp0.
|
|
65
|
+
tmp0.t4(element, value);
|
|
66
66
|
}
|
|
67
|
-
tmp_0 = toHeightSearch($this.
|
|
67
|
+
tmp_0 = toHeightSearch($this.k4x_1, $this.k4x_1.r4w_1);
|
|
68
68
|
}finally {
|
|
69
|
-
this_0.
|
|
69
|
+
this_0.e2e(null);
|
|
70
70
|
}
|
|
71
71
|
var search = tmp_0;
|
|
72
|
-
tmp$ret$0 = $this.
|
|
72
|
+
tmp$ret$0 = $this.k4x_1.n4w(search);
|
|
73
73
|
}
|
|
74
74
|
var tmp_2 = emitAll($this$transformLatest, tmp$ret$0, $completion);
|
|
75
75
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
@@ -78,27 +78,27 @@ function *_generator_invoke__zhh2q8($this, $this$transformLatest, it, $completio
|
|
|
78
78
|
}
|
|
79
79
|
function *_generator_invoke__zhh2q8_0($this, $completion) {
|
|
80
80
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
81
|
-
var this_0 = $this.
|
|
82
|
-
var tmp = this_0.
|
|
81
|
+
var this_0 = $this.l4x_1.q4w_1;
|
|
82
|
+
var tmp = this_0.t2e(null, $completion);
|
|
83
83
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
84
84
|
tmp = yield tmp;
|
|
85
85
|
try {
|
|
86
|
-
var tmp0 = $this.
|
|
87
|
-
var tmp2 = new (AttoAddress())($this.
|
|
86
|
+
var tmp0 = $this.l4x_1.r4w_1;
|
|
87
|
+
var tmp2 = new (AttoAddress())($this.m4x_1.algorithm, $this.m4x_1.publicKey);
|
|
88
88
|
// Inline function 'kotlin.collections.set' call
|
|
89
|
-
var value = $this.
|
|
90
|
-
tmp0.
|
|
89
|
+
var value = $this.n4x_1;
|
|
90
|
+
tmp0.t4(tmp2, value);
|
|
91
91
|
}finally {
|
|
92
|
-
this_0.
|
|
92
|
+
this_0.e2e(null);
|
|
93
93
|
}
|
|
94
94
|
return Unit_instance;
|
|
95
95
|
}
|
|
96
96
|
function *_generator_invoke__zhh2q8_1($this, value, $completion) {
|
|
97
|
-
var $this$transform = $this.
|
|
97
|
+
var $this$transform = $this.o4x_1;
|
|
98
98
|
var address = value.address;
|
|
99
99
|
var height = value.height;
|
|
100
|
-
var tmp$ret$0 = new (Message())(value, AttoHeightMonitor$stream$o$collect$slambda$slambda_0($this.
|
|
101
|
-
var tmp = $this$transform.
|
|
100
|
+
var tmp$ret$0 = new (Message())(value, AttoHeightMonitor$stream$o$collect$slambda$slambda_0($this.p4x_1, address, height));
|
|
101
|
+
var tmp = $this$transform.k26(tmp$ret$0, $completion);
|
|
102
102
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
103
103
|
tmp = yield tmp;
|
|
104
104
|
return Unit_instance;
|
|
@@ -108,9 +108,9 @@ function AttoHeightMonitor$stream$o$collect$slambda$slambda() {
|
|
|
108
108
|
if (AttoHeightMonitor$stream$o$collect$slambda$slambdaClass === VOID) {
|
|
109
109
|
class $ {
|
|
110
110
|
constructor(this$0, $address, $height) {
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
113
|
-
this.
|
|
111
|
+
this.l4x_1 = this$0;
|
|
112
|
+
this.m4x_1 = $address;
|
|
113
|
+
this.n4x_1 = $height;
|
|
114
114
|
}
|
|
115
115
|
od($completion) {
|
|
116
116
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this), $completion);
|
|
@@ -128,8 +128,8 @@ function AttoHeightMonitor$stream$o$collect$slambda$slambda_0(this$0, $address,
|
|
|
128
128
|
return l;
|
|
129
129
|
}
|
|
130
130
|
function *_generator_collect__dlomyy($this, collector, $completion) {
|
|
131
|
-
var tmp = AttoHeightMonitor$stream$o$collect$slambda_0(collector, $this.
|
|
132
|
-
var tmp_0 = $this.
|
|
131
|
+
var tmp = AttoHeightMonitor$stream$o$collect$slambda_0(collector, $this.r4x_1);
|
|
132
|
+
var tmp_0 = $this.q4x_1.g26(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
|
|
133
133
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
134
134
|
tmp_0 = yield tmp_0;
|
|
135
135
|
return Unit_instance;
|
|
@@ -139,14 +139,14 @@ function AttoHeightMonitor$stream$o$collect$slambda() {
|
|
|
139
139
|
if (AttoHeightMonitor$stream$o$collect$slambdaClass === VOID) {
|
|
140
140
|
class $ {
|
|
141
141
|
constructor($$this$unsafeFlow, this$0) {
|
|
142
|
-
this.
|
|
143
|
-
this.
|
|
142
|
+
this.o4x_1 = $$this$unsafeFlow;
|
|
143
|
+
this.p4x_1 = this$0;
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
n3f(value, $completion) {
|
|
146
146
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_1.bind(VOID, this, value), $completion);
|
|
147
147
|
}
|
|
148
148
|
md(p1, $completion) {
|
|
149
|
-
return this.
|
|
149
|
+
return this.n3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -156,7 +156,7 @@ function AttoHeightMonitor$stream$o$collect$slambda() {
|
|
|
156
156
|
}
|
|
157
157
|
function AttoHeightMonitor$stream$o$collect$slambda_0($$this$unsafeFlow, this$0) {
|
|
158
158
|
var i = new (AttoHeightMonitor$stream$o$collect$slambda())($$this$unsafeFlow, this$0);
|
|
159
|
-
var l = (value, $completion) => i.
|
|
159
|
+
var l = (value, $completion) => i.n3f(value, $completion);
|
|
160
160
|
l.$arity = 1;
|
|
161
161
|
return l;
|
|
162
162
|
}
|
|
@@ -165,10 +165,10 @@ function Message() {
|
|
|
165
165
|
if (MessageClass === VOID) {
|
|
166
166
|
class $ {
|
|
167
167
|
constructor(value, acknowledge) {
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
168
|
+
this.i4x_1 = value;
|
|
169
|
+
this.j4x_1 = acknowledge;
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
s4x($completion) {
|
|
172
172
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_acknowledge__rcglwo.bind(VOID, this), $completion);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -196,13 +196,13 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
196
196
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
|
|
197
197
|
class $ {
|
|
198
198
|
constructor(function_0) {
|
|
199
|
-
this.
|
|
199
|
+
this.t4x_1 = function_0;
|
|
200
200
|
}
|
|
201
|
-
|
|
202
|
-
return this.
|
|
201
|
+
k26(value, $completion) {
|
|
202
|
+
return this.t4x_1(value, $completion);
|
|
203
203
|
}
|
|
204
204
|
f5() {
|
|
205
|
-
return this.
|
|
205
|
+
return this.t4x_1;
|
|
206
206
|
}
|
|
207
207
|
equals(other) {
|
|
208
208
|
var tmp;
|
|
@@ -232,11 +232,11 @@ var AttoHeightMonitor$_init_$slambda_oraq2vClass;
|
|
|
232
232
|
function AttoHeightMonitor$_init_$slambda_oraq2v() {
|
|
233
233
|
if (AttoHeightMonitor$_init_$slambda_oraq2vClass === VOID) {
|
|
234
234
|
class $ {
|
|
235
|
-
|
|
236
|
-
return Companion_getInstance().
|
|
235
|
+
h4w(it, $completion) {
|
|
236
|
+
return Companion_getInstance().v4n_1;
|
|
237
237
|
}
|
|
238
238
|
md(p1, $completion) {
|
|
239
|
-
return this.
|
|
239
|
+
return this.h4w(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -246,7 +246,7 @@ function AttoHeightMonitor$_init_$slambda_oraq2v() {
|
|
|
246
246
|
}
|
|
247
247
|
function AttoHeightMonitor$_init_$slambda_oraq2v_0() {
|
|
248
248
|
var i = new (AttoHeightMonitor$_init_$slambda_oraq2v())();
|
|
249
|
-
var l = (it, $completion) => i.
|
|
249
|
+
var l = (it, $completion) => i.h4w(it, $completion);
|
|
250
250
|
l.$arity = 1;
|
|
251
251
|
return l;
|
|
252
252
|
}
|
|
@@ -255,14 +255,14 @@ function AttoHeightMonitor$stream$slambda() {
|
|
|
255
255
|
if (AttoHeightMonitor$stream$slambdaClass === VOID) {
|
|
256
256
|
class $ {
|
|
257
257
|
constructor(this$0) {
|
|
258
|
-
this.
|
|
258
|
+
this.k4x_1 = this$0;
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
d4x($this$transformLatest, it, $completion) {
|
|
261
261
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$transformLatest, it), $completion);
|
|
262
262
|
}
|
|
263
263
|
nd(p1, p2, $completion) {
|
|
264
264
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE();
|
|
265
|
-
return this.
|
|
265
|
+
return this.d4x(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -272,7 +272,7 @@ function AttoHeightMonitor$stream$slambda() {
|
|
|
272
272
|
}
|
|
273
273
|
function AttoHeightMonitor$stream$slambda_0(this$0) {
|
|
274
274
|
var i = new (AttoHeightMonitor$stream$slambda())(this$0);
|
|
275
|
-
var l = ($this$transformLatest, it, $completion) => i.
|
|
275
|
+
var l = ($this$transformLatest, it, $completion) => i.d4x($this$transformLatest, it, $completion);
|
|
276
276
|
l.$arity = 2;
|
|
277
277
|
return l;
|
|
278
278
|
}
|
|
@@ -281,14 +281,14 @@ function AttoHeightMonitor$stream$$inlined$map$1() {
|
|
|
281
281
|
if (AttoHeightMonitor$stream$$inlined$map$1Class === VOID) {
|
|
282
282
|
class $ {
|
|
283
283
|
constructor($this, this$0) {
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
284
|
+
this.q4x_1 = $this;
|
|
285
|
+
this.r4x_1 = this$0;
|
|
286
286
|
}
|
|
287
|
-
|
|
287
|
+
l26(collector, $completion) {
|
|
288
288
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_collect__dlomyy.bind(VOID, this, collector), $completion);
|
|
289
289
|
}
|
|
290
|
-
|
|
291
|
-
return this.
|
|
290
|
+
g26(collector, $completion) {
|
|
291
|
+
return this.l26(collector, $completion);
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
initMetadataForClass($, VOID, VOID, VOID, VOID, [1]);
|
|
@@ -308,16 +308,16 @@ function AttoHeightMonitor() {
|
|
|
308
308
|
tmp = heightProvider;
|
|
309
309
|
}
|
|
310
310
|
heightProvider = tmp;
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
311
|
+
this.o4w_1 = accountMonitor;
|
|
312
|
+
this.p4w_1 = heightProvider;
|
|
313
|
+
this.q4w_1 = Mutex();
|
|
314
314
|
var tmp_0 = this;
|
|
315
315
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
316
|
-
tmp_0.
|
|
316
|
+
tmp_0.r4w_1 = LinkedHashMap().s5();
|
|
317
317
|
}
|
|
318
|
-
|
|
318
|
+
s4w() {
|
|
319
319
|
// Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
|
|
320
|
-
var this_0 = this.
|
|
320
|
+
var this_0 = this.o4w_1.c4x();
|
|
321
321
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
322
322
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
323
323
|
var this_1 = transformLatest(this_0, AttoHeightMonitor$stream$slambda_0(this));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoHeightMonitor.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/sync/Mutex.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Collections.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/src/kotlin/collections/Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Emitters.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Merge.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/internal/SafeCollector.common.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoHeightMonitor.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/sync/Mutex.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Collections.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/src/kotlin/collections/Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Emitters.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Merge.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/internal/SafeCollector.common.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AddressSupport\nimport cash.atto.commons.AttoAddress\nimport cash.atto.commons.AttoHeight\nimport cash.atto.commons.HeightSupport\nimport cash.atto.commons.node.AccountHeightSearch\nimport cash.atto.commons.node.HeightSearch\nimport kotlinx.coroutines.ExperimentalCoroutinesApi\nimport kotlinx.coroutines.flow.Flow\nimport kotlinx.coroutines.flow.emptyFlow\nimport kotlinx.coroutines.flow.flatMapLatest\nimport kotlinx.coroutines.flow.map\nimport kotlinx.coroutines.sync.Mutex\nimport kotlinx.coroutines.sync.withLock\n\nabstract class AttoHeightMonitor<T> internal constructor(\n private val accountMonitor: AttoAccountMonitor,\n private val heightProvider: suspend (AttoAddress) -> AttoHeight = { AttoHeight.MIN },\n) where T : HeightSupport, T : AddressSupport {\n private val mutex = Mutex()\n private val heightMap = mutableMapOf<AttoAddress, AttoHeight>()\n\n class Message<T>(\n val value: T,\n private val acknowledge: suspend () -> Unit,\n ) {\n suspend fun acknowledge() {\n acknowledge.invoke()\n }\n }\n\n internal abstract fun stream(search: HeightSearch): Flow<T>\n\n @OptIn(ExperimentalCoroutinesApi::class)\n fun stream(): Flow<Message<T>> {\n return accountMonitor\n .membershipFlow()\n .flatMapLatest { addresses ->\n if (addresses.isEmpty()) {\n return@flatMapLatest emptyFlow()\n }\n val search =\n mutex.withLock {\n heightMap.keys.retainAll(addresses)\n\n (addresses - heightMap.keys).forEach { address -> heightMap[address] = heightProvider.invoke(address) }\n\n heightMap.toHeightSearch()\n }\n return@flatMapLatest stream(search)\n }.map {\n val address = it.address\n val height = it.height\n Message(it) {\n mutex.withLock {\n heightMap[AttoAddress(address.algorithm, address.publicKey)] = height\n }\n }\n }\n }\n\n private fun Map<AttoAddress, AttoHeight>.toHeightSearch(): HeightSearch {\n val accounts =\n this.map {\n AccountHeightSearch(it.key, it.value)\n }\n\n return HeightSearch(accounts)\n }\n}\n",null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-acknowledge>","$completion","<generator-invoke>","element","search","address","height","$address","$height","invoke","AttoHeightMonitor$stream$o$collect$slambda$slambda","AttoHeightMonitor$stream$o$collect$slambda$slambda$lambda","<generator-collect>","collector","AttoHeightMonitor$stream$o$collect$slambda","AttoHeightMonitor$stream$o$collect$slambda$lambda","value","acknowledge","toHeightSearch","<this>","item","accounts","emit","equals","hashCode","AttoHeightMonitor$<init>$slambda","AttoHeightMonitor$<init>$slambda$lambda","AttoHeightMonitor$stream$slambda","AttoHeightMonitor$stream$slambda$lambda","collect","accountMonitor","heightProvider","stream"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA2BgBA,CAAA,K,EAAAC,WAAAD,EAAkB;A,MACV,MAAZ,KAAY,CAAZ,KAAY,a;;;EAChB,oB;AAAA,C;mCA0C++JE,CAAA,K,EAAA,qB,EAAA,E,EAAAD,WAAAC,EAAE;A;;IAhCr+J,IAgCu/J,EAhC7+J,KAAV,C,CAAqB;A,MACrB,YAAqB,W;;IACzB,C;;iBAEI,K,CAAA,K,CAAA,K;QC6EhB,iBAJuD,IAIvD,c;;;;IACO,I;MD7Ea,KAAU,CAAV,KAAU,CAAV,KAAU,KAAK,IA2Bo+J,EA3Bp+J,C;;UE80DnB,oBF50DK,MAyBk/J,EAzBl/J,EAAY,KAAU,CAAV,KAAU,CAAV,KAAU,KAAtB,CE40DL,K;aAAA,sB,EAAM;A,YAAjBC,UAAW,sB;mBF50DsD,K,CAAA,K,CAAA,K;YAAoC,QAAf,KAAe,CAAf,KAAe,CAAf,KAAe,CE40D7E,OF50D6E,c;;;;oBAAA,K;QG0N1G,QDknD6B,OClnD7B,EAAS,KAAT,C;MDknDoC,C;cF10DN,eAAV,KAAU,CAAV,KAAU,EAAV,KAAU,CAAV,KAAU,CAAV,KAAU,C;aC2EpB;A,MACN,WARmD,IAQnD,C;IACJ,C;QDnFYC,SC+EL,K;IDvEK,YAAqB,gBAAO,MAAP,C;;MAqBo9J,uCAAQ,SAAR,c;;;EAAqB,oB;AAAA,C;qCAjBl/JF,CAAA,K,EAAAD,WAAAC,EACR;A;eAAA,K,CAAA,K,CAAA,K;MCiEhB,iBAJuD,IAIvD,c;;;EACO,IAAI;A,eDjES,K,CAAA,K,CAAA,K;eAAU,oBAAY,KAAZ,CAAY,KAAZ,CAAoB,SAApB,EAA+B,KAA/B,CAA+B,KAA/B,CAAuC,SAAvC,C;;gBAAqD,K,CAAA,K;IGgNnF,cAAS,KAAT,C;EF7IA,C,QAAU;A,IACN,WARmD,IAQnD,C;EACJ,C;EDpEgB,oB;AAAA,C;qCATZA,CAAA,K,EAAE,K,EAAFD,WAAAC,EAE8B;A;MAEtBG,UADL,KACKA,CAAiB,O;MACjBC,SAFL,KAEKA,CAAgB,M;MAKf,YAJD,gBAHL,KAGK,EAAY,kFAAZ,C;MILK,0BAAK,SAAL,c;;;EJCiB,oB;AACtB,C;;;;;kBIfd,M,EAiBuBC,Q,EAAyCC,O;;;;;QAAmDC,CAAAR,WAAAQ,E;;O;;;;;;;6DJCzFC,CAnBxB,M,EAiBYH,Q,EACAC,OACYE,E;;UAAAC,CAAAV,WAAAU,sB;;;C;oCAiBkkDC,CAAA,K,EAA6BC,S,EAA7BZ,WAAAW,EAA0D;A,MKzB5oD,mDLyB0pD,SKzB1pD,c;MAAR,4EAAQ,GAAR,e;;;ELyB4rD,oB;AAAA,C;;;;;qCInC9rD,M;;;;SAYsCH,CAAE,K,EAAFR,WAAAQ,E;;O;SAhDxC,E,EAAAR,W;;;;;;;;;qDJgDQa,C,mBAbJ,MAaIA,E;;UAAAC,CAAE,K,EAAFd,WAAAc,8B;;;C;;;;;kBAxBAC,K,EACQC,W;QADR,kB;QACA,wB;;SAEQA,CAAAhB,WAAAgB,E;;O;;;;;;;uBAmCJC,CAAA,K,EAAIC,aAAJD,EAAgE;A;;oBMkE3D,eNhEL,aMgEkB,KAAb,C;;MA6BA,oBN7FL,aG8U4E,KAAQ,K;SGjP/E,sB,EACT;A,QADCE,OAAQ,sB;QN5FoC,YAArC,4BM6FkB,IN7FK,KAAvB,EM6FkB,IN7Fa,KAA/B,C;IM6FR,WAAY,IAAI,SAAJ,C;EAAmB,C;MN/F/BC,WMgGG,W;EN3FH,4BAAoB,QAApB,C;AACJ,C;;;;;;QArBI,uB;;SAAAC,CAzBQN,K,EAyBRf,WAAAqB,E;;O;;;;YAhDRC,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;;;;;SAkBsEf,CAAA,E,EAAAR,WAAAQ,EAAE;A,QAAc,+BAAH,K;MAAE,C;SAlBrF,E,EAAAR,W;;;;;;;;;kDAkBsEwB,CAAAA,E;;UAAAC,CAAA,E,EAAAzB,WAAAyB,2B;;;C;;;;;kBOerB,M;;;SA2J7BjB,CAAA,qB,EAAA,E,EAAAR,WAAAQ,E;;O;SA5LpB,E,EAAA,E,EAAAR,W;;;;;;;;;;2CPuEu/J0B,CApCn/J,MAoCm/JA,E;;UAAAC,CAAA,qB,EAAA,E,EAAA3B,WAAA2B,kD;;;C;;;;;yBInCr/J,M;;;;SAoEcC,CAA6BhB,S,EAA7BZ,WAAA4B,E;;O;UA8D2lIhB,S,EAA3BZ,W;;;;;;;;;;;;;kBJrJpkI6B,c,EACAC,c;;;gBAA0D,2C;;;;;QADlE,2B;QACA,2B;QAEoB,oB;oBACI,I;;QAAA,cG+DgC,oB;;SHjDxDC,CAAAA,EAA+B;A;qBACpB,IACF,CADE,KACF,M;;;qBOuJT,wBAAgB,wCAAhB,C;;QPxJI,OQoEG,6D;MR5CP,C;;;;;;;;;;;"}
|
|
@@ -15,11 +15,11 @@ var AttoTransactionMonitor$_init_$slambda_7tohweClass;
|
|
|
15
15
|
function AttoTransactionMonitor$_init_$slambda_7tohwe() {
|
|
16
16
|
if (AttoTransactionMonitor$_init_$slambda_7tohweClass === VOID) {
|
|
17
17
|
class $ {
|
|
18
|
-
|
|
19
|
-
return Companion_getInstance().
|
|
18
|
+
h4w(it, $completion) {
|
|
19
|
+
return Companion_getInstance().v4n_1;
|
|
20
20
|
}
|
|
21
21
|
md(p1, $completion) {
|
|
22
|
-
return this.
|
|
22
|
+
return this.h4w(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -29,7 +29,7 @@ function AttoTransactionMonitor$_init_$slambda_7tohwe() {
|
|
|
29
29
|
}
|
|
30
30
|
function AttoTransactionMonitor$_init_$slambda_7tohwe_0() {
|
|
31
31
|
var i = new (AttoTransactionMonitor$_init_$slambda_7tohwe())();
|
|
32
|
-
var l = (it, $completion) => i.
|
|
32
|
+
var l = (it, $completion) => i.h4w(it, $completion);
|
|
33
33
|
l.$arity = 1;
|
|
34
34
|
return l;
|
|
35
35
|
}
|
|
@@ -46,10 +46,10 @@ function AttoTransactionMonitor() {
|
|
|
46
46
|
}
|
|
47
47
|
heightProvider = tmp;
|
|
48
48
|
super(accountMonitor, heightProvider);
|
|
49
|
-
this.
|
|
49
|
+
this.y4x_1 = nodeClient;
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
return this.
|
|
51
|
+
n4w(search) {
|
|
52
|
+
return this.y4x_1.e4w(search);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
initMetadataForClass($, 'AttoTransactionMonitor');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoTransactionMonitor.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoTransactionMonitor.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AttoAddress\nimport cash.atto.commons.AttoHeight\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.node.AttoNodeClient\nimport cash.atto.commons.node.HeightSearch\nimport kotlinx.coroutines.flow.Flow\n\nclass AttoTransactionMonitor(\n private val nodeClient: AttoNodeClient,\n accountMonitor: AttoAccountMonitor,\n heightProvider: suspend (AttoAddress) -> AttoHeight = { AttoHeight.MIN },\n) : AttoHeightMonitor<AttoTransaction>(accountMonitor, heightProvider) {\n override fun stream(search: HeightSearch): Flow<AttoTransaction> = nodeClient.transactionStream(search)\n}\n\nfun AttoAccountMonitor.toTransactionMonitor(\n heightProvider: suspend (AttoAddress) -> AttoHeight = {\n AttoHeight.MIN\n },\n): AttoTransactionMonitor = AttoTransactionMonitor(client, this, heightProvider)\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","AttoTransactionMonitor$<init>$slambda","AttoTransactionMonitor$<init>$slambda$lambda","nodeClient","accountMonitor","heightProvider","stream","search"],"mappings":";;;;;;;;;;;;;;;;;SAY0DA,CAAA,E,EAAAC,WAAAD,EAAE;A,QAAc,+BAAH,K;MAAE,C;SAZzE,E,EAAAC,W;;;;;;;;;uDAY0DC,CAAAA,E;;UAAAC,CAAA,E,EAAAF,WAAAE,2B;;;C;;;;;kBAF9CC,U,EACRC,c,EACAC,c;;;gBAAsD,gD;;;;;cACnB,c,EAAgB,c;QAHnD,uB;;SAISC,CAAWC,MAAXD,EAA0D;A,QAAoC,OAApC,IAAW,CAAX,KAAW,KAAkB,MAAlB,C;MAAwB,C;;;;;;;;;;;"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
3
|
export declare class AttoTransactionMonitorAsync /* implements AutoCloseable */ {
|
|
4
|
-
constructor(
|
|
5
|
-
|
|
4
|
+
private constructor();
|
|
5
|
+
get transactionMonitor(): any/* AttoTransactionMonitor */;
|
|
6
|
+
onTransaction(onTransaction: any /*Suspend functions are not supported*/, onCancel: (p0: Nullable<Error>/* Nullable<Exception> */) => void): any/* AttoJob */;
|
|
6
7
|
}
|
|
7
8
|
export declare namespace AttoTransactionMonitorAsync {
|
|
8
9
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttoTransactionMonitorAsync25h9q28tjimx0 as AttoTransactionMonitorAsync } from './AttoTransactionMonitorAsync.mjs';
|
|
1
|
+
import { AttoTransactionMonitorAsync25h9q28tjimx0 as AttoTransactionMonitorAsync } from './AttoTransactionMonitorAsync.web.mjs';
|
|
2
2
|
//region block: imports
|
|
3
3
|
//endregion
|
|
4
4
|
//region block: pre-declaration
|
|
@@ -10,4 +10,4 @@ export {
|
|
|
10
10
|
};
|
|
11
11
|
//endregion
|
|
12
12
|
|
|
13
|
-
//# sourceMappingURL=AttoTransactionMonitorAsync.export.mjs.map
|
|
13
|
+
//# sourceMappingURL=AttoTransactionMonitorAsync.web.export.mjs.map
|
|
@@ -21,7 +21,6 @@ import {
|
|
|
21
21
|
CoroutineScopelux7s7zphw7e as CoroutineScope_0,
|
|
22
22
|
cancel36mj9lv3a0whl as cancel,
|
|
23
23
|
} from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
|
|
24
|
-
import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
|
|
25
24
|
import { SupervisorJobythnfxkr3jxc as SupervisorJob } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs';
|
|
26
25
|
import { launch1c91vkjzdi9sd as launch } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs';
|
|
27
26
|
import { AttoJob1jkwx1uqpl60h as AttoJob } from '../../../../../../commons-commons-core/cash/atto/commons/AttoJob.mjs';
|
|
@@ -31,28 +30,36 @@ import { AutoCloseable1l5p57f9lp7kv as AutoCloseable } from '../../../../../../k
|
|
|
31
30
|
//region block: pre-declaration
|
|
32
31
|
//endregion
|
|
33
32
|
function *_generator_invoke__zhh2q8($this, it, $completion) {
|
|
34
|
-
$this.
|
|
35
|
-
var tmp = it.v4y($completion);
|
|
33
|
+
var tmp = $this.e51_1(it.i4x_1, $completion);
|
|
36
34
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
37
35
|
tmp = yield tmp;
|
|
36
|
+
var tmp_0 = it.s4x($completion);
|
|
37
|
+
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
38
|
+
tmp_0 = yield tmp_0;
|
|
38
39
|
return Unit_instance;
|
|
39
40
|
}
|
|
40
41
|
function *_generator_invoke__zhh2q8_0($this, $this$launch, $completion) {
|
|
41
42
|
try {
|
|
42
|
-
var tmp = AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($this.
|
|
43
|
-
var tmp_0 = $this.
|
|
43
|
+
var tmp = AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($this.h51_1);
|
|
44
|
+
var tmp_0 = $this.f51_1.g26(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
|
|
44
45
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
45
46
|
tmp_0 = yield tmp_0;
|
|
46
|
-
$this.
|
|
47
|
+
var tmp_1 = $this.g51_1(null, $completion);
|
|
48
|
+
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
49
|
+
tmp_1 = yield tmp_1;
|
|
47
50
|
} catch ($p) {
|
|
48
51
|
if ($p instanceof CancellationException()) {
|
|
49
52
|
var e = $p;
|
|
50
|
-
$this.
|
|
53
|
+
var tmp_2 = $this.g51_1(null, $completion);
|
|
54
|
+
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
55
|
+
tmp_2 = yield tmp_2;
|
|
51
56
|
throw e;
|
|
52
57
|
} else {
|
|
53
58
|
if ($p instanceof Exception()) {
|
|
54
59
|
var e_0 = $p;
|
|
55
|
-
$this.
|
|
60
|
+
var tmp_3 = $this.g51_1(e_0, $completion);
|
|
61
|
+
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
62
|
+
tmp_3 = yield tmp_3;
|
|
56
63
|
} else {
|
|
57
64
|
throw $p;
|
|
58
65
|
}
|
|
@@ -65,13 +72,13 @@ function AttoTransactionMonitorAsync$onTransaction$slambda$slambda() {
|
|
|
65
72
|
if (AttoTransactionMonitorAsync$onTransaction$slambda$slambdaClass === VOID) {
|
|
66
73
|
class $ {
|
|
67
74
|
constructor($onTransaction) {
|
|
68
|
-
this.
|
|
75
|
+
this.e51_1 = $onTransaction;
|
|
69
76
|
}
|
|
70
|
-
|
|
77
|
+
n3f(it, $completion) {
|
|
71
78
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, it), $completion);
|
|
72
79
|
}
|
|
73
80
|
md(p1, $completion) {
|
|
74
|
-
return this.
|
|
81
|
+
return this.n3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
75
82
|
}
|
|
76
83
|
}
|
|
77
84
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -81,7 +88,7 @@ function AttoTransactionMonitorAsync$onTransaction$slambda$slambda() {
|
|
|
81
88
|
}
|
|
82
89
|
function AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($onTransaction) {
|
|
83
90
|
var i = new (AttoTransactionMonitorAsync$onTransaction$slambda$slambda())($onTransaction);
|
|
84
|
-
var l = (it, $completion) => i.
|
|
91
|
+
var l = (it, $completion) => i.n3f(it, $completion);
|
|
85
92
|
l.$arity = 1;
|
|
86
93
|
return l;
|
|
87
94
|
}
|
|
@@ -90,13 +97,13 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
90
97
|
if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
|
|
91
98
|
class $ {
|
|
92
99
|
constructor(function_0) {
|
|
93
|
-
this.
|
|
100
|
+
this.i51_1 = function_0;
|
|
94
101
|
}
|
|
95
|
-
|
|
96
|
-
return this.
|
|
102
|
+
k26(value, $completion) {
|
|
103
|
+
return this.i51_1(value, $completion);
|
|
97
104
|
}
|
|
98
105
|
f5() {
|
|
99
|
-
return this.
|
|
106
|
+
return this.i51_1;
|
|
100
107
|
}
|
|
101
108
|
equals(other) {
|
|
102
109
|
var tmp;
|
|
@@ -122,26 +129,19 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
|
|
|
122
129
|
}
|
|
123
130
|
return sam$kotlinx_coroutines_flow_FlowCollector$0Class;
|
|
124
131
|
}
|
|
125
|
-
function AttoTransactionMonitorAsync$onTransaction$lambda($onCancel) {
|
|
126
|
-
return (it) => {
|
|
127
|
-
$onCancel.u4u(it);
|
|
128
|
-
return Unit_instance;
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
132
|
var AttoTransactionMonitorAsync$onTransaction$slambdaClass;
|
|
132
133
|
function AttoTransactionMonitorAsync$onTransaction$slambda() {
|
|
133
134
|
if (AttoTransactionMonitorAsync$onTransaction$slambdaClass === VOID) {
|
|
134
135
|
class $ {
|
|
135
|
-
constructor($
|
|
136
|
-
this.
|
|
137
|
-
this.v50_1 = $onCancel;
|
|
138
|
-
this.w50_1 = $onTransaction;
|
|
136
|
+
constructor($onCancel) {
|
|
137
|
+
this.j51_1 = $onCancel;
|
|
139
138
|
}
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
p50(it, $completion) {
|
|
140
|
+
this.j51_1(it);
|
|
141
|
+
return Unit_instance;
|
|
142
142
|
}
|
|
143
143
|
md(p1, $completion) {
|
|
144
|
-
return this.
|
|
144
|
+
return this.p50((p1 == null ? true : p1 instanceof Exception()) ? p1 : THROW_CCE(), $completion);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -149,9 +149,36 @@ function AttoTransactionMonitorAsync$onTransaction$slambda() {
|
|
|
149
149
|
}
|
|
150
150
|
return AttoTransactionMonitorAsync$onTransaction$slambdaClass;
|
|
151
151
|
}
|
|
152
|
-
function AttoTransactionMonitorAsync$onTransaction$slambda_0($
|
|
153
|
-
var i = new (AttoTransactionMonitorAsync$onTransaction$slambda())($
|
|
154
|
-
var l = (
|
|
152
|
+
function AttoTransactionMonitorAsync$onTransaction$slambda_0($onCancel) {
|
|
153
|
+
var i = new (AttoTransactionMonitorAsync$onTransaction$slambda())($onCancel);
|
|
154
|
+
var l = (it, $completion) => i.p50(it, $completion);
|
|
155
|
+
l.$arity = 1;
|
|
156
|
+
return l;
|
|
157
|
+
}
|
|
158
|
+
var AttoTransactionMonitorAsync$onTransaction$slambdaClass_0;
|
|
159
|
+
function AttoTransactionMonitorAsync$onTransaction$slambda_1() {
|
|
160
|
+
if (AttoTransactionMonitorAsync$onTransaction$slambdaClass_0 === VOID) {
|
|
161
|
+
class $ {
|
|
162
|
+
constructor($stream, $onCancel, $onTransaction) {
|
|
163
|
+
this.f51_1 = $stream;
|
|
164
|
+
this.g51_1 = $onCancel;
|
|
165
|
+
this.h51_1 = $onTransaction;
|
|
166
|
+
}
|
|
167
|
+
v28($this$launch, $completion) {
|
|
168
|
+
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$launch), $completion);
|
|
169
|
+
}
|
|
170
|
+
md(p1, $completion) {
|
|
171
|
+
return this.v28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
175
|
+
AttoTransactionMonitorAsync$onTransaction$slambdaClass_0 = $;
|
|
176
|
+
}
|
|
177
|
+
return AttoTransactionMonitorAsync$onTransaction$slambdaClass_0;
|
|
178
|
+
}
|
|
179
|
+
function AttoTransactionMonitorAsync$onTransaction$slambda_2($stream, $onCancel, $onTransaction) {
|
|
180
|
+
var i = new (AttoTransactionMonitorAsync$onTransaction$slambda_1())($stream, $onCancel, $onTransaction);
|
|
181
|
+
var l = ($this$launch, $completion) => i.v28($this$launch, $completion);
|
|
155
182
|
l.$arity = 1;
|
|
156
183
|
return l;
|
|
157
184
|
}
|
|
@@ -160,19 +187,21 @@ function AttoTransactionMonitorAsync() {
|
|
|
160
187
|
if (AttoTransactionMonitorAsyncClass === VOID) {
|
|
161
188
|
class $ {
|
|
162
189
|
constructor(transactionMonitor, dispatcher) {
|
|
163
|
-
|
|
164
|
-
this.
|
|
165
|
-
|
|
190
|
+
this.transactionMonitor = transactionMonitor;
|
|
191
|
+
this.k51_1 = CoroutineScope_0(dispatcher.gl(SupervisorJob()));
|
|
192
|
+
}
|
|
193
|
+
l51() {
|
|
194
|
+
return this.transactionMonitor;
|
|
166
195
|
}
|
|
167
196
|
onTransaction(onTransaction, onCancel) {
|
|
168
|
-
var tmp0 = this.
|
|
169
|
-
var tmp2 = this.
|
|
197
|
+
var tmp0 = this.k51_1;
|
|
198
|
+
var tmp2 = this.transactionMonitor.s4w();
|
|
170
199
|
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
171
|
-
var onCancel_0 = AttoTransactionMonitorAsync$onTransaction$
|
|
172
|
-
return new (AttoJob())(launch(tmp0, VOID, VOID, AttoTransactionMonitorAsync$onTransaction$
|
|
200
|
+
var onCancel_0 = AttoTransactionMonitorAsync$onTransaction$slambda_0(onCancel);
|
|
201
|
+
return new (AttoJob())(launch(tmp0, VOID, VOID, AttoTransactionMonitorAsync$onTransaction$slambda_2(tmp2, onCancel_0, onTransaction)));
|
|
173
202
|
}
|
|
174
203
|
u6() {
|
|
175
|
-
cancel(this.
|
|
204
|
+
cancel(this.k51_1);
|
|
176
205
|
}
|
|
177
206
|
}
|
|
178
207
|
initMetadataForClass($, 'AttoTransactionMonitorAsync', VOID, VOID, [AutoCloseable()]);
|
|
@@ -186,4 +215,4 @@ export {
|
|
|
186
215
|
};
|
|
187
216
|
//endregion
|
|
188
217
|
|
|
189
|
-
//# sourceMappingURL=AttoTransactionMonitorAsync.mjs.map
|
|
218
|
+
//# sourceMappingURL=AttoTransactionMonitorAsync.web.mjs.map
|
package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-node/src/webMain/kotlin/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.kt","../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/NodeExtensions.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AttoJob\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.node.consumeStream\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.SupervisorJob\nimport kotlinx.coroutines.cancel\nimport kotlin.js.ExperimentalJsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoTransactionMonitorAsync internal actual constructor(\n actual val transactionMonitor: AttoTransactionMonitor,\n dispatcher: CoroutineDispatcher,\n) : AutoCloseable {\n private val scope = CoroutineScope(dispatcher + SupervisorJob())\n\n fun onTransaction(\n onTransaction: suspend (AttoTransaction) -> Unit,\n onCancel: (Exception?) -> Unit,\n ): AttoJob =\n scope.consumeStream(\n stream = transactionMonitor.stream(),\n onEach = {\n onTransaction(it.value)\n it.acknowledge()\n },\n onCancel = { onCancel.invoke(it) },\n )\n\n actual override fun close() {\n scope.cancel()\n }\n}\n\nfun AttoTransactionMonitor.toAsync(): AttoTransactionMonitorAsync = AttoTransactionMonitorAsync(this, Dispatchers.Default)\n","@file:OptIn(ExperimentalJsExport::class)\n\npackage cash.atto.commons.node\n\nimport cash.atto.commons.AttoAccountEntry\nimport cash.atto.commons.AttoBlock\nimport cash.atto.commons.AttoJob\nimport cash.atto.commons.AttoReceivable\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.toBuffer\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.flow.Flow\nimport kotlinx.coroutines.launch\nimport kotlinx.serialization.json.Json\nimport kotlin.coroutines.cancellation.CancellationException\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsName\n\nprivate val json =\n Json {\n ignoreUnknownKeys = true\n }\n\n@JsExportForJs\n@JsName(\"receivableToJson\")\nfun AttoReceivable.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"receivableFromJson\")\nfun String.toReceivable(): AttoReceivable = json.decodeFromString<AttoReceivable>(this)\n\n@JsExportForJs\n@JsName(\"transactionToJson\")\nfun AttoTransaction.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"transactionFromJson\")\nfun String.toTransaction(): AttoTransaction = json.decodeFromString<AttoTransaction>(this)\n\n@JsExportForJs\n@JsName(\"blockToJson\")\nfun AttoBlock.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"blockFromJson\")\nfun String.toBlock(): AttoBlock = json.decodeFromString<AttoBlock>(this)\n\n@JsExportForJs\n@JsName(\"accountEntryToJson\")\nfun AttoAccountEntry.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"accountEntryFromJson\")\nfun String.toAccountEntry(): AttoAccountEntry = json.decodeFromString<AttoAccountEntry>(this)\n\n@JsExportForJs\n@JsName(\"fromByteArrayToTransactionJson\")\nfun ByteArray.toTransactionJson(): String {\n val transaction = AttoTransaction.fromBuffer(this.toBuffer()) ?: throw IllegalArgumentException(\"Invalid transaction\")\n return json.encodeToString<AttoTransaction>(transaction)\n}\n\n@JsExportForJs\n@JsName(\"fromByteArrayToBlockJson\")\nfun ByteArray.toBlockJson(): String {\n val block = AttoBlock.fromBuffer(this.toBuffer()) ?: throw IllegalArgumentException(\"Invalid block\")\n return json.encodeToString<AttoBlock>(block)\n}\n\ninternal inline fun <T> CoroutineScope.consumeStream(\n stream: Flow<T>,\n crossinline onEach: suspend (T) -> Unit,\n noinline onCancel: suspend (Exception?) -> Unit,\n): AttoJob =\n AttoJob(\n launch {\n try {\n stream.collect { onEach(it) }\n onCancel(null)\n } catch (e: CancellationException) {\n onCancel(null)\n throw e\n } catch (e: Exception) {\n onCancel(e)\n }\n },\n )\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-invoke>","$completion","e","$onTransaction","invoke","AttoTransactionMonitorAsync$onTransaction$slambda$slambda","AttoTransactionMonitorAsync$onTransaction$slambda$slambda$lambda","emit","value","equals","hashCode","$onCancel","AttoTransactionMonitorAsync$onTransaction$slambda","AttoTransactionMonitorAsync$onTransaction$slambda$lambda","transactionMonitor","dispatcher","<get-transactionMonitor>","onTransaction","onCancel","close"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAwC8lCA,CAAA,K,EAAA,E,EAAAC,WAAAD,EAAE;A,MAZhlC,kBAYulC,EAZvlC,CAAiB,KAAjB,c;;;MACG,QAWolC,EAXplC,iB;;;EAWslC,oB;AAAA,C;qCAA9DA,CAAA,K,EAAA,Y,EAAAC,WAAAD,EAAc;A,EAAA,IAAI;A,QAAiC,8E;QAAR,QAAP,KAAO,CAAP,KAAO,yDAAQ,GAAR,e;;;QAAuC,oBAAS,IAAT,c;;;EAA2B,C;+CAAmC;A,UAA1BE,M;UAA4C,oBAAS,IAAT,c;;;MAA+B,MAAM,C;IAAc,C;qCAAuB;A,YAAdA,Q;YAAgC,oBAAS,GAAT,c;;;MAAwB,C;;;;;EAAA,oB;AAAA,C;;;;;kBCdhxCC,c;;;SAoDlBC,CAAA,E,EAAAH,WAAAG,E;;O;SA9E/B,E,EAAAH,W;;;;;;;;;oEDwC8lCI,CAlBtlCF,cAkBslCE,E;;UAAAC,CAAA,E,EAAAL,WAAAK,2B;;;C;;;;;;QAAA,uB;;SAAAC,CAdvkCC,K,EAcukCP,WAAAM,E;;O;;;;YAxC9lCE,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;;;;;kBAuBQC,S;;;SAQeP,CAAA,E,EAAAH,WAAAG,EAAE;A,QAAA,IAAS,CAAT,KAAS,CAAO,EAAP,C;QAAS,oB;MAAA,C;SA/B3C,E,EAAAH,W;;;;;;;;;4DA+BuBW,CARfD,SAQeC,E;;UAAAC,CAAA,E,EAAAZ,WAAAY,2B;;;C;;;;;sCCL0BV,c;;;;;SAkDlCC,CAAA,Y,EAAAH,WAAAG,E;;O;SA5Ef,E,EAAAH,W;;;;;;;;;4DDwC2iCW,C,oBAlBniCT,cAkBmiCS,E;;UAAAC,CAAA,Y,EAAAZ,WAAAY,qC;;;C;;;;;kBAxBhiCC,kB,EACPC,U;QADA,4C;QAGoB,8BAAe,cAAa,eAAb,CAAf,C;;SAHbC,CAAAA,EAAA;A,QAAA,8B;MAA6C,C;mBAKpDC,CACIA,a,EACAC,QAFJD,EAII;A,mBAAA,I,CAAA,K;mBACa,IAAmB,CAAnB,kBAAmB,M;;yBAKjB,6D;QACd,uBC4CD,yBAAO,oFAAP,CD5CC,C;MAAD,C;QAEYE,CAAAA,EAAY;A,QAClB,OAAN,IAAM,CAAN,KAAM,C;MACV,C;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ type Nullable<T> = T | null | undefined
|
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
3
|
export declare class AttoTransactionMonitorAsyncBuilder {
|
|
4
4
|
constructor(nodeClient: AttoNodeClientAsync, accountMonitor: AttoAccountMonitorAsync);
|
|
5
|
-
heightProvider(value: (p0: AttoAddress) =>
|
|
5
|
+
heightProvider(value: (p0: AttoAddress) => Promise<AttoHeight>): AttoTransactionMonitorAsyncBuilder;
|
|
6
6
|
build(): AttoTransactionMonitorAsync;
|
|
7
7
|
}
|
|
8
8
|
export declare namespace AttoTransactionMonitorAsyncBuilder {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttoTransactionMonitorAsyncBuilder2i5qntcuaierx as AttoTransactionMonitorAsyncBuilder } from './AttoTransactionMonitorAsyncBuilder.
|
|
1
|
+
import { AttoTransactionMonitorAsyncBuilder2i5qntcuaierx as AttoTransactionMonitorAsyncBuilder } from './AttoTransactionMonitorAsyncBuilder.js.mjs';
|
|
2
2
|
//region block: imports
|
|
3
3
|
//endregion
|
|
4
4
|
//region block: pre-declaration
|
|
@@ -10,4 +10,4 @@ export {
|
|
|
10
10
|
};
|
|
11
11
|
//endregion
|
|
12
12
|
|
|
13
|
-
//# sourceMappingURL=AttoTransactionMonitorAsyncBuilder.
|
|
13
|
+
//# sourceMappingURL=AttoTransactionMonitorAsyncBuilder.js.export.mjs.map
|