@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
@@ -47,7 +47,7 @@ import { extensionsocv2ha4uem50 as extensions } from './Extensions.mjs';
47
47
  //region block: pre-declaration
48
48
  //endregion
49
49
  function serialization(_this__u8e3s4, contentType, format) {
50
- _this__u8e3s4.o4v(contentType, new (KotlinxSerializationConverter())(format));
50
+ _this__u8e3s4.c4w(contentType, new (KotlinxSerializationConverter())(format));
51
51
  }
52
52
  var KotlinxSerializationConverter$serialize$o$collect$slambdaClass;
53
53
  function KotlinxSerializationConverter$serialize$o$collect$slambda() {
@@ -56,21 +56,21 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
56
56
  constructor($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation, $box) {
57
57
  if ($box === VOID)
58
58
  $box = {};
59
- $box.k6b_1 = $$this$unsafeFlow;
60
- $box.l6b_1 = $contentType;
61
- $box.m6b_1 = $charset;
62
- $box.n6b_1 = $typeInfo;
63
- $box.o6b_1 = $value;
59
+ $box.y6b_1 = $$this$unsafeFlow;
60
+ $box.z6b_1 = $contentType;
61
+ $box.a6c_1 = $charset;
62
+ $box.b6c_1 = $typeInfo;
63
+ $box.c6c_1 = $value;
64
64
  super(resultContinuation, $box);
65
65
  }
66
- k4w(value, $completion) {
67
- var tmp = this.l4w(value, $completion);
66
+ y4w(value, $completion) {
67
+ var tmp = this.z4w(value, $completion);
68
68
  tmp.cc_1 = Unit_instance;
69
69
  tmp.dc_1 = null;
70
70
  return tmp.ic();
71
71
  }
72
72
  kd(p1, $completion) {
73
- return this.k4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
73
+ return this.y4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
74
74
  }
75
75
  ic() {
76
76
  var suspendResult = this.cc_1;
@@ -81,25 +81,25 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
81
81
  case 0:
82
82
  this.bc_1 = 3;
83
83
  var tmp_0 = this;
84
- tmp_0.q6b_1 = this.k6b_1;
84
+ tmp_0.e6c_1 = this.y6b_1;
85
85
  var tmp_1 = this;
86
- tmp_1.r6b_1 = this.p6b_1;
87
- this.s6b_1 = this.q6b_1;
88
- this.t6b_1 = this.r6b_1;
86
+ tmp_1.f6c_1 = this.d6c_1;
87
+ this.g6c_1 = this.e6c_1;
88
+ this.h6c_1 = this.f6c_1;
89
89
  var tmp_2 = this;
90
- tmp_2.u6b_1 = this.t6b_1;
91
- this.v6b_1 = this.u6b_1;
90
+ tmp_2.i6c_1 = this.h6c_1;
91
+ this.j6c_1 = this.i6c_1;
92
92
  this.ac_1 = 1;
93
- suspendResult = this.v6b_1.a6b(this.l6b_1, this.m6b_1, this.n6b_1, this.o6b_1, this);
93
+ suspendResult = this.j6c_1.o6b(this.z6b_1, this.a6c_1, this.b6c_1, this.c6c_1, this);
94
94
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
95
95
  return suspendResult;
96
96
  }
97
97
 
98
98
  continue $sm;
99
99
  case 1:
100
- this.w6b_1 = suspendResult;
100
+ this.k6c_1 = suspendResult;
101
101
  this.ac_1 = 2;
102
- suspendResult = this.s6b_1.w2k(this.w6b_1, this);
102
+ suspendResult = this.g6c_1.w2k(this.k6c_1, this);
103
103
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
104
104
  return suspendResult;
105
105
  }
@@ -121,9 +121,9 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
121
121
  }
122
122
  while (true);
123
123
  }
124
- l4w(value, completion) {
125
- var i = new (KotlinxSerializationConverter$serialize$o$collect$slambda())(this.k6b_1, this.l6b_1, this.m6b_1, this.n6b_1, this.o6b_1, completion);
126
- i.p6b_1 = value;
124
+ z4w(value, completion) {
125
+ var i = new (KotlinxSerializationConverter$serialize$o$collect$slambda())(this.y6b_1, this.z6b_1, this.a6c_1, this.b6c_1, this.c6c_1, completion);
126
+ i.d6c_1 = value;
127
127
  return i;
128
128
  }
129
129
  }
