@attocash/commons-js 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  40. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  41. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  42. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  43. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  44. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  45. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  46. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  47. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  48. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  49. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  50. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  51. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  52. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  53. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  54. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  55. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  56. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  57. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  58. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  59. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  69. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  70. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  71. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  72. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  73. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  74. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  75. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  76. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  77. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  78. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  79. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  80. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  81. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  84. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  85. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  86. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  87. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  88. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  89. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  90. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  91. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  92. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  93. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  94. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  95. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  96. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  97. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  98. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  99. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  100. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  101. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  102. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  103. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  104. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  105. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  106. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  107. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  108. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  109. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  110. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  111. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  112. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  113. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  114. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  115. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  116. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  117. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  118. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  119. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  120. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  121. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  122. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  123. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  124. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  125. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  126. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  127. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  128. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  129. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  130. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  131. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  132. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  133. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  134. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  137. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  138. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  139. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  140. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  141. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  142. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  143. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  144. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  145. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  147. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  148. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  149. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  150. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  151. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  152. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  153. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  154. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  155. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  156. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  157. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  158. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  159. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  160. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  161. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  162. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  163. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  164. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  165. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  166. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  167. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  168. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  169. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  170. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  171. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  172. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  173. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  174. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  175. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  176. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  177. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  178. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  179. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  180. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  181. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  182. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  183. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  184. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  185. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  186. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  187. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  188. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  189. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  190. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  191. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  192. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  193. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  194. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  195. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  196. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  197. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  198. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  199. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  200. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  201. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  202. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  203. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  204. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  205. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  206. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  207. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  208. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  209. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  210. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  211. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  212. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  213. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  214. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  215. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  216. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  217. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  218. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  219. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  220. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  221. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  222. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  223. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  224. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  225. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  226. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  227. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  228. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  229. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  230. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  231. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  232. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  233. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  234. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  235. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  236. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  237. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
  238. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  239. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  240. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  241. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  242. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  243. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  244. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  245. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  246. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  247. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  248. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  249. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  250. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  251. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  252. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  253. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  254. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  255. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  256. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  257. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  258. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  259. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  260. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  261. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  262. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  263. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  264. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  265. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  266. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  267. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  268. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  269. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  270. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  274. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  275. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  276. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  277. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  278. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  279. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  280. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  281. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  282. package/package.json +1 -1
@@ -57,9 +57,9 @@ import {
57
57
  offsetMinutesOfHour$defaultx23z50nh5v5p as offsetMinutesOfHour$default,
58
58
  offsetSecondsOfMinute$defaultxai9ucsyqlc7 as offsetSecondsOfMinute$default,
59
59
  AbstractDateTimeFormatBuilder2kkelk07l4wb as AbstractDateTimeFormatBuilder,
60
- WithDate2bqihss8t5xfv as WithDate,
61
60
  WithTime2lgb7k6hqa1zi as WithTime,
62
61
  WithUtcOffset30ws1ntcash0j as WithUtcOffset,
62
+ WithDate2bqihss8t5xfv as WithDate,
63
63
  } from './DateTimeFormatBuilder.mjs';
64
64
  import { _Char___init__impl__6a9atx2js6krycynjoo as _Char___init__impl__6a9atx } from '../../../../kotlin-kotlin-stdlib/kotlin/Char.mjs';
65
65
  import { Unit_instance1fbcbse1fwigr as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
@@ -755,7 +755,7 @@ function Builder() {
755
755
  protoOf($).a1l = offsetSecondsOfMinute;
756
756
  protoOf($).b1l = offsetSecondsOfMinute$default;
757
757
  protoOf($).n1i = offset;
758
- initMetadataForClass($, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder(), AbstractWithDateTimeBuilder(), AbstractWithOffsetBuilder(), WithDate(), WithTime(), WithUtcOffset()]);
758
+ initMetadataForClass($, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder(), AbstractWithDateTimeBuilder(), AbstractWithOffsetBuilder(), WithTime(), WithUtcOffset(), WithDate()]);
759
759
  BuilderClass = $;
760
760
  }
761
761
  return BuilderClass;
