@attocash/commons-js 5.0.0 → 5.1.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 (311) 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/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
  40. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
  41. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
  42. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
  43. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
  44. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  45. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  46. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  47. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  48. package/commons-commons-node.mjs +1 -0
  49. package/commons-commons-node.mjs.map +1 -1
  50. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  51. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  52. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  53. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  54. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  55. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  56. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  57. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  58. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  59. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  69. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  70. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  71. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  72. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  73. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  74. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  75. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  76. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  77. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  78. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  79. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  80. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  81. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
  84. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  85. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  86. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  87. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  88. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  89. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  90. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
  91. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
  92. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  93. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  94. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  95. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  96. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  97. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  98. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  99. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
  100. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  101. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
  102. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  103. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  104. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  105. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  106. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  107. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  108. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  109. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
  110. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  111. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
  112. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  113. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  114. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  115. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  116. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  117. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  118. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  119. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  120. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  121. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  122. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  123. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  124. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  125. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  126. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  127. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  128. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  129. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  130. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  131. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  132. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  133. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  134. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  135. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  136. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  137. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  138. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  139. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  140. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  141. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  142. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  143. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  144. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  145. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  146. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  147. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  148. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  149. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  150. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  151. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  152. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  153. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  154. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  155. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  156. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  157. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  158. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  159. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  160. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  161. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  162. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  163. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  164. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  165. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  166. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  167. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  168. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  169. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  170. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  171. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  172. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  173. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  174. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  175. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  176. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  177. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  178. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  179. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  180. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  181. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  182. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  183. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  184. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  185. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  186. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  187. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  188. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  189. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  190. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  191. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  192. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  193. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  194. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  195. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  196. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  197. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  198. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  199. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  200. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  201. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  202. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  203. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  204. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  205. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  206. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  207. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  208. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  209. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  210. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  211. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  212. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  213. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  214. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  215. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  216. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  217. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  218. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  219. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  220. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  221. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  222. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  223. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  224. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  225. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  226. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  227. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  228. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  229. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  230. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  231. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  232. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  233. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  234. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  235. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  236. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  237. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  238. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  239. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  240. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  241. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  242. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  243. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  244. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  245. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  246. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  247. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  248. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  249. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  250. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  251. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  252. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  253. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  254. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  255. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  256. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  257. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  258. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  259. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  260. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  261. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  262. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
  263. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  264. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  265. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  266. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +106 -106
  267. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  268. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  269. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  270. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  271. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  272. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  273. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  274. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  275. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  276. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  277. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  278. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  279. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  280. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  281. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  282. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  283. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  284. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  285. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  286. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  287. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  288. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  289. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  290. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  291. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  292. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  293. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  294. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  295. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  296. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  297. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  298. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  299. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  300. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  301. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  302. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  303. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  304. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  305. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  306. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  307. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  308. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  309. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  310. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  311. package/package.json +1 -1
