@attocash/commons-js 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 +104 -104
- 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 +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +48 -48
- 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/DateTimeUnitSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -1
- 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 +561 -553
- 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 +91 -91
- 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.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 +67 -15
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +46 -6
- 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 +6 -6
- 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-js/cash/atto/commons/js/Placeholder.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 +55 -55
- 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-wallet/cash/atto/commons/wallet/AttoWallet.export.d.mts +15 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs +13 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +245 -232
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.d.mts +25 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/{AttoWalletAsync.export.mjs → AttoWalletAsync.js.export.mjs} +2 -2
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs +405 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs.map +1 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +6 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +46 -37
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -1
- package/commons-commons-wallet.mjs +2 -1
- package/commons-commons-wallet.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/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 +13 -13
- 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 +205 -252
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +41 -47
- 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 +72 -109
- 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 +61 -61
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
- 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 +8 -8
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +28 -55
- 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/_Collections.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +30 -125
- 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/Appendable.mjs +3 -3
- 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 +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +67 -67
- 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 +85 -85
- 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/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- 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 +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
- 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.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
- 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/Job.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
- 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/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +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/channels/Produce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
- 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 +41 -41
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
- 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/ConcurrentLinkedList.mjs.map +1 -1
- 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/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- 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/Scopes.mjs.map +1 -1
- 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/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- 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/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- 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/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- 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 +245 -245
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- 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/Json.mjs.map +1 -1
- 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/JsonElementSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- 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/Polymorphic.mjs.map +1 -1
- 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/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- 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/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- 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/HttpClient.mjs.map +1 -1
- 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/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- 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/HttpClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
- 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/JsClientEngine.mjs.map +1 -1
- 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/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
- 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/DefaultTransform.mjs.map +1 -1
- 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/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
- 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/HttpTimeout.mjs.map +1 -1
- 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/CommonHooks.mjs.map +1 -1
- 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/sse/ClientSSESession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- 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/DefaultHttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- 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/DefaultHttpResponse.mjs.map +1 -1
- 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/statement/HttpStatement.mjs.map +1 -1
- 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 +71 -71
- 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 +20 -20
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- 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/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +93 -93
- 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 +75 -75
- 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/ByteChannel.mjs.map +1 -1
- 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 +62 -62
- 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/ByteWriteChannelOperations.mjs.map +1 -1
- 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 +37 -37
- 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/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- 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/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- 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 +44 -44
- 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/Date.mjs.map +1 -1
- 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/DebugPipelineContext.mjs.map +1 -1
- 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/pipeline/SuspendFunctionGun.mjs.map +1 -1
- 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/FrameCommon.mjs.map +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.mjs.map +0 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +0 -26
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +0 -440
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +0 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +0 -8
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +0 -4
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs +0 -17
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
- /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map} +0 -0
- /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-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.mjs.map} +0 -0
- /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
|
@@ -38,7 +38,7 @@ var imul = Math.imul;
|
|
|
38
38
|
//region block: pre-declaration
|
|
39
39
|
//endregion
|
|
40
40
|
function checksum($this, algorithm, publicKey) {
|
|
41
|
-
return AttoHasher_instance.
|
|
41
|
+
return AttoHasher_instance.n2w(5, [algorithm, publicKey]);
|
|
42
42
|
}
|
|
43
43
|
function checksum_0($this, algorithm, publicKey) {
|
|
44
44
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -53,7 +53,7 @@ function toAlgorithmPublicKey($this, decoded) {
|
|
|
53
53
|
// Inline function 'kotlin.toUByte' call
|
|
54
54
|
var this_0 = decoded[0];
|
|
55
55
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
|
|
56
|
-
var algorithm = tmp.
|
|
56
|
+
var algorithm = tmp.q2w(tmp$ret$0);
|
|
57
57
|
var publicKey = new (AttoPublicKey())(sliceArray(decoded, until(1, 33)));
|
|
58
58
|
return to(algorithm, publicKey);
|
|
59
59
|
}
|
|
@@ -69,17 +69,17 @@ function Companion() {
|
|
|
69
69
|
var tmp = this;
|
|
70
70
|
// Inline function 'kotlin.text.toRegex' call
|
|
71
71
|
var this_0 = '^atto://[a-z2-7]{61}$';
|
|
72
|
-
tmp.
|
|
73
|
-
this.
|
|
72
|
+
tmp.r2w_1 = Regex().th(this_0);
|
|
73
|
+
this.s2w_1 = 5;
|
|
74
74
|
}
|
|
75
75
|
isValid(value) {
|
|
76
|
-
if (!this.
|
|
76
|
+
if (!this.r2w_1.uh(value)) {
|
|
77
77
|
return false;
|
|
78
78
|
}
|
|
79
79
|
var decoded = fromAddress(value);
|
|
80
80
|
var _destruct__k2r9zo = toAlgorithmPublicKey(this, decoded);
|
|
81
|
-
var algorithm = _destruct__k2r9zo.
|
|
82
|
-
var publicKey = _destruct__k2r9zo.
|
|
81
|
+
var algorithm = _destruct__k2r9zo.hf();
|
|
82
|
+
var publicKey = _destruct__k2r9zo.if();
|
|
83
83
|
var checksum = sliceArray(decoded, until(33, decoded.length));
|
|
84
84
|
return contentEquals(checksum, checksum_0(this, algorithm, publicKey));
|
|
85
85
|
}
|
|
@@ -106,11 +106,11 @@ function Companion() {
|
|
|
106
106
|
// Inline function 'kotlin.toUByte' call
|
|
107
107
|
var this_0 = serialized[0];
|
|
108
108
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
|
|
109
|
-
var algorithm = tmp.
|
|
109
|
+
var algorithm = tmp.q2w(tmp$ret$0);
|
|
110
110
|
var publicKey = new (AttoPublicKey())(sliceArray(serialized, until(1, serialized.length)));
|
|
111
111
|
return new (AttoAddress())(algorithm, publicKey);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
er(value) {
|
|
114
114
|
var address = startsWith(value, 'atto://') ? value : 'atto://' + value;
|
|
115
115
|
// Inline function 'kotlin.require' call
|
|
116
116
|
if (!this.isValid(address)) {
|
|
@@ -118,14 +118,14 @@ function Companion() {
|
|
|
118
118
|
throw IllegalArgumentException().t2(toString(message));
|
|
119
119
|
}
|
|
120
120
|
var _destruct__k2r9zo = toAlgorithmPublicKey_0(this, address);
|
|
121
|
-
var algorithm = _destruct__k2r9zo.
|
|
122
|
-
var publicKey = _destruct__k2r9zo.
|
|
121
|
+
var algorithm = _destruct__k2r9zo.hf();
|
|
122
|
+
var publicKey = _destruct__k2r9zo.if();
|
|
123
123
|
return new (AttoAddress())(algorithm, publicKey);
|
|
124
124
|
}
|
|
125
125
|
parsePath(path) {
|
|
126
|
-
return this.
|
|
126
|
+
return this.er(path);
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
x2t() {
|
|
129
129
|
return AttoAddressAsStringSerializer_getInstance();
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -140,6 +140,9 @@ function Companion_getInstance_0() {
|
|
|
140
140
|
new (Companion())();
|
|
141
141
|
return Companion_instance;
|
|
142
142
|
}
|
|
143
|
+
function parse(value) {
|
|
144
|
+
return Companion_getInstance_0().er(value);
|
|
145
|
+
}
|
|
143
146
|
var AttoAddressClass;
|
|
144
147
|
function AttoAddress() {
|
|
145
148
|
if (AttoAddressClass === VOID) {
|
|
@@ -152,44 +155,44 @@ function AttoAddress() {
|
|
|
152
155
|
this.path = Companion_getInstance_0().toAddressPath(this.algorithm, this.publicKey);
|
|
153
156
|
this.value = this.schema + this.path;
|
|
154
157
|
}
|
|
155
|
-
|
|
158
|
+
a2v() {
|
|
156
159
|
return this.algorithm;
|
|
157
160
|
}
|
|
158
|
-
|
|
161
|
+
x2u() {
|
|
159
162
|
return this.publicKey;
|
|
160
163
|
}
|
|
161
|
-
|
|
164
|
+
t2w() {
|
|
162
165
|
return this.schema;
|
|
163
166
|
}
|
|
164
|
-
|
|
167
|
+
u2w() {
|
|
165
168
|
return this.path;
|
|
166
169
|
}
|
|
167
170
|
g3() {
|
|
168
171
|
return this.value;
|
|
169
172
|
}
|
|
170
|
-
|
|
173
|
+
v2w() {
|
|
171
174
|
// Inline function 'kotlin.apply' call
|
|
172
175
|
var this_0 = new (Buffer())();
|
|
173
176
|
writeUByte(this_0, this.algorithm.code);
|
|
174
|
-
this_0.
|
|
177
|
+
this_0.j1i(this.publicKey.value, 0, this.publicKey.value.length);
|
|
175
178
|
return this_0;
|
|
176
179
|
}
|
|
177
180
|
toString() {
|
|
178
181
|
return this.value;
|
|
179
182
|
}
|
|
180
|
-
|
|
183
|
+
hf() {
|
|
181
184
|
return this.algorithm;
|
|
182
185
|
}
|
|
183
|
-
|
|
186
|
+
if() {
|
|
184
187
|
return this.publicKey;
|
|
185
188
|
}
|
|
186
|
-
|
|
189
|
+
w2w(algorithm, publicKey) {
|
|
187
190
|
return new (AttoAddress())(algorithm, publicKey);
|
|
188
191
|
}
|
|
189
192
|
copy(algorithm, publicKey, $super) {
|
|
190
193
|
algorithm = algorithm === VOID ? this.algorithm : algorithm;
|
|
191
194
|
publicKey = publicKey === VOID ? this.publicKey : publicKey;
|
|
192
|
-
return $super === VOID ? this.
|
|
195
|
+
return $super === VOID ? this.w2w(algorithm, publicKey) : $super.w2w.call(this, algorithm, publicKey);
|
|
193
196
|
}
|
|
194
197
|
hashCode() {
|
|
195
198
|
var result = this.algorithm.hashCode();
|
|
@@ -222,19 +225,19 @@ function AttoAddressAsStringSerializer() {
|
|
|
222
225
|
class $ {
|
|
223
226
|
constructor() {
|
|
224
227
|
AttoAddressAsStringSerializer_instance = this;
|
|
225
|
-
this.
|
|
228
|
+
this.x2w_1 = PrimitiveSerialDescriptor('AttoAddressAsString', STRING_getInstance());
|
|
226
229
|
}
|
|
227
|
-
|
|
228
|
-
return this.
|
|
230
|
+
nu() {
|
|
231
|
+
return this.x2w_1;
|
|
229
232
|
}
|
|
230
|
-
|
|
231
|
-
encoder.
|
|
233
|
+
y2w(encoder, value) {
|
|
234
|
+
encoder.g10(value.toString());
|
|
232
235
|
}
|
|
233
|
-
|
|
234
|
-
return this.
|
|
236
|
+
ou(encoder, value) {
|
|
237
|
+
return this.y2w(encoder, value instanceof AttoAddress() ? value : THROW_CCE());
|
|
235
238
|
}
|
|
236
|
-
|
|
237
|
-
return Companion_getInstance_0().
|
|
239
|
+
pu(decoder) {
|
|
240
|
+
return Companion_getInstance_0().er(decoder.xy());
|
|
238
241
|
}
|
|
239
242
|
}
|
|
240
243
|
initMetadataForObject($, 'AttoAddressAsStringSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -253,7 +256,7 @@ function fromAddress(_this__u8e3s4) {
|
|
|
253
256
|
// Inline function 'kotlin.text.uppercase' call
|
|
254
257
|
// Inline function 'kotlin.js.asDynamic' call
|
|
255
258
|
var tmp$ret$1 = substring(_this__u8e3s4, 7).toUpperCase();
|
|
256
|
-
return tmp.
|
|
259
|
+
return tmp.b2x(tmp$ret$1 + '===');
|
|
257
260
|
}
|
|
258
261
|
function toAddressPath(_this__u8e3s4) {
|
|
259
262
|
// Inline function 'kotlin.require' call
|
|
@@ -263,13 +266,14 @@ function toAddressPath(_this__u8e3s4) {
|
|
|
263
266
|
}
|
|
264
267
|
// Inline function 'kotlin.text.lowercase' call
|
|
265
268
|
// Inline function 'kotlin.js.asDynamic' call
|
|
266
|
-
return replace(Base32_getInstance().
|
|
269
|
+
return replace(Base32_getInstance().c2x(_this__u8e3s4), '=', '').toLowerCase();
|
|
267
270
|
}
|
|
268
271
|
//region block: exports
|
|
269
272
|
export {
|
|
270
273
|
Companion as Companionbjcqn3f8pqzu,
|
|
271
274
|
AttoAddress as AttoAddressi1gjrmqbg81z,
|
|
272
275
|
toAddress as toAddress3631euu7evnij,
|
|
276
|
+
parse as parse1f2naevhetf25,
|
|
273
277
|
Companion_getInstance_0 as Companion_getInstance1473mqafveo6d,
|
|
274
278
|
AttoAddressAsStringSerializer_getInstance as AttoAddressAsStringSerializer_getInstance24yl5bwdaz5bm,
|
|
275
279
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAddress.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/text/regex/RegexExtensions.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Preconditions.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/text/stringJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","algorithm","publicKey","toAlgorithmPublicKey","decoded","value","isValid","isValidPath","path","toAddressPath","parse","serialized","address","message","parsePath","serializer","<get-algorithm>","<get-publicKey>","<get-schema>","<get-path>","<get-value>","toBuffer","toString","result","toAddress","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder","fromAddress"],"mappings":"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"}
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAddress.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/text/regex/RegexExtensions.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Preconditions.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/text/stringJs.kt"],"sourcesContent":["@file:JvmName(\"AttoAddresses\")\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.Base32\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.io.Buffer\nimport kotlinx.io.readByteArray\nimport kotlinx.io.writeUByte\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.ByteArraySerializer\nimport kotlinx.serialization.descriptors.PrimitiveKind\nimport kotlinx.serialization.descriptors.PrimitiveSerialDescriptor\nimport kotlinx.serialization.encoding.Decoder\nimport kotlinx.serialization.encoding.Encoder\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.ExperimentalJsStatic\nimport kotlin.js.JsExport\nimport kotlin.js.JsName\nimport kotlin.js.JsStatic\nimport kotlin.jvm.JvmName\n\nprivate const val SCHEMA = \"atto://\"\n\nprivate fun ByteArray.toAddressPath(): String {\n require(this.size == 38) { \"ByteArray should have 38 bytes\" }\n return Base32.encode(this).replace(\"=\", \"\").lowercase()\n}\n\nprivate fun String.fromAddress(): ByteArray = Base32.decode(this.substring(SCHEMA.length).uppercase() + \"===\")\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable(with = AttoAddressAsStringSerializer::class)\ndata class AttoAddress(\n val algorithm: AttoAlgorithm,\n val publicKey: AttoPublicKey,\n) {\n val schema = SCHEMA\n val path = toAddressPath(algorithm, publicKey)\n val value = schema + path\n\n companion object {\n private val regex = \"^$SCHEMA[a-z2-7]{61}$\".toRegex()\n private const val CHECKSUM_SIZE = 5\n\n private fun checksum(\n algorithm: ByteArray,\n publicKey: ByteArray,\n ): ByteArray =\n AttoHasher.hash(\n CHECKSUM_SIZE,\n algorithm,\n publicKey,\n )\n\n private fun checksum(\n algorithm: AttoAlgorithm,\n publicKey: AttoPublicKey,\n ): ByteArray = checksum(byteArrayOf(algorithm.code.toByte()), publicKey.value)\n\n private fun toAlgorithmPublicKey(decoded: ByteArray): Pair<AttoAlgorithm, AttoPublicKey> {\n val algorithm = AttoAlgorithm.from(decoded[0].toUByte())\n val publicKey = AttoPublicKey(decoded.sliceArray(1 until 33))\n\n return algorithm to publicKey\n }\n\n private fun toAlgorithmPublicKey(value: String): Pair<AttoAlgorithm, AttoPublicKey> = toAlgorithmPublicKey(value.fromAddress())\n\n fun isValid(value: String): Boolean {\n if (!regex.matches(value)) {\n return false\n }\n val decoded = value.fromAddress()\n\n val (algorithm, publicKey) = toAlgorithmPublicKey(decoded)\n val checksum = decoded.sliceArray(33 until decoded.size)\n\n return checksum.contentEquals(checksum(algorithm, publicKey))\n }\n\n fun isValidPath(path: String): Boolean {\n val value = SCHEMA + path\n return isValid(value)\n }\n\n fun toAddressPath(\n algorithm: AttoAlgorithm,\n publicKey: AttoPublicKey,\n ): String {\n val algorithm = byteArrayOf(algorithm.code.toByte())\n val publicKey = publicKey.value\n val checksum = checksum(algorithm, publicKey)\n\n return (algorithm + publicKey + checksum).toAddressPath()\n }\n\n @JsName(\"parseSerialized\")\n fun parse(serialized: ByteArray): AttoAddress {\n val algorithm = AttoAlgorithm.from(serialized[0].toUByte())\n val publicKey = AttoPublicKey(serialized.sliceArray(1 until serialized.size))\n return AttoAddress(algorithm, publicKey)\n }\n\n @OptIn(ExperimentalJsStatic::class)\n @JsStatic\n fun parse(value: String): AttoAddress {\n val address = if (value.startsWith(SCHEMA)) value else SCHEMA + value\n require(isValid(address)) { \"$value is invalid\" }\n\n val (algorithm, publicKey) = toAlgorithmPublicKey(address)\n\n return AttoAddress(algorithm, publicKey)\n }\n\n @Deprecated(\"Use parse instead\", ReplaceWith(\"parse(path)\"))\n fun parsePath(path: String): AttoAddress = parse(path)\n }\n\n @JsExport.Ignore\n fun toBuffer(): Buffer =\n Buffer().apply {\n this.writeUByte(algorithm.code)\n this.write(publicKey.value, 0, publicKey.value.size)\n }\n\n override fun toString(): String = value\n}\n\n@JsExportForJs\nfun AttoPublicKey.toAddress(algorithm: AttoAlgorithm): AttoAddress = AttoAddress(algorithm, this)\n\nobject AttoAddressAsStringSerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsString\", PrimitiveKind.STRING)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeString(value.toString())\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeString())\n}\n\nobject AttoAddressAsPathStringSerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsPathString\", PrimitiveKind.STRING)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeString(value.path)\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeString())\n}\n\nobject AttoAddressAsByteArraySerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsByteArray\", PrimitiveKind.BYTE)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeSerializableValue(ByteArraySerializer(), value.toBuffer().readByteArray())\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeSerializableValue(ByteArraySerializer()))\n}\n",null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","algorithm","publicKey","toAlgorithmPublicKey","decoded","value","isValid","isValidPath","path","toAddressPath","parse","serialized","address","message","parsePath","serializer","<get-algorithm>","<get-publicKey>","<get-schema>","<get-path>","<get-value>","toBuffer","toString","result","toAddress","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder","fromAddress"],"mappings":"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"}
|
|
@@ -25,7 +25,7 @@ import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotl
|
|
|
25
25
|
//region block: pre-declaration
|
|
26
26
|
//endregion
|
|
27
27
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
28
|
-
return $this.
|
|
28
|
+
return $this.w2t_1.g3();
|
|
29
29
|
}
|
|
30
30
|
function AttoAlgorithm$Companion$_anonymous__z50osy() {
|
|
31
31
|
return createSimpleEnumSerializer('cash.atto.commons.AttoAlgorithm', values());
|
|
@@ -42,20 +42,20 @@ function Companion() {
|
|
|
42
42
|
var this_0 = get_entries();
|
|
43
43
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
44
44
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
45
|
-
var destination = LinkedHashMap().
|
|
45
|
+
var destination = LinkedHashMap().nc(capacity);
|
|
46
46
|
var _iterator__ex2g4s = this_0.q1();
|
|
47
47
|
while (_iterator__ex2g4s.r1()) {
|
|
48
48
|
var element = _iterator__ex2g4s.s1();
|
|
49
49
|
var tmp$ret$0 = new (UByte())(element.code);
|
|
50
|
-
destination.
|
|
50
|
+
destination.l4(tmp$ret$0, element);
|
|
51
51
|
}
|
|
52
|
-
tmp.
|
|
52
|
+
tmp.v2t_1 = destination;
|
|
53
53
|
var tmp_0 = this;
|
|
54
54
|
var tmp_1 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
55
|
-
tmp_0.
|
|
55
|
+
tmp_0.w2t_1 = lazy(tmp_1, AttoAlgorithm$Companion$_anonymous__z50osy);
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
var tmp0_elvis_lhs = this.
|
|
57
|
+
q2w(code) {
|
|
58
|
+
var tmp0_elvis_lhs = this.v2t_1.t4(new (UByte())(code));
|
|
59
59
|
var tmp;
|
|
60
60
|
if (tmp0_elvis_lhs == null) {
|
|
61
61
|
throw IllegalArgumentException().t2('Unsupported algorithm ' + new (UByte())(code) + ' code');
|
|
@@ -64,11 +64,11 @@ function Companion() {
|
|
|
64
64
|
}
|
|
65
65
|
return tmp;
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
x2t() {
|
|
68
68
|
return _get_$cachedSerializer__te6jhj(this);
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
return this.
|
|
70
|
+
r17(typeParamsSerializers) {
|
|
71
|
+
return this.x2t();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
initMetadataForCompanion($, VOID, [SerializerFactory()]);
|
|
@@ -119,23 +119,23 @@ function AttoAlgorithm() {
|
|
|
119
119
|
this.publicKeySize = publicKeySize;
|
|
120
120
|
this.hashSize = hashSize;
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
d2x() {
|
|
123
123
|
return this.code;
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
e2x() {
|
|
126
126
|
return this.privateKeySize;
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
f2x() {
|
|
129
129
|
return this.publicKeySize;
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
g2x() {
|
|
132
132
|
return this.hashSize;
|
|
133
133
|
}
|
|
134
134
|
get name() {
|
|
135
135
|
return this.i1();
|
|
136
136
|
}
|
|
137
137
|
get ordinal() {
|
|
138
|
-
return this.
|
|
138
|
+
return this.a5();
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
initMetadataForClass($, 'AttoAlgorithm', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAlgorithm.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/common/src/generated/_Collections.kt"],"sourcesContent":[
|
|
1
|
+
{"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAlgorithm.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/common/src/generated/_Collections.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.Serializable\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@JsExportForJs\n@Serializable\nenum class AttoAlgorithm(\n val code: UByte,\n val privateKeySize: Int,\n val publicKeySize: Int,\n val hashSize: Int,\n) {\n V1(0u, 32, 32, 32), // BLAKE2B + ED25519\n ;\n\n companion object {\n private val map = AttoAlgorithm.entries.associateBy(AttoAlgorithm::code)\n\n @OptIn(ExperimentalJsExport::class)\n @JsExport.Ignore\n fun from(code: UByte): AttoAlgorithm = map[code] ?: throw IllegalArgumentException(\"Unsupported algorithm $code code\")\n }\n}\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-$cachedSerializer>","AttoAlgorithm$Companion$<anonymous>","capacity","element","from","code","serializer","values","valueOf","value","<get-entries>","privateKeySize","publicKeySize","hashSize","<get-code>","<get-privateKeySize>","<get-publicKeySize>","<get-hashSize>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;uCAkBIA,CAAA,KAAAA,EAAA;A,EAAA,uB;AAMA,C;mDANAC,CAAAA,EAAA;A,EAAA,8E;AAMA,C;;;;;;;;kBAL4C,I;;qBAAR,a;YCgrCpCC,WAAwD,cAAzC,YAAY,gCAAwB,EAAxB,CAAZ,CAAyC,EAAc,EAAd,C;;0BACnC,mBAAoB,QAApB,C;YA4BL,oBA5BT,MA4BS,K;eAAA,sB,EAAM;A,cAAjBC,UAAW,sB;wCACgB,O,CD9sCwB,I;UC8sCpD,WAAY,IAAI,SAAJ,EAA0B,OAA1B,C;QAChB,C;QD/sC4C,YCgtCrC,W;oBDjtCP,I;oBAAA,8C;QAAA,qE;;SAKIC,CAASC,IAATD,EAAuC;A,YAAA,6CAAI,IAAJ,E;;QAAA,2B;UAAa,oCAAgC,wBAAhC,iBAAuD,IAAvD,IAA2D,OAA3D,C;;gBAAb,c;;QAA+E,U;MAAD,C;SALzHE,CAAAA,EAAA;A,QAAA,2C;MAMA,C;SANAA,C,qBAAAA,EAAA;A,QAAA,iB;MAMA,C;;;;;;;;;;;;;;eAxBJC,CAAAA,E;;C;gBAAAC,CAOAC,KAPAD,E;;;;;;;C;oBAAAE,CAAAA,E;;;;C;;;;;;oDAAA,I,EAAA,C,EAeO,8B,EAAI,E,EAAI,E,EAAI,E;;;;;;;;iCALfL,I,EACAM,c,EACAC,a,EACAC,Q;;QAHA,gB;QACA,oC;QACA,kC;QACA,wB;;SAHAC,CAAAA,EAAA;A,QAAA,gB;MAAc,C;SACdC,CAAAA,EAAA;A,QAAA,0B;MAAsB,C;SACtBC,CAAAA,EAAA;A,QAAA,yB;MAAqB,C;SACrBC,CAAAA,EAAA;A,QAAA,oB;MAAgB,C;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -23,8 +23,7 @@ export declare namespace AttoUnit {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
export declare class AttoAmount /* implements Comparable<AttoAmount> */ {
|
|
26
|
-
constructor(
|
|
27
|
-
get raw(): bigint;
|
|
26
|
+
private constructor();
|
|
28
27
|
toFormattedString(unit: AttoUnit): string;
|
|
29
28
|
plus(amount: AttoAmount): AttoAmount;
|
|
30
29
|
minus(amount: AttoAmount): AttoAmount;
|
|
@@ -32,6 +31,8 @@ export declare class AttoAmount /* implements Comparable<AttoAmount> */ {
|
|
|
32
31
|
copy(raw?: bigint): AttoAmount;
|
|
33
32
|
hashCode(): number;
|
|
34
33
|
equals(other: Nullable<any>): boolean;
|
|
34
|
+
static get MAX(): AttoAmount;
|
|
35
|
+
static get MIN(): AttoAmount;
|
|
35
36
|
static from(unit: AttoUnit, string: string): AttoAmount;
|
|
36
37
|
}
|
|
37
38
|
export declare namespace AttoAmount {
|
|
@@ -46,8 +47,6 @@ export declare namespace AttoAmount {
|
|
|
46
47
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
47
48
|
namespace $metadata$ {
|
|
48
49
|
abstract class constructor {
|
|
49
|
-
get MAX(): AttoAmount;
|
|
50
|
-
get MIN(): AttoAmount;
|
|
51
50
|
private constructor();
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -6,6 +6,8 @@ import {
|
|
|
6
6
|
AttoUnit_RAW_getInstance11a119riojt51 as AttoUnit_RAW_getInstance,
|
|
7
7
|
AttoAmount28z2ffm4ih7im as AttoAmount,
|
|
8
8
|
from3jnisfe2fcztd as from,
|
|
9
|
+
get_MAX2zywb5v5icuoh as get_MAX,
|
|
10
|
+
get_MINrg1454zqj3dr as get_MIN,
|
|
9
11
|
Companion311shwy120dnf as Companion,
|
|
10
12
|
Companion_getInstance28cx33iqjvgos as Companion_getInstance,
|
|
11
13
|
toAttoAmount2kbgjtdbld3yn as toAttoAmount,
|
|
@@ -24,6 +26,8 @@ defineProp(AttoUnit_0, 'ATTO', AttoUnit_ATTO_getInstance, VOID, true);
|
|
|
24
26
|
defineProp(AttoUnit_0, 'RAW', AttoUnit_RAW_getInstance, VOID, true);
|
|
25
27
|
var AttoAmount_0 = AttoAmount();
|
|
26
28
|
AttoAmount_0.from = from;
|
|
29
|
+
defineProp(AttoAmount_0, 'MAX', get_MAX, VOID, true);
|
|
30
|
+
defineProp(AttoAmount_0, 'MIN', get_MIN, VOID, true);
|
|
27
31
|
defineProp(AttoAmount_0, 'Companion', Companion_getInstance, VOID, true);
|
|
28
32
|
export {
|
|
29
33
|
AttoUnit_0 as AttoUnit,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -81,19 +81,19 @@ function AttoUnit() {
|
|
|
81
81
|
constructor(name, ordinal, prefix, scale) {
|
|
82
82
|
super(name, ordinal);
|
|
83
83
|
this.prefix = prefix;
|
|
84
|
-
this.
|
|
84
|
+
this.j2x_1 = scale;
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
k2x() {
|
|
87
87
|
return this.prefix;
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
return this.
|
|
89
|
+
l2x() {
|
|
90
|
+
return this.j2x_1;
|
|
91
91
|
}
|
|
92
92
|
get name() {
|
|
93
93
|
return this.i1();
|
|
94
94
|
}
|
|
95
95
|
get ordinal() {
|
|
96
|
-
return this.
|
|
96
|
+
return this.a5();
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
initMetadataForClass($, 'AttoUnit');
|
|
@@ -128,21 +128,21 @@ function Companion() {
|
|
|
128
128
|
class $ {
|
|
129
129
|
constructor() {
|
|
130
130
|
Companion_instance = this;
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
131
|
+
this.m2x_1 = _ULong___init__impl__c78o9k(-446744073709551616n);
|
|
132
|
+
this.n2x_1 = new (AttoAmount())(this.m2x_1);
|
|
133
|
+
this.o2x_1 = _ULong___init__impl__c78o9k(0n);
|
|
134
|
+
this.p2x_1 = new (AttoAmount())(this.o2x_1);
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
return this.
|
|
136
|
+
q2x() {
|
|
137
|
+
return this.n2x_1;
|
|
138
138
|
}
|
|
139
|
-
|
|
140
|
-
return this.
|
|
139
|
+
r2x() {
|
|
140
|
+
return this.p2x_1;
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
s2x(unit, string) {
|
|
143
143
|
var parts = split(string, charArrayOf([_Char___init__impl__6a9atx(46)]));
|
|
144
144
|
var wholePart = toULong(parts.v2(0));
|
|
145
|
-
var factor = scaleFactor(this, unit.
|
|
145
|
+
var factor = scaleFactor(this, unit.j2x_1);
|
|
146
146
|
// Inline function 'kotlin.ULong.times' call
|
|
147
147
|
var scaledValue = _ULong___init__impl__c78o9k(multiply(_ULong___get_data__impl__fggpzb(wholePart), _ULong___get_data__impl__fggpzb(factor)));
|
|
148
148
|
if (parts.u2() > 1) {
|
|
@@ -161,7 +161,7 @@ function Companion() {
|
|
|
161
161
|
}
|
|
162
162
|
return new (AttoAmount())(scaledValue);
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
x2t() {
|
|
165
165
|
return AttoAmountAsULongSerializer_getInstance();
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -176,8 +176,14 @@ function Companion_getInstance_0() {
|
|
|
176
176
|
new (Companion())();
|
|
177
177
|
return Companion_instance;
|
|
178
178
|
}
|
|
179
|
+
function get_MAX() {
|
|
180
|
+
return Companion_getInstance_0().n2x_1;
|
|
181
|
+
}
|
|
182
|
+
function get_MIN() {
|
|
183
|
+
return Companion_getInstance_0().p2x_1;
|
|
184
|
+
}
|
|
179
185
|
function from(unit, string) {
|
|
180
|
-
return Companion_getInstance_0().
|
|
186
|
+
return Companion_getInstance_0().s2x(unit, string);
|
|
181
187
|
}
|
|
182
188
|
var AttoAmountClass;
|
|
183
189
|
function AttoAmount() {
|
|
@@ -185,24 +191,24 @@ function AttoAmount() {
|
|
|
185
191
|
class $ {
|
|
186
192
|
constructor(raw) {
|
|
187
193
|
Companion_getInstance_0();
|
|
188
|
-
this.
|
|
189
|
-
var tmp0 = this.
|
|
194
|
+
this.t2x_1 = raw;
|
|
195
|
+
var tmp0 = this.t2x_1;
|
|
190
196
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
191
|
-
var other = Companion_getInstance_0().
|
|
197
|
+
var other = Companion_getInstance_0().m2x_1;
|
|
192
198
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) > 0) {
|
|
193
|
-
throw IllegalStateException().o('' + new (ULong())(this.
|
|
199
|
+
throw IllegalStateException().o('' + new (ULong())(this.t2x_1) + ' exceeds the max amount of ' + new (ULong())(Companion_getInstance_0().m2x_1));
|
|
194
200
|
}
|
|
195
201
|
}
|
|
196
|
-
|
|
197
|
-
return this.
|
|
202
|
+
u2x() {
|
|
203
|
+
return this.t2x_1;
|
|
198
204
|
}
|
|
199
205
|
toFormattedString(unit) {
|
|
200
|
-
var factor = scaleFactor(Companion_getInstance_0(), unit.
|
|
206
|
+
var factor = scaleFactor(Companion_getInstance_0(), unit.j2x_1);
|
|
201
207
|
// Inline function 'kotlin.ULong.div' call
|
|
202
|
-
var this_0 = this.
|
|
208
|
+
var this_0 = this.t2x_1;
|
|
203
209
|
var wholePart = ulongDivide(this_0, factor);
|
|
204
210
|
// Inline function 'kotlin.ULong.rem' call
|
|
205
|
-
var this_1 = this.
|
|
211
|
+
var this_1 = this.t2x_1;
|
|
206
212
|
var fractionalPart = ulongRemainder(this_1, factor);
|
|
207
213
|
var tmp;
|
|
208
214
|
if (fractionalPart === _ULong___init__impl__c78o9k(0n)) {
|
|
@@ -210,7 +216,7 @@ function AttoAmount() {
|
|
|
210
216
|
} else {
|
|
211
217
|
var tmp_0 = ULong__toString_impl_f9au7k(fractionalPart);
|
|
212
218
|
// Inline function 'kotlin.UByte.toInt' call
|
|
213
|
-
var this_2 = unit.
|
|
219
|
+
var this_2 = unit.j2x_1;
|
|
214
220
|
var tmp$ret$2 = _UByte___get_data__impl__jof9qr(this_2) & 255;
|
|
215
221
|
var fractionalStr = trimEnd(padStart(tmp_0, tmp$ret$2, _Char___init__impl__6a9atx(48)), charArrayOf([_Char___init__impl__6a9atx(48)]));
|
|
216
222
|
tmp = '' + new (ULong())(wholePart) + '.' + fractionalStr;
|
|
@@ -218,18 +224,18 @@ function AttoAmount() {
|
|
|
218
224
|
return tmp;
|
|
219
225
|
}
|
|
220
226
|
plus(amount) {
|
|
221
|
-
var tmp0 = this.
|
|
227
|
+
var tmp0 = this.t2x_1;
|
|
222
228
|
// Inline function 'kotlin.ULong.plus' call
|
|
223
|
-
var other = amount.
|
|
229
|
+
var other = amount.t2x_1;
|
|
224
230
|
var total = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
225
231
|
var tmp;
|
|
226
232
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
227
|
-
var other_0 = this.
|
|
233
|
+
var other_0 = this.t2x_1;
|
|
228
234
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_0)) < 0) {
|
|
229
235
|
tmp = true;
|
|
230
236
|
} else {
|
|
231
237
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
232
|
-
var other_1 = amount.
|
|
238
|
+
var other_1 = amount.t2x_1;
|
|
233
239
|
tmp = ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_1)) < 0;
|
|
234
240
|
}
|
|
235
241
|
if (tmp) {
|
|
@@ -238,48 +244,48 @@ function AttoAmount() {
|
|
|
238
244
|
return new (AttoAmount())(total);
|
|
239
245
|
}
|
|
240
246
|
minus(amount) {
|
|
241
|
-
var tmp0 = this.
|
|
247
|
+
var tmp0 = this.t2x_1;
|
|
242
248
|
// Inline function 'kotlin.ULong.minus' call
|
|
243
|
-
var other = amount.
|
|
249
|
+
var other = amount.t2x_1;
|
|
244
250
|
var total = _ULong___init__impl__c78o9k(subtract(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
245
251
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
246
|
-
var other_0 = this.
|
|
252
|
+
var other_0 = this.t2x_1;
|
|
247
253
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_0)) > 0) {
|
|
248
254
|
throw IllegalStateException().o('ULong underflow');
|
|
249
255
|
}
|
|
250
256
|
return new (AttoAmount())(total);
|
|
251
257
|
}
|
|
252
|
-
|
|
253
|
-
var tmp0 = this.
|
|
258
|
+
v2x(other) {
|
|
259
|
+
var tmp0 = this.t2x_1;
|
|
254
260
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
255
|
-
var other_0 = other.
|
|
261
|
+
var other_0 = other.t2x_1;
|
|
256
262
|
return ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
|
|
257
263
|
}
|
|
258
264
|
d(other) {
|
|
259
|
-
return this.
|
|
265
|
+
return this.v2x(other instanceof AttoAmount() ? other : THROW_CCE());
|
|
260
266
|
}
|
|
261
267
|
toString() {
|
|
262
|
-
return '' + new (ULong())(this.
|
|
268
|
+
return '' + new (ULong())(this.t2x_1);
|
|
263
269
|
}
|
|
264
|
-
|
|
265
|
-
return this.
|
|
270
|
+
w2x() {
|
|
271
|
+
return this.t2x_1;
|
|
266
272
|
}
|
|
267
|
-
|
|
273
|
+
x2x(raw) {
|
|
268
274
|
return new (AttoAmount())(raw);
|
|
269
275
|
}
|
|
270
276
|
copy(raw, $super) {
|
|
271
|
-
raw = raw === VOID ? this.
|
|
272
|
-
return $super === VOID ? this.
|
|
277
|
+
raw = raw === VOID ? this.t2x_1 : raw;
|
|
278
|
+
return $super === VOID ? this.x2x(raw) : $super.x2x.call(this, new (ULong())(raw));
|
|
273
279
|
}
|
|
274
280
|
hashCode() {
|
|
275
|
-
return ULong__hashCode_impl_6hv2lb(this.
|
|
281
|
+
return ULong__hashCode_impl_6hv2lb(this.t2x_1);
|
|
276
282
|
}
|
|
277
283
|
equals(other) {
|
|
278
284
|
if (this === other)
|
|
279
285
|
return true;
|
|
280
286
|
if (!(other instanceof AttoAmount()))
|
|
281
287
|
return false;
|
|
282
|
-
if (!(this.
|
|
288
|
+
if (!(this.t2x_1 === other.t2x_1))
|
|
283
289
|
return false;
|
|
284
290
|
return true;
|
|
285
291
|
}
|
|
@@ -301,19 +307,19 @@ function AttoAmountAsULongSerializer() {
|
|
|
301
307
|
class $ {
|
|
302
308
|
constructor() {
|
|
303
309
|
AttoAmountAsULongSerializer_instance = this;
|
|
304
|
-
this.
|
|
310
|
+
this.y2x_1 = serializer(Companion_getInstance()).nu();
|
|
305
311
|
}
|
|
306
|
-
|
|
307
|
-
return this.
|
|
312
|
+
nu() {
|
|
313
|
+
return this.y2x_1;
|
|
308
314
|
}
|
|
309
|
-
|
|
310
|
-
serializer(Companion_getInstance()).
|
|
315
|
+
z2x(encoder, value) {
|
|
316
|
+
serializer(Companion_getInstance()).ou(encoder, new (ULong())(value.t2x_1));
|
|
311
317
|
}
|
|
312
|
-
|
|
313
|
-
return this.
|
|
318
|
+
ou(encoder, value) {
|
|
319
|
+
return this.z2x(encoder, value instanceof AttoAmount() ? value : THROW_CCE());
|
|
314
320
|
}
|
|
315
|
-
|
|
316
|
-
return new (AttoAmount())(serializer(Companion_getInstance()).
|
|
321
|
+
pu(decoder) {
|
|
322
|
+
return new (AttoAmount())(serializer(Companion_getInstance()).pu(decoder).ls_1);
|
|
317
323
|
}
|
|
318
324
|
}
|
|
319
325
|
initMetadataForObject($, 'AttoAmountAsULongSerializer', VOID, VOID, [KSerializer()]);
|
|
@@ -344,6 +350,8 @@ export {
|
|
|
344
350
|
AttoUnit as AttoUnit3uf7k0bjq9xrg,
|
|
345
351
|
toAttoAmount_0 as toAttoAmountkv09taydvu7m,
|
|
346
352
|
toAttoAmount as toAttoAmount2kbgjtdbld3yn,
|
|
353
|
+
get_MAX as get_MAX2zywb5v5icuoh,
|
|
354
|
+
get_MIN as get_MINrg1454zqj3dr,
|
|
347
355
|
from as from3jnisfe2fcztd,
|
|
348
356
|
AttoUnit_ATTO_getInstance as AttoUnit_ATTO_getInstancew3eagleomrkc,
|
|
349
357
|
AttoUnit_RAW_getInstance as AttoUnit_RAW_getInstance11a119riojt51,
|