@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
|
@@ -68,16 +68,16 @@ var CLIENT_CONFIG;
|
|
|
68
68
|
function *_generator_invoke__zhh2q8($this, $this$intercept, content, $completion) {
|
|
69
69
|
// Inline function 'kotlin.apply' call
|
|
70
70
|
var this_0 = new (HttpRequestBuilder())();
|
|
71
|
-
this_0.
|
|
71
|
+
this_0.w3k($this$intercept.p2u_1);
|
|
72
72
|
// Inline function 'io.ktor.client.request.setBody' call
|
|
73
73
|
if (content == null) {
|
|
74
|
-
this_0.
|
|
74
|
+
this_0.m3g_1 = NullBody_instance;
|
|
75
75
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
76
|
-
var tmp = PrimitiveClasses_getInstance().
|
|
76
|
+
var tmp = PrimitiveClasses_getInstance().qf();
|
|
77
77
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
78
78
|
var tmp_0;
|
|
79
79
|
try {
|
|
80
|
-
tmp_0 = createKType(PrimitiveClasses_getInstance().
|
|
80
|
+
tmp_0 = createKType(PrimitiveClasses_getInstance().qf(), arrayOf([]), false);
|
|
81
81
|
} catch ($p) {
|
|
82
82
|
var tmp_1;
|
|
83
83
|
if ($p instanceof Error) {
|
|
@@ -90,19 +90,19 @@ function *_generator_invoke__zhh2q8($this, $this$intercept, content, $completion
|
|
|
90
90
|
}
|
|
91
91
|
var tmp$ret$0 = tmp_0;
|
|
92
92
|
var tmp$ret$1 = new (TypeInfo())(tmp, tmp$ret$0);
|
|
93
|
-
this_0.
|
|
93
|
+
this_0.x3k(tmp$ret$1);
|
|
94
94
|
} else {
|
|
95
95
|
if (content instanceof OutgoingContent()) {
|
|
96
|
-
this_0.
|
|
97
|
-
this_0.
|
|
96
|
+
this_0.m3g_1 = content;
|
|
97
|
+
this_0.x3k(null);
|
|
98
98
|
} else {
|
|
99
|
-
this_0.
|
|
99
|
+
this_0.m3g_1 = content;
|
|
100
100
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
101
|
-
var tmp_2 = PrimitiveClasses_getInstance().
|
|
101
|
+
var tmp_2 = PrimitiveClasses_getInstance().qf();
|
|
102
102
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
103
103
|
var tmp_3;
|
|
104
104
|
try {
|
|
105
|
-
tmp_3 = createKType(PrimitiveClasses_getInstance().
|
|
105
|
+
tmp_3 = createKType(PrimitiveClasses_getInstance().qf(), arrayOf([]), false);
|
|
106
106
|
} catch ($p) {
|
|
107
107
|
var tmp_4;
|
|
108
108
|
if ($p instanceof Error) {
|
|
@@ -115,27 +115,27 @@ function *_generator_invoke__zhh2q8($this, $this$intercept, content, $completion
|
|
|
115
115
|
}
|
|
116
116
|
var tmp$ret$2 = tmp_3;
|
|
117
117
|
var tmp$ret$3 = new (TypeInfo())(tmp_2, tmp$ret$2);
|
|
118
|
-
this_0.
|
|
118
|
+
this_0.x3k(tmp$ret$3);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
var builder = this_0;
|
|
122
|
-
$this.
|
|
122
|
+
$this.y3k_1.y3f_1.v2v(get_HttpRequestIsReadyForSending(), builder);
|
|
123
123
|
// Inline function 'kotlin.apply' call
|
|
124
|
-
var this_1 = builder.
|
|
125
|
-
this_1.
|
|
124
|
+
var this_1 = builder.t2y();
|
|
125
|
+
this_1.f3l_1.b2q(get_CLIENT_CONFIG(), $this.y3k_1.z3f_1);
|
|
126
126
|
var requestData = this_1;
|
|
127
127
|
validateHeaders(requestData);
|
|
128
|
-
checkExtensions($this.
|
|
129
|
-
var tmp_5 = executeWithinCallContext($this.
|
|
128
|
+
checkExtensions($this.z3k_1, requestData);
|
|
129
|
+
var tmp_5 = executeWithinCallContext($this.z3k_1, requestData, $completion);
|
|
130
130
|
if (tmp_5 === get_COROUTINE_SUSPENDED())
|
|
131
131
|
tmp_5 = yield tmp_5;
|
|
132
132
|
var responseData = tmp_5;
|
|
133
|
-
var call = HttpClientCall().
|
|
134
|
-
var response = call.
|
|
135
|
-
$this.
|
|
136
|
-
var tmp_6 = get_job(response.
|
|
137
|
-
tmp_6.
|
|
138
|
-
var tmp_7 = $this$intercept.
|
|
133
|
+
var call = HttpClientCall().l3j($this.y3k_1, requestData, responseData);
|
|
134
|
+
var response = call.g3g();
|
|
135
|
+
$this.y3k_1.y3f_1.v2v(get_HttpResponseReceived(), response);
|
|
136
|
+
var tmp_6 = get_job(response.b1q());
|
|
137
|
+
tmp_6.e1r(HttpClientEngine$install$slambda$lambda($this.y3k_1, response));
|
|
138
|
+
var tmp_7 = $this$intercept.r2t(call, $completion);
|
|
139
139
|
if (tmp_7 === get_COROUTINE_SUSPENDED())
|
|
140
140
|
tmp_7 = yield tmp_7;
|
|
141
141
|
return Unit_instance;
|
|
@@ -144,24 +144,24 @@ function HttpClientEngine$install$slambda$lambda($client, $response) {
|
|
|
144
144
|
return (it) => {
|
|
145
145
|
var tmp;
|
|
146
146
|
if (!(it == null)) {
|
|
147
|
-
$client.
|
|
147
|
+
$client.y3f_1.v2v(get_HttpResponseCancelled(), $response);
|
|
148
148
|
tmp = Unit_instance;
|
|
149
149
|
}
|
|
150
150
|
return Unit_instance;
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
function _get_closed__iwkfs1($this) {
|
|
154
|
-
var tmp0_safe_receiver = $this.
|
|
155
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
154
|
+
var tmp0_safe_receiver = $this.b1q().ad(Key_instance);
|
|
155
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c1q();
|
|
156
156
|
return !(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
157
157
|
}
|
|
158
158
|
function *_generator_executeWithinCallContext__cpuknr($this, requestData, $completion) {
|
|
159
|
-
var tmp = createCallContext($this, requestData.
|
|
159
|
+
var tmp = createCallContext($this, requestData.e3l_1, $completion);
|
|
160
160
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
161
161
|
tmp = yield tmp;
|
|
162
162
|
var callContext = tmp;
|
|
163
|
-
var context = callContext.
|
|
164
|
-
var tmp_0 = async($this, context, VOID, HttpClientEngine$executeWithinCallContext$slambda_0($this, requestData)).
|
|
163
|
+
var context = callContext.dl(new (KtorCallContextElement())(callContext));
|
|
164
|
+
var tmp_0 = async($this, context, VOID, HttpClientEngine$executeWithinCallContext$slambda_0($this, requestData)).p1s($completion);
|
|
165
165
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
166
166
|
tmp_0 = yield tmp_0;
|
|
167
167
|
return tmp_0;
|
|
@@ -170,11 +170,11 @@ function executeWithinCallContext($this, requestData, $completion) {
|
|
|
170
170
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_executeWithinCallContext__cpuknr.bind(VOID, $this, requestData), $completion);
|
|
171
171
|
}
|
|
172
172
|
function checkExtensions($this, requestData) {
|
|
173
|
-
var _iterator__ex2g4s = requestData.
|
|
173
|
+
var _iterator__ex2g4s = requestData.g3l_1.q1();
|
|
174
174
|
while (_iterator__ex2g4s.r1()) {
|
|
175
175
|
var requestedExtension = _iterator__ex2g4s.s1();
|
|
176
176
|
// Inline function 'kotlin.require' call
|
|
177
|
-
if (!$this.
|
|
177
|
+
if (!$this.h3l().o3(requestedExtension)) {
|
|
178
178
|
var message = "Engine doesn't support " + toString(requestedExtension);
|
|
179
179
|
throw IllegalArgumentException().s2(toString(message));
|
|
180
180
|
}
|
|
@@ -185,15 +185,15 @@ function HttpClientEngine$install$slambda() {
|
|
|
185
185
|
if (HttpClientEngine$install$slambdaClass === VOID) {
|
|
186
186
|
class $ {
|
|
187
187
|
constructor($client, this$0) {
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
188
|
+
this.y3k_1 = $client;
|
|
189
|
+
this.z3k_1 = this$0;
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
p3g($this$intercept, content, $completion) {
|
|
192
192
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$intercept, content), $completion);
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
nd(p1, p2, $completion) {
|
|
195
195
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
196
|
-
return this.
|
|
196
|
+
return this.p3g(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -203,7 +203,7 @@ function HttpClientEngine$install$slambda() {
|
|
|
203
203
|
}
|
|
204
204
|
function HttpClientEngine$install$slambda_0($client, this$0) {
|
|
205
205
|
var i = new (HttpClientEngine$install$slambda())($client, this$0);
|
|
206
|
-
var l = ($this$intercept, content, $completion) => i.
|
|
206
|
+
var l = ($this$intercept, content, $completion) => i.p3g($this$intercept, content, $completion);
|
|
207
207
|
l.$arity = 2;
|
|
208
208
|
return l;
|
|
209
209
|
}
|
|
@@ -212,17 +212,17 @@ function HttpClientEngine$executeWithinCallContext$slambda() {
|
|
|
212
212
|
if (HttpClientEngine$executeWithinCallContext$slambdaClass === VOID) {
|
|
213
213
|
class $ {
|
|
214
214
|
constructor(this$0, $requestData) {
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
215
|
+
this.i3l_1 = this$0;
|
|
216
|
+
this.j3l_1 = $requestData;
|
|
217
217
|
}
|
|
218
|
-
|
|
219
|
-
if (_get_closed__iwkfs1(this.
|
|
220
|
-
throw ClientEngineClosedException().
|
|
218
|
+
s28($this$async, $completion) {
|
|
219
|
+
if (_get_closed__iwkfs1(this.i3l_1)) {
|
|
220
|
+
throw ClientEngineClosedException().p3l();
|
|
221
221
|
}
|
|
222
|
-
return this.
|
|
222
|
+
return this.i3l_1.q3l(this.j3l_1, $completion);
|
|
223
223
|
}
|
|
224
|
-
|
|
225
|
-
return this.
|
|
224
|
+
md(p1, $completion) {
|
|
225
|
+
return this.s28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -232,7 +232,7 @@ function HttpClientEngine$executeWithinCallContext$slambda() {
|
|
|
232
232
|
}
|
|
233
233
|
function HttpClientEngine$executeWithinCallContext$slambda_0(this$0, $requestData) {
|
|
234
234
|
var i = new (HttpClientEngine$executeWithinCallContext$slambda())(this$0, $requestData);
|
|
235
|
-
var l = ($this$async, $completion) => i.
|
|
235
|
+
var l = ($this$async, $completion) => i.s28($this$async, $completion);
|
|
236
236
|
l.$arity = 1;
|
|
237
237
|
return l;
|
|
238
238
|
}
|
|
@@ -240,8 +240,8 @@ function get_supportedCapabilities() {
|
|
|
240
240
|
return emptySet();
|
|
241
241
|
}
|
|
242
242
|
function install(client) {
|
|
243
|
-
var tmp = Phases_getInstance().
|
|
244
|
-
client.
|
|
243
|
+
var tmp = Phases_getInstance().x3g_1;
|
|
244
|
+
client.u3f_1.t2u(tmp, HttpClientEngine$install$slambda_0(client, this));
|
|
245
245
|
}
|
|
246
246
|
var HttpClientEngineClass;
|
|
247
247
|
function HttpClientEngine() {
|
|
@@ -254,32 +254,32 @@ function HttpClientEngine() {
|
|
|
254
254
|
}
|
|
255
255
|
function validateHeaders(request) {
|
|
256
256
|
_init_properties_HttpClientEngine_kt__h91z5h();
|
|
257
|
-
var requestHeaders = request.
|
|
257
|
+
var requestHeaders = request.c3l_1;
|
|
258
258
|
// Inline function 'kotlin.collections.filter' call
|
|
259
|
-
var tmp0 = requestHeaders.
|
|
259
|
+
var tmp0 = requestHeaders.t2r();
|
|
260
260
|
// Inline function 'kotlin.collections.filterTo' call
|
|
261
261
|
var destination = ArrayList().y2();
|
|
262
262
|
var _iterator__ex2g4s = tmp0.q1();
|
|
263
263
|
while (_iterator__ex2g4s.r1()) {
|
|
264
264
|
var element = _iterator__ex2g4s.s1();
|
|
265
|
-
if (HttpHeaders_getInstance().
|
|
265
|
+
if (HttpHeaders_getInstance().q32_1.o3(element)) {
|
|
266
266
|
destination.h2(element);
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
var unsafeRequestHeaders = destination;
|
|
270
270
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
271
271
|
if (!unsafeRequestHeaders.o1()) {
|
|
272
|
-
throw UnsafeHeaderException().
|
|
272
|
+
throw UnsafeHeaderException().o33(toString(unsafeRequestHeaders));
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
function createCallContext(_this__u8e3s4, parentJob, $completion) {
|
|
276
276
|
var callJob = Job(parentJob);
|
|
277
|
-
var callContext = _this__u8e3s4.
|
|
277
|
+
var callContext = _this__u8e3s4.b1q().dl(callJob).dl(get_CALL_COROUTINE());
|
|
278
278
|
$l$block: {
|
|
279
279
|
// Inline function 'io.ktor.client.engine.attachToUserJob' call
|
|
280
280
|
// Inline function 'kotlinx.coroutines.currentCoroutineContext' call
|
|
281
281
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
282
|
-
var tmp0_elvis_lhs = $completion.
|
|
282
|
+
var tmp0_elvis_lhs = $completion.kc().ad(Key_instance);
|
|
283
283
|
var tmp;
|
|
284
284
|
if (tmp0_elvis_lhs == null) {
|
|
285
285
|
break $l$block;
|
|
@@ -287,8 +287,8 @@ function createCallContext(_this__u8e3s4, parentJob, $completion) {
|
|
|
287
287
|
tmp = tmp0_elvis_lhs;
|
|
288
288
|
}
|
|
289
289
|
var userJob = tmp;
|
|
290
|
-
var cleanupHandler = userJob.
|
|
291
|
-
callJob.
|
|
290
|
+
var cleanupHandler = userJob.g1r(true, VOID, createCallContext$lambda(callJob));
|
|
291
|
+
callJob.e1r(createCallContext$lambda_0(cleanupHandler));
|
|
292
292
|
}
|
|
293
293
|
return callContext;
|
|
294
294
|
}
|
|
@@ -296,13 +296,13 @@ function createCallContext$lambda($callJob) {
|
|
|
296
296
|
return (cause) => {
|
|
297
297
|
if (cause == null)
|
|
298
298
|
return Unit_instance;
|
|
299
|
-
$callJob.
|
|
299
|
+
$callJob.l1r(CancellationException().n(cause.message));
|
|
300
300
|
return Unit_instance;
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
function createCallContext$lambda_0($cleanupHandler) {
|
|
304
304
|
return (it) => {
|
|
305
|
-
$cleanupHandler.
|
|
305
|
+
$cleanupHandler.i1t();
|
|
306
306
|
return Unit_instance;
|
|
307
307
|
};
|
|
308
308
|
}
|
|
@@ -29,71 +29,71 @@ var ClientEngineClosedExceptionClass;
|
|
|
29
29
|
function ClientEngineClosedException() {
|
|
30
30
|
if (ClientEngineClosedExceptionClass === VOID) {
|
|
31
31
|
class $ extends IllegalStateException() {
|
|
32
|
-
static
|
|
32
|
+
static p3l(cause) {
|
|
33
33
|
cause = cause === VOID ? null : cause;
|
|
34
34
|
var $this = this.o('Client already closed');
|
|
35
|
-
captureStack($this, $this.
|
|
36
|
-
$this.
|
|
35
|
+
captureStack($this, $this.o3l_1);
|
|
36
|
+
$this.n3l_1 = cause;
|
|
37
37
|
delete $this.cause;
|
|
38
38
|
return $this;
|
|
39
39
|
}
|
|
40
40
|
s() {
|
|
41
|
-
return this.
|
|
41
|
+
return this.n3l_1;
|
|
42
42
|
}
|
|
43
43
|
get cause() {
|
|
44
44
|
return this.s();
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
initMetadataForClass($, 'ClientEngineClosedException', $.
|
|
47
|
+
initMetadataForClass($, 'ClientEngineClosedException', $.p3l);
|
|
48
48
|
ClientEngineClosedExceptionClass = $;
|
|
49
49
|
}
|
|
50
50
|
return ClientEngineClosedExceptionClass;
|
|
51
51
|
}
|
|
52
52
|
function HttpClientEngineBase$dispatcher$delegate$lambda(this$0) {
|
|
53
53
|
return () => {
|
|
54
|
-
var tmp0_elvis_lhs = this$0.
|
|
54
|
+
var tmp0_elvis_lhs = this$0.s3g().s3l_1;
|
|
55
55
|
return tmp0_elvis_lhs == null ? ioDispatcher() : tmp0_elvis_lhs;
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
function HttpClientEngineBase$_get_dispatcher_$ref_kz5x8v() {
|
|
59
|
-
return (p0) => p0.
|
|
59
|
+
return (p0) => p0.z3l();
|
|
60
60
|
}
|
|
61
61
|
function HttpClientEngineBase$coroutineContext$delegate$lambda(this$0) {
|
|
62
|
-
return () => SilentSupervisor().
|
|
62
|
+
return () => SilentSupervisor().dl(this$0.z3l()).dl(new (CoroutineName())(this$0.v3l_1 + '-context'));
|
|
63
63
|
}
|
|
64
64
|
function HttpClientEngineBase$_get_coroutineContext_$ref_p82ehr() {
|
|
65
|
-
return (p0) => p0.
|
|
65
|
+
return (p0) => p0.b1q();
|
|
66
66
|
}
|
|
67
67
|
var HttpClientEngineBaseClass;
|
|
68
68
|
function HttpClientEngineBase() {
|
|
69
69
|
if (HttpClientEngineBaseClass === VOID) {
|
|
70
70
|
class $ {
|
|
71
71
|
constructor(engineName) {
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
72
|
+
this.v3l_1 = engineName;
|
|
73
|
+
this.w3l_1 = atomic$boolean$1(false);
|
|
74
74
|
var tmp = this;
|
|
75
|
-
tmp.
|
|
75
|
+
tmp.x3l_1 = lazy(HttpClientEngineBase$dispatcher$delegate$lambda(this));
|
|
76
76
|
var tmp_0 = this;
|
|
77
|
-
tmp_0.
|
|
77
|
+
tmp_0.y3l_1 = lazy(HttpClientEngineBase$coroutineContext$delegate$lambda(this));
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
var tmp0 = this.
|
|
79
|
+
z3l() {
|
|
80
|
+
var tmp0 = this.x3l_1;
|
|
81
81
|
var tmp = KProperty1();
|
|
82
82
|
// Inline function 'kotlin.getValue' call
|
|
83
83
|
getPropertyCallableRef('dispatcher', 1, tmp, HttpClientEngineBase$_get_dispatcher_$ref_kz5x8v(), null);
|
|
84
84
|
return tmp0.g3();
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
var tmp0 = this.
|
|
86
|
+
b1q() {
|
|
87
|
+
var tmp0 = this.y3l_1;
|
|
88
88
|
var tmp = KProperty1();
|
|
89
89
|
// Inline function 'kotlin.getValue' call
|
|
90
90
|
getPropertyCallableRef('coroutineContext', 1, tmp, HttpClientEngineBase$_get_coroutineContext_$ref_p82ehr(), null);
|
|
91
91
|
return tmp0.g3();
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
if (!this.
|
|
93
|
+
u6() {
|
|
94
|
+
if (!this.w3l_1.atomicfu$compareAndSet(false, true))
|
|
95
95
|
return Unit_instance;
|
|
96
|
-
var tmp = this.
|
|
96
|
+
var tmp = this.b1q().ad(Key_instance);
|
|
97
97
|
var tmp0_elvis_lhs = (!(tmp == null) ? isInterface(tmp, CompletableJob()) : false) ? tmp : null;
|
|
98
98
|
var tmp_0;
|
|
99
99
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -102,11 +102,11 @@ function HttpClientEngineBase() {
|
|
|
102
102
|
tmp_0 = tmp0_elvis_lhs;
|
|
103
103
|
}
|
|
104
104
|
var requestJob = tmp_0;
|
|
105
|
-
requestJob.
|
|
105
|
+
requestJob.k1w();
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
protoOf($).
|
|
109
|
-
protoOf($).
|
|
108
|
+
protoOf($).h3l = get_supportedCapabilities;
|
|
109
|
+
protoOf($).t3g = install;
|
|
110
110
|
initMetadataForClass($, 'HttpClientEngineBase', VOID, VOID, [HttpClientEngine()], [1]);
|
|
111
111
|
HttpClientEngineBaseClass = $;
|
|
112
112
|
}
|
|
@@ -43,7 +43,7 @@ function _init_properties_HttpClientEngineCapability_kt__ifvyst() {
|
|
|
43
43
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
44
44
|
var tmp_0;
|
|
45
45
|
try {
|
|
46
|
-
tmp_0 = createKType(getKClass(KtMutableMap()), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpClientEngineCapability()), arrayOf([getStarKTypeProjection()]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().
|
|
46
|
+
tmp_0 = createKType(getKClass(KtMutableMap()), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpClientEngineCapability()), arrayOf([getStarKTypeProjection()]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().qf(), arrayOf([]), false))]), false);
|
|
47
47
|
} catch ($p) {
|
|
48
48
|
var tmp_1;
|
|
49
49
|
if ($p instanceof Error) {
|
|
@@ -9,10 +9,10 @@ function HttpClientEngineConfig() {
|
|
|
9
9
|
if (HttpClientEngineConfigClass === VOID) {
|
|
10
10
|
class $ {
|
|
11
11
|
constructor() {
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
15
|
-
this.
|
|
12
|
+
this.r3l_1 = 4;
|
|
13
|
+
this.s3l_1 = null;
|
|
14
|
+
this.t3l_1 = false;
|
|
15
|
+
this.u3l_1 = null;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
initMetadataForClass($, 'HttpClientEngineConfig', HttpClientEngineConfig);
|
|
@@ -14,8 +14,8 @@ function Node() {
|
|
|
14
14
|
if (NodeClass === VOID) {
|
|
15
15
|
class $ {
|
|
16
16
|
constructor(item, next) {
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
17
|
+
this.o3y_1 = item;
|
|
18
|
+
this.p3y_1 = next;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
initMetadataForClass($, 'Node');
|
|
@@ -28,15 +28,15 @@ function engines$iterator$1() {
|
|
|
28
28
|
if (engines$iterator$1Class === VOID) {
|
|
29
29
|
class $ {
|
|
30
30
|
constructor() {
|
|
31
|
-
this.
|
|
31
|
+
this.q3y_1 = engines_getInstance().u3x_1.kotlinx$atomicfu$value;
|
|
32
32
|
}
|
|
33
33
|
s1() {
|
|
34
|
-
var result = ensureNotNull(this.
|
|
35
|
-
this.
|
|
36
|
-
return result.
|
|
34
|
+
var result = ensureNotNull(this.q3y_1);
|
|
35
|
+
this.q3y_1 = result.p3y_1;
|
|
36
|
+
return result.o3y_1;
|
|
37
37
|
}
|
|
38
38
|
r1() {
|
|
39
|
-
return !(null == this.
|
|
39
|
+
return !(null == this.q3y_1);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
initMetadataForClass($);
|
|
@@ -50,13 +50,13 @@ function engines() {
|
|
|
50
50
|
class $ {
|
|
51
51
|
constructor() {
|
|
52
52
|
engines_instance = this;
|
|
53
|
-
this.
|
|
53
|
+
this.u3x_1 = atomic$ref$1(null);
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
v3x(item) {
|
|
56
56
|
$l$loop: while (true) {
|
|
57
|
-
var current = this.
|
|
57
|
+
var current = this.u3x_1.kotlinx$atomicfu$value;
|
|
58
58
|
var new_0 = new (Node())(item, current);
|
|
59
|
-
if (this.
|
|
59
|
+
if (this.u3x_1.atomicfu$compareAndSet(current, new_0))
|
|
60
60
|
break $l$loop;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -50,16 +50,16 @@ function KtorCallContextElement() {
|
|
|
50
50
|
if (KtorCallContextElementClass === VOID) {
|
|
51
51
|
class $ {
|
|
52
52
|
constructor(callContext) {
|
|
53
|
-
this.
|
|
53
|
+
this.a3m_1 = callContext;
|
|
54
54
|
}
|
|
55
55
|
f3() {
|
|
56
56
|
return Companion_instance;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
protoOf($).
|
|
60
|
-
protoOf($).
|
|
61
|
-
protoOf($).
|
|
62
|
-
protoOf($).
|
|
59
|
+
protoOf($).ad = get;
|
|
60
|
+
protoOf($).cl = fold;
|
|
61
|
+
protoOf($).bl = minusKey;
|
|
62
|
+
protoOf($).dl = plus;
|
|
63
63
|
initMetadataForClass($, 'KtorCallContextElement', VOID, VOID, [Element()]);
|
|
64
64
|
KtorCallContextElementClass = $;
|
|
65
65
|
}
|
|
@@ -67,57 +67,57 @@ function KtorCallContextElement() {
|
|
|
67
67
|
}
|
|
68
68
|
function callContext($completion) {
|
|
69
69
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
70
|
-
var tmp$ret$0 = $completion.
|
|
71
|
-
return ensureNotNull(tmp$ret$0.
|
|
70
|
+
var tmp$ret$0 = $completion.kc();
|
|
71
|
+
return ensureNotNull(tmp$ret$0.ad(Companion_instance)).a3m_1;
|
|
72
72
|
}
|
|
73
73
|
function mergeHeaders(requestHeaders, content, block) {
|
|
74
74
|
_init_properties_Utils_kt__jo07cx();
|
|
75
75
|
var tmp = buildHeaders(mergeHeaders$lambda(requestHeaders, content));
|
|
76
|
-
tmp.
|
|
77
|
-
var missingAgent = requestHeaders.
|
|
76
|
+
tmp.y2r(mergeHeaders$lambda_0(block));
|
|
77
|
+
var missingAgent = requestHeaders.t1g(HttpHeaders_getInstance().s31_1) == null && content.p33().t1g(HttpHeaders_getInstance().s31_1) == null;
|
|
78
78
|
if (missingAgent && needUserAgent()) {
|
|
79
|
-
block(HttpHeaders_getInstance().
|
|
79
|
+
block(HttpHeaders_getInstance().s31_1, get_KTOR_DEFAULT_USER_AGENT());
|
|
80
80
|
}
|
|
81
|
-
var tmp0_safe_receiver = content.
|
|
81
|
+
var tmp0_safe_receiver = content.f39();
|
|
82
82
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
83
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? content.
|
|
84
|
-
var type = tmp2_elvis_lhs == null ? requestHeaders.
|
|
85
|
-
var tmp3_safe_receiver = content.
|
|
83
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? content.p33().t1g(HttpHeaders_getInstance().m2z_1) : tmp1_elvis_lhs;
|
|
84
|
+
var type = tmp2_elvis_lhs == null ? requestHeaders.t1g(HttpHeaders_getInstance().m2z_1) : tmp2_elvis_lhs;
|
|
85
|
+
var tmp3_safe_receiver = content.g39();
|
|
86
86
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
|
|
87
|
-
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? content.
|
|
88
|
-
var length = tmp5_elvis_lhs == null ? requestHeaders.
|
|
87
|
+
var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? content.p33().t1g(HttpHeaders_getInstance().j2z_1) : tmp4_elvis_lhs;
|
|
88
|
+
var length = tmp5_elvis_lhs == null ? requestHeaders.t1g(HttpHeaders_getInstance().j2z_1) : tmp5_elvis_lhs;
|
|
89
89
|
if (type == null)
|
|
90
90
|
null;
|
|
91
91
|
else {
|
|
92
92
|
// Inline function 'kotlin.let' call
|
|
93
|
-
block(HttpHeaders_getInstance().
|
|
93
|
+
block(HttpHeaders_getInstance().m2z_1, type);
|
|
94
94
|
}
|
|
95
95
|
if (length == null)
|
|
96
96
|
null;
|
|
97
97
|
else {
|
|
98
98
|
// Inline function 'kotlin.let' call
|
|
99
|
-
block(HttpHeaders_getInstance().
|
|
99
|
+
block(HttpHeaders_getInstance().j2z_1, length);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function needUserAgent() {
|
|
103
103
|
_init_properties_Utils_kt__jo07cx();
|
|
104
|
-
return !PlatformUtils_getInstance().
|
|
104
|
+
return !PlatformUtils_getInstance().e2r_1;
|
|
105
105
|
}
|
|
106
106
|
function mergeHeaders$lambda($requestHeaders, $content) {
|
|
107
107
|
return ($this$buildHeaders) => {
|
|
108
|
-
$this$buildHeaders.
|
|
109
|
-
$this$buildHeaders.
|
|
108
|
+
$this$buildHeaders.x2r($requestHeaders);
|
|
109
|
+
$this$buildHeaders.x2r($content.p33());
|
|
110
110
|
return Unit_instance;
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
function mergeHeaders$lambda_0($block) {
|
|
114
114
|
return (key, values) => {
|
|
115
115
|
var tmp;
|
|
116
|
-
if (HttpHeaders_getInstance().
|
|
116
|
+
if (HttpHeaders_getInstance().j2z_1 === key) {
|
|
117
117
|
return Unit_instance;
|
|
118
118
|
}
|
|
119
119
|
var tmp_0;
|
|
120
|
-
if (HttpHeaders_getInstance().
|
|
120
|
+
if (HttpHeaders_getInstance().m2z_1 === key) {
|
|
121
121
|
return Unit_instance;
|
|
122
122
|
}
|
|
123
123
|
var tmp_1;
|
|
@@ -130,7 +130,7 @@ function mergeHeaders$lambda_0($block) {
|
|
|
130
130
|
}
|
|
131
131
|
tmp_1 = Unit_instance;
|
|
132
132
|
} else {
|
|
133
|
-
var separator = HttpHeaders_getInstance().
|
|
133
|
+
var separator = HttpHeaders_getInstance().n2z_1 === key ? '; ' : ',';
|
|
134
134
|
tmp_1 = $block(key, joinToString(values, separator));
|
|
135
135
|
}
|
|
136
136
|
return Unit_instance;
|
|
@@ -141,7 +141,7 @@ function _init_properties_Utils_kt__jo07cx() {
|
|
|
141
141
|
if (!properties_initialized_Utils_kt_xvi83j) {
|
|
142
142
|
properties_initialized_Utils_kt_xvi83j = true;
|
|
143
143
|
KTOR_DEFAULT_USER_AGENT = 'ktor-client';
|
|
144
|
-
DATE_HEADERS = setOf([HttpHeaders_getInstance().
|
|
144
|
+
DATE_HEADERS = setOf([HttpHeaders_getInstance().p2z_1, HttpHeaders_getInstance().v2z_1, HttpHeaders_getInstance().h30_1, HttpHeaders_getInstance().c30_1, HttpHeaders_getInstance().g30_1]);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
//region block: init
|
|
@@ -19,14 +19,14 @@ var JsClass;
|
|
|
19
19
|
function Js() {
|
|
20
20
|
if (JsClass === VOID) {
|
|
21
21
|
class $ {
|
|
22
|
-
|
|
22
|
+
n3x(block) {
|
|
23
23
|
// Inline function 'kotlin.apply' call
|
|
24
24
|
var this_0 = new (JsClientEngineConfig())();
|
|
25
25
|
block(this_0);
|
|
26
26
|
return new (JsClientEngine())(this_0);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return this.
|
|
28
|
+
r3h(block) {
|
|
29
|
+
return this.n3x(block);
|
|
30
30
|
}
|
|
31
31
|
toString() {
|
|
32
32
|
return 'Js';
|
|
@@ -61,8 +61,8 @@ function JsClientEngineConfig() {
|
|
|
61
61
|
constructor() {
|
|
62
62
|
super();
|
|
63
63
|
var tmp = this;
|
|
64
|
-
tmp.
|
|
65
|
-
this.
|
|
64
|
+
tmp.s3x_1 = JsClientEngineConfig$requestInit$lambda;
|
|
65
|
+
this.t3x_1 = Object.create(null);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
initMetadataForClass($, 'JsClientEngineConfig', JsClientEngineConfig);
|
|
@@ -71,7 +71,7 @@ function JsClientEngineConfig() {
|
|
|
71
71
|
return JsClientEngineConfigClass;
|
|
72
72
|
}
|
|
73
73
|
function initHook$init$() {
|
|
74
|
-
engines_getInstance().
|
|
74
|
+
engines_getInstance().v3x(Js_instance);
|
|
75
75
|
return Unit_instance;
|
|
76
76
|
}
|
|
77
77
|
//region block: init
|