@@ -135,7 +135,7 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda() {
135
135
  function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
136
136
  var i = new (KotlinxSerializationConverter$serialize$o$collect$slambda())($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
137
137
  var l = function (value, $completion) {
138
- return i.k4w(value, $completion);
138
+ return i.y4w(value, $completion);
139
139
  };
140
140
  l.$arity = 1;
141
141
  return l;
@@ -146,8 +146,8 @@ function $collectCOROUTINE$() {
146
146
  class $ extends CoroutineImpl() {
147
147
  constructor(_this__u8e3s4, collector, resultContinuation) {
148
148
  super(resultContinuation);
149
- this.f6c_1 = _this__u8e3s4;
150
- this.g6c_1 = collector;
149
+ this.t6c_1 = _this__u8e3s4;
150
+ this.u6c_1 = collector;
151
151
  }
152
152
  ic() {
153
153
  var suspendResult = this.cc_1;
@@ -158,11 +158,11 @@ function $collectCOROUTINE$() {
158
158
  case 0:
159
159
  this.bc_1 = 2;
160
160
  var tmp_0 = this;
161
- tmp_0.h6c_1 = this.g6c_1;
162
- this.i6c_1 = this.h6c_1;
161
+ tmp_0.v6c_1 = this.u6c_1;
162
+ this.w6c_1 = this.v6c_1;
163
163
  this.ac_1 = 1;
164
- var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.i6c_1, this.f6c_1.k6c_1, this.f6c_1.l6c_1, this.f6c_1.m6c_1, this.f6c_1.n6c_1, null);
165
- suspendResult = this.f6c_1.j6c_1.c2k(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp_1), this);
164
+ var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.w6c_1, this.t6c_1.y6c_1, this.t6c_1.z6c_1, this.t6c_1.a6d_1, this.t6c_1.b6d_1, null);
165
+ suspendResult = this.t6c_1.x6c_1.c2k(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp_1), this);
166
166
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
167
167
  return suspendResult;
168
168
  }
@@ -197,20 +197,20 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
197
197
  constructor($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation, $box) {
198
198
  if ($box === VOID)
199
199
  $box = {};
200
- $box.w6c_1 = $$this$unsafeFlow;
201
- $box.x6c_1 = $charset;
202
- $box.y6c_1 = $typeInfo;
203
- $box.z6c_1 = $content;
200
+ $box.k6d_1 = $$this$unsafeFlow;
201
+ $box.l6d_1 = $charset;
202
+ $box.m6d_1 = $typeInfo;
203
+ $box.n6d_1 = $content;
204
204
  super(resultContinuation, $box);
205
205
  }
206
- k4w(value, $completion) {
207
- var tmp = this.l4w(value, $completion);
206
+ y4w(value, $completion) {
207
+ var tmp = this.z4w(value, $completion);
208
208
  tmp.cc_1 = Unit_instance;
209
209
  tmp.dc_1 = null;
210
210
  return tmp.ic();
211
211
  }
212
212
  kd(p1, $completion) {
213
- return this.k4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
213
+ return this.y4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
214
214
  }
215
215
  ic() {
216
216
  var suspendResult = this.cc_1;
@@ -221,25 +221,25 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
221
221
  case 0:
222
222
  this.bc_1 = 3;
223
223
  var tmp_0 = this;
224
- tmp_0.b6d_1 = this.w6c_1;
224
+ tmp_0.p6d_1 = this.k6d_1;
225
225
  var tmp_1 = this;
226
- tmp_1.c6d_1 = this.a6d_1;
227
- this.d6d_1 = this.b6d_1;
228
- this.e6d_1 = this.c6d_1;
226
+ tmp_1.q6d_1 = this.o6d_1;
227
+ this.r6d_1 = this.p6d_1;
228
+ this.s6d_1 = this.q6d_1;
229
229
  var tmp_2 = this;
230
- tmp_2.f6d_1 = this.e6d_1;
231
- this.g6d_1 = this.f6d_1;
230
+ tmp_2.t6d_1 = this.s6d_1;
231
+ this.u6d_1 = this.t6d_1;
232
232
  this.ac_1 = 1;
233
- suspendResult = this.g6d_1.m4w(this.x6c_1, this.y6c_1, this.z6c_1, this);
233
+ suspendResult = this.u6d_1.a4x(this.l6d_1, this.m6d_1, this.n6d_1, this);
234
234
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
235
235
  return suspendResult;
236
236
  }
237
237
 
238
238
  continue $sm;
239
239
  case 1:
240
- this.h6d_1 = suspendResult;
240
+ this.v6d_1 = suspendResult;
241
241
  this.ac_1 = 2;
242
- suspendResult = this.d6d_1.w2k(this.h6d_1, this);
242
+ suspendResult = this.r6d_1.w2k(this.v6d_1, this);
243
243
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
244
244
  return suspendResult;
245
245
  }
@@ -261,9 +261,9 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
261
261
  }
