@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
@@ -10,10 +10,10 @@ var ConnectTimeoutExceptionClass;
10
10
  function ConnectTimeoutException() {
11
11
  if (ConnectTimeoutExceptionClass === VOID) {
12
12
  class $ extends IOException() {
13
- static g5r(message, cause) {
13
+ static u5r(message, cause) {
14
14
  cause = cause === VOID ? null : cause;
15
- var $this = this.m2u(message, cause);
16
- captureStack($this, $this.f5r_1);
15
+ var $this = this.a2v(message, cause);
16
+ captureStack($this, $this.t5r_1);
17
17
  return $this;
18
18
  }
19
19
  }
@@ -54,18 +54,18 @@ function AfterRenderHook$install$slambda() {
54
54
  constructor($handler, resultContinuation, $box) {
55
55
  if ($box === VOID)
56
56
  $box = {};
57
- $box.o58_1 = $handler;
57
+ $box.c59_1 = $handler;
58
58
  super(resultContinuation, $box);
59
59
  }
60
- s4y($this$intercept, content, $completion) {
61
- var tmp = this.t4y($this$intercept, content, $completion);
60
+ g4z($this$intercept, content, $completion) {
61
+ var tmp = this.h4z($this$intercept, content, $completion);
62
62
  tmp.cc_1 = Unit_instance;
63
63
  tmp.dc_1 = null;
64
64
  return tmp.ic();
65
65
  }
66
66
  ld(p1, p2, $completion) {
67
67
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
68
- return this.s4y(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
68
+ return this.g4z(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
69
69
  }
70
70
  ic() {
71
71
  var suspendResult = this.cc_1;
@@ -75,29 +75,29 @@ function AfterRenderHook$install$slambda() {
75
75
  switch (tmp) {
76
76
  case 0:
77
77
  this.bc_1 = 3;
78
- var tmp_0 = this.q58_1;
78
+ var tmp_0 = this.e59_1;
79
79
  if (!(tmp_0 instanceof OutgoingContent()))
80
80
  return Unit_instance;
81
81
  this.ac_1 = 1;
82
- suspendResult = this.o58_1(this.p58_1.h3w_1, this.q58_1, this);
82
+ suspendResult = this.c59_1(this.d59_1.v3w_1, this.e59_1, this);
83
83
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
84
84
  return suspendResult;
85
85
  }
86
86
 
87
87
  continue $sm;
88
88
  case 1:
89
- this.r58_1 = suspendResult;
89
+ this.f59_1 = suspendResult;
90
90
  var tmp_1 = this;
91
91
  var tmp_2;
92
- if (this.r58_1 == null) {
92
+ if (this.f59_1 == null) {
93
93
  return Unit_instance;
94
94
  } else {
95
- tmp_2 = this.r58_1;
95
+ tmp_2 = this.f59_1;
96
96
  }
97
97
 
98
- tmp_1.s58_1 = tmp_2;
98
+ tmp_1.g59_1 = tmp_2;
99
99
  this.ac_1 = 2;
100
- suspendResult = this.p58_1.j3v(this.s58_1, this);
100
+ suspendResult = this.d59_1.x3v(this.g59_1, this);
101
101
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
102
102
  return suspendResult;
103
103
  }
@@ -119,10 +119,10 @@ function AfterRenderHook$install$slambda() {
119
119
  }
120
120
  while (true);
121
121
  }
122
- t4y($this$intercept, content, completion) {
123
- var i = new (AfterRenderHook$install$slambda())(this.o58_1, completion);
124
- i.p58_1 = $this$intercept;
125
- i.q58_1 = content;
122
+ h4z($this$intercept, content, completion) {
123
+ var i = new (AfterRenderHook$install$slambda())(this.c59_1, completion);
124
+ i.d59_1 = $this$intercept;
125
+ i.e59_1 = content;
126
126
  return i;
127
127
  }
128
128
  }
@@ -134,7 +134,7 @@ function AfterRenderHook$install$slambda() {
134
134
  function AfterRenderHook$install$slambda_0($handler, resultContinuation) {
135
135
  var i = new (AfterRenderHook$install$slambda())($handler, resultContinuation);
136
136
  var l = function ($this$intercept, content, $completion) {
137
- return i.s4y($this$intercept, content, $completion);
137
+ return i.g4z($this$intercept, content, $completion);
138
138
  };
139
139
  l.$arity = 2;
140
140
  return l;
@@ -143,13 +143,13 @@ var AfterRenderHookClass;
143
143
  function AfterRenderHook() {
144
144
  if (AfterRenderHookClass === VOID) {
145
145
  class $ {
146
- t58(client, handler) {
146
+ h59(client, handler) {
147
147
  var observableContentPhase = new (PipelinePhase())('ObservableContent');
148
- client.y4x_1.i3w(Phases_getInstance().x58_1, observableContentPhase);
149
- client.y4x_1.l3w(observableContentPhase, AfterRenderHook$install$slambda_0(handler, null));
148
+ client.m4y_1.w3w(Phases_getInstance().l59_1, observableContentPhase);
149
+ client.m4y_1.z3w(observableContentPhase, AfterRenderHook$install$slambda_0(handler, null));
150
150
  }
151
- z58(client, handler) {
152
- return this.t58(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
151
+ n59(client, handler) {
152
+ return this.h59(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
153
153
  }
154
154
  }
155
155
  initMetadataForObject($, 'AfterRenderHook');
@@ -168,18 +168,18 @@ function AfterReceiveHook$install$slambda() {
168
168
  constructor($handler, resultContinuation, $box) {
169
169
  if ($box === VOID)
170
170
  $box = {};
171
- $box.i59_1 = $handler;
171
+ $box.w59_1 = $handler;
172
172
  super(resultContinuation, $box);
173
173
  }
174
- m59($this$intercept, response, $completion) {
175
- var tmp = this.n59($this$intercept, response, $completion);
174
+ a5a($this$intercept, response, $completion) {
175
+ var tmp = this.b5a($this$intercept, response, $completion);
176
176
  tmp.cc_1 = Unit_instance;
177
177
  tmp.dc_1 = null;
178
178
  return tmp.ic();
179
179
  }
180
180
  ld(p1, p2, $completion) {
181
181
  var tmp = p1 instanceof PipelineContext() ? p1 : THROW_CCE();
182
- return this.m59(tmp, p2 instanceof HttpResponse() ? p2 : THROW_CCE(), $completion);
182
+ return this.a5a(tmp, p2 instanceof HttpResponse() ? p2 : THROW_CCE(), $completion);
183
183
  }
184
184
  ic() {
185
185
  var suspendResult = this.cc_1;
@@ -190,17 +190,17 @@ function AfterReceiveHook$install$slambda() {
190
190
  case 0:
191
191
  this.bc_1 = 4;
192
192
  this.ac_1 = 1;
193
- suspendResult = this.i59_1(this.k59_1, this);
193
+ suspendResult = this.w59_1(this.y59_1, this);
194
194
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
195
195
  return suspendResult;
196
196
  }
197
197
 
198
198
  continue $sm;
199
199
  case 1:
200
- this.l59_1 = suspendResult;
201
- if (!(this.l59_1 == null)) {
200
+ this.z59_1 = suspendResult;
201
+ if (!(this.z59_1 == null)) {
202
202
  this.ac_1 = 2;
203
- suspendResult = this.j59_1.j3v(this.l59_1, this);
203
+ suspendResult = this.x59_1.x3v(this.z59_1, this);
204
204
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
205
205
  return suspendResult;
206
206
  }
@@ -229,10 +229,10 @@ function AfterReceiveHook$install$slambda() {
229
229
  }
230
230
  while (true);
231
231
  }
232
- n59($this$intercept, response, completion) {
233
- var i = new (AfterReceiveHook$install$slambda())(this.i59_1, completion);
234
- i.j59_1 = $this$intercept;
235
- i.k59_1 = response;
232
+ b5a($this$intercept, response, completion) {
233
+ var i = new (AfterReceiveHook$install$slambda())(this.w59_1, completion);
234
+ i.x59_1 = $this$intercept;
235
+ i.y59_1 = response;
236
236
  return i;
237
237
  }
238
238
  }
@@ -244,7 +244,7 @@ function AfterReceiveHook$install$slambda() {
244
244
  function AfterReceiveHook$install$slambda_0($handler, resultContinuation) {
245
245
  var i = new (AfterReceiveHook$install$slambda())($handler, resultContinuation);
246
246
  var l = function ($this$intercept, response, $completion) {
247
- return i.m59($this$intercept, response, $completion);
247
+ return i.a5a($this$intercept, response, $completion);
248
248
  };
249
249
  l.$arity = 2;
250
250
  return l;
@@ -253,12 +253,12 @@ var AfterReceiveHookClass;
253
253
  function AfterReceiveHook() {
254
254
  if (AfterReceiveHookClass === VOID) {
255
255
  class $ {
256
- o59(client, handler) {
257
- var tmp = Phases_getInstance_0().r59_1;
258
- client.b4y_1.l3w(tmp, AfterReceiveHook$install$slambda_0(handler, null));
256
+ c5a(client, handler) {
257
+ var tmp = Phases_getInstance_0().f5a_1;
258
+ client.p4y_1.z3w(tmp, AfterReceiveHook$install$slambda_0(handler, null));
259
259
  }
260
- z58(client, handler) {
261
- return this.o59(client, (!(handler == null) ? isSuspendFunction(handler, 1) : false) ? handler : THROW_CCE());
260
+ n59(client, handler) {
261
+ return this.c5a(client, (!(handler == null) ? isSuspendFunction(handler, 1) : false) ? handler : THROW_CCE());
262
262
  }
263
263
  }
264
264
  initMetadataForObject($, 'AfterReceiveHook');
@@ -272,31 +272,31 @@ function AfterReceiveHook_getInstance() {
272
272
  }
273
273
  function withObservableDownload(_this__u8e3s4, listener) {
274
274
  _init_properties_BodyProgress_kt__s0v569();
275
- var observableByteChannel = observable(_this__u8e3s4.f52(), _this__u8e3s4.s1x(), contentLength(_this__u8e3s4), listener);
276
- var tmp = _this__u8e3s4.x51();
277
- return replaceResponse(tmp, VOID, withObservableDownload$lambda(observableByteChannel)).z4y();
275
+ var observableByteChannel = observable(_this__u8e3s4.t52(), _this__u8e3s4.s1x(), contentLength(_this__u8e3s4), listener);
276
+ var tmp = _this__u8e3s4.l52();
277
+ return replaceResponse(tmp, VOID, withObservableDownload$lambda(observableByteChannel)).n4z();
278
278
  }
279
279
  function BodyProgress$lambda($this$createClientPlugin) {
280
280
  _init_properties_BodyProgress_kt__s0v569();
281
281
  var tmp = AfterRenderHook_instance;
282
- $this$createClientPlugin.x59(tmp, BodyProgress$lambda$slambda_0(null));
282
+ $this$createClientPlugin.l5a(tmp, BodyProgress$lambda$slambda_0(null));
283
283
  var tmp_0 = AfterReceiveHook_instance;
284
- $this$createClientPlugin.x59(tmp_0, BodyProgress$lambda$slambda_2(null));
284
+ $this$createClientPlugin.l5a(tmp_0, BodyProgress$lambda$slambda_2(null));
285
285
  return Unit_instance;
286
286
  }
287
287
  var BodyProgress$lambda$slambdaClass;
288
288
  function BodyProgress$lambda$slambda() {
289
289
  if (BodyProgress$lambda$slambdaClass === VOID) {
290
290
  class $ extends CoroutineImpl() {
291
- i5a(request, content, $completion) {
292
- var tmp = this.j5a(request, content, $completion);
291
+ w5a(request, content, $completion) {
292
+ var tmp = this.x5a(request, content, $completion);
293
293
  tmp.cc_1 = Unit_instance;
294
294
  tmp.dc_1 = null;
295
295
  return tmp.ic();
296
296
  }
297
297
  ld(p1, p2, $completion) {
298
298
  var tmp = p1 instanceof HttpRequestBuilder() ? p1 : THROW_CCE();
299
- return this.i5a(tmp, p2 instanceof OutgoingContent() ? p2 : THROW_CCE(), $completion);
299
+ return this.w5a(tmp, p2 instanceof OutgoingContent() ? p2 : THROW_CCE(), $completion);
300
300
  }
301
301
  ic() {
302
302
  var suspendResult = this.cc_1;
@@ -305,7 +305,7 @@ function BodyProgress$lambda$slambda() {
305
305
  var tmp = this.ac_1;
306
306
  if (tmp === 0) {
307
307
  this.bc_1 = 1;
308
- var tmp0_elvis_lhs = this.g5a_1.e50_1.e3r(get_UploadProgressListenerAttributeKey());
308
+ var tmp0_elvis_lhs = this.u5a_1.s50_1.s3r(get_UploadProgressListenerAttributeKey());
309
309
  var tmp_0;
310
310
  if (tmp0_elvis_lhs == null) {
311
311
  return null;
@@ -313,7 +313,7 @@ function BodyProgress$lambda$slambda() {
313
313
  tmp_0 = tmp0_elvis_lhs;
314
314
  }
315
315
  var listener = tmp_0;
316
- return new (ObservableContent())(this.h5a_1, this.g5a_1.d50_1, listener);
316
+ return new (ObservableContent())(this.v5a_1, this.u5a_1.r50_1, listener);
317
317
  } else if (tmp === 1) {
318
318
  throw this.dc_1;
319
319
  }
@@ -323,10 +323,10 @@ function BodyProgress$lambda$slambda() {
323
323
  }
324
324
  while (true);
325
325
  }
326
- j5a(request, content, completion) {
326
+ x5a(request, content, completion) {
327
327
  var i = new (BodyProgress$lambda$slambda())(completion);
328
- i.g5a_1 = request;
329
- i.h5a_1 = content;
328
+ i.u5a_1 = request;
329
+ i.v5a_1 = content;
330
330
  return i;
331
331
  }
332
332
  }
@@ -338,7 +338,7 @@ function BodyProgress$lambda$slambda() {
338
338
  function BodyProgress$lambda$slambda_0(resultContinuation) {
339
339
  var i = new (BodyProgress$lambda$slambda())(resultContinuation);
340
340
  var l = function (request, content, $completion) {
341
- return i.i5a(request, content, $completion);
341
+ return i.w5a(request, content, $completion);
342
342
  };
343
343
  l.$arity = 2;
344
344
  return l;
@@ -347,14 +347,14 @@ var BodyProgress$lambda$slambdaClass_0;
347
347
  function BodyProgress$lambda$slambda_1() {
348
348
  if (BodyProgress$lambda$slambdaClass_0 === VOID) {
349
349
  class $ extends CoroutineImpl() {
350
- t5a(response, $completion) {
351
- var tmp = this.u5a(response, $completion);
350
+ h5b(response, $completion) {
351
+ var tmp = this.i5b(response, $completion);
352
352
  tmp.cc_1 = Unit_instance;
353
353
  tmp.dc_1 = null;
354
354
  return tmp.ic();
355
355
  }
356
356
  kd(p1, $completion) {
357
- return this.t5a(p1 instanceof HttpResponse() ? p1 : THROW_CCE(), $completion);
357
+ return this.h5b(p1 instanceof HttpResponse() ? p1 : THROW_CCE(), $completion);
358
358
  }
359
359
  ic() {
360
360
  var suspendResult = this.cc_1;
@@ -363,7 +363,7 @@ function BodyProgress$lambda$slambda_1() {
363
363
  var tmp = this.ac_1;
364
364
  if (tmp === 0) {
365
365
  this.bc_1 = 1;
366
- var tmp0_elvis_lhs = this.s5a_1.x51().q51().r51().e3r(get_DownloadProgressListenerAttributeKey());
366
+ var tmp0_elvis_lhs = this.g5b_1.l52().e52().f52().s3r(get_DownloadProgressListenerAttributeKey());
367
367
  var tmp_0;
368
368
  if (tmp0_elvis_lhs == null) {
369
369
  return null;
@@ -371,7 +371,7 @@ function BodyProgress$lambda$slambda_1() {
371
371
  tmp_0 = tmp0_elvis_lhs;
372
372
  }
373
373
  var listener = tmp_0;
374
- return withObservableDownload(this.s5a_1, listener);
374
+ return withObservableDownload(this.g5b_1, listener);
375
375
  } else if (tmp === 1) {
376
376
  throw this.dc_1;
377
377
  }
@@ -381,9 +381,9 @@ function BodyProgress$lambda$slambda_1() {
381
381
  }
382
382
  while (true);
383
383
  }
384
- u5a(response, completion) {
384
+ i5b(response, completion) {
385
385
  var i = new (BodyProgress$lambda$slambda_1())(completion);
386
- i.s5a_1 = response;
386
+ i.g5b_1 = response;
387
387
  return i;
388
388
  }
389
389
  }
@@ -395,7 +395,7 @@ function BodyProgress$lambda$slambda_1() {
395
395
  function BodyProgress$lambda$slambda_2(resultContinuation) {
396
396
  var i = new (BodyProgress$lambda$slambda_1())(resultContinuation);
397
397
  var l = function (response, $completion) {
398
- return i.t5a(response, $completion);
398
+ return i.h5b(response, $completion);
399
399
  };
400
400
  l.$arity = 1;
401
401
  return l;
@@ -50,10 +50,10 @@ var ResponseExceptionClass;
50
50
  function ResponseException() {
51
51
  if (ResponseExceptionClass === VOID) {
52
52
  class $ extends IllegalStateException() {
53
- static a5b(response, cachedResponseText) {
53
+ static o5b(response, cachedResponseText) {
54
54
  var $this = this.o4('Bad response: ' + response.toString() + '. Text: "' + cachedResponseText + '"');
55
- captureStack($this, $this.z5a_1);
56
- $this.y5a_1 = response;
55
+ captureStack($this, $this.n5b_1);
56
+ $this.m5b_1 = response;
57
57
  return $this;
58
58
  }
59
59
  }
@@ -66,15 +66,15 @@ var RedirectResponseExceptionClass;
66
66
  function RedirectResponseException() {
67
67
  if (RedirectResponseExceptionClass === VOID) {
68
68
  class $ extends ResponseException() {
69
- static i5b(response, cachedResponseText) {
70
- var $this = this.a5b(response, cachedResponseText);
71
- captureStack($this, $this.h5b_1);
72
- $this.g5b_1 = 'Unhandled redirect: ' + response.x51().q51().y51().u45_1 + ' ' + response.x51().q51().z51().toString() + '. ' + ('Status: ' + response.g52().toString() + '. Text: "' + cachedResponseText + '"');
69
+ static w5b(response, cachedResponseText) {
70
+ var $this = this.o5b(response, cachedResponseText);
71
+ captureStack($this, $this.v5b_1);
72
+ $this.u5b_1 = 'Unhandled redirect: ' + response.l52().e52().m52().i46_1 + ' ' + response.l52().e52().n52().toString() + '. ' + ('Status: ' + response.u52().toString() + '. Text: "' + cachedResponseText + '"');
73
73
  delete $this.message;
74
74
  return $this;
75
75
  }
76
76
  fd() {
77
- return this.g5b_1;
77
+ return this.u5b_1;
78
78
  }
79
79
  get message() {
80
80
  return this.fd();
@@ -89,15 +89,15 @@ var ClientRequestExceptionClass;
89
89
  function ClientRequestException() {
90
90
  if (ClientRequestExceptionClass === VOID) {
91
91
  class $ extends ResponseException() {
92
- static q5b(response, cachedResponseText) {
93
- var $this = this.a5b(response, cachedResponseText);
94
- captureStack($this, $this.p5b_1);
95
- $this.o5b_1 = 'Client request(' + response.x51().q51().y51().u45_1 + ' ' + response.x51().q51().z51().toString() + ') ' + ('invalid: ' + response.g52().toString() + '. Text: "' + cachedResponseText + '"');
92
+ static e5c(response, cachedResponseText) {
93
+ var $this = this.o5b(response, cachedResponseText);
94
+ captureStack($this, $this.d5c_1);
95
+ $this.c5c_1 = 'Client request(' + response.l52().e52().m52().i46_1 + ' ' + response.l52().e52().n52().toString() + ') ' + ('invalid: ' + response.u52().toString() + '. Text: "' + cachedResponseText + '"');
96
96
  delete $this.message;
97
97
  return $this;
98
98
  }
99
99
  fd() {
100
- return this.o5b_1;
100
+ return this.c5c_1;
101
101
  }
102
102
  get message() {
103
103
  return this.fd();
@@ -112,15 +112,15 @@ var ServerResponseExceptionClass;
112
112
  function ServerResponseException() {
113
113
  if (ServerResponseExceptionClass === VOID) {
114
114
  class $ extends ResponseException() {
115
- static y5b(response, cachedResponseText) {
116
- var $this = this.a5b(response, cachedResponseText);
117
- captureStack($this, $this.x5b_1);
118
- $this.w5b_1 = 'Server error(' + response.x51().q51().y51().u45_1 + ' ' + response.x51().q51().z51().toString() + ': ' + (response.g52().toString() + '. Text: "' + cachedResponseText + '"');
115
+ static m5c(response, cachedResponseText) {
116
+ var $this = this.o5b(response, cachedResponseText);
117
+ captureStack($this, $this.l5c_1);
118
+ $this.k5c_1 = 'Server error(' + response.l52().e52().m52().i46_1 + ' ' + response.l52().e52().n52().toString() + ': ' + (response.u52().toString() + '. Text: "' + cachedResponseText + '"');
119
119
  delete $this.message;
120
120
  return $this;
121
121
  }
122
122
  fd() {
123
- return this.w5b_1;
123
+ return this.k5c_1;
124
124
  }
125
125
  get message() {
126
126
  return this.fd();
@@ -135,14 +135,14 @@ var addDefaultResponseValidation$lambda$slambdaClass;
135
135
  function addDefaultResponseValidation$lambda$slambda() {
136
136
  if (addDefaultResponseValidation$lambda$slambdaClass === VOID) {
137
137
  class $ extends CoroutineImpl() {
138
- p5c(response, $completion) {
139
- var tmp = this.u5a(response, $completion);
138
+ d5d(response, $completion) {
139
+ var tmp = this.i5b(response, $completion);
140
140
  tmp.cc_1 = Unit_instance;
141
141
  tmp.dc_1 = null;
142
142
  return tmp.ic();
143
143
  }
144
144
  kd(p1, $completion) {
145
- return this.p5c(p1 instanceof HttpResponse() ? p1 : THROW_CCE(), $completion);
145
+ return this.d5d(p1 instanceof HttpResponse() ? p1 : THROW_CCE(), $completion);
146
146
  }
147
147
  ic() {
148
148
  var suspendResult = this.cc_1;
@@ -152,42 +152,42 @@ function addDefaultResponseValidation$lambda$slambda() {
152
152
  switch (tmp) {
153
153
  case 0:
154
154
  this.bc_1 = 5;
155
- this.i5c_1 = this.h5c_1.x51().r51().d3r(get_ExpectSuccessAttributeKey());
156
- if (!this.i5c_1) {
157
- get_LOGGER().s3x('Skipping default response validation for ' + this.h5c_1.x51().q51().z51().toString());
155
+ this.w5c_1 = this.v5c_1.l52().f52().r3r(get_ExpectSuccessAttributeKey());
156
+ if (!this.w5c_1) {
157
+ get_LOGGER().g3y('Skipping default response validation for ' + this.v5c_1.l52().e52().n52().toString());
158
158
  return Unit_instance;
159
159
  }
160
160
 
161
- this.j5c_1 = this.h5c_1.g52().h48_1;
162
- this.k5c_1 = this.h5c_1.x51();
163
- if (this.j5c_1 < 300 || this.k5c_1.r51().f3r(get_ValidateMark())) {
161
+ this.x5c_1 = this.v5c_1.u52().v48_1;
162
+ this.y5c_1 = this.v5c_1.l52();
163
+ if (this.x5c_1 < 300 || this.y5c_1.f52().t3r(get_ValidateMark())) {
164
164
  return Unit_instance;
165
165
  }
166
166
 
167
167
  this.ac_1 = 1;
168
- suspendResult = save(this.k5c_1, this);
168
+ suspendResult = save(this.y5c_1, this);
169
169
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
170
170
  return suspendResult;
171
171
  }
172
172
 
173
173
  continue $sm;
174
174
  case 1:
175
- this.l5c_1 = suspendResult;
175
+ this.z5c_1 = suspendResult;
176
176
  var tmp_0 = this;
177
- var this_0 = this.l5c_1;
178
- this_0.r51().g3r(get_ValidateMark(), Unit_instance);
179
- tmp_0.m5c_1 = this_0;
180
- this.n5c_1 = this.m5c_1.z4y();
177
+ var this_0 = this.z5c_1;
178
+ this_0.f52().u3r(get_ValidateMark(), Unit_instance);
179
+ tmp_0.a5d_1 = this_0;
180
+ this.b5d_1 = this.a5d_1.n4z();
181
181
  this.bc_1 = 3;
182
182
  this.ac_1 = 2;
183
- suspendResult = bodyAsText(this.n5c_1, VOID, this);
183
+ suspendResult = bodyAsText(this.b5d_1, VOID, this);
184
184
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
185
185
  return suspendResult;
186
186
  }
187
187
 
188
188
  continue $sm;
189
189
  case 2:
190
- this.o5c_1 = suspendResult;
190
+ this.c5d_1 = suspendResult;
191
191
  this.bc_1 = 5;
192
192
  this.ac_1 = 4;
193
193
  continue $sm;
@@ -197,7 +197,7 @@ function addDefaultResponseValidation$lambda$slambda() {
197
197
  if (tmp_1 instanceof MalformedInputException()) {
198
198
  var _unused_var__etf5q3 = this.dc_1;
199
199
  var tmp_2 = this;
200
- tmp_2.o5c_1 = '<body failed decoding>';
200
+ tmp_2.c5d_1 = '<body failed decoding>';
201
201
  this.ac_1 = 4;
202
202
  continue $sm;
203
203
  } else {
@@ -206,10 +206,10 @@ function addDefaultResponseValidation$lambda$slambda() {
206
206
 
207
207
  case 4:
208
208
  this.bc_1 = 5;
209
- var exceptionResponseText = this.o5c_1;
210
- var tmp0_subject = this.j5c_1;
211
- var exception = (300 <= tmp0_subject ? tmp0_subject <= 399 : false) ? RedirectResponseException().i5b(this.n5c_1, exceptionResponseText) : (400 <= tmp0_subject ? tmp0_subject <= 499 : false) ? ClientRequestException().q5b(this.n5c_1, exceptionResponseText) : (500 <= tmp0_subject ? tmp0_subject <= 599 : false) ? ServerResponseException().y5b(this.n5c_1, exceptionResponseText) : ResponseException().a5b(this.n5c_1, exceptionResponseText);
212
- get_LOGGER().s3x('Default response validation for ' + this.h5c_1.x51().q51().z51().toString() + ' failed with ' + exception.toString());
209
+ var exceptionResponseText = this.c5d_1;
210
+ var tmp0_subject = this.x5c_1;
211
+ var exception = (300 <= tmp0_subject ? tmp0_subject <= 399 : false) ? RedirectResponseException().w5b(this.b5d_1, exceptionResponseText) : (400 <= tmp0_subject ? tmp0_subject <= 499 : false) ? ClientRequestException().e5c(this.b5d_1, exceptionResponseText) : (500 <= tmp0_subject ? tmp0_subject <= 599 : false) ? ServerResponseException().m5c(this.b5d_1, exceptionResponseText) : ResponseException().o5b(this.b5d_1, exceptionResponseText);
212
+ get_LOGGER().g3y('Default response validation for ' + this.v5c_1.l52().e52().n52().toString() + ' failed with ' + exception.toString());
213
213
  throw exception;
214
214
  case 5:
215
215
  throw this.dc_1;
@@ -225,9 +225,9 @@ function addDefaultResponseValidation$lambda$slambda() {
225
225
  }
226
226
  while (true);
227
227
  }
228
- u5a(response, completion) {
228
+ i5b(response, completion) {
229
229
  var i = new (addDefaultResponseValidation$lambda$slambda())(completion);
230
- i.h5c_1 = response;
230
+ i.v5c_1 = response;
231
231
  return i;
232
232
  }
233
233
  }
@@ -239,15 +239,15 @@ function addDefaultResponseValidation$lambda$slambda() {
239
239
  function addDefaultResponseValidation$lambda$slambda_0(resultContinuation) {
240
240
  var i = new (addDefaultResponseValidation$lambda$slambda())(resultContinuation);
241
241
  var l = function (response, $completion) {
242
- return i.p5c(response, $completion);
242
+ return i.d5d(response, $completion);
243
243
  };
244
244
  l.$arity = 1;
245
245
  return l;
246
246
  }
247
247
  function addDefaultResponseValidation$lambda($this_addDefaultResponseValidation) {
248
248
  return function ($this$HttpResponseValidator) {
249
- $this$HttpResponseValidator.s5c_1 = $this_addDefaultResponseValidation.t50_1;
250
- $this$HttpResponseValidator.t5c(addDefaultResponseValidation$lambda$slambda_0(null));
249
+ $this$HttpResponseValidator.g5d_1 = $this_addDefaultResponseValidation.h51_1;
250
+ $this$HttpResponseValidator.h5d(addDefaultResponseValidation$lambda$slambda_0(null));
251
251
  return Unit_instance;
252
252
  };
253
253
  }