@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
@@ -21,73 +21,73 @@ function Companion() {
21
21
  class $ {
22
22
  constructor() {
23
23
  Companion_instance = this;
24
- this.e46_1 = new (HttpStatusCode())(100, 'Continue');
25
- this.f46_1 = new (HttpStatusCode())(101, 'Switching Protocols');
26
- this.g46_1 = new (HttpStatusCode())(102, 'Processing');
27
- this.h46_1 = new (HttpStatusCode())(200, 'OK');
28
- this.i46_1 = new (HttpStatusCode())(201, 'Created');
29
- this.j46_1 = new (HttpStatusCode())(202, 'Accepted');
30
- this.k46_1 = new (HttpStatusCode())(203, 'Non-Authoritative Information');
31
- this.l46_1 = new (HttpStatusCode())(204, 'No Content');
32
- this.m46_1 = new (HttpStatusCode())(205, 'Reset Content');
33
- this.n46_1 = new (HttpStatusCode())(206, 'Partial Content');
34
- this.o46_1 = new (HttpStatusCode())(207, 'Multi-Status');
35
- this.p46_1 = new (HttpStatusCode())(300, 'Multiple Choices');
36
- this.q46_1 = new (HttpStatusCode())(301, 'Moved Permanently');
37
- this.r46_1 = new (HttpStatusCode())(302, 'Found');
38
- this.s46_1 = new (HttpStatusCode())(303, 'See Other');
39
- this.t46_1 = new (HttpStatusCode())(304, 'Not Modified');
40
- this.u46_1 = new (HttpStatusCode())(305, 'Use Proxy');
41
- this.v46_1 = new (HttpStatusCode())(306, 'Switch Proxy');
42
- this.w46_1 = new (HttpStatusCode())(307, 'Temporary Redirect');
43
- this.x46_1 = new (HttpStatusCode())(308, 'Permanent Redirect');
44
- this.y46_1 = new (HttpStatusCode())(400, 'Bad Request');
45
- this.z46_1 = new (HttpStatusCode())(401, 'Unauthorized');
46
- this.a47_1 = new (HttpStatusCode())(402, 'Payment Required');
47
- this.b47_1 = new (HttpStatusCode())(403, 'Forbidden');
48
- this.c47_1 = new (HttpStatusCode())(404, 'Not Found');
49
- this.d47_1 = new (HttpStatusCode())(405, 'Method Not Allowed');
50
- this.e47_1 = new (HttpStatusCode())(406, 'Not Acceptable');
51
- this.f47_1 = new (HttpStatusCode())(407, 'Proxy Authentication Required');
52
- this.g47_1 = new (HttpStatusCode())(408, 'Request Timeout');
53
- this.h47_1 = new (HttpStatusCode())(409, 'Conflict');
54
- this.i47_1 = new (HttpStatusCode())(410, 'Gone');
55
- this.j47_1 = new (HttpStatusCode())(411, 'Length Required');
56
- this.k47_1 = new (HttpStatusCode())(412, 'Precondition Failed');
57
- this.l47_1 = new (HttpStatusCode())(413, 'Payload Too Large');
58
- this.m47_1 = new (HttpStatusCode())(414, 'Request-URI Too Long');
59
- this.n47_1 = new (HttpStatusCode())(415, 'Unsupported Media Type');
60
- this.o47_1 = new (HttpStatusCode())(416, 'Requested Range Not Satisfiable');
61
- this.p47_1 = new (HttpStatusCode())(417, 'Expectation Failed');
62
- this.q47_1 = new (HttpStatusCode())(422, 'Unprocessable Entity');
63
- this.r47_1 = new (HttpStatusCode())(423, 'Locked');
64
- this.s47_1 = new (HttpStatusCode())(424, 'Failed Dependency');
65
- this.t47_1 = new (HttpStatusCode())(425, 'Too Early');
66
- this.u47_1 = new (HttpStatusCode())(426, 'Upgrade Required');
67
- this.v47_1 = new (HttpStatusCode())(429, 'Too Many Requests');
68
- this.w47_1 = new (HttpStatusCode())(431, 'Request Header Fields Too Large');
69
- this.x47_1 = new (HttpStatusCode())(500, 'Internal Server Error');
70
- this.y47_1 = new (HttpStatusCode())(501, 'Not Implemented');
71
- this.z47_1 = new (HttpStatusCode())(502, 'Bad Gateway');
72
- this.a48_1 = new (HttpStatusCode())(503, 'Service Unavailable');
73
- this.b48_1 = new (HttpStatusCode())(504, 'Gateway Timeout');
74
- this.c48_1 = new (HttpStatusCode())(505, 'HTTP Version Not Supported');
75
- this.d48_1 = new (HttpStatusCode())(506, 'Variant Also Negotiates');
76
- this.e48_1 = new (HttpStatusCode())(507, 'Insufficient Storage');
77
- this.f48_1 = allStatusCodes();
24
+ this.s46_1 = new (HttpStatusCode())(100, 'Continue');
25
+ this.t46_1 = new (HttpStatusCode())(101, 'Switching Protocols');
26
+ this.u46_1 = new (HttpStatusCode())(102, 'Processing');
27
+ this.v46_1 = new (HttpStatusCode())(200, 'OK');
28
+ this.w46_1 = new (HttpStatusCode())(201, 'Created');
29
+ this.x46_1 = new (HttpStatusCode())(202, 'Accepted');
30
+ this.y46_1 = new (HttpStatusCode())(203, 'Non-Authoritative Information');
31
+ this.z46_1 = new (HttpStatusCode())(204, 'No Content');
32
+ this.a47_1 = new (HttpStatusCode())(205, 'Reset Content');
33
+ this.b47_1 = new (HttpStatusCode())(206, 'Partial Content');
34
+ this.c47_1 = new (HttpStatusCode())(207, 'Multi-Status');
35
+ this.d47_1 = new (HttpStatusCode())(300, 'Multiple Choices');
36
+ this.e47_1 = new (HttpStatusCode())(301, 'Moved Permanently');
37
+ this.f47_1 = new (HttpStatusCode())(302, 'Found');
38
+ this.g47_1 = new (HttpStatusCode())(303, 'See Other');
39
+ this.h47_1 = new (HttpStatusCode())(304, 'Not Modified');
40
+ this.i47_1 = new (HttpStatusCode())(305, 'Use Proxy');
41
+ this.j47_1 = new (HttpStatusCode())(306, 'Switch Proxy');
42
+ this.k47_1 = new (HttpStatusCode())(307, 'Temporary Redirect');
43
+ this.l47_1 = new (HttpStatusCode())(308, 'Permanent Redirect');
44
+ this.m47_1 = new (HttpStatusCode())(400, 'Bad Request');
45
+ this.n47_1 = new (HttpStatusCode())(401, 'Unauthorized');
46
+ this.o47_1 = new (HttpStatusCode())(402, 'Payment Required');
47
+ this.p47_1 = new (HttpStatusCode())(403, 'Forbidden');
48
+ this.q47_1 = new (HttpStatusCode())(404, 'Not Found');
49
+ this.r47_1 = new (HttpStatusCode())(405, 'Method Not Allowed');
50
+ this.s47_1 = new (HttpStatusCode())(406, 'Not Acceptable');
51
+ this.t47_1 = new (HttpStatusCode())(407, 'Proxy Authentication Required');
52
+ this.u47_1 = new (HttpStatusCode())(408, 'Request Timeout');
53
+ this.v47_1 = new (HttpStatusCode())(409, 'Conflict');
54
+ this.w47_1 = new (HttpStatusCode())(410, 'Gone');
55
+ this.x47_1 = new (HttpStatusCode())(411, 'Length Required');
56
+ this.y47_1 = new (HttpStatusCode())(412, 'Precondition Failed');
57
+ this.z47_1 = new (HttpStatusCode())(413, 'Payload Too Large');
58
+ this.a48_1 = new (HttpStatusCode())(414, 'Request-URI Too Long');
59
+ this.b48_1 = new (HttpStatusCode())(415, 'Unsupported Media Type');
60
+ this.c48_1 = new (HttpStatusCode())(416, 'Requested Range Not Satisfiable');
61
+ this.d48_1 = new (HttpStatusCode())(417, 'Expectation Failed');
62
+ this.e48_1 = new (HttpStatusCode())(422, 'Unprocessable Entity');
63
+ this.f48_1 = new (HttpStatusCode())(423, 'Locked');
64
+ this.g48_1 = new (HttpStatusCode())(424, 'Failed Dependency');
65
+ this.h48_1 = new (HttpStatusCode())(425, 'Too Early');
66
+ this.i48_1 = new (HttpStatusCode())(426, 'Upgrade Required');
67
+ this.j48_1 = new (HttpStatusCode())(429, 'Too Many Requests');
68
+ this.k48_1 = new (HttpStatusCode())(431, 'Request Header Fields Too Large');
69
+ this.l48_1 = new (HttpStatusCode())(500, 'Internal Server Error');
70
+ this.m48_1 = new (HttpStatusCode())(501, 'Not Implemented');
71
+ this.n48_1 = new (HttpStatusCode())(502, 'Bad Gateway');
72
+ this.o48_1 = new (HttpStatusCode())(503, 'Service Unavailable');
73
+ this.p48_1 = new (HttpStatusCode())(504, 'Gateway Timeout');
74
+ this.q48_1 = new (HttpStatusCode())(505, 'HTTP Version Not Supported');
75
+ this.r48_1 = new (HttpStatusCode())(506, 'Variant Also Negotiates');
76
+ this.s48_1 = new (HttpStatusCode())(507, 'Insufficient Storage');
77
+ this.t48_1 = allStatusCodes();
78
78
  var tmp = this;
79
79
  // Inline function 'kotlin.collections.associateBy' call
80
- var this_0 = this.f48_1;
80
+ var this_0 = this.t48_1;
81
81
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
82
82
  // Inline function 'kotlin.collections.associateByTo' call
83
83
  var destination = LinkedHashMap().vb(capacity);
84
84
  var _iterator__ex2g4s = this_0.d1();
85
85
  while (_iterator__ex2g4s.e1()) {
86
86
  var element = _iterator__ex2g4s.f1();
87
- var tmp$ret$0 = element.h48_1;
87
+ var tmp$ret$0 = element.v48_1;
88
88
  destination.d3(tmp$ret$0, element);
89
89
  }
90
- tmp.g48_1 = destination;
90
+ tmp.u48_1 = destination;
91
91
  }
92
92
  }
93
93
  initMetadataForCompanion($);
@@ -107,29 +107,29 @@ function HttpStatusCode() {
107
107
  class $ {
108
108
  constructor(value, description) {
109
109
  Companion_getInstance();
110
- this.h48_1 = value;
111
- this.i48_1 = description;
110
+ this.v48_1 = value;
111
+ this.w48_1 = description;
112
112
  }
113
113
  toString() {
114
- return '' + this.h48_1 + ' ' + this.i48_1;
114
+ return '' + this.v48_1 + ' ' + this.w48_1;
115
115
  }
116
116
  equals(other) {
117
117
  var tmp;
118
118
  if (other instanceof HttpStatusCode()) {
119
- tmp = other.h48_1 === this.h48_1;
119
+ tmp = other.v48_1 === this.v48_1;
120
120
  } else {
121
121
  tmp = false;
122
122
  }
123
123
  return tmp;
124
124
  }
125
125
  hashCode() {
126
- return this.h48_1;
126
+ return this.v48_1;
127
127
  }
128
- j48(other) {
129
- return this.h48_1 - other.h48_1 | 0;
128
+ x48(other) {
129
+ return this.v48_1 - other.v48_1 | 0;
130
130
  }
131
131
  d(other) {
132
- return this.j48(other instanceof HttpStatusCode() ? other : THROW_CCE());
132
+ return this.x48(other instanceof HttpStatusCode() ? other : THROW_CCE());
133
133
  }
134
134
  }
135
135
  initMetadataForClass($, 'HttpStatusCode', VOID, VOID, [Comparable()]);
@@ -138,7 +138,7 @@ function HttpStatusCode() {
138
138
  return HttpStatusCodeClass;
139
139
  }
140
140
  function allStatusCodes() {
141
- return listOf([Companion_getInstance().e46_1, Companion_getInstance().f46_1, Companion_getInstance().g46_1, Companion_getInstance().h46_1, Companion_getInstance().i46_1, Companion_getInstance().j46_1, Companion_getInstance().k46_1, Companion_getInstance().l46_1, Companion_getInstance().m46_1, Companion_getInstance().n46_1, Companion_getInstance().o46_1, Companion_getInstance().p46_1, Companion_getInstance().q46_1, Companion_getInstance().r46_1, Companion_getInstance().s46_1, Companion_getInstance().t46_1, Companion_getInstance().u46_1, Companion_getInstance().v46_1, Companion_getInstance().w46_1, Companion_getInstance().x46_1, Companion_getInstance().y46_1, Companion_getInstance().z46_1, Companion_getInstance().a47_1, Companion_getInstance().b47_1, Companion_getInstance().c47_1, Companion_getInstance().d47_1, Companion_getInstance().e47_1, Companion_getInstance().f47_1, Companion_getInstance().g47_1, Companion_getInstance().h47_1, Companion_getInstance().i47_1, Companion_getInstance().j47_1, Companion_getInstance().k47_1, Companion_getInstance().l47_1, Companion_getInstance().m47_1, Companion_getInstance().n47_1, Companion_getInstance().o47_1, Companion_getInstance().p47_1, Companion_getInstance().q47_1, Companion_getInstance().r47_1, Companion_getInstance().s47_1, Companion_getInstance().t47_1, Companion_getInstance().u47_1, Companion_getInstance().v47_1, Companion_getInstance().w47_1, Companion_getInstance().x47_1, Companion_getInstance().y47_1, Companion_getInstance().z47_1, Companion_getInstance().a48_1, Companion_getInstance().b48_1, Companion_getInstance().c48_1, Companion_getInstance().d48_1, Companion_getInstance().e48_1]);
141
+ return listOf([Companion_getInstance().s46_1, Companion_getInstance().t46_1, Companion_getInstance().u46_1, Companion_getInstance().v46_1, Companion_getInstance().w46_1, Companion_getInstance().x46_1, Companion_getInstance().y46_1, Companion_getInstance().z46_1, Companion_getInstance().a47_1, Companion_getInstance().b47_1, Companion_getInstance().c47_1, Companion_getInstance().d47_1, Companion_getInstance().e47_1, Companion_getInstance().f47_1, Companion_getInstance().g47_1, Companion_getInstance().h47_1, Companion_getInstance().i47_1, Companion_getInstance().j47_1, Companion_getInstance().k47_1, Companion_getInstance().l47_1, Companion_getInstance().m47_1, Companion_getInstance().n47_1, Companion_getInstance().o47_1, Companion_getInstance().p47_1, Companion_getInstance().q47_1, Companion_getInstance().r47_1, Companion_getInstance().s47_1, Companion_getInstance().t47_1, Companion_getInstance().u47_1, Companion_getInstance().v47_1, Companion_getInstance().w47_1, Companion_getInstance().x47_1, Companion_getInstance().y47_1, Companion_getInstance().z47_1, Companion_getInstance().a48_1, Companion_getInstance().b48_1, Companion_getInstance().c48_1, Companion_getInstance().d48_1, Companion_getInstance().e48_1, Companion_getInstance().f48_1, Companion_getInstance().g48_1, Companion_getInstance().h48_1, Companion_getInstance().i48_1, Companion_getInstance().j48_1, Companion_getInstance().k48_1, Companion_getInstance().l48_1, Companion_getInstance().m48_1, Companion_getInstance().n48_1, Companion_getInstance().o48_1, Companion_getInstance().p48_1, Companion_getInstance().q48_1, Companion_getInstance().r48_1, Companion_getInstance().s48_1]);
142
142
  }
143
143
  //region block: exports
144
144
  export {
@@ -28,7 +28,7 @@ function Companion() {
28
28
  class $ {
29
29
  constructor() {
30
30
  Companion_instance = this;
31
- this.k48_1 = EmptyParameters_instance;
31
+ this.y48_1 = EmptyParameters_instance;
32
32
  }
33
33
  }
34
34
  initMetadataForCompanion($);
@@ -55,23 +55,23 @@ var EmptyParametersClass;
55
55
  function EmptyParameters() {
56
56
  if (EmptyParametersClass === VOID) {
57
57
  class $ {
58
- r3s() {
58
+ f3t() {
59
59
  return true;
60
60
  }
61
- s3s(name) {
61
+ g3t(name) {
62
62
  return null;
63
63
  }
64
- t3s() {
64
+ h3t() {
65
65
  return emptySet();
66
66
  }
67
- u3s() {
67
+ i3t() {
68
68
  return emptySet();
69
69
  }
70
70
  j() {
71
71
  return true;
72
72
  }
73
73
  toString() {
74
- return 'Parameters ' + toString(this.u3s());
74
+ return 'Parameters ' + toString(this.i3t());
75
75
  }
76
76
  equals(other) {
77
77
  var tmp;
@@ -83,7 +83,7 @@ function EmptyParameters() {
83
83
  return tmp;
84
84
  }
85
85
  }
86
- protoOf($).w3s = forEach;
86
+ protoOf($).k3t = forEach;
87
87
  initMetadataForObject($, 'EmptyParameters', VOID, VOID, [Parameters()]);
88
88
  EmptyParametersClass = $;
89
89
  }
@@ -106,7 +106,7 @@ function ParametersBuilderImpl() {
106
106
  super(true, size);
107
107
  }
108
108
  z1i() {
109
- return new (ParametersImpl())(this.y3s_1);
109
+ return new (ParametersImpl())(this.m3t_1);
110
110
  }
111
111
  }
112
112
  initMetadataForClass($, 'ParametersBuilderImpl', ParametersBuilderImpl);
@@ -123,7 +123,7 @@ function ParametersImpl() {
123
123
  super(true, values);
124
124
  }
125
125
  toString() {
126
- return 'Parameters ' + toString(this.u3s());
126
+ return 'Parameters ' + toString(this.i3t());
127
127
  }
128
128
  }
129
129
  initMetadataForClass($, 'ParametersImpl', ParametersImpl, VOID, [Parameters(), StringValuesImpl()]);
@@ -24,7 +24,7 @@ function parseQueryString(query, startIndex, limit, decode) {
24
24
  decode = decode === VOID ? true : decode;
25
25
  var tmp;
26
26
  if (startIndex > get_lastIndex(query)) {
27
- tmp = Companion_getInstance().k48_1;
27
+ tmp = Companion_getInstance().y48_1;
28
28
  } else {
29
29
  // Inline function 'io.ktor.http.Companion.build' call
30
30
  Companion_getInstance();
@@ -72,7 +72,7 @@ function appendParam(_this__u8e3s4, query, nameIndex, equalIndex, endIndex, deco
72
72
  var spaceEndIndex = trimEnd(spaceNameIndex, endIndex, query);
73
73
  if (spaceEndIndex > spaceNameIndex) {
74
74
  var name = decode ? decodeURLQueryComponent(query, spaceNameIndex, spaceEndIndex) : substring(query, spaceNameIndex, spaceEndIndex);
75
- _this__u8e3s4.a3t(name, emptyList());
75
+ _this__u8e3s4.o3t(name, emptyList());
76
76
  }
77
77
  return Unit_instance;
78
78
  }
@@ -83,7 +83,7 @@ function appendParam(_this__u8e3s4, query, nameIndex, equalIndex, endIndex, deco
83
83
  var spaceValueIndex = trimStart(equalIndex + 1 | 0, endIndex, query);
84
84
  var spaceEndIndex_0 = trimEnd(spaceValueIndex, endIndex, query);
85
85
  var value = decode ? decodeURLQueryComponent(query, spaceValueIndex, spaceEndIndex_0, true) : substring(query, spaceValueIndex, spaceEndIndex_0);
86
- _this__u8e3s4.d3t(name_0, value);
86
+ _this__u8e3s4.r3t(name_0, value);
87
87
  }
88
88
  }
89
89
  function trimStart(start, end, query) {
@@ -51,19 +51,19 @@ import { get_ROOT_PATH1cfc0dxvljm6a as get_ROOT_PATH } from './URLParser.mjs';
51
51
  function applyOrigin($this) {
52
52
  var tmp;
53
53
  // Inline function 'kotlin.text.isNotEmpty' call
54
- var this_0 = $this.n48_1;
54
+ var this_0 = $this.b49_1;
55
55
  if (charSequenceLength(this_0) > 0) {
56
56
  tmp = true;
57
57
  } else {
58
- tmp = $this.z48().x48_1 === 'file';
58
+ tmp = $this.n49().l49_1 === 'file';
59
59
  }
60
60
  if (tmp)
61
61
  return Unit_instance;
62
- $this.n48_1 = Companion_getInstance_1().t49_1.a49_1;
63
- if ($this.q48_1 == null)
64
- $this.q48_1 = Companion_getInstance_1().t49_1.l49_1;
65
- if ($this.p48_1 === 0) {
66
- $this.v49(Companion_getInstance_1().t49_1.b49_1);
62
+ $this.b49_1 = Companion_getInstance_1().h4a_1.o49_1;
63
+ if ($this.e49_1 == null)
64
+ $this.e49_1 = Companion_getInstance_1().h4a_1.z49_1;
65
+ if ($this.d49_1 === 0) {
66
+ $this.j4a(Companion_getInstance_1().h4a_1.p49_1);
67
67
  }
68
68
  }
69
69
  var CompanionClass;
@@ -72,8 +72,8 @@ function Companion() {
72
72
  class $ {
73
73
  constructor() {
74
74
  Companion_instance = this;
75
- this.t49_1 = Url(get_origin(this));
76
- this.u49_1 = 256;
75
+ this.h4a_1 = Url(get_origin(this));
76
+ this.i4a_1 = 256;
77
77
  }
78
78
  }
79
79
  initMetadataForCompanion($);
@@ -99,18 +99,18 @@ function URLBuilder() {
99
99
  user = user === VOID ? null : user;
100
100
  password = password === VOID ? null : password;
101
101
  pathSegments = pathSegments === VOID ? emptyList() : pathSegments;
102
- parameters = parameters === VOID ? Companion_getInstance().k48_1 : parameters;
102
+ parameters = parameters === VOID ? Companion_getInstance().y48_1 : parameters;
103
103
  fragment = fragment === VOID ? '' : fragment;
104
104
  trailingQuery = trailingQuery === VOID ? false : trailingQuery;
105
- this.n48_1 = host;
106
- this.o48_1 = trailingQuery;
107
- this.p48_1 = port;
108
- this.q48_1 = protocol;
105
+ this.b49_1 = host;
106
+ this.c49_1 = trailingQuery;
107
+ this.d49_1 = port;
108
+ this.e49_1 = protocol;
109
109
  var tmp = this;
110
- tmp.r48_1 = user == null ? null : encodeURLParameter(user);
110
+ tmp.f49_1 = user == null ? null : encodeURLParameter(user);
111
111
  var tmp_0 = this;
112
- tmp_0.s48_1 = password == null ? null : encodeURLParameter(password);
113
- this.t48_1 = encodeURLQueryComponent(fragment);
112
+ tmp_0.g49_1 = password == null ? null : encodeURLParameter(password);
113
+ this.h49_1 = encodeURLQueryComponent(fragment);
114
114
  var tmp_1 = this;
115
115
  // Inline function 'kotlin.collections.map' call
116
116
  // Inline function 'kotlin.collections.mapTo' call
@@ -121,43 +121,43 @@ function URLBuilder() {
121
121
  var tmp$ret$0 = encodeURLPathPart(item);
122
122
  destination.m(tmp$ret$0);
123
123
  }
124
- tmp_1.u48_1 = destination;
125
- this.v48_1 = encodeParameters(parameters);
126
- this.w48_1 = new (UrlDecodedParametersBuilder())(this.v48_1);
124
+ tmp_1.i49_1 = destination;
125
+ this.j49_1 = encodeParameters(parameters);
126
+ this.k49_1 = new (UrlDecodedParametersBuilder())(this.j49_1);
127
127
  }
128
- v49(value) {
128
+ j4a(value) {
129
129
  // Inline function 'kotlin.require' call
130
130
  if (!(0 <= value ? value <= 65535 : false)) {
131
131
  var message = 'Port must be between 0 and 65535, or 0 if not set. Provided: ' + value;
132
132
  throw IllegalArgumentException().u(toString(message));
133
133
  }
134
- this.p48_1 = value;
134
+ this.d49_1 = value;
135
135
  }
136
- w49(value) {
137
- this.q48_1 = value;
136
+ k4a(value) {
137
+ this.e49_1 = value;
138
138
  }
139
- z48() {
140
- var tmp0_elvis_lhs = this.q48_1;
141
- return tmp0_elvis_lhs == null ? Companion_getInstance_0().x49_1 : tmp0_elvis_lhs;
139
+ n49() {
140
+ var tmp0_elvis_lhs = this.e49_1;
141
+ return tmp0_elvis_lhs == null ? Companion_getInstance_0().l4a_1 : tmp0_elvis_lhs;
142
142
  }
143
- d4a(value) {
143
+ r4a(value) {
144
144
  var tmp = this;
145
- tmp.r48_1 = value == null ? null : encodeURLParameter(value);
145
+ tmp.f49_1 = value == null ? null : encodeURLParameter(value);
146
146
  }
147
- e4a() {
148
- var tmp0_safe_receiver = this.r48_1;
147
+ s4a() {
148
+ var tmp0_safe_receiver = this.f49_1;
149
149
  return tmp0_safe_receiver == null ? null : decodeURLPart(tmp0_safe_receiver);
150
150
  }
151
- f4a() {
152
- var tmp0_safe_receiver = this.s48_1;
151
+ t4a() {
152
+ var tmp0_safe_receiver = this.g49_1;
153
153
  return tmp0_safe_receiver == null ? null : decodeURLPart(tmp0_safe_receiver);
154
154
  }
155
- g4a() {
156
- return decodeURLQueryComponent(this.t48_1);
155
+ u4a() {
156
+ return decodeURLQueryComponent(this.h49_1);
157
157
  }
158
- h4a() {
158
+ v4a() {
159
159
  // Inline function 'kotlin.collections.map' call
160
- var this_0 = this.u48_1;
160
+ var this_0 = this.i49_1;
161
161
  // Inline function 'kotlin.collections.mapTo' call
162
162
  var destination = ArrayList().c1(collectionSizeOrDefault(this_0, 10));
163
163
  var _iterator__ex2g4s = this_0.d1();
@@ -168,11 +168,11 @@ function URLBuilder() {
168
168
  }
169
169
  return destination;
170
170
  }
171
- i4a(value) {
172
- this.v48_1 = value;
173
- this.w48_1 = new (UrlDecodedParametersBuilder())(value);
171
+ w4a(value) {
172
+ this.j49_1 = value;
173
+ this.k49_1 = new (UrlDecodedParametersBuilder())(value);
174
174
  }
175
- j4a() {
175
+ x4a() {
176
176
  applyOrigin(this);
177
177
  return appendTo(this, StringBuilder().mb(256)).toString();
178
178
  }
@@ -181,7 +181,7 @@ function URLBuilder() {
181
181
  }
182
182
  z1i() {
183
183
  applyOrigin(this);
184
- return new (Url_0())(this.q48_1, this.n48_1, this.p48_1, this.h4a(), this.w48_1.z1i(), this.g4a(), this.e4a(), this.f4a(), this.o48_1, this.j4a());
184
+ return new (Url_0())(this.e49_1, this.b49_1, this.d49_1, this.v4a(), this.k49_1.z1i(), this.u4a(), this.s4a(), this.t4a(), this.c49_1, this.x4a());
185
185
  }
186
186
  }
187
187
  initMetadataForClass($, 'URLBuilder', URLBuilder);
@@ -194,46 +194,46 @@ function get_authority(_this__u8e3s4) {
194
194
  // Inline function 'kotlin.apply' call
195
195
  var this_0 = StringBuilder().a1();
196
196
  this_0.jb(get_encodedUserAndPassword(_this__u8e3s4));
197
- this_0.jb(_this__u8e3s4.n48_1);
198
- if (!(_this__u8e3s4.p48_1 === 0) && !(_this__u8e3s4.p48_1 === _this__u8e3s4.z48().y48_1)) {
197
+ this_0.jb(_this__u8e3s4.b49_1);
198
+ if (!(_this__u8e3s4.d49_1 === 0) && !(_this__u8e3s4.d49_1 === _this__u8e3s4.n49().m49_1)) {
199
199
  this_0.jb(':');
200
- this_0.jb(_this__u8e3s4.p48_1.toString());
200
+ this_0.jb(_this__u8e3s4.d49_1.toString());
201
201
  }
202
202
  return this_0.toString();
203
203
  }
204
204
  function set_encodedPath(_this__u8e3s4, value) {
205
- _this__u8e3s4.u48_1 = isBlank(value) ? emptyList() : value === '/' ? get_ROOT_PATH() : toMutableList(split(value, charArrayOf([_Char___init__impl__6a9atx(47)])));
205
+ _this__u8e3s4.i49_1 = isBlank(value) ? emptyList() : value === '/' ? get_ROOT_PATH() : toMutableList(split(value, charArrayOf([_Char___init__impl__6a9atx(47)])));
206
206
  }
207
207
  function get_encodedPath(_this__u8e3s4) {
208
- return joinPath(_this__u8e3s4.u48_1);
208
+ return joinPath(_this__u8e3s4.i49_1);
209
209
  }
210
210
  function appendTo(_this__u8e3s4, out) {
211
- out.b1(_this__u8e3s4.z48().x48_1);
212
- switch (_this__u8e3s4.z48().x48_1) {
211
+ out.b1(_this__u8e3s4.n49().l49_1);
212
+ switch (_this__u8e3s4.n49().l49_1) {
213
213
  case 'file':
214
- appendFile(out, _this__u8e3s4.n48_1, get_encodedPath(_this__u8e3s4));
214
+ appendFile(out, _this__u8e3s4.b49_1, get_encodedPath(_this__u8e3s4));
215
215
  return out;
216
216
  case 'mailto':
217
- appendMailto(out, get_encodedUserAndPassword(_this__u8e3s4), _this__u8e3s4.n48_1);
217
+ appendMailto(out, get_encodedUserAndPassword(_this__u8e3s4), _this__u8e3s4.b49_1);
218
218
  return out;
219
219
  case 'about':
220
- appendPayload(out, _this__u8e3s4.n48_1);
220
+ appendPayload(out, _this__u8e3s4.b49_1);
221
221
  return out;
222
222
  case 'tel':
223
- appendPayload(out, _this__u8e3s4.n48_1);
223
+ appendPayload(out, _this__u8e3s4.b49_1);
224
224
  return out;
225
225
  case 'data':
226
- appendPayload(out, _this__u8e3s4.n48_1);
226
+ appendPayload(out, _this__u8e3s4.b49_1);
227
227
  return out;
228
228
  }
229
229
  out.b1('://');
230
230
  out.b1(get_authority(_this__u8e3s4));
231
- appendUrlFullPath(out, get_encodedPath(_this__u8e3s4), _this__u8e3s4.v48_1, _this__u8e3s4.o48_1);
231
+ appendUrlFullPath(out, get_encodedPath(_this__u8e3s4), _this__u8e3s4.j49_1, _this__u8e3s4.c49_1);
232
232
  // Inline function 'kotlin.text.isNotEmpty' call
233
- var this_0 = _this__u8e3s4.t48_1;
233
+ var this_0 = _this__u8e3s4.h49_1;
234
234
  if (charSequenceLength(this_0) > 0) {
235
235
  out.kb(_Char___init__impl__6a9atx(35));
236
- out.b1(_this__u8e3s4.t48_1);
236
+ out.b1(_this__u8e3s4.h49_1);
237
237
  }
238
238
  return out;
239
239
  }
@@ -241,7 +241,7 @@ function get_encodedUserAndPassword(_this__u8e3s4) {
241
241
  // Inline function 'kotlin.text.buildString' call
242
242
  // Inline function 'kotlin.apply' call
243
243
  var this_0 = StringBuilder().a1();
244
- appendUserAndPassword(this_0, _this__u8e3s4.r48_1, _this__u8e3s4.s48_1);
244
+ appendUserAndPassword(this_0, _this__u8e3s4.f49_1, _this__u8e3s4.g49_1);
245
245
  return this_0.toString();
246
246
  }
247
247
  function joinPath(_this__u8e3s4) {
@@ -4,7 +4,7 @@ import { PlatformUtils_getInstance350nj2wi6ds9r as PlatformUtils_getInstance } f
4
4
  //region block: pre-declaration
5
5
  //endregion
6
6
  function get_origin(_this__u8e3s4) {
7
- return PlatformUtils_getInstance().j3s_1 ? locationOrigin() : 'http://localhost';
7
+ return PlatformUtils_getInstance().x3s_1 ? locationOrigin() : 'http://localhost';
8
8
  }
9
9
  function locationOrigin() {
10
10
  return function () {