@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
@@ -47,26 +47,26 @@ var HeaderValueParamClass;
47
47
  function HeaderValueParam() {
48
48
  if (HeaderValueParamClass === VOID) {
49
49
  class $ {
50
- static q44(name, value, escapeValue) {
50
+ static e45(name, value, escapeValue) {
51
51
  var $this = createThis(this);
52
- $this.b3y_1 = name;
53
- $this.c3y_1 = value;
54
- $this.d3y_1 = escapeValue;
52
+ $this.p3y_1 = name;
53
+ $this.q3y_1 = value;
54
+ $this.r3y_1 = escapeValue;
55
55
  return $this;
56
56
  }
57
- static l40(name, value) {
58
- return this.q44(name, value, false);
57
+ static z40(name, value) {
58
+ return this.e45(name, value, false);
59
59
  }
60
60
  equals(other) {
61
61
  var tmp;
62
62
  var tmp_0;
63
63
  if (other instanceof HeaderValueParam()) {
64
- tmp_0 = equals_0(other.b3y_1, this.b3y_1, true);
64
+ tmp_0 = equals_0(other.p3y_1, this.p3y_1, true);
65
65
  } else {
66
66
  tmp_0 = false;
67
67
  }
68
68
  if (tmp_0) {
69
- tmp = equals_0(other.c3y_1, this.c3y_1, true);
69
+ tmp = equals_0(other.q3y_1, this.q3y_1, true);
70
70
  } else {
71
71
  tmp = false;
72
72
  }
@@ -75,24 +75,24 @@ function HeaderValueParam() {
75
75
  hashCode() {
76
76
  // Inline function 'kotlin.text.lowercase' call
77
77
  // Inline function 'kotlin.js.asDynamic' call
78
- var tmp$ret$1 = this.b3y_1.toLowerCase();
78
+ var tmp$ret$1 = this.p3y_1.toLowerCase();
79
79
  var result = getStringHashCode(tmp$ret$1);
80
80
  var tmp = result;
81
81
  var tmp_0 = imul(31, result);
82
82
  // Inline function 'kotlin.text.lowercase' call
83
83
  // Inline function 'kotlin.js.asDynamic' call
84
- var tmp$ret$3 = this.c3y_1.toLowerCase();
84
+ var tmp$ret$3 = this.q3y_1.toLowerCase();
85
85
  result = tmp + (tmp_0 + getStringHashCode(tmp$ret$3) | 0) | 0;
86
86
  return result;
87
87
  }
88
88
  gl() {
89
- return this.b3y_1;
89
+ return this.p3y_1;
90
90
  }
91
91
  hl() {
92
- return this.c3y_1;
92
+ return this.q3y_1;
93
93
  }
94
94
  toString() {
95
- return 'HeaderValueParam(name=' + this.b3y_1 + ', value=' + this.c3y_1 + ', escapeValue=' + this.d3y_1 + ')';
95
+ return 'HeaderValueParam(name=' + this.p3y_1 + ', value=' + this.q3y_1 + ', escapeValue=' + this.r3y_1 + ')';
96
96
  }
97
97
  }
98
98
  initMetadataForClass($, 'HeaderValueParam');
@@ -106,17 +106,17 @@ function HeaderValue() {
106
106
  class $ {
107
107
  constructor(value, params) {
108
108
  params = params === VOID ? emptyList() : params;
109
- this.k3y_1 = value;
110
- this.l3y_1 = params;
109
+ this.y3y_1 = value;
110
+ this.z3y_1 = params;
111
111
  var tmp = this;
112
- var tmp0 = this.l3y_1;
112
+ var tmp0 = this.z3y_1;
113
113
  var tmp$ret$1;
114
114
  $l$block: {
115
115
  // Inline function 'kotlin.collections.firstOrNull' call
116
116
  var _iterator__ex2g4s = tmp0.d1();
117
117
  while (_iterator__ex2g4s.e1()) {
118
118
  var element = _iterator__ex2g4s.f1();
119
- if (element.b3y_1 === 'q') {
119
+ if (element.p3y_1 === 'q') {
120
120
  tmp$ret$1 = element;
121
121
  break $l$block;
122
122
  }
@@ -124,7 +124,7 @@ function HeaderValue() {
124
124
  tmp$ret$1 = null;
125
125
  }
126
126
  var tmp0_safe_receiver = tmp$ret$1;
127
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c3y_1;
127
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q3y_1;
128
128
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : toDoubleOrNull(tmp1_safe_receiver);
129
129
  var tmp_0;
130
130
  if (tmp2_safe_receiver == null) {
@@ -140,17 +140,17 @@ function HeaderValue() {
140
140
  tmp_0 = tmp_1;
141
141
  }
142
142
  var tmp3_elvis_lhs = tmp_0;
143
- tmp.m3y_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
143
+ tmp.a3z_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
144
144
  }
145
145
  gl() {
146
- return this.k3y_1;
146
+ return this.y3y_1;
147
147
  }
148
148
  toString() {
149
- return 'HeaderValue(value=' + this.k3y_1 + ', params=' + toString(this.l3y_1) + ')';
149
+ return 'HeaderValue(value=' + this.y3y_1 + ', params=' + toString(this.z3y_1) + ')';
150
150
  }
151
151
  hashCode() {
152
- var result = getStringHashCode(this.k3y_1);
153
- result = imul(result, 31) + hashCode(this.l3y_1) | 0;
152
+ var result = getStringHashCode(this.y3y_1);
153
+ result = imul(result, 31) + hashCode(this.z3y_1) | 0;
154
154
  return result;
155
155
  }
156
156
  equals(other) {
@@ -159,9 +159,9 @@ function HeaderValue() {
159
159
  if (!(other instanceof HeaderValue()))
160
160
  return false;
161
161
  var tmp0_other_with_cast = other instanceof HeaderValue() ? other : THROW_CCE();
162
- if (!(this.k3y_1 === tmp0_other_with_cast.k3y_1))
162
+ if (!(this.y3y_1 === tmp0_other_with_cast.y3y_1))
163
163
  return false;
164
- if (!equals(this.l3y_1, tmp0_other_with_cast.l3y_1))
164
+ if (!equals(this.z3y_1, tmp0_other_with_cast.z3y_1))
165
165
  return false;
166
166
  return true;
167
167
  }
@@ -305,16 +305,16 @@ function sam$kotlin_Comparator$0() {
305
305
  if (sam$kotlin_Comparator$0Class === VOID) {
306
306
  class $ {
307
307
  constructor(function_0) {
308
- this.r44_1 = function_0;
308
+ this.f45_1 = function_0;
309
309
  }
310
310
  wi(a, b) {
311
- return this.r44_1(a, b);
311
+ return this.f45_1(a, b);
312
312
  }
313
313
  compare(a, b) {
314
314
  return this.wi(a, b);
315
315
  }
316
316
  i4() {
317
- return this.r44_1;
317
+ return this.f45_1;
318
318
  }
319
319
  equals(other) {
320
320
  var tmp;
@@ -346,7 +346,7 @@ function parseHeaderValueParameter$addParam($parameters, text, start, end, value
346
346
  if (charSequenceLength(name) === 0) {
347
347
  return Unit_instance;
348
348
  }
349
- $parameters.s1().m(HeaderValueParam().l40(name, value));
349
+ $parameters.s1().m(HeaderValueParam().z40(name, value));
350
350
  }
351
351
  function parseHeaderValue$lambda() {
352
352
  // Inline function 'kotlin.collections.arrayListOf' call
@@ -358,8 +358,8 @@ function parseHeaderValueItem$lambda() {
358
358
  }
359
359
  function parseAndSortHeader$lambda(a, b) {
360
360
  // Inline function 'kotlin.comparisons.compareValuesBy' call
361
- var tmp = b.m3y_1;
362
- var tmp$ret$1 = a.m3y_1;
361
+ var tmp = b.a3z_1;
362
+ var tmp$ret$1 = a.a3z_1;
363
363
  return compareValues(tmp, tmp$ret$1);
364
364
  }
365
365
  //region block: exports
@@ -29,112 +29,112 @@ function HttpHeaders() {
29
29
  class $ {
30
30
  constructor() {
31
31
  HttpHeaders_instance = this;
32
- this.s40_1 = 'Accept';
33
- this.t40_1 = 'Accept-Charset';
34
- this.u40_1 = 'Accept-Encoding';
35
- this.v40_1 = 'Accept-Language';
36
- this.w40_1 = 'Accept-Ranges';
37
- this.x40_1 = 'Age';
38
- this.y40_1 = 'Allow';
39
- this.z40_1 = 'ALPN';
40
- this.a41_1 = 'Authentication-Info';
41
- this.b41_1 = 'Authorization';
42
- this.c41_1 = 'Cache-Control';
43
- this.d41_1 = 'Connection';
44
- this.e41_1 = 'Content-Disposition';
45
- this.f41_1 = 'Content-Encoding';
46
- this.g41_1 = 'Content-Language';
47
- this.h41_1 = 'Content-Length';
48
- this.i41_1 = 'Content-Location';
49
- this.j41_1 = 'Content-Range';
50
- this.k41_1 = 'Content-Type';
51
- this.l41_1 = 'Cookie';
52
- this.m41_1 = 'DASL';
53
- this.n41_1 = 'Date';
54
- this.o41_1 = 'DAV';
55
- this.p41_1 = 'Depth';
56
- this.q41_1 = 'Destination';
57
- this.r41_1 = 'ETag';
58
- this.s41_1 = 'Expect';
59
- this.t41_1 = 'Expires';
60
- this.u41_1 = 'From';
61
- this.v41_1 = 'Forwarded';
62
- this.w41_1 = 'Host';
63
- this.x41_1 = 'HTTP2-Settings';
64
- this.y41_1 = 'If';
65
- this.z41_1 = 'If-Match';
66
- this.a42_1 = 'If-Modified-Since';
67
- this.b42_1 = 'If-None-Match';
68
- this.c42_1 = 'If-Range';
69
- this.d42_1 = 'If-Schedule-Tag-Match';
70
- this.e42_1 = 'If-Unmodified-Since';
71
- this.f42_1 = 'Last-Modified';
72
- this.g42_1 = 'Location';
73
- this.h42_1 = 'Lock-Token';
74
- this.i42_1 = 'Link';
75
- this.j42_1 = 'Max-Forwards';
76
- this.k42_1 = 'MIME-Version';
77
- this.l42_1 = 'Ordering-Type';
78
- this.m42_1 = 'Origin';
79
- this.n42_1 = 'Overwrite';
80
- this.o42_1 = 'Position';
81
- this.p42_1 = 'Pragma';
82
- this.q42_1 = 'Prefer';
83
- this.r42_1 = 'Preference-Applied';
84
- this.s42_1 = 'Proxy-Authenticate';
85
- this.t42_1 = 'Proxy-Authentication-Info';
86
- this.u42_1 = 'Proxy-Authorization';
87
- this.v42_1 = 'Public-Key-Pins';
88
- this.w42_1 = 'Public-Key-Pins-Report-Only';
89
- this.x42_1 = 'Range';
90
- this.y42_1 = 'Referer';
91
- this.z42_1 = 'Retry-After';
92
- this.a43_1 = 'Schedule-Reply';
93
- this.b43_1 = 'Schedule-Tag';
94
- this.c43_1 = 'Sec-WebSocket-Accept';
95
- this.d43_1 = 'Sec-WebSocket-Extensions';
96
- this.e43_1 = 'Sec-WebSocket-Key';
97
- this.f43_1 = 'Sec-WebSocket-Protocol';
98
- this.g43_1 = 'Sec-WebSocket-Version';
99
- this.h43_1 = 'Server';
100
- this.i43_1 = 'Set-Cookie';
101
- this.j43_1 = 'SLUG';
102
- this.k43_1 = 'Strict-Transport-Security';
103
- this.l43_1 = 'TE';
104
- this.m43_1 = 'Timeout';
105
- this.n43_1 = 'Trailer';
106
- this.o43_1 = 'Transfer-Encoding';
107
- this.p43_1 = 'Upgrade';
108
- this.q43_1 = 'User-Agent';
109
- this.r43_1 = 'Vary';
110
- this.s43_1 = 'Via';
111
- this.t43_1 = 'Warning';
112
- this.u43_1 = 'WWW-Authenticate';
113
- this.v43_1 = 'Access-Control-Allow-Origin';
114
- this.w43_1 = 'Access-Control-Allow-Methods';
115
- this.x43_1 = 'Access-Control-Allow-Credentials';
116
- this.y43_1 = 'Access-Control-Allow-Headers';
117
- this.z43_1 = 'Access-Control-Request-Method';
118
- this.a44_1 = 'Access-Control-Request-Headers';
119
- this.b44_1 = 'Access-Control-Expose-Headers';
120
- this.c44_1 = 'Access-Control-Max-Age';
121
- this.d44_1 = 'X-Http-Method-Override';
122
- this.e44_1 = 'X-Forwarded-Host';
123
- this.f44_1 = 'X-Forwarded-Server';
124
- this.g44_1 = 'X-Forwarded-Proto';
125
- this.h44_1 = 'X-Forwarded-For';
126
- this.i44_1 = 'X-Forwarded-Port';
127
- this.j44_1 = 'X-Request-ID';
128
- this.k44_1 = 'X-Correlation-ID';
129
- this.l44_1 = 'X-Total-Count';
32
+ this.g41_1 = 'Accept';
33
+ this.h41_1 = 'Accept-Charset';
34
+ this.i41_1 = 'Accept-Encoding';
35
+ this.j41_1 = 'Accept-Language';
36
+ this.k41_1 = 'Accept-Ranges';
37
+ this.l41_1 = 'Age';
38
+ this.m41_1 = 'Allow';
39
+ this.n41_1 = 'ALPN';
40
+ this.o41_1 = 'Authentication-Info';
41
+ this.p41_1 = 'Authorization';
42
+ this.q41_1 = 'Cache-Control';
43
+ this.r41_1 = 'Connection';
44
+ this.s41_1 = 'Content-Disposition';
45
+ this.t41_1 = 'Content-Encoding';
46
+ this.u41_1 = 'Content-Language';
47
+ this.v41_1 = 'Content-Length';
48
+ this.w41_1 = 'Content-Location';
49
+ this.x41_1 = 'Content-Range';
50
+ this.y41_1 = 'Content-Type';
51
+ this.z41_1 = 'Cookie';
52
+ this.a42_1 = 'DASL';
53
+ this.b42_1 = 'Date';
54
+ this.c42_1 = 'DAV';
55
+ this.d42_1 = 'Depth';
56
+ this.e42_1 = 'Destination';
57
+ this.f42_1 = 'ETag';
58
+ this.g42_1 = 'Expect';
59
+ this.h42_1 = 'Expires';
60
+ this.i42_1 = 'From';
61
+ this.j42_1 = 'Forwarded';
62
+ this.k42_1 = 'Host';
63
+ this.l42_1 = 'HTTP2-Settings';
64
+ this.m42_1 = 'If';
65
+ this.n42_1 = 'If-Match';
66
+ this.o42_1 = 'If-Modified-Since';
67
+ this.p42_1 = 'If-None-Match';
68
+ this.q42_1 = 'If-Range';
69
+ this.r42_1 = 'If-Schedule-Tag-Match';
70
+ this.s42_1 = 'If-Unmodified-Since';
71
+ this.t42_1 = 'Last-Modified';
72
+ this.u42_1 = 'Location';
73
+ this.v42_1 = 'Lock-Token';
74
+ this.w42_1 = 'Link';
75
+ this.x42_1 = 'Max-Forwards';
76
+ this.y42_1 = 'MIME-Version';
77
+ this.z42_1 = 'Ordering-Type';
78
+ this.a43_1 = 'Origin';
79
+ this.b43_1 = 'Overwrite';
80
+ this.c43_1 = 'Position';
81
+ this.d43_1 = 'Pragma';
82
+ this.e43_1 = 'Prefer';
83
+ this.f43_1 = 'Preference-Applied';
84
+ this.g43_1 = 'Proxy-Authenticate';
85
+ this.h43_1 = 'Proxy-Authentication-Info';
86
+ this.i43_1 = 'Proxy-Authorization';
87
+ this.j43_1 = 'Public-Key-Pins';
88
+ this.k43_1 = 'Public-Key-Pins-Report-Only';
89
+ this.l43_1 = 'Range';
90
+ this.m43_1 = 'Referer';
91
+ this.n43_1 = 'Retry-After';
92
+ this.o43_1 = 'Schedule-Reply';
93
+ this.p43_1 = 'Schedule-Tag';
94
+ this.q43_1 = 'Sec-WebSocket-Accept';
95
+ this.r43_1 = 'Sec-WebSocket-Extensions';
96
+ this.s43_1 = 'Sec-WebSocket-Key';
97
+ this.t43_1 = 'Sec-WebSocket-Protocol';
98
+ this.u43_1 = 'Sec-WebSocket-Version';
99
+ this.v43_1 = 'Server';
100
+ this.w43_1 = 'Set-Cookie';
101
+ this.x43_1 = 'SLUG';
102
+ this.y43_1 = 'Strict-Transport-Security';
103
+ this.z43_1 = 'TE';
104
+ this.a44_1 = 'Timeout';
105
+ this.b44_1 = 'Trailer';
106
+ this.c44_1 = 'Transfer-Encoding';
107
+ this.d44_1 = 'Upgrade';
108
+ this.e44_1 = 'User-Agent';
109
+ this.f44_1 = 'Vary';
110
+ this.g44_1 = 'Via';
111
+ this.h44_1 = 'Warning';
112
+ this.i44_1 = 'WWW-Authenticate';
113
+ this.j44_1 = 'Access-Control-Allow-Origin';
114
+ this.k44_1 = 'Access-Control-Allow-Methods';
115
+ this.l44_1 = 'Access-Control-Allow-Credentials';
116
+ this.m44_1 = 'Access-Control-Allow-Headers';
117
+ this.n44_1 = 'Access-Control-Request-Method';
118
+ this.o44_1 = 'Access-Control-Request-Headers';
119
+ this.p44_1 = 'Access-Control-Expose-Headers';
120
+ this.q44_1 = 'Access-Control-Max-Age';
121
+ this.r44_1 = 'X-Http-Method-Override';
122
+ this.s44_1 = 'X-Forwarded-Host';
123
+ this.t44_1 = 'X-Forwarded-Server';
124
+ this.u44_1 = 'X-Forwarded-Proto';
125
+ this.v44_1 = 'X-Forwarded-For';
126
+ this.w44_1 = 'X-Forwarded-Port';
127
+ this.x44_1 = 'X-Request-ID';
128
+ this.y44_1 = 'X-Correlation-ID';
129
+ this.z44_1 = 'X-Total-Count';
130
130
  var tmp = this;
131
131
  // Inline function 'kotlin.arrayOf' call
132
132
  // Inline function 'kotlin.js.unsafeCast' call
133
133
  // Inline function 'kotlin.js.asDynamic' call
134
- tmp.m44_1 = [this.o43_1, this.p43_1];
135
- this.n44_1 = asList(this.m44_1);
134
+ tmp.a45_1 = [this.c44_1, this.d44_1];
135
+ this.b45_1 = asList(this.a45_1);
136
136
  }
137
- o44(name) {
137
+ c45(name) {
138
138
  // Inline function 'kotlin.text.forEachIndexed' call
139
139
  var index = 0;
140
140
  var inductionVariable = 0;
@@ -144,11 +144,11 @@ function HttpHeaders() {
144
144
  var _unary__edvuaz = index;
145
145
  index = _unary__edvuaz + 1 | 0;
146
146
  if (Char__compareTo_impl_ypi4mb(item, _Char___init__impl__6a9atx(32)) <= 0 || isDelimiter(item)) {
147
- throw IllegalHeaderNameException().y44(name, _unary__edvuaz);
147
+ throw IllegalHeaderNameException().m45(name, _unary__edvuaz);
148
148
  }
149
149
  }
150
150
  }
151
- p44(value) {
151
+ d45(value) {
152
152
  // Inline function 'kotlin.text.forEachIndexed' call
153
153
  var index = 0;
154
154
  var inductionVariable = 0;
@@ -158,7 +158,7 @@ function HttpHeaders() {
158
158
  var _unary__edvuaz = index;
159
159
  index = _unary__edvuaz + 1 | 0;
160
160
  if (Char__compareTo_impl_ypi4mb(item, _Char___init__impl__6a9atx(32)) < 0 && !(item === _Char___init__impl__6a9atx(9))) {
161
- throw IllegalHeaderValueException().f45(value, _unary__edvuaz);
161
+ throw IllegalHeaderValueException().t45(value, _unary__edvuaz);
162
162
  }
163
163
  }
164
164
  }
@@ -181,15 +181,15 @@ var IllegalHeaderNameExceptionClass;
181
181
  function IllegalHeaderNameException() {
182
182
  if (IllegalHeaderNameExceptionClass === VOID) {
183
183
  class $ extends IllegalArgumentException() {
184
- static y44(headerName, position) {
184
+ static m45(headerName, position) {
185
185
  var tmp = "Header name '" + headerName + "' contains illegal character '" + toString(charCodeAt(headerName, position)) + "'";
186
186
  // Inline function 'kotlin.code' call
187
187
  var this_0 = charCodeAt(headerName, position);
188
188
  var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
189
189
  var $this = this.u(tmp + (' (code ' + (tmp$ret$0 & 255) + ')'));
190
- captureStack($this, $this.x44_1);
191
- $this.v44_1 = headerName;
192
- $this.w44_1 = position;
190
+ captureStack($this, $this.l45_1);
191
+ $this.j45_1 = headerName;
192
+ $this.k45_1 = position;
193
193
  return $this;
194
194
  }
195
195
  }
@@ -202,15 +202,15 @@ var IllegalHeaderValueExceptionClass;
202
202
  function IllegalHeaderValueException() {
203
203
  if (IllegalHeaderValueExceptionClass === VOID) {
204
204
  class $ extends IllegalArgumentException() {
205
- static f45(headerValue, position) {
205
+ static t45(headerValue, position) {
206
206
  var tmp = "Header value '" + headerValue + "' contains illegal character '" + toString(charCodeAt(headerValue, position)) + "'";
207
207
  // Inline function 'kotlin.code' call
208
208
  var this_0 = charCodeAt(headerValue, position);
209
209
  var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
210
210
  var $this = this.u(tmp + (' (code ' + (tmp$ret$0 & 255) + ')'));
211
- captureStack($this, $this.e45_1);
212
- $this.c45_1 = headerValue;
213
- $this.d45_1 = position;
211
+ captureStack($this, $this.s45_1);
212
+ $this.q45_1 = headerValue;
213
+ $this.r45_1 = position;
214
214
  return $this;
215
215
  }
216
216
  }
@@ -223,9 +223,9 @@ var UnsafeHeaderExceptionClass;
223
223
  function UnsafeHeaderException() {
224
224
  if (UnsafeHeaderExceptionClass === VOID) {
225
225
  class $ extends IllegalArgumentException() {
226
- static k45(header) {
226
+ static y45(header) {
227
227
  var $this = this.u('Header(s) ' + header + ' are controlled by the engine and ' + 'cannot be set explicitly');
228
- captureStack($this, $this.j45_1);
228
+ captureStack($this, $this.x45_1);
229
229
  return $this;
230
230
  }
231
231
  }
@@ -9,7 +9,7 @@ import {
9
9
  //region block: pre-declaration
10
10
  //endregion
11
11
  function contentLength(_this__u8e3s4) {
12
- var tmp0_safe_receiver = _this__u8e3s4.l45().o3r(HttpHeaders_getInstance().h41_1);
12
+ var tmp0_safe_receiver = _this__u8e3s4.z45().c3s(HttpHeaders_getInstance().v41_1);
13
13
  return tmp0_safe_receiver == null ? null : toLong(tmp0_safe_receiver);
14
14
  }
15
15
  function charset_0(_this__u8e3s4) {
@@ -17,7 +17,7 @@ function charset_0(_this__u8e3s4) {
17
17
  return tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
18
18
  }
19
19
  function contentType(_this__u8e3s4) {
20
- var tmp0_safe_receiver = _this__u8e3s4.l45().o3r(HttpHeaders_getInstance().k41_1);
20
+ var tmp0_safe_receiver = _this__u8e3s4.z45().c3s(HttpHeaders_getInstance().y41_1);
21
21
  var tmp;
22
22
  if (tmp0_safe_receiver == null) {
23
23
  tmp = null;
@@ -28,10 +28,10 @@ function contentType(_this__u8e3s4) {
28
28
  return tmp;
29
29
  }
30
30
  function contentType_0(_this__u8e3s4, type) {
31
- return _this__u8e3s4.l45().b3t(HttpHeaders_getInstance().k41_1, type.toString());
31
+ return _this__u8e3s4.z45().p3t(HttpHeaders_getInstance().y41_1, type.toString());
32
32
  }
33
33
  function contentType_1(_this__u8e3s4) {
34
- var tmp0_safe_receiver = _this__u8e3s4.l45().o3r(HttpHeaders_getInstance().k41_1);
34
+ var tmp0_safe_receiver = _this__u8e3s4.z45().c3s(HttpHeaders_getInstance().y41_1);
35
35
  var tmp;
36
36
  if (tmp0_safe_receiver == null) {
37
37
  tmp = null;
@@ -22,14 +22,14 @@ function Companion() {
22
22
  class $ {
23
23
  constructor() {
24
24
  Companion_instance = this;
25
- this.m45_1 = new (HttpMethod())('GET');
26
- this.n45_1 = new (HttpMethod())('POST');
27
- this.o45_1 = new (HttpMethod())('PUT');
28
- this.p45_1 = new (HttpMethod())('PATCH');
29
- this.q45_1 = new (HttpMethod())('DELETE');
30
- this.r45_1 = new (HttpMethod())('HEAD');
31
- this.s45_1 = new (HttpMethod())('OPTIONS');
32
- this.t45_1 = listOf([this.m45_1, this.n45_1, this.o45_1, this.p45_1, this.q45_1, this.r45_1, this.s45_1]);
25
+ this.a46_1 = new (HttpMethod())('GET');
26
+ this.b46_1 = new (HttpMethod())('POST');
27
+ this.c46_1 = new (HttpMethod())('PUT');
28
+ this.d46_1 = new (HttpMethod())('PATCH');
29
+ this.e46_1 = new (HttpMethod())('DELETE');
30
+ this.f46_1 = new (HttpMethod())('HEAD');
31
+ this.g46_1 = new (HttpMethod())('OPTIONS');
32
+ this.h46_1 = listOf([this.a46_1, this.b46_1, this.c46_1, this.d46_1, this.e46_1, this.f46_1, this.g46_1]);
33
33
  }
34
34
  }
35
35
  initMetadataForCompanion($);
@@ -49,13 +49,13 @@ function HttpMethod() {
49
49
  class $ {
50
50
  constructor(value) {
51
51
  Companion_getInstance();
52
- this.u45_1 = value;
52
+ this.i46_1 = value;
53
53
  }
54
54
  toString() {
55
- return this.u45_1;
55
+ return this.i46_1;
56
56
  }
57
57
  hashCode() {
58
- return getStringHashCode(this.u45_1);
58
+ return getStringHashCode(this.i46_1);
59
59
  }
60
60
  equals(other) {
61
61
  if (this === other)
@@ -63,7 +63,7 @@ function HttpMethod() {
63
63
  if (!(other instanceof HttpMethod()))
64
64
  return false;
65
65
  var tmp0_other_with_cast = other instanceof HttpMethod() ? other : THROW_CCE();
66
- if (!(this.u45_1 === tmp0_other_with_cast.u45_1))
66
+ if (!(this.i46_1 === tmp0_other_with_cast.i46_1))
67
67
  return false;
68
68
  return true;
69
69
  }
@@ -81,7 +81,7 @@ var properties_initialized_HttpMethod_kt_ogor3f;
81
81
  function _init_properties_HttpMethod_kt__cbus5z() {
82
82
  if (!properties_initialized_HttpMethod_kt_ogor3f) {
83
83
  properties_initialized_HttpMethod_kt_ogor3f = true;
84
- REQUESTS_WITHOUT_BODY = setOf([Companion_getInstance().m45_1, Companion_getInstance().r45_1, Companion_getInstance().s45_1, new (HttpMethod())('TRACE')]);
84
+ REQUESTS_WITHOUT_BODY = setOf([Companion_getInstance().a46_1, Companion_getInstance().f46_1, Companion_getInstance().g46_1, new (HttpMethod())('TRACE')]);
85
85
  }
86
86
  }
87
87
  //region block: exports
@@ -23,14 +23,14 @@ function Companion() {
23
23
  class $ {
24
24
  constructor() {
25
25
  Companion_instance = this;
26
- this.v45_1 = new (HttpProtocolVersion())('HTTP', 2, 0);
27
- this.w45_1 = new (HttpProtocolVersion())('HTTP', 1, 1);
28
- this.x45_1 = new (HttpProtocolVersion())('HTTP', 1, 0);
29
- this.y45_1 = new (HttpProtocolVersion())('SPDY', 3, 0);
30
- this.z45_1 = new (HttpProtocolVersion())('QUIC', 1, 0);
26
+ this.j46_1 = new (HttpProtocolVersion())('HTTP', 2, 0);
27
+ this.k46_1 = new (HttpProtocolVersion())('HTTP', 1, 1);
28
+ this.l46_1 = new (HttpProtocolVersion())('HTTP', 1, 0);
29
+ this.m46_1 = new (HttpProtocolVersion())('SPDY', 3, 0);
30
+ this.n46_1 = new (HttpProtocolVersion())('QUIC', 1, 0);
31
31
  }
32
- a46(name, major, minor) {
33
- return name === 'HTTP' && major === 1 && minor === 0 ? this.x45_1 : name === 'HTTP' && major === 1 && minor === 1 ? this.w45_1 : name === 'HTTP' && major === 2 && minor === 0 ? this.v45_1 : new (HttpProtocolVersion())(name, major, minor);
32
+ o46(name, major, minor) {
33
+ return name === 'HTTP' && major === 1 && minor === 0 ? this.l46_1 : name === 'HTTP' && major === 1 && minor === 1 ? this.k46_1 : name === 'HTTP' && major === 2 && minor === 0 ? this.j46_1 : new (HttpProtocolVersion())(name, major, minor);
34
34
  }
35
35
  h1l(value) {
36
36
  // Inline function 'kotlin.also' call
@@ -46,7 +46,7 @@ function Companion() {
46
46
  var major = this_0.j1(1);
47
47
  // Inline function 'kotlin.collections.component3' call
48
48
  var minor = this_0.j1(2);
49
- return this.a46(protocol, toInt(major), toInt(minor));
49
+ return this.o46(protocol, toInt(major), toInt(minor));
50
50
  }
51
51
  }
52
52
  initMetadataForCompanion($);
@@ -66,17 +66,17 @@ function HttpProtocolVersion() {
66
66
  class $ {
67
67
  constructor(name, major, minor) {
68
68
  Companion_getInstance();
69
- this.b46_1 = name;
70
- this.c46_1 = major;
71
- this.d46_1 = minor;
69
+ this.p46_1 = name;
70
+ this.q46_1 = major;
71
+ this.r46_1 = minor;
72
72
  }
73
73
  toString() {
74
- return this.b46_1 + '/' + this.c46_1 + '.' + this.d46_1;
74
+ return this.p46_1 + '/' + this.q46_1 + '.' + this.r46_1;
75
75
  }
76
76
  hashCode() {
77
- var result = getStringHashCode(this.b46_1);
78
- result = imul(result, 31) + this.c46_1 | 0;
79
- result = imul(result, 31) + this.d46_1 | 0;
77
+ var result = getStringHashCode(this.p46_1);
78
+ result = imul(result, 31) + this.q46_1 | 0;
79
+ result = imul(result, 31) + this.r46_1 | 0;
80
80
  return result;
81
81
  }
82
82
  equals(other) {
@@ -85,11 +85,11 @@ function HttpProtocolVersion() {
85
85
  if (!(other instanceof HttpProtocolVersion()))
86
86
  return false;
87
87
  var tmp0_other_with_cast = other instanceof HttpProtocolVersion() ? other : THROW_CCE();
88
- if (!(this.b46_1 === tmp0_other_with_cast.b46_1))
88
+ if (!(this.p46_1 === tmp0_other_with_cast.p46_1))
89
89
  return false;
90
- if (!(this.c46_1 === tmp0_other_with_cast.c46_1))
90
+ if (!(this.q46_1 === tmp0_other_with_cast.q46_1))
91
91
  return false;
92
- if (!(this.d46_1 === tmp0_other_with_cast.d46_1))
92
+ if (!(this.r46_1 === tmp0_other_with_cast.r46_1))
93
93
  return false;
94
94
  return true;
95
95
  }