@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
@@ -70,7 +70,7 @@ function HttpClientEngine$install$slambda$lambda($client, $response) {
70
70
  return function (it) {
71
71
  var tmp;
72
72
  if (!(it == null)) {
73
- $client.e4y_1.p4x(get_HttpResponseCancelled(), $response);
73
+ $client.s4y_1.d4y(get_HttpResponseCancelled(), $response);
74
74
  tmp = Unit_instance;
75
75
  }
76
76
  return Unit_instance;
@@ -88,11 +88,11 @@ function executeWithinCallContext($this, requestData, $completion) {
88
88
  return tmp.ic();
89
89
  }
90
90
  function checkExtensions($this, requestData) {
91
- var _iterator__ex2g4s = requestData.i56_1.d1();
91
+ var _iterator__ex2g4s = requestData.w56_1.d1();
92
92
  while (_iterator__ex2g4s.e1()) {
93
93
  var requestedExtension = _iterator__ex2g4s.f1();
94
94
  // Inline function 'kotlin.require' call
95
- if (!$this.j56().q2(requestedExtension)) {
95
+ if (!$this.x56().q2(requestedExtension)) {
96
96
  var message = "Engine doesn't support " + toString(requestedExtension);
97
97
  throw IllegalArgumentException().u(toString(message));
98
98
  }
@@ -105,19 +105,19 @@ function HttpClientEngine$install$slambda() {
105
105
  constructor($client, this$0, resultContinuation, $box) {
106
106
  if ($box === VOID)
107
107
  $box = {};
108
- $box.s56_1 = $client;
109
- $box.t56_1 = this$0;
108
+ $box.g57_1 = $client;
109
+ $box.h57_1 = this$0;
110
110
  super(resultContinuation, $box);
111
111
  }
112
- s4y($this$intercept, content, $completion) {
113
- var tmp = this.t4y($this$intercept, content, $completion);
112
+ g4z($this$intercept, content, $completion) {
113
+ var tmp = this.h4z($this$intercept, content, $completion);
114
114
  tmp.cc_1 = Unit_instance;
115
115
  tmp.dc_1 = null;
116
116
  return tmp.ic();
117
117
  }
118
118
  ld(p1, p2, $completion) {
119
119
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
120
- return this.s4y(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
120
+ return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
121
121
  }
122
122
  ic() {
123
123
  var suspendResult = this.cc_1;
@@ -129,10 +129,10 @@ function HttpClientEngine$install$slambda() {
129
129
  this.bc_1 = 3;
130
130
  var tmp_0 = this;
131
131
  var this_0 = new (HttpRequestBuilder())();
132
- this_0.b57(this.u56_1.h3w_1);
133
- var body = this.v56_1;
132
+ this_0.p57(this.i57_1.v3w_1);
133
+ var body = this.j57_1;
134
134
  if (body == null) {
135
- this_0.c50_1 = NullBody_instance;
135
+ this_0.q50_1 = NullBody_instance;
136
136
  var tmp_1 = PrimitiveClasses_getInstance().wg();
137
137
  var tmp_2;
138
138
  try {
@@ -147,13 +147,13 @@ function HttpClientEngine$install$slambda() {
147
147
  }
148
148
  tmp_2 = tmp_3;
149
149
  }
150
- this_0.c57(new (TypeInfo())(tmp_1, tmp_2));
150
+ this_0.q57(new (TypeInfo())(tmp_1, tmp_2));
151
151
  } else {
152
152
  if (body instanceof OutgoingContent()) {
153
- this_0.c50_1 = body;
154
- this_0.c57(null);
153
+ this_0.q50_1 = body;
154
+ this_0.q57(null);
155
155
  } else {
156
- this_0.c50_1 = body;
156
+ this_0.q50_1 = body;
157
157
  var tmp_4 = PrimitiveClasses_getInstance().wg();
158
158
  var tmp_5;
159
159
  try {
@@ -168,34 +168,34 @@ function HttpClientEngine$install$slambda() {
168
168
  }
169
169
  tmp_5 = tmp_6;
170
170
  }
171
- this_0.c57(new (TypeInfo())(tmp_4, tmp_5));
171
+ this_0.q57(new (TypeInfo())(tmp_4, tmp_5));
172
172
  }
173
173
  }
174
174
 
175
- tmp_0.w56_1 = this_0;
176
- this.s56_1.e4y_1.p4x(get_HttpRequestIsReadyForSending(), this.w56_1);
175
+ tmp_0.k57_1 = this_0;
176
+ this.g57_1.s4y_1.d4y(get_HttpRequestIsReadyForSending(), this.k57_1);
177
177
  var tmp_7 = this;
178
- var this_1 = this.w56_1.z1i();
179
- this_1.h56_1.g3r(get_CLIENT_CONFIG(), this.s56_1.f4y_1);
180
- tmp_7.x56_1 = this_1;
181
- validateHeaders(this.x56_1);
182
- checkExtensions(this.t56_1, this.x56_1);
178
+ var this_1 = this.k57_1.z1i();
179
+ this_1.v56_1.u3r(get_CLIENT_CONFIG(), this.g57_1.t4y_1);
180
+ tmp_7.l57_1 = this_1;
181
+ validateHeaders(this.l57_1);
182
+ checkExtensions(this.h57_1, this.l57_1);
183
183
  this.ac_1 = 1;
184
- suspendResult = executeWithinCallContext(this.t56_1, this.x56_1, this);
184
+ suspendResult = executeWithinCallContext(this.h57_1, this.l57_1, this);
185
185
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
186
186
  return suspendResult;
187
187
  }
188
188
 
189
189
  continue $sm;
190
190
  case 1:
191
- this.y56_1 = suspendResult;
192
- this.z56_1 = HttpClientCall().m53(this.s56_1, this.x56_1, this.y56_1);
193
- this.a57_1 = this.z56_1.z4y();
194
- this.s56_1.e4y_1.p4x(get_HttpResponseReceived(), this.a57_1);
195
- var tmp_8 = get_job(this.a57_1.s1x());
196
- tmp_8.v1y(HttpClientEngine$install$slambda$lambda(this.s56_1, this.a57_1));
191
+ this.m57_1 = suspendResult;
192
+ this.n57_1 = HttpClientCall().a54(this.g57_1, this.l57_1, this.m57_1);
193
+ this.o57_1 = this.n57_1.n4z();
194
+ this.g57_1.s4y_1.d4y(get_HttpResponseReceived(), this.o57_1);
195
+ var tmp_8 = get_job(this.o57_1.s1x());
196
+ tmp_8.v1y(HttpClientEngine$install$slambda$lambda(this.g57_1, this.o57_1));
197
197
  this.ac_1 = 2;
198
- suspendResult = this.u56_1.j3v(this.z56_1, this);
198
+ suspendResult = this.i57_1.x3v(this.n57_1, this);
199
199
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
200
200
  return suspendResult;
201
201
  }
@@ -217,10 +217,10 @@ function HttpClientEngine$install$slambda() {
217
217
  }
218
218
  while (true);
219
219
  }
220
- t4y($this$intercept, content, completion) {
221
- var i = new (HttpClientEngine$install$slambda())(this.s56_1, this.t56_1, completion);
222
- i.u56_1 = $this$intercept;
223
- i.v56_1 = content;
220
+ h4z($this$intercept, content, completion) {
221
+ var i = new (HttpClientEngine$install$slambda())(this.g57_1, this.h57_1, completion);
222
+ i.i57_1 = $this$intercept;
223
+ i.j57_1 = content;
224
224
  return i;
225
225
  }
226
226
  }
@@ -232,7 +232,7 @@ function HttpClientEngine$install$slambda() {
232
232
  function HttpClientEngine$install$slambda_0($client, this$0, resultContinuation) {
233
233
  var i = new (HttpClientEngine$install$slambda())($client, this$0, resultContinuation);
234
234
  var l = function ($this$intercept, content, $completion) {
235
- return i.s4y($this$intercept, content, $completion);
235
+ return i.g4z($this$intercept, content, $completion);
236
236
  };
237
237
  l.$arity = 2;
238
238
  return l;
@@ -244,18 +244,18 @@ function HttpClientEngine$executeWithinCallContext$slambda() {
244
244
  constructor(this$0, $requestData, resultContinuation, $box) {
245
245
  if ($box === VOID)
246
246
  $box = {};
247
- $box.l57_1 = this$0;
248
- $box.m57_1 = $requestData;
247
+ $box.z57_1 = this$0;
248
+ $box.a58_1 = $requestData;
249
249
  super(resultContinuation, $box);
250
250
  }
251
- o57($this$async, $completion) {
252
- var tmp = this.p35($this$async, $completion);
251
+ c58($this$async, $completion) {
252
+ var tmp = this.d36($this$async, $completion);
253
253
  tmp.cc_1 = Unit_instance;
254
254
  tmp.dc_1 = null;
255
255
  return tmp.ic();
256
256
  }
257
257
  kd(p1, $completion) {
258
- return this.o57((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
258
+ return this.c58((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
259
259
  }
260
260
  ic() {
261
261
  var suspendResult = this.cc_1;
@@ -265,12 +265,12 @@ function HttpClientEngine$executeWithinCallContext$slambda() {
265
265
  switch (tmp) {
266
266
  case 0:
267
267
  this.bc_1 = 2;
268
- if (_get_closed__iwkfs1(this.l57_1)) {
269
- throw ClientEngineClosedException().u57();
268
+ if (_get_closed__iwkfs1(this.z57_1)) {
269
+ throw ClientEngineClosedException().i58();
270
270
  }
271
271
 
272
272
  this.ac_1 = 1;
273
- suspendResult = this.l57_1.v57(this.m57_1, this);
273
+ suspendResult = this.z57_1.j58(this.a58_1, this);
274
274
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
275
275
  return suspendResult;
276
276
  }
@@ -292,9 +292,9 @@ function HttpClientEngine$executeWithinCallContext$slambda() {
292
292
  }
293
293
  while (true);
294
294
  }
295
- p35($this$async, completion) {
296
- var i = new (HttpClientEngine$executeWithinCallContext$slambda())(this.l57_1, this.m57_1, completion);
297
- i.n57_1 = $this$async;
295
+ d36($this$async, completion) {
296
+ var i = new (HttpClientEngine$executeWithinCallContext$slambda())(this.z57_1, this.a58_1, completion);
297
+ i.b58_1 = $this$async;
298
298
  return i;
299
299
  }
300
300
  }
@@ -306,7 +306,7 @@ function HttpClientEngine$executeWithinCallContext$slambda() {
306
306
  function HttpClientEngine$executeWithinCallContext$slambda_0(this$0, $requestData, resultContinuation) {
307
307
  var i = new (HttpClientEngine$executeWithinCallContext$slambda())(this$0, $requestData, resultContinuation);
308
308
  var l = function ($this$async, $completion) {
309
- return i.o57($this$async, $completion);
309
+ return i.c58($this$async, $completion);
310
310
  };
311
311
  l.$arity = 1;
312
312
  return l;
@@ -317,8 +317,8 @@ function $executeWithinCallContextCOROUTINE$() {
317
317
  class $ extends CoroutineImpl() {
318
318
  constructor(_this__u8e3s4, requestData, resultContinuation) {
319
319
  super(resultContinuation);
320
- this.y55_1 = _this__u8e3s4;
321
- this.z55_1 = requestData;
320
+ this.m56_1 = _this__u8e3s4;
321
+ this.n56_1 = requestData;
322
322
  }
323
323
  ic() {
324
324
  var suspendResult = this.cc_1;
@@ -329,17 +329,17 @@ function $executeWithinCallContextCOROUTINE$() {
329
329
  case 0:
330
330
  this.bc_1 = 3;
331
331
  this.ac_1 = 1;
332
- suspendResult = createCallContext(this.y55_1, this.z55_1.g56_1, this);
332
+ suspendResult = createCallContext(this.m56_1, this.n56_1.u56_1, this);
333
333
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
334
334
  return suspendResult;
335
335
  }
336
336
 
337
337
  continue $sm;
338
338
  case 1:
339
- this.a56_1 = suspendResult;
340
- this.b56_1 = this.a56_1.lm(new (KtorCallContextElement())(this.a56_1));
339
+ this.o56_1 = suspendResult;
340
+ this.p56_1 = this.o56_1.lm(new (KtorCallContextElement())(this.o56_1));
341
341
  this.ac_1 = 2;
342
- suspendResult = async(this.y55_1, this.b56_1, VOID, HttpClientEngine$executeWithinCallContext$slambda_0(this.y55_1, this.z55_1, null)).b21(this);
342
+ suspendResult = async(this.m56_1, this.p56_1, VOID, HttpClientEngine$executeWithinCallContext$slambda_0(this.m56_1, this.n56_1, null)).b21(this);
343
343
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
344
344
  return suspendResult;
345
345
  }
@@ -371,8 +371,8 @@ function get_supportedCapabilities() {
371
371
  return emptySet();
372
372
  }
373
373
  function install(client) {
374
- var tmp = Phases_getInstance().l50_1;
375
- client.a4y_1.l3w(tmp, HttpClientEngine$install$slambda_0(client, this, null));
374
+ var tmp = Phases_getInstance().z50_1;
375
+ client.o4y_1.z3w(tmp, HttpClientEngine$install$slambda_0(client, this, null));
376
376
  }
377
377
  var HttpClientEngineClass;
378
378
  function HttpClientEngine() {
@@ -385,22 +385,22 @@ function HttpClientEngine() {
385
385
  }
386
386
  function validateHeaders(request) {
387
387
  _init_properties_HttpClientEngine_kt__h91z5h();
388
- var requestHeaders = request.e56_1;
388
+ var requestHeaders = request.s56_1;
389
389
  // Inline function 'kotlin.collections.filter' call
390
- var tmp0 = requestHeaders.t3s();
390
+ var tmp0 = requestHeaders.h3t();
391
391
  // Inline function 'kotlin.collections.filterTo' call
392
392
  var destination = ArrayList().l1();
393
393
  var _iterator__ex2g4s = tmp0.d1();
394
394
  while (_iterator__ex2g4s.e1()) {
395
395
  var element = _iterator__ex2g4s.f1();
396
- if (HttpHeaders_getInstance().n44_1.q2(element)) {
396
+ if (HttpHeaders_getInstance().b45_1.q2(element)) {
397
397
  destination.m(element);
398
398
  }
399
399
  }
400
400
  var unsafeRequestHeaders = destination;
401
401
  // Inline function 'kotlin.collections.isNotEmpty' call
402
402
  if (!unsafeRequestHeaders.j()) {
403
- throw UnsafeHeaderException().k45(toString(unsafeRequestHeaders));
403
+ throw UnsafeHeaderException().y45(toString(unsafeRequestHeaders));
404
404
  }
405
405
  }
406
406
  function createCallContext(_this__u8e3s4, parentJob, $completion) {
@@ -27,18 +27,18 @@ import { IllegalStateExceptionkoljg5n0nrlr as IllegalStateException } from '../.
27
27
  //endregion
28
28
  function HttpClientEngineBase$dispatcher$delegate$lambda(this$0) {
29
29
  return function () {
30
- var tmp0_elvis_lhs = this$0.g50().x57_1;
30
+ var tmp0_elvis_lhs = this$0.u50().l58_1;
31
31
  return tmp0_elvis_lhs == null ? ioDispatcher() : tmp0_elvis_lhs;
32
32
  };
33
33
  }
34
34
  function HttpClientEngineBase$_get_dispatcher_$ref_kz5x8v() {
35
35
  return function (p0) {
36
- return p0.e58();
36
+ return p0.s58();
37
37
  };
38
38
  }
39
39
  function HttpClientEngineBase$coroutineContext$delegate$lambda(this$0) {
40
40
  return function () {
41
- return SilentSupervisor().lm(this$0.e58()).lm(new (CoroutineName())(this$0.a58_1 + '-context'));
41
+ return SilentSupervisor().lm(this$0.s58()).lm(new (CoroutineName())(this$0.o58_1 + '-context'));
42
42
  };
43
43
  }
44
44
  function HttpClientEngineBase$_get_coroutineContext_$ref_p82ehr() {
@@ -51,29 +51,29 @@ function HttpClientEngineBase() {
51
51
  if (HttpClientEngineBaseClass === VOID) {
52
52
  class $ {
53
53
  constructor(engineName) {
54
- this.a58_1 = engineName;
55
- this.b58_1 = atomic$boolean$1(false);
54
+ this.o58_1 = engineName;
55
+ this.p58_1 = atomic$boolean$1(false);
56
56
  var tmp = this;
57
- tmp.c58_1 = lazy(HttpClientEngineBase$dispatcher$delegate$lambda(this));
57
+ tmp.q58_1 = lazy(HttpClientEngineBase$dispatcher$delegate$lambda(this));
58
58
  var tmp_0 = this;
59
- tmp_0.d58_1 = lazy(HttpClientEngineBase$coroutineContext$delegate$lambda(this));
59
+ tmp_0.r58_1 = lazy(HttpClientEngineBase$coroutineContext$delegate$lambda(this));
60
60
  }
61
- e58() {
62
- var tmp0 = this.c58_1;
61
+ s58() {
62
+ var tmp0 = this.q58_1;
63
63
  var tmp = KProperty1();
64
64
  // Inline function 'kotlin.getValue' call
65
65
  getPropertyCallableRef('dispatcher', 1, tmp, HttpClientEngineBase$_get_dispatcher_$ref_kz5x8v(), null);
66
66
  return tmp0.s1();
67
67
  }
68
68
  s1x() {
69
- var tmp0 = this.d58_1;
69
+ var tmp0 = this.r58_1;
70
70
  var tmp = KProperty1();
71
71
  // Inline function 'kotlin.getValue' call
72
72
  getPropertyCallableRef('coroutineContext', 1, tmp, HttpClientEngineBase$_get_coroutineContext_$ref_p82ehr(), null);
73
73
  return tmp0.s1();
74
74
  }
75
75
  v5() {
76
- if (!this.b58_1.atomicfu$compareAndSet(false, true))
76
+ if (!this.p58_1.atomicfu$compareAndSet(false, true))
77
77
  return Unit_instance;
78
78
  var tmp = this.s1x().nc(Key_instance);
79
79
  var tmp0_elvis_lhs = (!(tmp == null) ? isInterface(tmp, CompletableJob()) : false) ? tmp : null;
@@ -87,8 +87,8 @@ function HttpClientEngineBase() {
87
87
  requestJob.d25();
88
88
  }
89
89
  }
90
- protoOf($).j56 = get_supportedCapabilities;
91
- protoOf($).h50 = install;
90
+ protoOf($).x56 = get_supportedCapabilities;
91
+ protoOf($).v50 = install;
92
92
  initMetadataForClass($, 'HttpClientEngineBase', VOID, VOID, [HttpClientEngine()], [1]);
93
93
  HttpClientEngineBaseClass = $;
94
94
  }
@@ -98,22 +98,22 @@ var ClientEngineClosedExceptionClass;
98
98
  function ClientEngineClosedException() {
99
99
  if (ClientEngineClosedExceptionClass === VOID) {
100
100
  class $ extends IllegalStateException() {
101
- static u57(cause) {
101
+ static i58(cause) {
102
102
  cause = cause === VOID ? null : cause;
103
103
  var $this = this.o4('Client already closed');
104
- captureStack($this, $this.t57_1);
105
- $this.s57_1 = cause;
104
+ captureStack($this, $this.h58_1);
105
+ $this.g58_1 = cause;
106
106
  delete $this.cause;
107
107
  return $this;
108
108
  }
109
109
  gd() {
110
- return this.s57_1;
110
+ return this.g58_1;
111
111
  }
112
112
  get cause() {
113
113
  return this.gd();
114
114
  }
115
115
  }
116
- initMetadataForClass($, 'ClientEngineClosedException', $.u57);
116
+ initMetadataForClass($, 'ClientEngineClosedException', $.i58);
117
117
  ClientEngineClosedExceptionClass = $;
118
118
  }
119
119
  return ClientEngineClosedExceptionClass;
@@ -9,10 +9,10 @@ function HttpClientEngineConfig() {
9
9
  if (HttpClientEngineConfigClass === VOID) {
10
10
  class $ {
11
11
  constructor() {
12
- this.w57_1 = 4;
13
- this.x57_1 = null;
14
- this.y57_1 = false;
15
- this.z57_1 = null;
12
+ this.k58_1 = 4;
13
+ this.l58_1 = null;
14
+ this.m58_1 = false;
15
+ this.n58_1 = null;
16
16
  }
17
17
  }
18
18
  initMetadataForClass($, 'HttpClientEngineConfig', HttpClientEngineConfig);
@@ -14,8 +14,8 @@ function Node() {
14
14
  if (NodeClass === VOID) {
15
15
  class $ {
16
16
  constructor(item, next) {
17
- this.o67_1 = item;
18
- this.p67_1 = next;
17
+ this.c68_1 = item;
18
+ this.d68_1 = next;
19
19
  }
20
20
  }
21
21
  initMetadataForClass($, 'Node');
@@ -28,15 +28,15 @@ function engines$iterator$1() {
28
28
  if (engines$iterator$1Class === VOID) {
29
29
  class $ {
30
30
  constructor() {
31
- this.q67_1 = engines_getInstance().m62_1.kotlinx$atomicfu$value;
31
+ this.e68_1 = engines_getInstance().a63_1.kotlinx$atomicfu$value;
32
32
  }
33
33
  f1() {
34
- var result = ensureNotNull(this.q67_1);
35
- this.q67_1 = result.p67_1;
36
- return result.o67_1;
34
+ var result = ensureNotNull(this.e68_1);
35
+ this.e68_1 = result.d68_1;
36
+ return result.c68_1;
37
37
  }
38
38
  e1() {
39
- return !(null == this.q67_1);
39
+ return !(null == this.e68_1);
40
40
  }
41
41
  }
42
42
  initMetadataForClass($);
@@ -50,13 +50,13 @@ function engines() {
50
50
  class $ {
51
51
  constructor() {
52
52
  engines_instance = this;
53
- this.m62_1 = atomic$ref$1(null);
53
+ this.a63_1 = atomic$ref$1(null);
54
54
  }
55
- n62(item) {
55
+ b63(item) {
56
56
  $l$loop: while (true) {
57
- var current = this.m62_1.kotlinx$atomicfu$value;
57
+ var current = this.a63_1.kotlinx$atomicfu$value;
58
58
  var new_0 = new (Node())(item, current);
59
- if (this.m62_1.atomicfu$compareAndSet(current, new_0))
59
+ if (this.a63_1.atomicfu$compareAndSet(current, new_0))
60
60
  break $l$loop;
61
61
  }
62
62
  }
@@ -35,35 +35,35 @@ var DATE_HEADERS;
35
35
  function callContext($completion) {
36
36
  // Inline function 'kotlin.js.getCoroutineContext' call
37
37
  var tmp$ret$0 = $completion.gc();
38
- return ensureNotNull(tmp$ret$0.nc(Companion_instance)).f58_1;
38
+ return ensureNotNull(tmp$ret$0.nc(Companion_instance)).t58_1;
39
39
  }
40
40
  function mergeHeaders(requestHeaders, content, block) {
41
41
  _init_properties_Utils_kt__jo07cx();
42
42
  var tmp = buildHeaders(mergeHeaders$lambda(requestHeaders, content));
43
- tmp.w3s(mergeHeaders$lambda_0(block));
44
- var missingAgent = requestHeaders.o3r(HttpHeaders_getInstance().q43_1) == null && content.l45().o3r(HttpHeaders_getInstance().q43_1) == null;
43
+ tmp.k3t(mergeHeaders$lambda_0(block));
44
+ var missingAgent = requestHeaders.c3s(HttpHeaders_getInstance().e44_1) == null && content.z45().c3s(HttpHeaders_getInstance().e44_1) == null;
45
45
  if (missingAgent && needUserAgent()) {
46
- block(HttpHeaders_getInstance().q43_1, get_KTOR_DEFAULT_USER_AGENT());
46
+ block(HttpHeaders_getInstance().e44_1, get_KTOR_DEFAULT_USER_AGENT());
47
47
  }
48
- var tmp0_safe_receiver = content.e4b();
48
+ var tmp0_safe_receiver = content.s4b();
49
49
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
50
- var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? content.l45().o3r(HttpHeaders_getInstance().k41_1) : tmp1_elvis_lhs;
51
- var type = tmp2_elvis_lhs == null ? requestHeaders.o3r(HttpHeaders_getInstance().k41_1) : tmp2_elvis_lhs;
52
- var tmp3_safe_receiver = content.f4b();
50
+ var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? content.z45().c3s(HttpHeaders_getInstance().y41_1) : tmp1_elvis_lhs;
51
+ var type = tmp2_elvis_lhs == null ? requestHeaders.c3s(HttpHeaders_getInstance().y41_1) : tmp2_elvis_lhs;
52
+ var tmp3_safe_receiver = content.t4b();
53
53
  var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
54
- var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? content.l45().o3r(HttpHeaders_getInstance().h41_1) : tmp4_elvis_lhs;
55
- var length = tmp5_elvis_lhs == null ? requestHeaders.o3r(HttpHeaders_getInstance().h41_1) : tmp5_elvis_lhs;
54
+ var tmp5_elvis_lhs = tmp4_elvis_lhs == null ? content.z45().c3s(HttpHeaders_getInstance().v41_1) : tmp4_elvis_lhs;
55
+ var length = tmp5_elvis_lhs == null ? requestHeaders.c3s(HttpHeaders_getInstance().v41_1) : tmp5_elvis_lhs;
56
56
  if (type == null)
57
57
  null;
58
58
  else {
59
59
  // Inline function 'kotlin.let' call
60
- block(HttpHeaders_getInstance().k41_1, type);
60
+ block(HttpHeaders_getInstance().y41_1, type);
61
61
  }
62
62
  if (length == null)
63
63
  null;
64
64
  else {
65
65
  // Inline function 'kotlin.let' call
66
- block(HttpHeaders_getInstance().h41_1, length);
66
+ block(HttpHeaders_getInstance().v41_1, length);
67
67
  }
68
68
  }
69
69
  var CompanionClass;
@@ -84,7 +84,7 @@ function KtorCallContextElement() {
84
84
  if (KtorCallContextElementClass === VOID) {
85
85
  class $ {
86
86
  constructor(callContext) {
87
- this.f58_1 = callContext;
87
+ this.t58_1 = callContext;
88
88
  }
89
89
  r1() {
90
90
  return Companion_instance;
@@ -101,23 +101,23 @@ function KtorCallContextElement() {
101
101
  }
102
102
  function needUserAgent() {
103
103
  _init_properties_Utils_kt__jo07cx();
104
- return !PlatformUtils_getInstance().j3s_1;
104
+ return !PlatformUtils_getInstance().x3s_1;
105
105
  }
106
106
  function mergeHeaders$lambda($requestHeaders, $content) {
107
107
  return function ($this$buildHeaders) {
108
- $this$buildHeaders.e3t($requestHeaders);
109
- $this$buildHeaders.e3t($content.l45());
108
+ $this$buildHeaders.s3t($requestHeaders);
109
+ $this$buildHeaders.s3t($content.z45());
110
110
  return Unit_instance;
111
111
  };
112
112
  }
113
113
  function mergeHeaders$lambda_0($block) {
114
114
  return function (key, values) {
115
115
  var tmp;
116
- if (HttpHeaders_getInstance().h41_1 === key) {
116
+ if (HttpHeaders_getInstance().v41_1 === key) {
117
117
  return Unit_instance;
118
118
  }
119
119
  var tmp_0;
120
- if (HttpHeaders_getInstance().k41_1 === key) {
120
+ if (HttpHeaders_getInstance().y41_1 === key) {
121
121
  return Unit_instance;
122
122
  }
123
123
  var tmp_1;
@@ -130,7 +130,7 @@ function mergeHeaders$lambda_0($block) {
130
130
  }
131
131
  tmp_1 = Unit_instance;
132
132
  } else {
133
- var separator = HttpHeaders_getInstance().l41_1 === key ? '; ' : ',';
133
+ var separator = HttpHeaders_getInstance().z41_1 === key ? '; ' : ',';
134
134
  tmp_1 = $block(key, joinToString(values, separator));
135
135
  }
136
136
  return Unit_instance;
@@ -141,7 +141,7 @@ function _init_properties_Utils_kt__jo07cx() {
141
141
  if (!properties_initialized_Utils_kt_xvi83j) {
142
142
  properties_initialized_Utils_kt_xvi83j = true;
143
143
  KTOR_DEFAULT_USER_AGENT = 'ktor-client';
144
- DATE_HEADERS = setOf([HttpHeaders_getInstance().n41_1, HttpHeaders_getInstance().t41_1, HttpHeaders_getInstance().f42_1, HttpHeaders_getInstance().a42_1, HttpHeaders_getInstance().e42_1]);
144
+ DATE_HEADERS = setOf([HttpHeaders_getInstance().b42_1, HttpHeaders_getInstance().h42_1, HttpHeaders_getInstance().t42_1, HttpHeaders_getInstance().o42_1, HttpHeaders_getInstance().s42_1]);
145
145
  }
146
146
  }
147
147
  //region block: init
@@ -20,14 +20,14 @@ var JsClass;
20
20
  function Js() {
21
21
  if (JsClass === VOID) {
22
22
  class $ {
23
- f62(block) {
23
+ t62(block) {
24
24
  // Inline function 'kotlin.apply' call
25
25
  var this_0 = new (JsClientEngineConfig())();
26
26
  block(this_0);
27
27
  return new (JsClientEngine())(this_0);
28
28
  }
29
- f51(block) {
30
- return this.f62(block);
29
+ t51(block) {
30
+ return this.t62(block);
31
31
  }
32
32
  toString() {
33
33
  return 'Js';
@@ -63,8 +63,8 @@ function JsClientEngineConfig() {
63
63
  constructor() {
64
64
  super();
65
65
  var tmp = this;
66
- tmp.k62_1 = JsClientEngineConfig$requestInit$lambda;
67
- this.l62_1 = Object.create(null);
66
+ tmp.y62_1 = JsClientEngineConfig$requestInit$lambda;
67
+ this.z62_1 = Object.create(null);
68
68
  }
69
69
  }
70
70
  initMetadataForClass($, 'JsClientEngineConfig', JsClientEngineConfig);
@@ -73,7 +73,7 @@ function JsClientEngineConfig() {
73
73
  return JsClientEngineConfigClass;
74
74
  }
75
75
  function initHook$init$() {
76
- engines_getInstance().n62(Js_instance);
76
+ engines_getInstance().b63(Js_instance);
77
77
  return Unit_instance;
78
78
  }
79
79
  //region block: init