@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
@@ -107,10 +107,10 @@ function HttpRetryEventData() {
107
107
  if (HttpRetryEventDataClass === VOID) {
108
108
  class $ {
109
109
  constructor(request, retryCount, response, cause) {
110
- this.a4z_1 = request;
111
- this.b4z_1 = retryCount;
112
- this.c4z_1 = response;
113
- this.d4z_1 = cause;
110
+ this.u4y_1 = request;
111
+ this.v4y_1 = retryCount;
112
+ this.w4y_1 = response;
113
+ this.x4y_1 = cause;
114
114
  }
115
115
  }
116
116
  initMetadataForClass($, 'HttpRetryEventData');
@@ -125,17 +125,17 @@ function *_generator_invoke__zhh2q8($this, it, $completion) {
125
125
  return Unit_instance;
126
126
  }
127
127
  function randomMs($this, randomizationMs) {
128
- return randomizationMs === 0n ? 0n : Default_getInstance().em(randomizationMs);
128
+ return randomizationMs === 0n ? 0n : Default_getInstance().wl(randomizationMs);
129
129
  }
130
130
  var HttpRequestRetryConfig$delay$slambdaClass;
131
131
  function HttpRequestRetryConfig$delay$slambda() {
132
132
  if (HttpRequestRetryConfig$delay$slambdaClass === VOID) {
133
133
  class $ {
134
- e4z(it, $completion) {
134
+ y4y(it, $completion) {
135
135
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, it), $completion);
136
136
  }
137
- wd(p1, $completion) {
138
- return this.e4z((!(p1 == null) ? typeof p1 === 'bigint' : false) ? p1 : THROW_CCE(), $completion);
137
+ sd(p1, $completion) {
138
+ return this.y4y((!(p1 == null) ? typeof p1 === 'bigint' : false) ? p1 : THROW_CCE(), $completion);
139
139
  }
140
140
  }
141
141
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -145,7 +145,7 @@ function HttpRequestRetryConfig$delay$slambda() {
145
145
  }
146
146
  function HttpRequestRetryConfig$delay$slambda_0() {
147
147
  var i = new (HttpRequestRetryConfig$delay$slambda())();
148
- var l = (it, $completion) => i.e4z(it, $completion);
148
+ var l = (it, $completion) => i.y4y(it, $completion);
149
149
  l.$arity = 1;
150
150
  return l;
151
151
  }
@@ -169,16 +169,16 @@ function HttpRequestRetryConfig$retryOnException$lambda($retryOnTimeout) {
169
169
  }
170
170
  function HttpRequestRetryConfig$retryOnServerErrors$lambda($this$retryIf, _unused_var__etf5q3, response) {
171
171
  // Inline function 'kotlin.let' call
172
- var it = response.l4r().f4f_1;
172
+ var it = response.f4r().z4e_1;
173
173
  return 500 <= it ? it <= 599 : false;
174
174
  }
175
175
  function HttpRequestRetryConfig$delayMillis$lambda($respectRetryAfterHeader, $block) {
176
176
  return (_this__u8e3s4, it) => {
177
177
  var tmp;
178
178
  if ($respectRetryAfterHeader) {
179
- var tmp0_safe_receiver = _this__u8e3s4.g4z_1;
180
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j4c();
181
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.m37(HttpHeaders_getInstance().v49_1);
179
+ var tmp0_safe_receiver = _this__u8e3s4.a4z_1;
180
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d4c();
181
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f37(HttpHeaders_getInstance().p49_1);
182
182
  var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : toLongOrNull(tmp2_safe_receiver);
183
183
  var tmp_0;
184
184
  if (tmp3_safe_receiver == null) {
@@ -217,74 +217,74 @@ function HttpRequestRetryConfig() {
217
217
  class $ {
218
218
  constructor() {
219
219
  var tmp = this;
220
- tmp.l4z_1 = HttpRequestRetryConfig$delay$slambda_0();
220
+ tmp.f4z_1 = HttpRequestRetryConfig$delay$slambda_0();
221
221
  var tmp_0 = this;
222
- tmp_0.m4z_1 = HttpRequestRetryConfig$modifyRequest$lambda;
223
- this.n4z_1 = 0;
224
- this.o4z(3);
225
- this.p4z();
222
+ tmp_0.g4z_1 = HttpRequestRetryConfig$modifyRequest$lambda;
223
+ this.h4z_1 = 0;
224
+ this.i4z(3);
225
+ this.j4z();
226
226
  }
227
- q4z() {
228
- var tmp = this.i4z_1;
227
+ k4z() {
228
+ var tmp = this.c4z_1;
229
229
  if (!(tmp == null))
230
230
  return tmp;
231
231
  else {
232
232
  throwUninitializedPropertyAccessException('shouldRetry');
233
233
  }
234
234
  }
235
- r4z() {
236
- var tmp = this.j4z_1;
235
+ l4z() {
236
+ var tmp = this.d4z_1;
237
237
  if (!(tmp == null))
238
238
  return tmp;
239
239
  else {
240
240
  throwUninitializedPropertyAccessException('shouldRetryOnException');
241
241
  }
242
242
  }
243
- s4z() {
244
- var tmp = this.k4z_1;
243
+ m4z() {
244
+ var tmp = this.e4z_1;
245
245
  if (!(tmp == null))
246
246
  return tmp;
247
247
  else {
248
248
  throwUninitializedPropertyAccessException('delayMillis');
249
249
  }
250
250
  }
251
- t4z(maxRetries, block) {
251
+ n4z(maxRetries, block) {
252
252
  if (!(maxRetries === -1))
253
- this.n4z_1 = maxRetries;
254
- this.i4z_1 = block;
253
+ this.h4z_1 = maxRetries;
254
+ this.c4z_1 = block;
255
255
  }
256
- u4z(maxRetries, block) {
256
+ o4z(maxRetries, block) {
257
257
  if (!(maxRetries === -1))
258
- this.n4z_1 = maxRetries;
259
- this.j4z_1 = block;
258
+ this.h4z_1 = maxRetries;
259
+ this.d4z_1 = block;
260
260
  }
261
- v4z(maxRetries, retryOnTimeout) {
262
- this.u4z(maxRetries, HttpRequestRetryConfig$retryOnException$lambda(retryOnTimeout));
261
+ p4z(maxRetries, retryOnTimeout) {
262
+ this.o4z(maxRetries, HttpRequestRetryConfig$retryOnException$lambda(retryOnTimeout));
263
263
  }
264
- w4z(maxRetries, retryOnTimeout, $super) {
264
+ q4z(maxRetries, retryOnTimeout, $super) {
265
265
  maxRetries = maxRetries === VOID ? -1 : maxRetries;
266
266
  retryOnTimeout = retryOnTimeout === VOID ? false : retryOnTimeout;
267
267
  var tmp;
268
268
  if ($super === VOID) {
269
- this.v4z(maxRetries, retryOnTimeout);
269
+ this.p4z(maxRetries, retryOnTimeout);
270
270
  tmp = Unit_instance;
271
271
  } else {
272
- tmp = $super.v4z.call(this, maxRetries, retryOnTimeout);
272
+ tmp = $super.p4z.call(this, maxRetries, retryOnTimeout);
273
273
  }
274
274
  return tmp;
275
275
  }
276
- x4z(maxRetries) {
277
- this.t4z(maxRetries, HttpRequestRetryConfig$retryOnServerErrors$lambda);
276
+ r4z(maxRetries) {
277
+ this.n4z(maxRetries, HttpRequestRetryConfig$retryOnServerErrors$lambda);
278
278
  }
279
- o4z(maxRetries) {
280
- this.x4z(maxRetries);
281
- this.w4z(maxRetries);
279
+ i4z(maxRetries) {
280
+ this.r4z(maxRetries);
281
+ this.q4z(maxRetries);
282
282
  }
283
- y4z(respectRetryAfterHeader, block) {
283
+ s4z(respectRetryAfterHeader, block) {
284
284
  var tmp = this;
285
- tmp.k4z_1 = HttpRequestRetryConfig$delayMillis$lambda(respectRetryAfterHeader, block);
285
+ tmp.e4z_1 = HttpRequestRetryConfig$delayMillis$lambda(respectRetryAfterHeader, block);
286
286
  }
287
- z4z(base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader) {
287
+ t4z(base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader) {
288
288
  // Inline function 'kotlin.check' call
289
289
  if (!(base > 0)) {
290
290
  throw IllegalStateException().o('Check failed.');
@@ -301,9 +301,9 @@ function HttpRequestRetryConfig() {
301
301
  if (!(randomizationMs >= 0n)) {
302
302
  throw IllegalStateException().o('Check failed.');
303
303
  }
304
- this.y4z(respectRetryAfterHeader, HttpRequestRetryConfig$exponentialDelay$lambda(base, baseDelayMs, maxDelayMs, this, randomizationMs));
304
+ this.s4z(respectRetryAfterHeader, HttpRequestRetryConfig$exponentialDelay$lambda(base, baseDelayMs, maxDelayMs, this, randomizationMs));
305
305
  }
306
- p4z(base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader, $super) {
306
+ j4z(base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader, $super) {
307
307
  base = base === VOID ? 2.0 : base;
308
308
  baseDelayMs = baseDelayMs === VOID ? 1000n : baseDelayMs;
309
309
  maxDelayMs = maxDelayMs === VOID ? 60000n : maxDelayMs;
@@ -311,10 +311,10 @@ function HttpRequestRetryConfig() {
311
311
  respectRetryAfterHeader = respectRetryAfterHeader === VOID ? true : respectRetryAfterHeader;
312
312
  var tmp;
313
313
  if ($super === VOID) {
314
- this.z4z(base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader);
314
+ this.t4z(base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader);
315
315
  tmp = Unit_instance;
316
316
  } else {
317
- tmp = $super.z4z.call(this, base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader);
317
+ tmp = $super.t4z.call(this, base, baseDelayMs, maxDelayMs, randomizationMs, respectRetryAfterHeader);
318
318
  }
319
319
  return tmp;
320
320
  }
@@ -329,7 +329,7 @@ function HttpRetryShouldRetryContext() {
329
329
  if (HttpRetryShouldRetryContextClass === VOID) {
330
330
  class $ {
331
331
  constructor(retryCount) {
332
- this.a50_1 = retryCount;
332
+ this.u4z_1 = retryCount;
333
333
  }
334
334
  }
335
335
  initMetadataForClass($, 'HttpRetryShouldRetryContext');
@@ -342,9 +342,9 @@ function HttpRetryDelayContext() {
342
342
  if (HttpRetryDelayContextClass === VOID) {
343
343
  class $ {
344
344
  constructor(request, response, cause) {
345
- this.f4z_1 = request;
346
- this.g4z_1 = response;
347
- this.h4z_1 = cause;
345
+ this.z4y_1 = request;
346
+ this.a4z_1 = response;
347
+ this.b4z_1 = cause;
348
348
  }
349
349
  }
350
350
  initMetadataForClass($, 'HttpRetryDelayContext');
@@ -357,10 +357,10 @@ function HttpRetryModifyRequestContext() {
357
357
  if (HttpRetryModifyRequestContextClass === VOID) {
358
358
  class $ {
359
359
  constructor(request, response, cause, retryCount) {
360
- this.b50_1 = request;
361
- this.c50_1 = response;
362
- this.d50_1 = cause;
363
- this.e50_1 = retryCount;
360
+ this.v4z_1 = request;
361
+ this.w4z_1 = response;
362
+ this.x4z_1 = cause;
363
+ this.y4z_1 = retryCount;
364
364
  }
365
365
  }
366
366
  initMetadataForClass($, 'HttpRetryModifyRequestContext');
@@ -372,10 +372,10 @@ function *_generator_throwOnInvalidResponseBody__kuiszx(_this__u8e3s4, $completi
372
372
  var tmp;
373
373
  if (get_isSaved(_this__u8e3s4)) {
374
374
  // Inline function 'kotlin.run' call
375
- var $this$run = _this__u8e3s4.k4r();
375
+ var $this$run = _this__u8e3s4.e4r();
376
376
  var tmp_0;
377
377
  try {
378
- var tmp_1 = $this$run.o3v(VOID, $completion);
378
+ var tmp_1 = $this$run.i3v(VOID, $completion);
379
379
  if (tmp_1 === get_COROUTINE_SUSPENDED())
380
380
  tmp_1 = yield tmp_1;
381
381
  tmp_0 = tmp_1;
@@ -404,7 +404,7 @@ function *_generator_throwOnInvalidResponseBody__kuiszx(_this__u8e3s4, $completi
404
404
  null;
405
405
  else {
406
406
  // Inline function 'kotlin.let' call
407
- get_LOGGER().n44('Failed to close response body channel', tmp0_safe_receiver);
407
+ get_LOGGER().h44('Failed to close response body channel', tmp0_safe_receiver);
408
408
  }
409
409
  }
410
410
  tmp = tmp_0;
@@ -440,39 +440,39 @@ function HttpRequestRetryConfig$_init_$ref_mqbboi() {
440
440
  }
441
441
  function HttpRequestRetry$lambda($this$createClientPlugin) {
442
442
  _init_properties_HttpRequestRetry_kt__h4xjtt();
443
- var shouldRetry = $this$createClientPlugin.j4v_1.q4z();
444
- var shouldRetryOnException = $this$createClientPlugin.j4v_1.r4z();
445
- var delayMillis = $this$createClientPlugin.j4v_1.s4z();
446
- var delay = $this$createClientPlugin.j4v_1.l4z_1;
447
- var maxRetries = $this$createClientPlugin.j4v_1.n4z_1;
448
- var modifyRequest = $this$createClientPlugin.j4v_1.m4z_1;
449
- $this$createClientPlugin.f50(HttpRequestRetry$lambda$slambda_0(maxRetries));
443
+ var shouldRetry = $this$createClientPlugin.d4v_1.k4z();
444
+ var shouldRetryOnException = $this$createClientPlugin.d4v_1.l4z();
445
+ var delayMillis = $this$createClientPlugin.d4v_1.m4z();
446
+ var delay = $this$createClientPlugin.d4v_1.f4z_1;
447
+ var maxRetries = $this$createClientPlugin.d4v_1.h4z_1;
448
+ var modifyRequest = $this$createClientPlugin.d4v_1.g4z_1;
449
+ $this$createClientPlugin.z4z(HttpRequestRetry$lambda$slambda_0(maxRetries));
450
450
  var tmp = Send_instance;
451
- $this$createClientPlugin.m4v(tmp, HttpRequestRetry$lambda$slambda_2(shouldRetry, shouldRetryOnException, maxRetries, delayMillis, modifyRequest, $this$createClientPlugin, delay));
451
+ $this$createClientPlugin.g4v(tmp, HttpRequestRetry$lambda$slambda_2(shouldRetry, shouldRetryOnException, maxRetries, delayMillis, modifyRequest, $this$createClientPlugin, delay));
452
452
  return Unit_instance;
453
453
  }
454
454
  function HttpRequestRetry$lambda$prepareRequest$lambda($subRequest) {
455
455
  return (cause) => {
456
- var tmp = $subRequest.g4p_1;
456
+ var tmp = $subRequest.a4p_1;
457
457
  var subRequestJob = isInterface(tmp, CompletableJob()) ? tmp : THROW_CCE();
458
458
  if (cause == null) {
459
- subRequestJob.o11();
459
+ subRequestJob.g11();
460
460
  } else {
461
- subRequestJob.n11(cause);
461
+ subRequestJob.f11(cause);
462
462
  }
463
463
  return Unit_instance;
464
464
  };
465
465
  }
466
466
  function invoke$shouldRetry(retryCount, maxRetries, shouldRetry, call) {
467
- return retryCount < maxRetries && shouldRetry(new (HttpRetryShouldRetryContext())(retryCount + 1 | 0), call.v4q(), call.z4o());
467
+ return retryCount < maxRetries && shouldRetry(new (HttpRetryShouldRetryContext())(retryCount + 1 | 0), call.p4q(), call.t4o());
468
468
  }
469
469
  function invoke$shouldRetryOnException(retryCount, maxRetries, shouldRetry, subRequest, cause) {
470
470
  return retryCount < maxRetries && shouldRetry(new (HttpRetryShouldRetryContext())(retryCount + 1 | 0), subRequest, cause);
471
471
  }
472
472
  function invoke$prepareRequest(request) {
473
- var subRequest = (new (HttpRequestBuilder())()).g50(request);
474
- var tmp = request.g4p_1;
475
- tmp.iw(HttpRequestRetry$lambda$prepareRequest$lambda(subRequest));
473
+ var subRequest = (new (HttpRequestBuilder())()).a50(request);
474
+ var tmp = request.a4p_1;
475
+ tmp.aw(HttpRequestRetry$lambda$prepareRequest$lambda(subRequest));
476
476
  return subRequest;
477
477
  }
478
478
  var HttpRequestRetry$lambda$slambdaClass;
@@ -480,18 +480,18 @@ function HttpRequestRetry$lambda$slambda() {
480
480
  if (HttpRequestRetry$lambda$slambdaClass === VOID) {
481
481
  class $ {
482
482
  constructor($maxRetries) {
483
- this.h50_1 = $maxRetries;
483
+ this.b50_1 = $maxRetries;
484
484
  }
485
- i50($this$onRequest, request, _unused_var__etf5q3, $completion) {
486
- var tmp0_elvis_lhs = request.h4p_1.t3y(get_MaxRetriesPerRequestAttributeKey());
487
- var maxRetriesValue = tmp0_elvis_lhs == null ? this.h50_1 : tmp0_elvis_lhs;
488
- request.h4p_1.v3y(get_MaxRetriesPerRequestAttributeKey(), maxRetriesValue);
485
+ c50($this$onRequest, request, _unused_var__etf5q3, $completion) {
486
+ var tmp0_elvis_lhs = request.b4p_1.n3y(get_MaxRetriesPerRequestAttributeKey());
487
+ var maxRetriesValue = tmp0_elvis_lhs == null ? this.b50_1 : tmp0_elvis_lhs;
488
+ request.b4p_1.p3y(get_MaxRetriesPerRequestAttributeKey(), maxRetriesValue);
489
489
  return Unit_instance;
490
490
  }
491
- h3r(p1, p2, p3, $completion) {
491
+ b3r(p1, p2, p3, $completion) {
492
492
  var tmp = p1 instanceof OnRequestContext() ? p1 : THROW_CCE();
493
493
  var tmp_0 = p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE();
494
- return this.i50(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
494
+ return this.c50(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
495
495
  }
496
496
  }
497
497
  initMetadataForLambda($, VOID, VOID, [3]);
@@ -501,22 +501,22 @@ function HttpRequestRetry$lambda$slambda() {
501
501
  }
502
502
  function HttpRequestRetry$lambda$slambda_0($maxRetries) {
503
503
  var i = new (HttpRequestRetry$lambda$slambda())($maxRetries);
504
- var l = ($this$onRequest, request, _unused_var__etf5q3, $completion) => i.i50($this$onRequest, request, _unused_var__etf5q3, $completion);
504
+ var l = ($this$onRequest, request, _unused_var__etf5q3, $completion) => i.c50($this$onRequest, request, _unused_var__etf5q3, $completion);
505
505
  l.$arity = 3;
506
506
  return l;
507
507
  }
508
508
  function *_generator_invoke__zhh2q8_0($this, $this$on, request, $completion) {
509
509
  var retryCount = 0;
510
- var tmp0_elvis_lhs = request.h4p_1.t3y(get_ShouldRetryPerRequestAttributeKey());
511
- var shouldRetry = tmp0_elvis_lhs == null ? $this.j50_1 : tmp0_elvis_lhs;
512
- var tmp1_elvis_lhs = request.h4p_1.t3y(get_ShouldRetryOnExceptionPerRequestAttributeKey());
513
- var shouldRetryOnException = tmp1_elvis_lhs == null ? $this.k50_1 : tmp1_elvis_lhs;
514
- var tmp2_elvis_lhs = request.h4p_1.t3y(get_MaxRetriesPerRequestAttributeKey());
515
- var maxRetries = tmp2_elvis_lhs == null ? $this.l50_1 : tmp2_elvis_lhs;
516
- var tmp3_elvis_lhs = request.h4p_1.t3y(get_RetryDelayPerRequestAttributeKey());
517
- var delayMillis = tmp3_elvis_lhs == null ? $this.m50_1 : tmp3_elvis_lhs;
518
- var tmp4_elvis_lhs = request.h4p_1.t3y(get_ModifyRequestPerRequestAttributeKey());
519
- var modifyRequest = tmp4_elvis_lhs == null ? $this.n50_1 : tmp4_elvis_lhs;
510
+ var tmp0_elvis_lhs = request.b4p_1.n3y(get_ShouldRetryPerRequestAttributeKey());
511
+ var shouldRetry = tmp0_elvis_lhs == null ? $this.d50_1 : tmp0_elvis_lhs;
512
+ var tmp1_elvis_lhs = request.b4p_1.n3y(get_ShouldRetryOnExceptionPerRequestAttributeKey());
513
+ var shouldRetryOnException = tmp1_elvis_lhs == null ? $this.e50_1 : tmp1_elvis_lhs;
514
+ var tmp2_elvis_lhs = request.b4p_1.n3y(get_MaxRetriesPerRequestAttributeKey());
515
+ var maxRetries = tmp2_elvis_lhs == null ? $this.f50_1 : tmp2_elvis_lhs;
516
+ var tmp3_elvis_lhs = request.b4p_1.n3y(get_RetryDelayPerRequestAttributeKey());
517
+ var delayMillis = tmp3_elvis_lhs == null ? $this.g50_1 : tmp3_elvis_lhs;
518
+ var tmp4_elvis_lhs = request.b4p_1.n3y(get_ModifyRequestPerRequestAttributeKey());
519
+ var modifyRequest = tmp4_elvis_lhs == null ? $this.h50_1 : tmp4_elvis_lhs;
520
520
  var call;
521
521
  var lastRetryData = null;
522
522
  $l$loop: while (true) {
@@ -524,21 +524,21 @@ function *_generator_invoke__zhh2q8_0($this, $this$on, request, $completion) {
524
524
  var tmp;
525
525
  try {
526
526
  if (!(lastRetryData == null)) {
527
- var modifyRequestContext = new (HttpRetryModifyRequestContext())(request, lastRetryData.c4z_1, lastRetryData.d4z_1, lastRetryData.b4z_1);
527
+ var modifyRequestContext = new (HttpRetryModifyRequestContext())(request, lastRetryData.w4y_1, lastRetryData.x4y_1, lastRetryData.v4y_1);
528
528
  modifyRequest(modifyRequestContext, subRequest);
529
529
  }
530
- var tmp_0 = $this$on.r4x(subRequest, $completion);
530
+ var tmp_0 = $this$on.l4x(subRequest, $completion);
531
531
  if (tmp_0 === get_COROUTINE_SUSPENDED())
532
532
  tmp_0 = yield tmp_0;
533
533
  call = tmp_0;
534
534
  if (!invoke$shouldRetry(retryCount, maxRetries, shouldRetry, call)) {
535
- var tmp_1 = throwOnInvalidResponseBody(call.z4o(), $completion);
535
+ var tmp_1 = throwOnInvalidResponseBody(call.t4o(), $completion);
536
536
  if (tmp_1 === get_COROUTINE_SUSPENDED())
537
537
  tmp_1 = yield tmp_1;
538
538
  break $l$loop;
539
539
  }
540
540
  retryCount = retryCount + 1 | 0;
541
- tmp = new (HttpRetryEventData())(subRequest, retryCount, call.z4o(), null);
541
+ tmp = new (HttpRetryEventData())(subRequest, retryCount, call.t4o(), null);
542
542
  } catch ($p) {
543
543
  var tmp_2;
544
544
  if ($p instanceof Error) {
@@ -555,12 +555,12 @@ function *_generator_invoke__zhh2q8_0($this, $this$on, request, $completion) {
555
555
  }
556
556
  var retryData = tmp;
557
557
  lastRetryData = retryData;
558
- $this.o50_1.i4v_1.r4o_1.q44(get_HttpRequestRetryEvent(), lastRetryData);
559
- var delayContext = new (HttpRetryDelayContext())(lastRetryData.a4z_1, lastRetryData.c4z_1, lastRetryData.d4z_1);
560
- var tmp_3 = $this.p50_1(delayMillis(delayContext, retryCount), $completion);
558
+ $this.i50_1.c4v_1.l4o_1.k44(get_HttpRequestRetryEvent(), lastRetryData);
559
+ var delayContext = new (HttpRetryDelayContext())(lastRetryData.u4y_1, lastRetryData.w4y_1, lastRetryData.x4y_1);
560
+ var tmp_3 = $this.j50_1(delayMillis(delayContext, retryCount), $completion);
561
561
  if (tmp_3 === get_COROUTINE_SUSPENDED())
562
562
  tmp_3 = yield tmp_3;
563
- get_LOGGER().o44('Retrying request ' + request.c4p_1.toString() + ' attempt: ' + retryCount);
563
+ get_LOGGER().i44('Retrying request ' + request.w4o_1.toString() + ' attempt: ' + retryCount);
564
564
  }
565
565
  return call;
566
566
  }
@@ -569,20 +569,20 @@ function HttpRequestRetry$lambda$slambda_1() {
569
569
  if (HttpRequestRetry$lambda$slambdaClass_0 === VOID) {
570
570
  class $ {
571
571
  constructor($shouldRetry, $shouldRetryOnException, $maxRetries, $delayMillis, $modifyRequest, $this_createClientPlugin, $delay) {
572
- this.j50_1 = $shouldRetry;
573
- this.k50_1 = $shouldRetryOnException;
574
- this.l50_1 = $maxRetries;
575
- this.m50_1 = $delayMillis;
576
- this.n50_1 = $modifyRequest;
577
- this.o50_1 = $this_createClientPlugin;
578
- this.p50_1 = $delay;
579
- }
580
- t4x($this$on, request, $completion) {
572
+ this.d50_1 = $shouldRetry;
573
+ this.e50_1 = $shouldRetryOnException;
574
+ this.f50_1 = $maxRetries;
575
+ this.g50_1 = $delayMillis;
576
+ this.h50_1 = $modifyRequest;
577
+ this.i50_1 = $this_createClientPlugin;
578
+ this.j50_1 = $delay;
579
+ }
580
+ n4x($this$on, request, $completion) {
581
581
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$on, request), $completion);
582
582
  }
583
- xd(p1, p2, $completion) {
583
+ td(p1, p2, $completion) {
584
584
  var tmp = p1 instanceof Sender() ? p1 : THROW_CCE();
585
- return this.t4x(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
585
+ return this.n4x(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
586
586
  }
587
587
  }
588
588
  initMetadataForLambda($, VOID, VOID, [2]);
@@ -592,7 +592,7 @@ function HttpRequestRetry$lambda$slambda_1() {
592
592
  }
593
593
  function HttpRequestRetry$lambda$slambda_2($shouldRetry, $shouldRetryOnException, $maxRetries, $delayMillis, $modifyRequest, $this_createClientPlugin, $delay) {
594
594
  var i = new (HttpRequestRetry$lambda$slambda_1())($shouldRetry, $shouldRetryOnException, $maxRetries, $delayMillis, $modifyRequest, $this_createClientPlugin, $delay);
595
- var l = ($this$on, request, $completion) => i.t4x($this$on, request, $completion);
595
+ var l = ($this$on, request, $completion) => i.n4x($this$on, request, $completion);
596
596
  l.$arity = 2;
597
597
  return l;
598
598
  }
@@ -607,11 +607,11 @@ function _init_properties_HttpRequestRetry_kt__h4xjtt() {
607
607
  // Inline function 'io.ktor.util.AttributeKey' call
608
608
  var name = 'MaxRetriesPerRequestAttributeKey';
609
609
  // Inline function 'io.ktor.util.reflect.typeInfo' call
610
- var tmp_0 = PrimitiveClasses_getInstance().gg();
610
+ var tmp_0 = PrimitiveClasses_getInstance().cg();
611
611
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
612
612
  var tmp_1;
613
613
  try {
614
- tmp_1 = createKType(PrimitiveClasses_getInstance().gg(), arrayOf([]), false);
614
+ tmp_1 = createKType(PrimitiveClasses_getInstance().cg(), arrayOf([]), false);
615
615
  } catch ($p) {
616
616
  var tmp_2;
617
617
  if ($p instanceof Error) {
@@ -632,7 +632,7 @@ function _init_properties_HttpRequestRetry_kt__h4xjtt() {
632
632
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
633
633
  var tmp_4;
634
634
  try {
635
- tmp_4 = createKType(PrimitiveClasses_getInstance().functionClass(3), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpRetryShouldRetryContext()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(getKClass(HttpRequest()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(getKClass(HttpResponse()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().dg(), arrayOf([]), false))]), false);
635
+ tmp_4 = createKType(PrimitiveClasses_getInstance().functionClass(3), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpRetryShouldRetryContext()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(getKClass(HttpRequest()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(getKClass(HttpResponse()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().zf(), arrayOf([]), false))]), false);
636
636
  } catch ($p) {
637
637
  var tmp_5;
638
638
  if ($p instanceof Error) {
@@ -653,7 +653,7 @@ function _init_properties_HttpRequestRetry_kt__h4xjtt() {
653
653
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
654
654
  var tmp_7;
655
655
  try {
656
- tmp_7 = createKType(PrimitiveClasses_getInstance().functionClass(3), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpRetryShouldRetryContext()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(getKClass(HttpRequestBuilder()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().mg(), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().dg(), arrayOf([]), false))]), false);
656
+ tmp_7 = createKType(PrimitiveClasses_getInstance().functionClass(3), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpRetryShouldRetryContext()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(getKClass(HttpRequestBuilder()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().ig(), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().zf(), arrayOf([]), false))]), false);
657
657
  } catch ($p) {
658
658
  var tmp_8;
659
659
  if ($p instanceof Error) {
@@ -695,7 +695,7 @@ function _init_properties_HttpRequestRetry_kt__h4xjtt() {
695
695
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
696
696
  var tmp_13;
697
697
  try {
698
- tmp_13 = createKType(PrimitiveClasses_getInstance().functionClass(2), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpRetryDelayContext()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().gg(), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().hg(), arrayOf([]), false))]), false);
698
+ tmp_13 = createKType(PrimitiveClasses_getInstance().functionClass(2), arrayOf([createInvariantKTypeProjection(createKType(getKClass(HttpRetryDelayContext()), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().cg(), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().dg(), arrayOf([]), false))]), false);
699
699
  } catch ($p) {
700
700
  var tmp_14;
701
701
  if ($p instanceof Error) {