@attocash/commons-js 5.0.0 → 5.1.0

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 (282) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  40. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  41. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  42. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  43. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  44. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  45. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  46. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  47. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  48. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  49. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  50. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  51. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  52. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  53. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  54. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  55. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  56. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  57. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  58. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  59. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  69. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  70. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  71. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  72. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  73. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  74. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  75. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  76. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  77. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  78. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  79. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  80. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  81. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  84. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  85. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  86. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  87. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  88. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  89. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  90. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  91. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  92. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  93. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  94. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  95. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  96. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  97. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  98. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  99. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  100. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  101. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  102. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  103. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  104. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  105. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  106. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  107. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  108. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  109. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  110. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  111. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  112. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  113. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  114. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  115. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  116. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  117. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  118. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  119. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  120. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  121. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  122. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  123. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  124. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  125. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  126. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  127. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  128. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  129. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  130. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  131. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  132. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  133. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  134. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  137. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  138. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  139. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  140. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  141. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  142. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  143. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  144. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  145. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  147. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  148. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  149. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  150. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  151. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  152. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  153. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  154. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  155. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  156. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  157. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  158. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  159. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  160. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  161. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  162. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  163. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  164. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  165. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  166. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  167. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  168. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  169. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  170. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  171. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  172. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  173. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  174. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  175. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  176. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  177. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  178. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  179. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  180. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  181. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  182. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  183. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  184. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  185. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  186. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  187. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  188. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  189. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  190. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  191. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  192. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  193. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  194. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  195. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  196. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  197. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  198. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  199. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  200. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  201. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  202. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  203. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  204. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  205. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  206. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  207. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  208. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  209. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  210. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  211. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  212. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  213. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  214. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  215. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  216. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  217. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  218. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  219. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  220. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  221. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  222. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  223. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  224. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  225. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  226. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  227. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  228. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  229. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  230. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  231. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  232. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  233. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  234. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  235. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  236. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  237. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
  238. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  239. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  240. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  241. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  242. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  243. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  244. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  245. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  246. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  247. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  248. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  249. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  250. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  251. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  252. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  253. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  254. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  255. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  256. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  257. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  258. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  259. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  260. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  261. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  262. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  263. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  264. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  265. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  266. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  267. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  268. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  269. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  270. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  274. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  275. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  276. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  277. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  278. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  279. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  280. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  281. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  282. package/package.json +1 -1
