@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
@@ -42,13 +42,13 @@ var imul = Math.imul;
42
42
  //region block: pre-declaration
43
43
  //endregion
44
44
  function AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j() {
45
- return Companion_getInstance().q2u();
45
+ return Companion_getInstance().e2v();
46
46
  }
47
47
  function AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j_0() {
48
48
  return createSimpleEnumSerializer('cash.atto.commons.AttoBlockType', values());
49
49
  }
50
50
  function AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j_1() {
51
- return Companion_getInstance().q2u();
51
+ return Companion_getInstance().e2v();
52
52
  }
53
53
  var CompanionClass;
54
54
  function Companion() {
@@ -65,9 +65,9 @@ function Companion() {
65
65
  // Inline function 'kotlin.arrayOf' call
66
66
  // Inline function 'kotlin.js.unsafeCast' call
67
67
  // Inline function 'kotlin.js.asDynamic' call
68
- tmp.o2w_1 = [null, tmp_1, null, null, tmp_3, lazy(tmp_4, AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j_1), null, null, null, null];
68
+ tmp.c2x_1 = [null, tmp_1, null, null, tmp_3, lazy(tmp_4, AttoAccountEntry$Companion$$childSerializers$_anonymous__feoh5j_1), null, null, null, null];
69
69
  }
70
- q2u() {
70
+ e2v() {
71
71
  return $serializer_getInstance();
72
72
  }
73
73
  }
@@ -99,16 +99,16 @@ function $serializer() {
99
99
  tmp0_serialDesc.w14('previousBalance', false);
100
100
  tmp0_serialDesc.w14('balance', false);
101
101
  tmp0_serialDesc.w14('timestamp', false);
102
- this.p2w_1 = tmp0_serialDesc;
102
+ this.d2x_1 = tmp0_serialDesc;
103
103
  }
104
- q2w(encoder, value) {
105
- var tmp0_desc = this.p2w_1;
104
+ e2x(encoder, value) {
105
+ var tmp0_desc = this.d2x_1;
106
106
  var tmp1_output = encoder.kx(tmp0_desc);
107
- var tmp2_cached = Companion_getInstance_0().o2w_1;
107
+ var tmp2_cached = Companion_getInstance_0().c2x_1;
108
108
  tmp1_output.bz(tmp0_desc, 0, AttoHashSerializer_getInstance(), value.hash);
109
109
  tmp1_output.bz(tmp0_desc, 1, tmp2_cached[1].s1(), value.algorithm);
110
110
  tmp1_output.bz(tmp0_desc, 2, AttoPublicKeySerializer_getInstance(), value.publicKey);
111
- tmp1_output.bz(tmp0_desc, 3, AttoHeightSerializer_getInstance(), value.r2w_1);
111
+ tmp1_output.bz(tmp0_desc, 3, AttoHeightSerializer_getInstance(), value.f2x_1);
112
112
  tmp1_output.bz(tmp0_desc, 4, tmp2_cached[4].s1(), value.blockType);
113
113
  tmp1_output.bz(tmp0_desc, 5, tmp2_cached[5].s1(), value.subjectAlgorithm);
114
114
  tmp1_output.bz(tmp0_desc, 6, AttoPublicKeySerializer_getInstance(), value.subjectPublicKey);
@@ -118,10 +118,10 @@ function $serializer() {
118
118
  tmp1_output.lx(tmp0_desc);
119
119
  }
120
120
  ys(encoder, value) {
121
- return this.q2w(encoder, value instanceof AttoAccountEntry() ? value : THROW_CCE());
121
+ return this.e2x(encoder, value instanceof AttoAccountEntry() ? value : THROW_CCE());
122
122
  }
123
123
  zs(decoder) {
124
- var tmp0_desc = this.p2w_1;
124
+ var tmp0_desc = this.d2x_1;
125
125
  var tmp1_flag = true;
126
126
  var tmp2_index = 0;
127
127
  var tmp3_bitMask0 = 0;
@@ -136,7 +136,7 @@ function $serializer() {
136
136
  var tmp12_local8 = null;
137
137
  var tmp13_local9 = null;
138
138
  var tmp16_input = decoder.kx(tmp0_desc);
139
- var tmp17_cached = Companion_getInstance_0().o2w_1;
139
+ var tmp17_cached = Companion_getInstance_0().c2x_1;
140
140
  if (tmp16_input.zx()) {
141
141
  tmp4_local0 = tmp16_input.wx(tmp0_desc, 0, AttoHashSerializer_getInstance(), tmp4_local0);
142
142
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -210,13 +210,13 @@ function $serializer() {
210
210
  }
211
211
  }
212
212
  tmp16_input.lx(tmp0_desc);
213
- return AttoAccountEntry().u2w(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
213
+ return AttoAccountEntry().i2x(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
214
214
  }
215
215
  xs() {
216
- return this.p2w_1;
216
+ return this.d2x_1;
217
217
  }
218
218
  l15() {
219
- var tmp0_cached = Companion_getInstance_0().o2w_1;
219
+ var tmp0_cached = Companion_getInstance_0().c2x_1;
220
220
  // Inline function 'kotlin.arrayOf' call
221
221
  // Inline function 'kotlin.js.unsafeCast' call
222
222
  // Inline function 'kotlin.js.asDynamic' call
@@ -274,7 +274,7 @@ function AttoAccountEntry() {
274
274
  this.hash = hash;
275
275
  this.algorithm = algorithm;
276
276
  this.publicKey = publicKey;
277
- this.r2w_1 = height;
277
+ this.f2x_1 = height;
278
278
  this.blockType = blockType;
279
279
  this.subjectAlgorithm = subjectAlgorithm;
280
280
  this.subjectPublicKey = subjectPublicKey;
@@ -282,49 +282,49 @@ function AttoAccountEntry() {
282
282
  this.balance = balance;
283
283
  this.timestamp = timestamp;
284
284
  var tmp = this;
285
- tmp.s2w_1 = lazy_0(AttoAccountEntry$address$delegate$lambda(this));
285
+ tmp.g2x_1 = lazy_0(AttoAccountEntry$address$delegate$lambda(this));
286
286
  var tmp_0 = this;
287
- tmp_0.t2w_1 = lazy_0(AttoAccountEntry$subjectAddress$delegate$lambda(this));
287
+ tmp_0.h2x_1 = lazy_0(AttoAccountEntry$subjectAddress$delegate$lambda(this));
288
288
  }
289
- v2w() {
289
+ j2x() {
290
290
  return this.hash;
291
291
  }
292
- t2v() {
292
+ h2w() {
293
293
  return this.algorithm;
294
294
  }
295
- q2v() {
295
+ e2w() {
296
296
  return this.publicKey;
297
297
  }
298
- u2v() {
299
- return this.r2w_1;
298
+ i2w() {
299
+ return this.f2x_1;
300
300
  }
301
- w2w() {
301
+ k2x() {
302
302
  return this.blockType;
303
303
  }
304
- x2w() {
304
+ l2x() {
305
305
  return this.subjectAlgorithm;
306
306
  }
307
- y2w() {
307
+ m2x() {
308
308
  return this.subjectPublicKey;
309
309
  }
310
- z2w() {
310
+ n2x() {
311
311
  return this.previousBalance;
312
312
  }
313
- v2v() {
313
+ j2w() {
314
314
  return this.balance;
315
315
  }
316
- a2x() {
316
+ o2x() {
317
317
  return this.timestamp;
318
318
  }
319
- a2w() {
320
- var tmp0 = this.s2w_1;
319
+ o2w() {
320
+ var tmp0 = this.g2x_1;
321
321
  var tmp = KProperty1();
322
322
  // Inline function 'kotlin.getValue' call
323
323
  getPropertyCallableRef('address', 1, tmp, AttoAccountEntry$_get_address_$ref_gb19nf(), null);
324
324
  return tmp0.s1();
325
325
  }
326
- b2x() {
327
- var tmp0 = this.t2w_1;
326
+ p2x() {
327
+ var tmp0 = this.h2x_1;
328
328
  var tmp = KProperty1();
329
329
  // Inline function 'kotlin.getValue' call
330
330
  getPropertyCallableRef('subjectAddress', 1, tmp, AttoAccountEntry$_get_subjectAddress_$ref_80x2eb(), null);
@@ -336,54 +336,54 @@ function AttoAccountEntry() {
336
336
  hl() {
337
337
  return this.algorithm;
338
338
  }
339
- f2w() {
339
+ t2w() {
340
340
  return this.publicKey;
341
341
  }
342
- g2w() {
343
- return this.r2w_1;
342
+ u2w() {
343
+ return this.f2x_1;
344
344
  }
345
- h2w() {
345
+ v2w() {
346
346
  return this.blockType;
347
347
  }
348
- i2w() {
348
+ w2w() {
349
349
  return this.subjectAlgorithm;
350
350
  }
351
- j2w() {
351
+ x2w() {
352
352
  return this.subjectPublicKey;
353
353
  }
354
- k2w() {
354
+ y2w() {
355
355
  return this.previousBalance;
356
356
  }
357
- l2w() {
357
+ z2w() {
358
358
  return this.balance;
359
359
  }
360
- m2w() {
360
+ a2x() {
361
361
  return this.timestamp;
362
362
  }
363
- c2x(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp) {
363
+ q2x(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp) {
364
364
  return new (AttoAccountEntry())(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp);
365
365
  }
366
366
  copy(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp, $super) {
367
367
  hash = hash === VOID ? this.hash : hash;
368
368
  algorithm = algorithm === VOID ? this.algorithm : algorithm;
369
369
  publicKey = publicKey === VOID ? this.publicKey : publicKey;
370
- height = height === VOID ? this.r2w_1 : height;
370
+ height = height === VOID ? this.f2x_1 : height;
371
371
  blockType = blockType === VOID ? this.blockType : blockType;
372
372
  subjectAlgorithm = subjectAlgorithm === VOID ? this.subjectAlgorithm : subjectAlgorithm;
373
373
  subjectPublicKey = subjectPublicKey === VOID ? this.subjectPublicKey : subjectPublicKey;
374
374
  previousBalance = previousBalance === VOID ? this.previousBalance : previousBalance;
375
375
  balance = balance === VOID ? this.balance : balance;
376
376
  timestamp = timestamp === VOID ? this.timestamp : timestamp;
377
- return $super === VOID ? this.c2x(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp) : $super.c2x.call(this, hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp);
377
+ return $super === VOID ? this.q2x(hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp) : $super.q2x.call(this, hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp);
378
378
  }
379
379
  toString() {
380
- return 'AttoAccountEntry(hash=' + this.hash.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', height=' + this.r2w_1.toString() + ', blockType=' + this.blockType.toString() + ', subjectAlgorithm=' + this.subjectAlgorithm.toString() + ', subjectPublicKey=' + this.subjectPublicKey.toString() + ', previousBalance=' + this.previousBalance.toString() + ', balance=' + this.balance.toString() + ', timestamp=' + this.timestamp.toString() + ')';
380
+ return 'AttoAccountEntry(hash=' + this.hash.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', height=' + this.f2x_1.toString() + ', blockType=' + this.blockType.toString() + ', subjectAlgorithm=' + this.subjectAlgorithm.toString() + ', subjectPublicKey=' + this.subjectPublicKey.toString() + ', previousBalance=' + this.previousBalance.toString() + ', balance=' + this.balance.toString() + ', timestamp=' + this.timestamp.toString() + ')';
381
381
  }
382
382
  hashCode() {
383
383
  var result = this.hash.hashCode();
384
384
  result = imul(result, 31) + this.algorithm.hashCode() | 0;
385
385
  result = imul(result, 31) + this.publicKey.hashCode() | 0;
386
- result = imul(result, 31) + this.r2w_1.hashCode() | 0;
386
+ result = imul(result, 31) + this.f2x_1.hashCode() | 0;
387
387
  result = imul(result, 31) + this.blockType.hashCode() | 0;
388
388
  result = imul(result, 31) + this.subjectAlgorithm.hashCode() | 0;
389
389
  result = imul(result, 31) + this.subjectPublicKey.hashCode() | 0;
@@ -404,7 +404,7 @@ function AttoAccountEntry() {
404
404
  return false;
405
405
  if (!this.publicKey.equals(tmp0_other_with_cast.publicKey))
406
406
  return false;
407
- if (!this.r2w_1.equals(tmp0_other_with_cast.r2w_1))
407
+ if (!this.f2x_1.equals(tmp0_other_with_cast.f2x_1))
408
408
  return false;
409
409
  if (!this.blockType.equals(tmp0_other_with_cast.blockType))
410
410
  return false;
@@ -420,16 +420,16 @@ function AttoAccountEntry() {
420
420
  return false;
421
421
  return true;
422
422
  }
423
- static u2w(seen0, hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp, serializationConstructorMarker) {
423
+ static i2x(seen0, hash, algorithm, publicKey, height, blockType, subjectAlgorithm, subjectPublicKey, previousBalance, balance, timestamp, serializationConstructorMarker) {
424
424
  Companion_getInstance_0();
425
425
  if (!(1023 === (1023 & seen0))) {
426
- throwMissingFieldException(seen0, 1023, $serializer_getInstance().p2w_1);
426
+ throwMissingFieldException(seen0, 1023, $serializer_getInstance().d2x_1);
427
427
  }
428
428
  var $this = createThis(this);
429
429
  $this.hash = hash;
430
430
  $this.algorithm = algorithm;
431
431
  $this.publicKey = publicKey;
432
- $this.r2w_1 = height;
432
+ $this.f2x_1 = height;
433
433
  $this.blockType = blockType;
434
434
  $this.subjectAlgorithm = subjectAlgorithm;
435
435
  $this.subjectPublicKey = subjectPublicKey;
@@ -437,19 +437,19 @@ function AttoAccountEntry() {
437
437
  $this.balance = balance;
438
438
  $this.timestamp = timestamp;
439
439
  var tmp = $this;
440
- tmp.s2w_1 = lazy_0(AttoAccountEntry$_init_$lambda_d9gqwo($this));
440
+ tmp.g2x_1 = lazy_0(AttoAccountEntry$_init_$lambda_d9gqwo($this));
441
441
  var tmp_0 = $this;
442
- tmp_0.t2w_1 = lazy_0(AttoAccountEntry$_init_$lambda_d9gqwo_0($this));
442
+ tmp_0.h2x_1 = lazy_0(AttoAccountEntry$_init_$lambda_d9gqwo_0($this));
443
443
  return $this;
444
444
  }
445
445
  get height() {
446
- return this.u2v();
446
+ return this.i2w();
447
447
  }
448
448
  get address() {
449
- return this.a2w();
449
+ return this.o2w();
450
450
  }
451
451
  get subjectAddress() {
452
- return this.b2x();
452
+ return this.p2x();
453
453
  }
454
454
  }
455
455
  initMetadataForClass($, 'AttoAccountEntry', VOID, VOID, [HeightSupport()], VOID, VOID, {0: $serializer_getInstance});
@@ -32,7 +32,7 @@ var imul = Math.imul;
32
32
  //region block: pre-declaration
33
33
  //endregion
34
34
  function checksum($this, algorithm, publicKey) {
35
- return AttoHasher_instance.d2x(5, [algorithm, publicKey]);
35
+ return AttoHasher_instance.r2x(5, [algorithm, publicKey]);
36
36
  }
37
37
  function checksum_0($this, algorithm, publicKey) {
38
38
  // Inline function 'kotlin.UByte.toByte' call
@@ -63,11 +63,11 @@ function Companion() {
63
63
  var tmp = this;
64
64
  // Inline function 'kotlin.text.toRegex' call
65
65
  var this_0 = '^atto://[a-z2-7]{61}$';
66
- tmp.g2x_1 = Regex().qi(this_0);
67
- this.h2x_1 = 5;
66
+ tmp.u2x_1 = Regex().qi(this_0);
67
+ this.v2x_1 = 5;
68
68
  }
69
69
  isValid(value) {
70
- if (!this.g2x_1.ri(value)) {
70
+ if (!this.u2x_1.ri(value)) {
71
71
  return false;
72
72
  }
73
73
  var decoded = fromAddress(value);
@@ -119,7 +119,7 @@ function Companion() {
119
119
  var value = 'atto://' + path;
120
120
  return this.parse(value);
121
121
  }
122
- q2u() {
122
+ e2v() {
123
123
  return AttoAddressAsByteArraySerializer_getInstance();
124
124
  }
125
125
  }
@@ -146,16 +146,16 @@ function AttoAddress() {
146
146
  this.path = Companion_getInstance_0().toAddress(this.algorithm, this.publicKey);
147
147
  this.value = this.schema + this.path;
148
148
  }
149
- t2v() {
149
+ h2w() {
150
150
  return this.algorithm;
151
151
  }
152
- q2v() {
152
+ e2w() {
153
153
  return this.publicKey;
154
154
  }
155
- i2x() {
155
+ w2x() {
156
156
  return this.schema;
157
157
  }
158
- j2x() {
158
+ x2x() {
159
159
  return this.path;
160
160
  }
161
161
  s1() {
@@ -165,7 +165,7 @@ function AttoAddress() {
165
165
  // Inline function 'kotlin.apply' call
166
166
  var this_0 = new (Buffer())();
167
167
  writeUByte(this_0, this.algorithm.code);
168
- this_0.n2s(this.publicKey.value, 0, this.publicKey.value.length);
168
+ this_0.b2t(this.publicKey.value, 0, this.publicKey.value.length);
169
169
  return this_0;
170
170
  }
171
171
  toString() {
@@ -177,13 +177,13 @@ function AttoAddress() {
177
177
  hl() {
178
178
  return this.publicKey;
179
179
  }
180
- k2x(algorithm, publicKey) {
180
+ y2x(algorithm, publicKey) {
181
181
  return new (AttoAddress())(algorithm, publicKey);
182
182
  }
183
183
  copy(algorithm, publicKey, $super) {
184
184
  algorithm = algorithm === VOID ? this.algorithm : algorithm;
185
185
  publicKey = publicKey === VOID ? this.publicKey : publicKey;
186
- return $super === VOID ? this.k2x(algorithm, publicKey) : $super.k2x.call(this, algorithm, publicKey);
186
+ return $super === VOID ? this.y2x(algorithm, publicKey) : $super.y2x.call(this, algorithm, publicKey);
187
187
  }
188
188
  hashCode() {
189
189
  var result = this.algorithm.hashCode();
@@ -213,7 +213,7 @@ function fromAddress(_this__u8e3s4) {
213
213
  // Inline function 'kotlin.text.uppercase' call
214
214
  // Inline function 'kotlin.js.asDynamic' call
215
215
  var tmp$ret$1 = substring(_this__u8e3s4, 7).toUpperCase();
216
- return tmp.n2x(tmp$ret$1 + '===');
216
+ return tmp.b2y(tmp$ret$1 + '===');
217
217
  }
218
218
  function toAddress(_this__u8e3s4) {
219
219
  // Inline function 'kotlin.require' call
@@ -223,7 +223,7 @@ function toAddress(_this__u8e3s4) {
223
223
  }
224
224
  // Inline function 'kotlin.text.lowercase' call
225
225
  // Inline function 'kotlin.js.asDynamic' call
226
- return replace(Base32_getInstance().o2x(_this__u8e3s4), '=', '').toLowerCase();
226
+ return replace(Base32_getInstance().c2y(_this__u8e3s4), '=', '').toLowerCase();
227
227
  }
228
228
  //region block: exports
229
229
  export {
@@ -25,7 +25,7 @@ import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotl
25
25
  //region block: pre-declaration
26
26
  //endregion
27
27
  function _get_$cachedSerializer__te6jhj($this) {
28
- return $this.p2u_1.s1();
28
+ return $this.d2v_1.s1();
29
29
  }
30
30
  function AttoAlgorithm$Companion$_anonymous__z50osy() {
31
31
  return createSimpleEnumSerializer('cash.atto.commons.AttoAlgorithm', values());
@@ -49,13 +49,13 @@ function Companion() {
49
49
  var tmp$ret$0 = new (UByte())(element.code);
50
50
  destination.d3(tmp$ret$0, element);
51
51
  }
52
- tmp.o2u_1 = destination;
52
+ tmp.c2v_1 = destination;
53
53
  var tmp_0 = this;
54
54
  var tmp_1 = LazyThreadSafetyMode_PUBLICATION_getInstance();
55
- tmp_0.p2u_1 = lazy(tmp_1, AttoAlgorithm$Companion$_anonymous__z50osy);
55
+ tmp_0.d2v_1 = lazy(tmp_1, AttoAlgorithm$Companion$_anonymous__z50osy);
56
56
  }
57
57
  from(code) {
58
- var tmp0_elvis_lhs = this.o2u_1.w2(new (UByte())(code));
58
+ var tmp0_elvis_lhs = this.c2v_1.w2(new (UByte())(code));
59
59
  var tmp;
60
60
  if (tmp0_elvis_lhs == null) {
61
61
  throw IllegalArgumentException().u('Unsupported algorithm ' + new (UByte())(code) + ' code');
@@ -64,11 +64,11 @@ function Companion() {
64
64
  }
65
65
  return tmp;
66
66
  }
67
- q2u() {
67
+ e2v() {
68
68
  return _get_$cachedSerializer__te6jhj(this);
69
69
  }
70
70
  x15(typeParamsSerializers) {
71
- return this.q2u();
71
+ return this.e2v();
72
72
  }
73
73
  }
74
74
  initMetadataForCompanion($, VOID, [SerializerFactory()]);
@@ -119,16 +119,16 @@ function AttoAlgorithm() {
119
119
  this.publicKeySize = publicKeySize;
120
120
  this.hashSize = hashSize;
121
121
  }
122
- p2x() {
122
+ d2y() {
123
123
  return this.code;
124
124
  }
125
- q2x() {
125
+ e2y() {
126
126
  return this.privateKeySize;
127
127
  }
128
- r2x() {
128
+ f2y() {
129
129
  return this.publicKeySize;
130
130
  }
131
- s2x() {
131
+ g2y() {
132
132
  return this.hashSize;
133
133
  }
134
134
  get name() {
@@ -78,13 +78,13 @@ function AttoUnit() {
78
78
  constructor(name, ordinal, prefix, scale) {
79
79
  super(name, ordinal);
80
80
  this.prefix = prefix;
81
- this.v2x_1 = scale;
81
+ this.j2y_1 = scale;
82
82
  }
83
- w2x() {
83
+ k2y() {
84
84
  return this.prefix;
85
85
  }
86
- x2x() {
87
- return this.v2x_1;
86
+ l2y() {
87
+ return this.j2y_1;
88
88
  }
89
89
  get name() {
90
90
  return this.i3();
@@ -125,21 +125,21 @@ function Companion() {
125
125
  class $ {
126
126
  constructor() {
127
127
  Companion_instance = this;
128
- this.y2x_1 = _ULong___init__impl__c78o9k(new (Long())(-989331456, -104015711));
129
- this.MAX = new (AttoAmount())(this.y2x_1);
130
- this.z2x_1 = _ULong___init__impl__c78o9k(new (Long())(0, 0));
131
- this.MIN = new (AttoAmount())(this.z2x_1);
128
+ this.m2y_1 = _ULong___init__impl__c78o9k(new (Long())(-989331456, -104015711));
129
+ this.MAX = new (AttoAmount())(this.m2y_1);
130
+ this.n2y_1 = _ULong___init__impl__c78o9k(new (Long())(0, 0));
131
+ this.MIN = new (AttoAmount())(this.n2y_1);
132
132
  }
133
- a2y() {
133
+ o2y() {
134
134
  return this.MAX;
135
135
  }
136
- b2y() {
136
+ p2y() {
137
137
  return this.MIN;
138
138
  }
139
139
  from(unit, string) {
140
140
  var parts = split(string, charArrayOf([_Char___init__impl__6a9atx(46)]));
141
141
  var wholePart = toULong(parts.j1(0));
142
- var factor = scaleFactor(this, unit.v2x_1);
142
+ var factor = scaleFactor(this, unit.j2y_1);
143
143
  // Inline function 'kotlin.ULong.times' call
144
144
  var scaledValue = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(wholePart).r3(_ULong___get_data__impl__fggpzb(factor)));
145
145
  if (parts.i1() > 1) {
@@ -158,7 +158,7 @@ function Companion() {
158
158
  }
159
159
  return new (AttoAmount())(scaledValue);
160
160
  }
161
- q2u() {
161
+ e2v() {
162
162
  return AttoAmountSerializer_getInstance();
163
163
  }
164
164
  }
@@ -182,16 +182,16 @@ function AttoAmount() {
182
182
  this.raw = raw;
183
183
  var tmp0 = this.raw;
184
184
  // Inline function 'kotlin.ULong.compareTo' call
185
- var other = Companion_getInstance_0().y2x_1;
185
+ var other = Companion_getInstance_0().m2y_1;
186
186
  if (ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) > 0) {
187
- throw IllegalStateException().o4('' + new (ULong())(this.raw) + ' exceeds the max amount of ' + new (ULong())(Companion_getInstance_0().y2x_1));
187
+ throw IllegalStateException().o4('' + new (ULong())(this.raw) + ' exceeds the max amount of ' + new (ULong())(Companion_getInstance_0().m2y_1));
188
188
  }
189
189
  }
190
- c2y() {
190
+ q2y() {
191
191
  return this.raw;
192
192
  }
193
193
  toFormattedString(unit) {
194
- var factor = scaleFactor(Companion_getInstance_0(), unit.v2x_1);
194
+ var factor = scaleFactor(Companion_getInstance_0(), unit.j2y_1);
195
195
  // Inline function 'kotlin.ULong.div' call
196
196
  var this_0 = this.raw;
197
197
  var wholePart = ulongDivide(this_0, factor);
@@ -204,7 +204,7 @@ function AttoAmount() {
204
204
  } else {
205
205
  var tmp_0 = ULong__toString_impl_f9au7k(fractionalPart);
206
206
  // Inline function 'kotlin.UByte.toInt' call
207
- var this_2 = unit.v2x_1;
207
+ var this_2 = unit.j2y_1;
208
208
  var tmp$ret$2 = _UByte___get_data__impl__jof9qr(this_2) & 255;
209
209
  var fractionalStr = trimEnd(padStart(tmp_0, tmp$ret$2, _Char___init__impl__6a9atx(48)), charArrayOf([_Char___init__impl__6a9atx(48)]));
210
210
  tmp = '' + new (ULong())(wholePart) + '.' + fractionalStr;
@@ -243,27 +243,27 @@ function AttoAmount() {
243
243
  }
244
244
  return new (AttoAmount())(total);
245
245
  }
246
- d2y(other) {
246
+ r2y(other) {
247
247
  var tmp0 = this.raw;
248
248
  // Inline function 'kotlin.ULong.compareTo' call
249
249
  var other_0 = other.raw;
250
250
  return ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
251
251
  }
252
252
  d(other) {
253
- return this.d2y(other instanceof AttoAmount() ? other : THROW_CCE());
253
+ return this.r2y(other instanceof AttoAmount() ? other : THROW_CCE());
254
254
  }
255
255
  toString() {
256
256
  return '' + new (ULong())(this.raw);
257
257
  }
258
- e2y() {
258
+ s2y() {
259
259
  return this.raw;
260
260
  }
261
- f2y(raw) {
261
+ t2y(raw) {
262
262
  return new (AttoAmount())(raw);
263
263
  }
264
264
  copy(raw, $super) {
265
265
  raw = raw === VOID ? this.raw : raw;
266
- return $super === VOID ? this.f2y(raw) : $super.f2y.call(this, new (ULong())(raw));
266
+ return $super === VOID ? this.t2y(raw) : $super.t2y.call(this, new (ULong())(raw));
267
267
  }
268
268
  hashCode() {
269
269
  return ULong__hashCode_impl_6hv2lb(this.raw);
@@ -290,16 +290,16 @@ function AttoAmountSerializer() {
290
290
  class $ {
291
291
  constructor() {
292
292
  AttoAmountSerializer_instance = this;
293
- this.g2y_1 = serializer(Companion_getInstance()).xs();
293
+ this.u2y_1 = serializer(Companion_getInstance()).xs();
294
294
  }
295
295
  xs() {
296
- return this.g2y_1;
296
+ return this.u2y_1;
297
297
  }
298
- h2y(encoder, value) {
298
+ v2y(encoder, value) {
299
299
  serializer(Companion_getInstance()).ys(encoder, new (ULong())(value.raw));
300
300
  }
301
301
  ys(encoder, value) {
302
- return this.h2y(encoder, value instanceof AttoAmount() ? value : THROW_CCE());
302
+ return this.v2y(encoder, value instanceof AttoAmount() ? value : THROW_CCE());
303
303
  }
304
304
  zs(decoder) {
305
305
  return new (AttoAmount())(serializer(Companion_getInstance()).zs(decoder).fs_1);