@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.
Files changed (542) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
  40. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
  41. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
  42. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
  43. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
  44. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
  45. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
  46. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
  47. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
  48. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
  49. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
  50. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
  51. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
  52. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  53. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
  54. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
  55. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
  56. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
  57. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
  58. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
  59. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
  60. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
  61. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
  62. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  63. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
  64. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
  65. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
  66. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
  67. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
  68. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
  69. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +13 -13
  70. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
  71. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
  72. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
  73. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
  74. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  75. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
  76. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
  77. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  78. package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
  79. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  80. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  81. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
  82. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
  83. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
  84. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
  85. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
  86. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
  87. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
  88. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
  89. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
  90. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
  91. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
  92. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
  93. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
  94. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
  95. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
  96. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
  97. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
  98. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
  99. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
  100. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
  101. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  102. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
  103. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
  104. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  105. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
  106. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
  107. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  108. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
  109. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
  110. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  111. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
  112. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
  113. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
  114. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
  115. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  116. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
  117. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  118. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
  119. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  120. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
  121. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  122. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
  123. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
  124. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
  125. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  126. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
  127. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
  128. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
  129. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  130. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
  131. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  132. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
  133. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
  134. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  135. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +40 -46
  136. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  137. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
  138. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
  139. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
  140. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
  141. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  142. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +31 -68
  143. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  144. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
  145. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
  146. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
  147. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
  148. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  149. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
  150. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
  151. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
  152. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  153. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
  154. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
  155. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
  156. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
  157. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
  158. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  159. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +6 -6
  160. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
  161. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  162. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
  163. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
  164. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +4 -4
  165. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
  166. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
  167. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
  168. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  169. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
  170. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
  171. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
  172. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
  173. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
  174. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
  175. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
  176. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
  177. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  178. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
  179. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
  180. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  181. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
  182. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  183. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  184. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  185. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  186. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  187. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
  188. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  189. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  190. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
  191. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  192. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  193. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  194. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
  195. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
  196. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  197. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  198. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  199. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
  200. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
  201. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  202. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
  203. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  204. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  205. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  206. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
  207. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  208. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  209. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  210. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  211. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  212. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
  213. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  214. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
  215. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  216. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  217. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  218. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  219. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
  220. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
  221. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
  222. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
  223. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
  224. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
  225. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  226. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
  227. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
  228. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
  229. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
  230. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  231. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
  232. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  233. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  234. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  235. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  236. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  237. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
  238. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
  239. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  240. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  241. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  242. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  243. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  244. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
  245. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  246. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
  247. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  248. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
  249. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  250. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
  251. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  252. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  253. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
  254. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  255. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  256. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  257. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
  258. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  259. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
  260. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
  261. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  262. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  263. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
  264. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  265. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  266. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
  267. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
  268. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  269. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  270. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
  271. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  272. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  273. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  274. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
  275. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  276. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
  277. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
  278. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
  279. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
  280. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
  281. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
  282. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  283. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
  284. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
  285. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
  286. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
  287. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
  288. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  289. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  290. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +41 -41
  291. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
  292. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  293. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
  294. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  295. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  296. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  297. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
  298. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  299. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
  300. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
  301. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  302. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  303. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  304. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  305. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  306. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  307. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
  308. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
  309. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
  310. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
  311. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
  312. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
  313. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
  314. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  315. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  316. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  317. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
  318. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  319. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  320. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
  321. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
  322. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
  323. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  324. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  325. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  326. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  327. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  328. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  329. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  330. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  331. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
  332. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  333. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  334. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  335. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  336. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  337. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  338. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  339. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
  340. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
  341. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
  342. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  343. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  344. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  345. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  346. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  347. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
  348. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  349. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  350. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  351. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  352. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  353. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  354. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  355. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  356. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  357. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  358. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
  359. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  360. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
  361. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
  362. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  363. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  364. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
  365. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  366. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  367. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  368. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
  369. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  370. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  371. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  372. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  373. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  374. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  375. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  376. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  377. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
  378. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  379. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  380. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  381. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  382. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
  383. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  384. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  385. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
  386. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  387. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  388. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  389. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
  390. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  391. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  392. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  393. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  394. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
  395. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
  396. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  397. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  398. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
  399. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
  400. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  401. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
  402. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
  403. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
  404. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  405. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  406. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  407. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
  408. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  409. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
  410. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  411. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
  412. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
  413. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
  414. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  415. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
  416. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
  417. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
  418. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
  419. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  420. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
  421. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
  422. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
  423. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
  424. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
  425. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
  426. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
  427. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  428. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  429. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
  430. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
  431. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  432. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
  433. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  434. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
  435. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  436. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  437. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
  438. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  439. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  440. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  441. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  442. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  443. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  444. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
  445. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  446. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  447. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  448. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  449. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  450. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
  451. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  452. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
  453. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  454. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
  455. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  456. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  457. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  458. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  459. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
  460. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  461. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  462. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
  463. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  464. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  465. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
  466. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
  467. package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
  468. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
  469. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  470. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  471. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  472. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  473. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
  474. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  475. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
  476. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
  477. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
  478. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  479. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  480. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  481. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  482. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
  483. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  484. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  485. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  486. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  487. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
  488. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  489. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
  490. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  491. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  492. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  493. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  494. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  495. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  496. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  497. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
  498. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  499. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  500. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  501. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  502. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  503. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  504. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  505. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  506. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  507. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  508. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  509. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  510. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
  511. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  512. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
  513. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
  514. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  515. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  516. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  517. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
  518. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  519. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
  520. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  521. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  522. package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
  523. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  524. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +105 -105
  525. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  526. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  527. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  528. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  529. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  530. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
  531. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
  532. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  533. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  534. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  535. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
  536. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  537. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  538. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
  539. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  540. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  541. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  542. 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.o4t($this$intercept.k43_1);