@@ -96,26 +96,26 @@ var HttpRequestTimeoutExceptionClass;
96
96
  function HttpRequestTimeoutException() {
97
97
  if (HttpRequestTimeoutExceptionClass === VOID) {
98
98
  class $ extends IOException() {
99
- static m5q(url, timeoutMillis, cause) {
99
+ static a5r(url, timeoutMillis, cause) {
100
100
  cause = cause === VOID ? null : cause;
101
- var $this = this.m2u('Request timeout has expired [url=' + url + ', request_timeout=' + toString(timeoutMillis == null ? 'unknown' : timeoutMillis) + ' ms]', cause);
102
- captureStack($this, $this.l5q_1);
103
- $this.j5q_1 = url;
104
- $this.k5q_1 = timeoutMillis;
101
+ var $this = this.a2v('Request timeout has expired [url=' + url + ', request_timeout=' + toString(timeoutMillis == null ? 'unknown' : timeoutMillis) + ' ms]', cause);
102
+ captureStack($this, $this.z5q_1);
103
+ $this.x5q_1 = url;
104
+ $this.y5q_1 = timeoutMillis;
105
105
  return $this;
106
106
  }
107
- static n5q(request) {
108
- var tmp = request.z4z_1.j4a();
109
- var tmp0_safe_receiver = request.o5q(HttpTimeoutCapability_instance);
110
- return this.m5q(tmp, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s5q());
107
+ static b5r(request) {
108
+ var tmp = request.n50_1.x4a();
109
+ var tmp0_safe_receiver = request.c5r(HttpTimeoutCapability_instance);
110
+ return this.a5r(tmp, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g5r());
111
111
  }
112
- static t5q(request) {
113
- var tmp = request.c56_1.toString();
114
- var tmp0_safe_receiver = request.u5q(HttpTimeoutCapability_instance);
115
- return this.m5q(tmp, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s5q());
112
+ static h5r(request) {
113
+ var tmp = request.q56_1.toString();
114
+ var tmp0_safe_receiver = request.i5r(HttpTimeoutCapability_instance);
115
+ return this.a5r(tmp, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g5r());
116
116
  }
117
117
  o25() {
118
- return HttpRequestTimeoutException().m5q(this.j5q_1, this.k5q_1, this.cause);
118
+ return HttpRequestTimeoutException().a5r(this.x5q_1, this.y5q_1, this.cause);
119
119
  }
120
120
  }
121
121
  initMetadataForClass($, 'HttpRequestTimeoutException', VOID, VOID, [IOException(), CopyableThrowable()]);
@@ -137,7 +137,7 @@ function Companion() {
137
137
  class $ {
138
138
  constructor() {
139
139
  Companion_instance = this;
140
- this.v5q_1 = new (Long())(-1, 2147483647);
140
+ this.j5r_1 = new (Long())(-1, 2147483647);
141
141
  var tmp = this;
142
142
  // Inline function 'io.ktor.util.AttributeKey' call
143
143
  var name = 'TimeoutConfiguration';
@@ -159,7 +159,7 @@ function Companion() {
159
159
  }
160
160
  var tmp$ret$0 = tmp_1;
161
161
  var tmp$ret$1 = new (TypeInfo())(tmp_0, tmp$ret$0);
162
- tmp.w5q_1 = new (AttributeKey())(name, tmp$ret$1);
162
+ tmp.k5r_1 = new (AttributeKey())(name, tmp$ret$1);
163
163
  }
164
164
  }
165
165
  initMetadataForCompanion($);
@@ -175,43 +175,43 @@ function Companion_getInstance() {
175
175
  }
176
176
  function init_io_ktor_client_plugins_HttpTimeoutConfig(_this__u8e3s4) {
177
177
  Companion_getInstance();
178
- _this__u8e3s4.p5q_1 = new (Long())(0, 0);
179
- _this__u8e3s4.q5q_1 = new (Long())(0, 0);
180
- _this__u8e3s4.r5q_1 = new (Long())(0, 0);
178
+ _this__u8e3s4.d5r_1 = new (Long())(0, 0);
179
+ _this__u8e3s4.e5r_1 = new (Long())(0, 0);
180
+ _this__u8e3s4.f5r_1 = new (Long())(0, 0);
181
181
  }
182
182
  var HttpTimeoutConfigClass;
183
183
  function HttpTimeoutConfig() {
184
184
  if (HttpTimeoutConfigClass === VOID) {
185
185
  class $ {
186
- static x5q(requestTimeoutMillis, connectTimeoutMillis, socketTimeoutMillis) {
186
+ static l5r(requestTimeoutMillis, connectTimeoutMillis, socketTimeoutMillis) {
187
187
  Companion_getInstance();
188
188
  requestTimeoutMillis = requestTimeoutMillis === VOID ? null : requestTimeoutMillis;
189
189
  connectTimeoutMillis = connectTimeoutMillis === VOID ? null : connectTimeoutMillis;
190
190
  socketTimeoutMillis = socketTimeoutMillis === VOID ? null : socketTimeoutMillis;
191
191
  var $this = createThis(this);
192
192
  init_io_ktor_client_plugins_HttpTimeoutConfig($this);
193
- $this.y5q(requestTimeoutMillis);
194
- $this.z5q(connectTimeoutMillis);
195
- $this.a5r(socketTimeoutMillis);
193
+ $this.m5r(requestTimeoutMillis);
194
+ $this.n5r(connectTimeoutMillis);
195
+ $this.o5r(socketTimeoutMillis);
196
196
  return $this;
197
197
  }
198
- y5q(value) {
199
- this.p5q_1 = checkTimeoutValue(this, value);
198
+ m5r(value) {
199
+ this.d5r_1 = checkTimeoutValue(this, value);
200
200
  }
201
- s5q() {
202
- return this.p5q_1;
201
+ g5r() {
202
+ return this.d5r_1;
203
203
  }
204
- z5q(value) {
205
- this.q5q_1 = checkTimeoutValue(this, value);
204
+ n5r(value) {
205
+ this.e5r_1 = checkTimeoutValue(this, value);
206
206
  }
207
- b5r() {
208
- return this.q5q_1;
207
+ p5r() {
208
+ return this.e5r_1;
209
209
  }
210
- a5r(value) {
211
- this.r5q_1 = checkTimeoutValue(this, value);
210
+ o5r(value) {
211
+ this.f5r_1 = checkTimeoutValue(this, value);
212
212
  }
213
- c5r() {
214
- return this.r5q_1;
213
+ q5r() {
214
+ return this.f5r_1;
215
215
  }
216
216
  equals(other) {
217
217
  if (this === other)
@@ -220,30 +220,30 @@ function HttpTimeoutConfig() {
220
220
  return false;
221
221
  if (!(other instanceof HttpTimeoutConfig()))
222
222
  THROW_CCE();
223
- if (!equals(this.p5q_1, other.p5q_1))
223
+ if (!equals(this.d5r_1, other.d5r_1))
224
224
  return false;
225
- if (!equals(this.q5q_1, other.q5q_1))
225
+ if (!equals(this.e5r_1, other.e5r_1))
226
226
  return false;
227
- if (!equals(this.r5q_1, other.r5q_1))
227
+ if (!equals(this.f5r_1, other.f5r_1))
228
228
  return false;
229
229
  return true;
230
230
  }
231
231
  hashCode() {
232
- var tmp0_safe_receiver = this.p5q_1;
232
+ var tmp0_safe_receiver = this.d5r_1;
233
233
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.hashCode();
234
234
  var result = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
235
235
  var tmp = imul(31, result);
236
- var tmp2_safe_receiver = this.q5q_1;
236
+ var tmp2_safe_receiver = this.e5r_1;
237
237
  var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.hashCode();
238
238
  result = tmp + (tmp3_elvis_lhs == null ? 0 : tmp3_elvis_lhs) | 0;
239
239
  var tmp_0 = imul(31, result);
240
- var tmp4_safe_receiver = this.r5q_1;
240
+ var tmp4_safe_receiver = this.f5r_1;
241
241
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.hashCode();
242
242
  result = tmp_0 + (tmp5_elvis_lhs == null ? 0 : tmp5_elvis_lhs) | 0;
243
243
  return result;
244
244
  }
245
245
  }
246
- initMetadataForClass($, 'HttpTimeoutConfig', $.x5q);
246
+ initMetadataForClass($, 'HttpTimeoutConfig', $.l5r);
247
247
  HttpTimeoutConfigClass = $;
248
248
  }
249
249
  return HttpTimeoutConfigClass;
@@ -252,14 +252,14 @@ function get_supportsRequestTimeout(_this__u8e3s4) {
252
252
  _init_properties_HttpTimeout_kt__pucqrr();
253
253
  var tmp;
254
254
  var tmp_0;
255
- if (!isWebsocket(_this__u8e3s4.z4z_1.z48())) {
256
- var tmp_1 = _this__u8e3s4.c50_1;
255
+ if (!isWebsocket(_this__u8e3s4.n50_1.n49())) {
256
+ var tmp_1 = _this__u8e3s4.q50_1;
257
257
  tmp_0 = !(tmp_1 instanceof ClientUpgradeContent());
258
258
  } else {
259
259
  tmp_0 = false;
260
260
  }
261
261
  if (tmp_0) {
262
- var tmp_2 = _this__u8e3s4.c50_1;
262
+ var tmp_2 = _this__u8e3s4.q50_1;
263
263
  tmp = !(tmp_2 instanceof SSEClientContent());
264
264
  } else {
265
265
  tmp = false;
@@ -270,40 +270,40 @@ function applyRequestTimeout(_this__u8e3s4, request, requestTimeout) {
270
270
  _init_properties_HttpTimeout_kt__pucqrr();
271
271
  if (requestTimeout == null || equals(requestTimeout, new (Long())(-1, 2147483647)))
272
272
  return Unit_instance;
273
- var executionContext = request.d50_1;
273
+ var executionContext = request.r50_1;
274
274
  var tmp = new (CoroutineName())('request-timeout');
275
275
  var killer = launch(_this__u8e3s4, tmp, VOID, applyRequestTimeout$slambda_0(requestTimeout, request, executionContext, null));
276
- var tmp_0 = request.d50_1;
276
+ var tmp_0 = request.r50_1;
277
277
  tmp_0.v1y(applyRequestTimeout$lambda(killer));
278
278
  }
279
279
  function ConnectTimeoutException_0(request, cause) {
280
280
  cause = cause === VOID ? null : cause;
281
281
  _init_properties_HttpTimeout_kt__pucqrr();
282
- var tmp = 'Connect timeout has expired [url=' + request.c56_1.toString() + ', ';
283
- var tmp0_safe_receiver = request.u5q(HttpTimeoutCapability_instance);
284
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b5r();
285
- return ConnectTimeoutException().g5r(tmp + ('connect_timeout=' + toString(tmp1_elvis_lhs == null ? 'unknown' : tmp1_elvis_lhs) + ' ms]'), cause);
282
+ var tmp = 'Connect timeout has expired [url=' + request.q56_1.toString() + ', ';
283
+ var tmp0_safe_receiver = request.i5r(HttpTimeoutCapability_instance);
284
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p5r();
285
+ return ConnectTimeoutException().u5r(tmp + ('connect_timeout=' + toString(tmp1_elvis_lhs == null ? 'unknown' : tmp1_elvis_lhs) + ' ms]'), cause);
286
286
  }
287
287
  function timeout(_this__u8e3s4, block) {
288
288
  _init_properties_HttpTimeout_kt__pucqrr();
289
289
  var tmp = HttpTimeoutCapability_instance;
290
290
  // Inline function 'kotlin.apply' call
291
- var this_0 = HttpTimeoutConfig().x5q();
291
+ var this_0 = HttpTimeoutConfig().l5r();
292
292
  block(this_0);
293
- return _this__u8e3s4.h5r(tmp, this_0);
293
+ return _this__u8e3s4.v5r(tmp, this_0);
294
294
  }
295
295
  function HttpTimeoutConfig$_init_$ref_dl1k0m() {
296
296
  return function () {
297
- return HttpTimeoutConfig().x5q();
297
+ return HttpTimeoutConfig().l5r();
298
298
  };
299
299
  }
300
300
  function HttpTimeout$lambda($this$createClientPlugin) {
301
301
  _init_properties_HttpTimeout_kt__pucqrr();
302
- var requestTimeoutMillis = $this$createClientPlugin.u59_1.s5q();
303
- var connectTimeoutMillis = $this$createClientPlugin.u59_1.b5r();
304
- var socketTimeoutMillis = $this$createClientPlugin.u59_1.c5r();
302
+ var requestTimeoutMillis = $this$createClientPlugin.i5a_1.g5r();
303
+ var connectTimeoutMillis = $this$createClientPlugin.i5a_1.p5r();
304
+ var socketTimeoutMillis = $this$createClientPlugin.i5a_1.q5r();
305
305
  var tmp = Send_instance;
306
- $this$createClientPlugin.x59(tmp, HttpTimeout$lambda$slambda_0(connectTimeoutMillis, socketTimeoutMillis, requestTimeoutMillis, null));
306
+ $this$createClientPlugin.l5a(tmp, HttpTimeout$lambda$slambda_0(connectTimeoutMillis, socketTimeoutMillis, requestTimeoutMillis, null));
307
307
  return Unit_instance;
308
308
  }
309
309
  function invoke$hasNotNullTimeouts(requestTimeoutMillis, connectTimeoutMillis, socketTimeoutMillis, supportsRequestTimeout) {
@@ -316,20 +316,20 @@ function HttpTimeout$lambda$slambda() {
316
316
  constructor($connectTimeoutMillis, $socketTimeoutMillis, $requestTimeoutMillis, resultContinuation, $box) {
317
317
  if ($box === VOID)
318
318
  $box = {};
319
- $box.q5r_1 = $connectTimeoutMillis;
320
- $box.r5r_1 = $socketTimeoutMillis;
321
- $box.s5r_1 = $requestTimeoutMillis;
319
+ $box.e5s_1 = $connectTimeoutMillis;
320
+ $box.f5s_1 = $socketTimeoutMillis;
321
+ $box.g5s_1 = $requestTimeoutMillis;
322
322
  super(resultContinuation, $box);
323
323
  }
324
- m5i($this$on, request, $completion) {
325
- var tmp = this.n5i($this$on, request, $completion);
324
+ a5j($this$on, request, $completion) {
325
+ var tmp = this.b5j($this$on, request, $completion);
326
326
  tmp.cc_1 = Unit_instance;
327
327
  tmp.dc_1 = null;
328
328
  return tmp.ic();
329
329
  }
330
330
  ld(p1, p2, $completion) {
331
331
  var tmp = p1 instanceof Sender() ? p1 : THROW_CCE();
332
- return this.m5i(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
332
+ return this.a5j(tmp, p2 instanceof HttpRequestBuilder() ? p2 : THROW_CCE(), $completion);
333
333
  }
334
334
  ic() {
335
335
  var suspendResult = this.cc_1;
@@ -339,30 +339,30 @@ function HttpTimeout$lambda$slambda() {
339
339
  switch (tmp) {
340
340
  case 0:
341
341
  this.bc_1 = 2;
342
- this.v5r_1 = get_supportsRequestTimeout(this.u5r_1);
343
- this.w5r_1 = this.u5r_1.o5q(HttpTimeoutCapability_instance);
344
- if (this.w5r_1 == null && invoke$hasNotNullTimeouts(this.s5r_1, this.q5r_1, this.r5r_1, this.v5r_1)) {
345
- this.w5r_1 = HttpTimeoutConfig().x5q();
346
- this.u5r_1.h5r(HttpTimeoutCapability_instance, this.w5r_1);
342
+ this.j5s_1 = get_supportsRequestTimeout(this.i5s_1);
343
+ this.k5s_1 = this.i5s_1.c5r(HttpTimeoutCapability_instance);
344
+ if (this.k5s_1 == null && invoke$hasNotNullTimeouts(this.g5s_1, this.e5s_1, this.f5s_1, this.j5s_1)) {
345
+ this.k5s_1 = HttpTimeoutConfig().l5r();
346
+ this.i5s_1.v5r(HttpTimeoutCapability_instance, this.k5s_1);
347
347
  }
348
348
 
349
- var tmp0_safe_receiver = this.w5r_1;
349
+ var tmp0_safe_receiver = this.k5s_1;
350
350
  if (tmp0_safe_receiver == null)
351
351
  null;
352
352
  else {
353
- var tmp0_elvis_lhs = tmp0_safe_receiver.b5r();
354
- tmp0_safe_receiver.z5q(tmp0_elvis_lhs == null ? this.q5r_1 : tmp0_elvis_lhs);
355
- var tmp1_elvis_lhs = tmp0_safe_receiver.c5r();
356
- tmp0_safe_receiver.a5r(tmp1_elvis_lhs == null ? this.r5r_1 : tmp1_elvis_lhs);
357
- if (this.v5r_1) {
358
- var tmp2_elvis_lhs = tmp0_safe_receiver.s5q();
359
- tmp0_safe_receiver.y5q(tmp2_elvis_lhs == null ? this.s5r_1 : tmp2_elvis_lhs);
360
- applyRequestTimeout(this.t5r_1, this.u5r_1, tmp0_safe_receiver.s5q());
353
+ var tmp0_elvis_lhs = tmp0_safe_receiver.p5r();
354
+ tmp0_safe_receiver.n5r(tmp0_elvis_lhs == null ? this.e5s_1 : tmp0_elvis_lhs);
355
+ var tmp1_elvis_lhs = tmp0_safe_receiver.q5r();
356
+ tmp0_safe_receiver.o5r(tmp1_elvis_lhs == null ? this.f5s_1 : tmp1_elvis_lhs);
357
+ if (this.j5s_1) {
358
+ var tmp2_elvis_lhs = tmp0_safe_receiver.g5r();
359
+ tmp0_safe_receiver.m5r(tmp2_elvis_lhs == null ? this.g5s_1 : tmp2_elvis_lhs);
360
+ applyRequestTimeout(this.h5s_1, this.i5s_1, tmp0_safe_receiver.g5r());
361
361
  }
362
362
  }
363
363
 
364
364
  this.ac_1 = 1;
365
- suspendResult = this.t5r_1.q5i(this.u5r_1, this);
365
+ suspendResult = this.h5s_1.e5j(this.i5s_1, this);
366
366
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
367
367
  return suspendResult;
368
368
  }
@@ -384,10 +384,10 @@ function HttpTimeout$lambda$slambda() {
384
384
  }
385
385
  while (true);
386
386
  }
387
- n5i($this$on, request, completion) {
388
- var i = new (HttpTimeout$lambda$slambda())(this.q5r_1, this.r5r_1, this.s5r_1, completion);
389
- i.t5r_1 = $this$on;
390
- i.u5r_1 = request;
387
+ b5j($this$on, request, completion) {
388
+ var i = new (HttpTimeout$lambda$slambda())(this.e5s_1, this.f5s_1, this.g5s_1, completion);
389
+ i.h5s_1 = $this$on;
390
+ i.i5s_1 = request;
391
391
  return i;
392
392
  }
393
393
  }
@@ -399,7 +399,7 @@ function HttpTimeout$lambda$slambda() {
399
399
  function HttpTimeout$lambda$slambda_0($connectTimeoutMillis, $socketTimeoutMillis, $requestTimeoutMillis, resultContinuation) {
400
400
  var i = new (HttpTimeout$lambda$slambda())($connectTimeoutMillis, $socketTimeoutMillis, $requestTimeoutMillis, resultContinuation);
401
401
  var l = function ($this$on, request, $completion) {
402
- return i.m5i($this$on, request, $completion);
402
+ return i.a5j($this$on, request, $completion);
403
403
  };
404
404
  l.$arity = 2;
405
405
  return l;
@@ -411,19 +411,19 @@ function applyRequestTimeout$slambda() {
411
411
  constructor($requestTimeout, $request, $executionContext, resultContinuation, $box) {
412
412
  if ($box === VOID)
413
413
  $box = {};
414
- $box.f5s_1 = $requestTimeout;
415
- $box.g5s_1 = $request;
416
- $box.h5s_1 = $executionContext;
414
+ $box.t5s_1 = $requestTimeout;
415
+ $box.u5s_1 = $request;
416
+ $box.v5s_1 = $executionContext;
417
417
  super(resultContinuation, $box);
418
418
  }
419
- l37($this$launch, $completion) {
420
- var tmp = this.p35($this$launch, $completion);
419
+ z37($this$launch, $completion) {
420
+ var tmp = this.d36($this$launch, $completion);
421
421
  tmp.cc_1 = Unit_instance;
422
422
  tmp.dc_1 = null;
423
423
  return tmp.ic();
424
424
  }
425
425
  kd(p1, $completion) {
426
- return this.l37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
426
+ return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
427
427
  }
428
428
  ic() {
429
429
  var suspendResult = this.cc_1;
@@ -434,20 +434,20 @@ function applyRequestTimeout$slambda() {
434
434
  case 0:
435
435
  this.bc_1 = 2;
436
436
  this.ac_1 = 1;
437
- suspendResult = delay(this.f5s_1, this);
437
+ suspendResult = delay(this.t5s_1, this);
438
438
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
439
439
  return suspendResult;
440
440
  }
441
441
 
442
442
  continue $sm;
443
443
  case 1:
444
- var cause = HttpRequestTimeoutException().n5q(this.g5s_1);
444
+ var cause = HttpRequestTimeoutException().b5r(this.u5s_1);
445
445
  var this_0 = get_LOGGER();
446
446
  if (get_isTraceEnabled(this_0)) {
447
- this_0.s3x('Request timeout: ' + this.g5s_1.z4z_1.toString());
447
+ this_0.g3y('Request timeout: ' + this.u5s_1.n50_1.toString());
448
448
  }
449
449
 
450
- cancel(this.h5s_1, ensureNotNull(cause.message), cause);
450
+ cancel(this.v5s_1, ensureNotNull(cause.message), cause);
451
451
  return Unit_instance;
452
452
  case 2:
453
453
  throw this.dc_1;
@@ -463,9 +463,9 @@ function applyRequestTimeout$slambda() {
463
463
  }
464
464
  while (true);
465
465
  }
466
- p35($this$launch, completion) {
467
- var i = new (applyRequestTimeout$slambda())(this.f5s_1, this.g5s_1, this.h5s_1, completion);
468
- i.i5s_1 = $this$launch;
466
+ d36($this$launch, completion) {
467
+ var i = new (applyRequestTimeout$slambda())(this.t5s_1, this.u5s_1, this.v5s_1, completion);
468
+ i.w5s_1 = $this$launch;
469
469
  return i;
470
470
  }
471
471
  }
@@ -477,7 +477,7 @@ function applyRequestTimeout$slambda() {
477
477
  function applyRequestTimeout$slambda_0($requestTimeout, $request, $executionContext, resultContinuation) {
478
478
  var i = new (applyRequestTimeout$slambda())($requestTimeout, $request, $executionContext, resultContinuation);
479
479
  var l = function ($this$launch, $completion) {
480
- return i.l37($this$launch, $completion);
480
+ return i.z37($this$launch, $completion);
481
481
  };
482
482
  l.$arity = 1;
483
483
  return l;
@@ -66,14 +66,14 @@ var SaveBody;
66
66
  var SaveBodyPlugin;
67
67
  function get_isSaved(_this__u8e3s4) {
68
68
  _init_properties_SaveBody_kt__lbc3fj();
69
- return _this__u8e3s4.x51().r51().f3r(get_RESPONSE_BODY_SAVED());
69
+ return _this__u8e3s4.l52().f52().t3r(get_RESPONSE_BODY_SAVED());
70
70
  }
71
71
  var SaveBodyPluginConfigClass;
72
72
  function SaveBodyPluginConfig() {
73
73
  if (SaveBodyPluginConfigClass === VOID) {
74
74
  class $ {
75
75
  constructor() {
76
- this.j5s_1 = false;
76
+ this.x5s_1 = false;
77
77
  }
78
78
  }
79
79
  initMetadataForClass($, 'SaveBodyPluginConfig', SaveBodyPluginConfig);
@@ -83,7 +83,7 @@ function SaveBodyPluginConfig() {
83
83
  }
84
84
  function skipSaveBody(_this__u8e3s4) {
85
85
  _init_properties_SaveBody_kt__lbc3fj();
86
- _this__u8e3s4.e50_1.g3r(get_SKIP_SAVE_BODY(), Unit_instance);
86
+ _this__u8e3s4.s50_1.u3r(get_SKIP_SAVE_BODY(), Unit_instance);
87
87
  }
88
88
  function LOGGER$delegate$lambda() {
89
89
  _init_properties_SaveBody_kt__lbc3fj();
@@ -96,23 +96,23 @@ function _get_LOGGER_$ref_77hhxy() {
96
96
  }
97
97
  function SaveBody$lambda($this$createClientPlugin) {
98
98
  _init_properties_SaveBody_kt__lbc3fj();
99
- var tmp = Phases_getInstance().p59_1;
100
- $this$createClientPlugin.t59_1.b4y_1.l3w(tmp, SaveBody$lambda$slambda_0(null));
99
+ var tmp = Phases_getInstance().d5a_1;
100
+ $this$createClientPlugin.h5a_1.p4y_1.z3w(tmp, SaveBody$lambda$slambda_0(null));
101
101
  return Unit_instance;
102
102
  }
103
103
  var SaveBody$lambda$slambdaClass;
104
104
  function SaveBody$lambda$slambda() {
105
105
  if (SaveBody$lambda$slambdaClass === VOID) {
106
106
  class $ extends CoroutineImpl() {
107
- m59($this$intercept, response, $completion) {
108
- var tmp = this.n59($this$intercept, response, $completion);
107
+ a5a($this$intercept, response, $completion) {
108
+ var tmp = this.b5a($this$intercept, response, $completion);
109
109
  tmp.cc_1 = Unit_instance;
110
110
  tmp.dc_1 = null;
111
111
  return tmp.ic();
112
112
  }
113
113
  ld(p1, p2, $completion) {
114
114
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
115
- return this.m59(tmp, p2 instanceof HttpResponse() ? p2 : THROW_CCE(), $completion);
115
+ return this.a5a(tmp, p2 instanceof HttpResponse() ? p2 : THROW_CCE(), $completion);
116
116
  }
117
117
  ic() {
118
118
  var suspendResult = this.cc_1;
@@ -122,12 +122,12 @@ function SaveBody$lambda$slambda() {
122
122
  switch (tmp) {
123
123
  case 0:
124
124
  this.bc_1 = 6;
125
- this.u5s_1 = this.t5s_1.x51();
126
- this.v5s_1 = this.u5s_1.r51();
127
- if (this.v5s_1.f3r(get_SKIP_SAVE_BODY())) {
125
+ this.i5t_1 = this.h5t_1.l52();
126
+ this.j5t_1 = this.i5t_1.f52();
127
+ if (this.j5t_1.t3r(get_SKIP_SAVE_BODY())) {
128
128
  var this_0 = get_LOGGER();
129
129
  if (get_isTraceEnabled(this_0)) {
130
- this_0.s3x('Skipping body saving for ' + this.u5s_1.q51().z51().toString());
130
+ this_0.g3y('Skipping body saving for ' + this.i5t_1.e52().n52().toString());
131
131
  }
132
132
  return Unit_instance;
133
133
  }
@@ -138,29 +138,29 @@ function SaveBody$lambda$slambda() {
138
138
  this.bc_1 = 5;
139
139
  var this_1 = get_LOGGER();
140
140
  if (get_isTraceEnabled(this_1)) {
141
- this_1.s3x('Saving body for ' + this.u5s_1.q51().z51().toString());
141
+ this_1.g3y('Saving body for ' + this.i5t_1.e52().n52().toString());
142
142
  }
143
143
 
144
144
  this.ac_1 = 2;
145
- suspendResult = save(this.u5s_1, this);
145
+ suspendResult = save(this.i5t_1, this);
146
146
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
147
147
  return suspendResult;
148
148
  }
149
149
 
150
150
  continue $sm;
151
151
  case 2:
152
- this.x5s_1 = suspendResult;
153
- this.w5s_1 = this.x5s_1.z4y();
152
+ this.l5t_1 = suspendResult;
153
+ this.k5t_1 = this.l5t_1.n4z();
154
154
  this.bc_1 = 6;
155
155
  this.ac_1 = 3;
156
156
  continue $sm;
157
157
  case 3:
158
- this.y5s_1 = this.w5s_1;
158
+ this.m5t_1 = this.k5t_1;
159
159
  this.bc_1 = 6;
160
- this.s5s_1;
160
+ this.g5t_1;
161
161
  var tmp_0;
162
162
  try {
163
- cancel(this.t5s_1.f52());
163
+ cancel(this.h5t_1.t52());
164
164
  tmp_0 = _Result___init__impl__xyqfz8(Unit_instance);
165
165
  } catch ($p) {
166
166
  var tmp_1;
@@ -178,13 +178,13 @@ function SaveBody$lambda$slambda() {
178
178
  if (tmp0_safe_receiver == null)
179
179
  null;
180
180
  else {
181
- get_LOGGER().r3x('Failed to cancel response body', tmp0_safe_receiver);
181
+ get_LOGGER().f3y('Failed to cancel response body', tmp0_safe_receiver);
182
182
  }
183
183
 
184
- this.z5s_1 = this.y5s_1;
185
- this.v5s_1.g3r(get_RESPONSE_BODY_SAVED(), Unit_instance);
184
+ this.n5t_1 = this.m5t_1;
185
+ this.j5t_1.u3r(get_RESPONSE_BODY_SAVED(), Unit_instance);
186
186
  this.ac_1 = 4;
187
- suspendResult = this.s5s_1.j3v(this.z5s_1, this);
187
+ suspendResult = this.g5t_1.x3v(this.n5t_1, this);
188
188
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
189
189
  return suspendResult;
190
190
  }
@@ -195,10 +195,10 @@ function SaveBody$lambda$slambda() {
195
195
  case 5:
196
196
  this.bc_1 = 6;
197
197
  var t = this.dc_1;
198
- this.s5s_1;
198
+ this.g5t_1;
199
199
  var tmp_2;
200
200
  try {
201
- cancel(this.t5s_1.f52());
201
+ cancel(this.h5t_1.t52());
202
202
  tmp_2 = _Result___init__impl__xyqfz8(Unit_instance);
203
203
  } catch ($p) {
204
204
  var tmp_3;
@@ -216,7 +216,7 @@ function SaveBody$lambda$slambda() {
216
216
  if (tmp0_safe_receiver_0 == null)
217
217
  null;
218
218
  else {
219
- get_LOGGER().r3x('Failed to cancel response body', tmp0_safe_receiver_0);
219
+ get_LOGGER().f3y('Failed to cancel response body', tmp0_safe_receiver_0);
220
220
  }
221
221
 
222
222
  throw t;
@@ -234,10 +234,10 @@ function SaveBody$lambda$slambda() {
234
234
  }
235
235
  while (true);
236
236
  }
237
- n59($this$intercept, response, completion) {
237
+ b5a($this$intercept, response, completion) {
238
238
  var i = new (SaveBody$lambda$slambda())(completion);
239
- i.s5s_1 = $this$intercept;
240
- i.t5s_1 = response;
239
+ i.g5t_1 = $this$intercept;
240
+ i.h5t_1 = response;
241
241
  return i;
242
242
  }
243
243
  }
@@ -249,7 +249,7 @@ function SaveBody$lambda$slambda() {
249
249
  function SaveBody$lambda$slambda_0(resultContinuation) {
250
250
  var i = new (SaveBody$lambda$slambda())(resultContinuation);
251
251
  var l = function ($this$intercept, response, $completion) {
252
- return i.m59($this$intercept, response, $completion);
252
+ return i.a5a($this$intercept, response, $completion);
253
253
  };
254
254
  l.$arity = 2;
255
255
  return l;
@@ -263,10 +263,10 @@ function SaveBodyPluginConfig$_init_$ref_lwjaof() {
263
263
  }
264
264
  function SaveBodyPlugin$lambda($this$createClientPlugin) {
265
265
  _init_properties_SaveBody_kt__lbc3fj();
266
- if ($this$createClientPlugin.u59_1.j5s_1) {
267
- get_LOGGER().q3x('It is no longer possible to disable body saving for all requests. Use client.prepareRequest(...).execute { ... } syntax to prevent saving the body in memory.\n\nThis API is deprecated and will be removed in Ktor 4.0.0\nIf you were relying on this functionality, share your use case by commenting on this issue: https://youtrack.jetbrains.com/issue/KTOR-8367/');
266
+ if ($this$createClientPlugin.i5a_1.x5s_1) {
267
+ get_LOGGER().e3y('It is no longer possible to disable body saving for all requests. Use client.prepareRequest(...).execute { ... } syntax to prevent saving the body in memory.\n\nThis API is deprecated and will be removed in Ktor 4.0.0\nIf you were relying on this functionality, share your use case by commenting on this issue: https://youtrack.jetbrains.com/issue/KTOR-8367/');
268
268
  } else {
269
- get_LOGGER().q3x('The SaveBodyPlugin plugin is deprecated and can be safely removed. Request bodies are now saved in memory by default for all non-streaming responses.');
269
+ get_LOGGER().e3y('The SaveBodyPlugin plugin is deprecated and can be safely removed. Request bodies are now saved in memory by default for all non-streaming responses.');
270
270
  }
271
271
  return Unit_instance;
272
272
  }
@@ -9,11 +9,11 @@ function HookHandler() {
9
9
  if (HookHandlerClass === VOID) {
10
10
  class $ {
11
11
  constructor(hook, handler) {
12
- this.a5t_1 = hook;
13
- this.b5t_1 = handler;
12
+ this.o5t_1 = hook;
13
+ this.p5t_1 = handler;
14
14
  }
15
- h50(client) {
16
- this.a5t_1.z58(client, this.b5t_1);
15
+ v50(client) {
16
+ this.o5t_1.n59(client, this.p5t_1);
17
17
  }
18
18
  }
19
19
  initMetadataForClass($, 'HookHandler');
@@ -19,23 +19,23 @@ function ClientPluginBuilder() {
19
19
  if (ClientPluginBuilderClass === VOID) {
20
20
  class $ {
21
21
  constructor(key, client, pluginConfig) {
22
- this.s59_1 = key;
23
- this.t59_1 = client;
24
- this.u59_1 = pluginConfig;
22
+ this.g5a_1 = key;
23
+ this.h5a_1 = client;
24
+ this.i5a_1 = pluginConfig;
25
25
  var tmp = this;
26
26
  // Inline function 'kotlin.collections.mutableListOf' call
27
- tmp.v59_1 = ArrayList().l1();
27
+ tmp.j5a_1 = ArrayList().l1();
28
28
  var tmp_0 = this;
29
- tmp_0.w59_1 = ClientPluginBuilder$onClose$lambda;
29
+ tmp_0.k5a_1 = ClientPluginBuilder$onClose$lambda;
30
30
  }
31
- c5t(block) {
32
- this.x59(TransformRequestBodyHook_instance, block);
31
+ q5t(block) {
32
+ this.l5a(TransformRequestBodyHook_instance, block);
33
33
  }
34
- p5k(block) {
35
- this.x59(TransformResponseBodyHook_instance, block);
34
+ d5l(block) {
35
+ this.l5a(TransformResponseBodyHook_instance, block);
36
36
  }
37
- x59(hook, handler) {
38
- this.v59_1.m(new (HookHandler())(hook, handler));
37
+ l5a(hook, handler) {
38
+ this.j5a_1.m(new (HookHandler())(hook, handler));
39
39
  }
40
40
  }
41
41
  initMetadataForClass($, 'ClientPluginBuilder');