@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
@@ -37,10 +37,10 @@ var imul = Math.imul;
37
37
  //region block: pre-declaration
38
38
  //endregion
39
39
  function AttoReceivable$Companion$$childSerializers$_anonymous__bzviio() {
40
- return Companion_getInstance().q2u();
40
+ return Companion_getInstance().e2v();
41
41
  }
42
42
  function AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_0() {
43
- return Companion_getInstance().q2u();
43
+ return Companion_getInstance().e2v();
44
44
  }
45
45
  var CompanionClass;
46
46
  function Companion() {
@@ -55,9 +55,9 @@ function Companion() {
55
55
  // Inline function 'kotlin.arrayOf' call
56
56
  // Inline function 'kotlin.js.unsafeCast' call
57
57
  // Inline function 'kotlin.js.asDynamic' call
58
- tmp.o32_1 = [null, null, tmp_1, null, null, lazy(tmp_2, AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_0), null, null];
58
+ tmp.c33_1 = [null, null, tmp_1, null, null, lazy(tmp_2, AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_0), null, null];
59
59
  }
60
- q2u() {
60
+ e2v() {
61
61
  return $serializer_getInstance();
62
62
  }
63
63
  }
@@ -87,12 +87,12 @@ function $serializer() {
87
87
  tmp0_serialDesc.w14('receiverAlgorithm', false);
88
88
  tmp0_serialDesc.w14('receiverPublicKey', false);
89
89
  tmp0_serialDesc.w14('amount', false);
90
- this.p32_1 = tmp0_serialDesc;
90
+ this.d33_1 = tmp0_serialDesc;
91
91
  }
92
- q32(encoder, value) {
93
- var tmp0_desc = this.p32_1;
92
+ e33(encoder, value) {
93
+ var tmp0_desc = this.d33_1;
94
94
  var tmp1_output = encoder.kx(tmp0_desc);
95
- var tmp2_cached = Companion_getInstance_0().o32_1;
95
+ var tmp2_cached = Companion_getInstance_0().c33_1;
96
96
  tmp1_output.bz(tmp0_desc, 0, AttoHashSerializer_getInstance(), value.hash);
97
97
  tmp1_output.bz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.version);
98
98
  tmp1_output.bz(tmp0_desc, 2, tmp2_cached[2].s1(), value.algorithm);
@@ -104,10 +104,10 @@ function $serializer() {
104
104
  tmp1_output.lx(tmp0_desc);
105
105
  }
106
106
  ys(encoder, value) {
107
- return this.q32(encoder, value instanceof AttoReceivable() ? value : THROW_CCE());
107
+ return this.e33(encoder, value instanceof AttoReceivable() ? value : THROW_CCE());
108
108
  }
109
109
  zs(decoder) {
110
- var tmp0_desc = this.p32_1;
110
+ var tmp0_desc = this.d33_1;
111
111
  var tmp1_flag = true;
112
112
  var tmp2_index = 0;
113
113
  var tmp3_bitMask0 = 0;
@@ -120,7 +120,7 @@ function $serializer() {
120
120
  var tmp10_local6 = null;
121
121
  var tmp11_local7 = null;
122
122
  var tmp14_input = decoder.kx(tmp0_desc);
123
- var tmp15_cached = Companion_getInstance_0().o32_1;
123
+ var tmp15_cached = Companion_getInstance_0().c33_1;
124
124
  if (tmp14_input.zx()) {
125
125
  tmp4_local0 = tmp14_input.wx(tmp0_desc, 0, AttoHashSerializer_getInstance(), tmp4_local0);
126
126
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -182,13 +182,13 @@ function $serializer() {
182
182
  }
183
183
  }
184
184
  tmp14_input.lx(tmp0_desc);
185
- return AttoReceivable().r32(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
185
+ return AttoReceivable().f33(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
186
186
  }
187
187
  xs() {
188
- return this.p32_1;
188
+ return this.d33_1;
189
189
  }
190
190
  l15() {
191
- var tmp0_cached = Companion_getInstance_0().o32_1;
191
+ var tmp0_cached = Companion_getInstance_0().c33_1;
192
192
  // Inline function 'kotlin.arrayOf' call
193
193
  // Inline function 'kotlin.js.unsafeCast' call
194
194
  // Inline function 'kotlin.js.asDynamic' call
@@ -252,43 +252,43 @@ function AttoReceivable() {
252
252
  this.receiverPublicKey = receiverPublicKey;
253
253
  this.amount = amount;
254
254
  var tmp = this;
255
- tmp.t2u_1 = lazy_0(AttoReceivable$address$delegate$lambda(this));
255
+ tmp.h2v_1 = lazy_0(AttoReceivable$address$delegate$lambda(this));
256
256
  var tmp_0 = this;
257
- tmp_0.u2u_1 = lazy_0(AttoReceivable$receiverAddress$delegate$lambda(this));
257
+ tmp_0.i2v_1 = lazy_0(AttoReceivable$receiverAddress$delegate$lambda(this));
258
258
  }
259
- v2w() {
259
+ j2x() {
260
260
  return this.hash;
261
261
  }
262
- s2v() {
262
+ g2w() {
263
263
  return this.version;
264
264
  }
265
- t2v() {
265
+ h2w() {
266
266
  return this.algorithm;
267
267
  }
268
- q2v() {
268
+ e2w() {
269
269
  return this.publicKey;
270
270
  }
271
- a2x() {
271
+ o2x() {
272
272
  return this.timestamp;
273
273
  }
274
- l2z() {
274
+ z2z() {
275
275
  return this.receiverAlgorithm;
276
276
  }
277
- m2z() {
277
+ a30() {
278
278
  return this.receiverPublicKey;
279
279
  }
280
- n2z() {
280
+ b30() {
281
281
  return this.amount;
282
282
  }
283
- a2w() {
284
- var tmp0 = this.t2u_1;
283
+ o2w() {
284
+ var tmp0 = this.h2v_1;
285
285
  var tmp = KProperty1();
286
286
  // Inline function 'kotlin.getValue' call
287
287
  getPropertyCallableRef('address', 1, tmp, AttoReceivable$_get_address_$ref_d98trm(), null);
288
288
  return tmp0.s1();
289
289
  }
290
- o2z() {
291
- var tmp0 = this.u2u_1;
290
+ c30() {
291
+ var tmp0 = this.i2v_1;
292
292
  var tmp = KProperty1();
293
293
  // Inline function 'kotlin.getValue' call
294
294
  getPropertyCallableRef('receiverAddress', 1, tmp, AttoReceivable$_get_receiverAddress_$ref_i4thz5(), null);
@@ -300,25 +300,25 @@ function AttoReceivable() {
300
300
  hl() {
301
301
  return this.version;
302
302
  }
303
- f2w() {
303
+ t2w() {
304
304
  return this.algorithm;
305
305
  }
306
- g2w() {
306
+ u2w() {
307
307
  return this.publicKey;
308
308
  }
309
- h2w() {
309
+ v2w() {
310
310
  return this.timestamp;
311
311
  }
312
- i2w() {
312
+ w2w() {
313
313
  return this.receiverAlgorithm;
314
314
  }
315
- j2w() {
315
+ x2w() {
316
316
  return this.receiverPublicKey;
317
317
  }
318
- k2w() {
318
+ y2w() {
319
319
  return this.amount;
320
320
  }
321
- s32(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) {
321
+ g33(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) {
322
322
  return new (AttoReceivable())(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount);
323
323
  }
324
324
  copy(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount, $super) {
@@ -330,7 +330,7 @@ function AttoReceivable() {
330
330
  receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
331
331
  receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
332
332
  amount = amount === VOID ? this.amount : amount;
333
- return $super === VOID ? this.s32(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) : $super.s32.call(this, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount);
333
+ return $super === VOID ? this.g33(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) : $super.g33.call(this, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount);
334
334
  }
335
335
  toString() {
336
336
  return 'AttoReceivable(hash=' + this.hash.toString() + ', version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', timestamp=' + this.timestamp.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
@@ -370,10 +370,10 @@ function AttoReceivable() {
370
370
  return false;
371
371
  return true;
372
372
  }
373
- static r32(seen0, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount, serializationConstructorMarker) {
373
+ static f33(seen0, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount, serializationConstructorMarker) {
374
374
  Companion_getInstance_0();
375
375
  if (!(255 === (255 & seen0))) {
376
- throwMissingFieldException(seen0, 255, $serializer_getInstance().p32_1);
376
+ throwMissingFieldException(seen0, 255, $serializer_getInstance().d33_1);
377
377
  }
378
378
  var $this = createThis(this);
379
379
  $this.hash = hash;
@@ -385,16 +385,16 @@ function AttoReceivable() {
385
385
  $this.receiverPublicKey = receiverPublicKey;
386
386
  $this.amount = amount;
387
387
  var tmp = $this;
388
- tmp.t2u_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201($this));
388
+ tmp.h2v_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201($this));
389
389
  var tmp_0 = $this;
390
- tmp_0.u2u_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201_0($this));
390
+ tmp_0.i2v_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201_0($this));
391
391
  return $this;
392
392
  }
393
393
  get address() {
394
- return this.a2w();
394
+ return this.o2w();
395
395
  }
396
396
  get receiverAddress() {
397
- return this.o2z();
397
+ return this.c30();
398
398
  }
399
399
  }
400
400
  initMetadataForClass($, 'AttoReceivable', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
@@ -39,12 +39,12 @@ function AttoSeed() {
39
39
  gl() {
40
40
  return this.value;
41
41
  }
42
- h31(value) {
42
+ v31(value) {
43
43
  return new (AttoSeed())(value);
44
44
  }
45
45
  copy(value, $super) {
46
46
  value = value === VOID ? this.value : value;
47
- return $super === VOID ? this.h31(value) : $super.h31.call(this, value);
47
+ return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
48
48
  }
49
49
  }
50
50
  initMetadataForClass($, 'AttoSeed');
@@ -29,13 +29,13 @@ function Companion() {
29
29
  constructor() {
30
30
  this.SIZE = 64;
31
31
  }
32
- t32() {
32
+ h33() {
33
33
  return this.SIZE;
34
34
  }
35
35
  parse(value) {
36
36
  return new (AttoSignature())(fromHexToByteArray(value));
37
37
  }
38
- q2u() {
38
+ e2v() {
39
39
  return AttoSignatureSerializer_getInstance();
40
40
  }
41
41
  }
@@ -75,12 +75,12 @@ function AttoSignature() {
75
75
  gl() {
76
76
  return this.value;
77
77
  }
78
- h31(value) {
78
+ v31(value) {
79
79
  return new (AttoSignature())(value);
80
80
  }
81
81
  copy(value, $super) {
82
82
  value = value === VOID ? this.value : value;
83
- return $super === VOID ? this.h31(value) : $super.h31.call(this, value);
83
+ return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
84
84
  }
85
85
  }
86
86
  initMetadataForClass($, 'AttoSignature', VOID, VOID, VOID, VOID, VOID, {0: AttoSignatureSerializer_getInstance});
@@ -94,16 +94,16 @@ function AttoSignatureSerializer() {
94
94
  class $ {
95
95
  constructor() {
96
96
  AttoSignatureSerializer_instance = this;
97
- this.u32_1 = PrimitiveSerialDescriptor('AttoSignature', STRING_getInstance());
97
+ this.i33_1 = PrimitiveSerialDescriptor('AttoSignature', STRING_getInstance());
98
98
  }
99
99
  xs() {
100
- return this.u32_1;
100
+ return this.i33_1;
101
101
  }
102
- v32(encoder, value) {
102
+ j33(encoder, value) {
103
103
  encoder.oy(value.toString());
104
104
  }
105
105
  ys(encoder, value) {
106
- return this.v32(encoder, value instanceof AttoSignature() ? value : THROW_CCE());
106
+ return this.j33(encoder, value instanceof AttoSignature() ? value : THROW_CCE());
107
107
  }
108
108
  zs(decoder) {
109
109
  return Companion_instance.parse(decoder.fx());
@@ -58,18 +58,18 @@ function AttoSignerJsImpl$signHash$slambda() {
58
58
  constructor(this$0, $hash, resultContinuation, $box) {
59
59
  if ($box === VOID)
60
60
  $box = {};
61
- $box.l35_1 = this$0;
62
- $box.m35_1 = $hash;
61
+ $box.z35_1 = this$0;
62
+ $box.a36_1 = $hash;
63
63
  super(resultContinuation, $box);
64
64
  }
65
- o35($this$promise, $completion) {
66
- var tmp = this.p35($this$promise, $completion);
65
+ c36($this$promise, $completion) {
66
+ var tmp = this.d36($this$promise, $completion);
67
67
  tmp.cc_1 = Unit_instance;
68
68
  tmp.dc_1 = null;
69
69
  return tmp.ic();
70
70
  }
71
71
  kd(p1, $completion) {
72
- return this.o35((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
72
+ return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
73
73
  }
74
74
  ic() {
75
75
  var suspendResult = this.cc_1;
@@ -80,7 +80,7 @@ function AttoSignerJsImpl$signHash$slambda() {
80
80
  case 0:
81
81
  this.bc_1 = 2;
82
82
  this.ac_1 = 1;
83
- suspendResult = this.l35_1.q35_1.h33(this.m35_1, this);
83
+ suspendResult = this.z35_1.e36_1.v33(this.a36_1, this);
84
84
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
85
85
  return suspendResult;
86
86
  }
@@ -102,9 +102,9 @@ function AttoSignerJsImpl$signHash$slambda() {
102
102
  }
103
103
  while (true);
104
104
  }
105
- p35($this$promise, completion) {
106
- var i = new (AttoSignerJsImpl$signHash$slambda())(this.l35_1, this.m35_1, completion);
107
- i.n35_1 = $this$promise;
105
+ d36($this$promise, completion) {
106
+ var i = new (AttoSignerJsImpl$signHash$slambda())(this.z35_1, this.a36_1, completion);
107
+ i.b36_1 = $this$promise;
108
108
  return i;
109
109
  }
110
110
  }
@@ -116,7 +116,7 @@ function AttoSignerJsImpl$signHash$slambda() {
116
116
  function AttoSignerJsImpl$signHash$slambda_0(this$0, $hash, resultContinuation) {
117
117
  var i = new (AttoSignerJsImpl$signHash$slambda())(this$0, $hash, resultContinuation);
118
118
  var l = function ($this$promise, $completion) {
119
- return i.o35($this$promise, $completion);
119
+ return i.c36($this$promise, $completion);
120
120
  };
121
121
  l.$arity = 1;
122
122
  return l;
@@ -128,18 +128,18 @@ function AttoSignerJsImpl$signBlock$slambda() {
128
128
  constructor(this$0, $block, resultContinuation, $box) {
129
129
  if ($box === VOID)
130
130
  $box = {};
131
- $box.a36_1 = this$0;
132
- $box.b36_1 = $block;
131
+ $box.o36_1 = this$0;
132
+ $box.p36_1 = $block;
133
133
  super(resultContinuation, $box);
134
134
  }
135
- o35($this$promise, $completion) {
136
- var tmp = this.p35($this$promise, $completion);
135
+ c36($this$promise, $completion) {
136
+ var tmp = this.d36($this$promise, $completion);
137
137
  tmp.cc_1 = Unit_instance;
138
138
  tmp.dc_1 = null;
139
139
  return tmp.ic();
140
140
  }
141
141
  kd(p1, $completion) {
142
- return this.o35((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
142
+ return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
143
143
  }
144
144
  ic() {
145
145
  var suspendResult = this.cc_1;
@@ -150,7 +150,7 @@ function AttoSignerJsImpl$signBlock$slambda() {
150
150
  case 0:
151
151
  this.bc_1 = 2;
152
152
  this.ac_1 = 1;
153
- suspendResult = this.a36_1.q35_1.t33(this.b36_1, this);
153
+ suspendResult = this.o36_1.e36_1.h34(this.p36_1, this);
154
154
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
155
155
  return suspendResult;
156
156
  }
@@ -172,9 +172,9 @@ function AttoSignerJsImpl$signBlock$slambda() {
172
172
  }
173
173
  while (true);
174
174
  }
175
- p35($this$promise, completion) {
176
- var i = new (AttoSignerJsImpl$signBlock$slambda())(this.a36_1, this.b36_1, completion);
177
- i.c36_1 = $this$promise;
175
+ d36($this$promise, completion) {
176
+ var i = new (AttoSignerJsImpl$signBlock$slambda())(this.o36_1, this.p36_1, completion);
177
+ i.q36_1 = $this$promise;
178
178
  return i;
179
179
  }
180
180
  }
@@ -186,7 +186,7 @@ function AttoSignerJsImpl$signBlock$slambda() {
186
186
  function AttoSignerJsImpl$signBlock$slambda_0(this$0, $block, resultContinuation) {
187
187
  var i = new (AttoSignerJsImpl$signBlock$slambda())(this$0, $block, resultContinuation);
188
188
  var l = function ($this$promise, $completion) {
189
- return i.o35($this$promise, $completion);
189
+ return i.c36($this$promise, $completion);
190
190
  };
191
191
  l.$arity = 1;
192
192
  return l;
@@ -198,18 +198,18 @@ function AttoSignerJsImpl$signVote$slambda() {
198
198
  constructor(this$0, $vote, resultContinuation, $box) {
199
199
  if ($box === VOID)
200
200
  $box = {};
201
- $box.l36_1 = this$0;
202
- $box.m36_1 = $vote;
201
+ $box.z36_1 = this$0;
202
+ $box.a37_1 = $vote;
203
203
  super(resultContinuation, $box);
204
204
  }
205
- o35($this$promise, $completion) {
206
- var tmp = this.p35($this$promise, $completion);
205
+ c36($this$promise, $completion) {
206
+ var tmp = this.d36($this$promise, $completion);
207
207
  tmp.cc_1 = Unit_instance;
208
208
  tmp.dc_1 = null;
209
209
  return tmp.ic();
210
210
  }
211
211
  kd(p1, $completion) {
212
- return this.o35((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
212
+ return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
213
213
  }
214
214
  ic() {
215
215
  var suspendResult = this.cc_1;
@@ -220,7 +220,7 @@ function AttoSignerJsImpl$signVote$slambda() {
220
220
  case 0:
221
221
  this.bc_1 = 2;
222
222
  this.ac_1 = 1;
223
- suspendResult = this.l36_1.q35_1.u33(this.m36_1, this);
223
+ suspendResult = this.z36_1.e36_1.i34(this.a37_1, this);
224
224
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
225
225
  return suspendResult;
226
226
  }
@@ -242,9 +242,9 @@ function AttoSignerJsImpl$signVote$slambda() {
242
242
  }
243
243
  while (true);
244
244
  }
245
- p35($this$promise, completion) {
246
- var i = new (AttoSignerJsImpl$signVote$slambda())(this.l36_1, this.m36_1, completion);
247
- i.n36_1 = $this$promise;
245
+ d36($this$promise, completion) {
246
+ var i = new (AttoSignerJsImpl$signVote$slambda())(this.z36_1, this.a37_1, completion);
247
+ i.b37_1 = $this$promise;
248
248
  return i;
249
249
  }
250
250
  }
@@ -256,7 +256,7 @@ function AttoSignerJsImpl$signVote$slambda() {
256
256
  function AttoSignerJsImpl$signVote$slambda_0(this$0, $vote, resultContinuation) {
257
257
  var i = new (AttoSignerJsImpl$signVote$slambda())(this$0, $vote, resultContinuation);
258
258
  var l = function ($this$promise, $completion) {
259
- return i.o35($this$promise, $completion);
259
+ return i.c36($this$promise, $completion);
260
260
  };
261
261
  l.$arity = 1;
262
262
  return l;
@@ -268,19 +268,19 @@ function AttoSignerJsImpl$signChallenge$slambda() {
268
268
  constructor(this$0, $challenge, $timestamp, resultContinuation, $box) {
269
269
  if ($box === VOID)
270
270
  $box = {};
271
- $box.w36_1 = this$0;
272
- $box.x36_1 = $challenge;
273
- $box.y36_1 = $timestamp;
271
+ $box.k37_1 = this$0;
272
+ $box.l37_1 = $challenge;
273
+ $box.m37_1 = $timestamp;
274
274
  super(resultContinuation, $box);
275
275
  }
276
- o35($this$promise, $completion) {
277
- var tmp = this.p35($this$promise, $completion);
276
+ c36($this$promise, $completion) {
277
+ var tmp = this.d36($this$promise, $completion);
278
278
  tmp.cc_1 = Unit_instance;
279
279
  tmp.dc_1 = null;
280
280
  return tmp.ic();
281
281
  }
282
282
  kd(p1, $completion) {
283
- return this.o35((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
283
+ return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
284
284
  }
285
285
  ic() {
286
286
  var suspendResult = this.cc_1;
@@ -291,7 +291,7 @@ function AttoSignerJsImpl$signChallenge$slambda() {
291
291
  case 0:
292
292
  this.bc_1 = 2;
293
293
  this.ac_1 = 1;
294
- suspendResult = this.w36_1.q35_1.v33(this.x36_1, Companion_getInstance().h1v(this.y36_1), this);
294
+ suspendResult = this.k37_1.e36_1.j34(this.l37_1, Companion_getInstance().h1v(this.m37_1), this);
295
295
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
296
296
  return suspendResult;
297
297
  }
@@ -313,9 +313,9 @@ function AttoSignerJsImpl$signChallenge$slambda() {
313
313
  }
314
314
  while (true);
315
315
  }
316
- p35($this$promise, completion) {
317
- var i = new (AttoSignerJsImpl$signChallenge$slambda())(this.w36_1, this.x36_1, this.y36_1, completion);
318
- i.z36_1 = $this$promise;
316
+ d36($this$promise, completion) {
317
+ var i = new (AttoSignerJsImpl$signChallenge$slambda())(this.k37_1, this.l37_1, this.m37_1, completion);
318
+ i.n37_1 = $this$promise;
319
319
  return i;
320
320
  }
321
321
  }
@@ -327,7 +327,7 @@ function AttoSignerJsImpl$signChallenge$slambda() {
327
327
  function AttoSignerJsImpl$signChallenge$slambda_0(this$0, $challenge, $timestamp, resultContinuation) {
328
328
  var i = new (AttoSignerJsImpl$signChallenge$slambda())(this$0, $challenge, $timestamp, resultContinuation);
329
329
  var l = function ($this$promise, $completion) {
330
- return i.o35($this$promise, $completion);
330
+ return i.c36($this$promise, $completion);
331
331
  };
332
332
  l.$arity = 1;
333
333
  return l;
@@ -339,18 +339,18 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
339
339
  constructor(this$0, $publicKey, resultContinuation, $box) {
340
340
  if ($box === VOID)
341
341
  $box = {};
342
- $box.i37_1 = this$0;
343
- $box.j37_1 = $publicKey;
342
+ $box.w37_1 = this$0;
343
+ $box.x37_1 = $publicKey;
344
344
  super(resultContinuation, $box);
345
345
  }
346
- l37($this$promise, $completion) {
347
- var tmp = this.p35($this$promise, $completion);
346
+ z37($this$promise, $completion) {
347
+ var tmp = this.d36($this$promise, $completion);
348
348
  tmp.cc_1 = Unit_instance;
349
349
  tmp.dc_1 = null;
350
350
  return tmp.ic();
351
351
  }
352
352
  kd(p1, $completion) {
353
- return this.l37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
353
+ return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
354
354
  }
355
355
  ic() {
356
356
  var suspendResult = this.cc_1;
@@ -361,7 +361,7 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
361
361
  case 0:
362
362
  this.bc_1 = 2;
363
363
  this.ac_1 = 1;
364
- suspendResult = this.i37_1.q35_1.g33(this.j37_1, this);
364
+ suspendResult = this.w37_1.e36_1.u33(this.x37_1, this);
365
365
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
366
366
  return suspendResult;
367
367
  }
@@ -383,9 +383,9 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
383
383
  }
384
384
  while (true);
385
385
  }
386
- p35($this$promise, completion) {
387
- var i = new (AttoSignerJsImpl$checkPublicKey$slambda())(this.i37_1, this.j37_1, completion);
388
- i.k37_1 = $this$promise;
386
+ d36($this$promise, completion) {
387
+ var i = new (AttoSignerJsImpl$checkPublicKey$slambda())(this.w37_1, this.x37_1, completion);
388
+ i.y37_1 = $this$promise;
389
389
  return i;
390
390
  }
391
391
  }
@@ -397,7 +397,7 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
397
397
  function AttoSignerJsImpl$checkPublicKey$slambda_0(this$0, $publicKey, resultContinuation) {
398
398
  var i = new (AttoSignerJsImpl$checkPublicKey$slambda())(this$0, $publicKey, resultContinuation);
399
399
  var l = function ($this$promise, $completion) {
400
- return i.l37($this$promise, $completion);
400
+ return i.z37($this$promise, $completion);
401
401
  };
402
402
  l.$arity = 1;
403
403
  return l;
@@ -407,11 +407,11 @@ function AttoSignerJsImpl() {
407
407
  if (AttoSignerJsImplClass === VOID) {
408
408
  class $ {
409
409
  constructor(signer) {
410
- this.q35_1 = signer;
411
- this.r35_1 = this.q35_1.q2v();
410
+ this.e36_1 = signer;
411
+ this.f36_1 = this.e36_1.e2w();
412
412
  }
413
- q2v() {
414
- return this.r35_1;
413
+ e2w() {
414
+ return this.f36_1;
415
415
  }
416
416
  signHash(hash) {
417
417
  var tmp = GlobalScope_instance;
@@ -434,7 +434,7 @@ function AttoSignerJsImpl() {
434
434
  return promise(tmp, VOID, VOID, AttoSignerJsImpl$checkPublicKey$slambda_0(this, publicKey, null));
435
435
  }
436
436
  get publicKey() {
437
- return this.q2v();
437
+ return this.e2w();
438
438
  }
439
439
  }
440
440
  initMetadataForClass($, 'AttoSignerJsImpl', VOID, VOID, [AttoSignerJs()]);
@@ -447,22 +447,22 @@ function InMemorySigner() {
447
447
  if (InMemorySignerClass === VOID) {
448
448
  class $ {
449
449
  constructor(privateKey) {
450
- this.m37_1 = privateKey;
451
- this.n37_1 = toPublicKey(this.m37_1);
452
- this.o37_1 = generateKeyPairFromSeed(toUint8Array(this.m37_1.value));
450
+ this.a38_1 = privateKey;
451
+ this.b38_1 = toPublicKey(this.a38_1);
452
+ this.c38_1 = generateKeyPairFromSeed(toUint8Array(this.a38_1.value));
453
453
  }
454
- q2v() {
455
- return this.n37_1;
454
+ e2w() {
455
+ return this.b38_1;
456
456
  }
457
- h33(hash, $completion) {
458
- var signature = sign(this.o37_1.secretKey, toUint8Array(hash.value));
457
+ v33(hash, $completion) {
458
+ var signature = sign(this.c38_1.secretKey, toUint8Array(hash.value));
459
459
  return new (AttoSignature())(toByteArray(signature));
460
460
  }
461
461
  }
462
- protoOf($).t33 = sign_0;
463
- protoOf($).u33 = sign_1;
464
- protoOf($).v33 = sign_2;
465
- protoOf($).g33 = checkPublicKey;
462
+ protoOf($).h34 = sign_0;
463
+ protoOf($).i34 = sign_1;
464
+ protoOf($).j34 = sign_2;
465
+ protoOf($).u33 = checkPublicKey;
466
466
  initMetadataForClass($, 'InMemorySigner', VOID, VOID, [AttoSigner()], [1, 2]);
467
467
  InMemorySignerClass = $;
468
468
  }