@attocash/commons-js 5.0.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
  40. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
  41. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
  42. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
  43. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
  44. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  45. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  46. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  47. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  48. package/commons-commons-node.mjs +1 -0
  49. package/commons-commons-node.mjs.map +1 -1
  50. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  51. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  52. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  53. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  54. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  55. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  56. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  57. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  58. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  59. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  69. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  70. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  71. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  72. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  73. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  74. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  75. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  76. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  77. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  78. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  79. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  80. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  81. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
  84. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  85. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  86. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  87. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  88. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  89. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  90. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
  91. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
  92. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  93. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  94. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  95. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  96. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  97. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  98. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  99. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
  100. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  101. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
  102. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  103. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  104. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  105. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  106. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  107. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  108. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  109. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
  110. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  111. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
  112. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  113. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  114. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  115. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  116. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  117. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  118. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  119. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  120. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  121. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  122. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  123. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  124. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  125. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  126. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  127. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  128. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  129. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  130. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  131. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  132. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  133. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  134. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  135. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  136. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  137. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  138. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  139. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  140. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  141. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  142. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  143. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  144. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  145. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  146. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  147. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  148. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  149. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  150. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  151. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  152. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  153. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  154. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  155. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  156. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  157. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  158. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  159. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  160. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  161. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  162. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  163. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  164. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  165. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  166. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  167. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  168. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  169. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  170. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  171. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  172. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  173. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  174. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  175. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  176. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  177. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  178. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  179. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  180. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  181. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  182. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  183. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  184. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  185. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  186. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  187. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  188. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  189. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  190. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  191. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  192. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  193. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  194. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  195. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  196. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  197. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  198. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  199. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  200. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  201. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  202. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  203. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  204. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  205. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  206. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  207. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  208. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  209. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  210. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  211. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  212. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  213. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  214. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  215. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  216. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  217. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  218. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  219. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  220. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  221. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  222. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  223. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  224. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  225. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  226. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  227. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  228. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  229. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  230. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  231. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  232. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  233. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  234. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  235. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  236. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  237. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  238. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  239. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  240. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  241. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  242. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  243. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  244. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  245. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  246. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  247. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  248. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  249. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  250. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  251. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  252. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  253. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  254. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  255. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  256. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  257. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  258. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  259. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  260. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  261. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  262. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
  263. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  264. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  265. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  266. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +106 -106
  267. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  268. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  269. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  270. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  271. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  272. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  273. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  274. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  275. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  276. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  277. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  278. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  279. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  280. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  281. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  282. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  283. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  284. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  285. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  286. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  287. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  288. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  289. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  290. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  291. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  292. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  293. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  294. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  295. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  296. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  297. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  298. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  299. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  300. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  301. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  302. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  303. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  304. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  305. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  306. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  307. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  308. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  309. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  310. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  311. package/package.json +1 -1
@@ -77,7 +77,7 @@ function writeAttoAlgorithm(_this__u8e3s4, algorithm) {
77
77
  return _this__u8e3s4;
78
78
  }
79
79
  function writeAttoPublicKey(_this__u8e3s4, publicKey) {
80
- _this__u8e3s4.q2s(publicKey.value);
80
+ _this__u8e3s4.e2t(publicKey.value);
81
81
  return _this__u8e3s4;
82
82
  }