262
262
  while (true);
263
263
  }
264
- l4w(value, completion) {
265
- var i = new (KotlinxSerializationConverter$deserialize$o$collect$slambda())(this.w6c_1, this.x6c_1, this.y6c_1, this.z6c_1, completion);
266
- i.a6d_1 = value;
264
+ z4w(value, completion) {
265
+ var i = new (KotlinxSerializationConverter$deserialize$o$collect$slambda())(this.k6d_1, this.l6d_1, this.m6d_1, this.n6d_1, completion);
266
+ i.o6d_1 = value;
267
267
  return i;
268
268
  }
269
269
  }
@@ -275,7 +275,7 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda() {
275
275
  function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
276
276
  var i = new (KotlinxSerializationConverter$deserialize$o$collect$slambda())($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
277
277
  var l = function (value, $completion) {
278
- return i.k4w(value, $completion);
278
+ return i.y4w(value, $completion);
279
279
  };
280
280
  l.$arity = 1;
281
281
  return l;
@@ -286,8 +286,8 @@ function $collectCOROUTINE$_0() {
286
286
  class $ extends CoroutineImpl() {
287
287
  constructor(_this__u8e3s4, collector, resultContinuation) {
288
288
  super(resultContinuation);
289
- this.q6d_1 = _this__u8e3s4;
290
- this.r6d_1 = collector;
289
+ this.e6e_1 = _this__u8e3s4;
290
+ this.f6e_1 = collector;
291
291
  }
292
292
  ic() {
293
293
  var suspendResult = this.cc_1;
@@ -298,11 +298,11 @@ function $collectCOROUTINE$_0() {
298
298
  case 0:
299
299
  this.bc_1 = 2;
300
300
  var tmp_0 = this;
301
- tmp_0.s6d_1 = this.r6d_1;
302
- this.t6d_1 = this.s6d_1;
301
+ tmp_0.g6e_1 = this.f6e_1;
302
+ this.h6e_1 = this.g6e_1;
303
303
  this.ac_1 = 1;
304
- var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.t6d_1, this.q6d_1.v6d_1, this.q6d_1.w6d_1, this.q6d_1.x6d_1, null);
305
- suspendResult = this.q6d_1.u6d_1.c2k(new (sam$kotlinx_coroutines_flow_FlowCollector$0_0())(tmp_1), this);
304
+ var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.h6e_1, this.e6e_1.j6e_1, this.e6e_1.k6e_1, this.e6e_1.l6e_1, null);
305
+ suspendResult = this.e6e_1.i6e_1.c2k(new (sam$kotlinx_coroutines_flow_FlowCollector$0_0())(tmp_1), this);
306
306
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
307
307
  return suspendResult;
308
308
  }
@@ -351,13 +351,13 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
351
351
  if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
352
352
  class $ {
353
353
  constructor(function_0) {
354
- this.y6d_1 = function_0;
354
+ this.m6e_1 = function_0;
355
355
  }
356
356
  w2k(value, $completion) {
357
- return this.y6d_1(value, $completion);
357
+ return this.m6e_1(value, $completion);
358
358
  }
359
359
  i4() {
360
- return this.y6d_1;
360
+ return this.m6e_1;
361
361
  }
362
362
  equals(other) {
363
363
  var tmp;
@@ -388,13 +388,13 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0_0() {
388
388
  if (sam$kotlinx_coroutines_flow_FlowCollector$0Class_0 === VOID) {
389
389
  class $ {
390
390
  constructor(function_0) {
391
- this.z6d_1 = function_0;
391
+ this.n6e_1 = function_0;
392
392
  }
393
393
  w2k(value, $completion) {
394
- return this.z6d_1(value, $completion);
394
+ return this.n6e_1(value, $completion);
395
395
  }
396
396
  i4() {
397
- return this.z6d_1;
397
+ return this.n6e_1;
398
398
  }
399
399
  equals(other) {
400
400
  var tmp;
@@ -425,11 +425,11 @@ function KotlinxSerializationConverter$serialize$$inlined$map$1() {
425
425
  if (KotlinxSerializationConverter$serialize$$inlined$map$1Class === VOID) {
426
426
  class $ {
427
427
  constructor($this, $contentType, $charset, $typeInfo, $value) {
428
- this.j6c_1 = $this;
429
- this.k6c_1 = $contentType;
430
- this.l6c_1 = $charset;
431
- this.m6c_1 = $typeInfo;
432
- this.n6c_1 = $value;
428
+ this.x6c_1 = $this;
429
+ this.y6c_1 = $contentType;
430
+ this.z6c_1 = $charset;
431
+ this.a6d_1 = $typeInfo;
432
+ this.b6d_1 = $value;
433
433
  }
434
434
  x2k(collector, $completion) {
435
435
  var tmp = new ($collectCOROUTINE$())(this, collector, $completion);
@@ -450,14 +450,14 @@ var KotlinxSerializationConverter$serialize$slambdaClass;
450
450
  function KotlinxSerializationConverter$serialize$slambda() {
451
451
  if (KotlinxSerializationConverter$serialize$slambdaClass === VOID) {
452
452
  class $ extends CoroutineImpl() {
453
- j6e(it, $completion) {
454
- var tmp = this.k6e(it, $completion);
453
+ x6e(it, $completion) {
454
+ var tmp = this.y6e(it, $completion);
455
455
  tmp.cc_1 = Unit_instance;
456
456
  tmp.dc_1 = null;
457
457
  return tmp.ic();
458
458
  }
459
459
  kd(p1, $completion) {
460
- return this.j6e((p1 == null ? true : p1 instanceof OutgoingContent()) ? p1 : THROW_CCE(), $completion);
460
+ return this.x6e((p1 == null ? true : p1 instanceof OutgoingContent()) ? p1 : THROW_CCE(), $completion);
461
461
  }
462
462
  ic() {
463
463
  var suspendResult = this.cc_1;
@@ -466,7 +466,7 @@ function KotlinxSerializationConverter$serialize$slambda() {
466
466
  var tmp = this.ac_1;
467
467
  if (tmp === 0) {
468
468
  this.bc_1 = 1;
469
- return !(this.i6e_1 == null);
469
+ return !(this.w6e_1 == null);
470
470
  } else if (tmp === 1) {
471
471
  throw this.dc_1;
472
472
  }
@@ -476,9 +476,9 @@ function KotlinxSerializationConverter$serialize$slambda() {
476
476
  }
477
477
  while (true);
478
478
  }
479
- k6e(it, completion) {
479
+ y6e(it, completion) {
480
480
  var i = new (KotlinxSerializationConverter$serialize$slambda())(completion);
481
- i.i6e_1 = it;
481
+ i.w6e_1 = it;
482
482
  return i;
483
483
  }
484
484
  }
@@ -490,7 +490,7 @@ function KotlinxSerializationConverter$serialize$slambda() {
490
490
  function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
491
491
  var i = new (KotlinxSerializationConverter$serialize$slambda())(resultContinuation);
492
492
  var l = function (it, $completion) {
493
- return i.j6e(it, $completion);
493
+ return i.x6e(it, $completion);
494
494
  };
495
495
  l.$arity = 1;
496
496
  return l;
@@ -500,10 +500,10 @@ function KotlinxSerializationConverter$deserialize$$inlined$map$1() {
500
500
  if (KotlinxSerializationConverter$deserialize$$inlined$map$1Class === VOID) {
501
501
  class $ {
502
502
  constructor($this, $charset, $typeInfo, $content) {
503
- this.u6d_1 = $this;
504
- this.v6d_1 = $charset;
505
- this.w6d_1 = $typeInfo;
506
- this.x6d_1 = $content;
503
+ this.i6e_1 = $this;
504
+ this.j6e_1 = $charset;
505
+ this.k6e_1 = $typeInfo;
506
+ this.l6e_1 = $content;
507
507
  }
508
508
  x2k(collector, $completion) {
509
509
  var tmp = new ($collectCOROUTINE$_0())(this, collector, $completion);
@@ -527,17 +527,17 @@ function KotlinxSerializationConverter$deserialize$slambda() {
527
527
  constructor($content, resultContinuation, $box) {
528
528
  if ($box === VOID)
529
529
  $box = {};
530
- $box.t6e_1 = $content;
530
+ $box.h6f_1 = $content;
531
531
  super(resultContinuation, $box);
532
532
  }
533
- n4x(it, $completion) {
534
- var tmp = this.l4w(it, $completion);
533
+ b4y(it, $completion) {
534
+ var tmp = this.z4w(it, $completion);
535
535
  tmp.cc_1 = Unit_instance;
536
536
  tmp.dc_1 = null;
537
537
  return tmp.ic();
538
538
  }
539
539
  kd(p1, $completion) {
540
- return this.n4x((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
540
+ return this.b4y((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
541
541
  }
542
542
  ic() {
543
543
  var suspendResult = this.cc_1;
@@ -546,7 +546,7 @@ function KotlinxSerializationConverter$deserialize$slambda() {
546
546
  var tmp = this.ac_1;
547
547
  if (tmp === 0) {
548
548
  this.bc_1 = 1;
549
- return !(this.u6e_1 == null) || this.t6e_1.t3a();
549
+ return !(this.i6f_1 == null) || this.h6f_1.h3b();
550
550
  } else if (tmp === 1) {
551
551
  throw this.dc_1;
552
552
  }
@@ -556,9 +556,9 @@ function KotlinxSerializationConverter$deserialize$slambda() {
556
556
  }
557
557
  while (true);
558
558
  }
559
- l4w(it, completion) {
560
- var i = new (KotlinxSerializationConverter$deserialize$slambda())(this.t6e_1, completion);
561
- i.u6e_1 = it;
559
+ z4w(it, completion) {
560
+ var i = new (KotlinxSerializationConverter$deserialize$slambda())(this.h6f_1, completion);
561
+ i.i6f_1 = it;
562
562
  return i;
563
563
  }
564
564
  }
@@ -570,7 +570,7 @@ function KotlinxSerializationConverter$deserialize$slambda() {
570
570
  function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
571
571
  var i = new (KotlinxSerializationConverter$deserialize$slambda())($content, resultContinuation);
572
572
  var l = function (it, $completion) {
573
- return i.n4x(it, $completion);
573
+ return i.b4y(it, $completion);
574
574
  };
575
575
  l.$arity = 1;
576
576
  return l;
@@ -581,11 +581,11 @@ function $serializeCOROUTINE$() {
581
581
  class $ extends CoroutineImpl() {
582
582
  constructor(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
583
583
  super(resultContinuation);
584
- this.d6f_1 = _this__u8e3s4;
585
- this.e6f_1 = contentType;
586
- this.f6f_1 = charset;
587
- this.g6f_1 = typeInfo;
588
- this.h6f_1 = value;
584
+ this.r6f_1 = _this__u8e3s4;
585
+ this.s6f_1 = contentType;
586
+ this.t6f_1 = charset;
587
+ this.u6f_1 = typeInfo;
588
+ this.v6f_1 = value;
589
589
  }
590
590
  ic() {
591
591
  var suspendResult = this.cc_1;
@@ -596,8 +596,8 @@ function $serializeCOROUTINE$() {
596
596
  case 0:
597
597
  this.bc_1 = 2;
598
598
  this.ac_1 = 1;
599
- var this_0 = asFlow(this.d6f_1.j6f_1);
600
- var tmp_0 = new (KotlinxSerializationConverter$serialize$$inlined$map$1())(this_0, this.e6f_1, this.f6f_1, this.g6f_1, this.h6f_1);
599
+ var this_0 = asFlow(this.r6f_1.x6f_1);
600
+ var tmp_0 = new (KotlinxSerializationConverter$serialize$$inlined$map$1())(this_0, this.s6f_1, this.t6f_1, this.u6f_1, this.v6f_1);
601
601
  suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
602
602
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
603
603
  return suspendResult;
@@ -610,12 +610,12 @@ function $serializeCOROUTINE$() {
610
610
  return fromExtension;
611
611
  var tmp_1;
612
612
  try {
613
- tmp_1 = serializerForTypeInfo(this.d6f_1.i6f_1.yx(), this.g6f_1);
613
+ tmp_1 = serializerForTypeInfo(this.r6f_1.w6f_1.yx(), this.u6f_1);
614
614
  } catch ($p) {
615
615
  var tmp_2;
616
616
  if ($p instanceof SerializationException()) {
617
617
  var cause = $p;
618
- tmp_2 = guessSerializer(this.h6f_1, this.d6f_1.i6f_1.yx());
618
+ tmp_2 = guessSerializer(this.v6f_1, this.r6f_1.w6f_1.yx());
619
619
  } else {
620
620
  throw $p;
621
621
  }
@@ -623,7 +623,7 @@ function $serializeCOROUTINE$() {
623
623
  }
624
624
 
625
625
  var serializer = tmp_1;
626
- return serializeContent(this.d6f_1, serializer, this.d6f_1.i6f_1, this.h6f_1, this.e6f_1, this.f6f_1);
626
+ return serializeContent(this.r6f_1, serializer, this.r6f_1.w6f_1, this.v6f_1, this.s6f_1, this.t6f_1);
627
627
  case 2:
628
628
  throw this.dc_1;
629
629
  }
@@ -650,10 +650,10 @@ function $deserializeCOROUTINE$() {
650
650
  class $ extends CoroutineImpl() {
651
651
  constructor(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
652
652
  super(resultContinuation);
653
- this.s6f_1 = _this__u8e3s4;
654
- this.t6f_1 = charset;
655
- this.u6f_1 = typeInfo;
656
- this.v6f_1 = content;
653
+ this.g6g_1 = _this__u8e3s4;
654
+ this.h6g_1 = charset;
655
+ this.i6g_1 = typeInfo;
656
+ this.j6g_1 = content;
657
657
  }
658
658
  ic() {
659
659
  var suspendResult = this.cc_1;
@@ -664,28 +664,28 @@ function $deserializeCOROUTINE$() {
664
664
  case 0:
665
665
  this.bc_1 = 4;
666
666
  this.ac_1 = 1;
667
- var this_0 = asFlow(this.s6f_1.j6f_1);
668
- var tmp_0 = new (KotlinxSerializationConverter$deserialize$$inlined$map$1())(this_0, this.t6f_1, this.u6f_1, this.v6f_1);
669
- suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.v6f_1, null), this);
667
+ var this_0 = asFlow(this.g6g_1.x6f_1);
668
+ var tmp_0 = new (KotlinxSerializationConverter$deserialize$$inlined$map$1())(this_0, this.h6g_1, this.i6g_1, this.j6g_1);
669
+ suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.j6g_1, null), this);
670
670
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
671
671
  return suspendResult;
672
672
  }
673
673
 
674
674
  continue $sm;
675
675
  case 1:
676
- this.w6f_1 = suspendResult;
676
+ this.k6g_1 = suspendResult;
677
677
  var tmp_1;
678
- if (!this.s6f_1.j6f_1.j()) {
679
- tmp_1 = !(this.w6f_1 == null) || this.v6f_1.t3a();
678
+ if (!this.g6g_1.x6f_1.j()) {
679
+ tmp_1 = !(this.k6g_1 == null) || this.j6g_1.h3b();
680
680
  } else {
681
681
  tmp_1 = false;
682
682
  }
683
683
 
684
684
  if (tmp_1)
685
- return this.w6f_1;
686
- this.x6f_1 = serializerForTypeInfo(this.s6f_1.i6f_1.yx(), this.u6f_1);
685
+ return this.k6g_1;
686
+ this.l6g_1 = serializerForTypeInfo(this.g6g_1.w6f_1.yx(), this.i6g_1);
687
687
  this.ac_1 = 2;
688
- suspendResult = readRemaining(this.v6f_1, this);
688
+ suspendResult = readRemaining(this.j6g_1, this);
689
689
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
690
690
  return suspendResult;
691
691
  }
@@ -694,16 +694,16 @@ function $deserializeCOROUTINE$() {
694
694
  case 2:
695
695
  var contentPacket = suspendResult;
696
696
  this.bc_1 = 3;
697
- var tmp0_subject = this.s6f_1.i6f_1;
697
+ var tmp0_subject = this.g6g_1.w6f_1;
698
698
  var tmp_2;
699
699
  if (isInterface(tmp0_subject, StringFormat())) {
700
- tmp_2 = this.s6f_1.i6f_1.fu(this.x6f_1, readText(contentPacket, this.t6f_1));
700
+ tmp_2 = this.g6g_1.w6f_1.fu(this.l6g_1, readText(contentPacket, this.h6g_1));
701
701
  } else {
702
702
  if (isInterface(tmp0_subject, BinaryFormat())) {
703
- tmp_2 = this.s6f_1.i6f_1.hu(this.x6f_1, readByteArray(contentPacket));
703
+ tmp_2 = this.g6g_1.w6f_1.hu(this.l6g_1, readByteArray(contentPacket));
704
704
  } else {
705
705
  discard(contentPacket);
706
- var message = 'Unsupported format ' + toString(this.s6f_1.i6f_1);
706
+ var message = 'Unsupported format ' + toString(this.g6g_1.w6f_1);
707
707
  throw IllegalStateException().o4(toString(message));
708
708
  }
709
709
  }
@@ -714,7 +714,7 @@ function $deserializeCOROUTINE$() {
714
714
  var tmp_3 = this.dc_1;
715
715
  if (tmp_3 instanceof Error) {
716
716
  var cause = this.dc_1;
717
- throw JsonConvertException().a4v('Illegal input: ' + cause.message, cause);
717
+ throw JsonConvertException().o4v('Illegal input: ' + cause.message, cause);
718
718
  } else {
719
719
  throw this.dc_1;
720
720
  }
@@ -744,32 +744,32 @@ function KotlinxSerializationConverter() {
744
744
  if (KotlinxSerializationConverterClass === VOID) {
745
745
  class $ {
746
746
  constructor(format) {
747
- this.i6f_1 = format;
748
- this.j6f_1 = extensions(this.i6f_1);
747
+ this.w6f_1 = format;
748
+ this.x6f_1 = extensions(this.w6f_1);
749
749
  var tmp;
750
- var tmp_0 = this.i6f_1;
750
+ var tmp_0 = this.w6f_1;
751
751
  if (isInterface(tmp_0, BinaryFormat())) {
752
752
  tmp = true;
753
753
  } else {
754
- var tmp_1 = this.i6f_1;
754
+ var tmp_1 = this.w6f_1;
755
755
  tmp = isInterface(tmp_1, StringFormat());
756
756
  }
757
757
  // Inline function 'kotlin.require' call
758
758
  if (!tmp) {
759
- var message = 'Only binary and string formats are supported, ' + toString(this.i6f_1) + ' is not supported.';
759
+ var message = 'Only binary and string formats are supported, ' + toString(this.w6f_1) + ' is not supported.';
760
760
  throw IllegalArgumentException().u(toString(message));
761
761
  }
762
762
  }
763
- y6f(contentType, charset, typeInfo, value, $completion) {
763
+ m6g(contentType, charset, typeInfo, value, $completion) {
764
764
  var tmp = new ($serializeCOROUTINE$())(this, contentType, charset, typeInfo, value, $completion);
765
765
  tmp.cc_1 = Unit_instance;
766
766
  tmp.dc_1 = null;
767
767
  return tmp.ic();
768
768
  }
769
- a6b(contentType, charset, typeInfo, value, $completion) {
770
- return this.y6f(contentType, charset, typeInfo, value, $completion);
769
+ o6b(contentType, charset, typeInfo, value, $completion) {
770
+ return this.m6g(contentType, charset, typeInfo, value, $completion);
771
771
  }
772
- m4w(charset, typeInfo, content, $completion) {
772
+ a4x(charset, typeInfo, content, $completion) {
773
773
  var tmp = new ($deserializeCOROUTINE$())(this, charset, typeInfo, content, $completion);
774
774
  tmp.cc_1 = Unit_instance;
775
775
  tmp.dc_1 = null;
@@ -40,7 +40,7 @@ import { IllegalStateExceptionkoljg5n0nrlr as IllegalStateException } from '../.
40
40
  //endregion
41
41
  function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
42
42
  var module_0 = _this__u8e3s4;
43
- var tmp0_safe_receiver = typeInfo.a3x_1;
43
+ var tmp0_safe_receiver = typeInfo.o3x_1;
44
44
  var tmp;
45
45
  if (tmp0_safe_receiver == null) {
46
46
  tmp = null;
@@ -57,13 +57,13 @@ function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
57
57
  var tmp1_elvis_lhs = tmp;
58
58
  var tmp_1;
59
59
  if (tmp1_elvis_lhs == null) {
60
- var tmp2_safe_receiver = module_0.gv(typeInfo.z3w_1);
60
+ var tmp2_safe_receiver = module_0.gv(typeInfo.n3x_1);
61
61
  tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
62
62
  } else {
63
63
  tmp_1 = tmp1_elvis_lhs;
64
64
  }
65
65
  var tmp3_elvis_lhs = tmp_1;
66
- return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.z3w_1), typeInfo) : tmp3_elvis_lhs;
66
+ return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.n3x_1), typeInfo) : tmp3_elvis_lhs;
67
67
  }
68
68
  function guessSerializer(value, module_0) {
69
69
  var tmp;
@@ -105,7 +105,7 @@ function guessSerializer(value, module_0) {
105
105
  }
106
106
  function maybeNullable(_this__u8e3s4, typeInfo) {
107
107
  var tmp;
108
- var tmp0_safe_receiver = typeInfo.a3x_1;
108
+ var tmp0_safe_receiver = typeInfo.o3x_1;
109
109
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.rg()) === true) {
110
110
  tmp = get_nullable(_this__u8e3s4);
111
111
  } else {
@@ -14,18 +14,18 @@ function get_DefaultJson() {
14
14
  var DefaultJson;
15
15
  function json(_this__u8e3s4, json, contentType) {
16
16
  json = json === VOID ? get_DefaultJson() : json;
17
- contentType = contentType === VOID ? Application_getInstance().u3y_1 : contentType;
17
+ contentType = contentType === VOID ? Application_getInstance().i3z_1 : contentType;
18
18
  _init_properties_JsonSupport_kt__yf438r();
19
19
  serialization(_this__u8e3s4, contentType, json);
20
20
  }
21
21
  function DefaultJson$lambda($this$Json) {
22
22
  _init_properties_JsonSupport_kt__yf438r();
23
- $this$Json.q6g_1 = true;
24
- $this$Json.t6g_1 = true;
25
23
  $this$Json.e6h_1 = true;
26
- $this$Json.f6h_1 = true;
27
- $this$Json.u6g_1 = false;
28
- $this$Json.g6h_1 = false;
24
+ $this$Json.h6h_1 = true;
25
+ $this$Json.s6h_1 = true;
26
+ $this$Json.t6h_1 = true;
27
+ $this$Json.i6h_1 = false;
28
+ $this$Json.u6h_1 = false;
29
29
  return Unit_instance;
30
30
  }
31
31
  var properties_initialized_JsonSupport_kt_9cgd93;