@attocash/commons-js 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  40. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  41. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  42. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  43. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  44. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  45. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  46. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  47. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  48. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  49. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  50. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  51. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  52. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  53. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  54. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  55. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  56. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  57. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  58. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  59. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  69. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  70. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  71. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  72. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  73. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  74. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  75. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  76. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  77. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  78. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  79. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  80. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  81. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  84. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  85. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  86. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  87. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  88. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  89. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  90. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  91. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  92. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  93. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  94. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  95. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  96. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  97. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  98. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  99. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  100. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  101. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  102. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  103. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  104. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  105. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  106. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  107. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  108. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  109. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  110. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  111. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  112. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  113. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  114. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  115. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  116. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  117. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  118. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  119. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  120. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  121. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  122. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  123. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  124. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  125. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  126. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  127. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  128. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  129. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  130. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  131. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  132. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  133. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  134. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  137. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  138. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  139. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  140. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  141. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  142. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  143. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  144. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  145. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  147. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  148. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  149. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  150. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  151. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  152. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  153. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  154. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  155. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  156. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  157. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  158. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  159. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  160. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  161. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  162. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  163. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  164. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  165. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  166. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  167. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  168. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  169. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  170. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  171. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  172. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  173. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  174. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  175. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  176. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  177. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  178. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  179. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  180. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  181. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  182. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  183. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  184. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  185. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  186. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  187. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  188. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  189. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  190. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  191. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  192. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  193. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  194. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  195. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  196. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  197. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  198. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  199. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  200. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  201. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  202. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  203. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  204. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  205. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  206. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  207. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  208. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  209. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  210. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  211. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  212. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  213. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  214. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  215. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  216. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  217. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  218. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  219. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  220. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  221. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  222. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  223. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  224. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  225. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  226. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  227. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  228. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  229. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  230. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  231. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  232. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  233. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  234. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  235. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  236. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  237. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
  238. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  239. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  240. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  241. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  242. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  243. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  244. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  245. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  246. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  247. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  248. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  249. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  250. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  251. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  252. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  253. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  254. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  255. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  256. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  257. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  258. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  259. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  260. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  261. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  262. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  263. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  264. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  265. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  266. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  267. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  268. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  269. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  270. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  274. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  275. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  276. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  277. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  278. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  279. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  280. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  281. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  282. package/package.json +1 -1
@@ -44,7 +44,7 @@ import { Key_instance2tirv2rj82ml4 as Key_instance } from '../../../../../../kot
44
44
  //endregion
45
45
  function isReservedStatusCode($this, _this__u8e3s4) {
46
46
  // Inline function 'kotlin.let' call
47
- var resolved = Companion_getInstance().i4o(_this__u8e3s4);
47
+ var resolved = Companion_getInstance().w4o(_this__u8e3s4);
48
48
  return resolved == null || equals(resolved, Codes_CLOSED_ABNORMALLY_getInstance());
49
49
  }
50
50
  function JsWebSocketSession$lambda(this$0) {
@@ -58,27 +58,27 @@ function JsWebSocketSession$lambda(this$0) {
58
58
  // Inline function 'kotlin.js.unsafeCast' call
59
59
  // Inline function 'kotlin.js.asDynamic' call
60
60
  var tmp$ret$3 = new Int8Array(data);
61
- tmp = Binary().q4t(false, tmp$ret$3);
61
+ tmp = Binary().e4u(false, tmp$ret$3);
62
62
  } else {
63
63
  if (!(data == null) ? typeof data === 'string' : false) {
64
- tmp = Text().a4u(data);
64
+ tmp = Text().o4u(data);
65
65
  } else {
66
66
  var error = IllegalStateException().o4('Unknown frame type: ' + event.type);
67
- this$0.o66_1.c25(error);
67
+ this$0.c67_1.c25(error);
68
68
  throw error;
69
69
  }
70
70
  }
71
71
  var frame = tmp;
72
- this$0.p66_1.f2i(frame);
72
+ this$0.d67_1.f2i(frame);
73
73
  return Unit_instance;
74
74
  };
75
75
  }
76
76
  function JsWebSocketSession$lambda_0(this$0) {
77
77
  return function (it) {
78
- var cause = WebSocketException().x5v(toString(it));
79
- this$0.o66_1.c25(cause);
80
- this$0.p66_1.q2i(cause);
81
- this$0.q66_1.u2i();
78
+ var cause = WebSocketException().l5w(toString(it));
79
+ this$0.c67_1.c25(cause);
80
+ this$0.d67_1.q2i(cause);
81
+ this$0.e67_1.u2i();
82
82
  return Unit_instance;
83
83
  };
84
84
  }
