@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
@@ -81,7 +81,7 @@ function Preamble() {
81
81
  class $ extends MultipartEvent() {
82
82
  constructor(body) {
83
83
  super();
84
- this.f4j_1 = body;
84
+ this.t4j_1 = body;
85
85
  }
86
86
  }
87
87
  initMetadataForClass($, 'Preamble');
@@ -95,8 +95,8 @@ function MultipartPart() {
95
95
  class $ extends MultipartEvent() {
96
96
  constructor(headers, body) {
97
97
  super();
98
- this.g4j_1 = headers;
99
- this.h4j_1 = body;
98
+ this.u4j_1 = headers;
99
+ this.v4j_1 = body;
100
100
  }
101
101
  }
102
102
  initMetadataForClass($, 'MultipartPart');
@@ -110,7 +110,7 @@ function Epilogue() {
110
110
  class $ extends MultipartEvent() {
111
111
  constructor(body) {
112
112
  super();
113
- this.i4j_1 = body;
113
+ this.w4j_1 = body;
114
114
  }
115
115
  }
116
116
  initMetadataForClass($, 'Epilogue');
@@ -130,18 +130,18 @@ function MultipartEvent() {
130
130
  function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
131
131
  maxPartSize = maxPartSize === VOID ? new (Long())(-1, 2147483647) : maxPartSize;
132
132
  _init_properties_Multipart_kt__ato98a();
133
- if (!MultiPart_getInstance().o3z(contentType)) {
134
- throw UnsupportedMediaTypeExceptionCIO().m4j('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
133
+ if (!MultiPart_getInstance().c40(contentType)) {
134
+ throw UnsupportedMediaTypeExceptionCIO().a4k('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
135
135
  }
136
136
  var boundaryByteBuffer = parseBoundaryInternal(contentType);
137
- var boundaryBytes = ByteString().m2q(boundaryByteBuffer);
137
+ var boundaryBytes = ByteString().a2r(boundaryByteBuffer);
138
138
  return parseMultipart_0(_this__u8e3s4, boundaryBytes, input, contentLength, maxPartSize);
139
139
  }
140
140
  function parseBoundaryInternal(contentType) {
141
141
  _init_properties_Multipart_kt__ato98a();
142
142
  var boundaryParameter = findBoundary(contentType);
143
143
  if (boundaryParameter === -1) {
144
- throw IOException().l2u("Failed to parse multipart: Content-Type's boundary parameter is missing");
144
+ throw IOException().z2u("Failed to parse multipart: Content-Type's boundary parameter is missing");
145
145
  }
146
146
  var boundaryStart = boundaryParameter + 9 | 0;
147
147
  var boundaryBytes = new Int8Array(74);
@@ -161,7 +161,7 @@ function parseBoundaryInternal(contentType) {
161
161
  // Inline function 'kotlin.code' call
162
162
  var v = Char__toInt_impl_vasixd(ch) & 65535;
163
163
  if ((v & 65535) > 127) {
164
- throw IOException().l2u('Failed to parse multipart: wrong boundary byte 0x' + toString_0(v, 16) + ' - should be 7bit character');
164
+ throw IOException().z2u('Failed to parse multipart: wrong boundary byte 0x' + toString_0(v, 16) + ' - should be 7bit character');
165
165
  }
166
166
  switch (state) {
167
167
  case 0:
@@ -202,7 +202,7 @@ function parseBoundaryInternal(contentType) {
202
202
  }
203
203
  while (inductionVariable < last);
204
204
  if (position._v === 4) {
205
- throw IOException().l2u('Empty multipart boundary is not allowed');
205
+ throw IOException().z2u('Empty multipart boundary is not allowed');
206
206
  }
207
207
  return copyOfRange(boundaryBytes, 0, position._v);
208
208
  }
@@ -296,11 +296,11 @@ function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
296
296
  }
297
297
  function throwLimitExceeded(actual, limit) {
298
298
  _init_properties_Multipart_kt__ato98a();
299
- throw IOException().l2u('Multipart content length exceeds limit ' + actual.toString() + ' > ' + limit.toString() + '; ' + "limit is defined using 'formFieldLimit' argument");
299
+ throw IOException().z2u('Multipart content length exceeds limit ' + actual.toString() + ' > ' + limit.toString() + '; ' + "limit is defined using 'formFieldLimit' argument");
300
300
  }
301
301
  function parseBoundaryInternal$put(position, boundaryBytes, value) {
302
302
  if (position._v >= boundaryBytes.length) {
303
- throw IOException().l2u("Failed to parse multipart: boundary shouldn't be longer than 70 characters");
303
+ throw IOException().z2u("Failed to parse multipart: boundary shouldn't be longer than 70 characters");
304
304
  }
305
305
  var _unary__edvuaz = position._v;
306
306
  position._v = _unary__edvuaz + 1 | 0;
@@ -313,18 +313,18 @@ function parseMultipart$slambda$slambda() {
313
313
  constructor($firstBoundary, $countedInput, resultContinuation, $box) {
314
314
  if ($box === VOID)
315
315
  $box = {};
316
- $box.i4l_1 = $firstBoundary;
317
- $box.j4l_1 = $countedInput;
316
+ $box.w4l_1 = $firstBoundary;
317
+ $box.x4l_1 = $countedInput;
318
318
  super(resultContinuation, $box);
319
319
  }
320
- l4l($this$writer, $completion) {
321
- var tmp = this.m4l($this$writer, $completion);
320
+ z4l($this$writer, $completion) {
321
+ var tmp = this.a4m($this$writer, $completion);
322
322
  tmp.cc_1 = Unit_instance;
323
323
  tmp.dc_1 = null;
324
324
  return tmp.ic();
325
325
  }
326
326
  kd(p1, $completion) {
327
- return this.l4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
327
+ return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
328
328
  }
329
329
  ic() {
330
330
  var suspendResult = this.cc_1;
@@ -335,7 +335,7 @@ function parseMultipart$slambda$slambda() {
335
335
  case 0:
336
336
  this.bc_1 = 3;
337
337
  this.ac_1 = 1;
338
- suspendResult = parsePreambleImpl(this.i4l_1, this.j4l_1, this.k4l_1.v3m_1, new (Long())(8193, 0), this);
338
+ suspendResult = parsePreambleImpl(this.w4l_1, this.x4l_1, this.y4l_1.j3n_1, new (Long())(8193, 0), this);
339
339
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
340
340
  return suspendResult;
341
341
  }
@@ -343,7 +343,7 @@ function parseMultipart$slambda$slambda() {
343
343
  continue $sm;
344
344
  case 1:
345
345
  this.ac_1 = 2;
346
- suspendResult = this.k4l_1.v3m_1.w3a(this);
346
+ suspendResult = this.y4l_1.j3n_1.k3b(this);
347
347
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
348
348
  return suspendResult;
349
349
  }
@@ -365,9 +365,9 @@ function parseMultipart$slambda$slambda() {
365
365
  }
366
366
  while (true);
367
367
  }
368
- m4l($this$writer, completion) {
369
- var i = new (parseMultipart$slambda$slambda())(this.i4l_1, this.j4l_1, completion);
370
- i.k4l_1 = $this$writer;
368
+ a4m($this$writer, completion) {
369
+ var i = new (parseMultipart$slambda$slambda())(this.w4l_1, this.x4l_1, completion);
370
+ i.y4l_1 = $this$writer;
371
371
  return i;
372
372
  }
373
373
  }
@@ -379,7 +379,7 @@ function parseMultipart$slambda$slambda() {
379
379
  function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
380
380
  var i = new (parseMultipart$slambda$slambda())($firstBoundary, $countedInput, resultContinuation);
381
381
  var l = function ($this$writer, $completion) {
382
- return i.l4l($this$writer, $completion);
382
+ return i.z4l($this$writer, $completion);
383
383
  };
384
384
  l.$arity = 1;
385
385
  return l;
@@ -391,20 +391,20 @@ function parseMultipart$slambda() {
391
391
  constructor($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation, $box) {
392
392
  if ($box === VOID)
393
393
  $box = {};
394
- $box.v4l_1 = $input;
395
- $box.w4l_1 = $boundaryPrefixed;
396
- $box.x4l_1 = $maxPartSize;
397
- $box.y4l_1 = $totalLength;
394
+ $box.j4m_1 = $input;
395
+ $box.k4m_1 = $boundaryPrefixed;
396
+ $box.l4m_1 = $maxPartSize;
397
+ $box.m4m_1 = $totalLength;
398
398
  super(resultContinuation, $box);
399
399
  }
400
- q4m($this$produce, $completion) {
401
- var tmp = this.r4m($this$produce, $completion);
400
+ e4n($this$produce, $completion) {
401
+ var tmp = this.f4n($this$produce, $completion);
402
402
  tmp.cc_1 = Unit_instance;
403
403
  tmp.dc_1 = null;
404
404
  return tmp.ic();
405
405
  }
406
406
  kd(p1, $completion) {
407
- return this.q4m((!(p1 == null) ? isInterface(p1, ProducerScope()) : false) ? p1 : THROW_CCE(), $completion);
407
+ return this.e4n((!(p1 == null) ? isInterface(p1, ProducerScope()) : false) ? p1 : THROW_CCE(), $completion);
408
408
  }
409
409
  ic() {
410
410
  var suspendResult = this.cc_1;
@@ -414,21 +414,21 @@ function parseMultipart$slambda() {
414
414
  switch (tmp) {
415
415
  case 0:
416
416
  this.bc_1 = 23;
417
- this.a4m_1 = counted(this.v4l_1);
418
- this.b4m_1 = this.a4m_1.q3p();
419
- this.c4m_1 = this.w4l_1.o2q(get_PrefixString().i1());
417
+ this.o4m_1 = counted(this.j4m_1);
418
+ this.p4m_1 = this.o4m_1.e3q();
419
+ this.q4m_1 = this.k4m_1.c2r(get_PrefixString().i1());
420
420
  this.ac_1 = 1;
421
- suspendResult = readRemaining(writer(this.z4l_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.c4m_1, this.a4m_1, null)).t3m_1, this);
421
+ suspendResult = readRemaining(writer(this.n4m_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.q4m_1, this.o4m_1, null)).h3n_1, this);
422
422
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
423
423
  return suspendResult;
424
424
  }
425
425
 
426
426
  continue $sm;
427
427
  case 1:
428
- this.d4m_1 = suspendResult;
429
- if (get_remaining(this.d4m_1).a2(new (Long())(0, 0)) > 0) {
428
+ this.r4m_1 = suspendResult;
429
+ if (get_remaining(this.r4m_1).a2(new (Long())(0, 0)) > 0) {
430
430
  this.ac_1 = 2;
431
- suspendResult = this.z4l_1.e2i(new (Preamble())(this.d4m_1), this);
431
+ suspendResult = this.n4m_1.e2i(new (Preamble())(this.r4m_1), this);
432
432
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
433
433
  return suspendResult;
434
434
  }
@@ -445,74 +445,74 @@ function parseMultipart$slambda() {
445
445
  this.ac_1 = 4;
446
446
  continue $sm;
447
447
  case 4:
448
- if (!this.a4m_1.t3a()) {
448
+ if (!this.o4m_1.h3b()) {
449
449
  this.ac_1 = 5;
450
- suspendResult = skipIfFound(this.a4m_1, get_PrefixString(), this);
450
+ suspendResult = skipIfFound(this.o4m_1, get_PrefixString(), this);
451
451
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
452
452
  return suspendResult;
453
453
  }
454
454
  continue $sm;
455
455
  } else {
456
- this.e4m_1 = false;
456
+ this.s4m_1 = false;
457
457
  this.ac_1 = 6;
458
458
  continue $sm;
459
459
  }
460
460
 
461
461
  case 5:
462
- this.f4m_1 = suspendResult;
463
- this.e4m_1 = !this.f4m_1;
462
+ this.t4m_1 = suspendResult;
463
+ this.s4m_1 = !this.t4m_1;
464
464
  this.ac_1 = 6;
465
465
  continue $sm;
466
466
  case 6:
467
- if (!this.e4m_1) {
467
+ if (!this.s4m_1) {
468
468
  this.ac_1 = 13;
469
469
  continue $sm;
470
470
  }
471
471
 
472
472
  this.ac_1 = 7;
473
- suspendResult = skipIfFound(this.a4m_1, get_CrLf(), this);
473
+ suspendResult = skipIfFound(this.o4m_1, get_CrLf(), this);
474
474
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
475
475
  return suspendResult;
476
476
  }
477
477
 
478
478
  continue $sm;
479
479
  case 7:
480
- this.g4m_1 = new (ByteChannel())();
481
- this.h4m_1 = CompletableDeferred();
482
- this.i4m_1 = new (MultipartPart())(this.h4m_1, this.g4m_1);
480
+ this.u4m_1 = new (ByteChannel())();
481
+ this.v4m_1 = CompletableDeferred();
482
+ this.w4m_1 = new (MultipartPart())(this.v4m_1, this.u4m_1);
483
483
  this.ac_1 = 8;
484
- suspendResult = this.z4l_1.e2i(this.i4m_1, this);
484
+ suspendResult = this.n4m_1.e2i(this.w4m_1, this);
485
485
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
486
486
  return suspendResult;
487
487
  }
488
488
 
489
489
  continue $sm;
490
490
  case 8:
491
- this.j4m_1 = null;
491
+ this.x4m_1 = null;
492
492
  this.bc_1 = 12;
493
493
  this.ac_1 = 9;
494
- suspendResult = parsePartHeadersImpl(this.a4m_1, this);
494
+ suspendResult = parsePartHeadersImpl(this.o4m_1, this);
495
495
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
496
496
  return suspendResult;
497
497
  }
498
498
 
499
499
  continue $sm;
500
500
  case 9:
501
- this.j4m_1 = suspendResult;
502
- if (!this.h4m_1.b25(this.j4m_1)) {
503
- this.j4m_1.y2n();
501
+ this.x4m_1 = suspendResult;
502
+ if (!this.v4m_1.b25(this.x4m_1)) {
503
+ this.x4m_1.m2o();
504
504
  throw CancellationException().cd('Multipart processing has been cancelled');
505
505
  }
506
506
 
507
507
  this.ac_1 = 10;
508
- suspendResult = parsePartBodyImpl(this.w4l_1, this.a4m_1, this.g4m_1, this.j4m_1, this.x4l_1, this);
508
+ suspendResult = parsePartBodyImpl(this.k4m_1, this.o4m_1, this.u4m_1, this.x4m_1, this.l4m_1, this);
509
509
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
510
510
  return suspendResult;
511
511
  }
512
512
 
513
513
  continue $sm;
514
514
  case 10:
515
- this.g4m_1.v5();
515
+ this.u4m_1.v5();
516
516
  this.bc_1 = 23;
517
517
  this.ac_1 = 11;
518
518
  continue $sm;
@@ -524,24 +524,24 @@ function parseMultipart$slambda() {
524
524
  this.bc_1 = 23;
525
525
  var tmp_0 = this.dc_1;
526
526
  if (tmp_0 instanceof Error) {
527
- this.k4m_1 = this.dc_1;
528
- if (this.h4m_1.c25(this.k4m_1)) {
529
- var tmp0_safe_receiver = this.j4m_1;
527
+ this.y4m_1 = this.dc_1;
528
+ if (this.v4m_1.c25(this.y4m_1)) {
529
+ var tmp0_safe_receiver = this.x4m_1;
530
530
  if (tmp0_safe_receiver == null)
531
531
  null;
532
532
  else {
533
- tmp0_safe_receiver.y2n();
533
+ tmp0_safe_receiver.m2o();
534
534
  }
535
535
  }
536
- close(this.g4m_1, this.k4m_1);
537
- throw this.k4m_1;
536
+ close(this.u4m_1, this.y4m_1);
537
+ throw this.y4m_1;
538
538
  } else {
539
539
  throw this.dc_1;
540
540
  }
541
541
 
542
542
  case 13:
543
543
  this.ac_1 = 14;
544
- suspendResult = skipIfFound(this.a4m_1, get_CrLf(), this);
544
+ suspendResult = skipIfFound(this.o4m_1, get_CrLf(), this);
545
545
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
546
546
  return suspendResult;
547
547
  }
@@ -549,21 +549,21 @@ function parseMultipart$slambda() {
549
549
  continue $sm;
550
550
  case 14:
551
551
  this.ac_1 = 15;
552
- suspendResult = skipIfFound(this.a4m_1, get_CrLf(), this);
552
+ suspendResult = skipIfFound(this.o4m_1, get_CrLf(), this);
553
553
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
554
554
  return suspendResult;
555
555
  }
556
556
 
557
557
  continue $sm;
558
558
  case 15:
559
- if (!(this.y4l_1 == null)) {
560
- this.l4m_1 = this.a4m_1.q3p().q3(this.b4m_1);
561
- this.m4m_1 = this.y4l_1.q3(this.l4m_1);
562
- if (this.m4m_1.a2(new (Long())(2147483647, 0)) > 0)
563
- throw IOException().l2u('Failed to parse multipart: prologue is too long');
564
- if (this.m4m_1.a2(new (Long())(0, 0)) > 0) {
559
+ if (!(this.m4m_1 == null)) {
560
+ this.z4m_1 = this.o4m_1.e3q().q3(this.p4m_1);
561
+ this.a4n_1 = this.m4m_1.q3(this.z4m_1);
562
+ if (this.a4n_1.a2(new (Long())(2147483647, 0)) > 0)
563
+ throw IOException().z2u('Failed to parse multipart: prologue is too long');
564
+ if (this.a4n_1.a2(new (Long())(0, 0)) > 0) {
565
565
  this.ac_1 = 19;
566
- suspendResult = readPacket(this.a4m_1, this.m4m_1.c2(), this);
566
+ suspendResult = readPacket(this.o4m_1, this.a4n_1.c2(), this);
567
567
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
568
568
  return suspendResult;
569
569
  }
@@ -574,7 +574,7 @@ function parseMultipart$slambda() {
574
574
  }
575
575
  } else {
576
576
  this.ac_1 = 16;
577
- suspendResult = readRemaining(this.a4m_1, this);
577
+ suspendResult = readRemaining(this.o4m_1, this);
578
578
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
579
579
  return suspendResult;
580
580
  }
@@ -582,10 +582,10 @@ function parseMultipart$slambda() {
582
582
  }
583
583
 
584
584
  case 16:
585
- this.n4m_1 = suspendResult;
586
- if (!this.n4m_1.a2r()) {
585
+ this.b4n_1 = suspendResult;
586
+ if (!this.b4n_1.o2r()) {
587
587
  this.ac_1 = 17;
588
- suspendResult = this.z4l_1.e2i(new (Epilogue())(this.n4m_1), this);
588
+ suspendResult = this.n4m_1.e2i(new (Epilogue())(this.b4n_1), this);
589
589
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
590
590
  return suspendResult;
591
591
  }
@@ -602,10 +602,10 @@ function parseMultipart$slambda() {
602
602
  this.ac_1 = 22;
603
603
  continue $sm;
604
604
  case 19:
605
- this.o4m_1 = suspendResult;
606
- this.p4m_1 = new (Epilogue())(this.o4m_1);
605
+ this.c4n_1 = suspendResult;
606
+ this.d4n_1 = new (Epilogue())(this.c4n_1);
607
607
  this.ac_1 = 20;
608
- suspendResult = this.z4l_1.e2i(this.p4m_1, this);
608
+ suspendResult = this.n4m_1.e2i(this.d4n_1, this);
609
609
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
610
610
  return suspendResult;
611
611
  }
@@ -633,9 +633,9 @@ function parseMultipart$slambda() {
633
633
  }
634
634
  while (true);
635
635
  }
636
- r4m($this$produce, completion) {
637
- var i = new (parseMultipart$slambda())(this.v4l_1, this.w4l_1, this.x4l_1, this.y4l_1, completion);
638
- i.z4l_1 = $this$produce;
636
+ f4n($this$produce, completion) {
637
+ var i = new (parseMultipart$slambda())(this.j4m_1, this.k4m_1, this.l4m_1, this.m4m_1, completion);
638
+ i.n4m_1 = $this$produce;
639
639
  return i;
640
640
  }
641
641
  }
@@ -647,7 +647,7 @@ function parseMultipart$slambda() {
647
647
  function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
648
648
  var i = new (parseMultipart$slambda())($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
649
649
  var l = function ($this$produce, $completion) {
650
- return i.q4m($this$produce, $completion);
650
+ return i.e4n($this$produce, $completion);
651
651
  };
652
652
  l.$arity = 1;
653
653
  return l;
@@ -658,7 +658,7 @@ function $parsePartHeadersImplCOROUTINE$() {
658
658
  class $ extends CoroutineImpl() {
659
659
  constructor(input, resultContinuation) {
660
660
  super(resultContinuation);
661
- this.v4j_1 = input;
661
+ this.j4k_1 = input;
662
662
  }
663
663
  ic() {
664
664
  var suspendResult = this.cc_1;
@@ -668,10 +668,10 @@ function $parsePartHeadersImplCOROUTINE$() {
668
668
  switch (tmp) {
669
669
  case 0:
670
670
  this.bc_1 = 3;
671
- this.w4j_1 = new (CharArrayBuilder())();
671
+ this.k4k_1 = new (CharArrayBuilder())();
672
672
  this.bc_1 = 2;
673
673
  this.ac_1 = 1;
674
- suspendResult = parseHeaders(this.v4j_1, this.w4j_1, VOID, this);
674
+ suspendResult = parseHeaders(this.j4k_1, this.k4k_1, VOID, this);
675
675
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
676
676
  return suspendResult;
677
677
  }
@@ -681,7 +681,7 @@ function $parsePartHeadersImplCOROUTINE$() {
681
681
  var tmp0_elvis_lhs = suspendResult;
682
682
  var tmp_0;
683
683
  if (tmp0_elvis_lhs == null) {
684
- throw EOFException().y2q('Failed to parse multipart headers: unexpected end of stream');
684
+ throw EOFException().m2r('Failed to parse multipart headers: unexpected end of stream');
685
685
  } else {
686
686
  tmp_0 = tmp0_elvis_lhs;
687
687
  }
@@ -692,7 +692,7 @@ function $parsePartHeadersImplCOROUTINE$() {
692
692
  var tmp_1 = this.dc_1;
693
693
  if (tmp_1 instanceof Error) {
694
694
  var t = this.dc_1;
695
- this.w4j_1.y2n();
695
+ this.k4k_1.m2o();
696
696
  throw t;
697
697
  } else {
698
698
  throw this.dc_1;
@@ -724,11 +724,11 @@ function $parsePartBodyImplCOROUTINE$() {
724
724
  class $ extends CoroutineImpl() {
725
725
  constructor(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
726
726
  super(resultContinuation);
727
- this.f4k_1 = boundaryPrefixed;
728
- this.g4k_1 = input;
729
- this.h4k_1 = output;
730
- this.i4k_1 = headers;
731
- this.j4k_1 = limit;
727
+ this.t4k_1 = boundaryPrefixed;
728
+ this.u4k_1 = input;
729
+ this.v4k_1 = output;
730
+ this.w4k_1 = headers;
731
+ this.x4k_1 = limit;
732
732
  }
733
733
  ic() {
734
734
  var suspendResult = this.cc_1;
@@ -739,59 +739,59 @@ function $parsePartBodyImplCOROUTINE$() {
739
739
  case 0:
740
740
  this.bc_1 = 6;
741
741
  var tmp_0 = this;
742
- var tmp0_safe_receiver = this.i4k_1.o3r('Content-Length');
743
- tmp_0.k4k_1 = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
744
- if (this.k4k_1 == null) {
742
+ var tmp0_safe_receiver = this.w4k_1.c3s('Content-Length');
743
+ tmp_0.y4k_1 = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
744
+ if (this.y4k_1 == null) {
745
745
  this.ac_1 = 3;
746
- suspendResult = readUntil(this.g4k_1, this.f4k_1, this.h4k_1, this.j4k_1, true, this);
746
+ suspendResult = readUntil(this.u4k_1, this.t4k_1, this.v4k_1, this.x4k_1, true, this);
747
747
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
748
748
  return suspendResult;
749
749
  }
750
750
  continue $sm;
751
751
  } else {
752
- if ((new (Long())(0, 0)).y3(this.j4k_1).pn(this.k4k_1)) {
752
+ if ((new (Long())(0, 0)).y3(this.x4k_1).pn(this.y4k_1)) {
753
753
  this.ac_1 = 1;
754
- suspendResult = copyTo(this.g4k_1, this.h4k_1, this.k4k_1, this);
754
+ suspendResult = copyTo(this.u4k_1, this.v4k_1, this.y4k_1, this);
755
755
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
756
756
  return suspendResult;
757
757
  }
758
758
  continue $sm;
759
759
  } else {
760
760
  var tmp_1 = this;
761
- throwLimitExceeded(this.k4k_1, this.j4k_1);
761
+ throwLimitExceeded(this.y4k_1, this.x4k_1);
762
762
  }
763
763
  }
764
764
 
765
765
  break;
766
766
  case 1:
767
- this.m4k_1 = suspendResult;
767
+ this.a4l_1 = suspendResult;
768
768
  this.ac_1 = 2;
769
- suspendResult = skipIfFoundReadCount(this.g4k_1, this.f4k_1, this);
769
+ suspendResult = skipIfFoundReadCount(this.u4k_1, this.t4k_1, this);
770
770
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
771
771
  return suspendResult;
772
772
  }
773
773
 
774
774
  continue $sm;
775
775
  case 2:
776
- this.n4k_1 = suspendResult;
777
- this.l4k_1 = this.m4k_1.p3(this.n4k_1);
776
+ this.b4l_1 = suspendResult;
777
+ this.z4k_1 = this.a4l_1.p3(this.b4l_1);
778
778
  this.ac_1 = 4;
779
779
  continue $sm;
780
780
  case 3:
781
- this.l4k_1 = suspendResult;
781
+ this.z4k_1 = suspendResult;
782
782
  this.ac_1 = 4;
783
783
  continue $sm;
784
784
  case 4:
785
- this.o4k_1 = this.l4k_1;
785
+ this.c4l_1 = this.z4k_1;
786
786
  this.ac_1 = 5;
787
- suspendResult = this.h4k_1.l3a(this);
787
+ suspendResult = this.v4k_1.z3a(this);
788
788
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
789
789
  return suspendResult;
790
790
  }
791
791
 
792
792
  continue $sm;
793
793
  case 5:
794
- return this.o4k_1;
794
+ return this.c4l_1;
795
795
  case 6:
796
796
  throw this.dc_1;
797
797
  }
@@ -818,8 +818,8 @@ function $skipIfFoundReadCountCOROUTINE$() {
818
818
  class $ extends CoroutineImpl() {
819
819
  constructor(_this__u8e3s4, prefix, resultContinuation) {
820
820
  super(resultContinuation);
821
- this.x4k_1 = _this__u8e3s4;
822
- this.y4k_1 = prefix;
821
+ this.l4l_1 = _this__u8e3s4;
822
+ this.m4l_1 = prefix;
823
823
  }
824
824
  ic() {
825
825
  var suspendResult = this.cc_1;
@@ -830,7 +830,7 @@ function $skipIfFoundReadCountCOROUTINE$() {
830
830
  case 0:
831
831
  this.bc_1 = 3;
832
832
  this.ac_1 = 1;
833
- suspendResult = skipIfFound(this.x4k_1, this.y4k_1, this);
833
+ suspendResult = skipIfFound(this.l4l_1, this.m4l_1, this);
834
834
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
835
835
  return suspendResult;
836
836
  }
@@ -839,18 +839,18 @@ function $skipIfFoundReadCountCOROUTINE$() {
839
839
  case 1:
840
840
  if (suspendResult) {
841
841
  var tmp_0 = this;
842
- tmp_0.z4k_1 = toLong(this.y4k_1.i1());
842
+ tmp_0.n4l_1 = toLong(this.m4l_1.i1());
843
843
  this.ac_1 = 2;
844
844
  continue $sm;
845
845
  } else {
846
846
  var tmp_1 = this;
847
- tmp_1.z4k_1 = new (Long())(0, 0);
847
+ tmp_1.n4l_1 = new (Long())(0, 0);
848
848
  this.ac_1 = 2;
849
849
  continue $sm;
850
850
  }
851
851
 
852
852
  case 2:
853
- return this.z4k_1;
853
+ return this.n4l_1;
854
854
  case 3:
855
855
  throw this.dc_1;
856
856
  }
@@ -875,7 +875,7 @@ var properties_initialized_Multipart_kt_wu0sh0;
875
875
  function _init_properties_Multipart_kt__ato98a() {
876
876
  if (!properties_initialized_Multipart_kt_wu0sh0) {
877
877
  properties_initialized_Multipart_kt_wu0sh0 = true;
878
- CrLf = ByteString().m2q(toByteArray('\r\n'));
878
+ CrLf = ByteString().a2r(toByteArray('\r\n'));
879
879
  PrefixString = ByteString_0(new Int8Array([45, 45]));
880
880
  }
881
881
  }
@@ -11,9 +11,9 @@ function Response() {
11
11
  class $ extends HttpMessage() {
12
12
  constructor(version, status, statusText, headers, builder) {
13
13
  super(headers, builder);
14
- this.u4m_1 = version;
15
- this.v4m_1 = status;
16
- this.w4m_1 = statusText;
14
+ this.i4n_1 = version;
15
+ this.j4n_1 = status;
16
+ this.k4n_1 = statusText;
17
17
  }
18
18
  }
19
19
  initMetadataForClass($, 'Response');
@@ -26,15 +26,15 @@ function HttpMessage() {
26
26
  if (HttpMessageClass === VOID) {
27
27
  class $ {
28
28
  constructor(headers, builder) {
29
- this.x4m_1 = headers;
30
- this.y4m_1 = builder;
29
+ this.l4n_1 = headers;
30
+ this.m4n_1 = builder;
31
31
  }
32
- y2n() {
33
- this.y4m_1.y2n();
34
- this.x4m_1.y2n();
32
+ m2o() {
33
+ this.m4n_1.m2o();
34
+ this.l4n_1.m2o();
35
35
  }
36
36
  v5() {
37
- this.y2n();
37
+ this.m2o();
38
38
  }
39
39
  }
40
40
  initMetadataForClass($, 'HttpMessage', VOID, VOID, [AutoCloseable()]);