@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
|
@@ -28,11 +28,11 @@ function Companion_getInstance() {
|
|
|
28
28
|
}
|
|
29
29
|
function work(network, timestamp, target, $completion) {
|
|
30
30
|
var threshold = getThreshold(Companion_instance, network, timestamp);
|
|
31
|
-
return this.
|
|
31
|
+
return this.a53(threshold, target, $completion);
|
|
32
32
|
}
|
|
33
33
|
function work_0(block, $completion) {
|
|
34
34
|
var target = getTarget(block);
|
|
35
|
-
return this.
|
|
35
|
+
return this.b53(block.network, block.timestamp, target, $completion);
|
|
36
36
|
}
|
|
37
37
|
var AttoWorkerClass;
|
|
38
38
|
function AttoWorker() {
|
|
@@ -16,12 +16,12 @@ function AttoWorkerAsync$work$slambda() {
|
|
|
16
16
|
if (AttoWorkerAsync$work$slambdaClass === VOID) {
|
|
17
17
|
class $ {
|
|
18
18
|
constructor(this$0, $threshold, $target) {
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
19
|
+
this.d53_1 = this$0;
|
|
20
|
+
this.e53_1 = $threshold;
|
|
21
|
+
this.f53_1 = $target;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
return this.
|
|
23
|
+
od($completion) {
|
|
24
|
+
return this.d53_1.worker.a53(this.e53_1, this.f53_1, $completion);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
initMetadataForLambda($, VOID, VOID, [0]);
|
|
@@ -31,7 +31,7 @@ function AttoWorkerAsync$work$slambda() {
|
|
|
31
31
|
}
|
|
32
32
|
function AttoWorkerAsync$work$slambda_0(this$0, $threshold, $target) {
|
|
33
33
|
var i = new (AttoWorkerAsync$work$slambda())(this$0, $threshold, $target);
|
|
34
|
-
var l = ($completion) => i.
|
|
34
|
+
var l = ($completion) => i.od($completion);
|
|
35
35
|
l.$arity = 0;
|
|
36
36
|
return l;
|
|
37
37
|
}
|
|
@@ -40,13 +40,13 @@ function AttoWorkerAsync$work$slambda_1() {
|
|
|
40
40
|
if (AttoWorkerAsync$work$slambdaClass_0 === VOID) {
|
|
41
41
|
class $ {
|
|
42
42
|
constructor(this$0, $network, $timestamp, $target) {
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
43
|
+
this.h53_1 = this$0;
|
|
44
|
+
this.i53_1 = $network;
|
|
45
|
+
this.j53_1 = $timestamp;
|
|
46
|
+
this.k53_1 = $target;
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
return this.
|
|
48
|
+
od($completion) {
|
|
49
|
+
return this.h53_1.worker.b53(this.i53_1, this.j53_1, this.k53_1, $completion);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
initMetadataForLambda($, VOID, VOID, [0]);
|
|
@@ -56,7 +56,7 @@ function AttoWorkerAsync$work$slambda_1() {
|
|
|
56
56
|
}
|
|
57
57
|
function AttoWorkerAsync$work$slambda_2(this$0, $network, $timestamp, $target) {
|
|
58
58
|
var i = new (AttoWorkerAsync$work$slambda_1())(this$0, $network, $timestamp, $target);
|
|
59
|
-
var l = ($completion) => i.
|
|
59
|
+
var l = ($completion) => i.od($completion);
|
|
60
60
|
l.$arity = 0;
|
|
61
61
|
return l;
|
|
62
62
|
}
|
|
@@ -65,11 +65,11 @@ function AttoWorkerAsync$work$slambda_3() {
|
|
|
65
65
|
if (AttoWorkerAsync$work$slambdaClass_1 === VOID) {
|
|
66
66
|
class $ {
|
|
67
67
|
constructor(this$0, $block) {
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
68
|
+
this.l53_1 = this$0;
|
|
69
|
+
this.m53_1 = $block;
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
return this.
|
|
71
|
+
od($completion) {
|
|
72
|
+
return this.l53_1.worker.c53(this.m53_1, $completion);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
initMetadataForLambda($, VOID, VOID, [0]);
|
|
@@ -79,7 +79,7 @@ function AttoWorkerAsync$work$slambda_3() {
|
|
|
79
79
|
}
|
|
80
80
|
function AttoWorkerAsync$work$slambda_4(this$0, $block) {
|
|
81
81
|
var i = new (AttoWorkerAsync$work$slambda_3())(this$0, $block);
|
|
82
|
-
var l = ($completion) => i.
|
|
82
|
+
var l = ($completion) => i.od($completion);
|
|
83
83
|
l.$arity = 0;
|
|
84
84
|
return l;
|
|
85
85
|
}
|
|
@@ -88,21 +88,21 @@ function AttoWorkerAsync() {
|
|
|
88
88
|
if (AttoWorkerAsyncClass === VOID) {
|
|
89
89
|
class $ {
|
|
90
90
|
constructor(worker, dispatcher) {
|
|
91
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
91
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
92
92
|
this.worker = worker;
|
|
93
|
-
this.
|
|
93
|
+
this.g53_1 = CoroutineScope(dispatcher.dl(SupervisorJob()));
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
n53() {
|
|
96
96
|
return this.worker;
|
|
97
97
|
}
|
|
98
98
|
workThreshold(threshold, target) {
|
|
99
|
-
return submit(this.
|
|
99
|
+
return submit(this.g53_1, AttoWorkerAsync$work$slambda_0(this, threshold, target));
|
|
100
100
|
}
|
|
101
101
|
workNetwork(network, timestamp, target) {
|
|
102
|
-
return submit(this.
|
|
102
|
+
return submit(this.g53_1, AttoWorkerAsync$work$slambda_2(this, network, timestamp, target));
|
|
103
103
|
}
|
|
104
104
|
workBlock(block) {
|
|
105
|
-
return submit(this.
|
|
105
|
+
return submit(this.g53_1, AttoWorkerAsync$work$slambda_4(this, block));
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
initMetadataForClass($, 'AttoWorkerAsync');
|
|
@@ -111,7 +111,7 @@ function AttoWorkerAsync() {
|
|
|
111
111
|
return AttoWorkerAsyncClass;
|
|
112
112
|
}
|
|
113
113
|
function toAsync(_this__u8e3s4, dispatcher) {
|
|
114
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
114
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
115
115
|
return new (AttoWorkerAsync())(_this__u8e3s4, dispatcher);
|
|
116
116
|
}
|
|
117
117
|
//region block: exports
|
|
@@ -33,12 +33,12 @@ import { AttoWorker1vldrz4t7huug as AttoWorker } from './AttoWorker.mjs';
|
|
|
33
33
|
//region block: pre-declaration
|
|
34
34
|
//endregion
|
|
35
35
|
function cached(_this__u8e3s4, dispatcher) {
|
|
36
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
36
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
37
37
|
return new (AttoWorkerCache())(_this__u8e3s4, dispatcher);
|
|
38
38
|
}
|
|
39
39
|
function *_generator_invoke__zhh2q8($this, $this$async, $completion) {
|
|
40
40
|
try {
|
|
41
|
-
var tmp = $this.
|
|
41
|
+
var tmp = $this.o53_1($this.p53_1, $completion);
|
|
42
42
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
43
43
|
tmp = yield tmp;
|
|
44
44
|
return tmp;
|
|
@@ -46,15 +46,15 @@ function *_generator_invoke__zhh2q8($this, $this$async, $completion) {
|
|
|
46
46
|
if ($p instanceof Exception()) {
|
|
47
47
|
var e = $p;
|
|
48
48
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
49
|
-
var this_0 = $this.
|
|
50
|
-
var tmp_0 = this_0.
|
|
49
|
+
var this_0 = $this.q53_1.t53_1;
|
|
50
|
+
var tmp_0 = this_0.q2e(null, $completion);
|
|
51
51
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
52
52
|
tmp_0 = yield tmp_0;
|
|
53
53
|
var tmp_1;
|
|
54
54
|
try {
|
|
55
|
-
tmp_1 = $this.
|
|
55
|
+
tmp_1 = $this.q53_1.u53_1.s4($this.p53_1);
|
|
56
56
|
}finally {
|
|
57
|
-
this_0.
|
|
57
|
+
this_0.b2e(null);
|
|
58
58
|
}
|
|
59
59
|
throw e;
|
|
60
60
|
} else {
|
|
@@ -64,24 +64,24 @@ function *_generator_invoke__zhh2q8($this, $this$async, $completion) {
|
|
|
64
64
|
}
|
|
65
65
|
function *_generator_delegateWork__9mcuq($this, target, delegate, $completion) {
|
|
66
66
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
67
|
-
var this_0 = $this.
|
|
68
|
-
var tmp = this_0.
|
|
67
|
+
var this_0 = $this.t53_1;
|
|
68
|
+
var tmp = this_0.q2e(null, $completion);
|
|
69
69
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
70
70
|
tmp = yield tmp;
|
|
71
71
|
var tmp_0;
|
|
72
72
|
try {
|
|
73
|
-
var deferred = $this.
|
|
73
|
+
var deferred = $this.u53_1.o4(target);
|
|
74
74
|
if (!(deferred == null)) {
|
|
75
75
|
return deferred;
|
|
76
76
|
}
|
|
77
|
-
deferred = async($this.
|
|
78
|
-
var tmp0 = $this.
|
|
77
|
+
deferred = async($this.s53_1, VOID, VOID, AttoWorkerCache$delegateWork$slambda_0(delegate, target, $this));
|
|
78
|
+
var tmp0 = $this.u53_1;
|
|
79
79
|
// Inline function 'kotlin.collections.set' call
|
|
80
80
|
var value = deferred;
|
|
81
|
-
tmp0.
|
|
81
|
+
tmp0.r4(target, value);
|
|
82
82
|
return deferred;
|
|
83
83
|
}finally {
|
|
84
|
-
this_0.
|
|
84
|
+
this_0.b2e(null);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
function delegateWork($this, target, delegate, $completion) {
|
|
@@ -92,25 +92,25 @@ function *_generator_work__qfjd2h($this, threshold, target, $completion) {
|
|
|
92
92
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
93
93
|
tmp = yield tmp;
|
|
94
94
|
var deferred = tmp;
|
|
95
|
-
var tmp_0 = deferred.
|
|
95
|
+
var tmp_0 = deferred.p1s($completion);
|
|
96
96
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
97
97
|
tmp_0 = yield tmp_0;
|
|
98
98
|
var work = tmp_0;
|
|
99
99
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
100
|
-
var this_0 = $this.
|
|
101
|
-
var tmp_1 = this_0.
|
|
100
|
+
var this_0 = $this.t53_1;
|
|
101
|
+
var tmp_1 = this_0.q2e(null, $completion);
|
|
102
102
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
103
103
|
tmp_1 = yield tmp_1;
|
|
104
104
|
var tmp_2;
|
|
105
105
|
try {
|
|
106
|
-
tmp_2 = $this.
|
|
106
|
+
tmp_2 = $this.u53_1.s4(target);
|
|
107
107
|
}finally {
|
|
108
|
-
this_0.
|
|
108
|
+
this_0.b2e(null);
|
|
109
109
|
}
|
|
110
110
|
if (isValid(Companion_instance, threshold, target, work.value)) {
|
|
111
111
|
return work;
|
|
112
112
|
}
|
|
113
|
-
var tmp_3 = $this.
|
|
113
|
+
var tmp_3 = $this.a53(threshold, target, $completion);
|
|
114
114
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
115
115
|
tmp_3 = yield tmp_3;
|
|
116
116
|
return tmp_3;
|
|
@@ -120,25 +120,25 @@ function *_generator_work__qfjd2h_0($this, network, timestamp, target, $completi
|
|
|
120
120
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
121
121
|
tmp = yield tmp;
|
|
122
122
|
var deferred = tmp;
|
|
123
|
-
var tmp_0 = deferred.
|
|
123
|
+
var tmp_0 = deferred.p1s($completion);
|
|
124
124
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
125
125
|
tmp_0 = yield tmp_0;
|
|
126
126
|
var work = tmp_0;
|
|
127
127
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
128
|
-
var this_0 = $this.
|
|
129
|
-
var tmp_1 = this_0.
|
|
128
|
+
var this_0 = $this.t53_1;
|
|
129
|
+
var tmp_1 = this_0.q2e(null, $completion);
|
|
130
130
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
131
131
|
tmp_1 = yield tmp_1;
|
|
132
132
|
var tmp_2;
|
|
133
133
|
try {
|
|
134
|
-
tmp_2 = $this.
|
|
134
|
+
tmp_2 = $this.u53_1.s4(target);
|
|
135
135
|
}finally {
|
|
136
|
-
this_0.
|
|
136
|
+
this_0.b2e(null);
|
|
137
137
|
}
|
|
138
138
|
if (isValid_0(Companion_instance, network, timestamp, target, work.value)) {
|
|
139
139
|
return work;
|
|
140
140
|
}
|
|
141
|
-
var tmp_3 = $this.
|
|
141
|
+
var tmp_3 = $this.b53(network, timestamp, target, $completion);
|
|
142
142
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
143
143
|
tmp_3 = yield tmp_3;
|
|
144
144
|
return tmp_3;
|
|
@@ -149,20 +149,20 @@ function *_generator_work__qfjd2h_1($this, block, $completion) {
|
|
|
149
149
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
150
150
|
tmp_0 = yield tmp_0;
|
|
151
151
|
var deferred = tmp_0;
|
|
152
|
-
var tmp_1 = deferred.
|
|
152
|
+
var tmp_1 = deferred.p1s($completion);
|
|
153
153
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
154
154
|
tmp_1 = yield tmp_1;
|
|
155
155
|
var work = tmp_1;
|
|
156
156
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
157
|
-
var this_0 = $this.
|
|
158
|
-
var tmp_2 = this_0.
|
|
157
|
+
var this_0 = $this.t53_1;
|
|
158
|
+
var tmp_2 = this_0.q2e(null, $completion);
|
|
159
159
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
160
160
|
tmp_2 = yield tmp_2;
|
|
161
161
|
var tmp_3;
|
|
162
162
|
try {
|
|
163
|
-
tmp_3 = $this.
|
|
163
|
+
tmp_3 = $this.u53_1.s4(getTarget(block));
|
|
164
164
|
}finally {
|
|
165
|
-
this_0.
|
|
165
|
+
this_0.b2e(null);
|
|
166
166
|
}
|
|
167
167
|
var nextTarget = new (AttoWorkTarget())(block.hash.value);
|
|
168
168
|
var tmp_4 = delegateWork($this, nextTarget, AttoWorkerCache$work$slambda_6($this, block), $completion);
|
|
@@ -171,7 +171,7 @@ function *_generator_work__qfjd2h_1($this, block, $completion) {
|
|
|
171
171
|
if (work.isValid(block)) {
|
|
172
172
|
return work;
|
|
173
173
|
}
|
|
174
|
-
var tmp_5 = $this.
|
|
174
|
+
var tmp_5 = $this.c53(block, $completion);
|
|
175
175
|
if (tmp_5 === get_COROUTINE_SUSPENDED())
|
|
176
176
|
tmp_5 = yield tmp_5;
|
|
177
177
|
return tmp_5;
|
|
@@ -181,15 +181,15 @@ function AttoWorkerCache$delegateWork$slambda() {
|
|
|
181
181
|
if (AttoWorkerCache$delegateWork$slambdaClass === VOID) {
|
|
182
182
|
class $ {
|
|
183
183
|
constructor($delegate, $target, this$0) {
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
184
|
+
this.o53_1 = $delegate;
|
|
185
|
+
this.p53_1 = $target;
|
|
186
|
+
this.q53_1 = this$0;
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
s28($this$async, $completion) {
|
|
189
189
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$async), $completion);
|
|
190
190
|
}
|
|
191
|
-
|
|
192
|
-
return this.
|
|
191
|
+
md(p1, $completion) {
|
|
192
|
+
return this.s28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -199,7 +199,7 @@ function AttoWorkerCache$delegateWork$slambda() {
|
|
|
199
199
|
}
|
|
200
200
|
function AttoWorkerCache$delegateWork$slambda_0($delegate, $target, this$0) {
|
|
201
201
|
var i = new (AttoWorkerCache$delegateWork$slambda())($delegate, $target, this$0);
|
|
202
|
-
var l = ($this$async, $completion) => i.
|
|
202
|
+
var l = ($this$async, $completion) => i.s28($this$async, $completion);
|
|
203
203
|
l.$arity = 1;
|
|
204
204
|
return l;
|
|
205
205
|
}
|
|
@@ -208,14 +208,14 @@ function AttoWorkerCache$work$slambda() {
|
|
|
208
208
|
if (AttoWorkerCache$work$slambdaClass === VOID) {
|
|
209
209
|
class $ {
|
|
210
210
|
constructor(this$0, $threshold) {
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
211
|
+
this.v53_1 = this$0;
|
|
212
|
+
this.w53_1 = $threshold;
|
|
213
213
|
}
|
|
214
|
-
|
|
215
|
-
return this.
|
|
214
|
+
x53(it, $completion) {
|
|
215
|
+
return this.v53_1.r53_1.a53(this.w53_1, it, $completion);
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
return this.
|
|
217
|
+
md(p1, $completion) {
|
|
218
|
+
return this.x53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -225,7 +225,7 @@ function AttoWorkerCache$work$slambda() {
|
|
|
225
225
|
}
|
|
226
226
|
function AttoWorkerCache$work$slambda_0(this$0, $threshold) {
|
|
227
227
|
var i = new (AttoWorkerCache$work$slambda())(this$0, $threshold);
|
|
228
|
-
var l = (it, $completion) => i.
|
|
228
|
+
var l = (it, $completion) => i.x53(it, $completion);
|
|
229
229
|
l.$arity = 1;
|
|
230
230
|
return l;
|
|
231
231
|
}
|
|
@@ -234,15 +234,15 @@ function AttoWorkerCache$work$slambda_1() {
|
|
|
234
234
|
if (AttoWorkerCache$work$slambdaClass_0 === VOID) {
|
|
235
235
|
class $ {
|
|
236
236
|
constructor(this$0, $network, $timestamp) {
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
237
|
+
this.y53_1 = this$0;
|
|
238
|
+
this.z53_1 = $network;
|
|
239
|
+
this.a54_1 = $timestamp;
|
|
240
240
|
}
|
|
241
|
-
|
|
242
|
-
return this.
|
|
241
|
+
x53(it, $completion) {
|
|
242
|
+
return this.y53_1.r53_1.b53(this.z53_1, this.a54_1, it, $completion);
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
return this.
|
|
244
|
+
md(p1, $completion) {
|
|
245
|
+
return this.x53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -252,7 +252,7 @@ function AttoWorkerCache$work$slambda_1() {
|
|
|
252
252
|
}
|
|
253
253
|
function AttoWorkerCache$work$slambda_2(this$0, $network, $timestamp) {
|
|
254
254
|
var i = new (AttoWorkerCache$work$slambda_1())(this$0, $network, $timestamp);
|
|
255
|
-
var l = (it, $completion) => i.
|
|
255
|
+
var l = (it, $completion) => i.x53(it, $completion);
|
|
256
256
|
l.$arity = 1;
|
|
257
257
|
return l;
|
|
258
258
|
}
|
|
@@ -261,14 +261,14 @@ function AttoWorkerCache$work$slambda_3() {
|
|
|
261
261
|
if (AttoWorkerCache$work$slambdaClass_1 === VOID) {
|
|
262
262
|
class $ {
|
|
263
263
|
constructor(this$0, $block) {
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
264
|
+
this.b54_1 = this$0;
|
|
265
|
+
this.c54_1 = $block;
|
|
266
266
|
}
|
|
267
|
-
|
|
268
|
-
return this.
|
|
267
|
+
x53(it, $completion) {
|
|
268
|
+
return this.b54_1.r53_1.c53(this.c54_1, $completion);
|
|
269
269
|
}
|
|
270
|
-
|
|
271
|
-
return this.
|
|
270
|
+
md(p1, $completion) {
|
|
271
|
+
return this.x53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -278,7 +278,7 @@ function AttoWorkerCache$work$slambda_3() {
|
|
|
278
278
|
}
|
|
279
279
|
function AttoWorkerCache$work$slambda_4(this$0, $block) {
|
|
280
280
|
var i = new (AttoWorkerCache$work$slambda_3())(this$0, $block);
|
|
281
|
-
var l = (it, $completion) => i.
|
|
281
|
+
var l = (it, $completion) => i.x53(it, $completion);
|
|
282
282
|
l.$arity = 1;
|
|
283
283
|
return l;
|
|
284
284
|
}
|
|
@@ -287,14 +287,14 @@ function AttoWorkerCache$work$slambda_5() {
|
|
|
287
287
|
if (AttoWorkerCache$work$slambdaClass_2 === VOID) {
|
|
288
288
|
class $ {
|
|
289
289
|
constructor(this$0, $block) {
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
290
|
+
this.d54_1 = this$0;
|
|
291
|
+
this.e54_1 = $block;
|
|
292
292
|
}
|
|
293
|
-
|
|
294
|
-
return this.
|
|
293
|
+
x53(it, $completion) {
|
|
294
|
+
return this.d54_1.r53_1.b53(this.e54_1.network, Companion_instance_0.now(), it, $completion);
|
|
295
295
|
}
|
|
296
|
-
|
|
297
|
-
return this.
|
|
296
|
+
md(p1, $completion) {
|
|
297
|
+
return this.x53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -304,7 +304,7 @@ function AttoWorkerCache$work$slambda_5() {
|
|
|
304
304
|
}
|
|
305
305
|
function AttoWorkerCache$work$slambda_6(this$0, $block) {
|
|
306
306
|
var i = new (AttoWorkerCache$work$slambda_5())(this$0, $block);
|
|
307
|
-
var l = (it, $completion) => i.
|
|
307
|
+
var l = (it, $completion) => i.x53(it, $completion);
|
|
308
308
|
l.$arity = 1;
|
|
309
309
|
return l;
|
|
310
310
|
}
|
|
@@ -313,25 +313,25 @@ function AttoWorkerCache() {
|
|
|
313
313
|
if (AttoWorkerCacheClass === VOID) {
|
|
314
314
|
class $ {
|
|
315
315
|
constructor(delegate, dispatcher) {
|
|
316
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
316
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
|
|
317
|
+
this.r53_1 = delegate;
|
|
318
|
+
this.s53_1 = CoroutineScope_0(dispatcher.dl(SupervisorJob()));
|
|
319
|
+
this.t53_1 = Mutex();
|
|
320
|
+
this.u53_1 = HashMap().z8();
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
a53(threshold, target, $completion) {
|
|
323
323
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h.bind(VOID, this, threshold, target), $completion);
|
|
324
324
|
}
|
|
325
|
-
|
|
325
|
+
b53(network, timestamp, target, $completion) {
|
|
326
326
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h_0.bind(VOID, this, network, timestamp, target), $completion);
|
|
327
327
|
}
|
|
328
|
-
|
|
328
|
+
c53(block, $completion) {
|
|
329
329
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h_1.bind(VOID, this, block), $completion);
|
|
330
330
|
}
|
|
331
|
-
|
|
332
|
-
this.
|
|
333
|
-
cancel(this.
|
|
334
|
-
this.
|
|
331
|
+
u6() {
|
|
332
|
+
this.u53_1.u4();
|
|
333
|
+
cancel(this.s53_1);
|
|
334
|
+
this.r53_1.u6();
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
initMetadataForClass($, 'AttoWorkerCache', VOID, VOID, [AttoWorker()], [2, 3, 1]);
|
|
@@ -54,38 +54,38 @@ function AttoWorkerCpu() {
|
|
|
54
54
|
if (AttoWorkerCpuClass === VOID) {
|
|
55
55
|
class $ {
|
|
56
56
|
constructor(parallelism) {
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
57
|
+
this.f54_1 = parallelism;
|
|
58
|
+
this.g54_1 = SupervisorJob();
|
|
59
59
|
var tmp = this;
|
|
60
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
60
|
+
var tmp_0 = Dispatchers_getInstance().o20_1;
|
|
61
61
|
// Inline function 'kotlin.UShort.toInt' call
|
|
62
|
-
var this_0 = this.
|
|
62
|
+
var this_0 = this.f54_1;
|
|
63
63
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(this_0) & 65535;
|
|
64
|
-
tmp.
|
|
64
|
+
tmp.h54_1 = tmp_0.o1w(tmp$ret$0);
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
var controller = new (WorkerController())(this.
|
|
68
|
-
return controller.
|
|
66
|
+
a53(threshold, target, $completion) {
|
|
67
|
+
var controller = new (WorkerController())(this.h54_1.dl(this.g54_1).dl(Job()), this.f54_1, threshold, target.p4t_1);
|
|
68
|
+
return controller.n54($completion);
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
this.
|
|
70
|
+
u6() {
|
|
71
|
+
this.g54_1.m1r();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
protoOf($).
|
|
75
|
-
protoOf($).
|
|
74
|
+
protoOf($).b53 = work;
|
|
75
|
+
protoOf($).c53 = work_0;
|
|
76
76
|
initMetadataForClass($, 'AttoWorkerCpu', VOID, VOID, [AttoWorker()], [2, 3, 1]);
|
|
77
77
|
AttoWorkerCpuClass = $;
|
|
78
78
|
}
|
|
79
79
|
return AttoWorkerCpuClass;
|
|
80
80
|
}
|
|
81
81
|
function tryComplete($this, work) {
|
|
82
|
-
if (!isValid(Companion_instance, $this.
|
|
82
|
+
if (!isValid(Companion_instance, $this.j54_1, $this.k54_1, work)) {
|
|
83
83
|
return false;
|
|
84
84
|
}
|
|
85
85
|
// Inline function 'kotlin.collections.copyOf' call
|
|
86
86
|
// Inline function 'kotlin.js.asDynamic' call
|
|
87
87
|
var tmp$ret$1 = work.slice();
|
|
88
|
-
return $this.
|
|
88
|
+
return $this.m54_1.i1w(new (AttoWork())(tmp$ret$1));
|
|
89
89
|
}
|
|
90
90
|
function incrementByteArray($this, byteArray) {
|
|
91
91
|
var carry = 1;
|
|
@@ -103,7 +103,7 @@ function incrementByteArray($this, byteArray) {
|
|
|
103
103
|
}
|
|
104
104
|
function WorkerController$result$lambda(this$0) {
|
|
105
105
|
return (it) => {
|
|
106
|
-
cancel(this$0.
|
|
106
|
+
cancel(this$0.l54_1);
|
|
107
107
|
return Unit_instance;
|
|
108
108
|
};
|
|
109
109
|
}
|
|
@@ -112,34 +112,34 @@ function WorkerController$calculate$slambda() {
|
|
|
112
112
|
if (WorkerController$calculate$slambdaClass === VOID) {
|
|
113
113
|
class $ {
|
|
114
114
|
constructor($i, $rangeSize, this$0) {
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
117
|
-
this.
|
|
115
|
+
this.o54_1 = $i;
|
|
116
|
+
this.p54_1 = $rangeSize;
|
|
117
|
+
this.q54_1 = this$0;
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
s28($this$launch, $completion) {
|
|
120
120
|
// Inline function 'kotlin.toULong' call
|
|
121
|
-
var this_0 = this.
|
|
121
|
+
var this_0 = this.o54_1;
|
|
122
122
|
var tmp0 = _ULong___init__impl__c78o9k(fromInt(this_0));
|
|
123
123
|
// Inline function 'kotlin.ULong.times' call
|
|
124
|
-
var other = this.
|
|
124
|
+
var other = this.p54_1;
|
|
125
125
|
var start = _ULong___init__impl__c78o9k(multiply(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
126
126
|
// Inline function 'kotlin.ULong.plus' call
|
|
127
|
-
var other_0 = this.
|
|
127
|
+
var other_0 = this.p54_1;
|
|
128
128
|
var end = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(start), _ULong___get_data__impl__fggpzb(other_0)));
|
|
129
129
|
var work = toByteArray(start);
|
|
130
130
|
var current = start;
|
|
131
131
|
while (!(current === end) && get_isActive($this$launch)) {
|
|
132
|
-
if (tryComplete(this.
|
|
132
|
+
if (tryComplete(this.q54_1, work))
|
|
133
133
|
return Unit_instance;
|
|
134
|
-
incrementByteArray(this.
|
|
134
|
+
incrementByteArray(this.q54_1, work);
|
|
135
135
|
// Inline function 'kotlin.ULong.inc' call
|
|
136
136
|
var this_1 = current;
|
|
137
137
|
current = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(this_1), get_ONE()));
|
|
138
138
|
}
|
|
139
139
|
return Unit_instance;
|
|
140
140
|
}
|
|
141
|
-
|
|
142
|
-
return this.
|
|
141
|
+
md(p1, $completion) {
|
|
142
|
+
return this.s28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -149,7 +149,7 @@ function WorkerController$calculate$slambda() {
|
|
|
149
149
|
}
|
|
150
150
|
function WorkerController$calculate$slambda_0($i, $rangeSize, this$0) {
|
|
151
151
|
var i = new (WorkerController$calculate$slambda())($i, $rangeSize, this$0);
|
|
152
|
-
var l = ($this$launch, $completion) => i.
|
|
152
|
+
var l = ($this$launch, $completion) => i.s28($this$launch, $completion);
|
|
153
153
|
l.$arity = 1;
|
|
154
154
|
return l;
|
|
155
155
|
}
|
|
@@ -158,25 +158,25 @@ function WorkerController() {
|
|
|
158
158
|
if (WorkerControllerClass === VOID) {
|
|
159
159
|
class $ {
|
|
160
160
|
constructor(context, parallelism, threshold, target) {
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
161
|
+
this.i54_1 = parallelism;
|
|
162
|
+
this.j54_1 = threshold;
|
|
163
|
+
this.k54_1 = target;
|
|
164
|
+
this.l54_1 = CoroutineScope_0(context);
|
|
165
165
|
var tmp = this;
|
|
166
166
|
// Inline function 'kotlin.apply' call
|
|
167
167
|
var this_0 = CompletableDeferred();
|
|
168
|
-
this_0.
|
|
169
|
-
tmp.
|
|
168
|
+
this_0.e1r(WorkerController$result$lambda(this));
|
|
169
|
+
tmp.m54_1 = this_0;
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
n54($completion) {
|
|
172
172
|
var tmp0 = _ULong___init__impl__c78o9k(-1n);
|
|
173
173
|
// Inline function 'kotlin.UShort.toULong' call
|
|
174
|
-
var this_0 = this.
|
|
174
|
+
var this_0 = this.i54_1;
|
|
175
175
|
// Inline function 'kotlin.ULong.div' call
|
|
176
176
|
var other = _ULong___init__impl__c78o9k(fromInt(_UShort___get_data__impl__g0245(this_0)) & 65535n);
|
|
177
177
|
var rangeSize = ulongDivide(tmp0, other);
|
|
178
178
|
// Inline function 'kotlin.UShort.toInt' call
|
|
179
|
-
var this_1 = this.
|
|
179
|
+
var this_1 = this.i54_1;
|
|
180
180
|
// Inline function 'kotlin.repeat' call
|
|
181
181
|
var times = _UShort___get_data__impl__g0245(this_1) & 65535;
|
|
182
182
|
var inductionVariable = 0;
|
|
@@ -184,10 +184,10 @@ function WorkerController() {
|
|
|
184
184
|
do {
|
|
185
185
|
var index = inductionVariable;
|
|
186
186
|
inductionVariable = inductionVariable + 1 | 0;
|
|
187
|
-
launch(this.
|
|
187
|
+
launch(this.l54_1, VOID, VOID, WorkerController$calculate$slambda_0(index, rangeSize, this));
|
|
188
188
|
}
|
|
189
189
|
while (inductionVariable < times);
|
|
190
|
-
return this.
|
|
190
|
+
return this.m54_1.p1s($completion);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
initMetadataForClass($, 'WorkerController', VOID, VOID, VOID, [0]);
|