@@ -19,8 +19,8 @@ import {
19
19
  minute$defaultoouhhkuji8pa as minute$default,
20
20
  second$default25cj8g9tgx4nm as second$default,
21
21
  AbstractDateTimeFormatBuilder2kkelk07l4wb as AbstractDateTimeFormatBuilder,
22
- WithDate2bqihss8t5xfv as WithDate,
23
22
  WithTime2lgb7k6hqa1zi as WithTime,
23
+ WithDate2bqihss8t5xfv as WithDate,
24
24
  alternativeParsing1gmwubnsvpp9b as alternativeParsing,
25
25
  char1r4ssccmdfesy as char,
26
26
  } from './DateTimeFormatBuilder.mjs';
@@ -261,7 +261,7 @@ var AbstractWithDateTimeBuilderClass;
261
261
  function AbstractWithDateTimeBuilder() {
262
262
  if (AbstractWithDateTimeBuilderClass === VOID) {
263
263
  class $ {}
264
- initMetadataForInterface($, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder(), AbstractWithTimeBuilder(), WithDate(), WithTime()]);
264
+ initMetadataForInterface($, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder(), AbstractWithTimeBuilder(), WithTime(), WithDate()]);
265
265
  AbstractWithDateTimeBuilderClass = $;
266
266
  }
267
267
  return AbstractWithDateTimeBuilderClass;
@@ -22,10 +22,10 @@ function AccountUpdate() {
22
22
  this.account = account;
23
23
  this.block = block;
24
24
  }
