@attocash/commons-js 5.0.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
  40. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
  41. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
  42. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
  43. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
  44. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  45. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  46. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  47. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  48. package/commons-commons-node.mjs +1 -0
  49. package/commons-commons-node.mjs.map +1 -1
  50. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  51. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  52. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  53. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  54. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  55. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  56. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  57. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  58. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  59. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  69. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  70. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  71. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  72. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  73. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  74. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  75. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  76. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  77. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  78. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  79. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  80. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  81. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
  84. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  85. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  86. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  87. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  88. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  89. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  90. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
  91. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
  92. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  93. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  94. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  95. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  96. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  97. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  98. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  99. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
  100. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  101. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
  102. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  103. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  104. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  105. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  106. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  107. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  108. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  109. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
  110. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  111. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
  112. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  113. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  114. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  115. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  116. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  117. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  118. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  119. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  120. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  121. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  122. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  123. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  124. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  125. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  126. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  127. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  128. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  129. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  130. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  131. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  132. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  133. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  134. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  135. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  136. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  137. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  138. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  139. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  140. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  141. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  142. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  143. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  144. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  145. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  146. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  147. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  148. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  149. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  150. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  151. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  152. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  153. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  154. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  155. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  156. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  157. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  158. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  159. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  160. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  161. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  162. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  163. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  164. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  165. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  166. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  167. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  168. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  169. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  170. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  171. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  172. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  173. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  174. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  175. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  176. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  177. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  178. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  179. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  180. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  181. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  182. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  183. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  184. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  185. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  186. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  187. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  188. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  189. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  190. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  191. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  192. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  193. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  194. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  195. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  196. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  197. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  198. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  199. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  200. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  201. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  202. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  203. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  204. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  205. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  206. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  207. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  208. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  209. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  210. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  211. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  212. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  213. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  214. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  215. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  216. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  217. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  218. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  219. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  220. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  221. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  222. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  223. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  224. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  225. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  226. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  227. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  228. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  229. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  230. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  231. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  232. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  233. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  234. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  235. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  236. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  237. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  238. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  239. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  240. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  241. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  242. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  243. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  244. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  245. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  246. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  247. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  248. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  249. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  250. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  251. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  252. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  253. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  254. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  255. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  256. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  257. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  258. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  259. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  260. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  261. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  262. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
  263. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  264. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  265. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  266. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +106 -106
  267. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  268. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  269. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  270. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  271. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  272. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  273. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  274. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  275. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  276. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  277. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  278. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  279. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  280. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  281. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  282. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  283. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  284. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  285. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  286. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  287. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  288. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  289. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  290. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  291. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  292. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  293. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  294. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  295. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  296. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  297. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  298. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  299. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  300. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  301. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  302. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  303. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  304. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  305. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  306. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  307. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  308. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  309. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  310. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  311. package/package.json +1 -1
@@ -29,26 +29,26 @@ function JsonConfiguration() {
29
29
  allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
30
30
  allowComments = allowComments === VOID ? false : allowComments;
31
31
  classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
32
- this.j6h_1 = encodeDefaults;
33
- this.k6h_1 = ignoreUnknownKeys;
34
- this.l6h_1 = isLenient;
35
- this.m6h_1 = allowStructuredMapKeys;
36
- this.n6h_1 = prettyPrint;
37
- this.o6h_1 = explicitNulls;
38
- this.p6h_1 = prettyPrintIndent;
39
- this.q6h_1 = coerceInputValues;
40
- this.r6h_1 = useArrayPolymorphism;
41
- this.s6h_1 = classDiscriminator;
42
- this.t6h_1 = allowSpecialFloatingPointValues;
43
- this.u6h_1 = useAlternativeNames;
44
- this.v6h_1 = namingStrategy;
45
- this.w6h_1 = decodeEnumsCaseInsensitive;
46
- this.x6h_1 = allowTrailingComma;
47
- this.y6h_1 = allowComments;
48
- this.z6h_1 = classDiscriminatorMode;
32
+ this.x6h_1 = encodeDefaults;
33
+ this.y6h_1 = ignoreUnknownKeys;
34
+ this.z6h_1 = isLenient;
35
+ this.a6i_1 = allowStructuredMapKeys;
36
+ this.b6i_1 = prettyPrint;
37
+ this.c6i_1 = explicitNulls;
38
+ this.d6i_1 = prettyPrintIndent;
39
+ this.e6i_1 = coerceInputValues;
40
+ this.f6i_1 = useArrayPolymorphism;
41
+ this.g6i_1 = classDiscriminator;
42
+ this.h6i_1 = allowSpecialFloatingPointValues;
43
+ this.i6i_1 = useAlternativeNames;
44
+ this.j6i_1 = namingStrategy;
45
+ this.k6i_1 = decodeEnumsCaseInsensitive;
46
+ this.l6i_1 = allowTrailingComma;
47
+ this.m6i_1 = allowComments;
48
+ this.n6i_1 = classDiscriminatorMode;
49
49
  }
