@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
@@ -28,13 +28,13 @@ function ByteWriteChannel$flushAndClose$ref() {
28
28
  if (ByteWriteChannel$flushAndClose$refClass === VOID) {
29
29
  class $ {
30
30
  constructor(p0) {
31
- this.s3m_1 = p0;
31
+ this.g3n_1 = p0;
32
32
  }
33
- c3m($completion) {
34
- return this.s3m_1.w3a($completion);
33
+ q3m($completion) {
34
+ return this.g3n_1.k3b($completion);
35
35
  }
36
36
  pe($completion) {
37
- return this.c3m($completion);
37
+ return this.q3m($completion);
38
38
  }
39
39
  }
40
40
  initMetadataForFunctionReference($, VOID, VOID, [0]);
@@ -45,7 +45,7 @@ function ByteWriteChannel$flushAndClose$ref() {
45
45
  function ByteWriteChannel$flushAndClose$ref_0(p0) {
46
46
  var i = new (ByteWriteChannel$flushAndClose$ref())(p0);
47
47
  var l = function ($completion) {
48
- return i.c3m($completion);
48
+ return i.q3m($completion);
49
49
  };
50
50
  l.callableName = 'flushAndClose';
51
51
  l.$arity = 0;
@@ -57,7 +57,7 @@ function $flushIfNeededCOROUTINE$() {
57
57
  class $ extends CoroutineImpl() {
58
58
  constructor(_this__u8e3s4, resultContinuation) {
59
59
  super(resultContinuation);
60
- this.r3m_1 = _this__u8e3s4;
60
+ this.f3n_1 = _this__u8e3s4;
61
61
  }
62
62
  ic() {
63
63
  var suspendResult = this.cc_1;
@@ -67,19 +67,19 @@ function $flushIfNeededCOROUTINE$() {
67
67
  switch (tmp) {
68
68
  case 0:
69
69
  this.bc_1 = 3;
70
- rethrowCloseCauseIfNeeded(this.r3m_1);
70
+ rethrowCloseCauseIfNeeded(this.f3n_1);
71
71
  var tmp_0;
72
- var tmp_1 = this.r3m_1;
72
+ var tmp_1 = this.f3n_1;
73
73
  var tmp0_safe_receiver = tmp_1 instanceof ByteChannel() ? tmp_1 : null;
74
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b38_1) === true) {
74
+ if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p38_1) === true) {
75
75
  tmp_0 = true;
76
76
  } else {
77
- tmp_0 = get_size(this.r3m_1.p3a()) >= 1048576;
77
+ tmp_0 = get_size(this.f3n_1.d3b()) >= 1048576;
78
78
  }
79
79
 
80
80
  if (tmp_0) {
81
81
  this.ac_1 = 1;
82
- suspendResult = this.r3m_1.l3a(this);
82
+ suspendResult = this.f3n_1.z3a(this);
83
83
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
84
84
  return suspendResult;
85
85
  }
@@ -42,11 +42,11 @@ function WriterJob() {
42
42
  if (WriterJobClass === VOID) {
43
43
  class $ {
44
44
  constructor(channel, job) {
45
- this.t3m_1 = channel;
46
- this.u3m_1 = job;
45
+ this.h3n_1 = channel;
46
+ this.i3n_1 = job;
47
47
  }
48
48
  i24() {
49
- return this.u3m_1;
49
+ return this.i3n_1;
50
50
  }
51
51
  }
52
52
  initMetadataForClass($, 'WriterJob');
@@ -65,11 +65,11 @@ function WriterScope() {
65
65
  if (WriterScopeClass === VOID) {
66
66
  class $ {
67
67
  constructor(channel, coroutineContext) {
68
- this.v3m_1 = channel;
69
- this.w3m_1 = coroutineContext;
68
+ this.j3n_1 = channel;
69
+ this.k3n_1 = coroutineContext;
70
70
  }
71
71
  s1x() {
72
- return this.w3m_1;
72
+ return this.k3n_1;
73
73
  }
74
74
  }
75
75
  initMetadataForClass($, 'WriterScope', VOID, VOID, [CoroutineScope()]);
@@ -80,7 +80,7 @@ function WriterScope() {
80
80
  function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
81
81
  startIndex = startIndex === VOID ? 0 : startIndex;
82
82
  endIndex = endIndex === VOID ? value.length : endIndex;
83
- _this__u8e3s4.p3a().n2s(value, startIndex, endIndex);
83
+ _this__u8e3s4.d3b().b2t(value, startIndex, endIndex);
84
84
  return flushIfNeeded(_this__u8e3s4, $completion);
85
85
  }
86
86
  function close(_this__u8e3s4, cause) {
@@ -88,7 +88,7 @@ function close(_this__u8e3s4, cause) {
88
88
  if (cause == null) {
89
89
  fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
90
90
  } else {
91
- _this__u8e3s4.x3a(cause);
91
+ _this__u8e3s4.l3b(cause);
92
92
  }
93
93
  }
94
94
  function invokeOnCompletion(_this__u8e3s4, block) {
@@ -118,23 +118,23 @@ function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
118
118
  return new (WriterJob())(channel, job);
119
119
  }
120
120
  function writeShort(_this__u8e3s4, value, $completion) {
121
- _this__u8e3s4.p3a().z2s(value);
121
+ _this__u8e3s4.d3b().n2t(value);
122
122
  return flushIfNeeded(_this__u8e3s4, $completion);
123
123
  }
124
124
  function writeByte(_this__u8e3s4, value, $completion) {
125
- _this__u8e3s4.p3a().x2s(value);
125
+ _this__u8e3s4.d3b().l2t(value);
126
126
  return flushIfNeeded(_this__u8e3s4, $completion);
127
127
  }
128
128
  function writeLong(_this__u8e3s4, value, $completion) {
129
- _this__u8e3s4.p3a().d2t(value);
129
+ _this__u8e3s4.d3b().r2t(value);
130
130
  return flushIfNeeded(_this__u8e3s4, $completion);
131
131
  }
132
132
  function writeInt(_this__u8e3s4, value, $completion) {
133
- _this__u8e3s4.p3a().b2t(value);
133
+ _this__u8e3s4.d3b().p2t(value);
134
134
  return flushIfNeeded(_this__u8e3s4, $completion);
135
135
  }
136
136
  function writeByteArray(_this__u8e3s4, array, $completion) {
137
- _this__u8e3s4.p3a().q2s(array);
137
+ _this__u8e3s4.d3b().e2t(array);
138
138
  return flushIfNeeded(_this__u8e3s4, $completion);
139
139
  }
140
140
  function cancel_0(_this__u8e3s4) {
@@ -158,10 +158,10 @@ function NO_CALLBACK$1() {
158
158
  if (NO_CALLBACK$1Class === VOID) {
159
159
  class $ {
160
160
  constructor() {
161
- this.h3n_1 = EmptyCoroutineContext_getInstance();
161
+ this.v3n_1 = EmptyCoroutineContext_getInstance();
162
162
  }
163
163
  gc() {
164
- return this.h3n_1;
164
+ return this.v3n_1;
165
165
  }
166
166
  hc(result) {
167
167
  return Unit_instance;
@@ -180,13 +180,13 @@ function ByteWriteChannel$flushAndClose$ref() {
180
180
  if (ByteWriteChannel$flushAndClose$refClass === VOID) {
181
181
  class $ {
182
182
  constructor(p0) {
183
- this.i3n_1 = p0;
183
+ this.w3n_1 = p0;
184
184
  }
185
- c3m($completion) {
186
- return this.i3n_1.w3a($completion);
185
+ q3m($completion) {
186
+ return this.w3n_1.k3b($completion);
187
187
  }
188
188
  pe($completion) {
189
- return this.c3m($completion);
189
+ return this.q3m($completion);
190
190
  }
191
191
  }
192
192
  initMetadataForFunctionReference($, VOID, VOID, [0]);
@@ -197,7 +197,7 @@ function ByteWriteChannel$flushAndClose$ref() {
197
197
  function ByteWriteChannel$flushAndClose$ref_0(p0) {
198
198
  var i = new (ByteWriteChannel$flushAndClose$ref())(p0);
199
199
  var l = function ($completion) {
200
- return i.c3m($completion);
200
+ return i.q3m($completion);
201
201
  };
202
202
  l.callableName = 'flushAndClose';
203
203
  l.$arity = 0;
@@ -210,18 +210,18 @@ function writer$slambda() {
210
210
  constructor($block, $channel, resultContinuation, $box) {
211
211
  if ($box === VOID)
212
212
  $box = {};
213
- $box.r3n_1 = $block;
214
- $box.s3n_1 = $channel;
213
+ $box.f3o_1 = $block;
214
+ $box.g3o_1 = $channel;
215
215
  super(resultContinuation, $box);
216
216
  }
217
- l37($this$launch, $completion) {
218
- var tmp = this.p35($this$launch, $completion);
217
+ z37($this$launch, $completion) {
218
+ var tmp = this.d36($this$launch, $completion);
219
219
  tmp.cc_1 = Unit_instance;
220
220
  tmp.dc_1 = null;
221
221
  return tmp.ic();
222
222
  }
223
223
  kd(p1, $completion) {
224
- return this.l37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
224
+ return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
225
225
  }
226
226
  ic() {
227
227
  var suspendResult = this.cc_1;
@@ -231,29 +231,29 @@ function writer$slambda() {
231
231
  switch (tmp) {
232
232
  case 0:
233
233
  this.bc_1 = 14;
234
- this.u3n_1 = Job(get_job(this.t3n_1.s1x()));
234
+ this.i3o_1 = Job(get_job(this.h3o_1.s1x()));
235
235
  this.ac_1 = 1;
236
236
  continue $sm;
237
237
  case 1:
238
238
  this.bc_1 = 4;
239
239
  this.bc_1 = 3;
240
240
  this.ac_1 = 2;
241
- suspendResult = this.r3n_1(new (WriterScope())(this.s3n_1, this.t3n_1.s1x().lm(this.u3n_1)), this);
241
+ suspendResult = this.f3o_1(new (WriterScope())(this.g3o_1, this.h3o_1.s1x().lm(this.i3o_1)), this);
242
242
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
243
243
  return suspendResult;
244
244
  }
245
245
 
246
246
  continue $sm;
247
247
  case 2:
248
- this.u3n_1.d25();
248
+ this.i3o_1.d25();
249
249
  var tmp_0 = this;
250
250
  var tmp_1;
251
- if (get_job(this.t3n_1.s1x()).p1y()) {
252
- this.s3n_1.x3a(get_job(this.t3n_1.s1x()).s1y());
251
+ if (get_job(this.h3o_1.s1x()).p1y()) {
252
+ this.g3o_1.l3b(get_job(this.h3o_1.s1x()).s1y());
253
253
  tmp_1 = Unit_instance;
254
254
  }
255
255
 
256
- tmp_0.v3n_1 = tmp_1;
256
+ tmp_0.j3o_1 = tmp_1;
257
257
  this.bc_1 = 14;
258
258
  this.ac_1 = 9;
259
259
  continue $sm;
@@ -261,11 +261,11 @@ function writer$slambda() {
261
261
  this.bc_1 = 4;
262
262
  var tmp_2 = this.dc_1;
263
263
  if (tmp_2 instanceof Error) {
264
- this.w3n_1 = this.dc_1;
264
+ this.k3o_1 = this.dc_1;
265
265
  var tmp_3 = this;
266
- cancel(this.u3n_1, 'Exception thrown while writing to channel', this.w3n_1);
267
- this.s3n_1.x3a(this.w3n_1);
268
- tmp_3.v3n_1 = Unit_instance;
266
+ cancel(this.i3o_1, 'Exception thrown while writing to channel', this.k3o_1);
267
+ this.g3o_1.l3b(this.k3o_1);
268
+ tmp_3.j3o_1 = Unit_instance;
269
269
  this.bc_1 = 14;
270
270
  this.ac_1 = 9;
271
271
  continue $sm;
@@ -275,9 +275,9 @@ function writer$slambda() {
275
275
 
276
276
  case 4:
277
277
  this.bc_1 = 14;
278
- this.x3n_1 = this.dc_1;
278
+ this.l3o_1 = this.dc_1;
279
279
  this.ac_1 = 5;
280
- suspendResult = this.u3n_1.z1y(this);
280
+ suspendResult = this.i3o_1.z1y(this);
281
281
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
282
282
  return suspendResult;
283
283
  }
@@ -285,27 +285,27 @@ function writer$slambda() {
285
285
  continue $sm;
286
286
  case 5:
287
287
  var tmp_4 = this;
288
- tmp_4.y3n_1 = this.t3n_1;
289
- this.z3n_1 = this.y3n_1;
288
+ tmp_4.m3o_1 = this.h3o_1;
289
+ this.n3o_1 = this.m3o_1;
290
290
  this.bc_1 = 7;
291
291
  var tmp_5 = this;
292
- tmp_5.b3o_1 = Companion_instance;
292
+ tmp_5.p3o_1 = Companion_instance;
293
293
  var tmp_6 = this;
294
- tmp_6.c3o_1 = this.z3n_1;
295
- this.d3o_1 = this.c3o_1;
294
+ tmp_6.q3o_1 = this.n3o_1;
295
+ this.r3o_1 = this.q3o_1;
296
296
  this.ac_1 = 6;
297
- suspendResult = this.s3n_1.w3a(this);
297
+ suspendResult = this.g3o_1.k3b(this);
298
298
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
299
299
  return suspendResult;
300
300
  }
301
301
 
302
302
  continue $sm;
303
303
  case 6:
304
- this.e3o_1 = Unit_instance;
304
+ this.s3o_1 = Unit_instance;
305
305
  var tmp_7 = this;
306
- this.b3o_1;
307
- var value = this.e3o_1;
308
- tmp_7.a3o_1 = _Result___init__impl__xyqfz8(value);
306
+ this.p3o_1;
307
+ var value = this.s3o_1;
308
+ tmp_7.o3o_1 = _Result___init__impl__xyqfz8(value);
309
309
  this.bc_1 = 14;
310
310
  this.ac_1 = 8;
311
311
  continue $sm;
@@ -313,10 +313,10 @@ function writer$slambda() {
313
313
  this.bc_1 = 14;
314
314
  var tmp_8 = this.dc_1;
315
315
  if (tmp_8 instanceof Error) {
316
- this.f3o_1 = this.dc_1;
316
+ this.t3o_1 = this.dc_1;
317
317
  var tmp_9 = this;
318
- var exception = this.f3o_1;
319
- tmp_9.a3o_1 = _Result___init__impl__xyqfz8(createFailure(exception));
318
+ var exception = this.t3o_1;
319
+ tmp_9.o3o_1 = _Result___init__impl__xyqfz8(createFailure(exception));
320
320
  this.ac_1 = 8;
321
321
  continue $sm;
322
322
  } else {
@@ -325,11 +325,11 @@ function writer$slambda() {
325
325
 
326
326
  case 8:
327
327
  this.bc_1 = 14;
328
- throw this.x3n_1;
328
+ throw this.l3o_1;
329
329
  case 9:
330
330
  this.bc_1 = 14;
331
331
  this.ac_1 = 10;
332
- suspendResult = this.u3n_1.z1y(this);
332
+ suspendResult = this.i3o_1.z1y(this);
333
333
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
334
334
  return suspendResult;
335
335
  }
@@ -337,16 +337,16 @@ function writer$slambda() {
337
337
  continue $sm;
338
338
  case 10:
339
339
  var tmp_10 = this;
340
- tmp_10.g3o_1 = this.t3n_1;
341
- this.h3o_1 = this.g3o_1;
340
+ tmp_10.u3o_1 = this.h3o_1;
341
+ this.v3o_1 = this.u3o_1;
342
342
  this.bc_1 = 12;
343
343
  var tmp_11 = this;
344
- tmp_11.j3o_1 = Companion_instance;
344
+ tmp_11.x3o_1 = Companion_instance;
345
345
  var tmp_12 = this;
346
- tmp_12.k3o_1 = this.h3o_1;
347
- this.l3o_1 = this.k3o_1;
346
+ tmp_12.y3o_1 = this.v3o_1;
347
+ this.z3o_1 = this.y3o_1;
348
348
  this.ac_1 = 11;
349
- suspendResult = this.s3n_1.w3a(this);
349
+ suspendResult = this.g3o_1.k3b(this);
350
350
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
351
351
  return suspendResult;
352
352
  }
@@ -354,8 +354,8 @@ function writer$slambda() {
354
354
  continue $sm;
355
355
  case 11:
356
356
  var tmp_13 = this;
357
- this.j3o_1;
358
- tmp_13.i3o_1 = _Result___init__impl__xyqfz8(Unit_instance);
357
+ this.x3o_1;
358
+ tmp_13.w3o_1 = _Result___init__impl__xyqfz8(Unit_instance);
359
359
  this.bc_1 = 14;
360
360
  this.ac_1 = 13;
361
361
  continue $sm;
@@ -365,7 +365,7 @@ function writer$slambda() {
365
365
  if (tmp_14 instanceof Error) {
366
366
  var e = this.dc_1;
367
367
  var tmp_15 = this;
368
- tmp_15.i3o_1 = _Result___init__impl__xyqfz8(createFailure(e));
368
+ tmp_15.w3o_1 = _Result___init__impl__xyqfz8(createFailure(e));
369
369
  this.ac_1 = 13;
370
370
  continue $sm;
371
371
  } else {
@@ -389,9 +389,9 @@ function writer$slambda() {
389
389
  }
390
390
  while (true);
391
391
  }
392
- p35($this$launch, completion) {
393
- var i = new (writer$slambda())(this.r3n_1, this.s3n_1, completion);
394
- i.t3n_1 = $this$launch;
392
+ d36($this$launch, completion) {
393
+ var i = new (writer$slambda())(this.f3o_1, this.g3o_1, completion);
394
+ i.h3o_1 = $this$launch;
395
395
  return i;
396
396
  }
397
397
  }
@@ -403,7 +403,7 @@ function writer$slambda() {
403
403
  function writer$slambda_0($block, $channel, resultContinuation) {
404
404
  var i = new (writer$slambda())($block, $channel, resultContinuation);
405
405
  var l = function ($this$launch, $completion) {
406
- return i.l37($this$launch, $completion);
406
+ return i.z37($this$launch, $completion);
407
407
  };
408
408
  l.$arity = 1;
409
409
  return l;
@@ -411,8 +411,8 @@ function writer$slambda_0($block, $channel, resultContinuation) {
411
411
  function writer$lambda($channel) {
412
412
  return function (it) {
413
413
  var tmp;
414
- if (!(it == null) && !$channel.q3a()) {
415
- $channel.x3a(it);
414
+ if (!(it == null) && !$channel.e3b()) {
415
+ $channel.l3b(it);
416
416
  tmp = Unit_instance;
417
417
  }
418
418
  return Unit_instance;
@@ -424,8 +424,8 @@ function $writePacketCOROUTINE$() {
424
424
  class $ extends CoroutineImpl() {
425
425
  constructor(_this__u8e3s4, source, resultContinuation) {
426
426
  super(resultContinuation);
427
- this.f3n_1 = _this__u8e3s4;
428
- this.g3n_1 = source;
427
+ this.t3n_1 = _this__u8e3s4;
428
+ this.u3n_1 = source;
429
429
  }
430
430
  ic() {
431
431
  var suspendResult = this.cc_1;
@@ -438,14 +438,14 @@ function $writePacketCOROUTINE$() {
438
438
  this.ac_1 = 1;
439
439
  continue $sm;
440
440
  case 1:
441
- if (!!this.g3n_1.a2r()) {
441
+ if (!!this.u3n_1.o2r()) {
442
442
  this.ac_1 = 3;
443
443
  continue $sm;
444
444
  }
445
445
 
446
- this.f3n_1.p3a().r2s(this.g3n_1, get_remaining(this.g3n_1));
446
+ this.t3n_1.d3b().f2t(this.u3n_1, get_remaining(this.u3n_1));
447
447
  this.ac_1 = 2;
448
- suspendResult = flushIfNeeded(this.f3n_1, this);
448
+ suspendResult = flushIfNeeded(this.t3n_1, this);
449
449
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
450
450
  return suspendResult;
451
451
  }
@@ -19,7 +19,7 @@ function $flushAndCloseCOROUTINE$() {
19
19
  class $ extends CoroutineImpl() {
20
20
  constructor(_this__u8e3s4, resultContinuation) {
21
21
  super(resultContinuation);
22
- this.u3o_1 = _this__u8e3s4;
22
+ this.i3p_1 = _this__u8e3s4;
23
23
  }
24
24
  ic() {
25
25
  var suspendResult = this.cc_1;
@@ -30,7 +30,7 @@ function $flushAndCloseCOROUTINE$() {
30
30
  case 0:
31
31
  this.bc_1 = 3;
32
32
  this.ac_1 = 1;
33
- suspendResult = this.u3o_1.v3o_1.w3a(this);
33
+ suspendResult = this.i3p_1.j3p_1.k3b(this);
34
34
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
35
35
  return suspendResult;
36
36
  }
@@ -38,7 +38,7 @@ function $flushAndCloseCOROUTINE$() {
38
38
  continue $sm;
39
39
  case 1:
40
40
  this.ac_1 = 2;
41
- suspendResult = this.u3o_1.w3o_1(this);
41
+ suspendResult = this.i3p_1.k3p_1(this);
42
42
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
43
43
  return suspendResult;
44
44
  }
@@ -71,26 +71,26 @@ function CloseHookByteWriteChannel() {
71
71
  if (CloseHookByteWriteChannelClass === VOID) {
72
72
  class $ {
73
73
  constructor(delegate, onClose) {
74
- this.v3o_1 = delegate;
75
- this.w3o_1 = onClose;
74
+ this.j3p_1 = delegate;
75
+ this.k3p_1 = onClose;
76
76
  }
77
- w3a($completion) {
77
+ k3b($completion) {
78
78
  var tmp = new ($flushAndCloseCOROUTINE$())(this, $completion);
79
79
  tmp.cc_1 = Unit_instance;
80
80
  tmp.dc_1 = null;
81
81
  return tmp.ic();
82
82
  }
83
- r3a() {
84
- return this.v3o_1.r3a();
83
+ f3b() {
84
+ return this.j3p_1.f3b();
85
85
  }
86
- p3a() {
87
- return this.v3o_1.p3a();
86
+ d3b() {
87
+ return this.j3p_1.d3b();
88
88
  }
89
- l3a($completion) {
90
- return this.v3o_1.l3a($completion);
89
+ z3a($completion) {
90
+ return this.j3p_1.z3a($completion);
91
91
  }
92
- x3a(cause) {
93
- this.v3o_1.x3a(cause);
92
+ l3b(cause) {
93
+ this.j3p_1.l3b(cause);
94
94
  }
95
95
  }
96
96
  initMetadataForClass($, 'CloseHookByteWriteChannel', VOID, VOID, VOID, [0]);
@@ -15,7 +15,7 @@ function get_CLOSED() {
15
15
  var CLOSED;
16
16
  function ClosedByteChannelException$_init_$ref_yjp351() {
17
17
  var l = function (p0) {
18
- return ClosedByteChannelException().a3p(p0);
18
+ return ClosedByteChannelException().o3p(p0);
19
19
  };
20
20
  l.callableName = '<init>';
21
21
  return l;
@@ -25,27 +25,27 @@ function CloseToken() {
25
25
  if (CloseTokenClass === VOID) {
26
26
  class $ {
27
27
  constructor(origin) {
28
- this.n3a_1 = origin;
28
+ this.b3b_1 = origin;
29
29
  }
30
- b3p(wrap) {
31
- var tmp0_subject = this.n3a_1;
30
+ p3p(wrap) {
31
+ var tmp0_subject = this.b3b_1;
32
32
  var tmp;
33
33
  if (tmp0_subject == null) {
34
34
  tmp = null;
35
35
  } else {
36
36
  if (!(tmp0_subject == null) ? isInterface(tmp0_subject, CopyableThrowable()) : false) {
37
- tmp = this.n3a_1.o25();
37
+ tmp = this.b3b_1.o25();
38
38
  } else {
39
39
  if (tmp0_subject instanceof CancellationException()) {
40
- tmp = CancellationException().dd(this.n3a_1.message, this.n3a_1);
40
+ tmp = CancellationException().dd(this.b3b_1.message, this.b3b_1);
41
41
  } else {
42
- tmp = wrap(this.n3a_1);
42
+ tmp = wrap(this.b3b_1);
43
43
  }
44
44
  }
45
45
  }
46
46
  return tmp;
47
47
  }
48
- s3a(wrap, $super) {
48
+ g3b(wrap, $super) {
49
49
  var tmp;
50
50
  if (wrap === VOID) {
51
51
  tmp = ClosedByteChannelException$_init_$ref_yjp351();
@@ -53,10 +53,10 @@ function CloseToken() {
53
53
  tmp = wrap;
54
54
  }
55
55
  wrap = tmp;
56
- return $super === VOID ? this.b3p(wrap) : $super.b3p.call(this, wrap);
56
+ return $super === VOID ? this.p3p(wrap) : $super.p3p.call(this, wrap);
57
57
  }
58
- o3a(wrap) {
59
- var tmp0_safe_receiver = this.b3p(wrap);
58
+ c3b(wrap) {
59
+ var tmp0_safe_receiver = this.p3p(wrap);
60
60
  var tmp;
61
61
  if (tmp0_safe_receiver == null) {
62
62
  tmp = null;
@@ -20,12 +20,12 @@ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-st
20
20
  //endregion
21
21
  function transferFromDelegate($this) {
22
22
  updateConsumed($this);
23
- var appended = $this.d3p_1.w2s($this.c3p_1.m3a());
24
- $this.e3p_1 = $this.e3p_1.p3(appended);
23
+ var appended = $this.r3p_1.k2t($this.q3p_1.a3b());
24
+ $this.s3p_1 = $this.s3p_1.p3(appended);
25
25
  }
26
26
  function updateConsumed($this) {
27
- $this.f3p_1 = $this.f3p_1.p3($this.e3p_1.q3($this.d3p_1.i1()));
28
- $this.e3p_1 = $this.d3p_1.i1();
27
+ $this.t3p_1 = $this.t3p_1.p3($this.s3p_1.q3($this.r3p_1.i1()));
28
+ $this.s3p_1 = $this.r3p_1.i1();
29
29
  }
30
30
  var $awaitContentCOROUTINE$Class;
31
31
  function $awaitContentCOROUTINE$() {
@@ -33,8 +33,8 @@ function $awaitContentCOROUTINE$() {
33
33
  class $ extends CoroutineImpl() {
34
34
  constructor(_this__u8e3s4, min, resultContinuation) {
35
35
  super(resultContinuation);
36
- this.o3p_1 = _this__u8e3s4;
37
- this.p3p_1 = min;
36
+ this.c3q_1 = _this__u8e3s4;
37
+ this.d3q_1 = min;
38
38
  }
39
39
  ic() {
40
40
  var suspendResult = this.cc_1;
@@ -44,12 +44,12 @@ function $awaitContentCOROUTINE$() {
44
44
  switch (tmp) {
45
45
  case 0:
46
46
  this.bc_1 = 3;
47
- if (this.o3p_1.m3a().i1().a2(toLong(this.p3p_1)) >= 0) {
47
+ if (this.c3q_1.a3b().i1().a2(toLong(this.d3q_1)) >= 0) {
48
48
  return true;
49
49
  }
50
50
 
51
51
  this.ac_1 = 1;
52
- suspendResult = this.o3p_1.c3p_1.u3a(this.p3p_1, this);
52
+ suspendResult = this.c3q_1.q3p_1.i3b(this.d3q_1, this);
53
53
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
54
54
  return suspendResult;
55
55
  }
@@ -57,7 +57,7 @@ function $awaitContentCOROUTINE$() {
57
57
  continue $sm;
58
58
  case 1:
59
59
  if (suspendResult) {
60
- transferFromDelegate(this.o3p_1);
60
+ transferFromDelegate(this.c3q_1);
61
61
  return true;
62
62
  } else {
63
63
  this.ac_1 = 2;
@@ -91,37 +91,37 @@ function CountedByteReadChannel() {
91
91
  if (CountedByteReadChannelClass === VOID) {
92
92
  class $ {
93
93
  constructor(delegate) {
94
- this.c3p_1 = delegate;
95
- this.d3p_1 = new (Buffer())();
96
- this.e3p_1 = new (Long())(0, 0);
97
- this.f3p_1 = new (Long())(0, 0);
94
+ this.q3p_1 = delegate;
95
+ this.r3p_1 = new (Buffer())();
96
+ this.s3p_1 = new (Long())(0, 0);
97
+ this.t3p_1 = new (Long())(0, 0);
98
98
  }
99
- q3p() {
99
+ e3q() {
100
100
  updateConsumed(this);
101
- return this.f3p_1;
101
+ return this.t3p_1;
102
102
  }
103
- r3a() {
104
- return this.c3p_1.r3a();
103
+ f3b() {
104
+ return this.q3p_1.f3b();
105
105
  }
106
- t3a() {
107
- return this.d3p_1.a2r() && this.c3p_1.t3a();
106
+ h3b() {
107
+ return this.r3p_1.o2r() && this.q3p_1.h3b();
108
108
  }
109
- m3a() {
109
+ a3b() {
110
110
  transferFromDelegate(this);
111
- return this.d3p_1;
111
+ return this.r3p_1;
112
112
  }
113
- u3a(min, $completion) {
113
+ i3b(min, $completion) {
114
114
  var tmp = new ($awaitContentCOROUTINE$())(this, min, $completion);
115
115
  tmp.cc_1 = Unit_instance;
116
116
  tmp.dc_1 = null;
117
117
  return tmp.ic();
118
118
  }
119
- x3a(cause) {
120
- this.c3p_1.x3a(cause);
121
- this.d3p_1.v5();
119
+ l3b(cause) {
120
+ this.q3p_1.l3b(cause);
121
+ this.r3p_1.v5();
122
122
  }
123
123
  }
124
- protoOf($).v3a = awaitContent$default;
124
+ protoOf($).j3b = awaitContent$default;
125
125
  initMetadataForClass($, 'CountedByteReadChannel', VOID, VOID, [ByteReadChannel()], [1]);
126
126
  CountedByteReadChannelClass = $;
127
127
  }