@@ -87,11 +87,11 @@ function JsWebSocketSession$lambda_1(this$0) {
87
87
  var tmp = event.code;
88
88
  var tmp_0 = (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : THROW_CCE();
89
89
  var tmp_1 = event.reason;
90
- var reason = CloseReason().l4o(tmp_0, (!(tmp_1 == null) ? typeof tmp_1 === 'string' : false) ? tmp_1 : THROW_CCE());
91
- this$0.o66_1.b25(reason);
92
- this$0.p66_1.f2i(Close().i4r(reason));
93
- this$0.p66_1.s2i();
94
- this$0.q66_1.u2i();
90
+ var reason = CloseReason().z4o(tmp_0, (!(tmp_1 == null) ? typeof tmp_1 === 'string' : false) ? tmp_1 : THROW_CCE());
91
+ this$0.c67_1.b25(reason);
92
+ this$0.d67_1.f2i(Close().w4r(reason));
93
+ this$0.d67_1.s2i();
94
+ this$0.e67_1.u2i();
95
95
  return Unit_instance;
96
96
  };
97
97
  }
@@ -102,17 +102,17 @@ function JsWebSocketSession$slambda() {
102
102
  constructor(this$0, resultContinuation, $box) {
103
103
  if ($box === VOID)
104
104
  $box = {};
105
- $box.c67_1 = this$0;
105
+ $box.q67_1 = this$0;
106
106
  super(resultContinuation, $box);
107
107
  }
108
- l37($this$launch, $completion) {
109
- var tmp = this.p35($this$launch, $completion);
108
+ z37($this$launch, $completion) {
109
+ var tmp = this.d36($this$launch, $completion);
110
110
  tmp.cc_1 = Unit_instance;
111
111
  tmp.dc_1 = null;
112
112
  return tmp.ic();
113
113
  }
114
114
  kd(p1, $completion) {
115
- return this.l37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
115
+ return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
116
116
  }
117
117
  ic() {
118
118
  var suspendResult = this.cc_1;
@@ -123,15 +123,15 @@ function JsWebSocketSession$slambda() {
123
123
  case 0:
124
124
  this.bc_1 = 10;
125
125
  var tmp_0 = this;
126
- tmp_0.e67_1 = this.c67_1.q66_1;
127
- this.f67_1 = this.e67_1;
126
+ tmp_0.s67_1 = this.q67_1.e67_1;
127
+ this.t67_1 = this.s67_1;
128
128
  var tmp_1 = this;
129
- tmp_1.g67_1 = this.f67_1;
129
+ tmp_1.u67_1 = this.t67_1;
130
130
  this.ac_1 = 1;
131
131
  continue $sm;
132
132
  case 1:
133
- this.i67_1 = this.g67_1;
134
- this.j67_1 = null;
133
+ this.w67_1 = this.u67_1;
134
+ this.x67_1 = null;
135
135
  this.ac_1 = 2;
136
136
  continue $sm;
137
137
  case 2:
@@ -141,14 +141,14 @@ function JsWebSocketSession$slambda() {
141
141
  this.bc_1 = 9;
142
142
  this.bc_1 = 8;
143
143
  var tmp_2 = this;
144
- tmp_2.l67_1 = this.i67_1;
145
- this.m67_1 = this.l67_1;
146
- this.n67_1 = this.m67_1.d1();
144
+ tmp_2.z67_1 = this.w67_1;
145
+ this.a68_1 = this.z67_1;
146
+ this.b68_1 = this.a68_1.d1();
147
147
  this.ac_1 = 4;
148
148
  continue $sm;
149
149
  case 4:
150
150
  this.ac_1 = 5;
151
- suspendResult = this.n67_1.g2f(this);
151
+ suspendResult = this.b68_1.g2f(this);
152
152
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
153
153
  return suspendResult;
154
154
  }
@@ -160,29 +160,29 @@ function JsWebSocketSession$slambda() {
160
160
  continue $sm;
161
161
  }
162
162
 
163
- var e = this.n67_1.f1();
164
- switch (e.u4q_1.h3_1) {
163
+ var e = this.b68_1.f1();
164
+ switch (e.i4r_1.h3_1) {
165
165
  case 0:
166
- var text = e.v4q_1;
167
- this.c67_1.n66_1.send(decodeToString(text, 0, 0 + text.length | 0));
166
+ var text = e.j4r_1;
167
+ this.q67_1.b67_1.send(decodeToString(text, 0, 0 + text.length | 0));
168
168
  break;
169
169
  case 1:
170
- var tmp_3 = e.v4q_1;
170
+ var tmp_3 = e.j4r_1;
171
171
  var source = tmp_3 instanceof Int8Array ? tmp_3 : THROW_CCE();
172
172
  var frameData = source.buffer.slice(source.byteOffset, source.byteOffset + source.byteLength | 0);
173
- this.c67_1.n66_1.send(frameData);
173
+ this.q67_1.b67_1.send(frameData);
174
174
  break;
175
175
  case 2:
176
176
  var builder = new (Buffer())();
177
- writeFully(builder, e.v4q_1);
177
+ writeFully(builder, e.j4r_1);
178
178
  var data = builder;
179
- var code = data.n2r();
179
+ var code = data.b2s();
180
180
  var reason = readText(data);
181
- this.c67_1.o66_1.b25(CloseReason().l4o(code, reason));
182
- if (isReservedStatusCode(this.c67_1, code)) {
183
- this.c67_1.n66_1.close();
181
+ this.q67_1.c67_1.b25(CloseReason().z4o(code, reason));
182
+ if (isReservedStatusCode(this.q67_1, code)) {
183
+ this.q67_1.b67_1.close();
184
184
  } else {
185
- this.c67_1.n66_1.close(code, reason);
185
+ this.q67_1.b67_1.close(code, reason);
186
186
  }
187
187
 
188
188
  break;
@@ -198,7 +198,7 @@ function JsWebSocketSession$slambda() {
198
198
  continue $sm;
199
199
  case 6:
200
200
  var tmp_4 = this;
201
- tmp_4.k67_1 = Unit_instance;
201
+ tmp_4.y67_1 = Unit_instance;
202
202
  this.bc_1 = 10;
203
203
  this.ac_1 = 7;
204
204
  var tmp_5 = this;
@@ -206,8 +206,8 @@ function JsWebSocketSession$slambda() {
206
206
  case 7:
207
207
  this.bc_1 = 10;
208
208
  var tmp_6 = this;
209
- cancelConsumed(this.i67_1, this.j67_1);
210
- tmp_6.h67_1 = Unit_instance;
209
+ cancelConsumed(this.w67_1, this.x67_1);
210
+ tmp_6.v67_1 = Unit_instance;
211
211
  this.ac_1 = 12;
212
212
  continue $sm;
213
213
  case 8:
@@ -216,7 +216,7 @@ function JsWebSocketSession$slambda() {
216
216
  if (tmp_7 instanceof Error) {
217
217
  var e_0 = this.dc_1;
218
218
  var tmp_8 = this;
219
- this.j67_1 = e_0;
219
+ this.x67_1 = e_0;
220
220
  throw e_0;
221
221
  } else {
222
222
  throw this.dc_1;
@@ -225,13 +225,13 @@ function JsWebSocketSession$slambda() {
225
225
  case 9:
226
226
  this.bc_1 = 10;
227
227
  var t = this.dc_1;
228
- cancelConsumed(this.i67_1, this.j67_1);
228
+ cancelConsumed(this.w67_1, this.x67_1);
229
229
  throw t;
230
230
  case 10:
231
231
  throw this.dc_1;
232
232
  case 11:
233
233
  this.bc_1 = 10;
234
- cancelConsumed(this.i67_1, this.j67_1);
234
+ cancelConsumed(this.w67_1, this.x67_1);
235
235
  if (false) {
236
236
  this.ac_1 = 1;
237
237
  continue $sm;
@@ -253,9 +253,9 @@ function JsWebSocketSession$slambda() {
253
253
  }
254
254
  while (true);
255
255
  }
256
- p35($this$launch, completion) {
257
- var i = new (JsWebSocketSession$slambda())(this.c67_1, completion);
258
- i.d67_1 = $this$launch;
256
+ d36($this$launch, completion) {
257
+ var i = new (JsWebSocketSession$slambda())(this.q67_1, completion);
258
+ i.r67_1 = $this$launch;
259
259
  return i;
260
260
  }
261
261
  }
@@ -267,7 +267,7 @@ function JsWebSocketSession$slambda() {
267
267
  function JsWebSocketSession$slambda_0(this$0, resultContinuation) {
268
268
  var i = new (JsWebSocketSession$slambda())(this$0, resultContinuation);
269
269
  var l = function ($this$launch, $completion) {
270
- return i.l37($this$launch, $completion);
270
+ return i.z37($this$launch, $completion);
271
271
  };
272
272
  l.$arity = 1;
273
273
  return l;
@@ -276,10 +276,10 @@ function JsWebSocketSession$lambda_2(this$0) {
276
276
  return function (cause) {
277
277
  var tmp;
278
278
  if (cause == null) {
279
- this$0.n66_1.close();
279
+ this$0.b67_1.close();
280
280
  tmp = Unit_instance;
281
281
  } else {
282
- this$0.n66_1.close(Codes_NORMAL_getInstance().f4o_1, 'Client failed');
282
+ this$0.b67_1.close(Codes_NORMAL_getInstance().t4o_1, 'Client failed');
283
283
  tmp = Unit_instance;
284
284
  }
285
285
  return Unit_instance;
@@ -290,24 +290,24 @@ function JsWebSocketSession() {
290
290
  if (JsWebSocketSessionClass === VOID) {
291
291
  class $ {
292
292
  constructor(coroutineContext, websocket) {
293
- this.m66_1 = coroutineContext;
294
- this.n66_1 = websocket;
295
- this.o66_1 = CompletableDeferred();
296
- this.p66_1 = Channel(2147483647);
297
- this.q66_1 = Channel(2147483647);
298
- this.r66_1 = this.p66_1;
299
- this.s66_1 = this.q66_1;
300
- this.t66_1 = this.o66_1;
293
+ this.a67_1 = coroutineContext;
294
+ this.b67_1 = websocket;
295
+ this.c67_1 = CompletableDeferred();
296
+ this.d67_1 = Channel(2147483647);
297
+ this.e67_1 = Channel(2147483647);
298
+ this.f67_1 = this.d67_1;
299
+ this.g67_1 = this.e67_1;
300
+ this.h67_1 = this.c67_1;
301
301
  // Inline function 'org.w3c.dom.ARRAYBUFFER' call
302
302
  // Inline function 'kotlin.js.asDynamic' call
303
303
  // Inline function 'kotlin.js.unsafeCast' call
304
304
  var tmp$ret$2 = 'arraybuffer';
305
- this.n66_1.binaryType = tmp$ret$2;
306
- this.n66_1.addEventListener('message', JsWebSocketSession$lambda(this));
307
- this.n66_1.addEventListener('error', JsWebSocketSession$lambda_0(this));
308
- this.n66_1.addEventListener('close', JsWebSocketSession$lambda_1(this));
305
+ this.b67_1.binaryType = tmp$ret$2;
306
+ this.b67_1.addEventListener('message', JsWebSocketSession$lambda(this));
307
+ this.b67_1.addEventListener('error', JsWebSocketSession$lambda_0(this));
308
+ this.b67_1.addEventListener('close', JsWebSocketSession$lambda_1(this));
309
309
  launch(this, VOID, VOID, JsWebSocketSession$slambda_0(this, null));
310
- var tmp0_safe_receiver = this.m66_1.nc(Key_instance);
310
+ var tmp0_safe_receiver = this.a67_1.nc(Key_instance);
311
311
  if (tmp0_safe_receiver == null)
312
312
  null;
313
313
  else {
@@ -315,7 +315,7 @@ function JsWebSocketSession() {
315
315
  }
316
316
  }
317
317
  s1x() {
318
- return this.m66_1;
318
+ return this.a67_1;
319
319
  }
320
320
  }
321
321
  initMetadataForClass($, 'JsWebSocketSession', VOID, VOID, [CoroutineScope()], [0, 1]);
@@ -43,13 +43,13 @@ var WebSocketExceptionClass;
43
43
  function WebSocketException() {
44
44
  if (WebSocketExceptionClass === VOID) {
45
45
  class $ extends IllegalStateException() {
46
- static w5v(message, cause) {
46
+ static k5w(message, cause) {
47
47
  var $this = this.ed(message, cause);
48
- captureStack($this, $this.v5v_1);
48
+ captureStack($this, $this.j5w_1);
49
49
  return $this;
50
50
  }
51
- static x5v(message) {
52
- return this.w5v(message, null);
51
+ static l5w(message) {
52
+ return this.k5w(message, null);
53
53
  }
54
54
  }
55
55
  initMetadataForClass($, 'WebSocketException');
@@ -10,30 +10,30 @@ function DefaultHttpRequest() {
10
10
  if (DefaultHttpRequestClass === VOID) {
11
11
  class $ {
12
12
  constructor(call, data) {
13
- this.y5v_1 = call;
14
- this.z5v_1 = data.d56_1;
15
- this.a5w_1 = data.c56_1;
16
- this.b5w_1 = data.f56_1;
17
- this.c5w_1 = data.e56_1;
18
- this.d5w_1 = data.h56_1;
13
+ this.m5w_1 = call;
14
+ this.n5w_1 = data.r56_1;
15
+ this.o5w_1 = data.q56_1;
16
+ this.p5w_1 = data.t56_1;
17
+ this.q5w_1 = data.s56_1;
18
+ this.r5w_1 = data.v56_1;
19
19
  }
20
- x51() {
21
- return this.y5v_1;
20
+ l52() {
21
+ return this.m5w_1;
22
22
  }
23
23
  s1x() {
24
- return this.x51().s1x();
24
+ return this.l52().s1x();
25
25
  }
26
- y51() {
27
- return this.z5v_1;
26
+ m52() {
27
+ return this.n5w_1;
28
28
  }
29
- z51() {
30
- return this.a5w_1;
29
+ n52() {
30
+ return this.o5w_1;
31
31
  }
32
- l45() {
33
- return this.c5w_1;
32
+ z45() {
33
+ return this.q5w_1;
34
34
  }
35
- r51() {
36
- return this.d5w_1;
35
+ f52() {
36
+ return this.r5w_1;
37
37
  }
38
38
  }
39
39
  initMetadataForClass($, 'DefaultHttpRequest', VOID, VOID, [HttpRequest()]);
@@ -68,63 +68,63 @@ function HttpRequestBuilder() {
68
68
  if (HttpRequestBuilderClass === VOID) {
69
69
  class $ {
70
70
  constructor() {
71
- this.z4z_1 = new (URLBuilder())();
72
- this.a50_1 = Companion_getInstance().m45_1;
73
- this.b50_1 = new (HeadersBuilder())();
74
- this.c50_1 = EmptyContent_getInstance();
75
- this.d50_1 = SupervisorJob();
76
- this.e50_1 = AttributesJsFn(true);
71
+ this.n50_1 = new (URLBuilder())();
72
+ this.o50_1 = Companion_getInstance().a46_1;
73
+ this.p50_1 = new (HeadersBuilder())();
74
+ this.q50_1 = EmptyContent_getInstance();
75
+ this.r50_1 = SupervisorJob();
76
+ this.s50_1 = AttributesJsFn(true);
77
77
  }
78
- l45() {
79
- return this.b50_1;
78
+ z45() {
79
+ return this.p50_1;
80
80
  }
81
- c57(value) {
81
+ q57(value) {
82
82
  if (!(value == null)) {
83
- this.e50_1.g3r(get_BodyTypeAttributeKey(), value);
83
+ this.s50_1.u3r(get_BodyTypeAttributeKey(), value);
84
84
  } else {
85
- this.e50_1.h3r(get_BodyTypeAttributeKey());
85
+ this.s50_1.v3r(get_BodyTypeAttributeKey());
86
86
  }
87
87
  }
88
- z5u() {
89
- return this.e50_1.e3r(get_BodyTypeAttributeKey());
88
+ n5v() {
89
+ return this.s50_1.s3r(get_BodyTypeAttributeKey());
90
90
  }
91
91
  z1i() {
92
- var tmp = this.z4z_1.z1i();
93
- var tmp_0 = this.a50_1;
94
- var tmp_1 = this.b50_1.z1i();
95
- var tmp_2 = this.c50_1;
92
+ var tmp = this.n50_1.z1i();
93
+ var tmp_0 = this.o50_1;
94
+ var tmp_1 = this.p50_1.z1i();
95
+ var tmp_2 = this.q50_1;
96
96
  var tmp0_elvis_lhs = tmp_2 instanceof OutgoingContent() ? tmp_2 : null;
97
97
  var tmp_3;
98
98
  if (tmp0_elvis_lhs == null) {
99
- var message = 'No request transformation found: ' + toString(this.c50_1);
99
+ var message = 'No request transformation found: ' + toString(this.q50_1);
100
100
  throw IllegalStateException().o4(toString(message));
101
101
  } else {
102
102
  tmp_3 = tmp0_elvis_lhs;
103
103
  }
104
- return new (HttpRequestData())(tmp, tmp_0, tmp_1, tmp_3, this.d50_1, this.e50_1);
104
+ return new (HttpRequestData())(tmp, tmp_0, tmp_1, tmp_3, this.r50_1, this.s50_1);
105
105
  }
106
- b57(builder) {
107
- this.d50_1 = builder.d50_1;
108
- return this.e5w(builder);
106
+ p57(builder) {
107
+ this.r50_1 = builder.r50_1;
108
+ return this.s5w(builder);
109
109
  }
110
- e5w(builder) {
111
- this.a50_1 = builder.a50_1;
112
- this.c50_1 = builder.c50_1;
113
- this.c57(builder.z5u());
114
- takeFrom(this.z4z_1, builder.z4z_1);
115
- this.z4z_1.u48_1 = this.z4z_1.u48_1;
116
- appendAll(this.b50_1, builder.b50_1);
117
- putAll(this.e50_1, builder.e50_1);
110
+ s5w(builder) {
111
+ this.o50_1 = builder.o50_1;
112
+ this.q50_1 = builder.q50_1;
113
+ this.q57(builder.n5v());
114
+ takeFrom(this.n50_1, builder.n50_1);
115
+ this.n50_1.i49_1 = this.n50_1.i49_1;
116
+ appendAll(this.p50_1, builder.p50_1);
117
+ putAll(this.s50_1, builder.s50_1);
118
118
  return this;
119
119
  }
120
- h5r(key, capability) {
120
+ v5r(key, capability) {
121
121
  var tmp = get_ENGINE_CAPABILITIES_KEY();
122
- var capabilities = this.e50_1.i3r(tmp, HttpRequestBuilder$setCapability$lambda);
122
+ var capabilities = this.s50_1.w3r(tmp, HttpRequestBuilder$setCapability$lambda);
123
123
  // Inline function 'kotlin.collections.set' call
124
124
  capabilities.d3(key, capability);
125
125
  }
126
- o5q(key) {
127
- var tmp0_safe_receiver = this.e50_1.e3r(get_ENGINE_CAPABILITIES_KEY());
126
+ c5r(key) {
127
+ var tmp0_safe_receiver = this.s50_1.s3r(get_ENGINE_CAPABILITIES_KEY());
128
128
  var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w2(key);
129
129
  return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
130
130
  }
@@ -135,7 +135,7 @@ function HttpRequestBuilder() {
135
135
  return HttpRequestBuilderClass;
136
136
  }
137
137
  function get_coroutineContext() {
138
- return this.x51().s1x();
138
+ return this.l52().s1x();
139
139
  }
140
140
  var HttpRequestClass;
141
141
  function HttpRequest() {
@@ -151,24 +151,24 @@ function HttpRequestData() {
151
151
  if (HttpRequestDataClass === VOID) {
152
152
  class $ {
153
153
  constructor(url, method, headers, body, executionContext, attributes) {
154
- this.c56_1 = url;
155
- this.d56_1 = method;
156
- this.e56_1 = headers;
157
- this.f56_1 = body;
158
- this.g56_1 = executionContext;
159
- this.h56_1 = attributes;
154
+ this.q56_1 = url;
155
+ this.r56_1 = method;
156
+ this.s56_1 = headers;
157
+ this.t56_1 = body;
158
+ this.u56_1 = executionContext;
159
+ this.v56_1 = attributes;
160
160
  var tmp = this;
161
- var tmp0_safe_receiver = this.h56_1.e3r(get_ENGINE_CAPABILITIES_KEY());
161
+ var tmp0_safe_receiver = this.v56_1.s3r(get_ENGINE_CAPABILITIES_KEY());
162
162
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x2();
163
- tmp.i56_1 = tmp1_elvis_lhs == null ? emptySet() : tmp1_elvis_lhs;
163
+ tmp.w56_1 = tmp1_elvis_lhs == null ? emptySet() : tmp1_elvis_lhs;
164
164
  }
165
- u5q(key) {
166
- var tmp0_safe_receiver = this.h56_1.e3r(get_ENGINE_CAPABILITIES_KEY());
165
+ i5r(key) {
166
+ var tmp0_safe_receiver = this.v56_1.s3r(get_ENGINE_CAPABILITIES_KEY());
167
167
  var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w2(key);
168
168
  return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
169
169
  }
170
170
  toString() {
171
- return 'HttpRequestData(url=' + this.c56_1.toString() + ', method=' + this.d56_1.toString() + ')';
171
+ return 'HttpRequestData(url=' + this.q56_1.toString() + ', method=' + this.r56_1.toString() + ')';
172
172
  }
173
173
  }
174
174
  initMetadataForClass($, 'HttpRequestData');
@@ -187,7 +187,7 @@ function ResponseAdapter() {
187
187
  }
188
188
  function isSseRequest(_this__u8e3s4) {
189
189
  _init_properties_HttpRequest_kt__813lx1();
190
- var tmp = _this__u8e3s4.f56_1;
190
+ var tmp = _this__u8e3s4.t56_1;
191
191
  return tmp instanceof SSEClientContent();
192
192
  }
193
193
  var HttpResponseDataClass;
@@ -195,16 +195,16 @@ function HttpResponseData() {
195
195
  if (HttpResponseDataClass === VOID) {
196
196
  class $ {
197
197
  constructor(statusCode, requestTime, headers, version, body, callContext) {
198
- this.n53_1 = statusCode;
199
- this.o53_1 = requestTime;
200
- this.p53_1 = headers;
201
- this.q53_1 = version;
202
- this.r53_1 = body;
203
- this.s53_1 = callContext;
204
- this.t53_1 = GMTDate();
198
+ this.b54_1 = statusCode;
199
+ this.c54_1 = requestTime;
200
+ this.d54_1 = headers;
201
+ this.e54_1 = version;
202
+ this.f54_1 = body;
203
+ this.g54_1 = callContext;
204
+ this.h54_1 = GMTDate();
205
205
  }
206
206
  toString() {
207
- return 'HttpResponseData=(statusCode=' + this.n53_1.toString() + ')';
207
+ return 'HttpResponseData=(statusCode=' + this.b54_1.toString() + ')';
208
208
  }
209
209
  }
210
210
  initMetadataForClass($, 'HttpResponseData');
@@ -214,29 +214,29 @@ function HttpResponseData() {
214
214
  }
215
215
  function isUpgradeRequest(_this__u8e3s4) {
216
216
  _init_properties_HttpRequest_kt__813lx1();
217
- var tmp = _this__u8e3s4.f56_1;
217
+ var tmp = _this__u8e3s4.t56_1;
218
218
  return tmp instanceof ClientUpgradeContent();
219
219
  }
220
220
  function takeFrom_2(_this__u8e3s4, request) {
221
221
  _init_properties_HttpRequest_kt__813lx1();
222
- _this__u8e3s4.a50_1 = request.d56_1;
223
- _this__u8e3s4.c50_1 = request.f56_1;
224
- _this__u8e3s4.c57(_this__u8e3s4.e50_1.e3r(get_BodyTypeAttributeKey()));
225
- takeFrom_0(_this__u8e3s4.z4z_1, request.c56_1);
226
- _this__u8e3s4.b50_1.e3t(request.e56_1);
227
- putAll(_this__u8e3s4.e50_1, request.h56_1);
222
+ _this__u8e3s4.o50_1 = request.r56_1;
223
+ _this__u8e3s4.q50_1 = request.t56_1;
224
+ _this__u8e3s4.q57(_this__u8e3s4.s50_1.s3r(get_BodyTypeAttributeKey()));
225
+ takeFrom_0(_this__u8e3s4.n50_1, request.q56_1);
226
+ _this__u8e3s4.p50_1.s3t(request.s56_1);
227
+ putAll(_this__u8e3s4.s50_1, request.v56_1);
228
228
  return _this__u8e3s4;
229
229
  }
230
230
  function headers(_this__u8e3s4, block) {
231
231
  _init_properties_HttpRequest_kt__813lx1();
232
232
  // Inline function 'kotlin.apply' call
233
- var this_0 = _this__u8e3s4.l45();
233
+ var this_0 = _this__u8e3s4.z45();
234
234
  block(this_0);
235
235
  return this_0;
236
236
  }
237
237
  function url(_this__u8e3s4, urlString) {
238
238
  _init_properties_HttpRequest_kt__813lx1();
239
- takeFrom_1(_this__u8e3s4.z4z_1, urlString);
239
+ takeFrom_1(_this__u8e3s4.n50_1, urlString);
240
240
  }
241
241
  var properties_initialized_HttpRequest_kt_zh09pz;
242
242
  function _init_properties_HttpRequest_kt__813lx1() {
@@ -15,11 +15,11 @@ function Phases() {
15
15
  class $ {
16
16
  constructor() {
17
17
  Phases_instance = this;
18
- this.u58_1 = new (PipelinePhase())('Before');
19
- this.v58_1 = new (PipelinePhase())('State');
20
- this.w58_1 = new (PipelinePhase())('Transform');
21
- this.x58_1 = new (PipelinePhase())('Render');
22
- this.y58_1 = new (PipelinePhase())('Send');
18
+ this.i59_1 = new (PipelinePhase())('Before');
19
+ this.j59_1 = new (PipelinePhase())('State');
20
+ this.k59_1 = new (PipelinePhase())('Transform');
21
+ this.l59_1 = new (PipelinePhase())('Render');
22
+ this.m59_1 = new (PipelinePhase())('Send');
23
23
  }
24
24
  }
25
25
  initMetadataForObject($, 'Phases');
@@ -40,11 +40,11 @@ function HttpRequestPipeline() {
40
40
  constructor(developmentMode) {
41
41
  Phases_getInstance();
42
42
  developmentMode = developmentMode === VOID ? true : developmentMode;
43
- super([Phases_getInstance().u58_1, Phases_getInstance().v58_1, Phases_getInstance().w58_1, Phases_getInstance().x58_1, Phases_getInstance().y58_1]);
44
- this.n5w_1 = developmentMode;
43
+ super([Phases_getInstance().i59_1, Phases_getInstance().j59_1, Phases_getInstance().k59_1, Phases_getInstance().l59_1, Phases_getInstance().m59_1]);
44
+ this.b5x_1 = developmentMode;
45
45
  }
46
- f3w() {
47
- return this.n5w_1;
46
+ t3w() {
47
+ return this.b5x_1;
48
48
  }
49
49
  }
50
50
  initMetadataForClass($, 'HttpRequestPipeline', HttpRequestPipeline, VOID, VOID, [2]);
@@ -58,11 +58,11 @@ function Phases_0() {
58
58
  class $ {
59
59
  constructor() {
60
60
  Phases_instance_0 = this;
61
- this.i50_1 = new (PipelinePhase())('Before');
62
- this.j50_1 = new (PipelinePhase())('State');
63
- this.k50_1 = new (PipelinePhase())('Monitoring');
64
- this.l50_1 = new (PipelinePhase())('Engine');
65
- this.m50_1 = new (PipelinePhase())('Receive');
61
+ this.w50_1 = new (PipelinePhase())('Before');
62
+ this.x50_1 = new (PipelinePhase())('State');
63
+ this.y50_1 = new (PipelinePhase())('Monitoring');
64
+ this.z50_1 = new (PipelinePhase())('Engine');
65
+ this.a51_1 = new (PipelinePhase())('Receive');
66
66
  }
67
67
  }
68
68
  initMetadataForObject($, 'Phases');
@@ -83,11 +83,11 @@ function HttpSendPipeline() {
83
83
  constructor(developmentMode) {
84
84
  Phases_getInstance_0();
85
85
  developmentMode = developmentMode === VOID ? true : developmentMode;
86
- super([Phases_getInstance_0().i50_1, Phases_getInstance_0().j50_1, Phases_getInstance_0().k50_1, Phases_getInstance_0().l50_1, Phases_getInstance_0().m50_1]);
87
- this.v5w_1 = developmentMode;
86
+ super([Phases_getInstance_0().w50_1, Phases_getInstance_0().x50_1, Phases_getInstance_0().y50_1, Phases_getInstance_0().z50_1, Phases_getInstance_0().a51_1]);
87
+ this.j5x_1 = developmentMode;
88
88
  }
89
- f3w() {
90
- return this.v5w_1;
89
+ t3w() {
90
+ return this.j5x_1;
91
91
  }
92
92
  }
93
93
  initMetadataForClass($, 'HttpSendPipeline', HttpSendPipeline, VOID, VOID, [2]);
@@ -4,7 +4,7 @@ import { HttpHeaders_getInstanceelogg8fjd54u as HttpHeaders_getInstance } from '
4
4
  //region block: pre-declaration
5
5
  //endregion
6
6
  function accept(_this__u8e3s4, contentType) {
7
- return _this__u8e3s4.l45().d3t(HttpHeaders_getInstance().s40_1, contentType.toString());
7
+ return _this__u8e3s4.z45().r3t(HttpHeaders_getInstance().g41_1, contentType.toString());
8
8
  }
9
9
  //region block: exports
10
10
  export {