@attocash/commons-js 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- 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/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- 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 +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +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 +40 -46
- 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 +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +31 -68
- 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 +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +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 +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +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 +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/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.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +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/CoroutineStart.mjs +2 -2
- 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.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/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 +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- 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 +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +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/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/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.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/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/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/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/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/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 +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +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 +105 -105
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -87,8 +87,8 @@ function get_logger() {
|
|
|
87
87
|
var logger;
|
|
88
88
|
function *_generator_withLock__kuz2eh($this, action, $completion) {
|
|
89
89
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
90
|
-
var this_0 = $this.
|
|
91
|
-
var tmp = this_0.
|
|
90
|
+
var this_0 = $this.z3o_1;
|
|
91
|
+
var tmp = this_0.x1i(null, $completion);
|
|
92
92
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
93
93
|
tmp = yield tmp;
|
|
94
94
|
var tmp_0;
|
|
@@ -98,7 +98,7 @@ function *_generator_withLock__kuz2eh($this, action, $completion) {
|
|
|
98
98
|
tmp_1 = yield tmp_1;
|
|
99
99
|
tmp_0 = tmp_1;
|
|
100
100
|
}finally {
|
|
101
|
-
this_0.
|
|
101
|
+
this_0.i1i(null);
|
|
102
102
|
}
|
|
103
103
|
return tmp_0;
|
|
104
104
|
}
|
|
@@ -106,8 +106,8 @@ function *_generator_add__cbj1ot($this, accounts, $completion) {
|
|
|
106
106
|
if (accounts.o1())
|
|
107
107
|
return Unit_instance;
|
|
108
108
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
109
|
-
var this_0 = $this.
|
|
110
|
-
var tmp = this_0.
|
|
109
|
+
var this_0 = $this.d3p_1;
|
|
110
|
+
var tmp = this_0.x1i(null, $completion);
|
|
111
111
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
112
112
|
tmp = yield tmp;
|
|
113
113
|
try {
|
|
@@ -117,72 +117,72 @@ function *_generator_add__cbj1ot($this, accounts, $completion) {
|
|
|
117
117
|
var _iterator__ex2g4s = accounts.q1();
|
|
118
118
|
while (_iterator__ex2g4s.r1()) {
|
|
119
119
|
var item = _iterator__ex2g4s.s1();
|
|
120
|
-
if ($this.
|
|
121
|
-
throw IllegalArgumentException().t2('Account already exists for index ' + item.
|
|
120
|
+
if ($this.b3p_1.r4(item.w3o_1)) {
|
|
121
|
+
throw IllegalArgumentException().t2('Account already exists for index ' + item.w3o_1.toString());
|
|
122
122
|
}
|
|
123
|
-
var tmp$ret$0 = to(item.
|
|
123
|
+
var tmp$ret$0 = to(item.w3o_1, item);
|
|
124
124
|
destination.h2(tmp$ret$0);
|
|
125
125
|
}
|
|
126
126
|
var accounts_0 = destination;
|
|
127
|
-
var tmp0 = $this.
|
|
127
|
+
var tmp0 = $this.a3p_1;
|
|
128
128
|
// Inline function 'kotlin.collections.map' call
|
|
129
129
|
// Inline function 'kotlin.collections.mapTo' call
|
|
130
130
|
var destination_0 = ArrayList().g2(collectionSizeOrDefault(accounts_0, 10));
|
|
131
131
|
var _iterator__ex2g4s_0 = accounts_0.q1();
|
|
132
132
|
while (_iterator__ex2g4s_0.r1()) {
|
|
133
133
|
var item_0 = _iterator__ex2g4s_0.s1();
|
|
134
|
-
var tmp$ret$3 = to(item_0.
|
|
134
|
+
var tmp$ret$3 = to(item_0.df_1.x3o_1, item_0.df_1);
|
|
135
135
|
destination_0.h2(tmp$ret$3);
|
|
136
136
|
}
|
|
137
137
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
138
138
|
putAll(tmp0, destination_0);
|
|
139
|
-
var tmp0_0 = $this.
|
|
139
|
+
var tmp0_0 = $this.b3p_1;
|
|
140
140
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
141
141
|
var map = toMap(accounts_0);
|
|
142
|
-
tmp0_0.
|
|
143
|
-
$this.
|
|
142
|
+
tmp0_0.n4(map);
|
|
143
|
+
$this.c3p_1.n1c(toSet($this.a3p_1.p4()));
|
|
144
144
|
}finally {
|
|
145
|
-
this_0.
|
|
145
|
+
this_0.i1i(null);
|
|
146
146
|
}
|
|
147
147
|
return Unit_instance;
|
|
148
148
|
}
|
|
149
149
|
function *_generator_contains__sklk95($this, index, $completion) {
|
|
150
150
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
151
|
-
var this_0 = $this.
|
|
152
|
-
var tmp = this_0.
|
|
151
|
+
var this_0 = $this.d3p_1;
|
|
152
|
+
var tmp = this_0.x1i(null, $completion);
|
|
153
153
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
154
154
|
tmp = yield tmp;
|
|
155
155
|
var tmp_0;
|
|
156
156
|
try {
|
|
157
|
-
tmp_0 = $this.
|
|
157
|
+
tmp_0 = $this.b3p_1.r4(index);
|
|
158
158
|
}finally {
|
|
159
|
-
this_0.
|
|
159
|
+
this_0.i1i(null);
|
|
160
160
|
}
|
|
161
161
|
return tmp_0;
|
|
162
162
|
}
|
|
163
163
|
function *_generator_contains__sklk95_0($this, address, $completion) {
|
|
164
164
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
165
|
-
var this_0 = $this.
|
|
166
|
-
var tmp = this_0.
|
|
165
|
+
var this_0 = $this.d3p_1;
|
|
166
|
+
var tmp = this_0.x1i(null, $completion);
|
|
167
167
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
168
168
|
tmp = yield tmp;
|
|
169
169
|
var tmp_0;
|
|
170
170
|
try {
|
|
171
|
-
tmp_0 = $this.
|
|
171
|
+
tmp_0 = $this.a3p_1.r4(address);
|
|
172
172
|
}finally {
|
|
173
|
-
this_0.
|
|
173
|
+
this_0.i1i(null);
|
|
174
174
|
}
|
|
175
175
|
return tmp_0;
|
|
176
176
|
}
|
|
177
177
|
function *_generator_get__cbf6n6($this, index, $completion) {
|
|
178
178
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
179
|
-
var this_0 = $this.
|
|
180
|
-
var tmp = this_0.
|
|
179
|
+
var this_0 = $this.d3p_1;
|
|
180
|
+
var tmp = this_0.x1i(null, $completion);
|
|
181
181
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
182
182
|
tmp = yield tmp;
|
|
183
183
|
var tmp_0;
|
|
184
184
|
try {
|
|
185
|
-
var tmp0_elvis_lhs = $this.
|
|
185
|
+
var tmp0_elvis_lhs = $this.b3p_1.t4(index);
|
|
186
186
|
var tmp_1;
|
|
187
187
|
if (tmp0_elvis_lhs == null) {
|
|
188
188
|
throw IllegalArgumentException().t2("Account doesn't exist for index " + index.toString());
|
|
@@ -191,19 +191,19 @@ function *_generator_get__cbf6n6($this, index, $completion) {
|
|
|
191
191
|
}
|
|
192
192
|
tmp_0 = tmp_1;
|
|
193
193
|
}finally {
|
|
194
|
-
this_0.
|
|
194
|
+
this_0.i1i(null);
|
|
195
195
|
}
|
|
196
196
|
return tmp_0;
|
|
197
197
|
}
|
|
198
198
|
function *_generator_get__cbf6n6_0($this, address, $completion) {
|
|
199
199
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
200
|
-
var this_0 = $this.
|
|
201
|
-
var tmp = this_0.
|
|
200
|
+
var this_0 = $this.d3p_1;
|
|
201
|
+
var tmp = this_0.x1i(null, $completion);
|
|
202
202
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
203
203
|
tmp = yield tmp;
|
|
204
204
|
var tmp_0;
|
|
205
205
|
try {
|
|
206
|
-
var tmp0_elvis_lhs = $this.
|
|
206
|
+
var tmp0_elvis_lhs = $this.a3p_1.t4(address);
|
|
207
207
|
var tmp_1;
|
|
208
208
|
if (tmp0_elvis_lhs == null) {
|
|
209
209
|
throw IllegalArgumentException().t2("Account doesn't exist for address " + address.toString());
|
|
@@ -212,43 +212,43 @@ function *_generator_get__cbf6n6_0($this, address, $completion) {
|
|
|
212
212
|
}
|
|
213
213
|
tmp_0 = tmp_1;
|
|
214
214
|
}finally {
|
|
215
|
-
this_0.
|
|
215
|
+
this_0.i1i(null);
|
|
216
216
|
}
|
|
217
217
|
return tmp_0;
|
|
218
218
|
}
|
|
219
219
|
function *_generator_remove__l4h01w($this, index, $completion) {
|
|
220
220
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
221
|
-
var this_0 = $this.
|
|
222
|
-
var tmp = this_0.
|
|
221
|
+
var this_0 = $this.d3p_1;
|
|
222
|
+
var tmp = this_0.x1i(null, $completion);
|
|
223
223
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
224
224
|
tmp = yield tmp;
|
|
225
225
|
try {
|
|
226
|
-
var tmp0_safe_receiver = $this.
|
|
226
|
+
var tmp0_safe_receiver = $this.b3p_1.m4(index);
|
|
227
227
|
if (tmp0_safe_receiver == null)
|
|
228
228
|
null;
|
|
229
229
|
else {
|
|
230
230
|
// Inline function 'kotlin.let' call
|
|
231
|
-
$this.
|
|
231
|
+
$this.a3p_1.m4(tmp0_safe_receiver.x3o_1);
|
|
232
232
|
}
|
|
233
|
-
$this.
|
|
233
|
+
$this.c3p_1.n1c(toSet($this.a3p_1.p4()));
|
|
234
234
|
}finally {
|
|
235
|
-
this_0.
|
|
235
|
+
this_0.i1i(null);
|
|
236
236
|
}
|
|
237
237
|
return Unit_instance;
|
|
238
238
|
}
|
|
239
239
|
function *_generator_invoke__zhh2q8($this, $completion) {
|
|
240
|
-
var tmp0_elvis_lhs = $this.
|
|
240
|
+
var tmp0_elvis_lhs = $this.e3p_1.y3o_1;
|
|
241
241
|
var tmp;
|
|
242
242
|
if (tmp0_elvis_lhs == null) {
|
|
243
|
-
throw IllegalStateException().o('Account is not open yet for index ' + $this.
|
|
243
|
+
throw IllegalStateException().o('Account is not open yet for index ' + $this.f3p_1.toString());
|
|
244
244
|
} else {
|
|
245
245
|
tmp = tmp0_elvis_lhs;
|
|
246
246
|
}
|
|
247
247
|
var account = tmp;
|
|
248
|
-
var tmp1_elvis_lhs = $this.
|
|
248
|
+
var tmp1_elvis_lhs = $this.g3p_1;
|
|
249
249
|
var tmp_0;
|
|
250
250
|
if (tmp1_elvis_lhs == null) {
|
|
251
|
-
var tmp_1 = $this.
|
|
251
|
+
var tmp_1 = $this.h3p_1.k3p_1.f3i($completion);
|
|
252
252
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
253
253
|
tmp_1 = yield tmp_1;
|
|
254
254
|
tmp_0 = tmp_1;
|
|
@@ -256,22 +256,22 @@ function *_generator_invoke__zhh2q8($this, $completion) {
|
|
|
256
256
|
tmp_0 = tmp1_elvis_lhs;
|
|
257
257
|
}
|
|
258
258
|
var timestamp = tmp_0;
|
|
259
|
-
var _destruct__k2r9zo = account.
|
|
260
|
-
var block = _destruct__k2r9zo.
|
|
261
|
-
var updatedAccount = _destruct__k2r9zo.
|
|
262
|
-
var tmp_2 = $this.
|
|
259
|
+
var _destruct__k2r9zo = account.h2v($this.i3p_1.algorithm, $this.i3p_1.publicKey, $this.j3p_1, timestamp);
|
|
260
|
+
var block = _destruct__k2r9zo.ef();
|
|
261
|
+
var updatedAccount = _destruct__k2r9zo.ff();
|
|
262
|
+
var tmp_2 = $this.h3p_1.p3p($this.f3p_1, block, $completion);
|
|
263
263
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
264
264
|
tmp_2 = yield tmp_2;
|
|
265
265
|
var transaction = tmp_2;
|
|
266
|
-
$this.
|
|
266
|
+
$this.e3p_1.y3o_1 = updatedAccount;
|
|
267
267
|
return transaction;
|
|
268
268
|
}
|
|
269
269
|
function *_generator_invoke__zhh2q8_0($this, $completion) {
|
|
270
|
-
var account = $this.
|
|
271
|
-
var tmp0_elvis_lhs = $this.
|
|
270
|
+
var account = $this.q3p_1.y3o_1;
|
|
271
|
+
var tmp0_elvis_lhs = $this.r3p_1;
|
|
272
272
|
var tmp;
|
|
273
273
|
if (tmp0_elvis_lhs == null) {
|
|
274
|
-
var tmp_0 = $this.
|
|
274
|
+
var tmp_0 = $this.s3p_1.k3p_1.f3i($completion);
|
|
275
275
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
276
276
|
tmp_0 = yield tmp_0;
|
|
277
277
|
tmp = tmp_0;
|
|
@@ -282,37 +282,37 @@ function *_generator_invoke__zhh2q8_0($this, $completion) {
|
|
|
282
282
|
var tmp_1;
|
|
283
283
|
if (account == null) {
|
|
284
284
|
// Inline function 'kotlin.require' call
|
|
285
|
-
if (!!($this.
|
|
285
|
+
if (!!($this.t3p_1 == null)) {
|
|
286
286
|
var message = 'Representative address must be provided for a new account';
|
|
287
287
|
throw IllegalArgumentException().t2(toString(message));
|
|
288
288
|
}
|
|
289
|
-
tmp_1 = Companion_getInstance().
|
|
289
|
+
tmp_1 = Companion_getInstance().n2u($this.t3p_1.algorithm, $this.t3p_1.publicKey, $this.u3p_1, timestamp);
|
|
290
290
|
} else {
|
|
291
|
-
tmp_1 = account.
|
|
291
|
+
tmp_1 = account.k2v($this.u3p_1, timestamp);
|
|
292
292
|
}
|
|
293
293
|
var _destruct__k2r9zo = tmp_1;
|
|
294
|
-
var block = _destruct__k2r9zo.
|
|
295
|
-
var updatedAccount = _destruct__k2r9zo.
|
|
296
|
-
var tmp_2 = $this.
|
|
294
|
+
var block = _destruct__k2r9zo.ef();
|
|
295
|
+
var updatedAccount = _destruct__k2r9zo.ff();
|
|
296
|
+
var tmp_2 = $this.s3p_1.p3p($this.q3p_1.w3o_1, block, $completion);
|
|
297
297
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
298
298
|
tmp_2 = yield tmp_2;
|
|
299
299
|
var transaction = tmp_2;
|
|
300
|
-
$this.
|
|
300
|
+
$this.q3p_1.y3o_1 = updatedAccount;
|
|
301
301
|
return transaction;
|
|
302
302
|
}
|
|
303
303
|
function *_generator_invoke__zhh2q8_1($this, $completion) {
|
|
304
|
-
var tmp0_elvis_lhs = $this.
|
|
304
|
+
var tmp0_elvis_lhs = $this.v3p_1.y3o_1;
|
|
305
305
|
var tmp;
|
|
306
306
|
if (tmp0_elvis_lhs == null) {
|
|
307
|
-
throw IllegalStateException().o('Account is not open yet for index ' + $this.
|
|
307
|
+
throw IllegalStateException().o('Account is not open yet for index ' + $this.w3p_1.toString());
|
|
308
308
|
} else {
|
|
309
309
|
tmp = tmp0_elvis_lhs;
|
|
310
310
|
}
|
|
311
311
|
var account = tmp;
|
|
312
|
-
var tmp1_elvis_lhs = $this.
|
|
312
|
+
var tmp1_elvis_lhs = $this.x3p_1;
|
|
313
313
|
var tmp_0;
|
|
314
314
|
if (tmp1_elvis_lhs == null) {
|
|
315
|
-
var tmp_1 = $this.
|
|
315
|
+
var tmp_1 = $this.y3p_1.k3p_1.f3i($completion);
|
|
316
316
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
317
317
|
tmp_1 = yield tmp_1;
|
|
318
318
|
tmp_0 = tmp_1;
|
|
@@ -320,14 +320,14 @@ function *_generator_invoke__zhh2q8_1($this, $completion) {
|
|
|
320
320
|
tmp_0 = tmp1_elvis_lhs;
|
|
321
321
|
}
|
|
322
322
|
var timestamp = tmp_0;
|
|
323
|
-
var _destruct__k2r9zo = account.
|
|
324
|
-
var block = _destruct__k2r9zo.
|
|
325
|
-
var updatedAccount = _destruct__k2r9zo.
|
|
326
|
-
var tmp_2 = $this.
|
|
323
|
+
var _destruct__k2r9zo = account.m2v($this.z3p_1.algorithm, $this.z3p_1.publicKey, timestamp);
|
|
324
|
+
var block = _destruct__k2r9zo.ef();
|
|
325
|
+
var updatedAccount = _destruct__k2r9zo.ff();
|
|
326
|
+
var tmp_2 = $this.y3p_1.p3p($this.w3p_1, block, $completion);
|
|
327
327
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
328
328
|
tmp_2 = yield tmp_2;
|
|
329
329
|
var transaction = tmp_2;
|
|
330
|
-
$this.
|
|
330
|
+
$this.v3p_1.y3o_1 = updatedAccount;
|
|
331
331
|
return transaction;
|
|
332
332
|
}
|
|
333
333
|
var CompanionClass;
|
|
@@ -347,27 +347,27 @@ function *_generator_openAccount__127imp($this, indexes, $completion) {
|
|
|
347
347
|
if (indexes.o1())
|
|
348
348
|
return emptyList();
|
|
349
349
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
350
|
-
var this_0 = $this.
|
|
351
|
-
var tmp = this_0.
|
|
350
|
+
var this_0 = $this.n3p_1;
|
|
351
|
+
var tmp = this_0.x1i(null, $completion);
|
|
352
352
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
353
353
|
tmp = yield tmp;
|
|
354
354
|
var tmp_0;
|
|
355
355
|
try {
|
|
356
356
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
357
|
-
var indexMap = LinkedHashMap().
|
|
357
|
+
var indexMap = LinkedHashMap().t5();
|
|
358
358
|
// Inline function 'kotlin.collections.forEach' call
|
|
359
359
|
var _iterator__ex2g4s = indexes.q1();
|
|
360
360
|
while (_iterator__ex2g4s.r1()) {
|
|
361
361
|
var element = _iterator__ex2g4s.s1();
|
|
362
|
-
var tmp_1 = $this.
|
|
362
|
+
var tmp_1 = $this.m3p_1(element, $completion);
|
|
363
363
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
364
364
|
tmp_1 = yield tmp_1;
|
|
365
365
|
var signer = tmp_1;
|
|
366
366
|
// Inline function 'kotlin.collections.set' call
|
|
367
|
-
var key = signer.
|
|
368
|
-
indexMap.
|
|
367
|
+
var key = signer.e2v();
|
|
368
|
+
indexMap.l4(key, element);
|
|
369
369
|
}
|
|
370
|
-
var tmp_2 = $this.
|
|
370
|
+
var tmp_2 = $this.k3p_1.a3g(toList(indexMap.p4()), $completion);
|
|
371
371
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
372
372
|
tmp_2 = yield tmp_2;
|
|
373
373
|
var tmp_3 = asSequence(tmp_2);
|
|
@@ -379,110 +379,110 @@ function *_generator_openAccount__127imp($this, indexes, $completion) {
|
|
|
379
379
|
var _iterator__ex2g4s_0 = indexMap.e3().q1();
|
|
380
380
|
while (_iterator__ex2g4s_0.r1()) {
|
|
381
381
|
var item = _iterator__ex2g4s_0.s1();
|
|
382
|
-
var tmp$ret$5 = new (Account())(item.g3(), item.f3(), attoAccountMap.
|
|
382
|
+
var tmp$ret$5 = new (Account())(item.g3(), item.f3(), attoAccountMap.t4(item.f3()));
|
|
383
383
|
destination.h2(tmp$ret$5);
|
|
384
384
|
}
|
|
385
385
|
var newAccounts = destination;
|
|
386
|
-
var tmp_4 = $this.
|
|
386
|
+
var tmp_4 = $this.o3p_1.a3q(newAccounts, $completion);
|
|
387
387
|
if (tmp_4 === get_COROUTINE_SUSPENDED())
|
|
388
388
|
tmp_4 = yield tmp_4;
|
|
389
389
|
return newAccounts;
|
|
390
390
|
}finally {
|
|
391
|
-
this_0.
|
|
391
|
+
this_0.i1i(null);
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
function *_generator_openAccount__127imp_0($this, index, $completion) {
|
|
395
|
-
var tmp = $this.
|
|
395
|
+
var tmp = $this.b3q(index, index, $completion);
|
|
396
396
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
397
397
|
tmp = yield tmp;
|
|
398
398
|
return first(tmp);
|
|
399
399
|
}
|
|
400
400
|
function *_generator_closeAccount__jpnujx($this, index, $completion) {
|
|
401
401
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
402
|
-
var this_0 = $this.
|
|
403
|
-
var tmp = this_0.
|
|
402
|
+
var this_0 = $this.n3p_1;
|
|
403
|
+
var tmp = this_0.x1i(null, $completion);
|
|
404
404
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
405
405
|
tmp = yield tmp;
|
|
406
406
|
try {
|
|
407
|
-
var tmp_0 = $this.
|
|
407
|
+
var tmp_0 = $this.o3p_1.c3q(index, $completion);
|
|
408
408
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
409
409
|
tmp_0 = yield tmp_0;
|
|
410
410
|
}finally {
|
|
411
|
-
this_0.
|
|
411
|
+
this_0.i1i(null);
|
|
412
412
|
}
|
|
413
413
|
return Unit_instance;
|
|
414
414
|
}
|
|
415
415
|
function *_generator_getAccount__zi3j4f($this, index, $completion) {
|
|
416
|
-
var tmp = $this.
|
|
416
|
+
var tmp = $this.o3p_1.d3q(index, $completion);
|
|
417
417
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
418
418
|
tmp = yield tmp;
|
|
419
|
-
return tmp.
|
|
419
|
+
return tmp.y3o_1;
|
|
420
420
|
}
|
|
421
421
|
function *_generator_getAccount__zi3j4f_0($this, address, $completion) {
|
|
422
|
-
var tmp = $this.
|
|
422
|
+
var tmp = $this.o3p_1.e3q(address, $completion);
|
|
423
423
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
424
424
|
tmp = yield tmp;
|
|
425
|
-
return tmp.
|
|
425
|
+
return tmp.y3o_1;
|
|
426
426
|
}
|
|
427
427
|
function *_generator_getAddress__kbacty($this, index, $completion) {
|
|
428
|
-
var tmp = $this.
|
|
428
|
+
var tmp = $this.o3p_1.d3q(index, $completion);
|
|
429
429
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
430
430
|
tmp = yield tmp;
|
|
431
|
-
return tmp.
|
|
431
|
+
return tmp.x3o_1;
|
|
432
432
|
}
|
|
433
433
|
function *_generator_publish__pkz857($this, index, block, $completion) {
|
|
434
|
-
var tmp = $this.
|
|
434
|
+
var tmp = $this.m3p_1(index, $completion);
|
|
435
435
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
436
436
|
tmp = yield tmp;
|
|
437
|
-
var tmp_0 = tmp.
|
|
437
|
+
var tmp_0 = tmp.g33(block, $completion);
|
|
438
438
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
439
439
|
tmp_0 = yield tmp_0;
|
|
440
440
|
var signature = tmp_0;
|
|
441
|
-
var tmp_1 = $this.
|
|
441
|
+
var tmp_1 = $this.l3p_1.h3n(block, $completion);
|
|
442
442
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
443
443
|
tmp_1 = yield tmp_1;
|
|
444
444
|
var work = tmp_1;
|
|
445
445
|
var transaction = new (AttoTransaction())(block, signature, work);
|
|
446
|
-
var tmp_2 = $this.
|
|
446
|
+
var tmp_2 = $this.k3p_1.k3h(transaction, $completion);
|
|
447
447
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
448
448
|
tmp_2 = yield tmp_2;
|
|
449
449
|
return transaction;
|
|
450
450
|
}
|
|
451
451
|
function *_generator_send__qhx0g0($this, index, receiverAddress, amount, timestamp, $completion) {
|
|
452
|
-
var tmp = $this.
|
|
452
|
+
var tmp = $this.o3p_1.d3q(index, $completion);
|
|
453
453
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
454
454
|
tmp = yield tmp;
|
|
455
455
|
var walletAccount = tmp;
|
|
456
|
-
var tmp_0 = walletAccount.
|
|
456
|
+
var tmp_0 = walletAccount.f3q(AttoWallet$send$slambda_0(walletAccount, index, timestamp, $this, receiverAddress, amount), $completion);
|
|
457
457
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
458
458
|
tmp_0 = yield tmp_0;
|
|
459
459
|
return tmp_0;
|
|
460
460
|
}
|
|
461
461
|
function *_generator_send__qhx0g0_0($this, address, receiverAddress, amount, timestamp, $completion) {
|
|
462
|
-
var tmp = $this.
|
|
462
|
+
var tmp = $this.o3p_1.e3q(address, $completion);
|
|
463
463
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
464
464
|
tmp = yield tmp;
|
|
465
|
-
var tmp_0 = $this.
|
|
465
|
+
var tmp_0 = $this.g3q(tmp.w3o_1, receiverAddress, amount, timestamp, $completion);
|
|
466
466
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
467
467
|
tmp_0 = yield tmp_0;
|
|
468
468
|
return tmp_0;
|
|
469
469
|
}
|
|
470
470
|
function *_generator_receive__aoggq9($this, receivable, representativeAddress, timestamp, $completion) {
|
|
471
|
-
var tmp = $this.
|
|
471
|
+
var tmp = $this.o3p_1.e3q(receivable.receiverAddress, $completion);
|
|
472
472
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
473
473
|
tmp = yield tmp;
|
|
474
474
|
var walletAccount = tmp;
|
|
475
|
-
var tmp_0 = walletAccount.
|
|
475
|
+
var tmp_0 = walletAccount.f3q(AttoWallet$receive$slambda_0(walletAccount, timestamp, $this, representativeAddress, receivable), $completion);
|
|
476
476
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
477
477
|
tmp_0 = yield tmp_0;
|
|
478
478
|
return tmp_0;
|
|
479
479
|
}
|
|
480
480
|
function *_generator_change__fadal4($this, index, representativeAddress, timestamp, $completion) {
|
|
481
|
-
var tmp = $this.
|
|
481
|
+
var tmp = $this.o3p_1.d3q(index, $completion);
|
|
482
482
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
483
483
|
tmp = yield tmp;
|
|
484
484
|
var walletAccount = tmp;
|
|
485
|
-
var tmp_0 = walletAccount.
|
|
485
|
+
var tmp_0 = walletAccount.f3q(AttoWallet$change$slambda_0(walletAccount, index, timestamp, $this, representativeAddress), $completion);
|
|
486
486
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
487
487
|
tmp_0 = yield tmp_0;
|
|
488
488
|
return tmp_0;
|
|
@@ -493,12 +493,12 @@ function Account() {
|
|
|
493
493
|
class $ {
|
|
494
494
|
constructor(index, address, account) {
|
|
495
495
|
account = account === VOID ? null : account;
|
|
496
|
-
this.
|
|
497
|
-
this.
|
|
498
|
-
this.
|
|
499
|
-
this.
|
|
496
|
+
this.w3o_1 = index;
|
|
497
|
+
this.x3o_1 = address;
|
|
498
|
+
this.y3o_1 = account;
|
|
499
|
+
this.z3o_1 = Mutex();
|
|
500
500
|
}
|
|
501
|
-
|
|
501
|
+
f3q(action, $completion) {
|
|
502
502
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_withLock__kuz2eh.bind(VOID, this, action), $completion);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
@@ -514,33 +514,33 @@ function WalletAccounts() {
|
|
|
514
514
|
constructor() {
|
|
515
515
|
var tmp = this;
|
|
516
516
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
517
|
-
tmp.
|
|
517
|
+
tmp.a3p_1 = LinkedHashMap().t5();
|
|
518
518
|
var tmp_0 = this;
|
|
519
519
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
520
|
-
tmp_0.
|
|
521
|
-
this.
|
|
522
|
-
this.
|
|
520
|
+
tmp_0.b3p_1 = LinkedHashMap().t5();
|
|
521
|
+
this.c3p_1 = MutableStateFlow(emptySet());
|
|
522
|
+
this.d3p_1 = Mutex();
|
|
523
523
|
}
|
|
524
|
-
|
|
524
|
+
a3q(accounts, $completion) {
|
|
525
525
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_add__cbj1ot.bind(VOID, this, accounts), $completion);
|
|
526
526
|
}
|
|
527
|
-
|
|
527
|
+
h3q(index, $completion) {
|
|
528
528
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_contains__sklk95.bind(VOID, this, index), $completion);
|
|
529
529
|
}
|
|
530
|
-
|
|
530
|
+
i3q(address, $completion) {
|
|
531
531
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_contains__sklk95_0.bind(VOID, this, address), $completion);
|
|
532
532
|
}
|
|
533
|
-
|
|
533
|
+
d3q(index, $completion) {
|
|
534
534
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_get__cbf6n6.bind(VOID, this, index), $completion);
|
|
535
535
|
}
|
|
536
|
-
|
|
536
|
+
e3q(address, $completion) {
|
|
537
537
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_get__cbf6n6_0.bind(VOID, this, address), $completion);
|
|
538
538
|
}
|
|
539
|
-
|
|
539
|
+
c3q(index, $completion) {
|
|
540
540
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_remove__l4h01w.bind(VOID, this, index), $completion);
|
|
541
541
|
}
|
|
542
|
-
|
|
543
|
-
return asStateFlow(this.
|
|
542
|
+
j3q() {
|
|
543
|
+
return asStateFlow(this.c3p_1);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
initMetadataForClass($, 'WalletAccounts', WalletAccounts, VOID, VOID, [1]);
|
|
@@ -556,14 +556,14 @@ function AttoWallet$send$slambda() {
|
|
|
556
556
|
if (AttoWallet$send$slambdaClass === VOID) {
|
|
557
557
|
class $ {
|
|
558
558
|
constructor($walletAccount, $index, $timestamp, this$0, $receiverAddress, $amount) {
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
563
|
-
this.
|
|
564
|
-
this.
|
|
565
|
-
}
|
|
566
|
-
|
|
559
|
+
this.e3p_1 = $walletAccount;
|
|
560
|
+
this.f3p_1 = $index;
|
|
561
|
+
this.g3p_1 = $timestamp;
|
|
562
|
+
this.h3p_1 = this$0;
|
|
563
|
+
this.i3p_1 = $receiverAddress;
|
|
564
|
+
this.j3p_1 = $amount;
|
|
565
|
+
}
|
|
566
|
+
ud($completion) {
|
|
567
567
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
|
|
568
568
|
}
|
|
569
569
|
}
|
|
@@ -574,7 +574,7 @@ function AttoWallet$send$slambda() {
|
|
|
574
574
|
}
|
|
575
575
|
function AttoWallet$send$slambda_0($walletAccount, $index, $timestamp, this$0, $receiverAddress, $amount) {
|
|
576
576
|
var i = new (AttoWallet$send$slambda())($walletAccount, $index, $timestamp, this$0, $receiverAddress, $amount);
|
|
577
|
-
var l = ($completion) => i.
|
|
577
|
+
var l = ($completion) => i.ud($completion);
|
|
578
578
|
l.$arity = 0;
|
|
579
579
|
return l;
|
|
580
580
|
}
|
|
@@ -583,13 +583,13 @@ function AttoWallet$receive$slambda() {
|
|
|
583
583
|
if (AttoWallet$receive$slambdaClass === VOID) {
|
|
584
584
|
class $ {
|
|
585
585
|
constructor($walletAccount, $timestamp, this$0, $representativeAddress, $receivable) {
|
|
586
|
-
this.
|
|
587
|
-
this.
|
|
588
|
-
this.
|
|
589
|
-
this.
|
|
590
|
-
this.
|
|
586
|
+
this.q3p_1 = $walletAccount;
|
|
587
|
+
this.r3p_1 = $timestamp;
|
|
588
|
+
this.s3p_1 = this$0;
|
|
589
|
+
this.t3p_1 = $representativeAddress;
|
|
590
|
+
this.u3p_1 = $receivable;
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
ud($completion) {
|
|
593
593
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this), $completion);
|
|
594
594
|
}
|
|
595
595
|
}
|
|
@@ -600,7 +600,7 @@ function AttoWallet$receive$slambda() {
|
|
|
600
600
|
}
|
|
601
601
|
function AttoWallet$receive$slambda_0($walletAccount, $timestamp, this$0, $representativeAddress, $receivable) {
|
|
602
602
|
var i = new (AttoWallet$receive$slambda())($walletAccount, $timestamp, this$0, $representativeAddress, $receivable);
|
|
603
|
-
var l = ($completion) => i.
|
|
603
|
+
var l = ($completion) => i.ud($completion);
|
|
604
604
|
l.$arity = 0;
|
|
605
605
|
return l;
|
|
606
606
|
}
|
|
@@ -609,13 +609,13 @@ function AttoWallet$change$slambda() {
|
|
|
609
609
|
if (AttoWallet$change$slambdaClass === VOID) {
|
|
610
610
|
class $ {
|
|
611
611
|
constructor($walletAccount, $index, $timestamp, this$0, $representativeAddress) {
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
616
|
-
this.
|
|
612
|
+
this.v3p_1 = $walletAccount;
|
|
613
|
+
this.w3p_1 = $index;
|
|
614
|
+
this.x3p_1 = $timestamp;
|
|
615
|
+
this.y3p_1 = this$0;
|
|
616
|
+
this.z3p_1 = $representativeAddress;
|
|
617
617
|
}
|
|
618
|
-
|
|
618
|
+
ud($completion) {
|
|
619
619
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_1.bind(VOID, this), $completion);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -626,7 +626,7 @@ function AttoWallet$change$slambda() {
|
|
|
626
626
|
}
|
|
627
627
|
function AttoWallet$change$slambda_0($walletAccount, $index, $timestamp, this$0, $representativeAddress) {
|
|
628
628
|
var i = new (AttoWallet$change$slambda())($walletAccount, $index, $timestamp, this$0, $representativeAddress);
|
|
629
|
-
var l = ($completion) => i.
|
|
629
|
+
var l = ($completion) => i.ud($completion);
|
|
630
630
|
l.$arity = 0;
|
|
631
631
|
return l;
|
|
632
632
|
}
|
|
@@ -635,16 +635,16 @@ function AttoWallet() {
|
|
|
635
635
|
if (AttoWalletClass === VOID) {
|
|
636
636
|
class $ {
|
|
637
637
|
constructor(client, worker, signerProvider) {
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
640
|
-
this.
|
|
641
|
-
this.
|
|
642
|
-
this.
|
|
638
|
+
this.k3p_1 = client;
|
|
639
|
+
this.l3p_1 = worker;
|
|
640
|
+
this.m3p_1 = signerProvider;
|
|
641
|
+
this.n3p_1 = Mutex();
|
|
642
|
+
this.o3p_1 = new (WalletAccounts())();
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
k3q(indexes, $completion) {
|
|
645
645
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_openAccount__127imp.bind(VOID, this, indexes), $completion);
|
|
646
646
|
}
|
|
647
|
-
|
|
647
|
+
b3q(fromIndex, toIndex, $completion) {
|
|
648
648
|
// Inline function 'kotlin.require' call
|
|
649
649
|
if (!(compareTo(fromIndex, toIndex) <= 0)) {
|
|
650
650
|
var message = 'fromIndex (' + fromIndex.toString() + ') must be less than or equal to toIndex (' + toIndex.toString() + ')';
|
|
@@ -663,51 +663,51 @@ function AttoWallet() {
|
|
|
663
663
|
var tmp$ret$2 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0) + _UInt___get_data__impl__f0vqqw(other) | 0);
|
|
664
664
|
v = new (AttoKeyIndex())(tmp$ret$2);
|
|
665
665
|
}
|
|
666
|
-
var indexes = this_0.
|
|
667
|
-
return this.
|
|
666
|
+
var indexes = this_0.u5();
|
|
667
|
+
return this.k3q(indexes, $completion);
|
|
668
668
|
}
|
|
669
|
-
|
|
669
|
+
l3q(index, $completion) {
|
|
670
670
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_openAccount__127imp_0.bind(VOID, this, index), $completion);
|
|
671
671
|
}
|
|
672
|
-
|
|
672
|
+
m3q(index, $completion) {
|
|
673
673
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_closeAccount__jpnujx.bind(VOID, this, index), $completion);
|
|
674
674
|
}
|
|
675
|
-
|
|
676
|
-
return this.
|
|
675
|
+
j3q() {
|
|
676
|
+
return this.o3p_1.j3q();
|
|
677
677
|
}
|
|
678
|
-
|
|
679
|
-
return this.
|
|
678
|
+
n3q(index, $completion) {
|
|
679
|
+
return this.o3p_1.h3q(index, $completion);
|
|
680
680
|
}
|
|
681
|
-
|
|
682
|
-
return this.
|
|
681
|
+
o3q(address, $completion) {
|
|
682
|
+
return this.o3p_1.i3q(address, $completion);
|
|
683
683
|
}
|
|
684
|
-
|
|
684
|
+
p3q(index, $completion) {
|
|
685
685
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_getAccount__zi3j4f.bind(VOID, this, index), $completion);
|
|
686
686
|
}
|
|
687
|
-
|
|
687
|
+
q3q(address, $completion) {
|
|
688
688
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_getAccount__zi3j4f_0.bind(VOID, this, address), $completion);
|
|
689
689
|
}
|
|
690
|
-
|
|
690
|
+
r3q(index, $completion) {
|
|
691
691
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_getAddress__kbacty.bind(VOID, this, index), $completion);
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
p3p(index, block, $completion) {
|
|
694
694
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_publish__pkz857.bind(VOID, this, index, block), $completion);
|
|
695
695
|
}
|
|
696
|
-
|
|
696
|
+
g3q(index, receiverAddress, amount, timestamp, $completion) {
|
|
697
697
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_send__qhx0g0.bind(VOID, this, index, receiverAddress, amount, timestamp), $completion);
|
|
698
698
|
}
|
|
699
|
-
|
|
699
|
+
s3q(address, receiverAddress, amount, timestamp, $completion) {
|
|
700
700
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_send__qhx0g0_0.bind(VOID, this, address, receiverAddress, amount, timestamp), $completion);
|
|
701
701
|
}
|
|
702
|
-
|
|
702
|
+
t3q(receivable, representativeAddress, timestamp, $completion) {
|
|
703
703
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_receive__aoggq9.bind(VOID, this, receivable, representativeAddress, timestamp), $completion);
|
|
704
704
|
}
|
|
705
|
-
|
|
705
|
+
u3q(receivable, representativeAddress, timestamp, $completion, $super) {
|
|
706
706
|
representativeAddress = representativeAddress === VOID ? null : representativeAddress;
|
|
707
707
|
timestamp = timestamp === VOID ? null : timestamp;
|
|
708
|
-
return $super === VOID ? this.
|
|
708
|
+
return $super === VOID ? this.t3q(receivable, representativeAddress, timestamp, $completion) : $super.t3q.call(this, receivable, representativeAddress, timestamp, $completion);
|
|
709
709
|
}
|
|
710
|
-
|
|
710
|
+
v3q(index, representativeAddress, timestamp, $completion) {
|
|
711
711
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_change__fadal4.bind(VOID, this, index, representativeAddress, timestamp), $completion);
|
|
712
712
|
}
|
|
713
713
|
}
|
|
@@ -717,7 +717,7 @@ function AttoWallet() {
|
|
|
717
717
|
return AttoWalletClass;
|
|
718
718
|
}
|
|
719
719
|
function startAutoReceiver(_this__u8e3s4, monitor, dispatcher, minAmount, retryAfter, defaultRepresentativeAddressProvider) {
|
|
720
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
720
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().i15_1 : dispatcher;
|
|
721
721
|
minAmount = minAmount === VOID ? toAttoAmount(_ULong___init__impl__c78o9k(1n)) : minAmount;
|
|
722
722
|
var tmp;
|
|
723
723
|
if (retryAfter === VOID) {
|
|
@@ -746,14 +746,14 @@ function startAutoReceiver_0(_this__u8e3s4, scope, monitor, minAmount, retryAfte
|
|
|
746
746
|
retryAfter = tmp;
|
|
747
747
|
_init_properties_AttoWallet_kt__ddmhp5();
|
|
748
748
|
var bindJob = bindTo(_this__u8e3s4, scope, monitor);
|
|
749
|
-
var tmp_0 = buffer(monitor.
|
|
749
|
+
var tmp_0 = buffer(monitor.m3l(minAmount));
|
|
750
750
|
var tmp_1 = onEach(tmp_0, startAutoReceiver$slambda_0(_this__u8e3s4, defaultRepresentativeAddressProvider));
|
|
751
751
|
var tmp_2 = retryWhen(tmp_1, startAutoReceiver$slambda_2(retryAfter));
|
|
752
752
|
return launchIn(onCompletion(tmp_2, startAutoReceiver$slambda_4(bindJob)), scope);
|
|
753
753
|
}
|
|
754
754
|
function bindTo(_this__u8e3s4, scope, monitor) {
|
|
755
755
|
_init_properties_AttoWallet_kt__ddmhp5();
|
|
756
|
-
var tmp = _this__u8e3s4.
|
|
756
|
+
var tmp = _this__u8e3s4.j3q();
|
|
757
757
|
var tmp_0 = to(emptySet(), emptySet());
|
|
758
758
|
var tmp_1 = runningFold(tmp, tmp_0, bindTo$slambda_0());
|
|
759
759
|
var tmp_2 = onEach(tmp_1, bindTo$slambda_2(monitor));
|
|
@@ -764,7 +764,7 @@ function logger$lambda() {
|
|
|
764
764
|
return Unit_instance;
|
|
765
765
|
}
|
|
766
766
|
function *_generator_invoke__zhh2q8_2($this, it, $completion) {
|
|
767
|
-
var tmp = $this.
|
|
767
|
+
var tmp = $this.w3q_1.u3q(it, $this.x3q_1(), VOID, $completion);
|
|
768
768
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
769
769
|
tmp = yield tmp;
|
|
770
770
|
return Unit_instance;
|
|
@@ -774,14 +774,14 @@ function startAutoReceiver$slambda() {
|
|
|
774
774
|
if (startAutoReceiver$slambdaClass === VOID) {
|
|
775
775
|
class $ {
|
|
776
776
|
constructor($this_startAutoReceiver, $defaultRepresentativeAddressProvider) {
|
|
777
|
-
this.
|
|
778
|
-
this.
|
|
777
|
+
this.w3q_1 = $this_startAutoReceiver;
|
|
778
|
+
this.x3q_1 = $defaultRepresentativeAddressProvider;
|
|
779
779
|
}
|
|
780
|
-
|
|
780
|
+
y3q(it, $completion) {
|
|
781
781
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_2.bind(VOID, this, it), $completion);
|
|
782
782
|
}
|
|
783
|
-
|
|
784
|
-
return this.
|
|
783
|
+
sd(p1, $completion) {
|
|
784
|
+
return this.y3q(p1 instanceof AttoReceivable() ? p1 : THROW_CCE(), $completion);
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
787
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -791,14 +791,14 @@ function startAutoReceiver$slambda() {
|
|
|
791
791
|
}
|
|
792
792
|
function startAutoReceiver$slambda_0($this_startAutoReceiver, $defaultRepresentativeAddressProvider) {
|
|
793
793
|
var i = new (startAutoReceiver$slambda())($this_startAutoReceiver, $defaultRepresentativeAddressProvider);
|
|
794
|
-
var l = (it, $completion) => i.
|
|
794
|
+
var l = (it, $completion) => i.y3q(it, $completion);
|
|
795
795
|
l.$arity = 1;
|
|
796
796
|
return l;
|
|
797
797
|
}
|
|
798
798
|
function *_generator_invoke__zhh2q8_3($this, $this$retryWhen, e, _unused_var__etf5q3, $completion) {
|
|
799
799
|
var tmp = get_logger();
|
|
800
|
-
tmp.
|
|
801
|
-
var tmp_0 = delay($this.
|
|
800
|
+
tmp.ht(e, startAutoReceiver$slambda$lambda($this.z3q_1));
|
|
801
|
+
var tmp_0 = delay($this.z3q_1, $completion);
|
|
802
802
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
803
803
|
tmp_0 = yield tmp_0;
|
|
804
804
|
return true;
|
|
@@ -811,15 +811,15 @@ function startAutoReceiver$slambda_1() {
|
|
|
811
811
|
if (startAutoReceiver$slambdaClass_0 === VOID) {
|
|
812
812
|
class $ {
|
|
813
813
|
constructor($retryAfter) {
|
|
814
|
-
this.
|
|
814
|
+
this.z3q_1 = $retryAfter;
|
|
815
815
|
}
|
|
816
|
-
|
|
816
|
+
a3r($this$retryWhen, e, _unused_var__etf5q3, $completion) {
|
|
817
817
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_3.bind(VOID, this, $this$retryWhen, e, _unused_var__etf5q3), $completion);
|
|
818
818
|
}
|
|
819
|
-
|
|
819
|
+
b3r(p1, p2, p3, $completion) {
|
|
820
820
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE();
|
|
821
821
|
var tmp_0 = p2 instanceof Error ? p2 : THROW_CCE();
|
|
822
|
-
return this.
|
|
822
|
+
return this.a3r(tmp, tmp_0, (!(p3 == null) ? typeof p3 === 'bigint' : false) ? p3 : THROW_CCE(), $completion);
|
|
823
823
|
}
|
|
824
824
|
}
|
|
825
825
|
initMetadataForLambda($, VOID, VOID, [3]);
|
|
@@ -829,7 +829,7 @@ function startAutoReceiver$slambda_1() {
|
|
|
829
829
|
}
|
|
830
830
|
function startAutoReceiver$slambda_2($retryAfter) {
|
|
831
831
|
var i = new (startAutoReceiver$slambda_1())($retryAfter);
|
|
832
|
-
var l = ($this$retryWhen, e, _unused_var__etf5q3, $completion) => i.
|
|
832
|
+
var l = ($this$retryWhen, e, _unused_var__etf5q3, $completion) => i.a3r($this$retryWhen, e, _unused_var__etf5q3, $completion);
|
|
833
833
|
l.$arity = 3;
|
|
834
834
|
return l;
|
|
835
835
|
}
|
|
@@ -838,15 +838,15 @@ function startAutoReceiver$slambda_3() {
|
|
|
838
838
|
if (startAutoReceiver$slambdaClass_1 === VOID) {
|
|
839
839
|
class $ {
|
|
840
840
|
constructor($bindJob) {
|
|
841
|
-
this.
|
|
841
|
+
this.c3r_1 = $bindJob;
|
|
842
842
|
}
|
|
843
|
-
|
|
844
|
-
this.
|
|
843
|
+
d3r($this$onCompletion, it, $completion) {
|
|
844
|
+
this.c3r_1.iw();
|
|
845
845
|
return Unit_instance;
|
|
846
846
|
}
|
|
847
|
-
|
|
847
|
+
td(p1, p2, $completion) {
|
|
848
848
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE();
|
|
849
|
-
return this.
|
|
849
|
+
return this.d3r(tmp, (p2 == null ? true : p2 instanceof Error) ? p2 : THROW_CCE(), $completion);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -856,7 +856,7 @@ function startAutoReceiver$slambda_3() {
|
|
|
856
856
|
}
|
|
857
857
|
function startAutoReceiver$slambda_4($bindJob) {
|
|
858
858
|
var i = new (startAutoReceiver$slambda_3())($bindJob);
|
|
859
|
-
var l = ($this$onCompletion, it, $completion) => i.
|
|
859
|
+
var l = ($this$onCompletion, it, $completion) => i.d3r($this$onCompletion, it, $completion);
|
|
860
860
|
l.$arity = 2;
|
|
861
861
|
return l;
|
|
862
862
|
}
|
|
@@ -864,13 +864,13 @@ var bindTo$slambdaClass;
|
|
|
864
864
|
function bindTo$slambda() {
|
|
865
865
|
if (bindTo$slambdaClass === VOID) {
|
|
866
866
|
class $ {
|
|
867
|
-
|
|
868
|
-
var previous = _destruct__k2r9zo.
|
|
867
|
+
e3r(_destruct__k2r9zo, next, $completion) {
|
|
868
|
+
var previous = _destruct__k2r9zo.ef();
|
|
869
869
|
return to(next, previous);
|
|
870
870
|
}
|
|
871
|
-
|
|
871
|
+
td(p1, p2, $completion) {
|
|
872
872
|
var tmp = p1 instanceof Pair() ? p1 : THROW_CCE();
|
|
873
|
-
return this.
|
|
873
|
+
return this.e3r(tmp, (!(p2 == null) ? isInterface(p2, KtSet()) : false) ? p2 : THROW_CCE(), $completion);
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -880,23 +880,23 @@ function bindTo$slambda() {
|
|
|
880
880
|
}
|
|
881
881
|
function bindTo$slambda_0() {
|
|
882
882
|
var i = new (bindTo$slambda())();
|
|
883
|
-
var l = (_destruct__k2r9zo, next, $completion) => i.
|
|
883
|
+
var l = (_destruct__k2r9zo, next, $completion) => i.e3r(_destruct__k2r9zo, next, $completion);
|
|
884
884
|
l.$arity = 2;
|
|
885
885
|
return l;
|
|
886
886
|
}
|
|
887
887
|
function *_generator_invoke__zhh2q8_4($this, _destruct__k2r9zo, $completion) {
|
|
888
|
-
var next = _destruct__k2r9zo.
|
|
889
|
-
var previous = _destruct__k2r9zo.
|
|
888
|
+
var next = _destruct__k2r9zo.ef();
|
|
889
|
+
var previous = _destruct__k2r9zo.ff();
|
|
890
890
|
var toAdd = minus(next, previous);
|
|
891
891
|
var toRemove = minus(previous, next);
|
|
892
892
|
var _iterator__ex2g4s = toAdd.q1();
|
|
893
893
|
while (_iterator__ex2g4s.r1()) {
|
|
894
894
|
var address = _iterator__ex2g4s.s1();
|
|
895
|
-
var tmp = $this.
|
|
895
|
+
var tmp = $this.f3r_1.f3l(address, $completion);
|
|
896
896
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
897
897
|
tmp = yield tmp;
|
|
898
898
|
if (!tmp) {
|
|
899
|
-
var tmp_0 = $this.
|
|
899
|
+
var tmp_0 = $this.f3r_1.j3l(address, $completion);
|
|
900
900
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
901
901
|
tmp_0 = yield tmp_0;
|
|
902
902
|
}
|
|
@@ -904,11 +904,11 @@ function *_generator_invoke__zhh2q8_4($this, _destruct__k2r9zo, $completion) {
|
|
|
904
904
|
var _iterator__ex2g4s_0 = toRemove.q1();
|
|
905
905
|
while (_iterator__ex2g4s_0.r1()) {
|
|
906
906
|
var address_0 = _iterator__ex2g4s_0.s1();
|
|
907
|
-
var tmp_1 = $this.
|
|
907
|
+
var tmp_1 = $this.f3r_1.f3l(address_0, $completion);
|
|
908
908
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
909
909
|
tmp_1 = yield tmp_1;
|
|
910
910
|
if (tmp_1) {
|
|
911
|
-
var tmp_2 = $this.
|
|
911
|
+
var tmp_2 = $this.f3r_1.k3l(address_0, $completion);
|
|
912
912
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
913
913
|
tmp_2 = yield tmp_2;
|
|
914
914
|
}
|
|
@@ -920,13 +920,13 @@ function bindTo$slambda_1() {
|
|
|
920
920
|
if (bindTo$slambdaClass_0 === VOID) {
|
|
921
921
|
class $ {
|
|
922
922
|
constructor($monitor) {
|
|
923
|
-
this.
|
|
923
|
+
this.f3r_1 = $monitor;
|
|
924
924
|
}
|
|
925
|
-
|
|
925
|
+
g3r(_destruct__k2r9zo, $completion) {
|
|
926
926
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_4.bind(VOID, this, _destruct__k2r9zo), $completion);
|
|
927
927
|
}
|
|
928
|
-
|
|
929
|
-
return this.
|
|
928
|
+
sd(p1, $completion) {
|
|
929
|
+
return this.g3r(p1 instanceof Pair() ? p1 : THROW_CCE(), $completion);
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
932
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -936,7 +936,7 @@ function bindTo$slambda_1() {
|
|
|
936
936
|
}
|
|
937
937
|
function bindTo$slambda_2($monitor) {
|
|
938
938
|
var i = new (bindTo$slambda_1())($monitor);
|
|
939
|
-
var l = (_destruct__k2r9zo, $completion) => i.
|
|
939
|
+
var l = (_destruct__k2r9zo, $completion) => i.g3r(_destruct__k2r9zo, $completion);
|
|
940
940
|
l.$arity = 1;
|
|
941
941
|
return l;
|
|
942
942
|
}
|
|
@@ -947,14 +947,14 @@ var bindTo$slambdaClass_1;
|
|
|
947
947
|
function bindTo$slambda_3() {
|
|
948
948
|
if (bindTo$slambdaClass_1 === VOID) {
|
|
949
949
|
class $ {
|
|
950
|
-
|
|
950
|
+
h3r($this$catch, e, $completion) {
|
|
951
951
|
var tmp = get_logger();
|
|
952
|
-
tmp.
|
|
952
|
+
tmp.ht(e, bindTo$slambda$lambda(e));
|
|
953
953
|
return Unit_instance;
|
|
954
954
|
}
|
|
955
|
-
|
|
955
|
+
td(p1, p2, $completion) {
|
|
956
956
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE();
|
|
957
|
-
return this.
|
|
957
|
+
return this.h3r(tmp, p2 instanceof Error ? p2 : THROW_CCE(), $completion);
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -964,7 +964,7 @@ function bindTo$slambda_3() {
|
|
|
964
964
|
}
|
|
965
965
|
function bindTo$slambda_4() {
|
|
966
966
|
var i = new (bindTo$slambda_3())();
|
|
967
|
-
var l = ($this$catch, e, $completion) => i.
|
|
967
|
+
var l = ($this$catch, e, $completion) => i.h3r($this$catch, e, $completion);
|
|
968
968
|
l.$arity = 2;
|
|
969
969
|
return l;
|
|
970
970
|
}
|
|
@@ -973,7 +973,7 @@ function _init_properties_AttoWallet_kt__ddmhp5() {
|
|
|
973
973
|
if (!properties_initialized_AttoWallet_kt_jwxii1) {
|
|
974
974
|
properties_initialized_AttoWallet_kt_jwxii1 = true;
|
|
975
975
|
var tmp = KotlinLogging_instance;
|
|
976
|
-
logger = tmp.
|
|
976
|
+
logger = tmp.kt(logger$lambda);
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
979
|
//region block: init
|