@attocash/commons-js 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  40. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  41. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  42. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  43. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  44. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  45. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  46. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  47. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  48. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  49. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  50. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  51. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  52. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  53. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  54. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  55. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  56. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  57. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  58. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  59. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  69. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  70. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  71. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  72. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  73. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  74. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  75. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  76. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  77. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  78. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  79. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  80. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  81. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  84. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  85. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  86. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  87. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  88. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  89. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  90. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  91. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  92. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  93. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  94. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  95. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  96. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  97. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  98. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  99. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  100. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  101. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  102. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  103. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  104. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  105. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  106. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  107. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  108. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  109. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  110. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  111. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  112. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  113. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  114. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  115. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  116. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  117. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  118. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  119. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  120. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  121. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  122. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  123. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  124. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  125. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  126. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  127. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  128. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  129. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  130. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  131. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  132. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  133. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  134. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  137. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  138. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  139. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  140. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  141. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  142. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  143. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  144. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  145. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  147. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  148. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  149. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  150. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  151. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  152. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  153. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  154. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  155. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  156. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  157. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  158. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  159. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  160. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  161. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  162. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  163. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  164. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  165. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  166. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  167. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  168. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  169. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  170. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  171. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  172. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  173. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  174. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  175. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  176. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  177. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  178. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  179. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  180. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  181. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  182. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  183. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  184. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  185. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  186. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  187. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  188. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  189. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  190. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  191. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  192. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  193. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  194. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  195. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  196. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  197. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  198. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  199. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  200. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  201. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  202. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  203. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  204. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  205. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  206. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  207. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  208. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  209. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  210. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  211. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  212. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  213. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  214. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  215. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  216. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  217. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  218. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  219. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  220. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  221. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  222. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  223. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  224. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  225. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  226. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  227. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  228. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  229. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  230. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  231. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  232. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  233. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  234. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  235. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  236. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  237. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
  238. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  239. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  240. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  241. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  242. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  243. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  244. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  245. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  246. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  247. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  248. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  249. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  250. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  251. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  252. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  253. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  254. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  255. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  256. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  257. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  258. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  259. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  260. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  261. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  262. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  263. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  264. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  265. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  266. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  267. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  268. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  269. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  270. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  274. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  275. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  276. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  277. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  278. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  279. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  280. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  281. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  282. package/package.json +1 -1
@@ -71,7 +71,7 @@ function Companion() {
71
71
  }
72
72
  var tmp$ret$0 = tmp_1;
73
73
  var tmp$ret$1 = new (TypeInfo())(tmp_0, tmp$ret$0);
74
- tmp.j52_1 = new (AttributeKey())(name, tmp$ret$1);
74
+ tmp.x52_1 = new (AttributeKey())(name, tmp$ret$1);
75
75
  }
76
76
  }
77
77
  initMetadataForCompanion($);
