@attocash/commons-js 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +40 -46
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +31 -68
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +41 -41
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +105 -105
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -69,25 +69,25 @@ function *_generator_invoke__zhh2q8($this, $this$intercept, call, $completion) {
|
|
|
69
69
|
var message = 'Error: HttpClientCall expected, but found ' + toString(call) + '(' + toString(getKClassFromExpression(call)) + ').';
|
|
70
70
|
throw IllegalStateException().o(toString(message));
|
|
71
71
|
}
|
|
72
|
-
var tmp = $this.
|
|
72
|
+
var tmp = $this.n4o_1.i4o_1.d43(Unit_instance, call.t4o(), $completion);
|
|
73
73
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74
74
|
tmp = yield tmp;
|
|
75
75
|
var response = tmp;
|
|
76
|
-
call.
|
|
77
|
-
var tmp_0 = $this$intercept.
|
|
76
|
+
call.u4o(response);
|
|
77
|
+
var tmp_0 = $this$intercept.g42(call, $completion);
|
|
78
78
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
79
79
|
tmp_0 = yield tmp_0;
|
|
80
80
|
return Unit_instance;
|
|
81
81
|
}
|
|
82
82
|
function *_generator_invoke__zhh2q8_0($this, $this$intercept, it, $completion) {
|
|
83
83
|
try {
|
|
84
|
-
var tmp = $this$intercept.
|
|
84
|
+
var tmp = $this$intercept.h42($completion);
|
|
85
85
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
86
86
|
tmp = yield tmp;
|
|
87
87
|
} catch ($p) {
|
|
88
88
|
if ($p instanceof Error) {
|
|
89
89
|
var cause = $p;
|
|
90
|
-
$this.
|
|
90
|
+
$this.v4o_1.l4o_1.k44(get_HttpResponseReceiveFailed(), new (HttpResponseReceiveFail())($this$intercept.e43_1.t4o(), cause));
|
|
91
91
|
throw cause;
|
|
92
92
|
} else {
|
|
93
93
|
throw $p;
|
|
@@ -96,8 +96,8 @@ function *_generator_invoke__zhh2q8_0($this, $this$intercept, it, $completion) {
|
|
|
96
96
|
return Unit_instance;
|
|
97
97
|
}
|
|
98
98
|
function *_generator_execute__d6syw1($this, builder, $completion) {
|
|
99
|
-
$this.
|
|
100
|
-
var tmp = $this.
|
|
99
|
+
$this.l4o_1.k44(get_HttpRequestCreated(), builder);
|
|
100
|
+
var tmp = $this.f4o_1.d43(builder, builder.z4o_1, $completion);
|
|
101
101
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
102
102
|
tmp = yield tmp;
|
|
103
103
|
var tmp_0 = tmp;
|
|
@@ -107,7 +107,7 @@ function HttpClient$lambda(this$0) {
|
|
|
107
107
|
return (it) => {
|
|
108
108
|
var tmp;
|
|
109
109
|
if (!(it == null)) {
|
|
110
|
-
cancel(this$0.
|
|
110
|
+
cancel(this$0.z4n_1);
|
|
111
111
|
tmp = Unit_instance;
|
|
112
112
|
}
|
|
113
113
|
return Unit_instance;
|
|
@@ -118,14 +118,14 @@ function HttpClient$slambda() {
|
|
|
118
118
|
if (HttpClient$slambdaClass === VOID) {
|
|
119
119
|
class $ {
|
|
120
120
|
constructor(this$0) {
|
|
121
|
-
this.
|
|
121
|
+
this.n4o_1 = this$0;
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
c4p($this$intercept, call, $completion) {
|
|
124
124
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$intercept, call), $completion);
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
td(p1, p2, $completion) {
|
|
127
127
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
128
|
-
return this.
|
|
128
|
+
return this.c4p(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -135,7 +135,7 @@ function HttpClient$slambda() {
|
|
|
135
135
|
}
|
|
136
136
|
function HttpClient$slambda_0(this$0) {
|
|
137
137
|
var i = new (HttpClient$slambda())(this$0);
|
|
138
|
-
var l = ($this$intercept, call, $completion) => i.
|
|
138
|
+
var l = ($this$intercept, call, $completion) => i.c4p($this$intercept, call, $completion);
|
|
139
139
|
l.$arity = 2;
|
|
140
140
|
return l;
|
|
141
141
|
}
|
|
@@ -148,14 +148,14 @@ function HttpClient$slambda_1() {
|
|
|
148
148
|
if (HttpClient$slambdaClass_0 === VOID) {
|
|
149
149
|
class $ {
|
|
150
150
|
constructor(this$0) {
|
|
151
|
-
this.
|
|
151
|
+
this.v4o_1 = this$0;
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
d4p($this$intercept, it, $completion) {
|
|
154
154
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$intercept, it), $completion);
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
td(p1, p2, $completion) {
|
|
157
157
|
var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
|
|
158
|
-
return this.
|
|
158
|
+
return this.d4p(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
initMetadataForLambda($, VOID, VOID, [2]);
|
|
@@ -165,7 +165,7 @@ function HttpClient$slambda_1() {
|
|
|
165
165
|
}
|
|
166
166
|
function HttpClient$slambda_2(this$0) {
|
|
167
167
|
var i = new (HttpClient$slambda_1())(this$0);
|
|
168
|
-
var l = ($this$intercept, it, $completion) => i.
|
|
168
|
+
var l = ($this$intercept, it, $completion) => i.d4p($this$intercept, it, $completion);
|
|
169
169
|
l.$arity = 2;
|
|
170
170
|
return l;
|
|
171
171
|
}
|
|
@@ -173,84 +173,84 @@ var HttpClientClass;
|
|
|
173
173
|
function HttpClient() {
|
|
174
174
|
if (HttpClientClass === VOID) {
|
|
175
175
|
class $ {
|
|
176
|
-
static
|
|
176
|
+
static e4p(engine, userConfig) {
|
|
177
177
|
userConfig = userConfig === VOID ? new (HttpClientConfig())() : userConfig;
|
|
178
178
|
var $this = createThis(this);
|
|
179
|
-
$this.
|
|
180
|
-
$this.
|
|
181
|
-
$this.
|
|
182
|
-
$this.
|
|
183
|
-
$this.
|
|
184
|
-
$this.
|
|
185
|
-
$this.
|
|
186
|
-
$this.
|
|
187
|
-
$this.
|
|
188
|
-
$this.
|
|
189
|
-
$this.
|
|
190
|
-
$this.
|
|
191
|
-
$this.
|
|
192
|
-
$this.
|
|
193
|
-
if ($this.
|
|
194
|
-
$this.
|
|
179
|
+
$this.z4n_1 = engine;
|
|
180
|
+
$this.a4o_1 = userConfig;
|
|
181
|
+
$this.b4o_1 = false;
|
|
182
|
+
$this.c4o_1 = atomic$boolean$1(false);
|
|
183
|
+
$this.d4o_1 = Job($this.z4n_1.xu().gd(Key_instance));
|
|
184
|
+
$this.e4o_1 = $this.z4n_1.xu().jl($this.d4o_1);
|
|
185
|
+
$this.f4o_1 = new (HttpRequestPipeline())();
|
|
186
|
+
$this.g4o_1 = new (HttpResponsePipeline())();
|
|
187
|
+
$this.h4o_1 = new (HttpSendPipeline())();
|
|
188
|
+
$this.i4o_1 = new (HttpReceivePipeline())();
|
|
189
|
+
$this.j4o_1 = AttributesJsFn(true);
|
|
190
|
+
$this.k4o_1 = $this.z4n_1.f4p();
|
|
191
|
+
$this.l4o_1 = new (Events())();
|
|
192
|
+
$this.m4o_1 = new (HttpClientConfig())();
|
|
193
|
+
if ($this.b4o_1) {
|
|
194
|
+
$this.d4o_1.aw(HttpClient$lambda($this));
|
|
195
195
|
}
|
|
196
|
-
$this.
|
|
197
|
-
var tmp = Phases_getInstance_0().
|
|
198
|
-
$this.
|
|
196
|
+
$this.z4n_1.g4p($this);
|
|
197
|
+
var tmp = Phases_getInstance_0().l4p_1;
|
|
198
|
+
$this.h4o_1.i43(tmp, HttpClient$slambda_0($this));
|
|
199
199
|
// Inline function 'kotlin.with' call
|
|
200
|
-
var $this$with = $this.
|
|
201
|
-
$this.
|
|
202
|
-
$this.
|
|
203
|
-
$this.
|
|
204
|
-
if ($this$with.
|
|
205
|
-
$this.
|
|
200
|
+
var $this$with = $this.a4o_1;
|
|
201
|
+
$this.m4o_1.u4p(get_HttpRequestLifecycle());
|
|
202
|
+
$this.m4o_1.u4p(get_BodyProgress());
|
|
203
|
+
$this.m4o_1.u4p(get_SaveBody());
|
|
204
|
+
if ($this$with.r4p_1) {
|
|
205
|
+
$this.m4o_1.v4p('DefaultTransformers', HttpClient$lambda_0);
|
|
206
206
|
}
|
|
207
|
-
$this.
|
|
208
|
-
$this.
|
|
209
|
-
if ($this$with.
|
|
210
|
-
$this.
|
|
207
|
+
$this.m4o_1.u4p(Plugin_getInstance());
|
|
208
|
+
$this.m4o_1.u4p(get_HttpCallValidator());
|
|
209
|
+
if ($this$with.q4p_1) {
|
|
210
|
+
$this.m4o_1.u4p(get_HttpRedirect());
|
|
211
211
|
}
|
|
212
|
-
$this.
|
|
213
|
-
if ($this$with.
|
|
214
|
-
$this.
|
|
212
|
+
$this.m4o_1.w4p($this$with);
|
|
213
|
+
if ($this$with.r4p_1) {
|
|
214
|
+
$this.m4o_1.u4p(get_HttpPlainText());
|
|
215
215
|
}
|
|
216
|
-
addDefaultResponseValidation($this.
|
|
217
|
-
$this.
|
|
218
|
-
var tmp_0 = Phases_getInstance().
|
|
219
|
-
$this.
|
|
216
|
+
addDefaultResponseValidation($this.m4o_1);
|
|
217
|
+
$this.m4o_1.g4p($this);
|
|
218
|
+
var tmp_0 = Phases_getInstance().x4p_1;
|
|
219
|
+
$this.g4o_1.i43(tmp_0, HttpClient$slambda_2($this));
|
|
220
220
|
return $this;
|
|
221
221
|
}
|
|
222
|
-
static
|
|
223
|
-
var $this = this.
|
|
224
|
-
$this.
|
|
222
|
+
static c4q(engine, userConfig, manageEngine) {
|
|
223
|
+
var $this = this.e4p(engine, userConfig);
|
|
224
|
+
$this.b4o_1 = manageEngine;
|
|
225
225
|
return $this;
|
|
226
226
|
}
|
|
227
|
-
|
|
228
|
-
return this.
|
|
227
|
+
xu() {
|
|
228
|
+
return this.e4o_1;
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
d4q(builder, $completion) {
|
|
231
231
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_execute__d6syw1.bind(VOID, this, builder), $completion);
|
|
232
232
|
}
|
|
233
|
-
|
|
234
|
-
var success = this.
|
|
233
|
+
v6() {
|
|
234
|
+
var success = this.c4o_1.atomicfu$compareAndSet(false, true);
|
|
235
235
|
if (!success)
|
|
236
236
|
return Unit_instance;
|
|
237
|
-
var installedFeatures = this.
|
|
237
|
+
var installedFeatures = this.j4o_1.m3y(get_PLUGIN_INSTALLED_LIST());
|
|
238
238
|
// Inline function 'kotlin.collections.forEach' call
|
|
239
|
-
var _iterator__ex2g4s = installedFeatures.
|
|
239
|
+
var _iterator__ex2g4s = installedFeatures.s3y().q1();
|
|
240
240
|
while (_iterator__ex2g4s.r1()) {
|
|
241
241
|
var element = _iterator__ex2g4s.s1();
|
|
242
|
-
var plugin = installedFeatures.
|
|
242
|
+
var plugin = installedFeatures.m3y(element instanceof AttributeKey() ? element : THROW_CCE());
|
|
243
243
|
if (isInterface(plugin, AutoCloseable())) {
|
|
244
|
-
plugin.
|
|
244
|
+
plugin.v6();
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
this.
|
|
248
|
-
if (this.
|
|
249
|
-
this.
|
|
247
|
+
this.d4o_1.g11();
|
|
248
|
+
if (this.b4o_1) {
|
|
249
|
+
this.z4n_1.v6();
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
toString() {
|
|
253
|
-
return 'HttpClient[' + toString(this.
|
|
253
|
+
return 'HttpClient[' + toString(this.z4n_1) + ']';
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
initMetadataForClass($, 'HttpClient', VOID, VOID, [CoroutineScope(), AutoCloseable()], [1]);
|
|
@@ -270,10 +270,10 @@ function HttpClient_0(engineFactory, block) {
|
|
|
270
270
|
var this_0 = new (HttpClientConfig())();
|
|
271
271
|
block(this_0);
|
|
272
272
|
var config = this_0;
|
|
273
|
-
var engine = engineFactory.
|
|
274
|
-
var client = HttpClient().
|
|
275
|
-
var tmp_0 = ensureNotNull(client.
|
|
276
|
-
tmp_0.
|
|
273
|
+
var engine = engineFactory.e4q(config.p4p_1);
|
|
274
|
+
var client = HttpClient().c4q(engine, config, true);
|
|
275
|
+
var tmp_0 = ensureNotNull(client.e4o_1.gd(Key_instance));
|
|
276
|
+
tmp_0.aw(HttpClient$lambda_2(engine));
|
|
277
277
|
return client;
|
|
278
278
|
}
|
|
279
279
|
function HttpClient$lambda_1(_this__u8e3s4) {
|
|
@@ -281,7 +281,7 @@ function HttpClient$lambda_1(_this__u8e3s4) {
|
|
|
281
281
|
}
|
|
282
282
|
function HttpClient$lambda_2($engine) {
|
|
283
283
|
return (it) => {
|
|
284
|
-
$engine.
|
|
284
|
+
$engine.v6();
|
|
285
285
|
return Unit_instance;
|
|
286
286
|
};
|
|
287
287
|
}
|
|
@@ -36,11 +36,11 @@ function HttpClientConfig$install$lambda$lambda() {
|
|
|
36
36
|
function HttpClientConfig$install$lambda_1($plugin) {
|
|
37
37
|
return (scope) => {
|
|
38
38
|
var tmp = get_PLUGIN_INSTALLED_LIST();
|
|
39
|
-
var attributes = scope.
|
|
40
|
-
var config = ensureNotNull(scope.
|
|
41
|
-
var pluginData = $plugin.
|
|
42
|
-
$plugin.
|
|
43
|
-
attributes.
|
|
39
|
+
var attributes = scope.j4o_1.r3y(tmp, HttpClientConfig$install$lambda$lambda);
|
|
40
|
+
var config = ensureNotNull(scope.m4o_1.n4p_1.t4($plugin.f3()));
|
|
41
|
+
var pluginData = $plugin.f4q(config);
|
|
42
|
+
$plugin.g4q(pluginData, scope);
|
|
43
|
+
attributes.p3y($plugin.f3(), pluginData);
|
|
44
44
|
return Unit_instance;
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -51,36 +51,36 @@ function HttpClientConfig() {
|
|
|
51
51
|
constructor() {
|
|
52
52
|
var tmp = this;
|
|
53
53
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
54
|
-
tmp.
|
|
54
|
+
tmp.m4p_1 = LinkedHashMap().t5();
|
|
55
55
|
var tmp_0 = this;
|
|
56
56
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
57
|
-
tmp_0.
|
|
57
|
+
tmp_0.n4p_1 = LinkedHashMap().t5();
|
|
58
58
|
var tmp_1 = this;
|
|
59
59
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
60
|
-
tmp_1.
|
|
60
|
+
tmp_1.o4p_1 = LinkedHashMap().t5();
|
|
61
61
|
var tmp_2 = this;
|
|
62
|
-
tmp_2.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
62
|
+
tmp_2.p4p_1 = HttpClientConfig$engineConfig$lambda;
|
|
63
|
+
this.q4p_1 = true;
|
|
64
|
+
this.r4p_1 = true;
|
|
65
|
+
this.s4p_1 = false;
|
|
66
|
+
this.t4p_1 = PlatformUtils_getInstance().z3z_1;
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
var previousConfigBlock = this.
|
|
70
|
-
var tmp0 = this.
|
|
68
|
+
h4q(plugin, configure) {
|
|
69
|
+
var previousConfigBlock = this.n4p_1.t4(plugin.f3());
|
|
70
|
+
var tmp0 = this.n4p_1;
|
|
71
71
|
var tmp2 = plugin.f3();
|
|
72
72
|
// Inline function 'kotlin.collections.set' call
|
|
73
73
|
var value = HttpClientConfig$install$lambda_0(previousConfigBlock, configure);
|
|
74
|
-
tmp0.
|
|
75
|
-
if (this.
|
|
74
|
+
tmp0.l4(tmp2, value);
|
|
75
|
+
if (this.m4p_1.r4(plugin.f3()))
|
|
76
76
|
return Unit_instance;
|
|
77
|
-
var tmp0_0 = this.
|
|
77
|
+
var tmp0_0 = this.m4p_1;
|
|
78
78
|
var tmp2_0 = plugin.f3();
|
|
79
79
|
// Inline function 'kotlin.collections.set' call
|
|
80
80
|
var value_0 = HttpClientConfig$install$lambda_1(plugin);
|
|
81
|
-
tmp0_0.
|
|
81
|
+
tmp0_0.l4(tmp2_0, value_0);
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
u4p(plugin, configure, $super) {
|
|
84
84
|
var tmp;
|
|
85
85
|
if (configure === VOID) {
|
|
86
86
|
tmp = HttpClientConfig$install$lambda;
|
|
@@ -90,49 +90,49 @@ function HttpClientConfig() {
|
|
|
90
90
|
configure = tmp;
|
|
91
91
|
var tmp_0;
|
|
92
92
|
if ($super === VOID) {
|
|
93
|
-
this.
|
|
93
|
+
this.h4q(plugin, configure);
|
|
94
94
|
tmp_0 = Unit_instance;
|
|
95
95
|
} else {
|
|
96
|
-
tmp_0 = $super.
|
|
96
|
+
tmp_0 = $super.h4q.call(this, plugin, configure);
|
|
97
97
|
}
|
|
98
98
|
return tmp_0;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
v4p(key, block) {
|
|
101
101
|
// Inline function 'kotlin.collections.set' call
|
|
102
|
-
this.
|
|
102
|
+
this.o4p_1.l4(key, block);
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
g4p(client) {
|
|
105
105
|
// Inline function 'kotlin.collections.forEach' call
|
|
106
|
-
var _iterator__ex2g4s = this.
|
|
106
|
+
var _iterator__ex2g4s = this.m4p_1.q4().q1();
|
|
107
107
|
while (_iterator__ex2g4s.r1()) {
|
|
108
108
|
var element = _iterator__ex2g4s.s1();
|
|
109
109
|
// Inline function 'kotlin.apply' call
|
|
110
110
|
element(client);
|
|
111
111
|
}
|
|
112
112
|
// Inline function 'kotlin.collections.forEach' call
|
|
113
|
-
var _iterator__ex2g4s_0 = this.
|
|
113
|
+
var _iterator__ex2g4s_0 = this.o4p_1.q4().q1();
|
|
114
114
|
while (_iterator__ex2g4s_0.r1()) {
|
|
115
115
|
var element_0 = _iterator__ex2g4s_0.s1();
|
|
116
116
|
// Inline function 'kotlin.apply' call
|
|
117
117
|
element_0(client);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
124
|
-
var tmp0 = this.
|
|
120
|
+
w4p(other) {
|
|
121
|
+
this.q4p_1 = other.q4p_1;
|
|
122
|
+
this.r4p_1 = other.r4p_1;
|
|
123
|
+
this.s4p_1 = other.s4p_1;
|
|
124
|
+
var tmp0 = this.m4p_1;
|
|
125
125
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
126
|
-
var map = other.
|
|
127
|
-
tmp0.
|
|
128
|
-
var tmp0_0 = this.
|
|
126
|
+
var map = other.m4p_1;
|
|
127
|
+
tmp0.n4(map);
|
|
128
|
+
var tmp0_0 = this.n4p_1;
|
|
129
129
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
130
|
-
var map_0 = other.
|
|
131
|
-
tmp0_0.
|
|
132
|
-
var tmp0_1 = this.
|
|
130
|
+
var map_0 = other.n4p_1;
|
|
131
|
+
tmp0_0.n4(map_0);
|
|
132
|
+
var tmp0_1 = this.o4p_1;
|
|
133
133
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
134
|
-
var map_1 = other.
|
|
135
|
-
tmp0_1.
|
|
134
|
+
var map_1 = other.o4p_1;
|
|
135
|
+
tmp0_1.n4(map_1);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
initMetadataForClass($, 'HttpClientConfig', HttpClientConfig);
|
|
@@ -8,18 +8,18 @@ import { HttpResponse1532ob1hsse1y as HttpResponse } from '../statement/HttpResp
|
|
|
8
8
|
//region block: pre-declaration
|
|
9
9
|
//endregion
|
|
10
10
|
function replaceResponse(_this__u8e3s4, headers, content) {
|
|
11
|
-
headers = headers === VOID ? _this__u8e3s4.
|
|
12
|
-
return DelegatedCall().
|
|
11
|
+
headers = headers === VOID ? _this__u8e3s4.t4o().d4c() : headers;
|
|
12
|
+
return DelegatedCall().n4q(_this__u8e3s4.o4o_1, _this__u8e3s4, content, headers);
|
|
13
13
|
}
|
|
14
14
|
var DelegatedCallClass;
|
|
15
15
|
function DelegatedCall() {
|
|
16
16
|
if (DelegatedCallClass === VOID) {
|
|
17
17
|
class $ extends HttpClientCall() {
|
|
18
|
-
static
|
|
19
|
-
responseHeaders = responseHeaders === VOID ? originCall.
|
|
20
|
-
var $this = this.
|
|
21
|
-
$this.
|
|
22
|
-
$this.
|
|
18
|
+
static n4q(client, originCall, responseContent, responseHeaders) {
|
|
19
|
+
responseHeaders = responseHeaders === VOID ? originCall.t4o().d4c() : responseHeaders;
|
|
20
|
+
var $this = this.o4q(client);
|
|
21
|
+
$this.q4o_1 = new (DelegatedRequest())($this, originCall.p4q());
|
|
22
|
+
$this.r4o_1 = new (DelegatedResponse())($this, originCall.t4o(), responseContent, responseHeaders);
|
|
23
23
|
return $this;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -33,26 +33,26 @@ function DelegatedRequest() {
|
|
|
33
33
|
if (DelegatedRequestClass === VOID) {
|
|
34
34
|
class $ {
|
|
35
35
|
constructor(call, origin) {
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
36
|
+
this.u4q_1 = origin;
|
|
37
|
+
this.v4q_1 = call;
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
return this.
|
|
39
|
+
w4q() {
|
|
40
|
+
return this.v4q_1;
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
return this.
|
|
42
|
+
xu() {
|
|
43
|
+
return this.u4q_1.xu();
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
return this.
|
|
45
|
+
x4q() {
|
|
46
|
+
return this.u4q_1.x4q();
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
return this.
|
|
48
|
+
y4q() {
|
|
49
|
+
return this.u4q_1.y4q();
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
return this.
|
|
51
|
+
q4q() {
|
|
52
|
+
return this.u4q_1.q4q();
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
return this.
|
|
54
|
+
d4c() {
|
|
55
|
+
return this.u4q_1.d4c();
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
initMetadataForClass($, 'DelegatedRequest', VOID, VOID, [HttpRequest()]);
|
|
@@ -65,37 +65,37 @@ function DelegatedResponse() {
|
|
|
65
65
|
if (DelegatedResponseClass === VOID) {
|
|
66
66
|
class $ extends HttpResponse() {
|
|
67
67
|
constructor(call, origin, content, headers) {
|
|
68
|
-
headers = headers === VOID ? origin.
|
|
68
|
+
headers = headers === VOID ? origin.d4c() : headers;
|
|
69
69
|
super();
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
70
|
+
this.z4q_1 = call;
|
|
71
|
+
this.a4r_1 = origin;
|
|
72
|
+
this.b4r_1 = content;
|
|
73
|
+
this.c4r_1 = headers;
|
|
74
|
+
this.d4r_1 = this.a4r_1.xu();
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
return this.
|
|
76
|
+
w4q() {
|
|
77
|
+
return this.z4q_1;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
return this.
|
|
79
|
+
d4c() {
|
|
80
|
+
return this.c4r_1;
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
return this.
|
|
82
|
+
e4r() {
|
|
83
|
+
return this.b4r_1(this.a4r_1);
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
return this.
|
|
85
|
+
xu() {
|
|
86
|
+
return this.d4r_1;
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
return this.
|
|
88
|
+
f4r() {
|
|
89
|
+
return this.a4r_1.f4r();
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
return this.
|
|
91
|
+
w2u() {
|
|
92
|
+
return this.a4r_1.w2u();
|
|
93
93
|
}
|
|
94
|
-
|
|
95
|
-
return this.
|
|
94
|
+
g4r() {
|
|
95
|
+
return this.a4r_1.g4r();
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
return this.
|
|
97
|
+
h4r() {
|
|
98
|
+
return this.a4r_1.h4r();
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
initMetadataForClass($, 'DelegatedResponse');
|