50
50
  toString() {
51
- return 'JsonConfiguration(encodeDefaults=' + this.j6h_1 + ', ignoreUnknownKeys=' + this.k6h_1 + ', isLenient=' + this.l6h_1 + ', ' + ('allowStructuredMapKeys=' + this.m6h_1 + ', prettyPrint=' + this.n6h_1 + ', explicitNulls=' + this.o6h_1 + ', ') + ("prettyPrintIndent='" + this.p6h_1 + "', coerceInputValues=" + this.q6h_1 + ', useArrayPolymorphism=' + this.r6h_1 + ', ') + ("classDiscriminator='" + this.s6h_1 + "', allowSpecialFloatingPointValues=" + this.t6h_1 + ', ') + ('useAlternativeNames=' + this.u6h_1 + ', namingStrategy=' + toString(this.v6h_1) + ', decodeEnumsCaseInsensitive=' + this.w6h_1 + ', ') + ('allowTrailingComma=' + this.x6h_1 + ', allowComments=' + this.y6h_1 + ', classDiscriminatorMode=' + this.z6h_1.toString() + ')');
51
+ return 'JsonConfiguration(encodeDefaults=' + this.x6h_1 + ', ignoreUnknownKeys=' + this.y6h_1 + ', isLenient=' + this.z6h_1 + ', ' + ('allowStructuredMapKeys=' + this.a6i_1 + ', prettyPrint=' + this.b6i_1 + ', explicitNulls=' + this.c6i_1 + ', ') + ("prettyPrintIndent='" + this.d6i_1 + "', coerceInputValues=" + this.e6i_1 + ', useArrayPolymorphism=' + this.f6i_1 + ', ') + ("classDiscriminator='" + this.g6i_1 + "', allowSpecialFloatingPointValues=" + this.h6i_1 + ', ') + ('useAlternativeNames=' + this.i6i_1 + ', namingStrategy=' + toString(this.j6i_1) + ', decodeEnumsCaseInsensitive=' + this.k6i_1 + ', ') + ('allowTrailingComma=' + this.l6i_1 + ', allowComments=' + this.m6i_1 + ', classDiscriminatorMode=' + this.n6i_1.toString() + ')');
52
52
  }
53
53
  }
54
54
  initMetadataForClass($, 'JsonConfiguration');
