@attocash/commons-test 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 +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 +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 +9 -9
- 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 +8 -8
- 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 +38 -38
- 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-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
- 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/AttoWorkerCpu.mjs +38 -38
- 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 +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +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/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- 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/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +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/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +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 +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -13,18 +13,18 @@ function AttoWorkerMockConfiguration() {
|
|
|
13
13
|
constructor(name, image) {
|
|
14
14
|
name = name === VOID ? 'worker-server' : name;
|
|
15
15
|
image = image === VOID ? 'ghcr.io/attocash/work-server:cpu' : image;
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
16
|
+
this.k55_1 = name;
|
|
17
|
+
this.l55_1 = image;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
m55(name, image) {
|
|
20
20
|
return new (AttoWorkerMockConfiguration())(name, image);
|
|
21
21
|
}
|
|
22
22
|
toString() {
|
|
23
|
-
return 'AttoWorkerMockConfiguration(name=' + this.
|
|
23
|
+
return 'AttoWorkerMockConfiguration(name=' + this.k55_1 + ', image=' + this.l55_1 + ')';
|
|
24
24
|
}
|
|
25
25
|
hashCode() {
|
|
26
|
-
var result = getStringHashCode(this.
|
|
27
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
26
|
+
var result = getStringHashCode(this.k55_1);
|
|
27
|
+
result = imul(result, 31) + getStringHashCode(this.l55_1) | 0;
|
|
28
28
|
return result;
|
|
29
29
|
}
|
|
30
30
|
equals(other) {
|
|
@@ -32,9 +32,9 @@ function AttoWorkerMockConfiguration() {
|
|
|
32
32
|
return true;
|
|
33
33
|
if (!(other instanceof AttoWorkerMockConfiguration()))
|
|
34
34
|
return false;
|
|
35
|
-
if (!(this.
|
|
35
|
+
if (!(this.k55_1 === other.k55_1))
|
|
36
36
|
return false;
|
|
37
|
-
if (!(this.
|
|
37
|
+
if (!(this.l55_1 === other.l55_1))
|
|
38
38
|
return false;
|
|
39
39
|
return true;
|
|
40
40
|
}
|
|
@@ -40,32 +40,32 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
40
40
|
var tmp_2 = await_0(networkPromise, $completion);
|
|
41
41
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
42
42
|
tmp_2 = yield tmp_2;
|
|
43
|
-
tmp_1.
|
|
44
|
-
var mysqlImage = $this.
|
|
45
|
-
var mysqlInstance = (new mysqlModule.MySqlContainer(mysqlImage)).withNetwork($this.
|
|
43
|
+
tmp_1.w55_1 = tmp_2;
|
|
44
|
+
var mysqlImage = $this.v55_1.mysqlImage;
|
|
45
|
+
var mysqlInstance = (new mysqlModule.MySqlContainer(mysqlImage)).withNetwork($this.w55_1).withNetworkAliases('mysql').withDatabase($this.v55_1.dbName).withRootPassword($this.v55_1.dbPassword);
|
|
46
46
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
47
47
|
var mysqlContainerPromise = mysqlInstance.start();
|
|
48
48
|
var tmp_3 = $this;
|
|
49
49
|
var tmp_4 = await_0(mysqlContainerPromise, $completion);
|
|
50
50
|
if (tmp_4 === get_COROUTINE_SUSPENDED())
|
|
51
51
|
tmp_4 = yield tmp_4;
|
|
52
|
-
tmp_3.
|
|
53
|
-
var genesisHex = toHex($this.
|
|
54
|
-
var privateKeyHex = toHex_0($this.
|
|
52
|
+
tmp_3.x55_1 = tmp_4;
|
|
53
|
+
var genesisHex = toHex($this.v55_1.genesisTransaction);
|
|
54
|
+
var privateKeyHex = toHex_0($this.v55_1.privateKey.value);
|
|
55
55
|
var env = {};
|
|
56
56
|
env['SPRING_PROFILES_ACTIVE'] = 'local';
|
|
57
57
|
env['ATTO_DB_HOST'] = 'mysql';
|
|
58
58
|
env['ATTO_DB_PORT'] = '3306';
|
|
59
|
-
env['ATTO_DB_NAME'] = $this.
|
|
60
|
-
env['ATTO_DB_USER'] = $this.
|
|
61
|
-
env['ATTO_DB_PASSWORD'] = $this.
|
|
62
|
-
env['ATTO_PUBLIC_URI'] = 'ws://' + $this.
|
|
59
|
+
env['ATTO_DB_NAME'] = $this.v55_1.dbName;
|
|
60
|
+
env['ATTO_DB_USER'] = $this.v55_1.dbUser;
|
|
61
|
+
env['ATTO_DB_PASSWORD'] = $this.v55_1.dbPassword;
|
|
62
|
+
env['ATTO_PUBLIC_URI'] = 'ws://' + $this.v55_1.name + ':8082';
|
|
63
63
|
env['ATTO_GENESIS'] = genesisHex;
|
|
64
64
|
env['ATTO_PRIVATE_KEY'] = privateKeyHex;
|
|
65
65
|
env['ATTO_NODE_FORCE_API'] = 'true';
|
|
66
66
|
env['ATTO_NODE_FORCE_HISTORICAL'] = 'true';
|
|
67
|
-
var nodeImage = $this.
|
|
68
|
-
var nodeInstance = (new testcontainers.GenericContainer(nodeImage)).withNetwork($this.
|
|
67
|
+
var nodeImage = $this.v55_1.image;
|
|
68
|
+
var nodeInstance = (new testcontainers.GenericContainer(nodeImage)).withNetwork($this.w55_1).withNetworkAliases($this.v55_1.name).withExposedPorts(8080, 8081, 8082).withEnvironment(env).withWaitStrategy(wait.forLogMessage(/.*started on port 8080 \(http\).*/, 1)).withLogConsumer(function (stream) {
|
|
69
69
|
stream.on('data', function (line) {
|
|
70
70
|
console.log(line.toString());
|
|
71
71
|
});
|
|
@@ -79,8 +79,8 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
79
79
|
var tmp_6 = await_0(nodeContainerPromise, $completion);
|
|
80
80
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
81
81
|
tmp_6 = yield tmp_6;
|
|
82
|
-
tmp_5.
|
|
83
|
-
$this.
|
|
82
|
+
tmp_5.y55_1 = tmp_6;
|
|
83
|
+
$this.z55_1 = true;
|
|
84
84
|
return Unit_instance;
|
|
85
85
|
}
|
|
86
86
|
var CompanionClass;
|
|
@@ -101,48 +101,48 @@ function AttoNodeMock() {
|
|
|
101
101
|
if (AttoNodeMockClass === VOID) {
|
|
102
102
|
class $ {
|
|
103
103
|
constructor(configuration) {
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
104
|
+
this.v55_1 = configuration;
|
|
105
|
+
this.w55_1 = null;
|
|
106
|
+
this.x55_1 = null;
|
|
107
|
+
this.y55_1 = null;
|
|
108
|
+
this.z55_1 = false;
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
a56() {
|
|
111
111
|
// Inline function 'kotlin.require' call
|
|
112
|
-
if (!this.
|
|
112
|
+
if (!this.z55_1) {
|
|
113
113
|
var message = 'Node must have started to access the url';
|
|
114
114
|
throw IllegalArgumentException().s2(toString(message));
|
|
115
115
|
}
|
|
116
|
-
var tmp = this.
|
|
116
|
+
var tmp = this.y55_1.getHost();
|
|
117
117
|
var host = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
|
|
118
|
-
var tmp_0 = this.
|
|
118
|
+
var tmp_0 = this.y55_1.getMappedPort(8080);
|
|
119
119
|
var port = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
|
|
120
120
|
return 'http://' + host + ':' + port;
|
|
121
121
|
}
|
|
122
|
-
|
|
123
|
-
return this.
|
|
122
|
+
n55() {
|
|
123
|
+
return this.v55_1.genesisTransaction;
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
b56($completion) {
|
|
126
126
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_start__v5y7pu.bind(VOID, this), $completion);
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
if (this.
|
|
130
|
-
var tmp0_safe_receiver = this.
|
|
128
|
+
u6() {
|
|
129
|
+
if (this.z55_1) {
|
|
130
|
+
var tmp0_safe_receiver = this.y55_1;
|
|
131
131
|
if (tmp0_safe_receiver == null)
|
|
132
132
|
null;
|
|
133
133
|
else
|
|
134
134
|
tmp0_safe_receiver.stop();
|
|
135
|
-
var tmp1_safe_receiver = this.
|
|
135
|
+
var tmp1_safe_receiver = this.x55_1;
|
|
136
136
|
if (tmp1_safe_receiver == null)
|
|
137
137
|
null;
|
|
138
138
|
else
|
|
139
139
|
tmp1_safe_receiver.stop();
|
|
140
|
-
var tmp2_safe_receiver = this.
|
|
140
|
+
var tmp2_safe_receiver = this.w55_1;
|
|
141
141
|
if (tmp2_safe_receiver == null)
|
|
142
142
|
null;
|
|
143
143
|
else
|
|
144
144
|
tmp2_safe_receiver.stop();
|
|
145
|
-
this.
|
|
145
|
+
this.z55_1 = false;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -43,55 +43,55 @@ function AttoNodeMockConfiguration() {
|
|
|
43
43
|
this.dbUser = dbUser;
|
|
44
44
|
this.dbPassword = dbPassword;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
n55() {
|
|
47
47
|
return this.genesisTransaction;
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
o55() {
|
|
50
50
|
return this.privateKey;
|
|
51
51
|
}
|
|
52
52
|
i1() {
|
|
53
53
|
return this.name;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
p55() {
|
|
56
56
|
return this.image;
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
q55() {
|
|
59
59
|
return this.mysqlImage;
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
r55() {
|
|
62
62
|
return this.dbName;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
s55() {
|
|
65
65
|
return this.dbUser;
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
t55() {
|
|
68
68
|
return this.dbPassword;
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
ye() {
|
|
71
71
|
return this.genesisTransaction;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
ze() {
|
|
74
74
|
return this.privateKey;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
v4k() {
|
|
77
77
|
return this.name;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
w4k() {
|
|
80
80
|
return this.image;
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
x4k() {
|
|
83
83
|
return this.mysqlImage;
|
|
84
84
|
}
|
|
85
|
-
|
|
85
|
+
y4k() {
|
|
86
86
|
return this.dbName;
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
z4k() {
|
|
89
89
|
return this.dbUser;
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
a4l() {
|
|
92
92
|
return this.dbPassword;
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
u55(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword) {
|
|
95
95
|
return new (AttoNodeMockConfiguration())(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword);
|
|
96
96
|
}
|
|
97
97
|
copy(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword, $super) {
|
|
@@ -103,7 +103,7 @@ function AttoNodeMockConfiguration() {
|
|
|
103
103
|
dbName = dbName === VOID ? this.dbName : dbName;
|
|
104
104
|
dbUser = dbUser === VOID ? this.dbUser : dbUser;
|
|
105
105
|
dbPassword = dbPassword === VOID ? this.dbPassword : dbPassword;
|
|
106
|
-
return $super === VOID ? this.
|
|
106
|
+
return $super === VOID ? this.u55(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword) : $super.u55.call(this, genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword);
|
|
107
107
|
}
|
|
108
108
|
toString() {
|
|
109
109
|
return 'AttoNodeMockConfiguration(genesisTransaction=' + this.genesisTransaction.toString() + ', privateKey=' + this.privateKey.toString() + ', name=' + this.name + ', image=' + this.image + ', mysqlImage=' + this.mysqlImage + ', dbName=' + this.dbName + ', dbUser=' + this.dbUser + ', dbPassword=' + this.dbPassword + ')';
|
|
@@ -150,8 +150,8 @@ function AttoNodeMockConfiguration() {
|
|
|
150
150
|
}
|
|
151
151
|
function *_generator_createGenesis__u03go8(_this__u8e3s4, privateKey, $completion) {
|
|
152
152
|
var signer = toSigner(privateKey);
|
|
153
|
-
var block = createGenesis(Companion_getInstance(), AttoNetwork_LOCAL_getInstance(), signer.
|
|
154
|
-
var tmp = signer.
|
|
153
|
+
var block = createGenesis(Companion_getInstance(), AttoNetwork_LOCAL_getInstance(), signer.m4k());
|
|
154
|
+
var tmp = signer.d4u(block.hash, $completion);
|
|
155
155
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
156
156
|
tmp = yield tmp;
|
|
157
157
|
var tmp0 = cpu(Companion_instance);
|
|
@@ -160,7 +160,7 @@ function *_generator_createGenesis__u03go8(_this__u8e3s4, privateKey, $completio
|
|
|
160
160
|
// Inline function 'kotlin.use' call
|
|
161
161
|
var exception = null;
|
|
162
162
|
try {
|
|
163
|
-
var tmp_0 = tmp0.
|
|
163
|
+
var tmp_0 = tmp0.c53(block, $completion);
|
|
164
164
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
165
165
|
tmp_0 = yield tmp_0;
|
|
166
166
|
tmp$ret$1 = tmp_0;
|
|
@@ -15,7 +15,7 @@ import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-cor
|
|
|
15
15
|
//region block: pre-declaration
|
|
16
16
|
//endregion
|
|
17
17
|
function *_generator_invoke__zhh2q8($this, $completion) {
|
|
18
|
-
var tmp = $this.
|
|
18
|
+
var tmp = $this.e56_1.c56_1.b56($completion);
|
|
19
19
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
20
20
|
tmp = yield tmp;
|
|
21
21
|
return Unit_instance;
|
|
@@ -25,9 +25,9 @@ function AttoNodeMockAsync$start$slambda() {
|
|
|
25
25
|
if (AttoNodeMockAsync$start$slambdaClass === VOID) {
|
|
26
26
|
class $ {
|
|
27
27
|
constructor(this$0) {
|
|
28
|
-
this.
|
|
28
|
+
this.e56_1 = this$0;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
od($completion) {
|
|
31
31
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -38,7 +38,7 @@ function AttoNodeMockAsync$start$slambda() {
|
|
|
38
38
|
}
|
|
39
39
|
function AttoNodeMockAsync$start$slambda_0(this$0) {
|
|
40
40
|
var i = new (AttoNodeMockAsync$start$slambda())(this$0);
|
|
41
|
-
var l = ($completion) => i.
|
|
41
|
+
var l = ($completion) => i.od($completion);
|
|
42
42
|
l.$arity = 0;
|
|
43
43
|
return l;
|
|
44
44
|
}
|
|
@@ -47,27 +47,27 @@ function AttoNodeMockAsync() {
|
|
|
47
47
|
if (AttoNodeMockAsyncClass === VOID) {
|
|
48
48
|
class $ {
|
|
49
49
|
constructor(mock, dispatcher) {
|
|
50
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
50
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
51
|
+
this.c56_1 = mock;
|
|
52
|
+
this.d56_1 = CoroutineScope(dispatcher.dl(SupervisorJob()));
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
return this.
|
|
54
|
+
a56() {
|
|
55
|
+
return this.c56_1.a56();
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
return this.
|
|
57
|
+
n55() {
|
|
58
|
+
return this.c56_1.n55();
|
|
59
59
|
}
|
|
60
60
|
start() {
|
|
61
|
-
return submit(this.
|
|
61
|
+
return submit(this.d56_1, AttoNodeMockAsync$start$slambda_0(this));
|
|
62
62
|
}
|
|
63
63
|
close() {
|
|
64
|
-
this.
|
|
64
|
+
this.c56_1.u6();
|
|
65
65
|
}
|
|
66
66
|
get baseUrl() {
|
|
67
|
-
return this.
|
|
67
|
+
return this.a56();
|
|
68
68
|
}
|
|
69
69
|
get genesisTransaction() {
|
|
70
|
-
return this.
|
|
70
|
+
return this.n55();
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
initMetadataForClass($, 'AttoNodeMockAsync');
|
|
@@ -6,7 +6,7 @@ import { AttoNodeMockAsync2s71veu2frl9f as AttoNodeMockAsync } from './AttoNodeM
|
|
|
6
6
|
//region block: pre-declaration
|
|
7
7
|
//endregion
|
|
8
8
|
function toAsync(_this__u8e3s4, dispatcher) {
|
|
9
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
9
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
10
10
|
return new (AttoNodeMockAsync())(_this__u8e3s4, dispatcher);
|
|
11
11
|
}
|
|
12
12
|
//region block: exports
|
|
@@ -21,41 +21,41 @@ import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-cor
|
|
|
21
21
|
//region block: pre-declaration
|
|
22
22
|
//endregion
|
|
23
23
|
function *_generator_invoke__zhh2q8($this, $completion) {
|
|
24
|
-
var tmp0_elvis_lhs = $this.
|
|
24
|
+
var tmp0_elvis_lhs = $this.n56_1.m56_1;
|
|
25
25
|
var tmp;
|
|
26
26
|
if (tmp0_elvis_lhs == null) {
|
|
27
27
|
// Inline function 'kotlin.run' call
|
|
28
|
-
var $this$run = $this.
|
|
29
|
-
var tmp_0 = createGenesis(Companion_getInstance(), $this$run.
|
|
28
|
+
var $this$run = $this.n56_1;
|
|
29
|
+
var tmp_0 = createGenesis(Companion_getInstance(), $this$run.f56_1, $completion);
|
|
30
30
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
31
31
|
tmp_0 = yield tmp_0;
|
|
32
32
|
tmp = tmp_0;
|
|
33
33
|
} else {
|
|
34
34
|
tmp = tmp0_elvis_lhs;
|
|
35
35
|
}
|
|
36
|
-
var defaultConfiguration = new (AttoNodeMockConfiguration())(tmp, $this.
|
|
37
|
-
var tmp1_elvis_lhs = $this.
|
|
36
|
+
var defaultConfiguration = new (AttoNodeMockConfiguration())(tmp, $this.n56_1.f56_1);
|
|
37
|
+
var tmp1_elvis_lhs = $this.n56_1.g56_1;
|
|
38
38
|
var tmp_1 = tmp1_elvis_lhs == null ? defaultConfiguration.name : tmp1_elvis_lhs;
|
|
39
|
-
var tmp2_elvis_lhs = $this.
|
|
39
|
+
var tmp2_elvis_lhs = $this.n56_1.h56_1;
|
|
40
40
|
var tmp_2 = tmp2_elvis_lhs == null ? defaultConfiguration.image : tmp2_elvis_lhs;
|
|
41
|
-
var tmp3_elvis_lhs = $this.
|
|
41
|
+
var tmp3_elvis_lhs = $this.n56_1.i56_1;
|
|
42
42
|
var tmp_3 = tmp3_elvis_lhs == null ? defaultConfiguration.mysqlImage : tmp3_elvis_lhs;
|
|
43
|
-
var tmp4_elvis_lhs = $this.
|
|
43
|
+
var tmp4_elvis_lhs = $this.n56_1.j56_1;
|
|
44
44
|
var tmp_4 = tmp4_elvis_lhs == null ? defaultConfiguration.dbName : tmp4_elvis_lhs;
|
|
45
|
-
var tmp5_elvis_lhs = $this.
|
|
45
|
+
var tmp5_elvis_lhs = $this.n56_1.k56_1;
|
|
46
46
|
var tmp_5 = tmp5_elvis_lhs == null ? defaultConfiguration.dbUser : tmp5_elvis_lhs;
|
|
47
|
-
var tmp6_elvis_lhs = $this.
|
|
47
|
+
var tmp6_elvis_lhs = $this.n56_1.l56_1;
|
|
48
48
|
var configuration = defaultConfiguration.copy(VOID, VOID, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp6_elvis_lhs == null ? defaultConfiguration.dbPassword : tmp6_elvis_lhs);
|
|
49
|
-
return toAsync(new (AttoNodeMock())(configuration), Dispatchers_getInstance().
|
|
49
|
+
return toAsync(new (AttoNodeMock())(configuration), Dispatchers_getInstance().o20_1);
|
|
50
50
|
}
|
|
51
51
|
var AttoNodeMockAsyncBuilder$build$slambdaClass;
|
|
52
52
|
function AttoNodeMockAsyncBuilder$build$slambda() {
|
|
53
53
|
if (AttoNodeMockAsyncBuilder$build$slambdaClass === VOID) {
|
|
54
54
|
class $ {
|
|
55
55
|
constructor(this$0) {
|
|
56
|
-
this.
|
|
56
|
+
this.n56_1 = this$0;
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
od($completion) {
|
|
59
59
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -66,7 +66,7 @@ function AttoNodeMockAsyncBuilder$build$slambda() {
|
|
|
66
66
|
}
|
|
67
67
|
function AttoNodeMockAsyncBuilder$build$slambda_0(this$0) {
|
|
68
68
|
var i = new (AttoNodeMockAsyncBuilder$build$slambda())(this$0);
|
|
69
|
-
var l = ($completion) => i.
|
|
69
|
+
var l = ($completion) => i.od($completion);
|
|
70
70
|
l.$arity = 0;
|
|
71
71
|
return l;
|
|
72
72
|
}
|
|
@@ -75,48 +75,48 @@ function AttoNodeMockAsyncBuilder() {
|
|
|
75
75
|
if (AttoNodeMockAsyncBuilderClass === VOID) {
|
|
76
76
|
class $ {
|
|
77
77
|
constructor(privateKey) {
|
|
78
|
-
this.
|
|
78
|
+
this.f56_1 = privateKey;
|
|
79
|
+
this.g56_1 = null;
|
|
80
|
+
this.h56_1 = null;
|
|
81
|
+
this.i56_1 = null;
|
|
82
|
+
this.j56_1 = null;
|
|
83
|
+
this.k56_1 = null;
|
|
84
|
+
this.l56_1 = null;
|
|
79
85
|
this.m56_1 = null;
|
|
80
|
-
this.n56_1 = null;
|
|
81
|
-
this.o56_1 = null;
|
|
82
|
-
this.p56_1 = null;
|
|
83
|
-
this.q56_1 = null;
|
|
84
|
-
this.r56_1 = null;
|
|
85
|
-
this.s56_1 = null;
|
|
86
86
|
}
|
|
87
87
|
name(value) {
|
|
88
88
|
// Inline function 'kotlin.apply' call
|
|
89
|
-
this.
|
|
89
|
+
this.g56_1 = value;
|
|
90
90
|
return this;
|
|
91
91
|
}
|
|
92
92
|
image(value) {
|
|
93
93
|
// Inline function 'kotlin.apply' call
|
|
94
|
-
this.
|
|
94
|
+
this.h56_1 = value;
|
|
95
95
|
return this;
|
|
96
96
|
}
|
|
97
97
|
mysqlImage(value) {
|
|
98
98
|
// Inline function 'kotlin.apply' call
|
|
99
|
-
this.
|
|
99
|
+
this.i56_1 = value;
|
|
100
100
|
return this;
|
|
101
101
|
}
|
|
102
102
|
dbName(value) {
|
|
103
103
|
// Inline function 'kotlin.apply' call
|
|
104
|
-
this.
|
|
104
|
+
this.j56_1 = value;
|
|
105
105
|
return this;
|
|
106
106
|
}
|
|
107
107
|
dbUser(value) {
|
|
108
108
|
// Inline function 'kotlin.apply' call
|
|
109
|
-
this.
|
|
109
|
+
this.k56_1 = value;
|
|
110
110
|
return this;
|
|
111
111
|
}
|
|
112
112
|
dbPassword(value) {
|
|
113
113
|
// Inline function 'kotlin.apply' call
|
|
114
|
-
this.
|
|
114
|
+
this.l56_1 = value;
|
|
115
115
|
return this;
|
|
116
116
|
}
|
|
117
117
|
genesis(value) {
|
|
118
118
|
// Inline function 'kotlin.apply' call
|
|
119
|
-
this.
|
|
119
|
+
this.m56_1 = value;
|
|
120
120
|
return this;
|
|
121
121
|
}
|
|
122
122
|
build() {
|
|
@@ -23,7 +23,7 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
23
23
|
tmp = yield tmp;
|
|
24
24
|
var testcontainers = tmp;
|
|
25
25
|
var wait = testcontainers.Wait;
|
|
26
|
-
var image = $this.
|
|
26
|
+
var image = $this.o56_1.l55_1;
|
|
27
27
|
var containerInstance = (new testcontainers.GenericContainer(image)).withExposedPorts(8080, 8081).withWaitStrategy(wait.forLogMessage(/.*started on port 8080 \(http\).*/, 1)).withLogConsumer(function (stream) {
|
|
28
28
|
stream.on('data', function (line) {
|
|
29
29
|
console.log(line.toString());
|
|
@@ -38,8 +38,8 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
38
38
|
var tmp_1 = await_0(containerPromise, $completion);
|
|
39
39
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
40
40
|
tmp_1 = yield tmp_1;
|
|
41
|
-
tmp_0.
|
|
42
|
-
$this.
|
|
41
|
+
tmp_0.p56_1 = tmp_1;
|
|
42
|
+
$this.q56_1 = true;
|
|
43
43
|
return Unit_instance;
|
|
44
44
|
}
|
|
45
45
|
var CompanionClass;
|
|
@@ -60,29 +60,29 @@ function AttoWorkerMock() {
|
|
|
60
60
|
if (AttoWorkerMockClass === VOID) {
|
|
61
61
|
class $ {
|
|
62
62
|
constructor(configuration) {
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
63
|
+
this.o56_1 = configuration;
|
|
64
|
+
this.p56_1 = null;
|
|
65
|
+
this.q56_1 = false;
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
a56() {
|
|
68
68
|
// Inline function 'kotlin.require' call
|
|
69
|
-
if (!this.
|
|
69
|
+
if (!this.q56_1) {
|
|
70
70
|
var message = 'Work server must have started to access the url';
|
|
71
71
|
throw IllegalArgumentException().s2(toString(message));
|
|
72
72
|
}
|
|
73
|
-
var tmp = this.
|
|
73
|
+
var tmp = this.p56_1.getHost();
|
|
74
74
|
var host = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
|
|
75
|
-
var tmp_0 = this.
|
|
75
|
+
var tmp_0 = this.p56_1.getMappedPort(8080);
|
|
76
76
|
var port = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
|
|
77
77
|
return 'http://' + host + ':' + port;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
b56($completion) {
|
|
80
80
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_start__v5y7pu.bind(VOID, this), $completion);
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
if (this.
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
82
|
+
u6() {
|
|
83
|
+
if (this.q56_1 && this.p56_1 != null) {
|
|
84
|
+
this.p56_1.stop();
|
|
85
|
+
this.q56_1 = false;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -15,7 +15,7 @@ import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-cor
|
|
|
15
15
|
//region block: pre-declaration
|
|
16
16
|
//endregion
|
|
17
17
|
function *_generator_invoke__zhh2q8($this, $completion) {
|
|
18
|
-
var tmp = $this.
|
|
18
|
+
var tmp = $this.t56_1.r56_1.b56($completion);
|
|
19
19
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
20
20
|
tmp = yield tmp;
|
|
21
21
|
return Unit_instance;
|
|
@@ -25,9 +25,9 @@ function AttoWorkerMockAsync$start$slambda() {
|
|
|
25
25
|
if (AttoWorkerMockAsync$start$slambdaClass === VOID) {
|
|
26
26
|
class $ {
|
|
27
27
|
constructor(this$0) {
|
|
28
|
-
this.
|
|
28
|
+
this.t56_1 = this$0;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
od($completion) {
|
|
31
31
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -38,7 +38,7 @@ function AttoWorkerMockAsync$start$slambda() {
|
|
|
38
38
|
}
|
|
39
39
|
function AttoWorkerMockAsync$start$slambda_0(this$0) {
|
|
40
40
|
var i = new (AttoWorkerMockAsync$start$slambda())(this$0);
|
|
41
|
-
var l = ($completion) => i.
|
|
41
|
+
var l = ($completion) => i.od($completion);
|
|
42
42
|
l.$arity = 0;
|
|
43
43
|
return l;
|
|
44
44
|
}
|
|
@@ -47,21 +47,21 @@ function AttoWorkerMockAsync() {
|
|
|
47
47
|
if (AttoWorkerMockAsyncClass === VOID) {
|
|
48
48
|
class $ {
|
|
49
49
|
constructor(mock, dispatcher) {
|
|
50
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
50
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
51
|
+
this.r56_1 = mock;
|
|
52
|
+
this.s56_1 = CoroutineScope(dispatcher.dl(SupervisorJob()));
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
return this.
|
|
54
|
+
a56() {
|
|
55
|
+
return this.r56_1.a56();
|
|
56
56
|
}
|
|
57
57
|
start() {
|
|
58
|
-
return submit(this.
|
|
58
|
+
return submit(this.s56_1, AttoWorkerMockAsync$start$slambda_0(this));
|
|
59
59
|
}
|
|
60
60
|
close() {
|
|
61
|
-
return this.
|
|
61
|
+
return this.r56_1.u6();
|
|
62
62
|
}
|
|
63
63
|
get baseUrl() {
|
|
64
|
-
return this.
|
|
64
|
+
return this.a56();
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
initMetadataForClass($, 'AttoWorkerMockAsync');
|
|
@@ -6,7 +6,7 @@ import { AttoWorkerMockAsync2s1msy2f0s9d0 as AttoWorkerMockAsync } from './AttoW
|
|
|
6
6
|
//region block: pre-declaration
|
|
7
7
|
//endregion
|
|
8
8
|
function toAsync(_this__u8e3s4, dispatcher) {
|
|
9
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
9
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
10
10
|
return new (AttoWorkerMockAsync())(_this__u8e3s4, dispatcher);
|
|
11
11
|
}
|
|
12
12
|
//region block: exports
|
|
@@ -19,15 +19,15 @@ function AttoWorkerMockAsyncBuilder$build$slambda() {
|
|
|
19
19
|
if (AttoWorkerMockAsyncBuilder$build$slambdaClass === VOID) {
|
|
20
20
|
class $ {
|
|
21
21
|
constructor(this$0) {
|
|
22
|
-
this.
|
|
22
|
+
this.u56_1 = this$0;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
od($completion) {
|
|
25
25
|
var defaultConfiguration = new (AttoWorkerMockConfiguration())();
|
|
26
|
-
var tmp0_elvis_lhs = this.
|
|
27
|
-
var tmp = tmp0_elvis_lhs == null ? defaultConfiguration.
|
|
28
|
-
var tmp1_elvis_lhs = this.
|
|
29
|
-
var configuration = defaultConfiguration.
|
|
30
|
-
return toAsync(new (AttoWorkerMock())(configuration), Dispatchers_getInstance().
|
|
26
|
+
var tmp0_elvis_lhs = this.u56_1.v56_1;
|
|
27
|
+
var tmp = tmp0_elvis_lhs == null ? defaultConfiguration.k55_1 : tmp0_elvis_lhs;
|
|
28
|
+
var tmp1_elvis_lhs = this.u56_1.w56_1;
|
|
29
|
+
var configuration = defaultConfiguration.m55(tmp, tmp1_elvis_lhs == null ? defaultConfiguration.l55_1 : tmp1_elvis_lhs);
|
|
30
|
+
return toAsync(new (AttoWorkerMock())(configuration), Dispatchers_getInstance().o20_1);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
initMetadataForLambda($, VOID, VOID, [0]);
|
|
@@ -37,7 +37,7 @@ function AttoWorkerMockAsyncBuilder$build$slambda() {
|
|
|
37
37
|
}
|
|
38
38
|
function AttoWorkerMockAsyncBuilder$build$slambda_0(this$0) {
|
|
39
39
|
var i = new (AttoWorkerMockAsyncBuilder$build$slambda())(this$0);
|
|
40
|
-
var l = ($completion) => i.
|
|
40
|
+
var l = ($completion) => i.od($completion);
|
|
41
41
|
l.$arity = 0;
|
|
42
42
|
return l;
|
|
43
43
|
}
|
|
@@ -46,17 +46,17 @@ function AttoWorkerMockAsyncBuilder() {
|
|
|
46
46
|
if (AttoWorkerMockAsyncBuilderClass === VOID) {
|
|
47
47
|
class $ {
|
|
48
48
|
constructor() {
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
49
|
+
this.v56_1 = null;
|
|
50
|
+
this.w56_1 = null;
|
|
51
51
|
}
|
|
52
52
|
name(value) {
|
|
53
53
|
// Inline function 'kotlin.apply' call
|
|
54
|
-
this.
|
|
54
|
+
this.v56_1 = value;
|
|
55
55
|
return this;
|
|
56
56
|
}
|
|
57
57
|
image(value) {
|
|
58
58
|
// Inline function 'kotlin.apply' call
|
|
59
|
-
this.
|
|
59
|
+
this.w56_1 = value;
|
|
60
60
|
return this;
|
|
61
61
|
}
|
|
62
62
|
build() {
|