@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-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ export declare class AttoNodeMockAsyncBuilder {
|
|
|
9
9
|
dbUser(value: string): AttoNodeMockAsyncBuilder;
|
|
10
10
|
dbPassword(value: string): AttoNodeMockAsyncBuilder;
|
|
11
11
|
genesis(value: Nullable<AttoTransaction>): AttoNodeMockAsyncBuilder;
|
|
12
|
-
build():
|
|
12
|
+
build(): Promise<AttoNodeMockAsync>;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace AttoNodeMockAsyncBuilder {
|
|
15
15
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1,130 +1,126 @@
|
|
|
1
|
+
import {
|
|
2
|
+
await1tchdi81j7msa as await_0,
|
|
3
|
+
promisify1z0ncraq1ipzh as promisify,
|
|
4
|
+
suspendOrReturn49pspzlx5djv as suspendOrReturn,
|
|
5
|
+
} from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
6
|
+
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
7
|
+
import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
1
8
|
import { Companion_getInstancef6896s8vhlrp as Companion_getInstance } from '../../../../../commons-commons-core/cash/atto/commons/AttoTransaction.mjs';
|
|
2
9
|
import {
|
|
3
10
|
createGenesis26hyc24w8ayfa as createGenesis,
|
|
4
11
|
AttoNodeMockConfiguration16bin8bla28y4 as AttoNodeMockConfiguration,
|
|
5
12
|
} from './AttoNodeMock.mjs';
|
|
6
|
-
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
7
13
|
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
8
14
|
import { AttoNodeMock155dfssq5kot3 as AttoNodeMock } from './AttoNodeMock.js.mjs';
|
|
9
15
|
import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
|
|
10
16
|
import { toAsync1ug6h9k7qu5il as toAsync } from './AttoNodeMockAsync.mjs';
|
|
11
|
-
import { suspendOrReturn49pspzlx5djv as suspendOrReturn } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
12
|
-
import {
|
|
13
|
-
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
14
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
15
|
-
} from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
16
17
|
import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
17
|
-
import {
|
|
18
|
-
import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
|
|
18
|
+
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
19
19
|
//region block: imports
|
|
20
20
|
//endregion
|
|
21
21
|
//region block: pre-declaration
|
|
22
22
|
//endregion
|
|
23
|
-
function *
|
|
24
|
-
var
|
|
23
|
+
function *_generator_build$suspendBridge__cfhiw5($this, $completion) {
|
|
24
|
+
var tmp;
|
|
25
|
+
if ($this.build === protoOf(AttoNodeMockAsyncBuilder()).build) {
|
|
26
|
+
var tmp_0 = $this.i56($completion);
|
|
27
|
+
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
28
|
+
tmp_0 = yield tmp_0;
|
|
29
|
+
tmp = tmp_0;
|
|
30
|
+
} else {
|
|
31
|
+
var tmp_1 = await_0($this.build(), $completion);
|
|
32
|
+
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
33
|
+
tmp_1 = yield tmp_1;
|
|
34
|
+
tmp = tmp_1;
|
|
35
|
+
}
|
|
36
|
+
return tmp;
|
|
37
|
+
}
|
|
38
|
+
function *_generator_build__n4veo6($this, $completion) {
|
|
39
|
+
var tmp0_elvis_lhs = $this.h56_1;
|
|
25
40
|
var tmp;
|
|
26
41
|
if (tmp0_elvis_lhs == null) {
|
|
27
|
-
|
|
28
|
-
var $this$run = $this.n56_1;
|
|
29
|
-
var tmp_0 = createGenesis(Companion_getInstance(), $this$run.f56_1, $completion);
|
|
42
|
+
var tmp_0 = createGenesis(Companion_getInstance(), $this.a56_1, $completion);
|
|
30
43
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
31
44
|
tmp_0 = yield tmp_0;
|
|
32
45
|
tmp = tmp_0;
|
|
33
46
|
} else {
|
|
34
47
|
tmp = tmp0_elvis_lhs;
|
|
35
48
|
}
|
|
36
|
-
var defaultConfiguration = new (AttoNodeMockConfiguration())(tmp, $this.
|
|
37
|
-
var tmp1_elvis_lhs = $this.
|
|
49
|
+
var defaultConfiguration = new (AttoNodeMockConfiguration())(tmp, $this.a56_1);
|
|
50
|
+
var tmp1_elvis_lhs = $this.b56_1;
|
|
38
51
|
var tmp_1 = tmp1_elvis_lhs == null ? defaultConfiguration.name : tmp1_elvis_lhs;
|
|
39
|
-
var tmp2_elvis_lhs = $this.
|
|
52
|
+
var tmp2_elvis_lhs = $this.c56_1;
|
|
40
53
|
var tmp_2 = tmp2_elvis_lhs == null ? defaultConfiguration.image : tmp2_elvis_lhs;
|
|
41
|
-
var tmp3_elvis_lhs = $this.
|
|
54
|
+
var tmp3_elvis_lhs = $this.d56_1;
|
|
42
55
|
var tmp_3 = tmp3_elvis_lhs == null ? defaultConfiguration.mysqlImage : tmp3_elvis_lhs;
|
|
43
|
-
var tmp4_elvis_lhs = $this.
|
|
56
|
+
var tmp4_elvis_lhs = $this.e56_1;
|
|
44
57
|
var tmp_4 = tmp4_elvis_lhs == null ? defaultConfiguration.dbName : tmp4_elvis_lhs;
|
|
45
|
-
var tmp5_elvis_lhs = $this.
|
|
58
|
+
var tmp5_elvis_lhs = $this.f56_1;
|
|
46
59
|
var tmp_5 = tmp5_elvis_lhs == null ? defaultConfiguration.dbUser : tmp5_elvis_lhs;
|
|
47
|
-
var tmp6_elvis_lhs = $this.
|
|
60
|
+
var tmp6_elvis_lhs = $this.g56_1;
|
|
48
61
|
var configuration = defaultConfiguration.copy(VOID, VOID, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp6_elvis_lhs == null ? defaultConfiguration.dbPassword : tmp6_elvis_lhs);
|
|
49
|
-
return toAsync(new (AttoNodeMock())(configuration), Dispatchers_getInstance().
|
|
50
|
-
}
|
|
51
|
-
var AttoNodeMockAsyncBuilder$build$slambdaClass;
|
|
52
|
-
function AttoNodeMockAsyncBuilder$build$slambda() {
|
|
53
|
-
if (AttoNodeMockAsyncBuilder$build$slambdaClass === VOID) {
|
|
54
|
-
class $ {
|
|
55
|
-
constructor(this$0) {
|
|
56
|
-
this.n56_1 = this$0;
|
|
57
|
-
}
|
|
58
|
-
od($completion) {
|
|
59
|
-
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
initMetadataForLambda($, VOID, VOID, [0]);
|
|
63
|
-
AttoNodeMockAsyncBuilder$build$slambdaClass = $;
|
|
64
|
-
}
|
|
65
|
-
return AttoNodeMockAsyncBuilder$build$slambdaClass;
|
|
66
|
-
}
|
|
67
|
-
function AttoNodeMockAsyncBuilder$build$slambda_0(this$0) {
|
|
68
|
-
var i = new (AttoNodeMockAsyncBuilder$build$slambda())(this$0);
|
|
69
|
-
var l = ($completion) => i.od($completion);
|
|
70
|
-
l.$arity = 0;
|
|
71
|
-
return l;
|
|
62
|
+
return toAsync(new (AttoNodeMock())(configuration), Dispatchers_getInstance().r20_1);
|
|
72
63
|
}
|
|
73
64
|
var AttoNodeMockAsyncBuilderClass;
|
|
74
65
|
function AttoNodeMockAsyncBuilder() {
|
|
75
66
|
if (AttoNodeMockAsyncBuilderClass === VOID) {
|
|
76
67
|
class $ {
|
|
77
68
|
constructor(privateKey) {
|
|
78
|
-
this.
|
|
69
|
+
this.a56_1 = privateKey;
|
|
70
|
+
this.b56_1 = null;
|
|
71
|
+
this.c56_1 = null;
|
|
72
|
+
this.d56_1 = null;
|
|
73
|
+
this.e56_1 = null;
|
|
74
|
+
this.f56_1 = null;
|
|
79
75
|
this.g56_1 = null;
|
|
80
76
|
this.h56_1 = null;
|
|
81
|
-
this.i56_1 = null;
|
|
82
|
-
this.j56_1 = null;
|
|
83
|
-
this.k56_1 = null;
|
|
84
|
-
this.l56_1 = null;
|
|
85
|
-
this.m56_1 = null;
|
|
86
77
|
}
|
|
87
78
|
name(value) {
|
|
88
79
|
// Inline function 'kotlin.apply' call
|
|
89
|
-
this.
|
|
80
|
+
this.b56_1 = value;
|
|
90
81
|
return this;
|
|
91
82
|
}
|
|
92
83
|
image(value) {
|
|
93
84
|
// Inline function 'kotlin.apply' call
|
|
94
|
-
this.
|
|
85
|
+
this.c56_1 = value;
|
|
95
86
|
return this;
|
|
96
87
|
}
|
|
97
88
|
mysqlImage(value) {
|
|
98
89
|
// Inline function 'kotlin.apply' call
|
|
99
|
-
this.
|
|
90
|
+
this.d56_1 = value;
|
|
100
91
|
return this;
|
|
101
92
|
}
|
|
102
93
|
dbName(value) {
|
|
103
94
|
// Inline function 'kotlin.apply' call
|
|
104
|
-
this.
|
|
95
|
+
this.e56_1 = value;
|
|
105
96
|
return this;
|
|
106
97
|
}
|
|
107
98
|
dbUser(value) {
|
|
108
99
|
// Inline function 'kotlin.apply' call
|
|
109
|
-
this.
|
|
100
|
+
this.f56_1 = value;
|
|
110
101
|
return this;
|
|
111
102
|
}
|
|
112
103
|
dbPassword(value) {
|
|
113
104
|
// Inline function 'kotlin.apply' call
|
|
114
|
-
this.
|
|
105
|
+
this.g56_1 = value;
|
|
115
106
|
return this;
|
|
116
107
|
}
|
|
117
108
|
genesis(value) {
|
|
118
109
|
// Inline function 'kotlin.apply' call
|
|
119
|
-
this.
|
|
110
|
+
this.h56_1 = value;
|
|
120
111
|
return this;
|
|
121
112
|
}
|
|
122
113
|
build() {
|
|
123
|
-
|
|
124
|
-
|
|
114
|
+
return promisify(($completion) => this.j56($completion));
|
|
115
|
+
}
|
|
116
|
+
j56($completion) {
|
|
117
|
+
return suspendOrReturn(/*#__NOINLINE__*/_generator_build$suspendBridge__cfhiw5.bind(VOID, this), $completion);
|
|
118
|
+
}
|
|
119
|
+
i56($completion) {
|
|
120
|
+
return suspendOrReturn(/*#__NOINLINE__*/_generator_build__n4veo6.bind(VOID, this), $completion);
|
|
125
121
|
}
|
|
126
122
|
}
|
|
127
|
-
initMetadataForClass($, 'AttoNodeMockAsyncBuilder');
|
|
123
|
+
initMetadataForClass($, 'AttoNodeMockAsyncBuilder', VOID, VOID, VOID, [0]);
|
|
128
124
|
AttoNodeMockAsyncBuilderClass = $;
|
|
129
125
|
}
|
|
130
126
|
return AttoNodeMockAsyncBuilderClass;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.AttoPrivateKey\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.Dispatchers\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoNodeMockAsyncBuilder actual constructor(\n private val privateKey: AttoPrivateKey,\n) {\n private var name: String? = null\n private var image: String? = null\n private var mysqlImage: String? = null\n private var dbName: String? = null\n private var dbUser: String? = null\n private var dbPassword: String? = null\n private var genesis: AttoTransaction? = null\n\n actual fun name(value: String): AttoNodeMockAsyncBuilder = apply { name = value }\n\n actual fun image(value: String): AttoNodeMockAsyncBuilder = apply { image = value }\n\n actual fun mysqlImage(value: String): AttoNodeMockAsyncBuilder = apply { mysqlImage = value }\n\n actual fun dbName(value: String): AttoNodeMockAsyncBuilder = apply { dbName = value }\n\n actual fun dbUser(value: String): AttoNodeMockAsyncBuilder = apply { dbUser = value }\n\n actual fun dbPassword(value: String): AttoNodeMockAsyncBuilder = apply { dbPassword = value }\n\n actual fun genesis(value: AttoTransaction?): AttoNodeMockAsyncBuilder = apply { genesis = value }\n\n suspend fun build(): AttoNodeMockAsync {\n val defaultConfiguration =\n AttoNodeMockConfiguration(\n genesisTransaction = genesis ?: AttoTransaction.createGenesis(privateKey),\n privateKey = privateKey,\n )\n val configuration =\n defaultConfiguration.copy(\n name = name ?: defaultConfiguration.name,\n image = image ?: defaultConfiguration.image,\n mysqlImage = mysqlImage ?: defaultConfiguration.mysqlImage,\n dbName = dbName ?: defaultConfiguration.dbName,\n dbUser = dbUser ?: defaultConfiguration.dbUser,\n dbPassword = dbPassword ?: defaultConfiguration.dbPassword,\n )\n return AttoNodeMock(configuration).toAsync(Dispatchers.Default)\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-build>","$completion","defaultConfiguration","configuration","privateKey","name","value","image","mysqlImage","dbName","dbUser","dbPassword","genesis","build"],"mappings":";;;;;;;;;;;;;;;;;;;;;;iDAkCY,K;;;;;;;;;;;;;;;kCAAAA,CAAA,K,EAAAC,WAAAD,EAA+B;A,MAGN,4B;;EAAA,2B;QAA2B,+CAAc,KAAd,CAAc,KAAd,c;;;;;UAA3B,c;;MAF7BE,8DAGqB,KAHrBA,CAGqB,KAHrBA,C;MAOe,4B;cAAA,yBAAQ,oBAAR,CAA6B,IAA7B,iB;MACC,4B;cAAA,yBAAS,oBAAT,CAA8B,KAA9B,iB;MACK,4B;cAAA,yBAAc,oBAAd,CAAmC,UAAnC,iB;MACJ,4B;cAAA,yBAAU,oBAAV,CAA+B,MAA/B,iB;MACA,4B;cAAA,yBAAU,oBAAV,CAA+B,MAA/B,iB;MACI,4B;MAPrBC,gBACI,oBAAqB,qDAMJ,yBAAc,oBAAd,CAAmC,UAAnC,iBANI,C;EAQzB,OAAmC,6BAAf,aAAe,6BAAoB,KAApB,C;AACvC,C;;;;;kBAxCQC,U;QAAR,uB;QAE4B,iB;QACC,iB;QACK,iB;QACJ,iB;QACA,iB;QACI,iB;QACM,iB;;UAEjCC,CAASC,KAATD,EAAoD;A;QAAA,IAAQ,SAAO,K;QAAO,OAAtB,I;MAAqB,C;WAEzEE,CAAUD,KAAVC,EAAqD;A;QAAA,IAAQ,SAAQ,K;QAAO,OAAvB,I;MAAsB,C;gBAE3EC,CAAeF,KAAfE,EAA0D;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;YAErFC,CAAWH,KAAXG,EAAsD;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;YAE7EC,CAAWJ,KAAXI,EAAsD;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;gBAE7EC,CAAeL,KAAfK,EAA0D;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;aAErFC,CAAYN,KAAZM,EAAiE;A;QAAA,IAAQ,SAAU,K;QAAO,OAAzB,I;MAAwB,C;;;;;;;SAExFC,CAAAZ,WAAAY,E;;O;;;;;;;;;;;"}
|
|
@@ -23,7 +23,7 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
23
23
|
tmp = yield tmp;
|
|
24
24
|
var testcontainers = tmp;
|
|
25
25
|
var wait = testcontainers.Wait;
|
|
26
|
-
var image = $this.
|
|
26
|
+
var image = $this.k56_1.h55_1;
|
|
27
27
|
var containerInstance = (new testcontainers.GenericContainer(image)).withExposedPorts(8080, 8081).withWaitStrategy(wait.forLogMessage(/.*started on port 8080 \(http\).*/, 1)).withLogConsumer(function (stream) {
|
|
28
28
|
stream.on('data', function (line) {
|
|
29
29
|
console.log(line.toString());
|
|
@@ -38,8 +38,8 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
38
38
|
var tmp_1 = await_0(containerPromise, $completion);
|
|
39
39
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
40
40
|
tmp_1 = yield tmp_1;
|
|
41
|
-
tmp_0.
|
|
42
|
-
$this.
|
|
41
|
+
tmp_0.l56_1 = tmp_1;
|
|
42
|
+
$this.m56_1 = true;
|
|
43
43
|
return Unit_instance;
|
|
44
44
|
}
|
|
45
45
|
var CompanionClass;
|
|
@@ -60,29 +60,29 @@ function AttoWorkerMock() {
|
|
|
60
60
|
if (AttoWorkerMockClass === VOID) {
|
|
61
61
|
class $ {
|
|
62
62
|
constructor(configuration) {
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
63
|
+
this.k56_1 = configuration;
|
|
64
|
+
this.l56_1 = null;
|
|
65
|
+
this.m56_1 = false;
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
w55() {
|
|
68
68
|
// Inline function 'kotlin.require' call
|
|
69
|
-
if (!this.
|
|
69
|
+
if (!this.m56_1) {
|
|
70
70
|
var message = 'Work server must have started to access the url';
|
|
71
71
|
throw IllegalArgumentException().s2(toString(message));
|
|
72
72
|
}
|
|
73
|
-
var tmp = this.
|
|
73
|
+
var tmp = this.l56_1.getHost();
|
|
74
74
|
var host = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
|
|
75
|
-
var tmp_0 = this.
|
|
75
|
+
var tmp_0 = this.l56_1.getMappedPort(8080);
|
|
76
76
|
var port = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
|
|
77
77
|
return 'http://' + host + ':' + port;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
x55($completion) {
|
|
80
80
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_start__v5y7pu.bind(VOID, this), $completion);
|
|
81
81
|
}
|
|
82
82
|
u6() {
|
|
83
|
-
if (this.
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
83
|
+
if (this.m56_1 && this.l56_1 != null) {
|
|
84
|
+
this.l56_1.stop();
|
|
85
|
+
this.m56_1 = false;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/src/kotlin/util/Preconditions.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-start>","$completion","testcontainersPromise","testcontainers","wait","image","containerInstance","stream","line","containerPromise","configuration","<get-baseUrl>","message","host","port","start","close"],"mappings":";;;;;;;;;;;;;;;;;kCAmBmBA,CAAA,K,EAAAC,WAAAD,EAAY;A,MACvBE,wBAAwC,MAAH,CAAU,gBAAV,C;;MACqC,cAA/B,qBAA+B,c;;;MAA1EC,oB;MAEAC,OAAW,cAAXA,CAA0B,I;MAE1BC,QAAY,KAAZA,CAAY,KAAZA,CAA0B,K;MAC1BC,oBAES,CCDF,IAAI,cAAJ,CAAmB,gBAAnB,CAAoC,KAApC,CDCE,mBAAiB,IAAjB,EAA6B,IAA7B,CACA,kBAAiB,IAAK,eAAc,mCAAd,EAA2D,CAA3D,CAAtB,CACA,0BACG,CACaC,MADb,E;IACuB,MAAS,CAAF,EAAE,CAAC,MAAD,WAAiB,CAACC,IAAD,E;MAAS,OAAW,CAAH,GAAG,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAArC,C;IAA4D,MAAS,CAAF,EAAE,CAAC,KAAD,WAAgB,CAACA,IAAD,E;MAAS,OAAa,CAAL,KAAK,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAAtC,C;GAFxG,C;;MAMTC,mBAAuB,iBAA0B,CAAR,KAAQ,E;cACjD,K;MAA6B,gBAAjB,gBAAiB,c;;;EAA7B,mB;EACA,cAAU,I;EACd,oB;AAAA,C;;;;;;;;;;;;;;;;;;kBAjCQC,a;QAAR,0B;QAEiC,iB;QACX,kB;;SAGlBC,CAAAA,EAAM;A;QEuBN,KFtBY,IEsBZ,CFtBY,KEsBZ,C,CAAQ;A,cACRC,UFvBuB,iD;UEwBvB,oCAAuC,SAAR,OAAQ,CAAvC,C;QACJ,C;kBFxBmB,IAAU,CAAV,KAAU,U;YAArBC,4DAAW,GAAXA,c;oBACW,IAAU,CAAV,KAAU,eAAc,IAAd,C;YAArBC,gEAAW,KAAXA,c;QACA,OAAQ,SAAR,GAAgB,IAAhB,GAAoB,GAApB,GAAsB,I;MAC1B,C;SAEWC,CAAAd,WAAAc,E;;O;QAsBCC,CAAAA,EAAY;A,QACpB,kBAAW,cAAa,IAAxB,C,CAA8B;A,UAC9B,IAAU,CAAV,KAAU,O;UACV,aAAU,K;QACd,C;MACJ,C;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/src/kotlin/util/Preconditions.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport kotlinx.coroutines.await\nimport kotlin.js.Promise\n\nactual class AttoWorkerMock internal actual constructor(\n private val configuration: AttoWorkerMockConfiguration,\n) : AutoCloseable {\n private var container: dynamic = null\n private var started = false\n\n actual val baseUrl: String\n get() {\n require(started) { \"Work server must have started to access the url\" }\n val host = container.getHost() as String\n val port = container.getMappedPort(8080) as Int\n return \"http://$host:$port\"\n }\n\n actual suspend fun start() {\n val testcontainersPromise: dynamic = js(\"import('testcontainers')\")\n val testcontainers = testcontainersPromise.unsafeCast<Promise<dynamic>>().await()\n\n val wait = testcontainers.Wait\n\n val image = configuration.image\n val containerInstance =\n js(\"new testcontainers.GenericContainer(image)\")\n .withExposedPorts(js(\"8080\"), js(\"8081\"))\n .withWaitStrategy(wait.forLogMessage(js(\"/.*started on port 8080 \\\\(http\\\\).*/\"), js(\"1\")))\n .withLogConsumer(\n js(\n \"function(stream) { stream.on('data', function(line) { console.log(line.toString()); }); stream.on('err', function(line) { console.error(line.toString()); }); }\",\n ),\n )\n\n val containerPromise = containerInstance.start().unsafeCast<Promise<dynamic>>()\n container = containerPromise.await()\n started = true\n }\n\n actual override fun close() {\n if (started && container != null) {\n container.stop()\n started = false\n }\n }\n\n actual companion object\n}\n",null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-start>","$completion","testcontainersPromise","testcontainers","wait","image","containerInstance","stream","line","containerPromise","configuration","<get-baseUrl>","message","host","port","start","close"],"mappings":";;;;;;;;;;;;;;;;;kCAmBmBA,CAAA,K,EAAAC,WAAAD,EAAY;A,MACvBE,wBAAwC,MAAH,CAAU,gBAAV,C;;MACqC,cAA/B,qBAA+B,c;;;MAA1EC,oB;MAEAC,OAAW,cAAXA,CAA0B,I;MAE1BC,QAAY,KAAZA,CAAY,KAAZA,CAA0B,K;MAC1BC,oBAES,CCDF,IAAI,cAAJ,CAAmB,gBAAnB,CAAoC,KAApC,CDCE,mBAAiB,IAAjB,EAA6B,IAA7B,CACA,kBAAiB,IAAK,eAAc,mCAAd,EAA2D,CAA3D,CAAtB,CACA,0BACG,CACaC,MADb,E;IACuB,MAAS,CAAF,EAAE,CAAC,MAAD,WAAiB,CAACC,IAAD,E;MAAS,OAAW,CAAH,GAAG,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAArC,C;IAA4D,MAAS,CAAF,EAAE,CAAC,KAAD,WAAgB,CAACA,IAAD,E;MAAS,OAAa,CAAL,KAAK,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAAtC,C;GAFxG,C;;MAMTC,mBAAuB,iBAA0B,CAAR,KAAQ,E;cACjD,K;MAA6B,gBAAjB,gBAAiB,c;;;EAA7B,mB;EACA,cAAU,I;EACd,oB;AAAA,C;;;;;;;;;;;;;;;;;;kBAjCQC,a;QAAR,0B;QAEiC,iB;QACX,kB;;SAGlBC,CAAAA,EAAM;A;QEuBN,KFtBY,IEsBZ,CFtBY,KEsBZ,C,CAAQ;A,cACRC,UFvBuB,iD;UEwBvB,oCAAuC,SAAR,OAAQ,CAAvC,C;QACJ,C;kBFxBmB,IAAU,CAAV,KAAU,U;YAArBC,4DAAW,GAAXA,c;oBACW,IAAU,CAAV,KAAU,eAAc,IAAd,C;YAArBC,gEAAW,KAAXA,c;QACA,OAAQ,SAAR,GAAgB,IAAhB,GAAoB,GAApB,GAAsB,I;MAC1B,C;SAEWC,CAAAd,WAAAc,E;;O;QAsBCC,CAAAA,EAAY;A,QACpB,kBAAW,cAAa,IAAxB,C,CAA8B;A,UAC9B,IAAU,CAAV,KAAU,O;UACV,aAAU,K;QACd,C;MACJ,C;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,7 @@ declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
|
3
3
|
export declare class AttoWorkerMockAsync {
|
|
4
4
|
private constructor();
|
|
5
5
|
get baseUrl(): string;
|
|
6
|
-
start():
|
|
6
|
+
start(): Promise<any>;
|
|
7
7
|
close(): void;
|
|
8
8
|
}
|
|
9
9
|
export declare namespace AttoWorkerMockAsync {
|
|
@@ -1,70 +1,58 @@
|
|
|
1
|
+
import {
|
|
2
|
+
await1tchdi81j7msa as await_0,
|
|
3
|
+
promisify1z0ncraq1ipzh as promisify,
|
|
4
|
+
suspendOrReturn49pspzlx5djv as suspendOrReturn,
|
|
5
|
+
} from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
1
6
|
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
2
|
-
import {
|
|
3
|
-
import { suspendOrReturn49pspzlx5djv as suspendOrReturn } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
7
|
+
import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
4
8
|
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
5
|
-
import {
|
|
6
|
-
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
7
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
8
|
-
} from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
9
|
-
import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
|
|
10
|
-
import { SupervisorJobythnfxkr3jxc as SupervisorJob } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs';
|
|
11
|
-
import { CoroutineScopelux7s7zphw7e as CoroutineScope } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
|
|
12
|
-
import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
|
|
9
|
+
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
13
10
|
//region block: imports
|
|
14
11
|
//endregion
|
|
15
12
|
//region block: pre-declaration
|
|
16
13
|
//endregion
|
|
17
|
-
function *
|
|
18
|
-
var tmp
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
od($completion) {
|
|
31
|
-
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
initMetadataForLambda($, VOID, VOID, [0]);
|
|
35
|
-
AttoWorkerMockAsync$start$slambdaClass = $;
|
|
14
|
+
function *_generator_start$suspendBridge__sgn8nj($this, $completion) {
|
|
15
|
+
var tmp;
|
|
16
|
+
if ($this.start === protoOf(AttoWorkerMockAsync()).start) {
|
|
17
|
+
var tmp_0 = $this.x55($completion);
|
|
18
|
+
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
19
|
+
tmp_0 = yield tmp_0;
|
|
20
|
+
tmp = tmp_0;
|
|
21
|
+
} else {
|
|
22
|
+
var tmp_1 = await_0($this.start(), $completion);
|
|
23
|
+
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
24
|
+
tmp_1 = yield tmp_1;
|
|
25
|
+
tmp = tmp_1;
|
|
36
26
|
}
|
|
37
|
-
return
|
|
38
|
-
}
|
|
39
|
-
function AttoWorkerMockAsync$start$slambda_0(this$0) {
|
|
40
|
-
var i = new (AttoWorkerMockAsync$start$slambda())(this$0);
|
|
41
|
-
var l = ($completion) => i.od($completion);
|
|
42
|
-
l.$arity = 0;
|
|
43
|
-
return l;
|
|
27
|
+
return tmp;
|
|
44
28
|
}
|
|
45
29
|
var AttoWorkerMockAsyncClass;
|
|
46
30
|
function AttoWorkerMockAsync() {
|
|
47
31
|
if (AttoWorkerMockAsyncClass === VOID) {
|
|
48
32
|
class $ {
|
|
49
33
|
constructor(mock, dispatcher) {
|
|
50
|
-
|
|
51
|
-
this.r56_1 = mock;
|
|
52
|
-
this.s56_1 = CoroutineScope(dispatcher.dl(SupervisorJob()));
|
|
34
|
+
this.n56_1 = mock;
|
|
53
35
|
}
|
|
54
|
-
|
|
55
|
-
return this.
|
|
36
|
+
w55() {
|
|
37
|
+
return this.n56_1.w55();
|
|
56
38
|
}
|
|
57
39
|
start() {
|
|
58
|
-
return
|
|
40
|
+
return promisify(($completion) => this.z55($completion));
|
|
41
|
+
}
|
|
42
|
+
z55($completion) {
|
|
43
|
+
return suspendOrReturn(/*#__NOINLINE__*/_generator_start$suspendBridge__sgn8nj.bind(VOID, this), $completion);
|
|
44
|
+
}
|
|
45
|
+
x55($completion) {
|
|
46
|
+
return this.n56_1.x55($completion);
|
|
59
47
|
}
|
|
60
48
|
close() {
|
|
61
|
-
return this.
|
|
49
|
+
return this.n56_1.u6();
|
|
62
50
|
}
|
|
63
51
|
get baseUrl() {
|
|
64
|
-
return this.
|
|
52
|
+
return this.w55();
|
|
65
53
|
}
|
|
66
54
|
}
|
|
67
|
-
initMetadataForClass($, 'AttoWorkerMockAsync');
|
|
55
|
+
initMetadataForClass($, 'AttoWorkerMockAsync', VOID, VOID, VOID, [0]);
|
|
68
56
|
AttoWorkerMockAsyncClass = $;
|
|
69
57
|
}
|
|
70
58
|
return AttoWorkerMockAsyncClass;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.js.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.js.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlin.js.ExperimentalJsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoWorkerMockAsync internal actual constructor(\n private val mock: AttoWorkerMock,\n dispatcher: CoroutineDispatcher,\n) {\n actual val baseUrl: String\n get() = mock.baseUrl\n\n suspend fun start(): Any = mock.start()\n\n actual fun close(): Unit = mock.close()\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["mock","dispatcher","<get-baseUrl>","start","$completion","close"],"mappings":";;;;;;;;;;;;;iDAeY,K;;;;;;;;;;;;;;;;;;;kBANAA,I,EACRC,U;QADA,iB;;SAIIC,CAAAA,EAAQ;A,QAAY,OAAZ,IAAK,CAAL,KAAK,M;MAAM,C;;;;;;;SAEfC,CAAAC,WAAAD,EAAmB;A,QAAW,OAAX,IAAK,CAAL,KAAK,iB;MAAM,C;WAE/BE,CAAAA,EAAoB;A,QAAY,OAAZ,IAAK,CAAL,KAAK,K;MAAM,C;;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,7 @@ import { AttoWorkerMockAsync2s1msy2f0s9d0 as AttoWorkerMockAsync } from './AttoW
|
|
|
6
6
|
//region block: pre-declaration
|
|
7
7
|
//endregion
|
|
8
8
|
function toAsync(_this__u8e3s4, dispatcher) {
|
|
9
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
9
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().r20_1 : dispatcher;
|
|
10
10
|
return new (AttoWorkerMockAsync())(_this__u8e3s4, dispatcher);
|
|
11
11
|
}
|
|
12
12
|
//region block: exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-test/src/commonMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-test/src/commonMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlinx.coroutines.Dispatchers\n\n@JsExportForJs\nexpect class AttoWorkerMockAsync internal constructor(\n mock: AttoWorkerMock,\n dispatcher: CoroutineDispatcher,\n) {\n val baseUrl: String\n\n fun close()\n}\n\nfun AttoWorkerMock.toAsync(dispatcher: CoroutineDispatcher = Dispatchers.Default): AttoWorkerMockAsync =\n AttoWorkerMockAsync(this, dispatcher)\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["toAsync","<this>","dispatcher"],"mappings":";;;;;;;gBAgBAA,CAAIC,a,EAAuBC,UAA3BF,EACI;A,+DADqE,K;EAChC,mCAAjB,aAAiB,EAAX,UAAW,C;AAAD,C;;;;;"}
|
package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ export declare class AttoWorkerMockAsyncBuilder {
|
|
|
4
4
|
constructor();
|
|
5
5
|
name(value: string): AttoWorkerMockAsyncBuilder;
|
|
6
6
|
image(value: string): AttoWorkerMockAsyncBuilder;
|
|
7
|
-
build():
|
|
7
|
+
build(): Promise<AttoWorkerMockAsync>;
|
|
8
8
|
}
|
|
9
9
|
export declare namespace AttoWorkerMockAsyncBuilder {
|
|
10
10
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
+
import {
|
|
2
|
+
await1tchdi81j7msa as await_0,
|
|
3
|
+
promisify1z0ncraq1ipzh as promisify,
|
|
4
|
+
suspendOrReturn49pspzlx5djv as suspendOrReturn,
|
|
5
|
+
} from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
6
|
+
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
7
|
+
import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
8
|
+
import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
9
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
1
10
|
import { AttoWorkerMockConfiguration3jany0ngynxua as AttoWorkerMockConfiguration } from './AttoMockWorker.mjs';
|
|
2
11
|
import { AttoWorkerMockl5g5whf0ho4y as AttoWorkerMock } from './AttoWorkerMock.js.mjs';
|
|
3
12
|
import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
|
|
4
13
|
import { toAsync1xqvsaym0a4oh as toAsync } from './AttoWorkerMockAsync.mjs';
|
|
5
|
-
import {
|
|
6
|
-
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
7
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
8
|
-
} from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
9
|
-
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
10
|
-
import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
11
|
-
import { GlobalScope_instance1goye8260az8c as GlobalScope_instance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
|
|
12
|
-
import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
|
|
14
|
+
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
13
15
|
//region block: imports
|
|
14
16
|
//endregion
|
|
15
17
|
//region block: pre-declaration
|
|
16
18
|
//endregion
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
var configuration = defaultConfiguration.m55(tmp, tmp1_elvis_lhs == null ? defaultConfiguration.l55_1 : tmp1_elvis_lhs);
|
|
30
|
-
return toAsync(new (AttoWorkerMock())(configuration), Dispatchers_getInstance().o20_1);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
initMetadataForLambda($, VOID, VOID, [0]);
|
|
34
|
-
AttoWorkerMockAsyncBuilder$build$slambdaClass = $;
|
|
19
|
+
function *_generator_build$suspendBridge__cfhiw5($this, $completion) {
|
|
20
|
+
var tmp;
|
|
21
|
+
if ($this.build === protoOf(AttoWorkerMockAsyncBuilder()).build) {
|
|
22
|
+
var tmp_0 = $this.i56($completion);
|
|
23
|
+
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
24
|
+
tmp_0 = yield tmp_0;
|
|
25
|
+
tmp = tmp_0;
|
|
26
|
+
} else {
|
|
27
|
+
var tmp_1 = await_0($this.build(), $completion);
|
|
28
|
+
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
29
|
+
tmp_1 = yield tmp_1;
|
|
30
|
+
tmp = tmp_1;
|
|
35
31
|
}
|
|
36
|
-
return
|
|
37
|
-
}
|
|
38
|
-
function AttoWorkerMockAsyncBuilder$build$slambda_0(this$0) {
|
|
39
|
-
var i = new (AttoWorkerMockAsyncBuilder$build$slambda())(this$0);
|
|
40
|
-
var l = ($completion) => i.od($completion);
|
|
41
|
-
l.$arity = 0;
|
|
42
|
-
return l;
|
|
32
|
+
return tmp;
|
|
43
33
|
}
|
|
44
34
|
var AttoWorkerMockAsyncBuilderClass;
|
|
45
35
|
function AttoWorkerMockAsyncBuilder() {
|
|
46
36
|
if (AttoWorkerMockAsyncBuilderClass === VOID) {
|
|
47
37
|
class $ {
|
|
48
38
|
constructor() {
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
39
|
+
this.o56_1 = null;
|
|
40
|
+
this.p56_1 = null;
|
|
51
41
|
}
|
|
52
42
|
name(value) {
|
|
53
43
|
// Inline function 'kotlin.apply' call
|
|
54
|
-
this.
|
|
44
|
+
this.o56_1 = value;
|
|
55
45
|
return this;
|
|
56
46
|
}
|
|
57
47
|
image(value) {
|
|
58
48
|
// Inline function 'kotlin.apply' call
|
|
59
|
-
this.
|
|
49
|
+
this.p56_1 = value;
|
|
60
50
|
return this;
|
|
61
51
|
}
|
|
62
52
|
build() {
|
|
63
|
-
|
|
64
|
-
|
|
53
|
+
return promisify(($completion) => this.j56($completion));
|
|
54
|
+
}
|
|
55
|
+
j56($completion) {
|
|
56
|
+
return suspendOrReturn(/*#__NOINLINE__*/_generator_build$suspendBridge__cfhiw5.bind(VOID, this), $completion);
|
|
57
|
+
}
|
|
58
|
+
i56($completion) {
|
|
59
|
+
var defaultConfiguration = new (AttoWorkerMockConfiguration())();
|
|
60
|
+
var tmp0_elvis_lhs = this.o56_1;
|
|
61
|
+
var tmp = tmp0_elvis_lhs == null ? defaultConfiguration.g55_1 : tmp0_elvis_lhs;
|
|
62
|
+
var tmp1_elvis_lhs = this.p56_1;
|
|
63
|
+
var configuration = defaultConfiguration.i55(tmp, tmp1_elvis_lhs == null ? defaultConfiguration.h55_1 : tmp1_elvis_lhs);
|
|
64
|
+
return toAsync(new (AttoWorkerMock())(configuration), Dispatchers_getInstance().r20_1);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
initMetadataForClass($, 'AttoWorkerMockAsyncBuilder', AttoWorkerMockAsyncBuilder);
|
|
67
|
+
initMetadataForClass($, 'AttoWorkerMockAsyncBuilder', AttoWorkerMockAsyncBuilder, VOID, VOID, [0]);
|
|
68
68
|
AttoWorkerMockAsyncBuilderClass = $;
|
|
69
69
|
}
|
|
70
70
|
return AttoWorkerMockAsyncBuilderClass;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.Dispatchers\nimport kotlin.js.ExperimentalJsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoWorkerMockAsyncBuilder actual constructor() {\n private var name: String? = null\n private var image: String? = null\n\n actual fun name(value: String): AttoWorkerMockAsyncBuilder = apply { this.name = value }\n\n actual fun image(value: String): AttoWorkerMockAsyncBuilder = apply { this.image = value }\n\n suspend fun build(): AttoWorkerMockAsync {\n val defaultConfiguration = AttoWorkerMockConfiguration()\n val configuration =\n defaultConfiguration.copy(\n name = name ?: defaultConfiguration.name,\n image = image ?: defaultConfiguration.image,\n )\n return AttoWorkerMock(configuration).toAsync(Dispatchers.Default)\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["name","value","image","build","$completion","defaultConfiguration","configuration"],"mappings":";;;;;;;;;;;;;;;;;;iDAgBY,K;;;;;;;;;;;;;;;;;;;;QAPoB,iB;QACC,iB;;UAEtBA,CAASC,KAATD,EAAsD;A;QAAA,IAAa,SAAO,K;QAAO,OAA3B,I;MAA0B,C;WAEhFE,CAAUD,KAAVC,EAAuD;A;QAAA,IAAa,SAAQ,K;QAAO,OAA5B,I;MAA2B,C;;;;;;;SAEjFC,CAAAC,WAAAD,EAAiC;A,YACrCE,4D;YAGe,2B;kBAAA,yBAAQ,oBAAR,CAA6B,KAA7B,iB;YACC,2B;YAHhBC,gBACI,oBAAqB,UAET,yBAAS,oBAAT,CAA8B,KAA9B,iBAFS,C;QAIzB,OAAqC,+BAAf,aAAe,6BAAoB,KAApB,C;MACzC,C;;;;;;;;;;;"}
|
|
@@ -28,11 +28,11 @@ function Companion_getInstance() {
|
|
|
28
28
|
}
|
|
29
29
|
function work(network, timestamp, target, $completion) {
|
|
30
30
|
var threshold = getThreshold(Companion_instance, network, timestamp);
|
|
31
|
-
return this.
|
|
31
|
+
return this.d53(threshold, target, $completion);
|
|
32
32
|
}
|
|
33
33
|
function work_0(block, $completion) {
|
|
34
34
|
var target = getTarget(block);
|
|
35
|
-
return this.
|
|
35
|
+
return this.e53(block.network, block.timestamp, target, $completion);
|
|
36
36
|
}
|
|
37
37
|
var AttoWorkerClass;
|
|
38
38
|
function AttoWorker() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorker.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorker.kt"],"sourcesContent":["package cash.atto.commons.worker\n\nimport cash.atto.commons.AttoBlock\nimport cash.atto.commons.AttoInstant\nimport cash.atto.commons.AttoNetwork\nimport cash.atto.commons.AttoWork\nimport cash.atto.commons.AttoWorkTarget\nimport cash.atto.commons.getTarget\nimport cash.atto.commons.getThreshold\n\ninterface AttoWorker : AutoCloseable {\n companion object {}\n\n suspend fun work(\n threshold: ULong,\n target: AttoWorkTarget,\n ): AttoWork\n\n suspend fun work(\n network: AttoNetwork,\n timestamp: AttoInstant,\n target: AttoWorkTarget,\n ): AttoWork {\n val threshold = AttoWork.getThreshold(network, timestamp)\n return work(threshold, target)\n }\n\n suspend fun work(block: AttoBlock): AttoWork {\n val target = block.getTarget()\n return work(block.network, block.timestamp, target)\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["work","network","timestamp","target","$completion","threshold","block"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;aAkBYA,CACJC,O,EACAC,S,EACAC,M,EAHIC,WAAAJ,EAII;A,MACRK,YAAyB,iCAAa,OAAb,EAAsB,SAAtB,C;EAE7B,OADW,SAAK,SAAL,EAAgB,MAAhB,c;AACX,C;eAEQL,CAASM,K,EAATF,WAAAJ,EAAqC;A,MACzCG,SAAmB,UAAN,KAAM,C;EAEvB,OADW,SAAK,KAAL,CAAW,OAAX,EAAoB,KAApB,CAA0B,SAA1B,EAAqC,MAArC,c;AACX,C;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,9 +3,9 @@ declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
|
3
3
|
export declare class AttoWorkerAsync {
|
|
4
4
|
private constructor();
|
|
5
5
|
get worker(): any/* AttoWorker */;
|
|
6
|
-
workThreshold(threshold: bigint, target: any/* AttoWorkTarget */):
|
|
7
|
-
workNetwork(network: AttoNetwork, timestamp: AttoInstant, target: any/* AttoWorkTarget */):
|
|
8
|
-
workBlock(block: AttoBlock):
|
|
6
|
+
workThreshold(threshold: bigint, target: any/* AttoWorkTarget */): Promise<AttoWork>;
|
|
7
|
+
workNetwork(network: AttoNetwork, timestamp: AttoInstant, target: any/* AttoWorkTarget */): Promise<AttoWork>;
|
|
8
|
+
workBlock(block: AttoBlock): Promise<AttoWork>;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace AttoWorkerAsync {
|
|
11
11
|
/** @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 { AttoWorkerAsync2mqicuktlp1kj as AttoWorkerAsync } from './AttoWorkerAsync.mjs';
|
|
1
|
+
import { AttoWorkerAsync2mqicuktlp1kj as AttoWorkerAsync } from './AttoWorkerAsync.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=AttoWorkerAsync.export.mjs.map
|
|
13
|
+
//# sourceMappingURL=AttoWorkerAsync.js.export.mjs.map
|