@@ -91,8 +91,8 @@ function $bodyNullableCOROUTINE$() {
91
91
  class $ extends CoroutineImpl() {
92
92
  constructor(_this__u8e3s4, info, resultContinuation) {
93
93
  super(resultContinuation);
94
- this.s52_1 = _this__u8e3s4;
95
- this.t52_1 = info;
94
+ this.g53_1 = _this__u8e3s4;
95
+ this.h53_1 = info;
96
96
  }
97
97
  ic() {
98
98
  var suspendResult = this.cc_1;
@@ -103,35 +103,35 @@ function $bodyNullableCOROUTINE$() {
103
103
  case 0:
104
104
  this.bc_1 = 5;
105
105
  this.bc_1 = 4;
106
- if (instanceOf(this.s52_1.z4y(), this.t52_1.z3w_1))
107
- return this.s52_1.z4y();
108
- if (!this.s52_1.s51() && !get_isSaved(this.s52_1.z4y()) && !this.s52_1.v4y_1.atomicfu$compareAndSet(false, true)) {
109
- throw DoubleReceiveException().d53(this.s52_1);
106
+ if (instanceOf(this.g53_1.n4z(), this.h53_1.n3x_1))
107
+ return this.g53_1.n4z();
108
+ if (!this.g53_1.g52() && !get_isSaved(this.g53_1.n4z()) && !this.g53_1.j4z_1.atomicfu$compareAndSet(false, true)) {
109
+ throw DoubleReceiveException().r53(this.g53_1);
110
110
  }
111
111
 
112
- this.u52_1 = this.s52_1.r51().e3r(Companion_getInstance().j52_1);
113
- if (this.u52_1 == null) {
112
+ this.i53_1 = this.g53_1.f52().s3r(Companion_getInstance().x52_1);
113
+ if (this.i53_1 == null) {
114
114
  this.ac_1 = 1;
115
- suspendResult = this.s52_1.t51(this);
115
+ suspendResult = this.g53_1.h52(this);
116
116
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
117
117
  return suspendResult;
118
118
  }
119
119
  continue $sm;
120
120
  } else {
121
- this.v52_1 = this.u52_1;
121
+ this.j53_1 = this.i53_1;
122
122
  this.ac_1 = 2;
123
123
  continue $sm;
124
124
  }
125
125
 
126
126
  case 1:
127
- this.v52_1 = suspendResult;
127
+ this.j53_1 = suspendResult;
128
128
  this.ac_1 = 2;
129
129
  continue $sm;
130
130
  case 2:
131
- this.w52_1 = this.v52_1;
132
- this.x52_1 = new (HttpResponseContainer())(this.t52_1, this.w52_1);
131
+ this.k53_1 = this.j53_1;
132
+ this.l53_1 = new (HttpResponseContainer())(this.h53_1, this.k53_1);
133
133
  this.ac_1 = 3;
134
- suspendResult = this.s52_1.u4y_1.z4x_1.g3w(this.s52_1, this.x52_1, this);
134
+ suspendResult = this.g53_1.i4z_1.n4y_1.u3w(this.g53_1, this.l53_1, this);
135
135
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
136
136
  return suspendResult;
137
137
  }
@@ -139,7 +139,7 @@ function $bodyNullableCOROUTINE$() {
139
139
  continue $sm;
140
140
  case 3:
141
141
  var ARGUMENT = suspendResult;
142
- var this_0 = ARGUMENT.f53_1;
142
+ var this_0 = ARGUMENT.t53_1;
143
143
  var tmp_0;
144
144
  if (!equals(this_0, NullBody_instance)) {
145
145
  tmp_0 = this_0;
@@ -148,10 +148,10 @@ function $bodyNullableCOROUTINE$() {
148
148
  }
149
149
 
150
150
  var result = tmp_0;
151
- if (!(result == null) && !instanceOf(result, this.t52_1.z3w_1)) {
151
+ if (!(result == null) && !instanceOf(result, this.h53_1.n3x_1)) {
152
152
  var from = getKClassFromExpression(result);
153
- var to = this.t52_1.z3w_1;
154
- throw NoTransformationFoundException().l53(this.s52_1.z4y(), from, to);
153
+ var to = this.h53_1.n3x_1;
154
+ throw NoTransformationFoundException().z53(this.g53_1.n4z(), from, to);
155
155
  }
156
156
 
157
157
  return result;
@@ -160,7 +160,7 @@ function $bodyNullableCOROUTINE$() {
160
160
  var tmp_1 = this.dc_1;
161
161
  if (tmp_1 instanceof Error) {
162
162
  var cause = this.dc_1;
163
- cancel(this.s52_1.z4y(), 'Receive failed', cause);
163
+ cancel(this.g53_1.n4z(), 'Receive failed', cause);
164
164
  throw cause;
165
165
  } else {
166
166
  throw this.dc_1;
@@ -190,65 +190,65 @@ var HttpClientCallClass;
190
190
  function HttpClientCall() {
191
191
  if (HttpClientCallClass === VOID) {
192
192
  class $ {
193
- static p51(client) {
193
+ static d52(client) {
194
194
  Companion_getInstance();
195
195
  var $this = createThis(this);
196
- $this.u4y_1 = client;
197
- $this.v4y_1 = atomic$boolean$1(false);
198
- $this.y4y_1 = false;
196
+ $this.i4z_1 = client;
197
+ $this.j4z_1 = atomic$boolean$1(false);
198
+ $this.m4z_1 = false;
199
199
  return $this;
200
200
  }
201
201
  s1x() {
202
- return this.z4y().s1x();
202
+ return this.n4z().s1x();
203
203
  }
204
- r51() {
205
- return this.q51().r51();
204
+ f52() {
205
+ return this.e52().f52();
206
206
  }
207
- q51() {
208
- var tmp = this.w4y_1;
207
+ e52() {
208
+ var tmp = this.k4z_1;
209
209
  if (!(tmp == null))
210
210
  return tmp;
211
211
  else {
212
212
  throwUninitializedPropertyAccessException('request');
213
213
  }
214
214
  }
215
- z4y() {
216
- var tmp = this.x4y_1;
215
+ n4z() {
216
+ var tmp = this.l4z_1;
217
217
  if (!(tmp == null))
218
218
  return tmp;
219
219
  else {
220
220
  throwUninitializedPropertyAccessException('response');
221
221
  }
222
222
  }
223
- static m53(client, requestData, responseData) {
223
+ static a54(client, requestData, responseData) {
224
224
  Companion_getInstance();
225
- var $this = this.p51(client);
226
- $this.w4y_1 = new (DefaultHttpRequest())($this, requestData);
227
- $this.x4y_1 = new (DefaultHttpResponse())($this, responseData);
228
- $this.r51().h3r(Companion_getInstance().j52_1);
229
- var tmp = responseData.r53_1;
225
+ var $this = this.d52(client);
226
+ $this.k4z_1 = new (DefaultHttpRequest())($this, requestData);
227
+ $this.l4z_1 = new (DefaultHttpResponse())($this, responseData);
228
+ $this.f52().v3r(Companion_getInstance().x52_1);
229
+ var tmp = responseData.f54_1;
230
230
  if (!isInterface(tmp, ByteReadChannel())) {
231
- $this.r51().g3r(Companion_getInstance().j52_1, responseData.r53_1);
231
+ $this.f52().u3r(Companion_getInstance().x52_1, responseData.f54_1);
232
232
  }
233
233
  return $this;
234
234
  }
235
- s51() {
236
- return this.y4y_1;
235
+ g52() {
236
+ return this.m4z_1;
237
237
  }
238
- t51($completion) {
239
- return this.z4y().f52();
238
+ h52($completion) {
239
+ return this.n4z().t52();
240
240
  }
241
- u51(info, $completion) {
241
+ i52(info, $completion) {
242
242
  var tmp = new ($bodyNullableCOROUTINE$())(this, info, $completion);
243
243
  tmp.cc_1 = Unit_instance;
244
244
  tmp.dc_1 = null;
245
245
  return tmp.ic();
246
246
  }
247
247
  toString() {
248
- return 'HttpClientCall[' + this.q51().z51().toString() + ', ' + this.z4y().g52().toString() + ']';
248
+ return 'HttpClientCall[' + this.e52().n52().toString() + ', ' + this.n4z().u52().toString() + ']';
249
249
  }
250
- a4z(response) {
251
- this.x4y_1 = response;
250
+ o4z(response) {
251
+ this.l4z_1 = response;
252
252
  }
253
253
  }
254
254
  initMetadataForClass($, 'HttpClientCall', VOID, VOID, [CoroutineScope()], [0, 1]);
@@ -260,15 +260,15 @@ var DoubleReceiveExceptionClass;
260
260
  function DoubleReceiveException() {
261
261
  if (DoubleReceiveExceptionClass === VOID) {
262
262
  class $ extends IllegalStateException() {
263
- static d53(call) {
263
+ static r53(call) {
264
264
  var $this = this.bd();
265
- captureStack($this, $this.c53_1);
266
- $this.b53_1 = 'Response already received: ' + call.toString();
265
+ captureStack($this, $this.q53_1);
266
+ $this.p53_1 = 'Response already received: ' + call.toString();
267
267
  delete $this.message;
268
268
  return $this;
269
269
  }
270
270
  fd() {
271
- return this.b53_1;
271
+ return this.p53_1;
272
272
  }
273
273
  get message() {
274
274
  return this.fd();
@@ -283,15 +283,15 @@ var NoTransformationFoundExceptionClass;
283
283
  function NoTransformationFoundException() {
284
284
  if (NoTransformationFoundExceptionClass === VOID) {
285
285
  class $ extends UnsupportedOperationException() {
286
- static l53(response, from, to) {
286
+ static z53(response, from, to) {
287
287
  var $this = this.w7();
288
- captureStack($this, $this.k53_1);
289
- $this.j53_1 = trimIndent("\n Expected response body of the type '" + toString(to) + "' but was '" + toString(from) + "'\n In response from `" + get_request(response).z51().toString() + '`\n Response status `' + response.g52().toString() + '`\n Response header `ContentType: ' + response.l45().o3r(HttpHeaders_getInstance().k41_1) + '` \n Request header `Accept: ' + get_request(response).l45().o3r(HttpHeaders_getInstance().s40_1) + '`\n \n You can read how to resolve NoTransformationFoundException at FAQ: \n https://ktor.io/docs/faq.html#no-transformation-found-exception\n ');
288
+ captureStack($this, $this.y53_1);
289
+ $this.x53_1 = trimIndent("\n Expected response body of the type '" + toString(to) + "' but was '" + toString(from) + "'\n In response from `" + get_request(response).n52().toString() + '`\n Response status `' + response.u52().toString() + '`\n Response header `ContentType: ' + response.z45().c3s(HttpHeaders_getInstance().y41_1) + '` \n Request header `Accept: ' + get_request(response).z45().c3s(HttpHeaders_getInstance().g41_1) + '`\n \n You can read how to resolve NoTransformationFoundException at FAQ: \n https://ktor.io/docs/faq.html#no-transformation-found-exception\n ');
290
290
  delete $this.message;
291
291
  return $this;
292
292
  }
293
293
  fd() {
294
- return this.j53_1;
294
+ return this.x53_1;
295
295
  }
296
296
  get message() {
297
297
  return this.fd();
@@ -29,20 +29,20 @@ var SavedHttpCallClass;
29
29
  function SavedHttpCall() {
30
30
  if (SavedHttpCallClass === VOID) {
31
31
  class $ extends HttpClientCall() {
32
- static k54(client, request, response, responseBody) {
33
- var $this = this.p51(client);
34
- $this.i54_1 = responseBody;
35
- $this.w4y_1 = new (SavedHttpRequest())($this, request);
36
- $this.x4y_1 = new (SavedHttpResponse())($this, $this.i54_1, response);
37
- checkContentLength(contentLength(response), toLong($this.i54_1.length), request.y51());
38
- $this.j54_1 = true;
32
+ static y54(client, request, response, responseBody) {
33
+ var $this = this.d52(client);
34
+ $this.w54_1 = responseBody;
35
+ $this.k4z_1 = new (SavedHttpRequest())($this, request);
36
+ $this.l4z_1 = new (SavedHttpResponse())($this, $this.w54_1, response);
37
+ checkContentLength(contentLength(response), toLong($this.w54_1.length), request.m52());
38
+ $this.x54_1 = true;
39
39
  return $this;
40
40
  }
41
- t51($completion) {
42
- return ByteReadChannel(this.i54_1);
41
+ h52($completion) {
42
+ return ByteReadChannel(this.w54_1);
43
43
  }
44
- s51() {
45
- return this.j54_1;
44
+ g52() {
45
+ return this.x54_1;
46
46
  }
47
47
  }
48
48
  initMetadataForClass($, 'SavedHttpCall', VOID, VOID, VOID, [0, 1]);
@@ -55,26 +55,26 @@ function SavedHttpRequest() {
55
55
  if (SavedHttpRequestClass === VOID) {
56
56
  class $ {
57
57
  constructor(call, origin) {
58
- this.l54_1 = origin;
59
- this.m54_1 = call;
58
+ this.z54_1 = origin;
59
+ this.a55_1 = call;
60
60
  }
61
- x51() {
62
- return this.m54_1;
61
+ l52() {
62
+ return this.a55_1;
63
63
  }
64
64
  s1x() {
65
- return this.l54_1.s1x();
65
+ return this.z54_1.s1x();
66
66
  }
67
- y51() {
68
- return this.l54_1.y51();
67
+ m52() {
68
+ return this.z54_1.m52();
69
69
  }
70
- z51() {
71
- return this.l54_1.z51();
70
+ n52() {
71
+ return this.z54_1.n52();
72
72
  }
73
- r51() {
74
- return this.l54_1.r51();
73
+ f52() {
74
+ return this.z54_1.f52();
75
75
  }
76
- l45() {
77
- return this.l54_1.l45();
76
+ z45() {
77
+ return this.z54_1.z45();
78
78
  }
79
79
  }
80
80
  initMetadataForClass($, 'SavedHttpRequest', VOID, VOID, [HttpRequest()]);
@@ -88,38 +88,38 @@ function SavedHttpResponse() {
88
88
  class $ extends HttpResponse() {
89
89
  constructor(call, body, origin) {
90
90
  super();
91
- this.n54_1 = call;
92
- this.o54_1 = body;
93
- this.p54_1 = origin.g52();
94
- this.q54_1 = origin.s2v();
95
- this.r54_1 = origin.h52();
96
- this.s54_1 = origin.i52();
97
- this.t54_1 = origin.l45();
98
- this.u54_1 = origin.s1x();
99
- }
100
- x51() {
101
- return this.n54_1;
91
+ this.b55_1 = call;
92
+ this.c55_1 = body;
93
+ this.d55_1 = origin.u52();
94
+ this.e55_1 = origin.g2w();
95
+ this.f55_1 = origin.v52();
96
+ this.g55_1 = origin.w52();
97
+ this.h55_1 = origin.z45();
98
+ this.i55_1 = origin.s1x();
102
99
  }
103
- g52() {
104
- return this.p54_1;
100
+ l52() {
101
+ return this.b55_1;
105
102
  }
106
- s2v() {
107
- return this.q54_1;
103
+ u52() {
104
+ return this.d55_1;
108
105
  }
109
- h52() {
110
- return this.r54_1;
106
+ g2w() {
107
+ return this.e55_1;
111
108
  }
112
- i52() {
113
- return this.s54_1;
109
+ v52() {
110
+ return this.f55_1;
114
111
  }
115
- l45() {
116
- return this.t54_1;
112
+ w52() {
113
+ return this.g55_1;
114
+ }
115
+ z45() {
116
+ return this.h55_1;
117
117
  }
118
118
  s1x() {
119
- return this.u54_1;
119
+ return this.i55_1;
120
120
  }
121
- f52() {
122
- return ByteReadChannel(this.o54_1);
121
+ t52() {
122
+ return ByteReadChannel(this.c55_1);
123
123
  }
124
124
  }
125
125
  initMetadataForClass($, 'SavedHttpResponse');
@@ -133,7 +133,7 @@ function $saveCOROUTINE$() {
133
133
  class $ extends CoroutineImpl() {
134
134
  constructor(_this__u8e3s4, resultContinuation) {
135
135
  super(resultContinuation);
136
- this.c54_1 = _this__u8e3s4;
136
+ this.q54_1 = _this__u8e3s4;
137
137
  }
138
138
  ic() {
139
139
  var suspendResult = this.cc_1;
@@ -144,7 +144,7 @@ function $saveCOROUTINE$() {
144
144
  case 0:
145
145
  this.bc_1 = 2;
146
146
  this.ac_1 = 1;
147
- suspendResult = readRemaining(this.c54_1.z4y().f52(), this);
147
+ suspendResult = readRemaining(this.q54_1.n4z().t52(), this);
148
148
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
149
149
  return suspendResult;
150
150
  }
@@ -153,7 +153,7 @@ function $saveCOROUTINE$() {
153
153
  case 1:
154
154
  var ARGUMENT = suspendResult;
155
155
  var responseBody = readByteArray(ARGUMENT);
156
- return SavedHttpCall().k54(this.c54_1.u4y_1, this.c54_1.q51(), this.c54_1.z4y(), responseBody);
156
+ return SavedHttpCall().y54(this.q54_1.i4z_1, this.q54_1.e52(), this.q54_1.n4z(), responseBody);
157
157
  case 2:
158
158
  throw this.dc_1;
159
159
  }
@@ -19,9 +19,9 @@ var UnsupportedContentTypeExceptionClass;
19
19
  function UnsupportedContentTypeException() {
20
20
  if (UnsupportedContentTypeExceptionClass === VOID) {
21
21
  class $ extends IllegalStateException() {
22
- static z54(content) {
22
+ static n55(content) {
23
23
  var $this = this.o4('Failed to write body: ' + toString(getKClassFromExpression(content)));
24
- captureStack($this, $this.y54_1);
24
+ captureStack($this, $this.m55_1);
25
25
  return $this;
26
26
  }
27
27
  }
@@ -31,7 +31,7 @@ function UnsupportedContentTypeException() {
31
31
  return UnsupportedContentTypeExceptionClass;
32
32
  }
33
33
  function checkContentLength(contentLength, bodySize, method) {
34
- if (contentLength == null || contentLength.a2(new (Long())(0, 0)) < 0 || method.equals(Companion_getInstance().r45_1))
34
+ if (contentLength == null || contentLength.a2(new (Long())(0, 0)) < 0 || method.equals(Companion_getInstance().f46_1))
35
35
  return Unit_instance;
36
36
  if (!equals(contentLength, bodySize)) {
37
37
  throw IllegalStateException().o4('Content-Length mismatch: expected ' + toString_0(contentLength) + ' bytes, but received ' + bodySize.toString() + ' bytes');
@@ -44,23 +44,23 @@ function ProgressListener() {
44
44
  function getContent($this, delegate) {
45
45
  var tmp;
46
46
  if (delegate instanceof ContentWrapper()) {
47
- tmp = getContent($this, delegate.p4b());
47
+ tmp = getContent($this, delegate.d4c());
48
48
  } else {
49
49
  if (delegate instanceof ByteArrayContent()) {
50
- tmp = ByteReadChannel(delegate.g4b());
50
+ tmp = ByteReadChannel(delegate.u4b());
51
51
  } else {
52
52
  if (delegate instanceof ProtocolUpgrade()) {
53
- throw UnsupportedContentTypeException().z54(delegate);
53
+ throw UnsupportedContentTypeException().n55(delegate);
54
54
  } else {
55
55
  if (delegate instanceof NoContent()) {
56
- tmp = Companion_getInstance().t3c_1;
56
+ tmp = Companion_getInstance().h3d_1;
57
57
  } else {
58
58
  if (delegate instanceof ReadChannelContent()) {
59
- tmp = delegate.j4b();
59
+ tmp = delegate.x4b();
60
60
  } else {
61
61
  if (delegate instanceof WriteChannelContent()) {
62
62
  var tmp_0 = GlobalScope_instance;
63
- tmp = writer(tmp_0, $this.d55_1, true, ObservableContent$getContent$slambda_0(delegate, null)).t3m_1;
63
+ tmp = writer(tmp_0, $this.r55_1, true, ObservableContent$getContent$slambda_0(delegate, null)).h3n_1;
64
64
  } else {
65
65
  noWhenBranchMatchedException();
66
66
  }
@@ -78,17 +78,17 @@ function ObservableContent$getContent$slambda() {
78
78
  constructor($delegate, resultContinuation, $box) {
79
79
  if ($box === VOID)
80
80
  $box = {};
81
- $box.o55_1 = $delegate;
81
+ $box.c56_1 = $delegate;
82
82
  super(resultContinuation, $box);
83
83
  }
84
- l4l($this$writer, $completion) {
85
- var tmp = this.m4l($this$writer, $completion);
84
+ z4l($this$writer, $completion) {
85
+ var tmp = this.a4m($this$writer, $completion);
86
86
  tmp.cc_1 = Unit_instance;
87
87
  tmp.dc_1 = null;
88
88
  return tmp.ic();
89
89
  }
90
90
  kd(p1, $completion) {
91
- return this.l4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
91
+ return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
92
92
  }
93
93
  ic() {
94
94
  var suspendResult = this.cc_1;
@@ -99,7 +99,7 @@ function ObservableContent$getContent$slambda() {
99
99
  case 0:
100
100
  this.bc_1 = 2;
101
101
  this.ac_1 = 1;
102
- suspendResult = this.o55_1.l4b(this.p55_1.v3m_1, this);
102
+ suspendResult = this.c56_1.z4b(this.d56_1.j3n_1, this);
103
103
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
104
104
  return suspendResult;
105
105
  }
@@ -121,9 +121,9 @@ function ObservableContent$getContent$slambda() {
121
121
  }
122
122
  while (true);
123
123
  }
124
- m4l($this$writer, completion) {
125
- var i = new (ObservableContent$getContent$slambda())(this.o55_1, completion);
126
- i.p55_1 = $this$writer;
124
+ a4m($this$writer, completion) {
125
+ var i = new (ObservableContent$getContent$slambda())(this.c56_1, completion);
126
+ i.d56_1 = $this$writer;
127
127
  return i;
128
128
  }
129
129
  }
@@ -135,7 +135,7 @@ function ObservableContent$getContent$slambda() {
135
135
  function ObservableContent$getContent$slambda_0($delegate, resultContinuation) {
136
136
  var i = new (ObservableContent$getContent$slambda())($delegate, resultContinuation);
137
137
  var l = function ($this$writer, $completion) {
138
- return i.l4l($this$writer, $completion);
138
+ return i.z4l($this$writer, $completion);
139
139
  };
140
140
  l.$arity = 1;
141
141
  return l;
@@ -146,22 +146,22 @@ function ObservableContent() {
146
146
  class $ extends ReadChannelContent() {
147
147
  constructor(delegate, callContext, listener) {
148
148
  super();
149
- this.c55_1 = delegate;
150
- this.d55_1 = callContext;
151
- this.e55_1 = listener;
152
- this.f55_1 = getContent(this, this.c55_1);
149
+ this.q55_1 = delegate;
150
+ this.r55_1 = callContext;
151
+ this.s55_1 = listener;
152
+ this.t55_1 = getContent(this, this.q55_1);
153
153
  }
154
- e4b() {
155
- return this.c55_1.e4b();
154
+ s4b() {
155
+ return this.q55_1.s4b();
156
156
  }
157
- f4b() {
158
- return this.c55_1.f4b();
157
+ t4b() {
158
+ return this.q55_1.t4b();
159
159
  }
160
- l45() {
161
- return this.c55_1.l45();
160
+ z45() {
161
+ return this.q55_1.z45();
162
162
  }
163
- j4b() {
164
- return observable(this.f55_1, this.d55_1, this.f4b(), this.e55_1);
163
+ x4b() {
164
+ return observable(this.t55_1, this.r55_1, this.t4b(), this.s55_1);
165
165
  }
166
166
  }
167
167
  initMetadataForClass($, 'ObservableContent');