83
83
  function writeAttoHeight(_this__u8e3s4, height) {
@@ -93,7 +93,7 @@ function writeInstant(_this__u8e3s4, instant) {
93
93
  return _this__u8e3s4;
94
94
  }
95
95
  function writeAttoHash(_this__u8e3s4, hash) {
96
- _this__u8e3s4.q2s(hash.value);
96
+ _this__u8e3s4.e2t(hash.value);
97
97
  return _this__u8e3s4;
98
98
  }
99
99
  function readAttoSignature(_this__u8e3s4) {
@@ -103,11 +103,11 @@ function readAttoWork(_this__u8e3s4) {
103
103
  return new (AttoWork())(readByteArray_0(_this__u8e3s4, 8));
104
104
  }
105
105
  function writeAttoSignature(_this__u8e3s4, signature) {
106
- _this__u8e3s4.q2s(signature.value);
106
+ _this__u8e3s4.e2t(signature.value);
107
107
  return _this__u8e3s4;
108
108
  }
109
109
  function writeAttoWork(_this__u8e3s4, signature) {
110
- _this__u8e3s4.q2s(signature.value);
110
+ _this__u8e3s4.e2t(signature.value);
111
111
  return _this__u8e3s4;
112
112
  }
113
113
  //region block: exports
@@ -28,7 +28,7 @@ var CompanionClass;
28
28
  function Companion() {
29
29
  if (CompanionClass === VOID) {
30
30
  class $ {
31
- q2u() {
31
+ e2v() {
32
32
  return AttoChallengeSerializer_getInstance();
33
33
  }
34
34
  }
@@ -74,12 +74,12 @@ function AttoChallenge() {
74
74
  gl() {
75
75
  return this.value;
76
76
  }
77
- h31(value) {
77
+ v31(value) {
78
78
  return new (AttoChallenge())(value);
79
79
  }
80
80
  copy(value, $super) {
81
81
  value = value === VOID ? this.value : value;
82
- return $super === VOID ? this.h31(value) : $super.h31.call(this, value);
82
+ return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
83
83
  }
84
84
  }
85
85
  initMetadataForClass($, 'AttoChallenge', VOID, VOID, VOID, VOID, VOID, {0: AttoChallengeSerializer_getInstance});
@@ -93,16 +93,16 @@ function AttoChallengeSerializer() {
93
93
  class $ {
94
94
  constructor() {
95
95
  AttoChallengeSerializer_instance = this;
96
- this.i31_1 = PrimitiveSerialDescriptor('AttoChallenge', STRING_getInstance());
96
+ this.w31_1 = PrimitiveSerialDescriptor('AttoChallenge', STRING_getInstance());
97
97
  }
98
98
  xs() {
99
- return this.i31_1;
99
+ return this.w31_1;
100
100
  }
101
- j31(encoder, value) {
101
+ x31(encoder, value) {
102
102
  encoder.oy(value.toString());
103
103
  }
104
104
  ys(encoder, value) {
105
- return this.j31(encoder, value instanceof AttoChallenge() ? value : THROW_CCE());
105
+ return this.x31(encoder, value instanceof AttoChallenge() ? value : THROW_CCE());
106
106
  }
107
107
  zs(decoder) {
108
108
  return new (AttoChallenge())(fromHexToByteArray(decoder.fx()));
@@ -35,7 +35,7 @@ function Companion() {
35
35
  return new (AttoHash())(fromHexToByteArray(value));
36
36
  }
37
37
  hash(size, byteArrays) {
38
- return new (AttoHash())(AttoHasher_instance.d2x(size, byteArrays.slice()));
38
+ return new (AttoHash())(AttoHasher_instance.r2x(size, byteArrays.slice()));
39
39
  }
40
40
  hashVote(blockHash, algorithm, timestamp) {
41
41
  // Inline function 'kotlin.UByte.toByte' call
@@ -45,7 +45,7 @@ function Companion() {
45
45
  var tmp$ret$1 = new Int8Array([tmp$ret$0]);
46
46
  return this.hash(32, [blockHash.value, tmp$ret$1, toByteArray(timestamp)]);
47
47
  }
48
- q2u() {
48
+ e2v() {
49
49
  return AttoHashSerializer_getInstance();
50
50
  }
51
51
  }
@@ -111,12 +111,12 @@ function AttoHash() {
111
111
  gl() {
112
112
  return this.value;
113
113
  }
114
- h31(value) {
114
+ v31(value) {
115
115
  return new (AttoHash())(value);
116
116
  }
117
117
  copy(value, $super) {
118
118
  value = value === VOID ? this.value : value;
119
- return $super === VOID ? this.h31(value) : $super.h31.call(this, value);
119
+ return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
120
120
  }
121
121
  }
122
122
  initMetadataForClass($, 'AttoHash', VOID, VOID, VOID, VOID, VOID, {0: AttoHashSerializer_getInstance});
@@ -139,16 +139,16 @@ function AttoHashSerializer() {
139
139
  class $ {
140
140
  constructor() {
141
141
  AttoHashSerializer_instance = this;
142
- this.k31_1 = PrimitiveSerialDescriptor('AttoHash', STRING_getInstance());
142
+ this.y31_1 = PrimitiveSerialDescriptor('AttoHash', STRING_getInstance());
143
143
  }
144
144
  xs() {
145
- return this.k31_1;
145
+ return this.y31_1;
146
146
  }
147
- l31(encoder, value) {
147
+ z31(encoder, value) {
148
148
  encoder.oy(value.toString());
149
149
  }
150
150
  ys(encoder, value) {
151
- return this.l31(encoder, value instanceof AttoHash() ? value : THROW_CCE());
151
+ return this.z31(encoder, value instanceof AttoHash() ? value : THROW_CCE());
152
152
  }
153
153
  zs(decoder) {
154
154
  return Companion_instance.parse(decoder.fx());
@@ -14,7 +14,7 @@ var AttoHasherClass;
14
14
  function AttoHasher() {
15
15
  if (AttoHasherClass === VOID) {
16
16
  class $ {
17
- d2x(size, byteArrays) {
17
+ r2x(size, byteArrays) {
18
18
  var hasher = new BLAKE2b(size);
19
19
  var inductionVariable = 0;
20
20
  var last = byteArrays.length;
@@ -37,13 +37,13 @@ function Companion() {
37
37
  this.MIN = new (AttoHeight())(_ULong___init__impl__c78o9k(new (Long())(1, 0)));
38
38
  this.MAX = new (AttoHeight())(_ULong___init__impl__c78o9k(new (Long())(-1, -1)));
39
39
  }
40
- b2y() {
40
+ p2y() {
41
41
  return this.MIN;
42
42
  }
43
- a2y() {
43
+ o2y() {
44
44
  return this.MAX;
45
45
  }
46
- q2u() {
46
+ e2v() {
47
47
  return AttoHeightSerializer_getInstance();
48
48
  }
49
49
  }
@@ -66,25 +66,25 @@ function AttoHeight() {
66
66
  Companion_getInstance_0();
67
67
  this.value = value;
68
68
  }
69
- m31() {
69
+ a32() {
70
70
  return this.value;
71
71
  }
72
- p2z(other) {
72
+ d30(other) {
73
73
  var tmp0 = this.value;
74
74
  // Inline function 'kotlin.ULong.compareTo' call
75
75
  var other_0 = other.value;
76
76
  return ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
77
77
  }
78
78
  d(other) {
79
- return this.p2z(other instanceof AttoHeight() ? other : THROW_CCE());
79
+ return this.d30(other instanceof AttoHeight() ? other : THROW_CCE());
80
80
  }
81
- n31(uLong) {
81
+ b32(uLong) {
82
82
  // Inline function 'kotlin.ULong.plus' call
83
83
  var this_0 = this.value;
84
84
  var tmp$ret$0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).p3(_ULong___get_data__impl__fggpzb(uLong)));
85
85
  return new (AttoHeight())(tmp$ret$0);
86
86
  }
87
- o31(uInt) {
87
+ c32(uInt) {
88
88
  // Inline function 'kotlin.ULong.plus' call
89
89
  var tmp0 = this.value;
90
90
  // Inline function 'kotlin.UInt.toULong' call
@@ -104,13 +104,13 @@ function AttoHeight() {
104
104
  var tmp$ret$0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(tmp0).p3(_ULong___get_data__impl__fggpzb(other)));
105
105
  return new (AttoHeight())(tmp$ret$0);
106
106
  }
107
- p31(uLong) {
107
+ d32(uLong) {
108
108
  // Inline function 'kotlin.ULong.minus' call
109
109
  var this_0 = this.value;
110
110
  var tmp$ret$0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).q3(_ULong___get_data__impl__fggpzb(uLong)));
111
111
  return new (AttoHeight())(tmp$ret$0);
112
112
  }
113
- q31(uInt) {
113
+ e32(uInt) {
114
114
  // Inline function 'kotlin.ULong.minus' call
115
115
  var tmp0 = this.value;
116
116
  // Inline function 'kotlin.UInt.toULong' call
@@ -147,15 +147,15 @@ function AttoHeight() {
147
147
  toString() {
148
148
  return ULong__toString_impl_f9au7k(this.value);
149
149
  }
150
- e2y() {
150
+ s2y() {
151
151
  return this.value;
152
152
  }
153
- f2y(value) {
153
+ t2y(value) {
154
154
  return new (AttoHeight())(value);
155
155
  }
156
156
  copy(value, $super) {
157
157
  value = value === VOID ? this.value : value;
158
- return $super === VOID ? this.f2y(value) : $super.f2y.call(this, new (ULong())(value));
158
+ return $super === VOID ? this.t2y(value) : $super.t2y.call(this, new (ULong())(value));
159
159
  }
160
160
  hashCode() {
161
161
  return ULong__hashCode_impl_6hv2lb(this.value);
@@ -191,16 +191,16 @@ function AttoHeightSerializer() {
191
191
  class $ {
192
192
  constructor() {
193
193
  AttoHeightSerializer_instance = this;
194
- this.r31_1 = serializer(Companion_getInstance()).xs();
194
+ this.f32_1 = serializer(Companion_getInstance()).xs();
195
195
  }
196
196
  xs() {
197
- return this.r31_1;
197
+ return this.f32_1;
198
198
  }
199
- s31(encoder, value) {
199
+ g32(encoder, value) {
200
200
  serializer(Companion_getInstance()).ys(encoder, new (ULong())(value.value));
201
201
  }
202
202
  ys(encoder, value) {
203
- return this.s31(encoder, value instanceof AttoHeight() ? value : THROW_CCE());
203
+ return this.g32(encoder, value instanceof AttoHeight() ? value : THROW_CCE());
204
204
  }
205
205
  zs(decoder) {
206
206
  return new (AttoHeight())(serializer(Companion_getInstance()).zs(decoder).fs_1);
@@ -53,22 +53,22 @@ function Companion() {
53
53
  var tmp$ret$0 = new (UByte())(element.code);
54
54
  destination.d3(tmp$ret$0, element);
55
55
  }
56
- tmp.t31_1 = destination;
56
+ tmp.h32_1 = destination;
57
57
  }
58
- u31() {
58
+ i32() {
59
59
  return this.INITIAL_LIVE_THRESHOLD;
60
60
  }
61
- v31() {
61
+ j32() {
62
62
  return this.INITIAL_DATE;
63
63
  }
64
- w31() {
64
+ k32() {
65
65
  return this.INITIAL_INSTANT;
66
66
  }
67
- x31() {
67
+ l32() {
68
68
  return this.DOUBLING_PERIOD;
69
69
  }
70
70
  from(code) {
71
- var tmp0_elvis_lhs = this.t31_1.w2(new (UByte())(code));
71
+ var tmp0_elvis_lhs = this.h32_1.w2(new (UByte())(code));
72
72
  return tmp0_elvis_lhs == null ? AttoNetwork_UNKNOWN_getInstance() : tmp0_elvis_lhs;
73
73
  }
74
74
  }
@@ -132,10 +132,10 @@ function AttoNetwork() {
132
132
  this.code = code;
133
133
  this.thresholdIncreaseFactor = thresholdIncreaseFactor;
134
134
  }
135
- p2x() {
135
+ d2y() {
136
136
  return this.code;
137
137
  }
138
- y31() {
138
+ m32() {
139
139
  return this.thresholdIncreaseFactor;
140
140
  }
141
141
  get name() {
@@ -16,26 +16,26 @@ function HmacSha512() {
16
16
  if (HmacSha512Class === VOID) {
17
17
  class $ {
18
18
  constructor(secretKey) {
19
- this.d32_1 = new HMAC(SHA512, new Uint8Array(toTypedArray(secretKey)));
19
+ this.r32_1 = new HMAC(SHA512, new Uint8Array(toTypedArray(secretKey)));
20
20
  }
21
- l32(data, offset, len) {
21
+ z32(data, offset, len) {
22
22
  var chunk = copyOfRange(data, offset, offset + len | 0);
23
- this.d32_1.update(new Uint8Array(toTypedArray(chunk)));
23
+ this.r32_1.update(new Uint8Array(toTypedArray(chunk)));
24
24
  }
25
- e32(data, offset, len, $super) {
25
+ s32(data, offset, len, $super) {
26
26
  offset = offset === VOID ? 0 : offset;
27
27
  len = len === VOID ? data.length : len;
28
28
  var tmp;
29
29
  if ($super === VOID) {
30
- this.l32(data, offset, len);
30
+ this.z32(data, offset, len);
31
31
  tmp = Unit_instance;
32
32
  } else {
33
- tmp = $super.l32.call(this, data, offset, len);
33
+ tmp = $super.z32.call(this, data, offset, len);
34
34
  }
35
35
  return tmp;
36
36
  }
37
- f32(output, offset) {
38
- var digest = this.d32_1.digest();
37
+ t32(output, offset) {
38
+ var digest = this.r32_1.digest();
39
39
  // Inline function 'kotlin.repeat' call
40
40
  var times = digest.length;
41
41
  var inductionVariable = 0;
@@ -49,14 +49,14 @@ function Companion() {
49
49
  if (CompanionClass === VOID) {
50
50
  class $ {
51
51
  constructor() {
52
- this.z31_1 = 1869902945;
52
+ this.n32_1 = 1869902945;
53
53
  }
54
54
  parse(value) {
55
- return AttoPrivateKey().a32(fromHexToByteArray(value));
55
+ return AttoPrivateKey().o32(fromHexToByteArray(value));
56
56
  }
57
57
  generate() {
58
- var value = SecureRandom_instance.b32(_UInt___init__impl__l7qpdl(32));
59
- return AttoPrivateKey().a32(value);
58
+ var value = SecureRandom_instance.p32(_UInt___init__impl__l7qpdl(32));
59
+ return AttoPrivateKey().o32(value);
60
60
  }
61
61
  }
62
62
  initMetadataForCompanion($);
@@ -73,9 +73,9 @@ function AttoPrivateKey() {
73
73
  if (AttoPrivateKeyClass === VOID) {
74
74
  class $ {
75
75
  constructor(value) {
76
- return new.target.a32(value);
76
+ return new.target.o32(value);
77
77
  }
78
- static a32(value) {
78
+ static o32(value) {
79
79
  var $this = createThis(this);
80
80
  $this.value = value;
81
81
  checkLength($this.value, 32);
@@ -85,7 +85,7 @@ function AttoPrivateKey() {
85
85
  return this.value;
86
86
  }
87
87
  static fromSeed(seed, index) {
88
- return this.a32(ed25519BIP44(seed, "m/44'/" + Companion_instance.z31_1 + "'/" + new (UInt())(index) + "'"));
88
+ return this.o32(ed25519BIP44(seed, "m/44'/" + Companion_instance.n32_1 + "'/" + new (UInt())(index) + "'"));
89
89
  }
90
90
  toString() {
91
91
  return '' + this.value.length + ' bytes';
@@ -97,7 +97,7 @@ function AttoPrivateKey() {
97
97
  return AttoPrivateKeyClass;
98
98
  }
99
99
  function ed25519BIP44(seed, path) {
100
- return Companion_instance_0.c32(seed, path);
100
+ return Companion_instance_0.q32(seed, path);
101
101
  }
102
102
  function BIP44$Companion$ed25519$lambda(it) {
103
103
  // Inline function 'kotlin.text.trim' call
@@ -113,23 +113,23 @@ var CompanionClass_0;
113
113
  function Companion_0() {
114
114
  if (CompanionClass_0 === VOID) {
115
115
  class $ {
116
- c32(seed, path) {
116
+ q32(seed, path) {
117
117
  var hmacHelper = new (HmacSha512())(encodeToByteArray('ed25519 seed'));
118
- hmacHelper.e32(seed.value);
118
+ hmacHelper.s32(seed.value);
119
119
  var tmp = asSequence(split(path, ['/']));
120
120
  var tmp_0 = map(tmp, BIP44$Companion$ed25519$lambda);
121
121
  var tmp_1 = filter(tmp_0, BIP44$Companion$ed25519$lambda_0);
122
122
  var values = toList(map(tmp_1, BIP44$Companion$ed25519$lambda_1));
123
123
  // Inline function 'kotlin.also' call
124
124
  var this_0 = new Int8Array(64);
125
- hmacHelper.f32(this_0, 0);
126
- var bip44 = BIP44().i32(this_0);
125
+ hmacHelper.t32(this_0, 0);
126
+ var bip44 = BIP44().w32(this_0);
127
127
  var _iterator__ex2g4s = values.d1();
128
128
  while (_iterator__ex2g4s.e1()) {
129
129
  var v = _iterator__ex2g4s.f1();
130
- bip44 = bip44.j32(v);
130
+ bip44 = bip44.x32(v);
131
131
  }
132
- return bip44.g32_1;
132
+ return bip44.u32_1;
133
133
  }
134
134
  }
135
135
  initMetadataForCompanion($);
@@ -145,28 +145,28 @@ var BIP44Class;
145
145
  function BIP44() {
146
146
  if (BIP44Class === VOID) {
147
147
  class $ {
148
- static k32(key, hmacHelper) {
148
+ static y32(key, hmacHelper) {
149
149
  var $this = createThis(this);
150
- $this.g32_1 = key;
151
- $this.h32_1 = hmacHelper;
150
+ $this.u32_1 = key;
151
+ $this.v32_1 = hmacHelper;
152
152
  return $this;
153
153
  }
154
- static i32(derived) {
155
- return this.k32(copyOfRange(derived, 0, 32), new (HmacSha512())(copyOfRange(derived, 32, 64)));
154
+ static w32(derived) {
155
+ return this.y32(copyOfRange(derived, 0, 32), new (HmacSha512())(copyOfRange(derived, 32, 64)));
156
156
  }
157
- j32(value) {
157
+ x32(value) {
158
158
  // Inline function 'kotlin.byteArrayOf' call
159
159
  var tmp$ret$0 = new Int8Array([0]);
160
- this.h32_1.e32(tmp$ret$0);
161
- this.h32_1.l32(this.g32_1, 0, 32);
160
+ this.v32_1.s32(tmp$ret$0);
161
+ this.v32_1.z32(this.u32_1, 0, 32);
162
162
  var buffer = new (Buffer())();
163
- buffer.b2t(value);
163
+ buffer.p2t(value);
164
164
  var indexBytes = readByteArray(buffer);
165
165
  indexBytes[0] = toByte(indexBytes[0] | -128);
166
- this.h32_1.l32(indexBytes, 0, indexBytes.length);
166
+ this.v32_1.z32(indexBytes, 0, indexBytes.length);
167
167
  var derived = new Int8Array(64);
168
- this.h32_1.f32(derived, 0);
169
- return BIP44().i32(derived);
168
+ this.v32_1.t32(derived, 0);
169
+ return BIP44().w32(derived);
170
170
  }
171
171
  }
172
172
  initMetadataForClass($, 'BIP44');
@@ -29,7 +29,7 @@ function Companion() {
29
29
  parse(value) {
30
30
  return new (AttoPublicKey())(fromHexToByteArray(value));
31
31
  }
32
- q2u() {
32
+ e2v() {
33
33
  return AttoPublicKeySerializer_getInstance();
34
34
  }
35
35
  }
@@ -69,12 +69,12 @@ function AttoPublicKey() {
69
69
  gl() {
70
70
  return this.value;
71
71
  }
72
- h31(value) {
72
+ v31(value) {
73
73
  return new (AttoPublicKey())(value);
74
74
  }
75
75
  copy(value, $super) {
76
76
  value = value === VOID ? this.value : value;
77
- return $super === VOID ? this.h31(value) : $super.h31.call(this, value);
77
+ return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
78
78
  }
79
79
  }
80
80
  initMetadataForClass($, 'AttoPublicKey', VOID, VOID, VOID, VOID, VOID, {0: AttoPublicKeySerializer_getInstance});
@@ -88,16 +88,16 @@ function AttoPublicKeySerializer() {
88
88
  class $ {
89
89
  constructor() {
90
90
  AttoPublicKeySerializer_instance = this;
91
- this.m32_1 = PrimitiveSerialDescriptor('AttoPublicKey', STRING_getInstance());
91
+ this.a33_1 = PrimitiveSerialDescriptor('AttoPublicKey', STRING_getInstance());
92
92
  }
93
93
  xs() {
94
- return this.m32_1;
94
+ return this.a33_1;
95
95
  }
96
- n32(encoder, value) {
96
+ b33(encoder, value) {
97
97
  encoder.oy(value.toString());
98
98
  }
99
99
  ys(encoder, value) {
100
- return this.n32(encoder, value instanceof AttoPublicKey() ? value : THROW_CCE());
100
+ return this.b33(encoder, value instanceof AttoPublicKey() ? value : THROW_CCE());
101
101
  }
102
102
  zs(decoder) {
103
103
  return Companion_instance.parse(decoder.fx());