@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
@@ -99,10 +99,10 @@ function get_LOGGER() {
99
99
  var LOGGER;
100
100
  function defaultTransformers(_this__u8e3s4) {
101
101
  _init_properties_DefaultTransform_kt__20knxx();
102
- var tmp = Phases_getInstance().x58_1;
103
- _this__u8e3s4.y4x_1.l3w(tmp, defaultTransformers$slambda_0(null));
104
- var tmp_0 = Phases_getInstance_0().z50_1;
105
- _this__u8e3s4.z4x_1.l3w(tmp_0, defaultTransformers$slambda_2(_this__u8e3s4, null));
102
+ var tmp = Phases_getInstance().l59_1;
103
+ _this__u8e3s4.m4y_1.z3w(tmp, defaultTransformers$slambda_0(null));
104
+ var tmp_0 = Phases_getInstance_0().n51_1;
105
+ _this__u8e3s4.n4y_1.z3w(tmp_0, defaultTransformers$slambda_2(_this__u8e3s4, null));
106
106
  platformResponseDefaultTransformers(_this__u8e3s4);
107
107
  }
108
108
  function checkContentLength(contentLength, bytes) {
@@ -120,20 +120,20 @@ function defaultTransformers$2$content$1() {
120
120
  constructor($contentType, $body, $box) {
121
121
  if ($box === VOID)
122
122
  $box = {};
123
- $box.x5c_1 = $body;
123
+ $box.l5d_1 = $body;
124
124
  super($box);
125
125
  var tmp = this;
126
- tmp.v5c_1 = $contentType == null ? Application_getInstance().x3y_1 : $contentType;
127
- this.w5c_1 = toLong($body.length);
126
+ tmp.j5d_1 = $contentType == null ? Application_getInstance().l3z_1 : $contentType;
127
+ this.k5d_1 = toLong($body.length);
128
128
  }
129
- e4b() {
130
- return this.v5c_1;
129
+ s4b() {
130
+ return this.j5d_1;
131
131
  }
132
- f4b() {
133
- return this.w5c_1;
132
+ t4b() {
133
+ return this.k5d_1;
134
134
  }
135
- g4b() {
136
- return this.x5c_1;
135
+ u4b() {
136
+ return this.l5d_1;
137
137
  }
138
138
  }
139
139
  initMetadataForClass($);
@@ -148,22 +148,22 @@ function defaultTransformers$2$content$2() {
148
148
  constructor($this_intercept, $contentType, $body, $box) {
149
149
  if ($box === VOID)
150
150
  $box = {};
151
- $box.b5d_1 = $body;
151
+ $box.p5d_1 = $body;
152
152
  super($box);
153
153
  var tmp = this;
154
- var tmp0_safe_receiver = $this_intercept.h3w_1.b50_1.o3r(HttpHeaders_getInstance().h41_1);
155
- tmp.z5c_1 = tmp0_safe_receiver == null ? null : toLong_0(tmp0_safe_receiver);
154
+ var tmp0_safe_receiver = $this_intercept.v3w_1.p50_1.c3s(HttpHeaders_getInstance().v41_1);
155
+ tmp.n5d_1 = tmp0_safe_receiver == null ? null : toLong_0(tmp0_safe_receiver);
156
156
  var tmp_0 = this;
157
- tmp_0.a5d_1 = $contentType == null ? Application_getInstance().x3y_1 : $contentType;
157
+ tmp_0.o5d_1 = $contentType == null ? Application_getInstance().l3z_1 : $contentType;
158
158
  }
159
- f4b() {
160
- return this.z5c_1;
159
+ t4b() {
160
+ return this.n5d_1;
161
161
  }
162
- e4b() {
163
- return this.a5d_1;
162
+ s4b() {
163
+ return this.o5d_1;
164
164
  }
165
- j4b() {
166
- return this.b5d_1;
165
+ x4b() {
166
+ return this.p5d_1;
167
167
  }
168
168
  }
169
169
  initMetadataForClass($);
@@ -175,15 +175,15 @@ var defaultTransformers$slambdaClass;
175
175
  function defaultTransformers$slambda() {
176
176
  if (defaultTransformers$slambdaClass === VOID) {
177
177
  class $ extends CoroutineImpl() {
178
- s4y($this$intercept, body, $completion) {
179
- var tmp = this.t4y($this$intercept, body, $completion);
178
+ g4z($this$intercept, body, $completion) {
179
+ var tmp = this.h4z($this$intercept, body, $completion);
180
180
  tmp.cc_1 = Unit_instance;
181
181
  tmp.dc_1 = null;
182
182
  return tmp.ic();
183
183
  }
184
184
  ld(p1, p2, $completion) {
185
185
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
186
- return this.s4y(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
186
+ return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
187
187
  }
188
188
  ic() {
189
189
  var suspendResult = this.cc_1;
@@ -193,40 +193,40 @@ function defaultTransformers$slambda() {
193
193
  switch (tmp) {
194
194
  case 0:
195
195
  this.bc_1 = 3;
196
- if (this.k5d_1.h3w_1.b50_1.o3r(HttpHeaders_getInstance().s40_1) == null) {
197
- this.k5d_1.h3w_1.b50_1.d3t(HttpHeaders_getInstance().s40_1, '*/*');
196
+ if (this.y5d_1.v3w_1.p50_1.c3s(HttpHeaders_getInstance().g41_1) == null) {
197
+ this.y5d_1.v3w_1.p50_1.r3t(HttpHeaders_getInstance().g41_1, '*/*');
198
198
  }
199
199
 
200
- this.m5d_1 = contentType(this.k5d_1.h3w_1);
200
+ this.a5e_1 = contentType(this.y5d_1.v3w_1);
201
201
  var tmp_0 = this;
202
- var tmp0_subject = this.l5d_1;
202
+ var tmp0_subject = this.z5d_1;
203
203
  var tmp_1;
204
204
  if (typeof tmp0_subject === 'string') {
205
- var tmp1_elvis_lhs = this.m5d_1;
206
- tmp_1 = new (TextContent())(this.l5d_1, tmp1_elvis_lhs == null ? Text_getInstance().a40_1 : tmp1_elvis_lhs);
205
+ var tmp1_elvis_lhs = this.a5e_1;
206
+ tmp_1 = new (TextContent())(this.z5d_1, tmp1_elvis_lhs == null ? Text_getInstance().o40_1 : tmp1_elvis_lhs);
207
207
  } else {
208
208
  if (isByteArray(tmp0_subject)) {
209
- tmp_1 = new (defaultTransformers$2$content$1())(this.m5d_1, this.l5d_1);
209
+ tmp_1 = new (defaultTransformers$2$content$1())(this.a5e_1, this.z5d_1);
210
210
  } else {
211
211
  if (isInterface(tmp0_subject, ByteReadChannel())) {
212
- tmp_1 = new (defaultTransformers$2$content$2())(this.k5d_1, this.m5d_1, this.l5d_1);
212
+ tmp_1 = new (defaultTransformers$2$content$2())(this.y5d_1, this.a5e_1, this.z5d_1);
213
213
  } else {
214
214
  if (tmp0_subject instanceof OutgoingContent()) {
215
- tmp_1 = this.l5d_1;
215
+ tmp_1 = this.z5d_1;
216
216
  } else {
217
- tmp_1 = platformRequestDefaultTransform(this.m5d_1, this.k5d_1.h3w_1, this.l5d_1);
217
+ tmp_1 = platformRequestDefaultTransform(this.a5e_1, this.y5d_1.v3w_1, this.z5d_1);
218
218
  }
219
219
  }
220
220
  }
221
221
  }
222
222
 
223
- tmp_0.n5d_1 = tmp_1;
224
- var tmp2_safe_receiver = this.n5d_1;
225
- if (!((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.e4b()) == null)) {
226
- this.k5d_1.h3w_1.b50_1.f3t(HttpHeaders_getInstance().k41_1);
227
- get_LOGGER().s3x('Transformed with default transformers request body for ' + this.k5d_1.h3w_1.z4z_1.toString() + ' from ' + toString(getKClassFromExpression(this.l5d_1)));
223
+ tmp_0.b5e_1 = tmp_1;
224
+ var tmp2_safe_receiver = this.b5e_1;
225
+ if (!((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s4b()) == null)) {
226
+ this.y5d_1.v3w_1.p50_1.t3t(HttpHeaders_getInstance().y41_1);
227
+ get_LOGGER().g3y('Transformed with default transformers request body for ' + this.y5d_1.v3w_1.n50_1.toString() + ' from ' + toString(getKClassFromExpression(this.z5d_1)));
228
228
  this.ac_1 = 1;
229
- suspendResult = this.k5d_1.j3v(this.n5d_1, this);
229
+ suspendResult = this.y5d_1.x3v(this.b5e_1, this);
230
230
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
231
231
  return suspendResult;
232
232
  }
@@ -255,10 +255,10 @@ function defaultTransformers$slambda() {
255
255
  }
256
256
  while (true);
257
257
  }
258
- t4y($this$intercept, body, completion) {
258
+ h4z($this$intercept, body, completion) {
259
259
  var i = new (defaultTransformers$slambda())(completion);
260
- i.k5d_1 = $this$intercept;
261
- i.l5d_1 = body;
260
+ i.y5d_1 = $this$intercept;
261
+ i.z5d_1 = body;
262
262
  return i;
263
263
  }
264
264
  }
@@ -270,7 +270,7 @@ function defaultTransformers$slambda() {
270
270
  function defaultTransformers$slambda_0(resultContinuation) {
271
271
  var i = new (defaultTransformers$slambda())(resultContinuation);
272
272
  var l = function ($this$intercept, body, $completion) {
273
- return i.s4y($this$intercept, body, $completion);
273
+ return i.g4z($this$intercept, body, $completion);
274
274
  };
275
275
  l.$arity = 2;
276
276
  return l;
@@ -282,18 +282,18 @@ function defaultTransformers$slambda$slambda() {
282
282
  constructor($body, $response, resultContinuation, $box) {
283
283
  if ($box === VOID)
284
284
  $box = {};
285
- $box.w5d_1 = $body;
286
- $box.x5d_1 = $response;
285
+ $box.k5e_1 = $body;
286
+ $box.l5e_1 = $response;
287
287
  super(resultContinuation, $box);
288
288
  }
289
- l4l($this$writer, $completion) {
290
- var tmp = this.m4l($this$writer, $completion);
289
+ z4l($this$writer, $completion) {
290
+ var tmp = this.a4m($this$writer, $completion);
291
291
  tmp.cc_1 = Unit_instance;
292
292
  tmp.dc_1 = null;
293
293
  return tmp.ic();
294
294
  }
295
295
  kd(p1, $completion) {
296
- return this.l4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
296
+ return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
297
297
  }
298
298
  ic() {
299
299
  var suspendResult = this.cc_1;
@@ -305,14 +305,14 @@ function defaultTransformers$slambda$slambda() {
305
305
  this.bc_1 = 3;
306
306
  this.bc_1 = 2;
307
307
  this.ac_1 = 1;
308
- suspendResult = copyTo(this.w5d_1, this.y5d_1.v3m_1, new (Long())(-1, 2147483647), this);
308
+ suspendResult = copyTo(this.k5e_1, this.m5e_1.j3n_1, new (Long())(-1, 2147483647), this);
309
309
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
310
310
  return suspendResult;
311
311
  }
312
312
 
313
313
  continue $sm;
314
314
  case 1:
315
- this.z5d_1 = suspendResult;
315
+ this.n5e_1 = suspendResult;
316
316
  this.bc_1 = 3;
317
317
  this.ac_1 = 4;
318
318
  continue $sm;
@@ -322,14 +322,14 @@ function defaultTransformers$slambda$slambda() {
322
322
  if (tmp_0 instanceof CancellationException()) {
323
323
  var cause = this.dc_1;
324
324
  var tmp_1 = this;
325
- cancel_1(this.x5d_1, cause);
325
+ cancel_1(this.l5e_1, cause);
326
326
  throw cause;
327
327
  } else {
328
328
  var tmp_2 = this.dc_1;
329
329
  if (tmp_2 instanceof Error) {
330
330
  var cause_0 = this.dc_1;
331
331
  var tmp_3 = this;
332
- cancel_0(this.x5d_1, 'Receive failed', cause_0);
332
+ cancel_0(this.l5e_1, 'Receive failed', cause_0);
333
333
  throw cause_0;
334
334
  } else {
335
335
  throw this.dc_1;
@@ -353,9 +353,9 @@ function defaultTransformers$slambda$slambda() {
353
353
  }
354
354
  while (true);
355
355
  }
356
- m4l($this$writer, completion) {
357
- var i = new (defaultTransformers$slambda$slambda())(this.w5d_1, this.x5d_1, completion);
358
- i.y5d_1 = $this$writer;
356
+ a4m($this$writer, completion) {
357
+ var i = new (defaultTransformers$slambda$slambda())(this.k5e_1, this.l5e_1, completion);
358
+ i.m5e_1 = $this$writer;
359
359
  return i;
360
360
  }
361
361
  }
@@ -367,7 +367,7 @@ function defaultTransformers$slambda$slambda() {
367
367
  function defaultTransformers$slambda$slambda_0($body, $response, resultContinuation) {
368
368
  var i = new (defaultTransformers$slambda$slambda())($body, $response, resultContinuation);
369
369
  var l = function ($this$writer, $completion) {
370
- return i.l4l($this$writer, $completion);
370
+ return i.z4l($this$writer, $completion);
371
371
  };
372
372
  l.$arity = 1;
373
373
  return l;
@@ -385,18 +385,18 @@ function defaultTransformers$slambda_1() {
385
385
  constructor($this_defaultTransformers, resultContinuation, $box) {
386
386
  if ($box === VOID)
387
387
  $box = {};
388
- $box.i5e_1 = $this_defaultTransformers;
388
+ $box.w5e_1 = $this_defaultTransformers;
389
389
  super(resultContinuation, $box);
390
390
  }
391
- n4z($this$intercept, _destruct__k2r9zo, $completion) {
392
- var tmp = this.o4z($this$intercept, _destruct__k2r9zo, $completion);
391
+ b50($this$intercept, _destruct__k2r9zo, $completion) {
392
+ var tmp = this.c50($this$intercept, _destruct__k2r9zo, $completion);
393
393
  tmp.cc_1 = Unit_instance;
394
394
  tmp.dc_1 = null;
395
395
  return tmp.ic();
396
396
  }
397
397
  ld(p1, p2, $completion) {
398
398
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
399
- return this.n4z(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
399
+ return this.b50(tmp, p2 instanceof HttpResponseContainer() ? p2 : THROW_CCE(), $completion);
400
400
  }
401
401
  ic() {
402
402
  var suspendResult = this.cc_1;
@@ -406,71 +406,71 @@ function defaultTransformers$slambda_1() {
406
406
  switch (tmp) {
407
407
  case 0:
408
408
  this.bc_1 = 12;
409
- this.l5e_1 = this.k5e_1.gl();
410
- this.m5e_1 = this.k5e_1.hl();
411
- var tmp_0 = this.m5e_1;
409
+ this.z5e_1 = this.y5e_1.gl();
410
+ this.a5f_1 = this.y5e_1.hl();
411
+ var tmp_0 = this.a5f_1;
412
412
  if (!isInterface(tmp_0, ByteReadChannel()))
413
413
  return Unit_instance;
414
- this.n5e_1 = this.j5e_1.h3w_1.z4y();
415
- this.o5e_1 = this.l5e_1.z3w_1;
416
- if (this.o5e_1.equals(getKClass(Unit()))) {
417
- cancel(this.m5e_1);
414
+ this.b5f_1 = this.x5e_1.v3w_1.n4z();
415
+ this.c5f_1 = this.z5e_1.n3x_1;
416
+ if (this.c5f_1.equals(getKClass(Unit()))) {
417
+ cancel(this.a5f_1);
418
418
  this.ac_1 = 10;
419
- suspendResult = this.j5e_1.j3v(new (HttpResponseContainer())(this.l5e_1, Unit_instance), this);
419
+ suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, Unit_instance), this);
420
420
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
421
421
  return suspendResult;
422
422
  }
423
423
  continue $sm;
424
424
  } else {
425
- if (this.o5e_1.equals(PrimitiveClasses_getInstance().ch())) {
425
+ if (this.c5f_1.equals(PrimitiveClasses_getInstance().ch())) {
426
426
  this.ac_1 = 8;
427
- suspendResult = readRemaining(this.m5e_1, this);
427
+ suspendResult = readRemaining(this.a5f_1, this);
428
428
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
429
429
  return suspendResult;
430
430
  }
431
431
  continue $sm;
432
432
  } else {
433
- if (this.o5e_1.equals(getKClass(Source())) || this.o5e_1.equals(getKClass(Source()))) {
433
+ if (this.c5f_1.equals(getKClass(Source())) || this.c5f_1.equals(getKClass(Source()))) {
434
434
  this.ac_1 = 6;
435
- suspendResult = readRemaining(this.m5e_1, this);
435
+ suspendResult = readRemaining(this.a5f_1, this);
436
436
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
437
437
  return suspendResult;
438
438
  }
439
439
  continue $sm;
440
440
  } else {
441
- if (this.o5e_1.equals(PrimitiveClasses_getInstance().kh())) {
441
+ if (this.c5f_1.equals(PrimitiveClasses_getInstance().kh())) {
442
442
  this.ac_1 = 4;
443
- suspendResult = toByteArray(this.m5e_1, this);
443
+ suspendResult = toByteArray(this.a5f_1, this);
444
444
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
445
445
  return suspendResult;
446
446
  }
447
447
  continue $sm;
448
448
  } else {
449
- if (this.o5e_1.equals(getKClass(ByteReadChannel()))) {
450
- this.q5e_1 = Job(this.n5e_1.s1x().nc(Key_instance));
449
+ if (this.c5f_1.equals(getKClass(ByteReadChannel()))) {
450
+ this.e5f_1 = Job(this.b5f_1.s1x().nc(Key_instance));
451
451
  var tmp_1 = this;
452
- var this_0 = writer(this.j5e_1, this.i5e_1.x4x_1, VOID, defaultTransformers$slambda$slambda_0(this.m5e_1, this.n5e_1, null));
453
- invokeOnCompletion(this_0, defaultTransformers$slambda$lambda(this.q5e_1));
454
- tmp_1.r5e_1 = this_0.t3m_1;
452
+ var this_0 = writer(this.x5e_1, this.w5e_1.l4y_1, VOID, defaultTransformers$slambda$slambda_0(this.a5f_1, this.b5f_1, null));
453
+ invokeOnCompletion(this_0, defaultTransformers$slambda$lambda(this.e5f_1));
454
+ tmp_1.f5f_1 = this_0.h3n_1;
455
455
  this.ac_1 = 3;
456
- suspendResult = this.j5e_1.j3v(new (HttpResponseContainer())(this.l5e_1, this.r5e_1), this);
456
+ suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, this.f5f_1), this);
457
457
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
458
458
  return suspendResult;
459
459
  }
460
460
  continue $sm;
461
461
  } else {
462
- if (this.o5e_1.equals(getKClass(HttpStatusCode()))) {
463
- cancel(this.m5e_1);
462
+ if (this.c5f_1.equals(getKClass(HttpStatusCode()))) {
463
+ cancel(this.a5f_1);
464
464
  this.ac_1 = 2;
465
- suspendResult = this.j5e_1.j3v(new (HttpResponseContainer())(this.l5e_1, this.n5e_1.g52()), this);
465
+ suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, this.b5f_1.u52()), this);
466
466
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
467
467
  return suspendResult;
468
468
  }
469
469
  continue $sm;
470
470
  } else {
471
- if (this.o5e_1.equals(getKClass(MultiPartData()))) {
471
+ if (this.c5f_1.equals(getKClass(MultiPartData()))) {
472
472
  var tmp_2 = this;
473
- var tmp0 = this.j5e_1.h3w_1.z4y().l45().o3r(HttpHeaders_getInstance().k41_1);
473
+ var tmp0 = this.x5e_1.v3w_1.n4z().z45().c3s(HttpHeaders_getInstance().y41_1);
474
474
  var tmp$ret$0;
475
475
  l$ret$1: do {
476
476
  if (tmp0 == null) {
@@ -482,25 +482,25 @@ function defaultTransformers$slambda_1() {
482
482
  }
483
483
  }
484
484
  while (false);
485
- tmp_2.s5e_1 = tmp$ret$0;
486
- this.t5e_1 = Companion_getInstance().ar(this.s5e_1);
487
- if (!this.t5e_1.n40(MultiPart_getInstance().u3z_1)) {
488
- var message_0 = 'Expected multipart/form-data, got ' + this.t5e_1.toString();
485
+ tmp_2.g5f_1 = tmp$ret$0;
486
+ this.h5f_1 = Companion_getInstance().ar(this.g5f_1);
487
+ if (!this.h5f_1.b41(MultiPart_getInstance().i40_1)) {
488
+ var message_0 = 'Expected multipart/form-data, got ' + this.h5f_1.toString();
489
489
  throw IllegalStateException().o4(toString(message_0));
490
490
  }
491
491
  var tmp_3 = this;
492
- var tmp1_safe_receiver = this.j5e_1.h3w_1.z4y().l45().o3r(HttpHeaders_getInstance().h41_1);
493
- tmp_3.u5e_1 = tmp1_safe_receiver == null ? null : toLong_0(tmp1_safe_receiver);
494
- this.v5e_1 = new (CIOMultipartDataBase())(this.j5e_1.s1x(), this.m5e_1, this.s5e_1, this.u5e_1);
495
- this.w5e_1 = new (HttpResponseContainer())(this.l5e_1, this.v5e_1);
492
+ var tmp1_safe_receiver = this.x5e_1.v3w_1.n4z().z45().c3s(HttpHeaders_getInstance().v41_1);
493
+ tmp_3.i5f_1 = tmp1_safe_receiver == null ? null : toLong_0(tmp1_safe_receiver);
494
+ this.j5f_1 = new (CIOMultipartDataBase())(this.x5e_1.s1x(), this.a5f_1, this.g5f_1, this.i5f_1);
495
+ this.k5f_1 = new (HttpResponseContainer())(this.z5e_1, this.j5f_1);
496
496
  this.ac_1 = 1;
497
- suspendResult = this.j5e_1.j3v(this.w5e_1, this);
497
+ suspendResult = this.x5e_1.x3v(this.k5f_1, this);
498
498
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
499
499
  return suspendResult;
500
500
  }
501
501
  continue $sm;
502
502
  } else {
503
- this.p5e_1 = null;
503
+ this.d5f_1 = null;
504
504
  this.ac_1 = 11;
505
505
  continue $sm;
506
506
  }
@@ -512,73 +512,73 @@ function defaultTransformers$slambda_1() {
512
512
  }
513
513
 
514
514
  case 1:
515
- this.p5e_1 = suspendResult;
515
+ this.d5f_1 = suspendResult;
516
516
  this.ac_1 = 11;
517
517
  continue $sm;
518
518
  case 2:
519
- this.p5e_1 = suspendResult;
519
+ this.d5f_1 = suspendResult;
520
520
  this.ac_1 = 11;
521
521
  continue $sm;
522
522
  case 3:
523
- this.p5e_1 = suspendResult;
523
+ this.d5f_1 = suspendResult;
524
524
  this.ac_1 = 11;
525
525
  continue $sm;
526
526
  case 4:
527
- this.x5e_1 = suspendResult;
528
- this.y5e_1 = contentLength(this.j5e_1.h3w_1.z4y());
529
- if (!this.j5e_1.h3w_1.q51().y51().equals(Companion_getInstance_0().r45_1)) {
530
- checkContentLength(this.y5e_1, toLong(this.x5e_1.length));
527
+ this.l5f_1 = suspendResult;
528
+ this.m5f_1 = contentLength(this.x5e_1.v3w_1.n4z());
529
+ if (!this.x5e_1.v3w_1.e52().m52().equals(Companion_getInstance_0().f46_1)) {
530
+ checkContentLength(this.m5f_1, toLong(this.l5f_1.length));
531
531
  }
532
532
 
533
533
  this.ac_1 = 5;
534
- suspendResult = this.j5e_1.j3v(new (HttpResponseContainer())(this.l5e_1, this.x5e_1), this);
534
+ suspendResult = this.x5e_1.x3v(new (HttpResponseContainer())(this.z5e_1, this.l5f_1), this);
535
535
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
536
536
  return suspendResult;
537
537
  }
538
538
 
539
539
  continue $sm;
540
540
  case 5:
541
- this.p5e_1 = suspendResult;
541
+ this.d5f_1 = suspendResult;
542
542
  this.ac_1 = 11;
543
543
  continue $sm;
544
544
  case 6:
545
- this.z5e_1 = suspendResult;
546
- this.a5f_1 = new (HttpResponseContainer())(this.l5e_1, this.z5e_1);
545
+ this.n5f_1 = suspendResult;
546
+ this.o5f_1 = new (HttpResponseContainer())(this.z5e_1, this.n5f_1);
547
547
  this.ac_1 = 7;
548
- suspendResult = this.j5e_1.j3v(this.a5f_1, this);
548
+ suspendResult = this.x5e_1.x3v(this.o5f_1, this);
549
549
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
550
550
  return suspendResult;
551
551
  }
552
552
 
553
553
  continue $sm;
554
554
  case 7:
555
- this.p5e_1 = suspendResult;
555
+ this.d5f_1 = suspendResult;
556
556
  this.ac_1 = 11;
557
557
  continue $sm;
558
558
  case 8:
559
- this.b5f_1 = suspendResult;
560
- this.c5f_1 = readText(this.b5f_1);
561
- this.d5f_1 = toInt(this.c5f_1);
562
- this.e5f_1 = new (HttpResponseContainer())(this.l5e_1, this.d5f_1);
559
+ this.p5f_1 = suspendResult;
560
+ this.q5f_1 = readText(this.p5f_1);
561
+ this.r5f_1 = toInt(this.q5f_1);
562
+ this.s5f_1 = new (HttpResponseContainer())(this.z5e_1, this.r5f_1);
563
563
  this.ac_1 = 9;
564
- suspendResult = this.j5e_1.j3v(this.e5f_1, this);
564
+ suspendResult = this.x5e_1.x3v(this.s5f_1, this);
565
565
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
566
566
  return suspendResult;
567
567
  }
568
568
 
569
569
  continue $sm;
570
570
  case 9:
571
- this.p5e_1 = suspendResult;
571
+ this.d5f_1 = suspendResult;
572
572
  this.ac_1 = 11;
573
573
  continue $sm;
574
574
  case 10:
575
- this.p5e_1 = suspendResult;
575
+ this.d5f_1 = suspendResult;
576
576
  this.ac_1 = 11;
577
577
  continue $sm;
578
578
  case 11:
579
- var result = this.p5e_1;
579
+ var result = this.d5f_1;
580
580
  if (!(result == null)) {
581
- get_LOGGER().s3x('Transformed with default transformers response body ' + ('for ' + this.j5e_1.h3w_1.q51().z51().toString() + ' to ' + toString(this.l5e_1.z3w_1)));
581
+ get_LOGGER().g3y('Transformed with default transformers response body ' + ('for ' + this.x5e_1.v3w_1.e52().n52().toString() + ' to ' + toString(this.z5e_1.n3x_1)));
582
582
  }
583
583
 
584
584
  return Unit_instance;
@@ -596,10 +596,10 @@ function defaultTransformers$slambda_1() {
596
596
  }
597
597
  while (true);
598
598
  }
599
- o4z($this$intercept, _destruct__k2r9zo, completion) {
600
- var i = new (defaultTransformers$slambda_1())(this.i5e_1, completion);
601
- i.j5e_1 = $this$intercept;
602
- i.k5e_1 = _destruct__k2r9zo;
599
+ c50($this$intercept, _destruct__k2r9zo, completion) {
600
+ var i = new (defaultTransformers$slambda_1())(this.w5e_1, completion);
601
+ i.x5e_1 = $this$intercept;
602
+ i.y5e_1 = _destruct__k2r9zo;
603
603
  return i;
604
604
  }
605
605
  }
@@ -611,7 +611,7 @@ function defaultTransformers$slambda_1() {
611
611
  function defaultTransformers$slambda_2($this_defaultTransformers, resultContinuation) {
612
612
  var i = new (defaultTransformers$slambda_1())($this_defaultTransformers, resultContinuation);
613
613
  var l = function ($this$intercept, _destruct__k2r9zo, $completion) {
614
- return i.n4z($this$intercept, _destruct__k2r9zo, $completion);
614
+ return i.b50($this$intercept, _destruct__k2r9zo, $completion);
615
615
  };
616
616
  l.$arity = 2;
617
617
  return l;