@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
@@ -105,8 +105,8 @@ function $executeCOROUTINE$() {
105
105
  class $ extends CoroutineImpl() {
106
106
  constructor(_this__u8e3s4, data, resultContinuation) {
107
107
  super(resultContinuation);
108
- this.b64_1 = _this__u8e3s4;
109
- this.c64_1 = data;
108
+ this.p64_1 = _this__u8e3s4;
109
+ this.q64_1 = data;
110
110
  }
111
111
  ic() {
112
112
  var suspendResult = this.cc_1;
@@ -124,11 +124,11 @@ function $executeCOROUTINE$() {
124
124
 
125
125
  continue $sm;
126
126
  case 1:
127
- this.d64_1 = suspendResult;
128
- this.e64_1 = this.c64_1.h56_1.d3r(get_CLIENT_CONFIG());
129
- if (isUpgradeRequest(this.c64_1)) {
127
+ this.r64_1 = suspendResult;
128
+ this.s64_1 = this.q64_1.v56_1.r3r(get_CLIENT_CONFIG());
129
+ if (isUpgradeRequest(this.q64_1)) {
130
130
  this.ac_1 = 5;
131
- suspendResult = executeWebSocketRequest(this.b64_1, this.c64_1, this.d64_1, this);
131
+ suspendResult = executeWebSocketRequest(this.p64_1, this.q64_1, this.r64_1, this);
132
132
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
133
133
  return suspendResult;
134
134
  }
@@ -139,19 +139,19 @@ function $executeCOROUTINE$() {
139
139
  }
140
140
 
141
141
  case 2:
142
- this.f64_1 = GMTDate();
142
+ this.t64_1 = GMTDate();
143
143
  this.ac_1 = 3;
144
- suspendResult = toRaw(this.c64_1, this.e64_1, this.d64_1, this);
144
+ suspendResult = toRaw(this.q64_1, this.s64_1, this.r64_1, this);
145
145
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
146
146
  return suspendResult;
147
147
  }
148
148
 
149
149
  continue $sm;
150
150
  case 3:
151
- this.g64_1 = suspendResult;
151
+ this.u64_1 = suspendResult;
152
152
  var tmp_0 = this;
153
- var tmp0_safe_receiver = this.c64_1.h56_1.e3r(Companion_getInstance().e62_1);
154
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i64_1;
153
+ var tmp0_safe_receiver = this.q64_1.v56_1.s3r(Companion_getInstance().s62_1);
154
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w64_1;
155
155
  var tmp_1;
156
156
  if (tmp1_elvis_lhs == null) {
157
157
  tmp_1 = JsClientEngine$execute$lambda;
@@ -159,9 +159,9 @@ function $executeCOROUTINE$() {
159
159
  tmp_1 = tmp1_elvis_lhs;
160
160
  }
161
161
 
162
- tmp_0.h64_1 = tmp_1;
162
+ tmp_0.v64_1 = tmp_1;
163
163
  this.ac_1 = 4;
164
- suspendResult = commonFetch(this.c64_1.c56_1.toString(), this.g64_1, this.h64_1, this.b64_1.n64_1, get_job(this.d64_1), this);
164
+ suspendResult = commonFetch(this.q64_1.q56_1.toString(), this.u64_1, this.v64_1, this.p64_1.b65_1, get_job(this.r64_1), this);
165
165
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
166
166
  return suspendResult;
167
167
  }
@@ -170,13 +170,13 @@ function $executeCOROUTINE$() {
170
170
  case 4:
171
171
  var rawResponse = suspendResult;
172
172
  var status = new (HttpStatusCode())(rawResponse.status, rawResponse.statusText);
173
- var headers = mapToKtor(rawResponse.headers, this.c64_1.d56_1, this.c64_1.h56_1);
174
- var version = Companion_getInstance_1().w45_1;
175
- var body = readBody(CoroutineScope(this.d64_1), rawResponse);
176
- var tmp2_safe_receiver = this.c64_1.h56_1.e3r(get_ResponseAdapterAttributeKey());
177
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.f5w(this.c64_1, status, headers, body, this.c64_1.f56_1, this.d64_1);
173
+ var headers = mapToKtor(rawResponse.headers, this.q64_1.r56_1, this.q64_1.v56_1);
174
+ var version = Companion_getInstance_1().k46_1;
175
+ var body = readBody(CoroutineScope(this.r64_1), rawResponse);
176
+ var tmp2_safe_receiver = this.q64_1.v56_1.s3r(get_ResponseAdapterAttributeKey());
177
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t5w(this.q64_1, status, headers, body, this.q64_1.t56_1, this.r64_1);
178
178
  var responseBody = tmp3_elvis_lhs == null ? body : tmp3_elvis_lhs;
179
- return new (HttpResponseData())(status, this.f64_1, headers, version, responseBody, this.d64_1);
179
+ return new (HttpResponseData())(status, this.t64_1, headers, version, responseBody, this.r64_1);
180
180
  case 5:
181
181
  return suspendResult;
182
182
  case 6:
@@ -205,9 +205,9 @@ function $createWebSocketCOROUTINE$() {
205
205
  class $ extends CoroutineImpl() {
206
206
  constructor(_this__u8e3s4, urlString_capturingHack, headers, resultContinuation) {
207
207
  super(resultContinuation);
208
- this.w62_1 = _this__u8e3s4;
209
- this.x62_1 = urlString_capturingHack;
210
- this.y62_1 = headers;
208
+ this.k63_1 = _this__u8e3s4;
209
+ this.l63_1 = urlString_capturingHack;
210
+ this.m63_1 = headers;
211
211
  }
212
212
  ic() {
213
213
  var suspendResult = this.cc_1;
@@ -218,24 +218,24 @@ function $createWebSocketCOROUTINE$() {
218
218
  case 0:
219
219
  this.bc_1 = 3;
220
220
  var tmp_0 = this;
221
- var tmp0 = this.y62_1.t3s();
221
+ var tmp0 = this.m63_1.h3t();
222
222
  var destination = ArrayList().l1();
223
223
  var _iterator__ex2g4s = tmp0.d1();
224
224
  while (_iterator__ex2g4s.e1()) {
225
225
  var element = _iterator__ex2g4s.f1();
226
- if (equals(element, HttpHeaders_getInstance().f43_1, true)) {
226
+ if (equals(element, HttpHeaders_getInstance().t43_1, true)) {
227
227
  destination.m(element);
228
228
  }
229
229
  }
230
230
 
231
- tmp_0.z62_1 = destination;
231
+ tmp_0.n63_1 = destination;
232
232
  var tmp_1 = this;
233
- var tmp0_0 = this.z62_1;
233
+ var tmp0_0 = this.n63_1;
234
234
  var destination_0 = ArrayList().l1();
235
235
  var _iterator__ex2g4s_0 = tmp0_0.d1();
236
236
  while (_iterator__ex2g4s_0.e1()) {
237
237
  var element_0 = _iterator__ex2g4s_0.f1();
238
- var tmp0_safe_receiver = this.y62_1.s3s(element_0);
238
+ var tmp0_safe_receiver = this.m63_1.g3t(element_0);
239
239
  if (tmp0_safe_receiver == null)
240
240
  null;
241
241
  else {
@@ -244,15 +244,15 @@ function $createWebSocketCOROUTINE$() {
244
244
  }
245
245
 
246
246
  var this_0 = flatten(destination_0);
247
- tmp_1.a63_1 = copyToArray(this_0);
248
- if (PlatformUtils_getInstance().j3s_1) {
249
- this.b63_1 = new WebSocket(this.x62_1, this.a63_1);
247
+ tmp_1.o63_1 = copyToArray(this_0);
248
+ if (PlatformUtils_getInstance().x3s_1) {
249
+ this.p63_1 = new WebSocket(this.l63_1, this.o63_1);
250
250
  this.ac_1 = 2;
251
251
  continue $sm;
252
252
  } else {
253
- this.c63_1 = import('ws');
253
+ this.q63_1 = import('ws');
254
254
  this.ac_1 = 1;
255
- suspendResult = await_0(this.c63_1, this);
255
+ suspendResult = await_0(this.q63_1, this);
256
256
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
257
257
  return suspendResult;
258
258
  }
@@ -262,12 +262,12 @@ function $createWebSocketCOROUTINE$() {
262
262
  case 1:
263
263
  var ws_capturingHack = suspendResult.default;
264
264
  var headers_capturingHack = new (JsClientEngine$createWebSocket$headers_capturingHack$1())();
265
- this.y62_1.w3s(JsClientEngine$createWebSocket$lambda(headers_capturingHack));
266
- this.b63_1 = new ws_capturingHack(this.x62_1, this.a63_1, {headers: headers_capturingHack});
265
+ this.m63_1.k3t(JsClientEngine$createWebSocket$lambda(headers_capturingHack));
266
+ this.p63_1 = new ws_capturingHack(this.l63_1, this.o63_1, {headers: headers_capturingHack});
267
267
  this.ac_1 = 2;
268
268
  continue $sm;
269
269
  case 2:
270
- return this.b63_1;
270
+ return this.p63_1;
271
271
  case 3:
272
272
  throw this.dc_1;
273
273
  }
@@ -294,9 +294,9 @@ function $executeWebSocketRequestCOROUTINE$() {
294
294
  class $ extends CoroutineImpl() {
295
295
  constructor(_this__u8e3s4, request, callContext, resultContinuation) {
296
296
  super(resultContinuation);
297
- this.l63_1 = _this__u8e3s4;
298
- this.m63_1 = request;
299
- this.n63_1 = callContext;
297
+ this.z63_1 = _this__u8e3s4;
298
+ this.a64_1 = request;
299
+ this.b64_1 = callContext;
300
300
  }
301
301
  ic() {
302
302
  var suspendResult = this.cc_1;
@@ -306,28 +306,28 @@ function $executeWebSocketRequestCOROUTINE$() {
306
306
  switch (tmp) {
307
307
  case 0:
308
308
  this.bc_1 = 5;
309
- this.o63_1 = GMTDate();
310
- this.p63_1 = this.m63_1.c56_1.toString();
309
+ this.c64_1 = GMTDate();
310
+ this.d64_1 = this.a64_1.q56_1.toString();
311
311
  this.ac_1 = 1;
312
- suspendResult = createWebSocket(this.l63_1, this.p63_1, this.m63_1.e56_1, this);
312
+ suspendResult = createWebSocket(this.z63_1, this.d64_1, this.a64_1.s56_1, this);
313
313
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
314
314
  return suspendResult;
315
315
  }
316
316
 
317
317
  continue $sm;
318
318
  case 1:
319
- this.q63_1 = suspendResult;
320
- this.r63_1 = new (JsWebSocketSession())(this.n63_1, this.q63_1);
319
+ this.e64_1 = suspendResult;
320
+ this.f64_1 = new (JsWebSocketSession())(this.b64_1, this.e64_1);
321
321
  this.bc_1 = 3;
322
322
  this.ac_1 = 2;
323
- suspendResult = awaitConnection(this.q63_1, this);
323
+ suspendResult = awaitConnection(this.e64_1, this);
324
324
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
325
325
  return suspendResult;
326
326
  }
327
327
 
328
328
  continue $sm;
329
329
  case 2:
330
- this.s63_1 = suspendResult;
330
+ this.g64_1 = suspendResult;
331
331
  this.bc_1 = 5;
332
332
  this.ac_1 = 4;
333
333
  continue $sm;
@@ -337,7 +337,7 @@ function $executeWebSocketRequestCOROUTINE$() {
337
337
  if (tmp_0 instanceof Error) {
338
338
  var cause = this.dc_1;
339
339
  var tmp_1 = this;
340
- cancel(this.n63_1, CancellationException('Failed to connect to ' + this.p63_1, cause));
340
+ cancel(this.b64_1, CancellationException('Failed to connect to ' + this.d64_1, cause));
341
341
  throw cause;
342
342
  } else {
343
343
  throw this.dc_1;
@@ -345,7 +345,7 @@ function $executeWebSocketRequestCOROUTINE$() {
345
345
 
346
346
  case 4:
347
347
  this.bc_1 = 5;
348
- var this_0 = this.q63_1.protocol;
348
+ var this_0 = this.e64_1.protocol;
349
349
  var tmp_2;
350
350
  if (charSequenceLength(this_0) > 0) {
351
351
  tmp_2 = this_0;
@@ -354,8 +354,8 @@ function $executeWebSocketRequestCOROUTINE$() {
354
354
  }
355
355
 
356
356
  var protocol = tmp_2;
357
- var headers = !(protocol == null) ? headersOf(HttpHeaders_getInstance().f43_1, protocol) : Companion_getInstance_2().p40_1;
358
- return new (HttpResponseData())(Companion_getInstance_0().f46_1, this.o63_1, headers, Companion_getInstance_1().w45_1, this.r63_1, this.n63_1);
357
+ var headers = !(protocol == null) ? headersOf(HttpHeaders_getInstance().t43_1, protocol) : Companion_getInstance_2().d41_1;
358
+ return new (HttpResponseData())(Companion_getInstance_0().t46_1, this.c64_1, headers, Companion_getInstance_1().k46_1, this.f64_1, this.b64_1);
359
359
  case 5:
360
360
  throw this.dc_1;
361
361
  }
@@ -382,21 +382,21 @@ function JsClientEngine() {
382
382
  class $ extends HttpClientEngineBase() {
383
383
  constructor(config) {
384
384
  super('ktor-js');
385
- this.n64_1 = config;
386
- this.o64_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, SSECapability_instance]);
385
+ this.b65_1 = config;
386
+ this.c65_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, SSECapability_instance]);
387
387
  // Inline function 'kotlin.check' call
388
- if (!(this.n64_1.z57_1 == null)) {
388
+ if (!(this.b65_1.n58_1 == null)) {
389
389
  var message = 'Proxy unsupported in Js engine.';
390
390
  throw IllegalStateException().o4(toString(message));
391
391
  }
392
392
  }
393
- g50() {
394
- return this.n64_1;
393
+ u50() {
394
+ return this.b65_1;
395
395
  }
396
- j56() {
397
- return this.o64_1;
396
+ x56() {
397
+ return this.c65_1;
398
398
  }
399
- v57(data, $completion) {
399
+ j58(data, $completion) {
400
400
  var tmp = new ($executeCOROUTINE$())(this, data, $completion);
401
401
  tmp.cc_1 = Unit_instance;
402
402
  tmp.dc_1 = null;
@@ -439,7 +439,7 @@ function asString(_this__u8e3s4) {
439
439
  }
440
440
  function mapToKtor$lambda$lambda($this_buildHeaders) {
441
441
  return function (value, key) {
442
- $this_buildHeaders.d3t(key, value);
442
+ $this_buildHeaders.r3t(key, value);
443
443
  return Unit_instance;
444
444
  };
445
445
  }
@@ -447,7 +447,7 @@ function mapToKtor$lambda($this_mapToKtor, $method, $attributes) {
447
447
  return function ($this$buildHeaders) {
448
448
  // Inline function 'kotlin.js.asDynamic' call
449
449
  $this_mapToKtor.forEach(mapToKtor$lambda$lambda($this$buildHeaders));
450
- dropCompressionHeaders($this$buildHeaders, $method, $attributes, PlatformUtils_getInstance().j3s_1);
450
+ dropCompressionHeaders($this$buildHeaders, $method, $attributes, PlatformUtils_getInstance().x3s_1);
451
451
  return Unit_instance;
452
452
  };
453
453
  }
@@ -467,7 +467,7 @@ function awaitConnection$lambda($continuation, $this_awaitConnection) {
467
467
  var tmp0_0 = $continuation;
468
468
  // Inline function 'kotlin.coroutines.resumeWithException' call
469
469
  // Inline function 'kotlin.Companion.failure' call
470
- var exception = WebSocketException().x5v(asString(event));
470
+ var exception = WebSocketException().l5w(asString(event));
471
471
  var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
472
472
  tmp0_0.lc(tmp$ret$2);
473
473
  tmp = Unit_instance;
@@ -57,7 +57,7 @@ function buildObject(block) {
57
57
  function toRaw$lambda($skipContentLengthHeader, $jsHeaders) {
58
58
  return function (key, value) {
59
59
  var tmp;
60
- if ($skipContentLengthHeader && key === HttpHeaders_getInstance().h41_1) {
60
+ if ($skipContentLengthHeader && key === HttpHeaders_getInstance().v41_1) {
61
61
  return Unit_instance;
62
62
  }
63
63
  $jsHeaders[key] = value;
@@ -66,10 +66,10 @@ function toRaw$lambda($skipContentLengthHeader, $jsHeaders) {
66
66
  }
67
67
  function toRaw$lambda_0($this_toRaw, $jsHeaders, $clientConfig, $bodyBytes) {
68
68
  return function ($this$buildObject) {
69
- $this$buildObject.method = $this_toRaw.d56_1.u45_1;
69
+ $this$buildObject.method = $this_toRaw.r56_1.i46_1;
70
70
  $this$buildObject.headers = $jsHeaders;
71
71
  var tmp;
72
- if ($clientConfig.r50_1) {
72
+ if ($clientConfig.f51_1) {
73
73
  // Inline function 'org.w3c.fetch.FOLLOW' call
74
74
  // Inline function 'kotlin.js.asDynamic' call
75
75
  // Inline function 'kotlin.js.unsafeCast' call
@@ -98,17 +98,17 @@ function getBodyBytes$slambda() {
98
98
  constructor($content, resultContinuation, $box) {
99
99
  if ($box === VOID)
100
100
  $box = {};
101
- $box.v65_1 = $content;
101
+ $box.j66_1 = $content;
102
102
  super(resultContinuation, $box);
103
103
  }
104
- l4l($this$writer, $completion) {
105
- var tmp = this.m4l($this$writer, $completion);
104
+ z4l($this$writer, $completion) {
105
+ var tmp = this.a4m($this$writer, $completion);
106
106
  tmp.cc_1 = Unit_instance;
107
107
  tmp.dc_1 = null;
108
108
  return tmp.ic();
109
109
  }
110
110
  kd(p1, $completion) {
111
- return this.l4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
111
+ return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
112
112
  }
113
113
  ic() {
114
114
  var suspendResult = this.cc_1;
@@ -119,7 +119,7 @@ function getBodyBytes$slambda() {
119
119
  case 0:
120
120
  this.bc_1 = 2;
121
121
  this.ac_1 = 1;
122
- suspendResult = this.v65_1.l4b(this.w65_1.v3m_1, this);
122
+ suspendResult = this.j66_1.z4b(this.k66_1.j3n_1, this);
123
123
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
124
124
  return suspendResult;
125
125
  }
@@ -141,9 +141,9 @@ function getBodyBytes$slambda() {
141
141
  }
142
142
  while (true);
143
143
  }
144
- m4l($this$writer, completion) {
145
- var i = new (getBodyBytes$slambda())(this.v65_1, completion);
146
- i.w65_1 = $this$writer;
144
+ a4m($this$writer, completion) {
145
+ var i = new (getBodyBytes$slambda())(this.j66_1, completion);
146
+ i.k66_1 = $this$writer;
147
147
  return i;
148
148
  }
149
149
  }
@@ -155,7 +155,7 @@ function getBodyBytes$slambda() {
155
155
  function getBodyBytes$slambda_0($content, resultContinuation) {
156
156
  var i = new (getBodyBytes$slambda())($content, resultContinuation);
157
157
  var l = function ($this$writer, $completion) {
158
- return i.l4l($this$writer, $completion);
158
+ return i.z4l($this$writer, $completion);
159
159
  };
160
160
  l.$arity = 1;
161
161
  return l;
@@ -166,9 +166,9 @@ function $toRawCOROUTINE$() {
166
166
  class $ extends CoroutineImpl() {
167
167
  constructor(_this__u8e3s4, clientConfig, callContext, resultContinuation) {
168
168
  super(resultContinuation);
169
- this.x64_1 = _this__u8e3s4;
170
- this.y64_1 = clientConfig;
171
- this.z64_1 = callContext;
169
+ this.l65_1 = _this__u8e3s4;
170
+ this.m65_1 = clientConfig;
171
+ this.n65_1 = callContext;
172
172
  }
173
173
  ic() {
174
174
  var suspendResult = this.cc_1;
@@ -178,12 +178,12 @@ function $toRawCOROUTINE$() {
178
178
  switch (tmp) {
179
179
  case 0:
180
180
  this.bc_1 = 2;
181
- this.a65_1 = {};
182
- var this_0 = this.x64_1;
183
- var skipContentLengthHeader = !get_supportsRequestBody(this_0.d56_1) && isEmpty(this_0.f56_1);
184
- mergeHeaders(this_0.e56_1, this_0.f56_1, toRaw$lambda(skipContentLengthHeader, this.a65_1));
181
+ this.o65_1 = {};
182
+ var this_0 = this.l65_1;
183
+ var skipContentLengthHeader = !get_supportsRequestBody(this_0.r56_1) && isEmpty(this_0.t56_1);
184
+ mergeHeaders(this_0.s56_1, this_0.t56_1, toRaw$lambda(skipContentLengthHeader, this.o65_1));
185
185
  this.ac_1 = 1;
186
- suspendResult = getBodyBytes(this.x64_1.f56_1, this.z64_1, this);
186
+ suspendResult = getBodyBytes(this.l65_1.t56_1, this.n65_1, this);
187
187
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
188
188
  return suspendResult;
189
189
  }
@@ -191,7 +191,7 @@ function $toRawCOROUTINE$() {
191
191
  continue $sm;
192
192
  case 1:
193
193
  var bodyBytes = suspendResult;
194
- return buildObject(toRaw$lambda_0(this.x64_1, this.a65_1, this.y64_1, bodyBytes));
194
+ return buildObject(toRaw$lambda_0(this.l65_1, this.o65_1, this.m65_1, bodyBytes));
195
195
  case 2:
196
196
  throw this.dc_1;
197
197
  }
@@ -218,8 +218,8 @@ function $getBodyBytesCOROUTINE$() {
218
218
  class $ extends CoroutineImpl() {
219
219
  constructor(content, callContext, resultContinuation) {
220
220
  super(resultContinuation);
221
- this.j65_1 = content;
222
- this.k65_1 = callContext;
221
+ this.x65_1 = content;
222
+ this.y65_1 = callContext;
223
223
  }
224
224
  ic() {
225
225
  var suspendResult = this.cc_1;
@@ -229,51 +229,51 @@ function $getBodyBytesCOROUTINE$() {
229
229
  switch (tmp) {
230
230
  case 0:
231
231
  this.bc_1 = 4;
232
- this.l65_1 = this.j65_1;
233
- var tmp_0 = this.l65_1;
232
+ this.z65_1 = this.x65_1;
233
+ var tmp_0 = this.z65_1;
234
234
  if (tmp_0 instanceof ByteArrayContent()) {
235
- this.m65_1 = this.j65_1.g4b();
235
+ this.a66_1 = this.x65_1.u4b();
236
236
  this.ac_1 = 5;
237
237
  continue $sm;
238
238
  } else {
239
- var tmp_1 = this.l65_1;
239
+ var tmp_1 = this.z65_1;
240
240
  if (tmp_1 instanceof ReadChannelContent()) {
241
241
  this.ac_1 = 3;
242
- suspendResult = readRemaining(this.j65_1.j4b(), this);
242
+ suspendResult = readRemaining(this.x65_1.x4b(), this);
243
243
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
244
244
  return suspendResult;
245
245
  }
246
246
  continue $sm;
247
247
  } else {
248
- var tmp_2 = this.l65_1;
248
+ var tmp_2 = this.z65_1;
249
249
  if (tmp_2 instanceof WriteChannelContent()) {
250
250
  this.ac_1 = 2;
251
251
  var tmp_3 = GlobalScope_instance;
252
- suspendResult = readRemaining(writer(tmp_3, this.k65_1, VOID, getBodyBytes$slambda_0(this.j65_1, null)).t3m_1, this);
252
+ suspendResult = readRemaining(writer(tmp_3, this.y65_1, VOID, getBodyBytes$slambda_0(this.x65_1, null)).h3n_1, this);
253
253
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
254
254
  return suspendResult;
255
255
  }
256
256
  continue $sm;
257
257
  } else {
258
- var tmp_4 = this.l65_1;
258
+ var tmp_4 = this.z65_1;
259
259
  if (tmp_4 instanceof ContentWrapper()) {
260
260
  this.ac_1 = 1;
261
- suspendResult = getBodyBytes(this.j65_1.p4b(), this.k65_1, this);
261
+ suspendResult = getBodyBytes(this.x65_1.d4c(), this.y65_1, this);
262
262
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
263
263
  return suspendResult;
264
264
  }
265
265
  continue $sm;
266
266
  } else {
267
- var tmp_5 = this.l65_1;
267
+ var tmp_5 = this.z65_1;
268
268
  if (tmp_5 instanceof NoContent()) {
269
- this.m65_1 = null;
269
+ this.a66_1 = null;
270
270
  this.ac_1 = 5;
271
271
  continue $sm;
272
272
  } else {
273
- var tmp_6 = this.l65_1;
273
+ var tmp_6 = this.z65_1;
274
274
  if (tmp_6 instanceof ProtocolUpgrade()) {
275
275
  var tmp_7 = this;
276
- throw UnsupportedContentTypeException().z54(this.j65_1);
276
+ throw UnsupportedContentTypeException().n55(this.x65_1);
277
277
  } else {
278
278
  var tmp_8 = this;
279
279
  noWhenBranchMatchedException();
@@ -286,23 +286,23 @@ function $getBodyBytesCOROUTINE$() {
286
286
 
287
287
  break;
288
288
  case 1:
289
- this.m65_1 = suspendResult;
289
+ this.a66_1 = suspendResult;
290
290
  this.ac_1 = 5;
291
291
  continue $sm;
292
292
  case 2:
293
293
  var ARGUMENT = suspendResult;
294
- this.m65_1 = readByteArray(ARGUMENT);
294
+ this.a66_1 = readByteArray(ARGUMENT);
295
295
  this.ac_1 = 5;
296
296
  continue $sm;
297
297
  case 3:
298
298
  var ARGUMENT_0 = suspendResult;
299
- this.m65_1 = readByteArray(ARGUMENT_0);
299
+ this.a66_1 = readByteArray(ARGUMENT_0);
300
300
  this.ac_1 = 5;
301
301
  continue $sm;
302
302
  case 4:
303
303
  throw this.dc_1;
304
304
  case 5:
305
- return this.m65_1;
305
+ return this.a66_1;
306
306
  }
307
307
  } catch ($p) {
308
308
  var e = $p;
@@ -27,7 +27,7 @@ function readBodyBrowser(_this__u8e3s4, response) {
27
27
  var tmp0_elvis_lhs = response.body;
28
28
  var tmp;
29
29
  if (tmp0_elvis_lhs == null) {
30
- return Companion_getInstance().t3c_1;
30
+ return Companion_getInstance().h3d_1;
31
31
  } else {
32
32
  tmp = tmp0_elvis_lhs;
33
33
  }
@@ -35,7 +35,7 @@ function readBodyBrowser(_this__u8e3s4, response) {
35
35
  return channelFromStream(_this__u8e3s4, stream);
36
36
  }
37
37
  function channelFromStream(_this__u8e3s4, stream) {
38
- return writer(_this__u8e3s4, VOID, VOID, channelFromStream$slambda_0(stream, null)).t3m_1;
38
+ return writer(_this__u8e3s4, VOID, VOID, channelFromStream$slambda_0(stream, null)).h3n_1;
39
39
  }
40
40
  function readChunk(_this__u8e3s4, $completion) {
41
41
  var safe = SafeContinuation().tc(intercepted($completion));
@@ -54,17 +54,17 @@ function channelFromStream$slambda() {
54
54
  constructor($stream, resultContinuation, $box) {
55
55
  if ($box === VOID)
56
56
  $box = {};
57
- $box.f66_1 = $stream;
57
+ $box.t66_1 = $stream;
58
58
  super(resultContinuation, $box);
59
59
  }
60
- l4l($this$writer, $completion) {
61
- var tmp = this.m4l($this$writer, $completion);
60
+ z4l($this$writer, $completion) {
61
+ var tmp = this.a4m($this$writer, $completion);
62
62
  tmp.cc_1 = Unit_instance;
63
63
  tmp.dc_1 = null;
64
64
  return tmp.ic();
65
65
  }
66
66
  kd(p1, $completion) {
67
- return this.l4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
67
+ return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
68
68
  }
69
69
  ic() {
70
70
  var suspendResult = this.cc_1;
@@ -74,7 +74,7 @@ function channelFromStream$slambda() {
74
74
  switch (tmp) {
75
75
  case 0:
76
76
  this.bc_1 = 9;
77
- this.h66_1 = this.f66_1.getReader();
77
+ this.v66_1 = this.t66_1.getReader();
78
78
  this.bc_1 = 7;
79
79
  this.ac_1 = 1;
80
80
  continue $sm;
@@ -85,28 +85,28 @@ function channelFromStream$slambda() {
85
85
  }
86
86
 
87
87
  this.ac_1 = 2;
88
- suspendResult = readChunk(this.h66_1, this);
88
+ suspendResult = readChunk(this.v66_1, this);
89
89
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
90
90
  return suspendResult;
91
91
  }
92
92
 
93
93
  continue $sm;
94
94
  case 2:
95
- this.i66_1 = suspendResult;
96
- if (this.i66_1 == null) {
95
+ this.w66_1 = suspendResult;
96
+ if (this.w66_1 == null) {
97
97
  this.ac_1 = 6;
98
98
  var tmp_0 = this;
99
99
  continue $sm;
100
100
  } else {
101
- this.j66_1 = this.i66_1;
101
+ this.x66_1 = this.w66_1;
102
102
  this.ac_1 = 3;
103
103
  continue $sm;
104
104
  }
105
105
 
106
106
  case 3:
107
- this.k66_1 = this.j66_1;
107
+ this.y66_1 = this.x66_1;
108
108
  this.ac_1 = 4;
109
- suspendResult = writeFully(this.g66_1.v3m_1, asByteArray(this.k66_1), VOID, VOID, this);
109
+ suspendResult = writeFully(this.u66_1.j3n_1, asByteArray(this.y66_1), VOID, VOID, this);
110
110
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
111
111
  return suspendResult;
112
112
  }
@@ -114,7 +114,7 @@ function channelFromStream$slambda() {
114
114
  continue $sm;
115
115
  case 4:
116
116
  this.ac_1 = 5;
117
- suspendResult = this.g66_1.v3m_1.l3a(this);
117
+ suspendResult = this.u66_1.j3n_1.z3a(this);
118
118
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
119
119
  return suspendResult;
120
120
  }
@@ -131,9 +131,9 @@ function channelFromStream$slambda() {
131
131
  this.bc_1 = 9;
132
132
  var tmp_1 = this.dc_1;
133
133
  if (tmp_1 instanceof Error) {
134
- this.l66_1 = this.dc_1;
134
+ this.z66_1 = this.dc_1;
135
135
  this.ac_1 = 8;
136
- var tmp_2 = this.h66_1.cancel(this.l66_1);
136
+ var tmp_2 = this.v66_1.cancel(this.z66_1);
137
137
  suspendResult = await_0(tmp_2.catch(channelFromStream$slambda$lambda), this);
138
138
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
139
139
  return suspendResult;
@@ -144,7 +144,7 @@ function channelFromStream$slambda() {
144
144
  }
145
145
 
146
146
  case 8:
147
- throw this.l66_1;
147
+ throw this.z66_1;
148
148
  case 9:
149
149
  throw this.dc_1;
150
150
  case 10:
@@ -162,9 +162,9 @@ function channelFromStream$slambda() {
162
162
  }
163
163
  while (true);
164
164
  }
165
- m4l($this$writer, completion) {
166
- var i = new (channelFromStream$slambda())(this.f66_1, completion);
167
- i.g66_1 = $this$writer;
165
+ a4m($this$writer, completion) {
166
+ var i = new (channelFromStream$slambda())(this.t66_1, completion);
167
+ i.u66_1 = $this$writer;
168
168
  return i;
169
169
  }
170
170
  }
@@ -176,7 +176,7 @@ function channelFromStream$slambda() {
176
176
  function channelFromStream$slambda_0($stream, resultContinuation) {
177
177
  var i = new (channelFromStream$slambda())($stream, resultContinuation);
178
178
  var l = function ($this$writer, $completion) {
179
- return i.l4l($this$writer, $completion);
179
+ return i.z4l($this$writer, $completion);
180
180
  };
181
181
  l.$arity = 1;
182
182
  return l;
@@ -19,14 +19,14 @@ function commonFetch(input, init, requestConfig, config, callJob, $completion) {
19
19
  cancellable.a23();
20
20
  var controller = AbortController_0();
21
21
  init.signal = controller.signal;
22
- config.k62_1(init);
22
+ config.y62_1(init);
23
23
  requestConfig(init);
24
24
  callJob.x1y(true, VOID, commonFetch$lambda(controller));
25
25
  var tmp;
26
- if (PlatformUtils_getInstance().j3s_1) {
26
+ if (PlatformUtils_getInstance().x3s_1) {
27
27
  tmp = fetch(input, init);
28
28
  } else {
29
- var options = Object.assign(Object.create(null), init, config.l62_1);
29
+ var options = Object.assign(Object.create(null), init, config.z62_1);
30
30
  tmp = fetch(input, options);
31
31
  }
32
32
  var promise = tmp;