@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
@@ -20,8 +20,8 @@ function $signCOROUTINE$() {
20
20
  class $ extends CoroutineImpl() {
21
21
  constructor(_this__u8e3s4, block, resultContinuation) {
22
22
  super(resultContinuation);
23
- this.e33_1 = _this__u8e3s4;
24
- this.f33_1 = block;
23
+ this.s33_1 = _this__u8e3s4;
24
+ this.t33_1 = block;
25
25
  }
26
26
  ic() {
27
27
  var suspendResult = this.cc_1;
@@ -32,7 +32,7 @@ function $signCOROUTINE$() {
32
32
  case 0:
33
33
  this.bc_1 = 3;
34
34
  this.ac_1 = 1;
35
- suspendResult = this.e33_1.g33(this.f33_1.publicKey, this);
35
+ suspendResult = this.s33_1.u33(this.t33_1.publicKey, this);
36
36
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
37
37
  return suspendResult;
38
38
  }
@@ -40,7 +40,7 @@ function $signCOROUTINE$() {
40
40
  continue $sm;
41
41
  case 1:
42
42
  this.ac_1 = 2;
43
- suspendResult = this.e33_1.h33(this.f33_1.hash, this);
43
+ suspendResult = this.s33_1.v33(this.t33_1.hash, this);
44
44
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
45
45
  return suspendResult;
46
46
  }
@@ -74,8 +74,8 @@ function $signCOROUTINE$_0() {
74
74
  class $ extends CoroutineImpl() {
75
75
  constructor(_this__u8e3s4, vote, resultContinuation) {
76
76
  super(resultContinuation);
77
- this.q33_1 = _this__u8e3s4;
78
- this.r33_1 = vote;
77
+ this.e34_1 = _this__u8e3s4;
78
+ this.f34_1 = vote;
79
79
  }
80
80
  ic() {
81
81
  var suspendResult = this.cc_1;
@@ -86,7 +86,7 @@ function $signCOROUTINE$_0() {
86
86
  case 0:
87
87
  this.bc_1 = 3;
88
88
  this.ac_1 = 1;
89
- suspendResult = this.q33_1.g33(this.r33_1.publicKey, this);
89
+ suspendResult = this.e34_1.u33(this.f34_1.publicKey, this);
90
90
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
91
91
  return suspendResult;
92
92
  }
@@ -94,7 +94,7 @@ function $signCOROUTINE$_0() {
94
94
  continue $sm;
95
95
  case 1:
96
96
  this.ac_1 = 2;
97
- suspendResult = this.q33_1.h33(this.r33_1.hash, this);
97
+ suspendResult = this.e34_1.v33(this.f34_1.hash, this);
98
98
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
99
99
  return suspendResult;
100
100
  }
@@ -135,11 +135,11 @@ function sign_0(vote, $completion) {
135
135
  return tmp.ic();
136
136
  }
137
137
  function sign_1(challenge, timestamp, $completion) {
138
- return this.h33(Companion_instance.hash(64, [this.q2v().value, challenge.value, toByteArray(timestamp)]), $completion);
138
+ return this.v33(Companion_instance.hash(64, [this.e2w().value, challenge.value, toByteArray(timestamp)]), $completion);
139
139
  }
140
140
  function checkPublicKey(publicKey, $completion) {
141
- if (!this.q2v().equals(publicKey)) {
142
- throw IllegalArgumentException().u('Different public key ' + this.q2v().toString());
141
+ if (!this.e2w().equals(publicKey)) {
142
+ throw IllegalArgumentException().u('Different public key ' + this.e2w().toString());
143
143
  }
144
144
  return Unit_instance;
145
145
  }
@@ -25,10 +25,10 @@ function AttoSocketAddress() {
25
25
  this.address = address;
26
26
  this.port = port;
27
27
  }
28
- a2w() {
28
+ o2w() {
29
29
  return this.address;
30
30
  }
31
- w33() {
31
+ k34() {
32
32
  return this.port;
33
33
  }
34
34
  equals(other) {
@@ -52,16 +52,16 @@ function AttoSocketAddress() {
52
52
  gl() {
53
53
  return this.address;
54
54
  }
55
- x33() {
55
+ l34() {
56
56
  return this.port;
57
57
  }
58
- y33(address, port) {
58
+ m34(address, port) {
59
59
  return new (AttoSocketAddress())(address, port);
60
60
  }
61
61
  copy(address, port, $super) {
62
62
  address = address === VOID ? this.address : address;
63
63
  port = port === VOID ? this.port : port;
64
- return $super === VOID ? this.y33(address, port) : $super.y33.call(this, address, new (UShort())(port));
64
+ return $super === VOID ? this.m34(address, port) : $super.m34.call(this, address, new (UShort())(port));
65
65
  }
66
66
  toString() {
67
67
  return 'AttoSocketAddress(address=' + toString(this.address) + ', port=' + new (UShort())(this.port) + ')';
@@ -48,7 +48,7 @@ var imul = Math.imul;
48
48
  //region block: pre-declaration
49
49
  //endregion
50
50
  function AttoTransaction$Companion$$childSerializers$_anonymous__8sfh5y() {
51
- return Companion_instance.q2u();
51
+ return Companion_instance.e2v();
52
52
  }
53
53
  var CompanionClass;
54
54
  function Companion() {
@@ -61,10 +61,10 @@ function Companion() {
61
61
  // Inline function 'kotlin.arrayOf' call
62
62
  // Inline function 'kotlin.js.unsafeCast' call
63
63
  // Inline function 'kotlin.js.asDynamic' call
64
- tmp.z33_1 = [lazy(tmp_0, AttoTransaction$Companion$$childSerializers$_anonymous__8sfh5y), null, null];
64
+ tmp.n34_1 = [lazy(tmp_0, AttoTransaction$Companion$$childSerializers$_anonymous__8sfh5y), null, null];
65
65
  this.SIZE = 72;
66
66
  }
67
- t32() {
67
+ h33() {
68
68
  return this.SIZE;
69
69
  }
70
70
  fromBuffer(buffer) {
@@ -85,7 +85,7 @@ function Companion() {
85
85
  }
86
86
  return transaction;
87
87
  }
88
- q2u() {
88
+ e2v() {
89
89
  return $serializer_getInstance();
90
90
  }
91
91
  }
@@ -110,22 +110,22 @@ function $serializer() {
110
110
  tmp0_serialDesc.w14('block', false);
111
111
  tmp0_serialDesc.w14('signature', false);
112
112
  tmp0_serialDesc.w14('work', false);
113
- this.a34_1 = tmp0_serialDesc;
113
+ this.o34_1 = tmp0_serialDesc;
114
114
  }
115
- b34(encoder, value) {
116
- var tmp0_desc = this.a34_1;
115
+ p34(encoder, value) {
116
+ var tmp0_desc = this.o34_1;
117
117
  var tmp1_output = encoder.kx(tmp0_desc);
118
- var tmp2_cached = Companion_getInstance().z33_1;
118
+ var tmp2_cached = Companion_getInstance().n34_1;
119
119
  tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.block);
120
120
  tmp1_output.bz(tmp0_desc, 1, AttoSignatureSerializer_getInstance(), value.signature);
121
121
  tmp1_output.bz(tmp0_desc, 2, AttoWorkSerializer_getInstance(), value.work);
122
122
  tmp1_output.lx(tmp0_desc);
123
123
  }
124
124
  ys(encoder, value) {
125
- return this.b34(encoder, value instanceof AttoTransaction() ? value : THROW_CCE());
125
+ return this.p34(encoder, value instanceof AttoTransaction() ? value : THROW_CCE());
126
126
  }
127
127
  zs(decoder) {
128
- var tmp0_desc = this.a34_1;
128
+ var tmp0_desc = this.o34_1;
129
129
  var tmp1_flag = true;
130
130
  var tmp2_index = 0;
131
131
  var tmp3_bitMask0 = 0;
@@ -133,7 +133,7 @@ function $serializer() {
133
133
  var tmp5_local1 = null;
134
134
  var tmp6_local2 = null;
135
135
  var tmp9_input = decoder.kx(tmp0_desc);
136
- var tmp10_cached = Companion_getInstance().z33_1;
136
+ var tmp10_cached = Companion_getInstance().n34_1;
137
137
  if (tmp9_input.zx()) {
138
138
  tmp4_local0 = tmp9_input.wx(tmp0_desc, 0, tmp10_cached[0].s1(), tmp4_local0);
139
139
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -165,16 +165,16 @@ function $serializer() {
165
165
  }
166
166
  }
167
167
  tmp9_input.lx(tmp0_desc);
168
- return AttoTransaction().e34(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
168
+ return AttoTransaction().s34(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
169
169
  }
170
170
  xs() {
171
- return this.a34_1;
171
+ return this.o34_1;
172
172
  }
173
173
  l15() {
174
174
  // Inline function 'kotlin.arrayOf' call
175
175
  // Inline function 'kotlin.js.unsafeCast' call
176
176
  // Inline function 'kotlin.js.asDynamic' call
177
- return [Companion_getInstance().z33_1[0].s1(), AttoSignatureSerializer_getInstance(), AttoWorkSerializer_getInstance()];
177
+ return [Companion_getInstance().n34_1[0].s1(), AttoSignatureSerializer_getInstance(), AttoWorkSerializer_getInstance()];
178
178
  }
179
179
  }
180
180
  protoOf($).m15 = typeParametersSerializers;
@@ -214,27 +214,27 @@ function AttoTransaction() {
214
214
  this.signature = signature;
215
215
  this.work = work;
216
216
  var tmp = this;
217
- tmp.c34_1 = lazy_0(AttoTransaction$hash$delegate$lambda(this));
218
- this.d34_1 = this.block.height;
217
+ tmp.q34_1 = lazy_0(AttoTransaction$hash$delegate$lambda(this));
218
+ this.r34_1 = this.block.height;
219
219
  }
220
- f34() {
220
+ t34() {
221
221
  return this.block;
222
222
  }
223
- g34() {
223
+ u34() {
224
224
  return this.signature;
225
225
  }
226
- h34() {
226
+ v34() {
227
227
  return this.work;
228
228
  }
229
- v2w() {
230
- var tmp0 = this.c34_1;
229
+ j2x() {
230
+ var tmp0 = this.q34_1;
231
231
  var tmp = KProperty1();
232
232
  // Inline function 'kotlin.getValue' call
233
233
  getPropertyCallableRef('hash', 1, tmp, AttoTransaction$_get_hash_$ref_ha8bds(), null);
234
234
  return tmp0.s1();
235
235
  }
236
- u2v() {
237
- return this.d34_1;
236
+ i2w() {
237
+ return this.r34_1;
238
238
  }
239
239
  isValid() {
240
240
  if (!this.block.isValid()) {
@@ -251,11 +251,11 @@ function AttoTransaction() {
251
251
  getTotalSize() {
252
252
  return 72 + this.block.type.size | 0;
253
253
  }
254
- r2y() {
255
- var serializedBlock = this.block.r2y();
254
+ f2z() {
255
+ var serializedBlock = this.block.f2z();
256
256
  // Inline function 'kotlin.apply' call
257
257
  var this_0 = new (Buffer())();
258
- this_0.f2s(serializedBlock, serializedBlock.i1());
258
+ this_0.t2s(serializedBlock, serializedBlock.i1());
259
259
  writeAttoSignature(this_0, this.signature);
260
260
  writeAttoWork(this_0, this.work);
261
261
  return this_0;
@@ -269,17 +269,17 @@ function AttoTransaction() {
269
269
  hl() {
270
270
  return this.signature;
271
271
  }
272
- f2w() {
272
+ t2w() {
273
273
  return this.work;
274
274
  }
275
- i34(block, signature, work) {
275
+ w34(block, signature, work) {
276
276
  return new (AttoTransaction())(block, signature, work);
277
277
  }
278
278
  copy(block, signature, work, $super) {
279
279
  block = block === VOID ? this.block : block;
280
280
  signature = signature === VOID ? this.signature : signature;
281
281
  work = work === VOID ? this.work : work;
282
- return $super === VOID ? this.i34(block, signature, work) : $super.i34.call(this, block, signature, work);
282
+ return $super === VOID ? this.w34(block, signature, work) : $super.w34.call(this, block, signature, work);
283
283
  }
284
284
  hashCode() {
285
285
  var result = hashCode(this.block);
@@ -301,25 +301,25 @@ function AttoTransaction() {
301
301
  return false;
302
302
  return true;
303
303
  }
304
- static e34(seen0, block, signature, work, serializationConstructorMarker) {
304
+ static s34(seen0, block, signature, work, serializationConstructorMarker) {
305
305
  Companion_getInstance();
306
306
  if (!(7 === (7 & seen0))) {
307
- throwMissingFieldException(seen0, 7, $serializer_getInstance().a34_1);
307
+ throwMissingFieldException(seen0, 7, $serializer_getInstance().o34_1);
308
308
  }
309
309
  var $this = createThis(this);
310
310
  $this.block = block;
311
311
  $this.signature = signature;
312
312
  $this.work = work;
313
313
  var tmp = $this;
314
- tmp.c34_1 = lazy_0(AttoTransaction$_init_$lambda_46wg3f($this));
315
- $this.d34_1 = $this.block.height;
314
+ tmp.q34_1 = lazy_0(AttoTransaction$_init_$lambda_46wg3f($this));
315
+ $this.r34_1 = $this.block.height;
316
316
  return $this;
317
317
  }
318
318
  get hash() {
319
- return this.v2w();
319
+ return this.j2x();
320
320
  }
321
321
  get height() {
322
- return this.u2v();
322
+ return this.i2w();
323
323
  }
324
324
  }
325
325
  initMetadataForClass($, 'AttoTransaction', VOID, VOID, [HeightSupport()], VOID, VOID, {0: $serializer_getInstance});
@@ -24,7 +24,7 @@ var CompanionClass;
24
24
  function Companion() {
25
25
  if (CompanionClass === VOID) {
26
26
  class $ {
27
- q2u() {
27
+ e2v() {
28
28
  return AttoVersionSerializer_getInstance();
29
29
  }
30
30
  }
@@ -44,10 +44,10 @@ function AttoVersion() {
44
44
  constructor(value) {
45
45
  this.value = value;
46
46
  }
47
- j34() {
47
+ x34() {
48
48
  return this.value;
49
49
  }
50
- s2y(other) {
50
+ g2z(other) {
51
51
  var tmp0 = this.value;
52
52
  // Inline function 'kotlin.UShort.compareTo' call
53
53
  var other_0 = other.value;
@@ -58,20 +58,20 @@ function AttoVersion() {
58
58
  return compareTo(tmp, tmp$ret$1);
59
59
  }
60
60
  d(other) {
61
- return this.s2y(other instanceof AttoVersion() ? other : THROW_CCE());
61
+ return this.g2z(other instanceof AttoVersion() ? other : THROW_CCE());
62
62
  }
63
63
  toString() {
64
64
  return UShort__toString_impl_edaoee(this.value);
65
65
  }
66
- k34() {
66
+ y34() {
67
67
  return this.value;
68
68
  }
69
- l34(value) {
69
+ z34(value) {
70
70
  return new (AttoVersion())(value);
71
71
  }
72
72
  copy(value, $super) {
73
73
  value = value === VOID ? this.value : value;
74
- return $super === VOID ? this.l34(value) : $super.l34.call(this, new (UShort())(value));
74
+ return $super === VOID ? this.z34(value) : $super.z34.call(this, new (UShort())(value));
75
75
  }
76
76
  hashCode() {
77
77
  return UShort__hashCode_impl_ywngrv(this.value);
@@ -114,16 +114,16 @@ function AttoVersionSerializer() {
114
114
  class $ {
115
115
  constructor() {
116
116
  AttoVersionSerializer_instance = this;
117
- this.m34_1 = serializer(Companion_getInstance()).xs();
117
+ this.a35_1 = serializer(Companion_getInstance()).xs();
118
118
  }
119
119
  xs() {
120
- return this.m34_1;
120
+ return this.a35_1;
121
121
  }
122
- n34(encoder, value) {
122
+ b35(encoder, value) {
123
123
  serializer(Companion_getInstance()).ys(encoder, new (UShort())(value.value));
124
124
  }
125
125
  ys(encoder, value) {
126
- return this.n34(encoder, value instanceof AttoVersion() ? value : THROW_CCE());
126
+ return this.b35(encoder, value instanceof AttoVersion() ? value : THROW_CCE());
127
127
  }
128
128
  zs(decoder) {
129
129
  return new (AttoVersion())(serializer(Companion_getInstance()).zs(decoder).qs_1);
@@ -55,10 +55,10 @@ var imul = Math.imul;
55
55
  //region block: pre-declaration
56
56
  //endregion
57
57
  function AttoVote$Companion$$childSerializers$_anonymous__q6z172() {
58
- return Companion_getInstance().q2u();
58
+ return Companion_getInstance().e2v();
59
59
  }
60
60
  function AttoVote$Companion$$childSerializers$_anonymous__q6z172_0() {
61
- return Companion_getInstance().q2u();
61
+ return Companion_getInstance().e2v();
62
62
  }
63
63
  var CompanionClass;
64
64
  function Companion() {
@@ -73,13 +73,13 @@ function Companion() {
73
73
  // Inline function 'kotlin.arrayOf' call
74
74
  // Inline function 'kotlin.js.unsafeCast' call
75
75
  // Inline function 'kotlin.js.asDynamic' call
76
- tmp.o34_1 = [null, tmp_1, null, lazy(tmp_2, AttoVote$Companion$$childSerializers$_anonymous__q6z172_0), null, null];
76
+ tmp.c35_1 = [null, tmp_1, null, lazy(tmp_2, AttoVote$Companion$$childSerializers$_anonymous__q6z172_0), null, null];
77
77
  this.finalTimestamp = Companion_getInstance_0().k1w(new (Long())(-1, 2147483647));
78
78
  }
79
- p34() {
79
+ d35() {
80
80
  return this.finalTimestamp;
81
81
  }
82
- q2u() {
82
+ e2v() {
83
83
  return $serializer_getInstance();
84
84
  }
85
85
  }
@@ -107,12 +107,12 @@ function $serializer() {
107
107
  tmp0_serialDesc.w14('blockAlgorithm', false);
108
108
  tmp0_serialDesc.w14('blockHash', false);
109
109
  tmp0_serialDesc.w14('timestamp', false);
110
- this.q34_1 = tmp0_serialDesc;
110
+ this.e35_1 = tmp0_serialDesc;
111
111
  }
112
- r34(encoder, value) {
113
- var tmp0_desc = this.q34_1;
112
+ f35(encoder, value) {
113
+ var tmp0_desc = this.e35_1;
114
114
  var tmp1_output = encoder.kx(tmp0_desc);
115
- var tmp2_cached = Companion_getInstance_1().o34_1;
115
+ var tmp2_cached = Companion_getInstance_1().c35_1;
116
116
  tmp1_output.bz(tmp0_desc, 0, AttoVersionSerializer_getInstance(), value.version);
117
117
  tmp1_output.bz(tmp0_desc, 1, tmp2_cached[1].s1(), value.algorithm);
118
118
  tmp1_output.bz(tmp0_desc, 2, AttoPublicKeySerializer_getInstance(), value.publicKey);
@@ -122,10 +122,10 @@ function $serializer() {
122
122
  tmp1_output.lx(tmp0_desc);
123
123
  }
124
124
  ys(encoder, value) {
125
- return this.r34(encoder, value instanceof AttoVote() ? value : THROW_CCE());
125
+ return this.f35(encoder, value instanceof AttoVote() ? value : THROW_CCE());
126
126
  }
127
127
  zs(decoder) {
128
- var tmp0_desc = this.q34_1;
128
+ var tmp0_desc = this.e35_1;
129
129
  var tmp1_flag = true;
130
130
  var tmp2_index = 0;
131
131
  var tmp3_bitMask0 = 0;
@@ -136,7 +136,7 @@ function $serializer() {
136
136
  var tmp8_local4 = null;
137
137
  var tmp9_local5 = null;
138
138
  var tmp11_input = decoder.kx(tmp0_desc);
139
- var tmp12_cached = Companion_getInstance_1().o34_1;
139
+ var tmp12_cached = Companion_getInstance_1().c35_1;
140
140
  if (tmp11_input.zx()) {
141
141
  tmp4_local0 = tmp11_input.wx(tmp0_desc, 0, AttoVersionSerializer_getInstance(), tmp4_local0);
142
142
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -186,13 +186,13 @@ function $serializer() {
186
186
  }
187
187
  }
188
188
  tmp11_input.lx(tmp0_desc);
189
- return AttoVote().s34(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
189
+ return AttoVote().g35(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
190
190
  }
191
191
  xs() {
192
- return this.q34_1;
192
+ return this.e35_1;
193
193
  }
194
194
  l15() {
195
- var tmp0_cached = Companion_getInstance_1().o34_1;
195
+ var tmp0_cached = Companion_getInstance_1().c35_1;
196
196
  // Inline function 'kotlin.arrayOf' call
197
197
  // Inline function 'kotlin.js.unsafeCast' call
198
198
  // Inline function 'kotlin.js.asDynamic' call
@@ -213,7 +213,7 @@ function $serializer_getInstance() {
213
213
  }
214
214
  function AttoVote$hash$delegate$lambda(this$0) {
215
215
  return function () {
216
- return hash(this$0.r2y());
216
+ return hash(this$0.f2z());
217
217
  };
218
218
  }
219
219
  function AttoVote$_get_hash_$ref_apyrns() {
@@ -223,7 +223,7 @@ function AttoVote$_get_hash_$ref_apyrns() {
223
223
  }
224
224
  function AttoVote$_init_$lambda_d8h57x(this$0) {
225
225
  return function () {
226
- return hash(this$0.r2y());
226
+ return hash(this$0.f2z());
227
227
  };
228
228
  }
229
229
  var AttoVoteClass;
@@ -239,28 +239,28 @@ function AttoVote() {
239
239
  this.blockHash = blockHash;
240
240
  this.timestamp = timestamp;
241
241
  var tmp = this;
242
- tmp.s33_1 = lazy_0(AttoVote$hash$delegate$lambda(this));
242
+ tmp.g34_1 = lazy_0(AttoVote$hash$delegate$lambda(this));
243
243
  }
244
- s2v() {
244
+ g2w() {
245
245
  return this.version;
246
246
  }
247
- t2v() {
247
+ h2w() {
248
248
  return this.algorithm;
249
249
  }
250
- q2v() {
250
+ e2w() {
251
251
  return this.publicKey;
252
252
  }
253
- t34() {
253
+ h35() {
254
254
  return this.blockAlgorithm;
255
255
  }
256
- u34() {
256
+ i35() {
257
257
  return this.blockHash;
258
258
  }
259
- a2x() {
259
+ o2x() {
260
260
  return this.timestamp;
261
261
  }
262
- v2w() {
263
- var tmp0 = this.s33_1;
262
+ j2x() {
263
+ var tmp0 = this.g34_1;
264
264
  var tmp = KProperty1();
265
265
  // Inline function 'kotlin.getValue' call
266
266
  getPropertyCallableRef('hash', 1, tmp, AttoVote$_get_hash_$ref_apyrns(), null);
@@ -278,7 +278,7 @@ function AttoVote() {
278
278
  var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(tmp0) & 65535);
279
279
  return uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other)) <= 0;
280
280
  }
281
- r2y() {
281
+ f2z() {
282
282
  // Inline function 'kotlin.apply' call
283
283
  var this_0 = new (Buffer())();
284
284
  writeAttoVersion(this_0, this.version);
@@ -295,19 +295,19 @@ function AttoVote() {
295
295
  hl() {
296
296
  return this.algorithm;
297
297
  }
298
- f2w() {
298
+ t2w() {
299
299
  return this.publicKey;
300
300
  }
301
- g2w() {
301
+ u2w() {
302
302
  return this.blockAlgorithm;
303
303
  }
304
- h2w() {
304
+ v2w() {
305
305
  return this.blockHash;
306
306
  }
307
- i2w() {
307
+ w2w() {
308
308
  return this.timestamp;
309
309
  }
310
- v34(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) {
310
+ j35(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) {
311
311
  return new (AttoVote())(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
312
312
  }
313
313
  copy(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, $super) {
@@ -317,7 +317,7 @@ function AttoVote() {
317
317
  blockAlgorithm = blockAlgorithm === VOID ? this.blockAlgorithm : blockAlgorithm;
318
318
  blockHash = blockHash === VOID ? this.blockHash : blockHash;
319
319
  timestamp = timestamp === VOID ? this.timestamp : timestamp;
320
- return $super === VOID ? this.v34(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) : $super.v34.call(this, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
320
+ return $super === VOID ? this.j35(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) : $super.j35.call(this, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
321
321
  }
322
322
  toString() {
323
323
  return 'AttoVote(version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', blockAlgorithm=' + this.blockAlgorithm.toString() + ', blockHash=' + this.blockHash.toString() + ', timestamp=' + this.timestamp.toString() + ')';
@@ -351,10 +351,10 @@ function AttoVote() {
351
351
  return false;
352
352
  return true;
353
353
  }
354
- static s34(seen0, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, serializationConstructorMarker) {
354
+ static g35(seen0, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, serializationConstructorMarker) {
355
355
  Companion_getInstance_1();
356
356
  if (!(63 === (63 & seen0))) {
357
- throwMissingFieldException(seen0, 63, $serializer_getInstance().q34_1);
357
+ throwMissingFieldException(seen0, 63, $serializer_getInstance().e35_1);
358
358
  }
359
359
  var $this = createThis(this);
360
360
  $this.version = version;
@@ -364,11 +364,11 @@ function AttoVote() {
364
364
  $this.blockHash = blockHash;
365
365
  $this.timestamp = timestamp;
366
366
  var tmp = $this;
367
- tmp.s33_1 = lazy_0(AttoVote$_init_$lambda_d8h57x($this));
367
+ tmp.g34_1 = lazy_0(AttoVote$_init_$lambda_d8h57x($this));
368
368
  return $this;
369
369
  }
370
370
  get hash() {
371
- return this.v2w();
371
+ return this.j2x();
372
372
  }
373
373
  }
374
374
  initMetadataForClass($, 'AttoVote', VOID, VOID, [AttoHashable()], VOID, VOID, {0: $serializer_getInstance});
@@ -66,7 +66,7 @@ function Companion() {
66
66
  constructor() {
67
67
  this.SIZE = 8;
68
68
  }
69
- t32() {
69
+ h33() {
70
70
  return this.SIZE;
71
71
  }
72
72
  threshold(network, timestamp) {
@@ -75,7 +75,7 @@ function Companion() {
75
75
  parse(value) {
76
76
  return new (AttoWork())(fromHexToByteArray(value));
77
77
  }
78
- q2u() {
78
+ e2v() {
79
79
  return AttoWorkSerializer_getInstance();
80
80
  }
81
81
  }
@@ -101,7 +101,7 @@ function AttoWork() {
101
101
  }
102
102
  isValid(block) {
103
103
  if (block instanceof AttoOpenBlock()) {
104
- return isValid(Companion_instance, block.v2u_1, block.a2v_1, block.y2u_1.value, this.value);
104
+ return isValid(Companion_instance, block.j2v_1, block.o2v_1, block.m2v_1.value, this.value);
105
105
  }
106
106
  if (!isInterface(block, PreviousSupport()))
107
107
  THROW_CCE();
@@ -123,12 +123,12 @@ function AttoWork() {
123
123
  gl() {
124
124
  return this.value;
125
125
  }
126
- h31(value) {
126
+ v31(value) {
127
127
  return new (AttoWork())(value);
128
128
  }
129
129
  copy(value, $super) {
130
130
  value = value === VOID ? this.value : value;
131
- return $super === VOID ? this.h31(value) : $super.h31.call(this, value);
131
+ return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
132
132
  }
133
133
  }
134
134
  initMetadataForClass($, 'AttoWork', VOID, VOID, VOID, VOID, VOID, {0: AttoWorkSerializer_getInstance});
@@ -142,16 +142,16 @@ function AttoWorkSerializer() {
142
142
  class $ {
143
143
  constructor() {
144
144
  AttoWorkSerializer_instance = this;
145
- this.w34_1 = PrimitiveSerialDescriptor('AttoWork', STRING_getInstance());
145
+ this.k35_1 = PrimitiveSerialDescriptor('AttoWork', STRING_getInstance());
146
146
  }
147
147
  xs() {
148
- return this.w34_1;
148
+ return this.k35_1;
149
149
  }
150
- x34(encoder, value) {
150
+ l35(encoder, value) {
151
151
  encoder.oy(value.toString());
152
152
  }
153
153
  ys(encoder, value) {
154
- return this.x34(encoder, value instanceof AttoWork() ? value : THROW_CCE());
154
+ return this.l35(encoder, value instanceof AttoWork() ? value : THROW_CCE());
155
155
  }
156
156
  zs(decoder) {
157
157
  return Companion_instance.parse(decoder.fx());
@@ -222,7 +222,7 @@ function isValid(_this__u8e3s4, network, timestamp, target, work) {
222
222
  }
223
223
  function isValid_0(_this__u8e3s4, threshold, target, work) {
224
224
  _init_properties_AttoWork_kt__ln1ynz();
225
- var difficult = toULong(AttoHasher_instance.d2x(8, [work, target]));
225
+ var difficult = toULong(AttoHasher_instance.r2x(8, [work, target]));
226
226
  // Inline function 'kotlin.ULong.compareTo' call
227
227
  return ulongCompare(_ULong___get_data__impl__fggpzb(difficult), _ULong___get_data__impl__fggpzb(threshold)) <= 0;
228
228
  }
@@ -49,7 +49,7 @@ function checkLength(_this__u8e3s4, size) {
49
49
  }
50
50
  function toULong(_this__u8e3s4) {
51
51
  var buffer = new (Buffer())();
52
- buffer.q2s(_this__u8e3s4);
52
+ buffer.e2t(_this__u8e3s4);
53
53
  return readULongLe(buffer);
54
54
  }
55
55
  function toUint8Array(_this__u8e3s4) {
@@ -20,16 +20,16 @@ function AttoAddressAsByteArraySerializer() {
20
20
  class $ {
21
21
  constructor() {
22
22
  AttoAddressAsByteArraySerializer_instance = this;
23
- this.y34_1 = PrimitiveSerialDescriptor('AttoAddress', BYTE_getInstance());
23
+ this.m35_1 = PrimitiveSerialDescriptor('AttoAddress', BYTE_getInstance());
24
24
  }
25
25
  xs() {
26
- return this.y34_1;
26
+ return this.m35_1;
27
27
  }
28
- z34(encoder, value) {
28
+ n35(encoder, value) {
29
29
  encoder.cz(ByteArraySerializer(), readByteArray(value.toBuffer()));
30
30
  }
31
31
  ys(encoder, value) {
32
- return this.z34(encoder, value instanceof AttoAddress() ? value : THROW_CCE());
32
+ return this.n35(encoder, value instanceof AttoAddress() ? value : THROW_CCE());
33
33
  }
34
34
  zs(decoder) {
35
35
  return Companion_getInstance().parseSerialized(decoder.jx(ByteArraySerializer()));