@@ -68,7 +68,7 @@ function HttpClient$lambda(this$0) {
68
68
  return function (it) {
69
69
  var tmp;
70
70
  if (!(it == null)) {
71
- cancel(this$0.s4x_1);
71
+ cancel(this$0.g4y_1);
72
72
  tmp = Unit_instance;
73
73
  }
74
74
  return Unit_instance;
@@ -81,18 +81,18 @@ function HttpClient$slambda() {
81
81
  constructor(this$0, resultContinuation, $box) {
82
82
  if ($box === VOID)
83
83
  $box = {};
84
- $box.o4y_1 = this$0;
84
+ $box.c4z_1 = this$0;
85
85
  super(resultContinuation, $box);
86
86
  }
87
- s4y($this$intercept, call, $completion) {
88
- var tmp = this.t4y($this$intercept, call, $completion);
87
+ g4z($this$intercept, call, $completion) {
88
+ var tmp = this.h4z($this$intercept, call, $completion);
89
89
  tmp.cc_1 = Unit_instance;
90
90
  tmp.dc_1 = null;
91
91
  return tmp.ic();
92
92
  }
93
93
  ld(p1, p2, $completion) {
94
94
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
95
- return this.s4y(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
95
+ return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
96
96
  }
97
97
  ic() {
98
98
  var suspendResult = this.cc_1;
@@ -102,24 +102,24 @@ function HttpClient$slambda() {
102
102
  switch (tmp) {
103
103
  case 0:
104
104
  this.bc_1 = 3;
105
- var tmp_0 = this.q4y_1;
105
+ var tmp_0 = this.e4z_1;
106
106
  if (!(tmp_0 instanceof HttpClientCall())) {
107
- var message = 'Error: HttpClientCall expected, but found ' + toString(this.q4y_1) + '(' + toString(getKClassFromExpression(this.q4y_1)) + ').';
107
+ var message = 'Error: HttpClientCall expected, but found ' + toString(this.e4z_1) + '(' + toString(getKClassFromExpression(this.e4z_1)) + ').';
108
108
  throw IllegalStateException().o4(toString(message));
109
109
  }
110
110
 
111
111
  this.ac_1 = 1;
112
- suspendResult = this.o4y_1.b4y_1.g3w(Unit_instance, this.q4y_1.z4y(), this);
112
+ suspendResult = this.c4z_1.p4y_1.u3w(Unit_instance, this.e4z_1.n4z(), this);
113
113
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
114
114
  return suspendResult;
115
115
  }
116
116
 
117
117
  continue $sm;
118
118
  case 1:
119
- this.r4y_1 = suspendResult;
120
- this.q4y_1.a4z(this.r4y_1);
119
+ this.f4z_1 = suspendResult;
120
+ this.e4z_1.o4z(this.f4z_1);
121
121
  this.ac_1 = 2;
122
- suspendResult = this.p4y_1.j3v(this.q4y_1, this);
122
+ suspendResult = this.d4z_1.x3v(this.e4z_1, this);
123
123
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
124
124
  return suspendResult;
125
125
  }
@@ -141,10 +141,10 @@ function HttpClient$slambda() {
141
141
  }
142
142
  while (true);
143
143
  }
144
- t4y($this$intercept, call, completion) {
145
- var i = new (HttpClient$slambda())(this.o4y_1, completion);
146
- i.p4y_1 = $this$intercept;
147
- i.q4y_1 = call;
144
+ h4z($this$intercept, call, completion) {
145
+ var i = new (HttpClient$slambda())(this.c4z_1, completion);
146
+ i.d4z_1 = $this$intercept;
147
+ i.e4z_1 = call;
148
148
  return i;
149
149
  }
150
150
  }
@@ -156,7 +156,7 @@ function HttpClient$slambda() {
156
156
  function HttpClient$slambda_0(this$0, resultContinuation) {
157
157
  var i = new (HttpClient$slambda())(this$0, resultContinuation);
158
158
  var l = function ($this$intercept, call, $completion) {
159
- return i.s4y($this$intercept, call, $completion);
159
+ return i.g4z($this$intercept, call, $completion);
160
160
  };
161
161
  l.$arity = 2;
162
162
  return l;
@@ -172,18 +172,18 @@ function HttpClient$slambda_1() {
172
172
  constructor(this$0, resultContinuation, $box) {
173
173
  if ($box === VOID)
174
174
  $box = {};
175
- $box.j4z_1 = this$0;
175
+ $box.x4z_1 = this$0;
176
176
  super(resultContinuation, $box);
177
177
  }
178
- n4z($this$intercept, it, $completion) {
179
- var tmp = this.o4z($this$intercept, it, $completion);
178
+ b50($this$intercept, it, $completion) {
179
+ var tmp = this.c50($this$intercept, it, $completion);
180
180
  tmp.cc_1 = Unit_instance;
181
181
  tmp.dc_1 = null;
182
182
  return tmp.ic();
183
183
  }
184
184
  ld(p1, p2, $completion) {
185
185
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
186
- return this.n4z(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
186
+ return this.b50(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
187
187
  }
188
188
  ic() {
189
189
  var suspendResult = this.cc_1;
@@ -195,14 +195,14 @@ function HttpClient$slambda_1() {
195
195
  this.bc_1 = 3;
196
196
  this.bc_1 = 2;
197
197
  this.ac_1 = 1;
198
- suspendResult = this.k4z_1.k3v(this);
198
+ suspendResult = this.y4z_1.y3v(this);
199
199
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
200
200
  return suspendResult;
201
201
  }
202
202
 
203
203
  continue $sm;
204
204
  case 1:
205
- this.m4z_1 = suspendResult;
205
+ this.a50_1 = suspendResult;
206
206
  this.bc_1 = 3;
207
207
  this.ac_1 = 4;
208
208
  continue $sm;
@@ -212,7 +212,7 @@ function HttpClient$slambda_1() {
212
212
  if (tmp_0 instanceof Error) {
213
213
  var cause = this.dc_1;
214
214
  var tmp_1 = this;
215
- this.j4z_1.e4y_1.p4x(get_HttpResponseReceiveFailed(), new (HttpResponseReceiveFail())(this.k4z_1.h3w_1.z4y(), cause));
215
+ this.x4z_1.s4y_1.d4y(get_HttpResponseReceiveFailed(), new (HttpResponseReceiveFail())(this.y4z_1.v3w_1.n4z(), cause));
216
216
  throw cause;
217
217
  } else {
218
218
  throw this.dc_1;
@@ -235,10 +235,10 @@ function HttpClient$slambda_1() {
235
235
  }
236
236
  while (true);
237
237
  }
238
- o4z($this$intercept, it, completion) {
239
- var i = new (HttpClient$slambda_1())(this.j4z_1, completion);
240
- i.k4z_1 = $this$intercept;
241
- i.l4z_1 = it;
238
+ c50($this$intercept, it, completion) {
239
+ var i = new (HttpClient$slambda_1())(this.x4z_1, completion);
240
+ i.y4z_1 = $this$intercept;
241
+ i.z4z_1 = it;
242
242
  return i;
243
243
  }
244
244
  }
@@ -250,7 +250,7 @@ function HttpClient$slambda_1() {
250
250
  function HttpClient$slambda_2(this$0, resultContinuation) {
251
251
  var i = new (HttpClient$slambda_1())(this$0, resultContinuation);
252
252
  var l = function ($this$intercept, it, $completion) {
253
- return i.n4z($this$intercept, it, $completion);
253
+ return i.b50($this$intercept, it, $completion);
254
254
  };
255
255
  l.$arity = 2;
256
256
  return l;
@@ -261,8 +261,8 @@ function $executeCOROUTINE$() {
261
261
  class $ extends CoroutineImpl() {
262
262
  constructor(_this__u8e3s4, builder, resultContinuation) {
263
263
  super(resultContinuation);
264
- this.x4z_1 = _this__u8e3s4;
265
- this.y4z_1 = builder;
264
+ this.l50_1 = _this__u8e3s4;
265
+ this.m50_1 = builder;
266
266
  }
267
267
  ic() {
268
268
  var suspendResult = this.cc_1;
@@ -272,9 +272,9 @@ function $executeCOROUTINE$() {
272
272
  switch (tmp) {
273
273
  case 0:
274
274
  this.bc_1 = 2;
275
- this.x4z_1.e4y_1.p4x(get_HttpRequestCreated(), this.y4z_1);
275
+ this.l50_1.s4y_1.d4y(get_HttpRequestCreated(), this.m50_1);
276
276
  this.ac_1 = 1;
277
- suspendResult = this.x4z_1.y4x_1.g3w(this.y4z_1, this.y4z_1.c50_1, this);
277
+ suspendResult = this.l50_1.m4y_1.u3w(this.m50_1, this.m50_1.q50_1, this);
278
278
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
279
279
  return suspendResult;
280
280
  }
@@ -306,87 +306,87 @@ var HttpClientClass;
306
306
  function HttpClient() {
307
307
  if (HttpClientClass === VOID) {
308
308
  class $ {
309
- static f50(engine, userConfig) {
309
+ static t50(engine, userConfig) {
310
310
  userConfig = userConfig === VOID ? new (HttpClientConfig())() : userConfig;
311
311
  var $this = createThis(this);
312
- $this.s4x_1 = engine;
313
- $this.t4x_1 = userConfig;
314
- $this.u4x_1 = false;
315
- $this.v4x_1 = atomic$boolean$1(false);
316
- $this.w4x_1 = Job($this.s4x_1.s1x().nc(Key_instance));
317
- $this.x4x_1 = $this.s4x_1.s1x().lm($this.w4x_1);
318
- $this.y4x_1 = new (HttpRequestPipeline())();
319
- $this.z4x_1 = new (HttpResponsePipeline())();
320
- $this.a4y_1 = new (HttpSendPipeline())();
321
- $this.b4y_1 = new (HttpReceivePipeline())();
322
- $this.c4y_1 = AttributesJsFn(true);
323
- $this.d4y_1 = $this.s4x_1.g50();
324
- $this.e4y_1 = new (Events())();
325
- $this.f4y_1 = new (HttpClientConfig())();
326
- if ($this.u4x_1) {
327
- $this.w4x_1.v1y(HttpClient$lambda($this));
312
+ $this.g4y_1 = engine;
313
+ $this.h4y_1 = userConfig;
314
+ $this.i4y_1 = false;
315
+ $this.j4y_1 = atomic$boolean$1(false);
316
+ $this.k4y_1 = Job($this.g4y_1.s1x().nc(Key_instance));
317
+ $this.l4y_1 = $this.g4y_1.s1x().lm($this.k4y_1);
318
+ $this.m4y_1 = new (HttpRequestPipeline())();
319
+ $this.n4y_1 = new (HttpResponsePipeline())();
320
+ $this.o4y_1 = new (HttpSendPipeline())();
321
+ $this.p4y_1 = new (HttpReceivePipeline())();
322
+ $this.q4y_1 = AttributesJsFn(true);
323
+ $this.r4y_1 = $this.g4y_1.u50();
324
+ $this.s4y_1 = new (Events())();
325
+ $this.t4y_1 = new (HttpClientConfig())();
326
+ if ($this.i4y_1) {
327
+ $this.k4y_1.v1y(HttpClient$lambda($this));
328
328
  }
329
- $this.s4x_1.h50($this);
330
- var tmp = Phases_getInstance_0().m50_1;
331
- $this.a4y_1.l3w(tmp, HttpClient$slambda_0($this, null));
329
+ $this.g4y_1.v50($this);
330
+ var tmp = Phases_getInstance_0().a51_1;
331
+ $this.o4y_1.z3w(tmp, HttpClient$slambda_0($this, null));
332
332
  // Inline function 'kotlin.with' call
333
- var $this$with = $this.t4x_1;
334
- $this.f4y_1.v50(get_HttpRequestLifecycle());
335
- $this.f4y_1.v50(get_BodyProgress());
336
- $this.f4y_1.v50(get_SaveBody());
337
- if ($this$with.s50_1) {
338
- $this.f4y_1.w50('DefaultTransformers', HttpClient$lambda_0);
333
+ var $this$with = $this.h4y_1;
334
+ $this.t4y_1.j51(get_HttpRequestLifecycle());
335
+ $this.t4y_1.j51(get_BodyProgress());
336
+ $this.t4y_1.j51(get_SaveBody());
337
+ if ($this$with.g51_1) {
338
+ $this.t4y_1.k51('DefaultTransformers', HttpClient$lambda_0);
339
339
  }
340
- $this.f4y_1.v50(Plugin_getInstance());
341
- $this.f4y_1.v50(get_HttpCallValidator());
342
- if ($this$with.r50_1) {
343
- $this.f4y_1.v50(get_HttpRedirect());
340
+ $this.t4y_1.j51(Plugin_getInstance());
341
+ $this.t4y_1.j51(get_HttpCallValidator());
342
+ if ($this$with.f51_1) {
343
+ $this.t4y_1.j51(get_HttpRedirect());
344
344
  }
345
- $this.f4y_1.x50($this$with);
346
- if ($this$with.s50_1) {
347
- $this.f4y_1.v50(get_HttpPlainText());
345
+ $this.t4y_1.l51($this$with);
346
+ if ($this$with.g51_1) {
347
+ $this.t4y_1.j51(get_HttpPlainText());
348
348
  }
349
- addDefaultResponseValidation($this.f4y_1);
350
- $this.f4y_1.h50($this);
351
- var tmp_0 = Phases_getInstance().y50_1;
352
- $this.z4x_1.l3w(tmp_0, HttpClient$slambda_2($this, null));
349
+ addDefaultResponseValidation($this.t4y_1);
350
+ $this.t4y_1.v50($this);
351
+ var tmp_0 = Phases_getInstance().m51_1;
352
+ $this.n4y_1.z3w(tmp_0, HttpClient$slambda_2($this, null));
353
353
  return $this;
354
354
  }
355
- static d51(engine, userConfig, manageEngine) {
356
- var $this = this.f50(engine, userConfig);
357
- $this.u4x_1 = manageEngine;
355
+ static r51(engine, userConfig, manageEngine) {
356
+ var $this = this.t50(engine, userConfig);
357
+ $this.i4y_1 = manageEngine;
358
358
  return $this;
359
359
  }
360
360
  s1x() {
361
- return this.x4x_1;
361
+ return this.l4y_1;
362
362
  }
363
- e51(builder, $completion) {
363
+ s51(builder, $completion) {
364
364
  var tmp = new ($executeCOROUTINE$())(this, builder, $completion);
365
365
  tmp.cc_1 = Unit_instance;
366
366
  tmp.dc_1 = null;
367
367
  return tmp.ic();
368
368
  }
369
369
  v5() {
370
- var success = this.v4x_1.atomicfu$compareAndSet(false, true);
370
+ var success = this.j4y_1.atomicfu$compareAndSet(false, true);
371
371
  if (!success)
372
372
  return Unit_instance;
373
- var installedFeatures = this.c4y_1.d3r(get_PLUGIN_INSTALLED_LIST());
373
+ var installedFeatures = this.q4y_1.r3r(get_PLUGIN_INSTALLED_LIST());
374
374
  // Inline function 'kotlin.collections.forEach' call
375
- var _iterator__ex2g4s = installedFeatures.j3r().d1();
375
+ var _iterator__ex2g4s = installedFeatures.x3r().d1();
376
376
  while (_iterator__ex2g4s.e1()) {
377
377
  var element = _iterator__ex2g4s.f1();
378
- var plugin = installedFeatures.d3r(element instanceof AttributeKey() ? element : THROW_CCE());
378
+ var plugin = installedFeatures.r3r(element instanceof AttributeKey() ? element : THROW_CCE());
379
379
  if (isInterface(plugin, AutoCloseable())) {
380
380
  plugin.v5();
381
381
  }
382
382
  }
383
- this.w4x_1.d25();
384
- if (this.u4x_1) {
385
- this.s4x_1.v5();
383
+ this.k4y_1.d25();
384
+ if (this.i4y_1) {
385
+ this.g4y_1.v5();
386
386
  }
387
387
  }
388
388
  toString() {
389
- return 'HttpClient[' + toString(this.s4x_1) + ']';
389
+ return 'HttpClient[' + toString(this.g4y_1) + ']';
390
390
  }
391
391
  }
392
392
  initMetadataForClass($, 'HttpClient', VOID, VOID, [CoroutineScope(), AutoCloseable()], [1]);
@@ -406,9 +406,9 @@ function HttpClient_0(engineFactory, block) {
406
406
  var this_0 = new (HttpClientConfig())();
407
407
  block(this_0);
408
408
  var config = this_0;
409
- var engine = engineFactory.f51(config.q50_1);
410
- var client = HttpClient().d51(engine, config, true);
411
- var tmp_0 = ensureNotNull(client.x4x_1.nc(Key_instance));
409
+ var engine = engineFactory.t51(config.e51_1);
410
+ var client = HttpClient().r51(engine, config, true);
411
+ var tmp_0 = ensureNotNull(client.l4y_1.nc(Key_instance));
412
412
  tmp_0.v1y(HttpClient$lambda_2(engine));
413
413
  return client;
414
414
  }
@@ -36,11 +36,11 @@ function HttpClientConfig$install$lambda$lambda() {
36
36
  function HttpClientConfig$install$lambda_1($plugin) {
37
37
  return function (scope) {
38
38
  var tmp = get_PLUGIN_INSTALLED_LIST();
39
- var attributes = scope.c4y_1.i3r(tmp, HttpClientConfig$install$lambda$lambda);
40
- var config = ensureNotNull(scope.f4y_1.o50_1.w2($plugin.r1()));
41
- var pluginData = $plugin.g51(config);
42
- $plugin.h51(pluginData, scope);
43
- attributes.g3r($plugin.r1(), pluginData);
39
+ var attributes = scope.q4y_1.w3r(tmp, HttpClientConfig$install$lambda$lambda);
40
+ var config = ensureNotNull(scope.t4y_1.c51_1.w2($plugin.r1()));
41
+ var pluginData = $plugin.u51(config);
42
+ $plugin.v51(pluginData, scope);
43
+ attributes.u3r($plugin.r1(), pluginData);
44
44
  return Unit_instance;
45
45
  };
46
46
  }
@@ -51,36 +51,36 @@ function HttpClientConfig() {
51
51
  constructor() {
52
52
  var tmp = this;
53
53
  // Inline function 'kotlin.collections.mutableMapOf' call
54
- tmp.n50_1 = LinkedHashMap().ub();
54
+ tmp.b51_1 = LinkedHashMap().ub();
55
55
  var tmp_0 = this;
56
56
  // Inline function 'kotlin.collections.mutableMapOf' call
57
- tmp_0.o50_1 = LinkedHashMap().ub();
57
+ tmp_0.c51_1 = LinkedHashMap().ub();
58
58
  var tmp_1 = this;
59
59
  // Inline function 'kotlin.collections.mutableMapOf' call
60
- tmp_1.p50_1 = LinkedHashMap().ub();
60
+ tmp_1.d51_1 = LinkedHashMap().ub();
61
61
  var tmp_2 = this;
62
- tmp_2.q50_1 = HttpClientConfig$engineConfig$lambda;
63
- this.r50_1 = true;
64
- this.s50_1 = true;
65
- this.t50_1 = false;
66
- this.u50_1 = PlatformUtils_getInstance().p3s_1;
62
+ tmp_2.e51_1 = HttpClientConfig$engineConfig$lambda;
63
+ this.f51_1 = true;
64
+ this.g51_1 = true;
65
+ this.h51_1 = false;
66
+ this.i51_1 = PlatformUtils_getInstance().d3t_1;
67
67
  }
68
- i51(plugin, configure) {
69
- var previousConfigBlock = this.o50_1.w2(plugin.r1());
70
- var tmp0 = this.o50_1;
68
+ w51(plugin, configure) {
69
+ var previousConfigBlock = this.c51_1.w2(plugin.r1());
70
+ var tmp0 = this.c51_1;
71
71
  var tmp2 = plugin.r1();
72
72
  // Inline function 'kotlin.collections.set' call
73
73
  var value = HttpClientConfig$install$lambda_0(previousConfigBlock, configure);
74
74
  tmp0.d3(tmp2, value);
75
- if (this.n50_1.u2(plugin.r1()))
75
+ if (this.b51_1.u2(plugin.r1()))
76
76
  return Unit_instance;
77
- var tmp0_0 = this.n50_1;
77
+ var tmp0_0 = this.b51_1;
78
78
  var tmp2_0 = plugin.r1();
79
79
  // Inline function 'kotlin.collections.set' call
80
80
  var value_0 = HttpClientConfig$install$lambda_1(plugin);
81
81
  tmp0_0.d3(tmp2_0, value_0);
82
82
  }
83
- v50(plugin, configure, $super) {
83
+ j51(plugin, configure, $super) {
84
84
  var tmp;
85
85
  if (configure === VOID) {
86
86
  tmp = HttpClientConfig$install$lambda;
@@ -90,48 +90,48 @@ function HttpClientConfig() {
90
90
  configure = tmp;
91
91
  var tmp_0;
92
92
  if ($super === VOID) {
93
- this.i51(plugin, configure);
93
+ this.w51(plugin, configure);
94
94
  tmp_0 = Unit_instance;
95
95
  } else {
96
- tmp_0 = $super.i51.call(this, plugin, configure);
96
+ tmp_0 = $super.w51.call(this, plugin, configure);
97
97
  }
98
98
  return tmp_0;
99
99
  }
100
- w50(key, block) {
100
+ k51(key, block) {
101
101
  // Inline function 'kotlin.collections.set' call
102
- this.p50_1.d3(key, block);
102
+ this.d51_1.d3(key, block);
103
103
  }
104
- h50(client) {
104
+ v50(client) {
105
105
  // Inline function 'kotlin.collections.forEach' call
106
- var _iterator__ex2g4s = this.n50_1.y2().d1();
106
+ var _iterator__ex2g4s = this.b51_1.y2().d1();
107
107
  while (_iterator__ex2g4s.e1()) {
108
108
  var element = _iterator__ex2g4s.f1();
109
109
  // Inline function 'kotlin.apply' call
110
110
  element(client);
111
111
  }
112
112
  // Inline function 'kotlin.collections.forEach' call
113
- var _iterator__ex2g4s_0 = this.p50_1.y2().d1();
113
+ var _iterator__ex2g4s_0 = this.d51_1.y2().d1();
114
114
  while (_iterator__ex2g4s_0.e1()) {
115
115
  var element_0 = _iterator__ex2g4s_0.f1();
116
116
  // Inline function 'kotlin.apply' call
117
117
  element_0(client);
118
118
  }
119
119
  }
120
- x50(other) {
121
- this.r50_1 = other.r50_1;
122
- this.s50_1 = other.s50_1;
123
- this.t50_1 = other.t50_1;
124
- var tmp0 = this.n50_1;
120
+ l51(other) {
121
+ this.f51_1 = other.f51_1;
122
+ this.g51_1 = other.g51_1;
123
+ this.h51_1 = other.h51_1;
124
+ var tmp0 = this.b51_1;
125
125
  // Inline function 'kotlin.collections.plusAssign' call
126
- var map = other.n50_1;
126
+ var map = other.b51_1;
127
127
  tmp0.f3(map);
128
- var tmp0_0 = this.o50_1;
128
+ var tmp0_0 = this.c51_1;
129
129
  // Inline function 'kotlin.collections.plusAssign' call
130
- var map_0 = other.o50_1;
130
+ var map_0 = other.c51_1;
131
131
  tmp0_0.f3(map_0);
132
- var tmp0_1 = this.p50_1;
132
+ var tmp0_1 = this.d51_1;
133
133
  // Inline function 'kotlin.collections.plusAssign' call
134
- var map_1 = other.p50_1;
134
+ var map_1 = other.d51_1;
135
135
  tmp0_1.f3(map_1);
136
136
  }
137
137
  }
@@ -39,7 +39,7 @@ function Companion() {
39
39
  }
40
40
  var tmp$ret$0 = tmp_1;
41
41
  var tmp$ret$1 = new (TypeInfo())(tmp_0, tmp$ret$0);
42
- tmp.e62_1 = new (AttributeKey())(name, tmp$ret$1);
42
+ tmp.s62_1 = new (AttributeKey())(name, tmp$ret$1);
43
43
  }
44
44
  }
45
45
  initMetadataForCompanion($);
@@ -8,18 +8,18 @@ import { HttpResponse1532ob1hsse1y as HttpResponse } from '../statement/HttpResp
8
8
  //region block: pre-declaration
9
9
  //endregion
10
10
  function replaceResponse(_this__u8e3s4, headers, content) {
11
- headers = headers === VOID ? _this__u8e3s4.z4y().l45() : headers;
12
- return DelegatedCall().o51(_this__u8e3s4.u4y_1, _this__u8e3s4, content, headers);
11
+ headers = headers === VOID ? _this__u8e3s4.n4z().z45() : headers;
12
+ return DelegatedCall().c52(_this__u8e3s4.i4z_1, _this__u8e3s4, content, headers);
13
13
  }
14
14
  var DelegatedCallClass;
15
15
  function DelegatedCall() {
16
16
  if (DelegatedCallClass === VOID) {
17
17
  class $ extends HttpClientCall() {
18
- static o51(client, originCall, responseContent, responseHeaders) {
19
- responseHeaders = responseHeaders === VOID ? originCall.z4y().l45() : responseHeaders;
20
- var $this = this.p51(client);
21
- $this.w4y_1 = new (DelegatedRequest())($this, originCall.q51());
22
- $this.x4y_1 = new (DelegatedResponse())($this, originCall.z4y(), responseContent, responseHeaders);
18
+ static c52(client, originCall, responseContent, responseHeaders) {
19
+ responseHeaders = responseHeaders === VOID ? originCall.n4z().z45() : responseHeaders;
20
+ var $this = this.d52(client);
21
+ $this.k4z_1 = new (DelegatedRequest())($this, originCall.e52());
22
+ $this.l4z_1 = new (DelegatedResponse())($this, originCall.n4z(), responseContent, responseHeaders);
23
23
  return $this;
24
24
  }
25
25
  }
@@ -33,26 +33,26 @@ function DelegatedRequest() {
33
33
  if (DelegatedRequestClass === VOID) {
34
34
  class $ {
35
35
  constructor(call, origin) {
36
- this.v51_1 = origin;
37
- this.w51_1 = call;
36
+ this.j52_1 = origin;
37
+ this.k52_1 = call;
38
38
  }
39
- x51() {
40
- return this.w51_1;
39
+ l52() {
40
+ return this.k52_1;
41
41
  }
42
42
  s1x() {
43
- return this.v51_1.s1x();
43
+ return this.j52_1.s1x();
44
44
  }
45
- y51() {
46
- return this.v51_1.y51();
45
+ m52() {
46
+ return this.j52_1.m52();
47
47
  }
48
- z51() {
49
- return this.v51_1.z51();
48
+ n52() {
49
+ return this.j52_1.n52();
50
50
  }
51
- r51() {
52
- return this.v51_1.r51();
51
+ f52() {
52
+ return this.j52_1.f52();
53
53
  }
54
- l45() {
55
- return this.v51_1.l45();
54
+ z45() {
55
+ return this.j52_1.z45();
56
56
  }
57
57
  }
58
58
  initMetadataForClass($, 'DelegatedRequest', VOID, VOID, [HttpRequest()]);
@@ -65,37 +65,37 @@ function DelegatedResponse() {
65
65
  if (DelegatedResponseClass === VOID) {
66
66
  class $ extends HttpResponse() {
67
67
  constructor(call, origin, content, headers) {
68
- headers = headers === VOID ? origin.l45() : headers;
68
+ headers = headers === VOID ? origin.z45() : headers;
69
69
  super();
70
- this.a52_1 = call;
71
- this.b52_1 = origin;
72
- this.c52_1 = content;
73
- this.d52_1 = headers;
74
- this.e52_1 = this.b52_1.s1x();
70
+ this.o52_1 = call;
71
+ this.p52_1 = origin;
72
+ this.q52_1 = content;
73
+ this.r52_1 = headers;
74
+ this.s52_1 = this.p52_1.s1x();
75
75
  }
76
- x51() {
77
- return this.a52_1;
76
+ l52() {
77
+ return this.o52_1;
78
78
  }
79
- l45() {
80
- return this.d52_1;
79
+ z45() {
80
+ return this.r52_1;
81
81
  }
82
- f52() {
83
- return this.c52_1(this.b52_1);
82
+ t52() {
83
+ return this.q52_1(this.p52_1);
84
84
  }
85
85
  s1x() {
86
- return this.e52_1;
86
+ return this.s52_1;
87
87
  }
88
- g52() {
89
- return this.b52_1.g52();
88
+ u52() {
89
+ return this.p52_1.u52();
90
90
  }
91
- s2v() {
92
- return this.b52_1.s2v();
91
+ g2w() {
92
+ return this.p52_1.g2w();
93
93
  }
94
- h52() {
95
- return this.b52_1.h52();
94
+ v52() {
95
+ return this.p52_1.v52();
96
96
  }
97
- i52() {
98
- return this.b52_1.i52();
97
+ w52() {
98
+ return this.p52_1.w52();
99
99
  }
100
100
  }
101
101
  initMetadataForClass($, 'DelegatedResponse');