71
+ this_0.i4t($this$intercept.e43_1);
72
72
  // Inline function 'io.ktor.client.request.setBody' call
73
73
  if (content == null) {
74
- this_0.f4p_1 = NullBody_instance;
74
+ this_0.z4o_1 = NullBody_instance;
75
75
  // Inline function 'io.ktor.util.reflect.typeInfo' call
76
- var tmp = PrimitiveClasses_getInstance().ag();
76
+ var tmp = PrimitiveClasses_getInstance().wf();
77
77
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
78
78
  var tmp_0;
79
79
  try {
80
- tmp_0 = createKType(PrimitiveClasses_getInstance().ag(), arrayOf([]), false);
80
+ tmp_0 = createKType(PrimitiveClasses_getInstance().wf(), 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.p4t(tmp$ret$1);
93
+ this_0.j4t(tmp$ret$1);
94
94
  } else {
95
95
  if (content instanceof OutgoingContent()) {
96
- this_0.f4p_1 = content;
97
- this_0.p4t(null);
96
+ this_0.z4o_1 = content;
97
+ this_0.j4t(null);
98
98
  } else {
99
- this_0.f4p_1 = content;
99
+ this_0.z4o_1 = content;
100
100
  // Inline function 'io.ktor.util.reflect.typeInfo' call
101
- var tmp_2 = PrimitiveClasses_getInstance().ag();
101
+ var tmp_2 = PrimitiveClasses_getInstance().wf();
102
102
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
103
103
  var tmp_3;
104
104
  try {
105
- tmp_3 = createKType(PrimitiveClasses_getInstance().ag(), arrayOf([]), false);
105
+ tmp_3 = createKType(PrimitiveClasses_getInstance().wf(), 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.p4t(tmp$ret$3);
118
+ this_0.j4t(tmp$ret$3);
119
119
  }
120
120
  }
121
121
  var builder = this_0;
122
- $this.q4t_1.r4o_1.q44(get_HttpRequestIsReadyForSending(), builder);
122
+ $this.k4t_1.l4o_1.k44(get_HttpRequestIsReadyForSending(), builder);
123
123
  // Inline function 'kotlin.apply' call
124
- var this_1 = builder.q2e();
125
- this_1.x4t_1.v3y(get_CLIENT_CONFIG(), $this.q4t_1.s4o_1);
124
+ var this_1 = builder.g2e();
125
+ this_1.r4t_1.p3y(get_CLIENT_CONFIG(), $this.k4t_1.m4o_1);
126
126
  var requestData = this_1;
127
127
  validateHeaders(requestData);
128
- checkExtensions($this.r4t_1, requestData);
129
- var tmp_5 = executeWithinCallContext($this.r4t_1, requestData, $completion);
128
+ checkExtensions($this.l4t_1, requestData);
129
+ var tmp_5 = executeWithinCallContext($this.l4t_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().d4s($this.q4t_1, requestData, responseData);
134
- var response = call.z4o();
135
- $this.q4t_1.r4o_1.q44(get_HttpResponseReceived(), response);
136
- var tmp_6 = get_job(response.fv());
137
- tmp_6.iw(HttpClientEngine$install$slambda$lambda($this.q4t_1, response));
138
- var tmp_7 = $this$intercept.m42(call, $completion);
133
+ var call = HttpClientCall().x4r($this.k4t_1, requestData, responseData);
134
+ var response = call.t4o();
135
+ $this.k4t_1.l4o_1.k44(get_HttpResponseReceived(), response);
136
+ var tmp_6 = get_job(response.xu());
137
+ tmp_6.aw(HttpClientEngine$install$slambda$lambda($this.k4t_1, response));
138
+ var tmp_7 = $this$intercept.g42(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.r4o_1.q44(get_HttpResponseCancelled(), $response);
147
+ $client.l4o_1.k44(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.fv().kd(Key_instance);
155
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gv();
154
+ var tmp0_safe_receiver = $this.xu().gd(Key_instance);
155
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yu();
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.w4t_1, $completion);
159
+ var tmp = createCallContext($this, requestData.q4t_1, $completion);
160
160
  if (tmp === get_COROUTINE_SUSPENDED())
161
161
  tmp = yield tmp;
162
162
  var callContext = tmp;
163
- var context = callContext.pl(new (KtorCallContextElement())(callContext));
164
- var tmp_0 = async($this, context, VOID, HttpClientEngine$executeWithinCallContext$slambda_0($this, requestData)).tx($completion);
163
+ var context = callContext.jl(new (KtorCallContextElement())(callContext));
164
+ var tmp_0 = async($this, context, VOID, HttpClientEngine$executeWithinCallContext$slambda_0($this, requestData)).lx($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.y4t_1.q1();
173
+ var _iterator__ex2g4s = requestData.s4t_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.z4t().o3(requestedExtension)) {
177
+ if (!$this.t4t().o3(requestedExtension)) {
178
178
  var message = "Engine doesn't support " + toString(requestedExtension);
179
179
  throw IllegalArgumentException().t2(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.q4t_1 = $client;
189
- this.r4t_1 = this$0;
188
+ this.k4t_1 = $client;
189
+ this.l4t_1 = this$0;
190
190
  }
191
- i4p($this$intercept, content, $completion) {
191
+ c4p($this$intercept, content, $completion) {
192
192
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$intercept, content), $completion);
193
193
  }
194
- xd(p1, p2, $completion) {
194
+ td(p1, p2, $completion) {
195
195
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
196
- return this.i4p(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
196
+ return this.c4p(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.i4p($this$intercept, content, $completion);
206
+ var l = ($this$intercept, content, $completion) => i.c4p($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.a4u_1 = this$0;
216
- this.b4u_1 = $requestData;
215
+ this.u4t_1 = this$0;
216
+ this.v4t_1 = $requestData;
217
217
  }
218
- x1d($this$async, $completion) {
219
- if (_get_closed__iwkfs1(this.a4u_1)) {
220
- throw ClientEngineClosedException().h4u();
218
+ p1d($this$async, $completion) {
219
+ if (_get_closed__iwkfs1(this.u4t_1)) {
220
+ throw ClientEngineClosedException().b4u();
221
221
  }
222
- return this.a4u_1.i4u(this.b4u_1, $completion);
222
+ return this.u4t_1.c4u(this.v4t_1, $completion);
223
223
  }
224
- wd(p1, $completion) {
225
- return this.x1d((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
224
+ sd(p1, $completion) {
225
+ return this.p1d((!(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.x1d($this$async, $completion);
235
+ var l = ($this$async, $completion) => i.p1d($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().q4p_1;
244
- client.n4o_1.o43(tmp, HttpClientEngine$install$slambda_0(client, this));
243
+ var tmp = Phases_getInstance().k4p_1;
244
+ client.h4o_1.i43(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.u4t_1;
257
+ var requestHeaders = request.o4t_1;
258
258
  // Inline function 'kotlin.collections.filter' call
259
- var tmp0 = requestHeaders.o40();
259
+ var tmp0 = requestHeaders.i40();
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().k4b_1.o3(element)) {
265
+ if (HttpHeaders_getInstance().e4b_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().i4c(toString(unsafeRequestHeaders));
272
+ throw UnsafeHeaderException().c4c(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.fv().pl(callJob).pl(get_CALL_COROUTINE());
277
+ var callContext = _this__u8e3s4.xu().jl(callJob).jl(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.uc().kd(Key_instance);
282
+ var tmp0_elvis_lhs = $completion.qc().gd(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.kw(true, VOID, createCallContext$lambda(callJob));
291
- callJob.iw(createCallContext$lambda_0(cleanupHandler));
290
+ var cleanupHandler = userJob.cw(true, VOID, createCallContext$lambda(callJob));
291
+ callJob.aw(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.pw(CancellationException().n(cause.message));
299
+ $callJob.hw(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.my();
305
+ $cleanupHandler.ey();
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 h4u(cause) {
32
+ static b4u(cause) {
33
33
  cause = cause === VOID ? null : cause;
34
34
  var $this = this.o('Client already closed');
35
- captureStack($this, $this.g4u_1);
36
- $this.f4u_1 = cause;
35
+ captureStack($this, $this.a4u_1);
36
+ $this.z4t_1 = cause;
37
37
  delete $this.cause;
38
38
  return $this;
39
39
  }
40
40
  s() {
41
- return this.f4u_1;
41
+ return this.z4t_1;
42
42
  }
43
43
  get cause() {
44
44
  return this.s();
45
45
  }
46
46
  }
47
- initMetadataForClass($, 'ClientEngineClosedException', $.h4u);
47
+ initMetadataForClass($, 'ClientEngineClosedException', $.b4u);
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.l4p().k4u_1;
54
+ var tmp0_elvis_lhs = this$0.f4p().e4u_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.r4u();
59
+ return (p0) => p0.l4u();
60
60
  }
61
61
  function HttpClientEngineBase$coroutineContext$delegate$lambda(this$0) {
62
- return () => SilentSupervisor().pl(this$0.r4u()).pl(new (CoroutineName())(this$0.n4u_1 + '-context'));
62
+ return () => SilentSupervisor().jl(this$0.l4u()).jl(new (CoroutineName())(this$0.h4u_1 + '-context'));
63
63
  }
64
64
  function HttpClientEngineBase$_get_coroutineContext_$ref_p82ehr() {
65
- return (p0) => p0.fv();
65
+ return (p0) => p0.xu();
66
66
  }
67
67
  var HttpClientEngineBaseClass;
68
68
  function HttpClientEngineBase() {
69
69
  if (HttpClientEngineBaseClass === VOID) {
70
70
  class $ {
71
71
  constructor(engineName) {
72
- this.n4u_1 = engineName;
73
- this.o4u_1 = atomic$boolean$1(false);
72
+ this.h4u_1 = engineName;
73
+ this.i4u_1 = atomic$boolean$1(false);
74
74
  var tmp = this;
75
- tmp.p4u_1 = lazy(HttpClientEngineBase$dispatcher$delegate$lambda(this));
75
+ tmp.j4u_1 = lazy(HttpClientEngineBase$dispatcher$delegate$lambda(this));
76
76
  var tmp_0 = this;
77
- tmp_0.q4u_1 = lazy(HttpClientEngineBase$coroutineContext$delegate$lambda(this));
77
+ tmp_0.k4u_1 = lazy(HttpClientEngineBase$coroutineContext$delegate$lambda(this));
78
78
  }
79
- r4u() {
80
- var tmp0 = this.p4u_1;
79
+ l4u() {
80
+ var tmp0 = this.j4u_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
- fv() {
87
- var tmp0 = this.q4u_1;
86
+ xu() {
87
+ var tmp0 = this.k4u_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
- z6() {
94
- if (!this.o4u_1.atomicfu$compareAndSet(false, true))
93
+ v6() {
94
+ if (!this.i4u_1.atomicfu$compareAndSet(false, true))
95
95
  return Unit_instance;
96
- var tmp = this.fv().kd(Key_instance);
96
+ var tmp = this.xu().gd(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.o11();
105
+ requestJob.g11();
106
106
  }
107
107
  }
108
- protoOf($).z4t = get_supportedCapabilities;
109
- protoOf($).m4p = install;
108
+ protoOf($).t4t = get_supportedCapabilities;
109
+ protoOf($).g4p = 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().ag(), arrayOf([]), false))]), false);
46
+ tmp_0 = createKType(getKClass(KtMutableMap()), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpClientEngineCapability()), arrayOf([getStarKTypeProjection()]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().wf(), 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.j4u_1 = 4;
13
- this.k4u_1 = null;
14
- this.l4u_1 = false;
15
- this.m4u_1 = null;
12
+ this.d4u_1 = 4;
13
+ this.e4u_1 = null;
14
+ this.f4u_1 = false;
15
+ this.g4u_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.f57_1 = item;
18
- this.g57_1 = next;
17
+ this.z56_1 = item;
18
+ this.a57_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.h57_1 = engines_getInstance().l56_1.kotlinx$atomicfu$value;
31
+ this.b57_1 = engines_getInstance().f56_1.kotlinx$atomicfu$value;
32
32
  }
33
33
  s1() {
34
- var result = ensureNotNull(this.h57_1);
35
- this.h57_1 = result.g57_1;
36
- return result.f57_1;
34
+ var result = ensureNotNull(this.b57_1);
35
+ this.b57_1 = result.a57_1;
36
+ return result.z56_1;
37
37
  }
38
38
  r1() {
39
- return !(null == this.h57_1);
39
+ return !(null == this.b57_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.l56_1 = atomic$ref$1(null);
53
+ this.f56_1 = atomic$ref$1(null);
54
54
  }
55
- m56(item) {
55
+ g56(item) {
56
56
  $l$loop: while (true) {
57
- var current = this.l56_1.kotlinx$atomicfu$value;
57
+ var current = this.f56_1.kotlinx$atomicfu$value;
58
58
  var new_0 = new (Node())(item, current);
59
- if (this.l56_1.atomicfu$compareAndSet(current, new_0))
59
+ if (this.f56_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.s4u_1 = callContext;
53
+ this.m4u_1 = callContext;
54
54
  }
55
55
  f3() {
56
56
  return Companion_instance;
57
57
  }
58
58
  }
59
- protoOf($).kd = get;
60
- protoOf($).ol = fold;
61
- protoOf($).nl = minusKey;
62
- protoOf($).pl = plus;
59
+ protoOf($).gd = get;
60
+ protoOf($).il = fold;
61
+ protoOf($).hl = minusKey;
62
+ protoOf($).jl = 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.uc();
71
- return ensureNotNull(tmp$ret$0.kd(Companion_instance)).s4u_1;
70
+ var tmp$ret$0 = $completion.qc();
71
+ return ensureNotNull(tmp$ret$0.gd(Companion_instance)).m4u_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.t40(mergeHeaders$lambda_0(block));
77
- var missingAgent = requestHeaders.m37(HttpHeaders_getInstance().m4a_1) == null && content.j4c().m37(HttpHeaders_getInstance().m4a_1) == null;
76
+ tmp.n40(mergeHeaders$lambda_0(block));
77
+ var missingAgent = requestHeaders.f37(HttpHeaders_getInstance().g4a_1) == null && content.d4c().f37(HttpHeaders_getInstance().g4a_1) == null;
78
78
  if (missingAgent && needUserAgent()) {
79
- block(HttpHeaders_getInstance().m4a_1, get_KTOR_DEFAULT_USER_AGENT());
79
+ block(HttpHeaders_getInstance().g4a_1, get_KTOR_DEFAULT_USER_AGENT());
80
80
  }
81
- var tmp0_safe_receiver = content.z4h();
81
+ var tmp0_safe_receiver = content.t4h();
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.j4c().m37(HttpHeaders_getInstance().g48_1) : tmp1_elvis_lhs;
84
- var type = tmp2_elvis_lhs == null ? requestHeaders.m37(HttpHeaders_getInstance().g48_1) : tmp2_elvis_lhs;
85
- var tmp3_safe_receiver = content.a4i();
83
+ var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? content.d4c().f37(HttpHeaders_getInstance().a48_1) : tmp1_elvis_lhs;
84
+ var type = tmp2_elvis_lhs == null ? requestHeaders.f37(HttpHeaders_getInstance().a48_1) : tmp2_elvis_lhs;
85
+ var tmp3_safe_receiver = content.u4h();
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.j4c().m37(HttpHeaders_getInstance().d48_1) : tmp4_elvis_lhs;
88
- var length = tmp5_elvis_lhs == null ? requestHeaders.m37(HttpHeaders_getInstance().d48_1) : tmp5_elvis_lhs;
87
+ var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? content.d4c().f37(HttpHeaders_getInstance().x47_1) : tmp4_elvis_lhs;
88
+ var length = tmp5_elvis_lhs == null ? requestHeaders.f37(HttpHeaders_getInstance().x47_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().g48_1, type);
93
+ block(HttpHeaders_getInstance().a48_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().d48_1, length);
99
+ block(HttpHeaders_getInstance().x47_1, length);
100
100
  }
101
101
  }
102
102
  function needUserAgent() {
103
103
  _init_properties_Utils_kt__jo07cx();
104
- return !PlatformUtils_getInstance().z3z_1;
104
+ return !PlatformUtils_getInstance().t3z_1;
105
105
  }
106
106
  function mergeHeaders$lambda($requestHeaders, $content) {
107
107
  return ($this$buildHeaders) => {
108
- $this$buildHeaders.s40($requestHeaders);
109
- $this$buildHeaders.s40($content.j4c());
108
+ $this$buildHeaders.m40($requestHeaders);
109
+ $this$buildHeaders.m40($content.d4c());
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().d48_1 === key) {
116
+ if (HttpHeaders_getInstance().x47_1 === key) {
117
117
  return Unit_instance;
118
118
  }
119
119
  var tmp_0;
120
- if (HttpHeaders_getInstance().g48_1 === key) {
120
+ if (HttpHeaders_getInstance().a48_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().h48_1 === key ? '; ' : ',';
133
+ var separator = HttpHeaders_getInstance().b48_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().j48_1, HttpHeaders_getInstance().p48_1, HttpHeaders_getInstance().b49_1, HttpHeaders_getInstance().w48_1, HttpHeaders_getInstance().a49_1]);
144
+ DATE_HEADERS = setOf([HttpHeaders_getInstance().d48_1, HttpHeaders_getInstance().j48_1, HttpHeaders_getInstance().v48_1, HttpHeaders_getInstance().q48_1, HttpHeaders_getInstance().u48_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
- e56(block) {
22
+ y55(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
- k4q(block) {
29
- return this.e56(block);
28
+ e4q(block) {
29
+ return this.y55(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.j56_1 = JsClientEngineConfig$requestInit$lambda;
65
- this.k56_1 = Object.create(null);
64
+ tmp.d56_1 = JsClientEngineConfig$requestInit$lambda;
65
+ this.e56_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().m56(Js_instance);
74
+ engines_getInstance().g56(Js_instance);
75
75
  return Unit_instance;
76
76
  }
77
77
  //region block: init