25
- b35() {
25
+ p35() {
26
26
  return this.account;
27
27
  }
28
- f34() {
28
+ t34() {
29
29
  return this.block;
30
30
  }
31
31
  gl() {
@@ -34,13 +34,13 @@ function AccountUpdate() {
34
34
  hl() {
35
35
  return this.block;
36
36
  }
37
- c35(account, block) {
37
+ q35(account, block) {
38
38
  return new (AccountUpdate())(account, block);
39
39
  }
40
40
  copy(account, block, $super) {
41
41
  account = account === VOID ? this.account : account;
42
42
  block = block === VOID ? this.block : block;
43
- return $super === VOID ? this.c35(account, block) : $super.c35.call(this, account, block);
43
+ return $super === VOID ? this.q35(account, block) : $super.q35.call(this, account, block);
44
44
  }
45
45
  toString() {
46
46
  return 'AccountUpdate(account=' + this.account.toString() + ', block=' + toString(this.block) + ')';
@@ -78,22 +78,22 @@ function toAccountUpdate(_this__u8e3s4) {
78
78
  }
79
79
  function attoAccountOpen(network, representativeAddress, receivable, timestamp) {
80
80
  timestamp = timestamp === VOID ? null : timestamp;
81
- var update = Companion_getInstance_0().s2u(representativeAddress.algorithm, representativeAddress.publicKey, receivable, network, toInstant(timestamp));
81
+ var update = Companion_getInstance_0().g2v(representativeAddress.algorithm, representativeAddress.publicKey, receivable, network, toInstant(timestamp));
82
82
  return toAccountUpdate(update);
83
83
  }
84
84
  function attoAccountSend(account, receiverAddress, amount, timestamp) {
85
85
  timestamp = timestamp === VOID ? null : timestamp;
86
- var update = account.c2w(receiverAddress.algorithm, receiverAddress.publicKey, amount, toInstant(timestamp));
86
+ var update = account.q2w(receiverAddress.algorithm, receiverAddress.publicKey, amount, toInstant(timestamp));
87
87
  return toAccountUpdate(update);
88
88
  }
89
89
  function attoAccountReceive(account, receivable, timestamp) {
90
90
  timestamp = timestamp === VOID ? null : timestamp;
91
- var update = account.d2w(receivable, toInstant(timestamp));
91
+ var update = account.r2w(receivable, toInstant(timestamp));
92
92
  return toAccountUpdate(update);
93
93
  }
94
94
  function attoAccountChange(account, representativeAddress, timestamp) {
95
95
  timestamp = timestamp === VOID ? null : timestamp;
96
- var update = account.e2w(representativeAddress.algorithm, representativeAddress.publicKey, toInstant(timestamp));
96
+ var update = account.s2w(representativeAddress.algorithm, representativeAddress.publicKey, toInstant(timestamp));
97
97
  return toAccountUpdate(update);
98
98
  }
99
99
  //region block: exports
@@ -61,10 +61,10 @@ function AttoAccount$Companion$$childSerializers$_anonymous__l1b023() {
61
61
  return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
62
62
  }
63
63
  function AttoAccount$Companion$$childSerializers$_anonymous__l1b023_0() {
64
- return Companion_getInstance().q2u();
64
+ return Companion_getInstance().e2v();
65
65
  }
66
66
  function AttoAccount$Companion$$childSerializers$_anonymous__l1b023_1() {
67
- return Companion_getInstance().q2u();
67
+ return Companion_getInstance().e2v();
68
68
  }
69
69
  var CompanionClass;
70
70
  function Companion() {
@@ -81,18 +81,18 @@ function Companion() {
81
81
  // Inline function 'kotlin.arrayOf' call
82
82
  // Inline function 'kotlin.js.unsafeCast' call
83
83
  // Inline function 'kotlin.js.asDynamic' call
84
- tmp.r2u_1 = [null, tmp_1, null, tmp_3, null, null, null, null, lazy(tmp_4, AttoAccount$Companion$$childSerializers$_anonymous__l1b023_1), null];
84
+ tmp.f2v_1 = [null, tmp_1, null, tmp_3, null, null, null, null, lazy(tmp_4, AttoAccount$Companion$$childSerializers$_anonymous__l1b023_1), null];
85
85
  }
86
- s2u(representativeAlgorithm, representativePublicKey, receivable, network, timestamp) {
86
+ g2v(representativeAlgorithm, representativePublicKey, receivable, network, timestamp) {
87
87
  var block = new (AttoOpenBlock())(network, receivable.version, receivable.receiverAlgorithm, receivable.receiverPublicKey, receivable.amount, timestamp, receivable.algorithm, receivable.hash, representativeAlgorithm, representativePublicKey);
88
- var account = new (AttoAccount())(receivable.receiverPublicKey, network, receivable.version, receivable.receiverAlgorithm, block.h2v_1, receivable.amount, block.hash, timestamp, representativeAlgorithm, representativePublicKey);
88
+ var account = new (AttoAccount())(receivable.receiverPublicKey, network, receivable.version, receivable.receiverAlgorithm, block.v2v_1, receivable.amount, block.hash, timestamp, representativeAlgorithm, representativePublicKey);
89
89
  return new (Pair())(block, account);
90
90
  }
91
91
  open$default(representativeAlgorithm, representativePublicKey, receivable, network, timestamp, $super) {
92
92
  timestamp = timestamp === VOID ? System_instance.i1e() : timestamp;
93
- return $super === VOID ? this.s2u(representativeAlgorithm, representativePublicKey, receivable, network, timestamp) : $super.s2u.call(this, representativeAlgorithm, representativePublicKey, receivable, network, timestamp);
93
+ return $super === VOID ? this.g2v(representativeAlgorithm, representativePublicKey, receivable, network, timestamp) : $super.g2v.call(this, representativeAlgorithm, representativePublicKey, receivable, network, timestamp);
94
94
  }
95
- q2u() {
95
+ e2v() {
96
96
  return $serializer_getInstance();
97
97
  }
98
98
  }
@@ -124,17 +124,17 @@ function $serializer() {
124
124
  tmp0_serialDesc.w14('lastTransactionTimestamp', false);
125
125
  tmp0_serialDesc.w14('representativeAlgorithm', false);
126
126
  tmp0_serialDesc.w14('representativePublicKey', false);
127
- this.k2v_1 = tmp0_serialDesc;
127
+ this.y2v_1 = tmp0_serialDesc;
128
128
  }
129
- l2v(encoder, value) {
130
- var tmp0_desc = this.k2v_1;
129
+ z2v(encoder, value) {
130
+ var tmp0_desc = this.y2v_1;
131
131
  var tmp1_output = encoder.kx(tmp0_desc);
132
- var tmp2_cached = Companion_getInstance_0().r2u_1;
132
+ var tmp2_cached = Companion_getInstance_0().f2v_1;
133
133
  tmp1_output.bz(tmp0_desc, 0, AttoPublicKeySerializer_getInstance(), value.publicKey);
134
134
  tmp1_output.bz(tmp0_desc, 1, tmp2_cached[1].s1(), value.network);
135
135
  tmp1_output.bz(tmp0_desc, 2, AttoVersionSerializer_getInstance(), value.version);
136
136
  tmp1_output.bz(tmp0_desc, 3, tmp2_cached[3].s1(), value.algorithm);
137
- tmp1_output.bz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.m2v_1);
137
+ tmp1_output.bz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.a2w_1);
138
138
  tmp1_output.bz(tmp0_desc, 5, AttoAmountSerializer_getInstance(), value.balance);
139
139
  tmp1_output.bz(tmp0_desc, 6, AttoHashSerializer_getInstance(), value.lastTransactionHash);
140
140
  tmp1_output.bz(tmp0_desc, 7, InstantMillisSerializer_getInstance(), value.lastTransactionTimestamp);
@@ -143,10 +143,10 @@ function $serializer() {
143
143
  tmp1_output.lx(tmp0_desc);
144
144
  }
145
145
  ys(encoder, value) {
146
- return this.l2v(encoder, value instanceof AttoAccount() ? value : THROW_CCE());
146
+ return this.z2v(encoder, value instanceof AttoAccount() ? value : THROW_CCE());
147
147
  }
148
148
  zs(decoder) {
149
- var tmp0_desc = this.k2v_1;
149
+ var tmp0_desc = this.y2v_1;
150
150
  var tmp1_flag = true;
151
151
  var tmp2_index = 0;
152
152
  var tmp3_bitMask0 = 0;
@@ -161,7 +161,7 @@ function $serializer() {
161
161
  var tmp12_local8 = null;
162
162
  var tmp13_local9 = null;
163
163
  var tmp16_input = decoder.kx(tmp0_desc);
164
- var tmp17_cached = Companion_getInstance_0().r2u_1;
164
+ var tmp17_cached = Companion_getInstance_0().f2v_1;
165
165
  if (tmp16_input.zx()) {
166
166
  tmp4_local0 = tmp16_input.wx(tmp0_desc, 0, AttoPublicKeySerializer_getInstance(), tmp4_local0);
167
167
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -235,13 +235,13 @@ function $serializer() {
235
235
  }
236
236
  }
237
237
  tmp16_input.lx(tmp0_desc);
238
- return AttoAccount().p2v(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
238
+ return AttoAccount().d2w(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
239
239
  }
240
240
  xs() {
241
- return this.k2v_1;
241
+ return this.y2v_1;
242
242
  }
243
243
  l15() {
244
- var tmp0_cached = Companion_getInstance_0().r2u_1;
244
+ var tmp0_cached = Companion_getInstance_0().f2v_1;
245
245
  // Inline function 'kotlin.arrayOf' call
246
246
  // Inline function 'kotlin.js.unsafeCast' call
247
247
  // Inline function 'kotlin.js.asDynamic' call
@@ -300,83 +300,83 @@ function AttoAccount() {
300
300
  this.network = network;
301
301
  this.version = version;
302
302
  this.algorithm = algorithm;
303
- this.m2v_1 = height;
303
+ this.a2w_1 = height;
304
304
  this.balance = balance;
305
305
  this.lastTransactionHash = lastTransactionHash;
306
306
  this.lastTransactionTimestamp = lastTransactionTimestamp;
307
307
  this.representativeAlgorithm = representativeAlgorithm;
308
308
  this.representativePublicKey = representativePublicKey;
309
309
  var tmp = this;
310
- tmp.n2v_1 = lazy_0(AttoAccount$address$delegate$lambda(this));
310
+ tmp.b2w_1 = lazy_0(AttoAccount$address$delegate$lambda(this));
311
311
  var tmp_0 = this;
312
- tmp_0.o2v_1 = lazy_0(AttoAccount$representativeAddress$delegate$lambda(this));
312
+ tmp_0.c2w_1 = lazy_0(AttoAccount$representativeAddress$delegate$lambda(this));
313
313
  }
314
- q2v() {
314
+ e2w() {
315
315
  return this.publicKey;
316
316
  }
317
- r2v() {
317
+ f2w() {
318
318
  return this.network;
319
319
  }
320
- s2v() {
320
+ g2w() {
321
321
  return this.version;
322
322
  }
323
- t2v() {
323
+ h2w() {
324
324
  return this.algorithm;
325
325
  }
326
- u2v() {
327
- return this.m2v_1;
326
+ i2w() {
327
+ return this.a2w_1;
328
328
  }
329
- v2v() {
329
+ j2w() {
330
330
  return this.balance;
331
331
  }
332
- w2v() {
332
+ k2w() {
333
333
  return this.lastTransactionHash;
334
334
  }
335
- x2v() {
335
+ l2w() {
336
336
  return this.lastTransactionTimestamp;
337
337
  }
338
- y2v() {
338
+ m2w() {
339
339
  return this.representativeAlgorithm;
340
340
  }
341
- z2v() {
341
+ n2w() {
342
342
  return this.representativePublicKey;
343
343
  }
344
- a2w() {
345
- var tmp0 = this.n2v_1;
344
+ o2w() {
345
+ var tmp0 = this.b2w_1;
346
346
  var tmp = KProperty1();
347
347
  // Inline function 'kotlin.getValue' call
348
348
  getPropertyCallableRef('address', 1, tmp, AttoAccount$_get_address_$ref_18f195(), null);
349
349
  return tmp0.s1();
350
350
  }
351
- b2w() {
352
- var tmp0 = this.o2v_1;
351
+ p2w() {
352
+ var tmp0 = this.c2w_1;
353
353
  var tmp = KProperty1();
354
354
  // Inline function 'kotlin.getValue' call
355
355
  getPropertyCallableRef('representativeAddress', 1, tmp, AttoAccount$_get_representativeAddress_$ref_s5qqn0(), null);
356
356
  return tmp0.s1();
357
357
  }
358
- c2w(receiverAlgorithm, receiverPublicKey, amount, timestamp) {
358
+ q2w(receiverAlgorithm, receiverPublicKey, amount, timestamp) {
359
359
  if (receiverPublicKey.equals(this.publicKey)) {
360
360
  throw IllegalArgumentException().u("You can't send money to yourself");
361
361
  }
362
362
  var newBalance = this.balance.minus(amount);
363
- var newHeight = this.m2v_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
363
+ var newHeight = this.a2w_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
364
364
  var block = new (AttoSendBlock())(this.network, this.version, this.algorithm, this.publicKey, newHeight, newBalance, timestamp, this.lastTransactionHash, receiverAlgorithm, receiverPublicKey, amount);
365
365
  var updatedAccount = this.copy(VOID, VOID, VOID, VOID, newHeight, newBalance, block.hash, timestamp);
366
366
  return new (Pair())(block, updatedAccount);
367
367
  }
368
368
  send$default(receiverAlgorithm, receiverPublicKey, amount, timestamp, $super) {
369
369
  timestamp = timestamp === VOID ? System_instance.i1e() : timestamp;
370
- return $super === VOID ? this.c2w(receiverAlgorithm, receiverPublicKey, amount, timestamp) : $super.c2w.call(this, receiverAlgorithm, receiverPublicKey, amount, timestamp);
370
+ return $super === VOID ? this.q2w(receiverAlgorithm, receiverPublicKey, amount, timestamp) : $super.q2w.call(this, receiverAlgorithm, receiverPublicKey, amount, timestamp);
371
371
  }
372
- d2w(receivable, timestamp) {
372
+ r2w(receivable, timestamp) {
373
373
  // Inline function 'kotlin.require' call
374
374
  if (!(timestamp.r1w(receivable.timestamp) > 0)) {
375
375
  var message = "Timestamp can't be before receivable timestamp";
376
376
  throw IllegalArgumentException().u(toString(message));
377
377
  }
378
378
  var newBalance = this.balance.plus(receivable.amount);
379
- var newHeight = this.m2v_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
379
+ var newHeight = this.a2w_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
380
380
  var newVersion = max(this.version, receivable.version);
381
381
  var block = new (AttoReceiveBlock())(this.network, newVersion, this.algorithm, this.publicKey, newHeight, newBalance, timestamp, this.lastTransactionHash, receivable.algorithm, receivable.hash);
382
382
  var updatedAccount = this.copy(VOID, VOID, newVersion, VOID, newHeight, newBalance, block.hash, timestamp);
@@ -384,17 +384,17 @@ function AttoAccount() {
384
384
  }
385
385
  receive$default(receivable, timestamp, $super) {
386
386
  timestamp = timestamp === VOID ? System_instance.i1e() : timestamp;
387
- return $super === VOID ? this.d2w(receivable, timestamp) : $super.d2w.call(this, receivable, timestamp);
387
+ return $super === VOID ? this.r2w(receivable, timestamp) : $super.r2w.call(this, receivable, timestamp);
388
388
  }
389
- e2w(representativeAlgorithm, representativePublicKey, timestamp) {
390
- var newHeight = this.m2v_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
389
+ s2w(representativeAlgorithm, representativePublicKey, timestamp) {
390
+ var newHeight = this.a2w_1.plus(toAttoHeight(_UInt___init__impl__l7qpdl(1)));
391
391
  var block = new (AttoChangeBlock())(this.network, this.version, this.algorithm, this.publicKey, newHeight, this.balance, timestamp, this.lastTransactionHash, representativeAlgorithm, representativePublicKey);
392
392
  var updatedAccount = this.copy(VOID, VOID, VOID, VOID, newHeight, VOID, block.hash, timestamp, representativeAlgorithm, representativePublicKey);
393
393
  return new (Pair())(block, updatedAccount);
394
394
  }
395
395
  change$default(representativeAlgorithm, representativePublicKey, timestamp, $super) {
396
396
  timestamp = timestamp === VOID ? System_instance.i1e() : timestamp;
397
- return $super === VOID ? this.e2w(representativeAlgorithm, representativePublicKey, timestamp) : $super.e2w.call(this, representativeAlgorithm, representativePublicKey, timestamp);
397
+ return $super === VOID ? this.s2w(representativeAlgorithm, representativePublicKey, timestamp) : $super.s2w.call(this, representativeAlgorithm, representativePublicKey, timestamp);
398
398
  }
399
399
  gl() {
400
400
  return this.publicKey;
@@ -402,31 +402,31 @@ function AttoAccount() {
402
402
  hl() {
403
403
  return this.network;
404
404
  }
405
- f2w() {
405
+ t2w() {
406
406
  return this.version;
407
407
  }
408
- g2w() {
408
+ u2w() {
409
409
  return this.algorithm;
410
410
  }
411
- h2w() {
412
- return this.m2v_1;
411
+ v2w() {
412
+ return this.a2w_1;
413
413
  }
414
- i2w() {
414
+ w2w() {
415
415
  return this.balance;
416
416
  }
417
- j2w() {
417
+ x2w() {
418
418
  return this.lastTransactionHash;
419
419
  }
420
- k2w() {
420
+ y2w() {
421
421
  return this.lastTransactionTimestamp;
422
422
  }
423
- l2w() {
423
+ z2w() {
424
424
  return this.representativeAlgorithm;
425
425
  }
426
- m2w() {
426
+ a2x() {
427
427
  return this.representativePublicKey;
428
428
  }
429
- n2w(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey) {
429
+ b2x(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey) {
430
430
  return new (AttoAccount())(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey);
431
431
  }
432
432
  copy(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey, $super) {
@@ -434,23 +434,23 @@ function AttoAccount() {
434
434
  network = network === VOID ? this.network : network;
435
435
  version = version === VOID ? this.version : version;
436
436
  algorithm = algorithm === VOID ? this.algorithm : algorithm;
437
- height = height === VOID ? this.m2v_1 : height;
437
+ height = height === VOID ? this.a2w_1 : height;
438
438
  balance = balance === VOID ? this.balance : balance;
439
439
  lastTransactionHash = lastTransactionHash === VOID ? this.lastTransactionHash : lastTransactionHash;
440
440
  lastTransactionTimestamp = lastTransactionTimestamp === VOID ? this.lastTransactionTimestamp : lastTransactionTimestamp;
441
441
  representativeAlgorithm = representativeAlgorithm === VOID ? this.representativeAlgorithm : representativeAlgorithm;
442
442
  representativePublicKey = representativePublicKey === VOID ? this.representativePublicKey : representativePublicKey;
443
- return $super === VOID ? this.n2w(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey) : $super.n2w.call(this, publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey);
443
+ return $super === VOID ? this.b2x(publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey) : $super.b2x.call(this, publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey);
444
444
  }
445
445
  toString() {
446
- return 'AttoAccount(publicKey=' + this.publicKey.toString() + ', network=' + this.network.toString() + ', version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', height=' + this.m2v_1.toString() + ', balance=' + this.balance.toString() + ', lastTransactionHash=' + this.lastTransactionHash.toString() + ', lastTransactionTimestamp=' + this.lastTransactionTimestamp.toString() + ', representativeAlgorithm=' + this.representativeAlgorithm.toString() + ', representativePublicKey=' + this.representativePublicKey.toString() + ')';
446
+ return 'AttoAccount(publicKey=' + this.publicKey.toString() + ', network=' + this.network.toString() + ', version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', height=' + this.a2w_1.toString() + ', balance=' + this.balance.toString() + ', lastTransactionHash=' + this.lastTransactionHash.toString() + ', lastTransactionTimestamp=' + this.lastTransactionTimestamp.toString() + ', representativeAlgorithm=' + this.representativeAlgorithm.toString() + ', representativePublicKey=' + this.representativePublicKey.toString() + ')';
447
447
  }
448
448
  hashCode() {
449
449
  var result = this.publicKey.hashCode();
450
450
  result = imul(result, 31) + this.network.hashCode() | 0;
451
451
  result = imul(result, 31) + this.version.hashCode() | 0;
452
452
  result = imul(result, 31) + this.algorithm.hashCode() | 0;
453
- result = imul(result, 31) + this.m2v_1.hashCode() | 0;
453
+ result = imul(result, 31) + this.a2w_1.hashCode() | 0;
454
454
  result = imul(result, 31) + this.balance.hashCode() | 0;
455
455
  result = imul(result, 31) + this.lastTransactionHash.hashCode() | 0;
456
456
  result = imul(result, 31) + this.lastTransactionTimestamp.hashCode() | 0;
@@ -472,7 +472,7 @@ function AttoAccount() {
472
472
  return false;
473
473
  if (!this.algorithm.equals(tmp0_other_with_cast.algorithm))
474
474
  return false;
475
- if (!this.m2v_1.equals(tmp0_other_with_cast.m2v_1))
475
+ if (!this.a2w_1.equals(tmp0_other_with_cast.a2w_1))
476
476
  return false;
477
477
  if (!this.balance.equals(tmp0_other_with_cast.balance))
478
478
  return false;
@@ -486,36 +486,36 @@ function AttoAccount() {
486
486
  return false;
487
487
  return true;
488
488
  }
489
- static p2v(seen0, publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey, serializationConstructorMarker) {
489
+ static d2w(seen0, publicKey, network, version, algorithm, height, balance, lastTransactionHash, lastTransactionTimestamp, representativeAlgorithm, representativePublicKey, serializationConstructorMarker) {
490
490
  Companion_getInstance_0();
491
491
  if (!(1023 === (1023 & seen0))) {
492
- throwMissingFieldException(seen0, 1023, $serializer_getInstance().k2v_1);
492
+ throwMissingFieldException(seen0, 1023, $serializer_getInstance().y2v_1);
493
493
  }
494
494
  var $this = createThis(this);
495
495
  $this.publicKey = publicKey;
496
496
  $this.network = network;
497
497
  $this.version = version;
498
498
  $this.algorithm = algorithm;
499
- $this.m2v_1 = height;
499
+ $this.a2w_1 = height;
500
500
  $this.balance = balance;
501
501
  $this.lastTransactionHash = lastTransactionHash;
502
502
  $this.lastTransactionTimestamp = lastTransactionTimestamp;
503
503
  $this.representativeAlgorithm = representativeAlgorithm;
504
504
  $this.representativePublicKey = representativePublicKey;
505
505
  var tmp = $this;
506
- tmp.n2v_1 = lazy_0(AttoAccount$_init_$lambda_irkxp0($this));
506
+ tmp.b2w_1 = lazy_0(AttoAccount$_init_$lambda_irkxp0($this));
507
507
  var tmp_0 = $this;
508
- tmp_0.o2v_1 = lazy_0(AttoAccount$_init_$lambda_irkxp0_0($this));
508
+ tmp_0.c2w_1 = lazy_0(AttoAccount$_init_$lambda_irkxp0_0($this));
509
509
  return $this;
510
510
  }
511
511
  get height() {
512
- return this.u2v();
512
+ return this.i2w();
513
513
  }
514
514
  get address() {
515
- return this.a2w();
515
+ return this.o2w();
516
516
  }
517
517
  get representativeAddress() {
518
- return this.b2w();
518
+ return this.p2w();
519
519
  }
520
520
  }
521
521
  initMetadataForClass($, 'AttoAccount', VOID, VOID, [HeightSupport()], VOID, VOID, {0: $serializer_getInstance});