@attocash/commons-test 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +2 -0
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +38 -34
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +63 -55
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +825 -817
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +20 -20
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
- package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +74 -11
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +76 -0
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
- package/commons-commons-core.mjs +1 -2
- package/commons-commons-core.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +401 -409
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +140 -135
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +65 -65
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +8 -8
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +76 -47
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
- package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +20 -20
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +10 -10
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-node.mjs +6 -6
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +36 -48
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +57 -61
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +33 -45
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +40 -40
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/commons-commons-worker.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +16 -11
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +24 -52
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +46 -83
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +10 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +112 -21
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +75 -75
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +63 -63
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +103 -103
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
- /package/{commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.mjs.map} +0 -0
- /package/{commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs.map → commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
|
@@ -54,38 +54,38 @@ function AttoWorkerCpu() {
|
|
|
54
54
|
if (AttoWorkerCpuClass === VOID) {
|
|
55
55
|
class $ {
|
|
56
56
|
constructor(parallelism) {
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
57
|
+
this.x53_1 = parallelism;
|
|
58
|
+
this.y53_1 = SupervisorJob();
|
|
59
59
|
var tmp = this;
|
|
60
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
60
|
+
var tmp_0 = Dispatchers_getInstance().r20_1;
|
|
61
61
|
// Inline function 'kotlin.UShort.toInt' call
|
|
62
|
-
var this_0 = this.
|
|
62
|
+
var this_0 = this.x53_1;
|
|
63
63
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(this_0) & 65535;
|
|
64
|
-
tmp.
|
|
64
|
+
tmp.z53_1 = tmp_0.r1w(tmp$ret$0);
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
var controller = new (WorkerController())(this.
|
|
68
|
-
return controller.
|
|
66
|
+
d53(threshold, target, $completion) {
|
|
67
|
+
var controller = new (WorkerController())(this.z53_1.gl(this.y53_1).gl(Job()), this.x53_1, threshold, target.g4u_1);
|
|
68
|
+
return controller.f54($completion);
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
this.
|
|
70
|
+
u6() {
|
|
71
|
+
this.y53_1.p1r();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
protoOf($).
|
|
75
|
-
protoOf($).
|
|
74
|
+
protoOf($).e53 = work;
|
|
75
|
+
protoOf($).f53 = work_0;
|
|
76
76
|
initMetadataForClass($, 'AttoWorkerCpu', VOID, VOID, [AttoWorker()], [2, 3, 1]);
|
|
77
77
|
AttoWorkerCpuClass = $;
|
|
78
78
|
}
|
|
79
79
|
return AttoWorkerCpuClass;
|
|
80
80
|
}
|
|
81
81
|
function tryComplete($this, work) {
|
|
82
|
-
if (!isValid(Companion_instance, $this.
|
|
82
|
+
if (!isValid(Companion_instance, $this.b54_1, $this.c54_1, work)) {
|
|
83
83
|
return false;
|
|
84
84
|
}
|
|
85
85
|
// Inline function 'kotlin.collections.copyOf' call
|
|
86
86
|
// Inline function 'kotlin.js.asDynamic' call
|
|
87
87
|
var tmp$ret$1 = work.slice();
|
|
88
|
-
return $this.
|
|
88
|
+
return $this.e54_1.l1w(new (AttoWork())(tmp$ret$1));
|
|
89
89
|
}
|
|
90
90
|
function incrementByteArray($this, byteArray) {
|
|
91
91
|
var carry = 1;
|
|
@@ -103,7 +103,7 @@ function incrementByteArray($this, byteArray) {
|
|
|
103
103
|
}
|
|
104
104
|
function WorkerController$result$lambda(this$0) {
|
|
105
105
|
return (it) => {
|
|
106
|
-
cancel(this$0.
|
|
106
|
+
cancel(this$0.d54_1);
|
|
107
107
|
return Unit_instance;
|
|
108
108
|
};
|
|
109
109
|
}
|
|
@@ -112,34 +112,34 @@ function WorkerController$calculate$slambda() {
|
|
|
112
112
|
if (WorkerController$calculate$slambdaClass === VOID) {
|
|
113
113
|
class $ {
|
|
114
114
|
constructor($i, $rangeSize, this$0) {
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
117
|
-
this.
|
|
115
|
+
this.g54_1 = $i;
|
|
116
|
+
this.h54_1 = $rangeSize;
|
|
117
|
+
this.i54_1 = this$0;
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
v28($this$launch, $completion) {
|
|
120
120
|
// Inline function 'kotlin.toULong' call
|
|
121
|
-
var this_0 = this.
|
|
121
|
+
var this_0 = this.g54_1;
|
|
122
122
|
var tmp0 = _ULong___init__impl__c78o9k(fromInt(this_0));
|
|
123
123
|
// Inline function 'kotlin.ULong.times' call
|
|
124
|
-
var other = this.
|
|
124
|
+
var other = this.h54_1;
|
|
125
125
|
var start = _ULong___init__impl__c78o9k(multiply(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
126
126
|
// Inline function 'kotlin.ULong.plus' call
|
|
127
|
-
var other_0 = this.
|
|
127
|
+
var other_0 = this.h54_1;
|
|
128
128
|
var end = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(start), _ULong___get_data__impl__fggpzb(other_0)));
|
|
129
129
|
var work = toByteArray(start);
|
|
130
130
|
var current = start;
|
|
131
131
|
while (!(current === end) && get_isActive($this$launch)) {
|
|
132
|
-
if (tryComplete(this.
|
|
132
|
+
if (tryComplete(this.i54_1, work))
|
|
133
133
|
return Unit_instance;
|
|
134
|
-
incrementByteArray(this.
|
|
134
|
+
incrementByteArray(this.i54_1, work);
|
|
135
135
|
// Inline function 'kotlin.ULong.inc' call
|
|
136
136
|
var this_1 = current;
|
|
137
137
|
current = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(this_1), get_ONE()));
|
|
138
138
|
}
|
|
139
139
|
return Unit_instance;
|
|
140
140
|
}
|
|
141
|
-
|
|
142
|
-
return this.
|
|
141
|
+
md(p1, $completion) {
|
|
142
|
+
return this.v28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -149,7 +149,7 @@ function WorkerController$calculate$slambda() {
|
|
|
149
149
|
}
|
|
150
150
|
function WorkerController$calculate$slambda_0($i, $rangeSize, this$0) {
|
|
151
151
|
var i = new (WorkerController$calculate$slambda())($i, $rangeSize, this$0);
|
|
152
|
-
var l = ($this$launch, $completion) => i.
|
|
152
|
+
var l = ($this$launch, $completion) => i.v28($this$launch, $completion);
|
|
153
153
|
l.$arity = 1;
|
|
154
154
|
return l;
|
|
155
155
|
}
|
|
@@ -158,25 +158,25 @@ function WorkerController() {
|
|
|
158
158
|
if (WorkerControllerClass === VOID) {
|
|
159
159
|
class $ {
|
|
160
160
|
constructor(context, parallelism, threshold, target) {
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
161
|
+
this.a54_1 = parallelism;
|
|
162
|
+
this.b54_1 = threshold;
|
|
163
|
+
this.c54_1 = target;
|
|
164
|
+
this.d54_1 = CoroutineScope_0(context);
|
|
165
165
|
var tmp = this;
|
|
166
166
|
// Inline function 'kotlin.apply' call
|
|
167
167
|
var this_0 = CompletableDeferred();
|
|
168
|
-
this_0.
|
|
169
|
-
tmp.
|
|
168
|
+
this_0.h1r(WorkerController$result$lambda(this));
|
|
169
|
+
tmp.e54_1 = this_0;
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
f54($completion) {
|
|
172
172
|
var tmp0 = _ULong___init__impl__c78o9k(-1n);
|
|
173
173
|
// Inline function 'kotlin.UShort.toULong' call
|
|
174
|
-
var this_0 = this.
|
|
174
|
+
var this_0 = this.a54_1;
|
|
175
175
|
// Inline function 'kotlin.ULong.div' call
|
|
176
176
|
var other = _ULong___init__impl__c78o9k(fromInt(_UShort___get_data__impl__g0245(this_0)) & 65535n);
|
|
177
177
|
var rangeSize = ulongDivide(tmp0, other);
|
|
178
178
|
// Inline function 'kotlin.UShort.toInt' call
|
|
179
|
-
var this_1 = this.
|
|
179
|
+
var this_1 = this.a54_1;
|
|
180
180
|
// Inline function 'kotlin.repeat' call
|
|
181
181
|
var times = _UShort___get_data__impl__g0245(this_1) & 65535;
|
|
182
182
|
var inductionVariable = 0;
|
|
@@ -184,10 +184,10 @@ function WorkerController() {
|
|
|
184
184
|
do {
|
|
185
185
|
var index = inductionVariable;
|
|
186
186
|
inductionVariable = inductionVariable + 1 | 0;
|
|
187
|
-
launch(this.
|
|
187
|
+
launch(this.d54_1, VOID, VOID, WorkerController$calculate$slambda_0(index, rangeSize, this));
|
|
188
188
|
}
|
|
189
189
|
while (inductionVariable < times);
|
|
190
|
-
return this.
|
|
190
|
+
return this.e54_1.s1s($completion);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
initMetadataForClass($, 'WorkerController', VOID, VOID, VOID, [0]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerCpu.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/unsigned/src/kotlin/UShort.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/js/src/generated/_ArraysJs.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/unsigned/src/kotlin/ULong.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerCpu.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/unsigned/src/kotlin/UShort.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/js/src/generated/_ArraysJs.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/unsigned/src/kotlin/ULong.kt"],"sourcesContent":["package cash.atto.commons.worker\n\nimport cash.atto.commons.AttoWork\nimport cash.atto.commons.AttoWorkTarget\nimport cash.atto.commons.isValid\nimport cash.atto.commons.toByteArray\nimport kotlinx.coroutines.CompletableDeferred\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.Job\nimport kotlinx.coroutines.SupervisorJob\nimport kotlinx.coroutines.cancel\nimport kotlinx.coroutines.isActive\nimport kotlinx.coroutines.launch\nimport kotlin.coroutines.CoroutineContext\n\nfun AttoWorker.Companion.cpu(parallelism: UShort): AttoWorker = AttoWorkerCpu(parallelism)\n\nexpect fun AttoWorker.Companion.cpu(): AttoWorker\n\ninternal class AttoWorkerCpu(\n val parallelism: UShort,\n) : AttoWorker {\n private val supervisorJob = SupervisorJob()\n private val dispatcher = Dispatchers.Default.limitedParallelism(parallelism.toInt())\n\n override suspend fun work(\n threshold: ULong,\n target: AttoWorkTarget,\n ): AttoWork {\n val controller = WorkerController(dispatcher + supervisorJob + Job(), parallelism, threshold, target.value)\n return controller.calculate()\n }\n\n override fun close() {\n supervisorJob.cancel()\n }\n}\n\nprivate class WorkerController(\n context: CoroutineContext,\n private val parallelism: UShort,\n private val threshold: ULong,\n private val target: ByteArray,\n) {\n private val scope = CoroutineScope(context)\n\n private val result =\n CompletableDeferred<AttoWork>().apply {\n this.invokeOnCompletion {\n scope.cancel()\n }\n }\n\n private fun tryComplete(work: ByteArray): Boolean {\n if (!AttoWork.isValid(threshold, target, work)) {\n return false\n }\n return result.complete(AttoWork(work.copyOf()))\n }\n\n suspend fun calculate(): AttoWork {\n val rangeSize = ULong.MAX_VALUE / parallelism.toULong()\n\n repeat(parallelism.toInt()) { i ->\n scope.launch {\n val start = i.toULong() * rangeSize\n val end = start + rangeSize\n val work = start.toByteArray()\n var current = start\n while (current != end && isActive) {\n if (tryComplete(work)) return@launch\n incrementByteArray(work)\n current++\n }\n }\n }\n return result.await()\n }\n\n private fun incrementByteArray(byteArray: ByteArray) {\n var carry = 1\n for (i in byteArray.indices) {\n val sum = (byteArray[i].toInt() and 0xFF) + carry\n byteArray[i] = sum.toByte()\n carry = if (sum > 0xFF) 1 else 0\n if (carry == 0) break\n }\n }\n}\n",null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["cpu","<this>","parallelism","work","threshold","target","$completion","controller","close","tryComplete","incrementByteArray","byteArray","carry","i","sum","WorkerController$result$lambda","WorkerController$result$lambda$lambda","$rangeSize","invoke","start","end","current","WorkerController$calculate$slambda","WorkerController$calculate$slambda$lambda","context","calculate","rangeSize","index"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAgBAA,CAAIC,a,EAAyBC,WAA7BF,EAAgE;A,EAA0B,6BAAZ,WAAY,C;AAAD,C;;;;;kBAKrFE,W;QAAA,wB;QAE4B,4B;kBACiB,I;8CAAR,K;;qBAA2B,I,CAAA,K;YCmTR,YAAvB,0CAAiB,K;QDnTL,sBAA+B,SAA/B,C;;SAE5BC,CACbC,S,EACAC,M,EAFaC,WAAAH,EAGL;A,YACRI,sCAAkC,cAAa,IAAb,CAAa,KAAb,KAA6B,KAA7B,CAAlCA,EAAsE,IAAtEA,CAAsE,KAAtEA,EAAmF,SAAnFA,EAA8F,MAA9FA,CAAqG,KAArGA,C;QAEJ,OADW,UAAW,iB;MACtB,C;QAESC,CAAAA,EAAY;A,QACjB,IAAc,CAAd,KAAc,M;MAClB,C;;;;;;;;;oBAkBQC,CAAA,K,EAAgBN,IAAhBM,EAA0C;A,EAC1C,KAAU,4BAAQ,KAAR,CAAQ,KAAR,EAAmB,KAAnB,CAAmB,KAAnB,EAA2B,IAA3B,CAAV,C,CAA4C;A,IAC5C,OAAO,K;EACX,C;;;MEiyBJ,YFhyBoC,IEgyBZ,Q;EFhyBpB,OAAO,KAAO,CAAP,KAAO,sBAAuB,SAAvB,E;AAClB,C;2BAqBQC,CAAA,K,EAAuBC,SAAvBD,EAA6C;A,MACjDE,QAAY,C;MACQ,qB;MAAA,OAAV,SAAU,e;EAApB,yBAAU,IAAV,C;gBAAA;A,UAAKC,IAAK,iB;MAAA,wCAAU,CAAV,I;UACNC,MAAU,CAAC,UAAU,CAAV,IAAyB,GAA1B,IAAkC,KAA5CA,I;MACA,UAAU,CAAV,IAAmB,OAAJ,GAAI,C;MACnB,QAAY,MAAM,GAAN,GAAY,CAAZ,GAAmB,C;;YAC3B,K,KAAS,C,IAJjB,qBAAU,I;AAMd,C;uCAvCgCC,CAVpC,MAUoCA,E;SAAAC,CAAA,EAAAA,KAAA;A,IACd,OAAN,MAAM,CAAN,KAAM,C;IACV,oB;EAAA,C;C;;;;;sBGKoCC,U,EAApC,M;;;;;SAMwEC,CAAA,Y,EAAAZ,WAAAY,EAAkB;A;qBAEjG,I,CAAA,K;mBC8YoC,4BAAW,QAAL,MAAK,CAAX,C;;oBD9YtB,I,CAAA,K;YAFmFC,QC+D1C,4BAAgB,SAAL,qCAAK,EAAY,gCAAN,KAAM,CAAZ,CAAhB,C;;sBD7DG,I,CAAA,K;YAAlBC,MC2Bc,4BAAgB,IAAL,gCD3Bf,KC2Be,CAAK,EAAW,gCAAN,OAAM,CAAX,CAAhB,C;YD3B8BjB,OAAiB,YAAN,KAAM,C;YAA8BkB,UAEtI,K;eACC,cAAW,GAAX,C,IAAkB,0B,EACZ;A,UAA0B,4BAAY,IAAZ,E;YAAmB,oB;UAE/C,+BAAmB,IAAnB,C;;uBAA6C,O;UAAA,UC2LN,4BAAW,IAAL,uCAAK,YAAX,C;QDzL/B,C;QAAA,oB;MAAA,C;SAxEf,E,EAAAf,W;;;;;;;;;6CHiEyBgB,C,IAHjBL,U,EADI,MAIaK,E;;UAAAC,CAAA,Y,EAAAjB,WAAAiB,qC;;;C;;;;;kBAzBrBC,O,EACQtB,W,EACAE,S,EACAC,M;QAFR,wB;QACA,sB;QACA,mB;QAEoB,8BAAe,OAAf,C;kBAGgB,I;;qBAAhC,qB;QACS,WAAmB,oCAAnB,C;QADuB,YGuC7B,M;;SH1BCoB,CAAAnB,WAAAmB,EAA0B;A,mBACR,gC;;qBAAY,I,CAAA,K;;oBC8TD,4BAAW,QAAL,uCAAK,CAAL,GAAkB,MAAxB,C;YD9TjCC,YIgFkD,kBAAkB,KAAlB,C;;qBJ9E3C,I,CAAA,K;;oBC2QsB,0CAAiB,K;YE1KpC,qB;QAAd,wBAAsB,KAAtB,C;aAAA;A,gBAAKC,QAAS,iB;YAAA,6C;YHhGA,OAAN,IAAM,CAAN,KAAM,cAAO,qCGiGV,KHjGU,kBAAP,C;;UGgGd,4BAAsB,KAAtB,C;QHnFA,OADW,IAAO,CAAP,KAAO,iB;MAClB,C;;;;;;;;;;;"}
|
|
@@ -49,7 +49,7 @@ function Companion() {
|
|
|
49
49
|
// Inline function 'kotlin.arrayOf' call
|
|
50
50
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
51
51
|
// Inline function 'kotlin.js.asDynamic' call
|
|
52
|
-
tmp.
|
|
52
|
+
tmp.j54_1 = [lazy(tmp_0, AttoWorkerOperations$Request$Companion$$childSerializers$_anonymous__k0cb7d), null, null];
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
initMetadataForCompanion($);
|
|
@@ -70,77 +70,77 @@ function $serializer() {
|
|
|
70
70
|
constructor() {
|
|
71
71
|
$serializer_instance = this;
|
|
72
72
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.worker.AttoWorkerOperations.Request', this, 3);
|
|
73
|
-
tmp0_serialDesc.
|
|
74
|
-
tmp0_serialDesc.
|
|
75
|
-
tmp0_serialDesc.
|
|
76
|
-
this.
|
|
73
|
+
tmp0_serialDesc.c15('network', false);
|
|
74
|
+
tmp0_serialDesc.c15('timestamp', false);
|
|
75
|
+
tmp0_serialDesc.c15('target', false);
|
|
76
|
+
this.k54_1 = tmp0_serialDesc;
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
var tmp0_desc = this.
|
|
80
|
-
var tmp1_output = encoder.
|
|
81
|
-
var tmp2_cached = Companion_getInstance().
|
|
82
|
-
tmp1_output.
|
|
83
|
-
tmp1_output.
|
|
84
|
-
tmp1_output.
|
|
85
|
-
tmp1_output.
|
|
78
|
+
l54(encoder, value) {
|
|
79
|
+
var tmp0_desc = this.k54_1;
|
|
80
|
+
var tmp1_output = encoder.ox(tmp0_desc);
|
|
81
|
+
var tmp2_cached = Companion_getInstance().j54_1;
|
|
82
|
+
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.m54_1);
|
|
83
|
+
tmp1_output.fz(tmp0_desc, 1, AttoInstantAsLongSerializer_getInstance(), value.n54_1);
|
|
84
|
+
tmp1_output.dz(tmp0_desc, 2, value.o54_1);
|
|
85
|
+
tmp1_output.px(tmp0_desc);
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
return this.
|
|
87
|
+
at(encoder, value) {
|
|
88
|
+
return this.l54(encoder, value instanceof Request() ? value : THROW_CCE());
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
var tmp0_desc = this.
|
|
90
|
+
bt(decoder) {
|
|
91
|
+
var tmp0_desc = this.k54_1;
|
|
92
92
|
var tmp1_flag = true;
|
|
93
93
|
var tmp2_index = 0;
|
|
94
94
|
var tmp3_bitMask0 = 0;
|
|
95
95
|
var tmp4_local0 = null;
|
|
96
96
|
var tmp5_local1 = null;
|
|
97
97
|
var tmp6_local2 = null;
|
|
98
|
-
var tmp7_input = decoder.
|
|
99
|
-
var tmp8_cached = Companion_getInstance().
|
|
100
|
-
if (tmp7_input.
|
|
101
|
-
tmp4_local0 = tmp7_input.
|
|
98
|
+
var tmp7_input = decoder.ox(tmp0_desc);
|
|
99
|
+
var tmp8_cached = Companion_getInstance().j54_1;
|
|
100
|
+
if (tmp7_input.dy()) {
|
|
101
|
+
tmp4_local0 = tmp7_input.ay(tmp0_desc, 0, tmp8_cached[0].g3(), tmp4_local0);
|
|
102
102
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
103
|
-
tmp5_local1 = tmp7_input.
|
|
103
|
+
tmp5_local1 = tmp7_input.ay(tmp0_desc, 1, AttoInstantAsLongSerializer_getInstance(), tmp5_local1);
|
|
104
104
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
105
|
-
tmp6_local2 = tmp7_input.
|
|
105
|
+
tmp6_local2 = tmp7_input.yx(tmp0_desc, 2);
|
|
106
106
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
107
107
|
} else
|
|
108
108
|
while (tmp1_flag) {
|
|
109
|
-
tmp2_index = tmp7_input.
|
|
109
|
+
tmp2_index = tmp7_input.ey(tmp0_desc);
|
|
110
110
|
switch (tmp2_index) {
|
|
111
111
|
case -1:
|
|
112
112
|
tmp1_flag = false;
|
|
113
113
|
break;
|
|
114
114
|
case 0:
|
|
115
|
-
tmp4_local0 = tmp7_input.
|
|
115
|
+
tmp4_local0 = tmp7_input.ay(tmp0_desc, 0, tmp8_cached[0].g3(), tmp4_local0);
|
|
116
116
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
117
117
|
break;
|
|
118
118
|
case 1:
|
|
119
|
-
tmp5_local1 = tmp7_input.
|
|
119
|
+
tmp5_local1 = tmp7_input.ay(tmp0_desc, 1, AttoInstantAsLongSerializer_getInstance(), tmp5_local1);
|
|
120
120
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
121
121
|
break;
|
|
122
122
|
case 2:
|
|
123
|
-
tmp6_local2 = tmp7_input.
|
|
123
|
+
tmp6_local2 = tmp7_input.yx(tmp0_desc, 2);
|
|
124
124
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
125
125
|
break;
|
|
126
126
|
default:
|
|
127
|
-
throw UnknownFieldException().
|
|
127
|
+
throw UnknownFieldException().vu(tmp2_index);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
tmp7_input.
|
|
131
|
-
return Request().
|
|
130
|
+
tmp7_input.px(tmp0_desc);
|
|
131
|
+
return Request().p54(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
132
132
|
}
|
|
133
|
-
|
|
134
|
-
return this.
|
|
133
|
+
zs() {
|
|
134
|
+
return this.k54_1;
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
r15() {
|
|
137
137
|
// Inline function 'kotlin.arrayOf' call
|
|
138
138
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
139
139
|
// Inline function 'kotlin.js.asDynamic' call
|
|
140
|
-
return [Companion_getInstance().
|
|
140
|
+
return [Companion_getInstance().j54_1[0].g3(), AttoInstantAsLongSerializer_getInstance(), StringSerializer_getInstance()];
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
protoOf($).
|
|
143
|
+
protoOf($).s15 = typeParametersSerializers;
|
|
144
144
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
145
145
|
$serializerClass = $;
|
|
146
146
|
}
|
|
@@ -172,57 +172,57 @@ function $serializer_0() {
|
|
|
172
172
|
constructor() {
|
|
173
173
|
$serializer_instance_0 = this;
|
|
174
174
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.worker.AttoWorkerOperations.Response', this, 1);
|
|
175
|
-
tmp0_serialDesc.
|
|
176
|
-
this.
|
|
175
|
+
tmp0_serialDesc.c15('work', false);
|
|
176
|
+
this.q54_1 = tmp0_serialDesc;
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
var tmp0_desc = this.
|
|
180
|
-
var tmp1_output = encoder.
|
|
181
|
-
tmp1_output.
|
|
182
|
-
tmp1_output.
|
|
178
|
+
r54(encoder, value) {
|
|
179
|
+
var tmp0_desc = this.q54_1;
|
|
180
|
+
var tmp1_output = encoder.ox(tmp0_desc);
|
|
181
|
+
tmp1_output.fz(tmp0_desc, 0, AttoWorkAsStringSerializer_getInstance(), value.s54_1);
|
|
182
|
+
tmp1_output.px(tmp0_desc);
|
|
183
183
|
}
|
|
184
|
-
|
|
185
|
-
return this.
|
|
184
|
+
at(encoder, value) {
|
|
185
|
+
return this.r54(encoder, value instanceof Response() ? value : THROW_CCE());
|
|
186
186
|
}
|
|
187
|
-
|
|
188
|
-
var tmp0_desc = this.
|
|
187
|
+
bt(decoder) {
|
|
188
|
+
var tmp0_desc = this.q54_1;
|
|
189
189
|
var tmp1_flag = true;
|
|
190
190
|
var tmp2_index = 0;
|
|
191
191
|
var tmp3_bitMask0 = 0;
|
|
192
192
|
var tmp4_local0 = null;
|
|
193
|
-
var tmp5_input = decoder.
|
|
194
|
-
if (tmp5_input.
|
|
195
|
-
tmp4_local0 = tmp5_input.
|
|
193
|
+
var tmp5_input = decoder.ox(tmp0_desc);
|
|
194
|
+
if (tmp5_input.dy()) {
|
|
195
|
+
tmp4_local0 = tmp5_input.ay(tmp0_desc, 0, AttoWorkAsStringSerializer_getInstance(), tmp4_local0);
|
|
196
196
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
197
197
|
} else
|
|
198
198
|
while (tmp1_flag) {
|
|
199
|
-
tmp2_index = tmp5_input.
|
|
199
|
+
tmp2_index = tmp5_input.ey(tmp0_desc);
|
|
200
200
|
switch (tmp2_index) {
|
|
201
201
|
case -1:
|
|
202
202
|
tmp1_flag = false;
|
|
203
203
|
break;
|
|
204
204
|
case 0:
|
|
205
|
-
tmp4_local0 = tmp5_input.
|
|
205
|
+
tmp4_local0 = tmp5_input.ay(tmp0_desc, 0, AttoWorkAsStringSerializer_getInstance(), tmp4_local0);
|
|
206
206
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
207
207
|
break;
|
|
208
208
|
default:
|
|
209
|
-
throw UnknownFieldException().
|
|
209
|
+
throw UnknownFieldException().vu(tmp2_index);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
tmp5_input.
|
|
213
|
-
return Response().
|
|
212
|
+
tmp5_input.px(tmp0_desc);
|
|
213
|
+
return Response().t54(tmp3_bitMask0, tmp4_local0, null);
|
|
214
214
|
}
|
|
215
|
-
|
|
216
|
-
return this.
|
|
215
|
+
zs() {
|
|
216
|
+
return this.q54_1;
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
r15() {
|
|
219
219
|
// Inline function 'kotlin.arrayOf' call
|
|
220
220
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
221
221
|
// Inline function 'kotlin.js.asDynamic' call
|
|
222
222
|
return [AttoWorkAsStringSerializer_getInstance()];
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
protoOf($).
|
|
225
|
+
protoOf($).s15 = typeParametersSerializers;
|
|
226
226
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
227
227
|
$serializerClass_0 = $;
|
|
228
228
|
}
|
|
@@ -235,12 +235,12 @@ function $serializer_getInstance_0() {
|
|
|
235
235
|
return $serializer_instance_0;
|
|
236
236
|
}
|
|
237
237
|
function *_generator_work__qfjd2h($this, network, timestamp, target, $completion) {
|
|
238
|
-
var request = new (Request())(network, timestamp, toHex(target.
|
|
239
|
-
var tmp = $this.
|
|
238
|
+
var request = new (Request())(network, timestamp, toHex(target.g4u_1));
|
|
239
|
+
var tmp = $this.u54(request, $completion);
|
|
240
240
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
241
241
|
tmp = yield tmp;
|
|
242
242
|
var response = tmp;
|
|
243
|
-
return response.
|
|
243
|
+
return response.s54_1;
|
|
244
244
|
}
|
|
245
245
|
var RequestClass;
|
|
246
246
|
function Request() {
|
|
@@ -248,17 +248,17 @@ function Request() {
|
|
|
248
248
|
class $ {
|
|
249
249
|
constructor(network, timestamp, target) {
|
|
250
250
|
Companion_getInstance();
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
251
|
+
this.m54_1 = network;
|
|
252
|
+
this.n54_1 = timestamp;
|
|
253
|
+
this.o54_1 = target;
|
|
254
254
|
}
|
|
255
255
|
toString() {
|
|
256
|
-
return 'Request(network=' + this.
|
|
256
|
+
return 'Request(network=' + this.m54_1.toString() + ', timestamp=' + this.n54_1.toString() + ', target=' + this.o54_1 + ')';
|
|
257
257
|
}
|
|
258
258
|
hashCode() {
|
|
259
|
-
var result = this.
|
|
260
|
-
result = imul(result, 31) + this.
|
|
261
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
259
|
+
var result = this.m54_1.hashCode();
|
|
260
|
+
result = imul(result, 31) + this.n54_1.hashCode() | 0;
|
|
261
|
+
result = imul(result, 31) + getStringHashCode(this.o54_1) | 0;
|
|
262
262
|
return result;
|
|
263
263
|
}
|
|
264
264
|
equals(other) {
|
|
@@ -266,23 +266,23 @@ function Request() {
|
|
|
266
266
|
return true;
|
|
267
267
|
if (!(other instanceof Request()))
|
|
268
268
|
return false;
|
|
269
|
-
if (!this.
|
|
269
|
+
if (!this.m54_1.equals(other.m54_1))
|
|
270
270
|
return false;
|
|
271
|
-
if (!this.
|
|
271
|
+
if (!this.n54_1.equals(other.n54_1))
|
|
272
272
|
return false;
|
|
273
|
-
if (!(this.
|
|
273
|
+
if (!(this.o54_1 === other.o54_1))
|
|
274
274
|
return false;
|
|
275
275
|
return true;
|
|
276
276
|
}
|
|
277
|
-
static
|
|
277
|
+
static p54(seen0, network, timestamp, target, serializationConstructorMarker) {
|
|
278
278
|
Companion_getInstance();
|
|
279
279
|
if (!(7 === (7 & seen0))) {
|
|
280
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance().
|
|
280
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance().k54_1);
|
|
281
281
|
}
|
|
282
282
|
var $this = createThis(this);
|
|
283
|
-
$this.
|
|
284
|
-
$this.
|
|
285
|
-
$this.
|
|
283
|
+
$this.m54_1 = network;
|
|
284
|
+
$this.n54_1 = timestamp;
|
|
285
|
+
$this.o54_1 = target;
|
|
286
286
|
return $this;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
@@ -296,26 +296,26 @@ function Response() {
|
|
|
296
296
|
if (ResponseClass === VOID) {
|
|
297
297
|
class $ {
|
|
298
298
|
toString() {
|
|
299
|
-
return 'Response(work=' + this.
|
|
299
|
+
return 'Response(work=' + this.s54_1.toString() + ')';
|
|
300
300
|
}
|
|
301
301
|
hashCode() {
|
|
302
|
-
return this.
|
|
302
|
+
return this.s54_1.hashCode();
|
|
303
303
|
}
|
|
304
304
|
equals(other) {
|
|
305
305
|
if (this === other)
|
|
306
306
|
return true;
|
|
307
307
|
if (!(other instanceof Response()))
|
|
308
308
|
return false;
|
|
309
|
-
if (!this.
|
|
309
|
+
if (!this.s54_1.equals(other.s54_1))
|
|
310
310
|
return false;
|
|
311
311
|
return true;
|
|
312
312
|
}
|
|
313
|
-
static
|
|
313
|
+
static t54(seen0, work, serializationConstructorMarker) {
|
|
314
314
|
if (!(1 === (1 & seen0))) {
|
|
315
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
315
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().q54_1);
|
|
316
316
|
}
|
|
317
317
|
var $this = createThis(this);
|
|
318
|
-
$this.
|
|
318
|
+
$this.s54_1 = work;
|
|
319
319
|
return $this;
|
|
320
320
|
}
|
|
321
321
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerOperations.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerOperations.kt"],"sourcesContent":["package cash.atto.commons.worker\n\nimport cash.atto.commons.AttoInstant\nimport cash.atto.commons.AttoNetwork\nimport cash.atto.commons.AttoWork\nimport cash.atto.commons.AttoWorkTarget\nimport cash.atto.commons.toHex\nimport kotlinx.serialization.Serializable\n\ninterface AttoWorkerOperations : AttoWorker {\n suspend fun work(request: Request): Response\n\n override suspend fun work(\n network: AttoNetwork,\n timestamp: AttoInstant,\n target: AttoWorkTarget,\n ): AttoWork {\n val request = Request(network, timestamp, target.value.toHex())\n val response = work(request)\n return response.work\n }\n\n @Serializable\n data class Request(\n val network: AttoNetwork,\n val timestamp: AttoInstant,\n val target: String,\n )\n\n @Serializable\n data class Response(\n val work: AttoWork,\n )\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["AttoWorkerOperations$Request$Companion$$childSerializers$<anonymous>","serialize","encoder","value","deserialize","childSerializers","<generator-work>","network","timestamp","target","$completion","request","response","result","work"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFAsBIA,CAAAA,EAAA;A,EAAA,4E;AAKA,C;;;;;;;kBALA,I;;;;;QAAA,kH;;;;;;;;;;;;;;;;;;;;YAAA,2H;QAAA,qC;QAAA,uC;QAAA,oC;QAAA,4B;;SAAAC,CAAA,O,EAAA,KAAAA,EAAA;A,YAAA,sB;YAAA,mC;YAAA,2C;QAAA,8D;QAAA,oF;QAAA,yC;QAAA,yB;MAKA,C;SAOo2LC,O,EAAkBC,K;;;QAZt3LC,CAAA,OAAAA,EAAA;A,YAAA,sB;YAAA,gB;YAAA,c;YAAA,iB;YAAA,kB;YAAA,kB;YAAA,kB;YAAA,kC;YAAA,2C;QAAA,oB,CAAA;A,UAAA,2E;UAAA,iC;UAAA,iG;UAAA,iC;UAAA,yC;UAAA,iC;QAKA,C;iBALA,S,EAAA;A,YAAA,qC;YAAA,mB;mBAAA,E;gBAAA,iB;;mBAAA,C;gBAAA,2E;gBAAA,iC;;mBAAA,C;gBAAA,iG;gBAAA,iC;;mBAAA,C;gBAAA,yC;gBAAA,iC;;;gBAAA,4C;;UAKA,C;QALA,wB;QAAA,gF;MAKA,C;;;;SALAC,CAAAA,EAAA;A;;;QAAA,yH;MAKA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAEA,4H;QAAA,kC;QAAA,4B;;SAAAJ,CAAA,O,EAAA,KAAAA,EAAA;A,YAAA,sB;YAAA,mC;QAAA,mF;QAAA,yB;MAGA,C;SAEo2LC,O,EAAkBC,K;;;QALt3LC,CAAA,OAAAA,EAAA;A,YAAA,sB;YAAA,gB;YAAA,c;YAAA,iB;YAAA,kB;YAAA,kC;QAAA,oB,CAAA;A,UAAA,gG;UAAA,iC;QAGA,C;iBAHA,S,EAAA;A,YAAA,qC;YAAA,mB;mBAAA,E;gBAAA,iB;;mBAAA,C;gBAAA,gG;gBAAA,iC;;;gBAAA,4C;;UAGA,C;QAHA,wB;QAAA,uD;MAGA,C;;;;SAHAC,CAAAA,EAAA;A;;;QAAA,iD;MAGA,C;;;;;;;;;;;;;;iCApBiBC,CAAA,K,EACbC,O,EACAC,S,EACAC,M,EAHaC,WAAAJ,EAIL;A,MACRK,0BAAsB,OAAtBA,EAA+B,SAA/BA,EAAuD,MAAb,MAAa,CAAN,KAAM,CAAvDA,C;MACe,gBAAK,OAAL,c;;;MAAfC,c;EACA,OAAO,QAAP,CAAgB,K;AACpB,C;;;;;kBAIIL,O,EACAC,S,EACAC,M;QAJJ,uB;QAEI,oB;QACA,sB;QACA,mB;;iBA1BR;A,QAAA,2H;MAAA,C;iBAAA;A,YAAAI,8B;QAAA,qD;QAAA,6D;QAAA,a;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,kC;UAAA,Y;QAAA,oC;UAAA,Y;QAAA,oC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;QAsBI,uB;QAAA,yB;UAAA,qE;;;QAAA,qB;QAAA,uB;QAAA,oB;;;;;;;;;;;;;iBAtBJ;A,QAAA,qD;MAAA,C;iBAAA;A,QAAA,4B;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,mC;UAAA,Y;QAAA,oC;UAAA,Y;QAAA,W;MAAA,C;;QA6BI,yB;UAAA,uE;;;QAAA,kB;;;;;;;;;aAjBiBC,CACbP,O,EACAC,S,EACAC,M,EAHaC,WAAAI,E;;C;;;;;;;;;;;;;;;;;"}
|
package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs
CHANGED
|
@@ -28,10 +28,10 @@ function AttoWorkerAsyncBuilder$build$slambda() {
|
|
|
28
28
|
if (AttoWorkerAsyncBuilder$build$slambdaClass === VOID) {
|
|
29
29
|
class $ {
|
|
30
30
|
constructor(this$0) {
|
|
31
|
-
this.
|
|
31
|
+
this.b55_1 = this$0;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
return this.
|
|
33
|
+
od($completion) {
|
|
34
|
+
return this.b55_1.e55_1;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
initMetadataForLambda($, VOID, VOID, [0]);
|
|
@@ -41,7 +41,7 @@ function AttoWorkerAsyncBuilder$build$slambda() {
|
|
|
41
41
|
}
|
|
42
42
|
function AttoWorkerAsyncBuilder$build$slambda_0(this$0) {
|
|
43
43
|
var i = new (AttoWorkerAsyncBuilder$build$slambda())(this$0);
|
|
44
|
-
var l = ($completion) => i.
|
|
44
|
+
var l = ($completion) => i.od($completion);
|
|
45
45
|
l.$arity = 0;
|
|
46
46
|
return l;
|
|
47
47
|
}
|
|
@@ -50,29 +50,29 @@ function AttoWorkerAsyncBuilder() {
|
|
|
50
50
|
if (AttoWorkerAsyncBuilderClass === VOID) {
|
|
51
51
|
class $ {
|
|
52
52
|
constructor(url) {
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
53
|
+
this.c55_1 = url;
|
|
54
|
+
this.d55_1 = true;
|
|
55
|
+
this.e55_1 = emptyMap();
|
|
56
|
+
this.f55_1 = null;
|
|
57
57
|
}
|
|
58
58
|
headers(value) {
|
|
59
59
|
// Inline function 'kotlin.apply' call
|
|
60
|
-
this.
|
|
60
|
+
this.e55_1 = value;
|
|
61
61
|
return this;
|
|
62
62
|
}
|
|
63
63
|
header(name, value) {
|
|
64
64
|
// Inline function 'kotlin.apply' call
|
|
65
|
-
this.
|
|
65
|
+
this.e55_1 = plus(this.e55_1, to(name, value));
|
|
66
66
|
return this;
|
|
67
67
|
}
|
|
68
68
|
cached(value) {
|
|
69
69
|
// Inline function 'kotlin.apply' call
|
|
70
|
-
this.
|
|
70
|
+
this.d55_1 = value;
|
|
71
71
|
return this;
|
|
72
72
|
}
|
|
73
73
|
retryEvery(value) {
|
|
74
74
|
// Inline function 'kotlin.apply' call
|
|
75
|
-
this.
|
|
75
|
+
this.f55_1 = value;
|
|
76
76
|
return this;
|
|
77
77
|
}
|
|
78
78
|
retryEverySeconds(value) {
|
|
@@ -80,21 +80,21 @@ function AttoWorkerAsyncBuilder() {
|
|
|
80
80
|
var tmp = this;
|
|
81
81
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
82
82
|
Companion_getInstance();
|
|
83
|
-
tmp.
|
|
83
|
+
tmp.f55_1 = toDuration(value, DurationUnit_SECONDS_getInstance());
|
|
84
84
|
return this;
|
|
85
85
|
}
|
|
86
86
|
build() {
|
|
87
87
|
var tmp = Companion_instance;
|
|
88
88
|
// Inline function 'kotlin.let' call
|
|
89
|
-
var it = remote(tmp, this.
|
|
89
|
+
var it = remote(tmp, this.c55_1, AttoWorkerAsyncBuilder$build$slambda_0(this));
|
|
90
90
|
var tmp_0;
|
|
91
|
-
if (this.
|
|
91
|
+
if (this.d55_1) {
|
|
92
92
|
tmp_0 = cached(it);
|
|
93
93
|
} else {
|
|
94
94
|
tmp_0 = it;
|
|
95
95
|
}
|
|
96
96
|
var tmp$ret$1 = tmp_0;
|
|
97
|
-
return toAsync(tmp$ret$1, Dispatchers_getInstance().
|
|
97
|
+
return toAsync(tmp$ret$1, Dispatchers_getInstance().r20_1);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
initMetadataForClass($, 'AttoWorkerAsyncBuilder');
|
package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-worker-remote/src/webMain/kotlin/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker-remote/cash/atto/commons/worker/src/kotlin/time/Duration.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker-remote/cash/atto/commons/worker/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","AttoWorkerAsyncBuilder$build$slambda","AttoWorkerAsyncBuilder$build$slambda$lambda","url","headers","value","header","name","cached","retryEvery","retryEverySeconds","build"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA4BW,M;;;QAEcA,CAAAC,WAAAD,EAAE;A,QAAO,OAAP,IAAO,CAAP,KAAO,CAAP,K;MAAM,C;;;;;;;+CAARE,CAFd,MAEcA,E;;UAAAC,CAAAF,WAAAE,sB;;;C;;;;;kBArBbC,G;QAAR,gB;QAE8B,iB;QACa,uB;QACP,iB;;aAE7BC,CAAYC,KAAZD,EAA0C;A;QAAA,IAAQ,SAAU,K;QAAO,OAAzB,I;MAAwB,C;YAElEE,CACHC,I,EACAF,KAFGC,EAGH;A;QAAA,IAAQ,SAAU,KAAlB,IAAkB,QAAW,SAAQ,KAAR,CAAX,C;QAA2B,OAA7C,I;MAA4C,C;YAEzCE,CAAWH,KAAXG,EAA6B;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;gBAEpDC,CAAeJ,KAAfI,EAAkC;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;uBAE7DC,CAAsBL,KAAtBK,EAAqC;A;kBAAA,I;;;QAAQ,YCqJC,WDrJY,KCqJZ,EAAwB,kCAAxB,C;QDrJ2B,OAApC,I;MAAmC,C;WAExEC,CAAAA,EACH;A;;iBACK,YAAO,IAAP,CAAO,KAAP,EAAY,4CAAZ,C;;QAEO,e;kBACG,OAAH,EAAG,C;;kBAEH,E;;YEkFhB,YFrFY,K;QAK0B,OAA5B,QAND,SAMC,4BAAoB,KAApB,C;MAA2B,C;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-worker-remote/src/webMain/kotlin/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker-remote/cash/atto/commons/worker/src/kotlin/time/Duration.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker-remote/cash/atto/commons/worker/src/kotlin/util/Standard.kt"],"sourcesContent":["package cash.atto.commons.worker\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.Dispatchers\nimport kotlin.time.Duration\nimport kotlin.time.Duration.Companion.seconds\n\n@JsExportForJs\nactual class AttoWorkerAsyncBuilder actual constructor(\n private val url: String,\n) {\n private var cached: Boolean = true\n private var headers: Map<String, String> = emptyMap()\n private var retryEvery: Duration? = null\n\n actual fun headers(value: Map<String, String>) = apply { headers = value }\n\n actual fun header(\n name: String,\n value: String,\n ) = apply { headers = headers + (name to value) }\n\n actual fun cached(value: Boolean) = apply { cached = value }\n\n actual fun retryEvery(value: Duration) = apply { retryEvery = value }\n\n actual fun retryEverySeconds(value: Long) = apply { retryEvery = value.seconds }\n\n actual fun build(): AttoWorkerAsync =\n AttoWorker\n .remote(url, { headers })\n .let {\n if (cached) {\n it.cached()\n } else {\n it\n }\n }.toAsync(Dispatchers.Default)\n}\n",null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","AttoWorkerAsyncBuilder$build$slambda","AttoWorkerAsyncBuilder$build$slambda$lambda","url","headers","value","header","name","cached","retryEvery","retryEverySeconds","build"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA4BW,M;;;QAEcA,CAAAC,WAAAD,EAAE;A,QAAO,OAAP,IAAO,CAAP,KAAO,CAAP,K;MAAM,C;;;;;;;+CAARE,CAFd,MAEcA,E;;UAAAC,CAAAF,WAAAE,sB;;;C;;;;;kBArBbC,G;QAAR,gB;QAE8B,iB;QACa,uB;QACP,iB;;aAE7BC,CAAYC,KAAZD,EAA0C;A;QAAA,IAAQ,SAAU,K;QAAO,OAAzB,I;MAAwB,C;YAElEE,CACHC,I,EACAF,KAFGC,EAGH;A;QAAA,IAAQ,SAAU,KAAlB,IAAkB,QAAW,SAAQ,KAAR,CAAX,C;QAA2B,OAA7C,I;MAA4C,C;YAEzCE,CAAWH,KAAXG,EAA6B;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;gBAEpDC,CAAeJ,KAAfI,EAAkC;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;uBAE7DC,CAAsBL,KAAtBK,EAAqC;A;kBAAA,I;;;QAAQ,YCqJC,WDrJY,KCqJZ,EAAwB,kCAAxB,C;QDrJ2B,OAApC,I;MAAmC,C;WAExEC,CAAAA,EACH;A;;iBACK,YAAO,IAAP,CAAO,KAAP,EAAY,4CAAZ,C;;QAEO,e;kBACG,OAAH,EAAG,C;;kBAEH,E;;YEkFhB,YFrFY,K;QAK0B,OAA5B,QAND,SAMC,4BAAoB,KAApB,C;MAA2B,C;;;;;;;;;;;"}
|