@@ -103,48 +103,48 @@ function JsonObject() {
103
103
  class $ extends JsonElement() {
104
104
  constructor(content) {
105
105
  super();
106
- this.c6i_1 = content;
106
+ this.q6i_1 = content;
107
107
  }
108
108
  equals(other) {
109
- return equals(this.c6i_1, other);
109
+ return equals(this.q6i_1, other);
110
110
  }
111
111
  hashCode() {
112
- return hashCode(this.c6i_1);
112
+ return hashCode(this.q6i_1);
113
113
  }
114
114
  toString() {
115
- var tmp = this.c6i_1.q1();
115
+ var tmp = this.q6i_1.q1();
116
116
  return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
117
117
  }
118
118
  j() {
119
- return this.c6i_1.j();
119
+ return this.q6i_1.j();
120
120
  }
121
- n3r(key) {
122
- return this.c6i_1.u2(key);
121
+ b3s(key) {
122
+ return this.q6i_1.u2(key);
123
123
  }
124
124
  u2(key) {
125
125
  if (!(!(key == null) ? typeof key === 'string' : false))
126
126
  return false;
127
- return this.n3r((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
127
+ return this.b3s((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
128
128
  }
129
- o3r(key) {
130
- return this.c6i_1.w2(key);
129
+ c3s(key) {
130
+ return this.q6i_1.w2(key);
131
131
  }
132
132
  w2(key) {
133
133
  if (!(!(key == null) ? typeof key === 'string' : false))
134
134
  return null;
135
- return this.o3r((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
135
+ return this.c3s((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
136
136
  }
137
137
  i1() {
138
- return this.c6i_1.i1();
138
+ return this.q6i_1.i1();
139
139
  }
140
140
  x2() {
141
- return this.c6i_1.x2();
141
+ return this.q6i_1.x2();
142
142
  }
143
143
  y2() {
144
- return this.c6i_1.y2();
144
+ return this.q6i_1.y2();
145
145
  }
146
146
  q1() {
147
- return this.c6i_1.q1();
147
+ return this.q6i_1.q1();
148
148
  }
149
149
  }
150
150
  initMetadataForClass($, 'JsonObject', VOID, VOID, [JsonElement(), KtMap()], VOID, VOID, {0: JsonObjectSerializer_getInstance});
@@ -160,16 +160,16 @@ function JsonNull() {
160
160
  JsonNull_instance = null;
161
161
  super();
162
162
  JsonNull_instance = this;
163
- this.d6i_1 = 'null';
163
+ this.r6i_1 = 'null';
164
164
  }
165
- e6i() {
166
- return this.d6i_1;
165
+ s6i() {
166
+ return this.r6i_1;
167
167
  }
168
- q2u() {
168
+ e2v() {
169
169
  return JsonNullSerializer_getInstance();
170
170
  }
171
171
  x15(typeParamsSerializers) {
172
- return this.q2u();
172
+ return this.e2v();
173
173
  }
174
174
  }
175
175
  initMetadataForObject($, 'JsonNull', VOID, VOID, [JsonPrimitive(), SerializerFactory()], VOID, VOID, {0: JsonNullSerializer_getInstance});
@@ -201,7 +201,7 @@ function JsonPrimitive() {
201
201
  if (JsonPrimitiveClass === VOID) {
202
202
  class $ extends JsonElement() {
203
203
  toString() {
204
- return this.e6i();
204
+ return this.s6i();
205
205
  }
206
206
  }
207
207
  initMetadataForClass($, 'JsonPrimitive', VOID, VOID, VOID, VOID, VOID, {0: JsonPrimitiveSerializer_getInstance});
@@ -222,31 +222,31 @@ function JsonLiteral() {
222
222
  constructor(body, isString, coerceToInlineType) {
223
223
  coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
224
224
  super();
225
- this.f6i_1 = isString;
226
- this.g6i_1 = coerceToInlineType;
227
- this.h6i_1 = toString(body);
228
- if (!(this.g6i_1 == null)) {
225
+ this.t6i_1 = isString;
226
+ this.u6i_1 = coerceToInlineType;
227
+ this.v6i_1 = toString(body);
228
+ if (!(this.u6i_1 == null)) {
229
229
  // Inline function 'kotlin.require' call
230
230
  // Inline function 'kotlin.require' call
231
- if (!this.g6i_1.pv()) {
231
+ if (!this.u6i_1.pv()) {
232
232
  var message = 'Failed requirement.';
233
233
  throw IllegalArgumentException().u(toString(message));
234
234
  }
235
235
  }
236
236
  }
237
- e6i() {
238
- return this.h6i_1;
237
+ s6i() {
238
+ return this.v6i_1;
239
239
  }
240
240
  toString() {
241
241
  var tmp;
242
- if (this.f6i_1) {
242
+ if (this.t6i_1) {
243
243
  // Inline function 'kotlin.text.buildString' call
244
244
  // Inline function 'kotlin.apply' call
245
245
  var this_0 = StringBuilder().a1();
246
- printQuoted(this_0, this.h6i_1);
246
+ printQuoted(this_0, this.v6i_1);
247
247
  tmp = this_0.toString();
248
248
  } else {
249
- tmp = this.h6i_1;
249
+ tmp = this.v6i_1;
250
250
  }
251
251
  return tmp;
252
252
  }
@@ -257,15 +257,15 @@ function JsonLiteral() {
257
257
  return false;
258
258
  if (!(other instanceof JsonLiteral()))
259
259
  THROW_CCE();
260
- if (!(this.f6i_1 === other.f6i_1))
260
+ if (!(this.t6i_1 === other.t6i_1))
261
261
  return false;
262
- if (!(this.h6i_1 === other.h6i_1))
262
+ if (!(this.v6i_1 === other.v6i_1))
263
263
  return false;
264
264
  return true;
265
265
  }
266
266
  hashCode() {
267
- var result = getBooleanHashCode(this.f6i_1);
268
- result = imul(31, result) + getStringHashCode(this.h6i_1) | 0;
267
+ var result = getBooleanHashCode(this.t6i_1);
268
+ result = imul(31, result) + getStringHashCode(this.v6i_1) | 0;
269
269
  return result;
270
270
  }
271
271
  }
@@ -293,56 +293,56 @@ function JsonArray() {
293
293
  class $ extends JsonElement() {
294
294
  constructor(content) {
295
295
  super();
296
- this.i6i_1 = content;
296
+ this.w6i_1 = content;
297
297
  }
298
298
  equals(other) {
299
- return equals(this.i6i_1, other);
299
+ return equals(this.w6i_1, other);
300
300
  }
301
301
  hashCode() {
302
- return hashCode(this.i6i_1);
302
+ return hashCode(this.w6i_1);
303
303
  }
304
304
  toString() {
305
- return joinToString(this.i6i_1, ',', '[', ']');
305
+ return joinToString(this.w6i_1, ',', '[', ']');
306
306
  }
307
307
  j() {
308
- return this.i6i_1.j();
308
+ return this.w6i_1.j();
309
309
  }
310
- j6i(element) {
311
- return this.i6i_1.q2(element);
310
+ x6i(element) {
311
+ return this.w6i_1.q2(element);
312
312
  }
313
313
  q2(element) {
314
314
  if (!(element instanceof JsonElement()))
315
315
  return false;
316
- return this.j6i(element instanceof JsonElement() ? element : THROW_CCE());
316
+ return this.x6i(element instanceof JsonElement() ? element : THROW_CCE());
317
317
  }
318
318
  d1() {
319
- return this.i6i_1.d1();
319
+ return this.w6i_1.d1();
320
320
  }
321
- k6i(elements) {
322
- return this.i6i_1.r2(elements);
321
+ y6i(elements) {
322
+ return this.w6i_1.r2(elements);
323
323
  }
324
324
  r2(elements) {
325
- return this.k6i(elements);
325
+ return this.y6i(elements);
326
326
  }
327
327
  j1(index) {
328
- return this.i6i_1.j1(index);
328
+ return this.w6i_1.j1(index);
329
329
  }
330
- l6i(element) {
331
- return this.i6i_1.s2(element);
330
+ z6i(element) {
331
+ return this.w6i_1.s2(element);
332
332
  }
333
333
  s2(element) {
334
334
  if (!(element instanceof JsonElement()))
335
335
  return -1;
336
- return this.l6i(element instanceof JsonElement() ? element : THROW_CCE());
336
+ return this.z6i(element instanceof JsonElement() ? element : THROW_CCE());
337
337
  }
338
338
  n1(index) {
339
- return this.i6i_1.n1(index);
339
+ return this.w6i_1.n1(index);
340
340
  }
341
341
  t2(fromIndex, toIndex) {
342
- return this.i6i_1.t2(fromIndex, toIndex);
342
+ return this.w6i_1.t2(fromIndex, toIndex);
343
343
  }
344
344
  i1() {
345
- return this.i6i_1.i1();
345
+ return this.w6i_1.i1();
346
346
  }
347
347
  }
348
348
  initMetadataForClass($, 'JsonArray', VOID, VOID, [JsonElement(), KtList()], VOID, VOID, {0: JsonArraySerializer_getInstance});
@@ -352,23 +352,23 @@ function JsonArray() {
352
352
  }
353
353
  function get_booleanOrNull(_this__u8e3s4) {
354
354
  _init_properties_JsonElement_kt__7cbdc2();
355
- return toBooleanStrictOrNull(_this__u8e3s4.e6i());
355
+ return toBooleanStrictOrNull(_this__u8e3s4.s6i());
356
356
  }
357
357
  function parseLongImpl(_this__u8e3s4) {
358
358
  _init_properties_JsonElement_kt__7cbdc2();
359
- return (new (StringJsonLexer())(_this__u8e3s4.e6i())).m6i();
359
+ return (new (StringJsonLexer())(_this__u8e3s4.s6i())).a6j();
360
360
  }
361
361
  function get_float(_this__u8e3s4) {
362
362
  _init_properties_JsonElement_kt__7cbdc2();
363
363
  // Inline function 'kotlin.text.toFloat' call
364
- var this_0 = _this__u8e3s4.e6i();
364
+ var this_0 = _this__u8e3s4.s6i();
365
365
  // Inline function 'kotlin.js.unsafeCast' call
366
366
  // Inline function 'kotlin.js.asDynamic' call
367
367
  return toDouble(this_0);
368
368
  }
369
369
  function get_double(_this__u8e3s4) {
370
370
  _init_properties_JsonElement_kt__7cbdc2();
371
- return toDouble(_this__u8e3s4.e6i());
371
+ return toDouble(_this__u8e3s4.s6i());
372
372
  }
373
373
  function get_contentOrNull(_this__u8e3s4) {
374
374
  _init_properties_JsonElement_kt__7cbdc2();
@@ -376,7 +376,7 @@ function get_contentOrNull(_this__u8e3s4) {
376
376
  if (_this__u8e3s4 instanceof JsonNull()) {
377
377
  tmp = null;
378
378
  } else {
379
- tmp = _this__u8e3s4.e6i();
379
+ tmp = _this__u8e3s4.s6i();
380
380
  }
381
381
  return tmp;
382
382
  }
@@ -78,19 +78,19 @@ function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
78
78
  return Unit_instance;
79
79
  }
80
80
  function JsonElementSerializer$descriptor$lambda$lambda() {
81
- return JsonPrimitiveSerializer_getInstance().n6i_1;
81
+ return JsonPrimitiveSerializer_getInstance().b6j_1;
82
82
  }
83
83
  function JsonElementSerializer$descriptor$lambda$lambda_0() {
84
- return JsonNullSerializer_getInstance().o6i_1;
84
+ return JsonNullSerializer_getInstance().c6j_1;
85
85
  }
86
86
  function JsonElementSerializer$descriptor$lambda$lambda_1() {
87
- return JsonLiteralSerializer_getInstance().p6i_1;
87
+ return JsonLiteralSerializer_getInstance().d6j_1;
88
88
  }
89
89
  function JsonElementSerializer$descriptor$lambda$lambda_2() {
90
- return JsonObjectSerializer_getInstance().q6i_1;
90
+ return JsonObjectSerializer_getInstance().e6j_1;
91
91
  }
92
92
  function JsonElementSerializer$descriptor$lambda$lambda_3() {
93
- return JsonArraySerializer_getInstance().r6i_1;
93
+ return JsonArraySerializer_getInstance().f6j_1;
94
94
  }
95
95
  var JsonElementSerializerClass;
96
96
  function JsonElementSerializer() {
@@ -100,12 +100,12 @@ function JsonElementSerializer() {
100
100
  JsonElementSerializer_instance = this;
101
101
  var tmp = this;
102
102
  var tmp_0 = SEALED_getInstance();
103
- tmp.s6i_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
103
+ tmp.g6j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
104
104
  }
105
105
  xs() {
106
- return this.s6i_1;
106
+ return this.g6j_1;
107
107
  }
108
- t6i(encoder, value) {
108
+ h6j(encoder, value) {
109
109
  verify(encoder);
110
110
  if (value instanceof JsonPrimitive()) {
111
111
  encoder.cz(JsonPrimitiveSerializer_getInstance(), value);
@@ -122,11 +122,11 @@ function JsonElementSerializer() {
122
122
  }
123
123
  }
124
124
  ys(encoder, value) {
125
- return this.t6i(encoder, value instanceof JsonElement() ? value : THROW_CCE());
125
+ return this.h6j(encoder, value instanceof JsonElement() ? value : THROW_CCE());
126
126
  }
127
127
  zs(decoder) {
128
128
  var input = asJsonDecoder(decoder);
129
- return input.b6i();
129
+ return input.p6i();
130
130
  }
131
131
  }
132
132
  initMetadataForObject($, 'JsonElementSerializer', VOID, VOID, [KSerializer()]);
@@ -146,41 +146,41 @@ function JsonObjectDescriptor() {
146
146
  class $ {
147
147
  constructor() {
148
148
  JsonObjectDescriptor_instance = this;
149
- this.u6i_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).xs();
150
- this.v6i_1 = 'kotlinx.serialization.json.JsonObject';
149
+ this.i6j_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).xs();
150
+ this.j6j_1 = 'kotlinx.serialization.json.JsonObject';
151
151
  }
152
152
  au() {
153
- return this.v6i_1;
153
+ return this.j6j_1;
154
154
  }
155
155
  sv(index) {
156
- return this.u6i_1.sv(index);
156
+ return this.i6j_1.sv(index);
157
157
  }
158
158
  tv(name) {
159
- return this.u6i_1.tv(name);
159
+ return this.i6j_1.tv(name);
160
160
  }
161
161
  uv(index) {
162
- return this.u6i_1.uv(index);
162
+ return this.i6j_1.uv(index);
163
163
  }
164
164
  vv(index) {
165
- return this.u6i_1.vv(index);
165
+ return this.i6j_1.vv(index);
166
166
  }
167
167
  wv(index) {
168
- return this.u6i_1.wv(index);
168
+ return this.i6j_1.wv(index);
169
169
  }
170
170
  ov() {
171
- return this.u6i_1.ov();
171
+ return this.i6j_1.ov();
172
172
  }
173
173
  kv() {
174
- return this.u6i_1.kv();
174
+ return this.i6j_1.kv();
175
175
  }
176
176
  pv() {
177
- return this.u6i_1.pv();
177
+ return this.i6j_1.pv();
178
178
  }
179
179
  qv() {
180
- return this.u6i_1.qv();
180
+ return this.i6j_1.qv();
181
181
  }
182
182
  rv() {
183
- return this.u6i_1.rv();
183
+ return this.i6j_1.rv();
184
184
  }
185
185
  }
186
186
  initMetadataForObject($, 'JsonObjectDescriptor', VOID, VOID, [SerialDescriptor()]);
@@ -200,17 +200,17 @@ function JsonObjectSerializer() {
200
200
  class $ {
201
201
  constructor() {
202
202
  JsonObjectSerializer_instance = this;
203
- this.q6i_1 = JsonObjectDescriptor_getInstance();
203
+ this.e6j_1 = JsonObjectDescriptor_getInstance();
204
204
  }
205
205
  xs() {
206
- return this.q6i_1;
206
+ return this.e6j_1;
207
207
  }
208
- w6i(encoder, value) {
208
+ k6j(encoder, value) {
209
209
  verify(encoder);
210
210
  MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ys(encoder, value);
211
211
  }
212
212
  ys(encoder, value) {
213
- return this.w6i(encoder, value instanceof JsonObject() ? value : THROW_CCE());
213
+ return this.k6j(encoder, value instanceof JsonObject() ? value : THROW_CCE());
214
214
  }
215
215
  zs(decoder) {
216
216
  verify_0(decoder);
@@ -234,41 +234,41 @@ function JsonArrayDescriptor() {
234
234
  class $ {
235
235
  constructor() {
236
236
  JsonArrayDescriptor_instance = this;
237
- this.x6i_1 = ListSerializer(JsonElementSerializer_getInstance()).xs();
238
- this.y6i_1 = 'kotlinx.serialization.json.JsonArray';
237
+ this.l6j_1 = ListSerializer(JsonElementSerializer_getInstance()).xs();
238
+ this.m6j_1 = 'kotlinx.serialization.json.JsonArray';
239
239
  }
240
240
  au() {
241
- return this.y6i_1;
241
+ return this.m6j_1;
242
242
  }
243
243
  sv(index) {
244
- return this.x6i_1.sv(index);
244
+ return this.l6j_1.sv(index);
245
245
  }
246
246
  tv(name) {
247
- return this.x6i_1.tv(name);
247
+ return this.l6j_1.tv(name);
248
248
  }
249
249
  uv(index) {
250
- return this.x6i_1.uv(index);
250
+ return this.l6j_1.uv(index);
251
251
  }
252
252
  vv(index) {
253
- return this.x6i_1.vv(index);
253
+ return this.l6j_1.vv(index);
254
254
  }
255
255
  wv(index) {
256
- return this.x6i_1.wv(index);
256
+ return this.l6j_1.wv(index);
257
257
  }
258
258
  ov() {
259
- return this.x6i_1.ov();
259
+ return this.l6j_1.ov();
260
260
  }
261
261
  kv() {
262
- return this.x6i_1.kv();
262
+ return this.l6j_1.kv();
263
263
  }
264
264
  pv() {
265
- return this.x6i_1.pv();
265
+ return this.l6j_1.pv();
266
266
  }
267
267
  qv() {
268
- return this.x6i_1.qv();
268
+ return this.l6j_1.qv();
269
269
  }
270
270
  rv() {
271
- return this.x6i_1.rv();
271
+ return this.l6j_1.rv();
272
272
  }
273
273
  }
274
274
  initMetadataForObject($, 'JsonArrayDescriptor', VOID, VOID, [SerialDescriptor()]);
@@ -288,17 +288,17 @@ function JsonArraySerializer() {
288
288
  class $ {
289
289
  constructor() {
290
290
  JsonArraySerializer_instance = this;
291
- this.r6i_1 = JsonArrayDescriptor_getInstance();
291
+ this.f6j_1 = JsonArrayDescriptor_getInstance();
292
292
  }
293
293
  xs() {
294
- return this.r6i_1;
294
+ return this.f6j_1;
295
295
  }
296
- z6i(encoder, value) {
296
+ n6j(encoder, value) {
297
297
  verify(encoder);
298
298
  ListSerializer(JsonElementSerializer_getInstance()).ys(encoder, value);
299
299
  }
300
300
  ys(encoder, value) {
301
- return this.z6i(encoder, value instanceof JsonArray() ? value : THROW_CCE());
301
+ return this.n6j(encoder, value instanceof JsonArray() ? value : THROW_CCE());
302
302
  }
303
303
  zs(decoder) {
304
304
  verify_0(decoder);
@@ -325,12 +325,12 @@ function JsonPrimitiveSerializer() {
325
325
  class $ {
326
326
  constructor() {
327
327
  JsonPrimitiveSerializer_instance = this;
328
- this.n6i_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
328
+ this.b6j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
329
329
  }
330
330
  xs() {
331
- return this.n6i_1;
331
+ return this.b6j_1;
332
332
  }
333
- a6j(encoder, value) {
333
+ o6j(encoder, value) {
334
334
  verify(encoder);
335
335
  var tmp;
336
336
  if (value instanceof JsonNull()) {
@@ -344,10 +344,10 @@ function JsonPrimitiveSerializer() {
344
344
  return tmp;
345
345
  }
346
346
  ys(encoder, value) {
347
- return this.a6j(encoder, value instanceof JsonPrimitive() ? value : THROW_CCE());
347
+ return this.o6j(encoder, value instanceof JsonPrimitive() ? value : THROW_CCE());
348
348
  }
349
349
  zs(decoder) {
350
- var result = asJsonDecoder(decoder).b6i();
350
+ var result = asJsonDecoder(decoder).p6i();
351
351
  if (!(result instanceof JsonPrimitive()))
352
352
  throw JsonDecodingException(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
353
353
  return result;
@@ -370,22 +370,22 @@ function JsonNullSerializer() {
370
370
  class $ {
371
371
  constructor() {
372
372
  JsonNullSerializer_instance = this;
373
- this.o6i_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
373
+ this.c6j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
374
374
  }
375
375
  xs() {
376
- return this.o6i_1;
376
+ return this.c6j_1;
377
377
  }
378
- b6j(encoder, value) {
378
+ p6j(encoder, value) {
379
379
  verify(encoder);
380
380
  encoder.fy();
381
381
  }
382
382
  ys(encoder, value) {
383
- return this.b6j(encoder, value instanceof JsonNull() ? value : THROW_CCE());
383
+ return this.p6j(encoder, value instanceof JsonNull() ? value : THROW_CCE());
384
384
  }
385
385
  zs(decoder) {
386
386
  verify_0(decoder);
387
387
  if (decoder.vw()) {
388
- throw JsonDecodingException_0().i6j("Expected 'null' literal");
388
+ throw JsonDecodingException_0().w6j("Expected 'null' literal");
389
389
  }
390
390
  decoder.ww();
391
391
  return JsonNull_getInstance();
@@ -408,27 +408,27 @@ function JsonLiteralSerializer() {
408
408
  class $ {
409
409
  constructor() {
410
410
  JsonLiteralSerializer_instance = this;
411
- this.p6i_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
411
+ this.d6j_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
412
412
  }
413
413
  xs() {
414
- return this.p6i_1;
414
+ return this.d6j_1;
415
415
  }
416
- j6j(encoder, value) {
416
+ x6j(encoder, value) {
417
417
  verify(encoder);
418
- if (value.f6i_1) {
419
- return encoder.oy(value.h6i_1);
418
+ if (value.t6i_1) {
419
+ return encoder.oy(value.v6i_1);
420
420
  }
421
- if (!(value.g6i_1 == null)) {
422
- return encoder.qy(value.g6i_1).oy(value.h6i_1);
421
+ if (!(value.u6i_1 == null)) {
422
+ return encoder.qy(value.u6i_1).oy(value.v6i_1);
423
423
  }
424
- var tmp0_safe_receiver = toLongOrNull(value.h6i_1);
424
+ var tmp0_safe_receiver = toLongOrNull(value.v6i_1);
425
425
  if (tmp0_safe_receiver == null)
426
426
  null;
427
427
  else {
428
428
  // Inline function 'kotlin.let' call
429
429
  return encoder.ky(tmp0_safe_receiver);
430
430
  }
431
- var tmp1_safe_receiver = toULongOrNull(value.h6i_1);
431
+ var tmp1_safe_receiver = toULongOrNull(value.v6i_1);
432
432
  var tmp = tmp1_safe_receiver;
433
433
  if ((tmp == null ? null : new (ULong())(tmp)) == null)
434
434
  null;
@@ -442,27 +442,27 @@ function JsonLiteralSerializer() {
442
442
  tmp_1.ky(tmp$ret$1);
443
443
  return Unit_instance;
444
444
  }
445
- var tmp2_safe_receiver = toDoubleOrNull(value.h6i_1);
445
+ var tmp2_safe_receiver = toDoubleOrNull(value.v6i_1);
446
446
  if (tmp2_safe_receiver == null)
447
447
  null;
448
448
  else {
449
449
  // Inline function 'kotlin.let' call
450
450
  return encoder.my(tmp2_safe_receiver);
451
451
  }
452
- var tmp3_safe_receiver = toBooleanStrictOrNull(value.h6i_1);
452
+ var tmp3_safe_receiver = toBooleanStrictOrNull(value.v6i_1);
453
453
  if (tmp3_safe_receiver == null)
454
454
  null;
455
455
  else {
456
456
  // Inline function 'kotlin.let' call
457
457
  return encoder.gy(tmp3_safe_receiver);
458
458
  }
459
- encoder.oy(value.h6i_1);
459
+ encoder.oy(value.v6i_1);
460
460
  }
461
461
  ys(encoder, value) {
462
- return this.j6j(encoder, value instanceof JsonLiteral() ? value : THROW_CCE());
462
+ return this.x6j(encoder, value instanceof JsonLiteral() ? value : THROW_CCE());
463
463
  }
464
464
  zs(decoder) {
465
- var result = asJsonDecoder(decoder).b6i();
465
+ var result = asJsonDecoder(decoder).p6i();
466
466
  if (!(result instanceof JsonLiteral()))
467
467
  throw JsonDecodingException(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
468
468
  return result;
@@ -506,7 +506,7 @@ function asJsonEncoder(_this__u8e3s4) {
506
506
  return tmp;
507
507
  }
508
508
  function _get_original__l7ku1m($this) {
509
- var tmp0 = $this.k6j_1;
509
+ var tmp0 = $this.y6j_1;
510
510
  var tmp = KProperty1();
511
511
  // Inline function 'kotlin.getValue' call
512
512
  getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
@@ -522,7 +522,7 @@ function defer$1() {
522
522
  if (defer$1Class === VOID) {
523
523
  class $ {
524
524
  constructor($deferred) {
525
- this.k6j_1 = lazy($deferred);
525
+ this.y6j_1 = lazy($deferred);
526
526
  }
527
527
  au() {
528
528
  return _get_original__l7ku1m(this).au();
@@ -1,7 +1,7 @@
1
1
  //region block: pre-declaration
2
2
  //endregion
3
3
  function get_schemaCache(_this__u8e3s4) {
4
- return _this__u8e3s4.b6g_1;
4
+ return _this__u8e3s4.p6g_1;
5
5
  }
6
6
  //region block: exports
7
7
  export {