@attocash/commons-js 6.2.0 → 6.3.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 (805) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +29 -29
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +48 -48
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
  40. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
  41. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
  42. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
  43. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
  44. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
  45. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
  46. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -1
  47. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
  48. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
  49. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
  50. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
  51. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
  52. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
  53. package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +1 -1
  54. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +2 -0
  55. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
  56. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +38 -34
  57. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
  58. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
  59. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
  60. package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
  61. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
  62. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
  63. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +63 -55
  64. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
  65. package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
  66. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +561 -553
  67. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
  68. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
  69. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
  70. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
  71. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
  72. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
  73. package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
  74. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  75. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
  76. package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
  77. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
  78. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
  79. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
  80. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
  81. package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
  82. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
  83. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
  84. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
  85. package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
  86. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
  87. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
  88. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
  89. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
  90. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
  91. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
  92. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
  93. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
  94. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
  95. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
  96. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +20 -20
  97. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
  98. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  99. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
  100. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
  101. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
  102. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
  103. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
  104. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
  105. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +91 -91
  106. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
  107. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
  108. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
  109. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
  110. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
  111. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
  112. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
  113. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
  114. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
  115. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
  116. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
  117. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
  118. package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
  119. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
  120. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
  121. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -15
  122. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
  123. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +46 -6
  124. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
  125. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
  126. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
  127. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
  128. package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
  129. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
  130. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
  131. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
  132. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
  133. package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
  134. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  135. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
  136. package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
  137. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
  138. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
  139. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +26 -26
  140. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
  141. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  142. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
  143. package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
  144. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
  145. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  146. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
  147. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  148. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
  149. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
  150. package/commons-commons-core.mjs +1 -2
  151. package/commons-commons-core.mjs.map +1 -1
  152. package/commons-commons-js/cash/atto/commons/js/Placeholder.mjs.map +1 -1
  153. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
  154. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
  155. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +401 -409
  156. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
  157. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
  158. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
  159. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  160. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
  161. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
  162. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
  163. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
  164. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
  165. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +8 -8
  166. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
  167. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
  168. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
  169. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +76 -47
  170. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
  171. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
  172. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
  173. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +20 -20
  174. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
  175. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
  176. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
  177. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
  178. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
  179. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +140 -135
  180. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
  181. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
  182. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
  183. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +65 -65
  184. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
  185. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +8 -8
  186. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
  187. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
  188. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
  189. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +76 -47
  190. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
  191. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
  192. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
  193. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +20 -20
  194. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
  195. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +10 -10
  196. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
  197. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
  198. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
  199. package/commons-commons-node.mjs +6 -6
  200. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.d.mts +15 -0
  201. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs +13 -0
  202. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +245 -232
  203. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -1
  204. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.d.mts +25 -0
  205. package/commons-commons-wallet/cash/atto/commons/wallet/{AttoWalletAsync.export.mjs → AttoWalletAsync.js.export.mjs} +2 -2
  206. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs +405 -0
  207. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs.map +1 -0
  208. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +6 -0
  209. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +46 -37
  210. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -1
  211. package/commons-commons-wallet.mjs +2 -1
  212. package/commons-commons-wallet.mjs.map +1 -1
  213. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  214. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
  215. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
  216. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
  217. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
  218. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
  219. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
  220. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
  221. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
  222. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
  223. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  224. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
  225. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
  226. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
  227. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
  228. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
  229. package/commons-commons-worker.mjs +1 -1
  230. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  231. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
  232. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
  233. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  234. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
  235. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +16 -11
  236. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
  237. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
  238. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +20 -20
  239. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  240. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
  241. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  242. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
  243. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  244. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
  245. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  246. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
  247. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
  248. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
  249. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  250. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
  251. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
  252. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
  253. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  254. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
  255. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  256. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
  257. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
  258. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  259. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +41 -47
  260. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  261. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
  262. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
  263. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
  264. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +24 -52
  265. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  266. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +72 -109
  267. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  268. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
  269. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
  270. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
  271. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
  272. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  273. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
  274. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
  275. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +18 -18
  276. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
  277. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  278. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
  279. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +8 -8
  280. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
  281. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
  282. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
  283. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  284. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +14 -14
  285. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  286. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +28 -55
  287. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  288. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
  289. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +7 -7
  290. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
  291. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +1 -1
  292. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +33 -33
  293. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  294. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +30 -125
  295. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
  296. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +10 -1
  297. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
  298. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  299. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
  300. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
  301. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
  302. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
  303. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
  304. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
  305. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +112 -21
  306. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  307. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
  308. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  309. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
  310. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
  311. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  312. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
  313. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  314. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  315. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  316. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  317. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  318. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
  319. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  320. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  321. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
  322. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  323. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  324. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  325. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
  326. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
  327. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +3 -3
  328. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  329. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  330. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  331. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
  332. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +18 -18
  333. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  334. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +67 -67
  335. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  336. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  337. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +20 -20
  338. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +13 -13
  339. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  340. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  341. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  342. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  343. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
  344. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  345. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +85 -85
  346. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  347. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  348. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  349. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  350. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
  351. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
  352. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
  353. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
  354. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
  355. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
  356. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  357. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
  358. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
  359. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
  360. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
  361. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  362. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
  363. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  364. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  365. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
  366. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  367. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
  368. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  369. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
  370. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  371. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
  372. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
  373. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
  374. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
  375. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  376. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  377. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
  378. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  379. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
  380. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  381. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
  382. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  383. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
  384. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  385. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
  386. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
  387. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  388. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
  389. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
  390. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  391. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
  392. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  393. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  394. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
  395. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  396. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  397. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
  398. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  399. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
  400. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  401. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
  402. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  403. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
  404. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  405. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  406. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +16 -16
  407. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  408. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  409. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
  410. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
  411. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
  412. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  413. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  414. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
  415. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
  416. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  417. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
  418. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  419. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  420. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
  421. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
  422. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  423. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
  424. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
  425. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
  426. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
  427. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -1
  428. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
  429. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
  430. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  431. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
  432. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
  433. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
  434. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
  435. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
  436. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  437. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  438. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +41 -41
  439. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -1
  440. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
  441. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  442. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
  443. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
  444. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  445. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  446. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  447. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
  448. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
  449. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  450. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
  451. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
  452. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  453. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  454. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  455. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  456. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
  457. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  458. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  459. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
  460. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
  461. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
  462. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
  463. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
  464. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
  465. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
  466. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
  467. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
  468. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
  469. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  470. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  471. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  472. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
  473. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  474. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  475. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
  476. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
  477. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
  478. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  479. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  480. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  481. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  482. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  483. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  484. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  485. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  486. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
  487. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
  488. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
  489. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  490. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
  491. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  492. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
  493. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  494. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
  495. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  496. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  497. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
  498. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  499. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
  500. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  501. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
  502. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
  503. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
  504. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
  505. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
  506. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
  507. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
  508. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  509. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
  510. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  511. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
  512. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  513. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
  514. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  515. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
  516. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  517. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  518. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +245 -245
  519. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
  520. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  521. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
  522. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  523. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
  524. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  525. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
  526. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  527. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
  528. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  529. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
  530. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  531. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
  532. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  533. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
  534. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  535. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
  536. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  537. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
  538. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  539. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
  540. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
  541. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
  542. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  543. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
  544. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
  545. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
  546. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
  547. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
  548. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  549. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
  550. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  551. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
  552. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
  553. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
  554. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  555. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  556. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
  557. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  558. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
  559. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  560. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  561. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
  562. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  563. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  564. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  565. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +70 -70
  566. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  567. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
  568. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  569. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
  570. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
  571. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
  572. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  573. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
  574. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  575. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
  576. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  577. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  578. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
  579. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  580. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
  581. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  582. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
  583. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
  584. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  585. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
  586. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  587. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  588. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
  589. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
  590. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  591. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
  592. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  593. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  594. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  595. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
  596. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
  597. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
  598. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  599. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  600. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
  601. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
  602. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
  603. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
  604. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
  605. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  606. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
  607. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
  608. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
  609. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
  610. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
  611. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  612. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  613. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  614. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
  615. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  616. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
  617. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  618. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
  619. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
  620. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
  621. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  622. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
  623. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
  624. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
  625. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
  626. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
  627. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
  628. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  629. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
  630. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
  631. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
  632. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
  633. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
  634. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
  635. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
  636. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
  637. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
  638. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
  639. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  640. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  641. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
  642. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
  643. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
  644. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  645. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
  646. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  647. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
  648. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
  649. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  650. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  651. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  652. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
  653. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
  654. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
  655. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  656. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  657. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  658. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
  659. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  660. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  661. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  662. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
  663. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
  664. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  665. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  666. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  667. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  668. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  669. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
  670. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  671. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
  672. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  673. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
  674. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  675. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  676. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  677. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  678. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
  679. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  680. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  681. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +71 -71
  682. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  683. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  684. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
  685. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +20 -20
  686. package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
  687. package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
  688. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
  689. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  690. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  691. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  692. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  693. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
  694. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +93 -93
  695. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  696. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
  697. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
  698. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +75 -75
  699. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  700. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  701. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  702. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  703. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
  704. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  705. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  706. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  707. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  708. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +62 -62
  709. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  710. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
  711. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
  712. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  713. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  714. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  715. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  716. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  717. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  718. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +37 -37
  719. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
  720. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  721. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  722. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  723. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  724. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  725. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  726. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  727. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  728. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  729. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  730. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
  731. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  732. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
  733. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  734. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
  735. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  736. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
  737. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
  738. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
  739. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
  740. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  741. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  742. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  743. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
  744. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  745. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
  746. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  747. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  748. package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
  749. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  750. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
  751. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
  752. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  753. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  754. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  755. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  756. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  757. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
  758. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
  759. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
  760. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  761. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  762. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  763. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
  764. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
  765. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  766. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  767. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
  768. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  769. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  770. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  771. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  772. package/package.json +1 -1
  773. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
  774. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
  775. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
  776. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
  777. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
  778. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
  779. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
  780. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
  781. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
  782. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
  783. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
  784. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
  785. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
  786. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
  787. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
  788. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +0 -26
  789. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +0 -440
  790. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +0 -1
  791. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +0 -8
  792. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +0 -4
  793. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs +0 -17
  794. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +0 -1
  795. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
  796. /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map} +0 -0
  797. /package/{commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.mjs.map} +0 -0
  798. /package/{commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs.map → commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.export.mjs.map} +0 -0
  799. /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  800. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
  801. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
  802. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  803. /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs.map} +0 -0
  804. /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.mjs.map} +0 -0
  805. /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
@@ -24,6 +24,7 @@ import {
24
24
  _UInt___init__impl__l7qpdl3eewek7byy9h9 as _UInt___init__impl__l7qpdl,
25
25
  } from '../../../../kotlin-kotlin-stdlib/kotlin/UInt.mjs';
26
26
  import { Comparable198qfk8pnblz0 as Comparable } from '../../../../kotlin-kotlin-stdlib/kotlin/Comparable.mjs';
27
+ import { toULong266mnyksbttkw as toULong } from '../../../../kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs';
27
28
  import { serializer2lw83vwvpnyms as serializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
28
29
  import { KSerializerzf77vz1967fq as KSerializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs';
29
30
  //region block: imports
@@ -36,16 +37,16 @@ function Companion() {
36
37
  class $ {
37
38
  constructor() {
38
39
  Companion_instance = this;
39
- this.MIN = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
40
- this.MAX = new (AttoHeight())(_ULong___init__impl__c78o9k(-1n));
40
+ this.n2y_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
41
+ this.o2y_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(-1n));
41
42
  }
42
- w2x() {
43
- return this.MIN;
43
+ r2x() {
44
+ return this.n2y_1;
44
45
  }
45
- v2x() {
46
- return this.MAX;
46
+ q2x() {
47
+ return this.o2y_1;
47
48
  }
48
- e2u() {
49
+ x2t() {
49
50
  return AttoHeightSerializer_getInstance();
50
51
  }
51
52
  }
@@ -60,6 +61,12 @@ function Companion_getInstance_0() {
60
61
  new (Companion())();
61
62
  return Companion_instance;
62
63
  }
64
+ function get_MIN() {
65
+ return Companion_getInstance_0().n2y_1;
66
+ }
67
+ function get_MAX() {
68
+ return Companion_getInstance_0().o2y_1;
69
+ }
63
70
  var AttoHeightClass;
64
71
  function AttoHeight() {
65
72
  if (AttoHeightClass === VOID) {
@@ -68,25 +75,25 @@ function AttoHeight() {
68
75
  Companion_getInstance_0();
69
76
  this.value = value;
70
77
  }
71
- g31() {
78
+ l31() {
72
79
  return this.value;
73
80
  }
74
- o2y(other) {
81
+ p2y(other) {
75
82
  var tmp0 = this.value;
76
83
  // Inline function 'kotlin.ULong.compareTo' call
77
84
  var other_0 = other.value;
78
85
  return ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
79
86
  }
80
87
  d(other) {
81
- return this.o2y(other instanceof AttoHeight() ? other : THROW_CCE());
88
+ return this.p2y(other instanceof AttoHeight() ? other : THROW_CCE());
82
89
  }
83
- h31(uLong) {
90
+ m31(uLong) {
84
91
  // Inline function 'kotlin.ULong.plus' call
85
92
  var this_0 = this.value;
86
93
  var tmp$ret$0 = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(uLong)));
87
94
  return new (AttoHeight())(tmp$ret$0);
88
95
  }
89
- i31(uInt) {
96
+ n31(uInt) {
90
97
  // Inline function 'kotlin.ULong.plus' call
91
98
  var tmp0 = this.value;
92
99
  // Inline function 'kotlin.UInt.toULong' call
@@ -106,13 +113,13 @@ function AttoHeight() {
106
113
  var tmp$ret$0 = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
107
114
  return new (AttoHeight())(tmp$ret$0);
108
115
  }
109
- j31(uLong) {
116
+ o31(uLong) {
110
117
  // Inline function 'kotlin.ULong.minus' call
111
118
  var this_0 = this.value;
112
119
  var tmp$ret$0 = _ULong___init__impl__c78o9k(subtract(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(uLong)));
113
120
  return new (AttoHeight())(tmp$ret$0);
114
121
  }
115
- k31(uInt) {
122
+ p31(uInt) {
116
123
  // Inline function 'kotlin.ULong.minus' call
117
124
  var tmp0 = this.value;
118
125
  // Inline function 'kotlin.UInt.toULong' call
@@ -149,15 +156,15 @@ function AttoHeight() {
149
156
  toString() {
150
157
  return ULong__toString_impl_f9au7k(this.value);
151
158
  }
152
- a2y() {
159
+ w2x() {
153
160
  return this.value;
154
161
  }
155
- b2y(value) {
162
+ x2x(value) {
156
163
  return new (AttoHeight())(value);
157
164
  }
158
165
  copy(value, $super) {
159
166
  value = value === VOID ? this.value : value;
160
- return $super === VOID ? this.b2y(value) : $super.b2y.call(this, new (ULong())(value));
167
+ return $super === VOID ? this.x2x(value) : $super.x2x.call(this, new (ULong())(value));
161
168
  }
162
169
  hashCode() {
163
170
  return ULong__hashCode_impl_6hv2lb(this.value);
@@ -178,9 +185,7 @@ function AttoHeight() {
178
185
  return AttoHeightClass;
179
186
  }
180
187
  function toAttoHeight(_this__u8e3s4) {
181
- // Inline function 'kotlin.toULong' call
182
- var tmp$ret$0 = _ULong___init__impl__c78o9k(_this__u8e3s4);
183
- return toAttoHeight_1(tmp$ret$0);
188
+ return new (AttoHeight())(toULong(_this__u8e3s4));
184
189
  }
185
190
  var AttoHeightSerializerClass;
186
191
  function AttoHeightSerializer() {
@@ -188,19 +193,19 @@ function AttoHeightSerializer() {
188
193
  class $ {
189
194
  constructor() {
190
195
  AttoHeightSerializer_instance = this;
191
- this.l31_1 = serializer(Companion_getInstance()).m1l();
196
+ this.q31_1 = serializer(Companion_getInstance()).nu();
192
197
  }
193
- m1l() {
194
- return this.l31_1;
198
+ nu() {
199
+ return this.q31_1;
195
200
  }
196
- m31(encoder, value) {
197
- serializer(Companion_getInstance()).n1l(encoder, new (ULong())(value.value));
201
+ r31(encoder, value) {
202
+ serializer(Companion_getInstance()).ou(encoder, new (ULong())(value.value));
198
203
  }
199
- n1l(encoder, value) {
200
- return this.m31(encoder, value instanceof AttoHeight() ? value : THROW_CCE());
204
+ ou(encoder, value) {
205
+ return this.r31(encoder, value instanceof AttoHeight() ? value : THROW_CCE());
201
206
  }
202
- o1l(decoder) {
203
- return new (AttoHeight())(serializer(Companion_getInstance()).o1l(decoder).qs_1);
207
+ pu(decoder) {
208
+ return new (AttoHeight())(serializer(Companion_getInstance()).pu(decoder).ls_1);
204
209
  }
205
210
  }
206
211
  initMetadataForObject($, 'AttoHeightSerializer', VOID, VOID, [KSerializer()]);
@@ -231,7 +236,9 @@ export {
231
236
  Companion as Companion3uhfqpirzuu0j,
232
237
  AttoHeight as AttoHeight1604ccqlfsk68,
233
238
  toAttoHeight_0 as toAttoHeight2rctdopg9w3z5,
234
- toAttoHeight as toAttoHeighti096jos653dd,
239
+ toAttoHeight as toAttoHeightj73fv18ahbvu,
240
+ get_MAX as get_MAXnt5ospe7rklw,
241
+ get_MIN as get_MIN3gks20a4os912,
235
242
  Companion_getInstance_0 as Companion_getInstance2lm64hqroytdz,
236
243
  AttoHeightSerializer_getInstance as AttoHeightSerializer_getInstance3kkm90f1k058g,
237
244
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoHeight.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/ULong.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/UnsignedJs.kt"],"sourcesContent":[null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-MIN>","<get-MAX>","serializer","value","<get-value>","compareTo","other","plus","uLong","uInt","height","minus","next","toString","toAttoHeight","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwBkB,8BAAW,+BAAX,C;QAGA,8BAAiB,gCAAjB,C;;SAHVA,CAAAA,EAAA;A,QAAA,e;MAAM,C;SAGNC,CAAAA,EAAA;A,QAAA,e;MAAM,C;SALVC,CAAAA,EAAA;A,QAAA,yC;MAMA,C;;;;;;;;;;;;;;;;;kBARAC,K;QAJJ,yB;QAII,kB;;SAAAC,CAAAA,EAAA;A,QAAA,iB;MAAe,C;SAUGC,CAAcC,KAAdD,EAAwC;A,mBAAA,I,CAAA,K;;sBAAgB,K,CAAM,K;QAAM,OC4CnB,aAAkB,qCAAlB,EAA8B,gCAAN,OAAM,CAA9B,C;MD5CkB,C;QAHtEC,K;;;SAMNC,CAASC,KAAT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commons-commons-core/cash/atto/commons/unsigned/src/kotlin/ULong.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/UnsignedJs.kt"],"sourcesContent":["@file:JvmName(\"AttoHeights\")\n@file:OptIn(ExperimentalJsStatic::class)\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.serializer\nimport kotlinx.serialization.encoding.Decoder\nimport kotlinx.serialization.encoding.Encoder\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.ExperimentalJsStatic\nimport kotlin.js.JsExport\nimport kotlin.js.JsStatic\nimport kotlin.jvm.JvmField\nimport kotlin.jvm.JvmName\nimport kotlin.jvm.JvmSynthetic\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable(with = AttoHeightSerializer::class)\ndata class AttoHeight\n @JsExport.Ignore\n constructor(\n val value: ULong,\n ) : Comparable<AttoHeight> {\n companion object {\n @JvmField\n @JsStatic\n val MIN = AttoHeight(1U)\n\n @JvmField\n @JsStatic\n val MAX = AttoHeight(ULong.MAX_VALUE)\n }\n\n override operator fun compareTo(other: AttoHeight): Int = value.compareTo(other.value)\n\n @JsExport.Ignore\n operator fun plus(uLong: ULong): AttoHeight = AttoHeight(value + uLong)\n\n @JsExport.Ignore\n operator fun plus(uInt: UInt): AttoHeight = AttoHeight(value + uInt)\n\n operator fun plus(height: AttoHeight): AttoHeight = AttoHeight(value + height.value)\n\n @JsExport.Ignore\n operator fun minus(uLong: ULong): AttoHeight = AttoHeight(value - uLong)\n\n @JsExport.Ignore\n operator fun minus(uInt: UInt): AttoHeight = AttoHeight(value - uInt)\n\n operator fun minus(height: AttoHeight): AttoHeight = AttoHeight(value - height.value)\n\n fun next(): AttoHeight = AttoHeight(value + 1u)\n\n override fun toString(): String = value.toString()\n }\n\n@JvmSynthetic\nfun ULong.toAttoHeight() = AttoHeight(this)\n\n@JvmSynthetic\nfun UInt.toAttoHeight() = this.toULong().toAttoHeight()\n\nfun Int.toAttoHeight() = this.toULong().toAttoHeight()\n\nfun Long.toAttoHeight() = this.toULong().toAttoHeight()\n\n@JsExportForJs\nfun String.toAttoHeight(): AttoHeight = AttoHeight(this.toULong())\n\nobject AttoHeightSerializer : KSerializer<AttoHeight> {\n override val descriptor = ULong.serializer().descriptor\n\n override fun serialize(\n encoder: Encoder,\n value: AttoHeight,\n ) {\n ULong.serializer().serialize(encoder, value.value)\n }\n\n override fun deserialize(decoder: Decoder): AttoHeight = AttoHeight(ULong.serializer().deserialize(decoder))\n}\n",null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-MIN>","<get-MAX>","serializer","value","<get-value>","compareTo","other","plus","uLong","uInt","height","minus","next","toString","toAttoHeight","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BsB,gCAAW,+BAAX,C;QAIA,gCAAiB,gCAAjB,C;;SAJVA,CAAAA,EAAA;A,QAAA,iB;MAAM,C;SAINC,CAAAA,EAAA;A,QAAA,iB;MAAM,C;SAPVC,CAAAA,EAAA;A,QAAA,yC;MAQA,C;;;;;;;;;;;;;gBALIF,CAAAA,E;;C;gBAIAC,CAAAA,E;;C;;;;;kBATJE,K;QANR,yB;QAMQ,kB;;SAAAC,CAAAA,EAAA;A,QAAA,iB;MAAe,C;SAYGC,CAAcC,KAAdD,EAAwC;A,mBAAA,I,CAAA,K;;sBAAgB,K,CAAM,K;QAAM,OCqCvB,aAAkB,qCAAlB,EAA8B,gCAAN,OAAM,CAA9B,C;MDrCsB,C;QAZxEC,K;;;SAeJC,CAASC,KAATD,EAAqC;A;qBAAW,I,CAAA,K;YCmD2B,YAAjC,4BAAgB,IAAL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AAmB,W;;oBAJjB,4BAAM,SAAN,C;YFgBwB,YAIzB,4BAAgB,IAAL,qCAAK,EAAW,gCAAN,KAAM,CAAX,CAAhB,C;QDpCJ,0BAAX,SAAW,C;MAAD,C;cAErCC,CAAAA,EAAyB;A,QAAgB,OAAV,4BAAN,IAAM,CAAN,KAAM,C;MAAS,C;YAzDzD;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,gC;MAAA,C;;iCAAA,I,CAAA,K;;;iBAAA;A,QAAA,8C;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,qC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;;;;;;qBAuEAC,CAAIC,aAAJD,EAAwC;A,EAA0B,0BAAV,QAAL,aAAK,CAAU,C;AAAD,C;;;;;;;QAGhB,aAAb,mCAAa,K;;QAApCE,CAAAA,EAAA;A,QAAA,iB;MAAa,C;SAEbC,CACLC,O,EACAf,KAFKc,EAGP;A,QACQ,mCAAa,IAAU,OAAV,gBAAmB,KAAnB,CAAyB,KAAzB,E;MACvB,C;SAI2sIC,O,EAAkBf,K;;;QAFptIgB,CAAgBC,OAAhBD,EAAgD;A,QAAmD,0BAAlC,mCAAa,IAAY,OAAZ,CAAqB,M;MAAD,C;;;;;;;;;;;;;uBAnB/GL,CAAIC,aAAJD,EAA0B;A;;;cEiV2B,+BFjV3B,aEiV2B,C;MCtUmC,YAAxB,QAAN,KAAM,CAAN,GAAmB,W;MDsUnB,YC1UE,4BAAM,SAAN,C;EHPL,OAAd,eAAV,SAAU,C;AAAa,C;uBAHtDA,CAAIC,aAAJD,EAA2B;A,EAAgB,0BAAL,aAAK,C;AAAD,C;;;;;"}
@@ -1,7 +1,7 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoInstant /* implements Comparable<AttoInstant> */ {
4
- constructor(value: any/* Instant */);
4
+ private constructor();
5
5
  get value(): any/* Instant */;
6
6
  toEpochMilliseconds(): bigint;
7
7
  toString(): string;
@@ -23,19 +23,19 @@ var CompanionClass;
23
23
  function Companion() {
24
24
  if (CompanionClass === VOID) {
25
25
  class $ {
26
- n31(clock) {
27
- return this.fromEpochMilliseconds(clock.bp().yp());
26
+ s31(clock) {
27
+ return this.fromEpochMilliseconds(clock.wo().tp());
28
28
  }
29
29
  now() {
30
- return this.n31(System_instance);
30
+ return this.s31(System_instance);
31
31
  }
32
32
  fromIso(value) {
33
- return this.fromEpochMilliseconds(Companion_getInstance().up(value).yp());
33
+ return this.fromEpochMilliseconds(Companion_getInstance().pp(value).tp());
34
34
  }
35
35
  fromEpochMilliseconds(value) {
36
- return new (AttoInstant())(Companion_getInstance().li(value));
36
+ return new (AttoInstant())(Companion_getInstance().ki(value));
37
37
  }
38
- e2u() {
38
+ x2t() {
39
39
  return AttoInstantAsLongSerializer_getInstance();
40
40
  }
41
41
  }
@@ -58,36 +58,36 @@ function AttoInstant() {
58
58
  g3() {
59
59
  return this.value;
60
60
  }
61
- zp(duration) {
62
- return new (AttoInstant())(this.value.zp(duration));
61
+ up(duration) {
62
+ return new (AttoInstant())(this.value.up(duration));
63
63
  }
64
- aq(duration) {
65
- return new (AttoInstant())(this.value.aq(duration));
64
+ vp(duration) {
65
+ return new (AttoInstant())(this.value.vp(duration));
66
66
  }
67
- o31(another) {
68
- return this.value.bq(another.value);
67
+ t31(another) {
68
+ return this.value.wp(another.value);
69
69
  }
70
- t2v(other) {
71
- return this.value.cq(other.value);
70
+ m2v(other) {
71
+ return this.value.xp(other.value);
72
72
  }
73
73
  d(other) {
74
- return this.t2v(other instanceof AttoInstant() ? other : THROW_CCE());
74
+ return this.m2v(other instanceof AttoInstant() ? other : THROW_CCE());
75
75
  }
76
76
  toEpochMilliseconds() {
77
- return this.value.yp();
77
+ return this.value.tp();
78
78
  }
79
79
  toString() {
80
80
  return this.value.toString();
81
81
  }
82
- if() {
82
+ hf() {
83
83
  return this.value;
84
84
  }
85
- p31(value) {
85
+ u31(value) {
86
86
  return new (AttoInstant())(value);
87
87
  }
88
88
  copy(value, $super) {
89
89
  value = value === VOID ? this.value : value;
90
- return $super === VOID ? this.p31(value) : $super.p31.call(this, value);
90
+ return $super === VOID ? this.u31(value) : $super.u31.call(this, value);
91
91
  }
92
92
  hashCode() {
93
93
  return this.value.hashCode();
@@ -113,20 +113,20 @@ function AttoInstantAsStringSerializer() {
113
113
  class $ {
114
114
  constructor() {
115
115
  AttoInstantAsStringSerializer_instance = this;
116
- this.q31_1 = serializer(StringCompanionObject_instance).m1l();
116
+ this.v31_1 = serializer(StringCompanionObject_instance).nu();
117
117
  }
118
- m1l() {
119
- return this.q31_1;
118
+ nu() {
119
+ return this.v31_1;
120
120
  }
121
- r31(encoder, value) {
122
- var iso = Companion_getInstance().li(value.value.yp()).toString();
123
- encoder.f1r(iso);
121
+ w31(encoder, value) {
122
+ var iso = Companion_getInstance().ki(value.value.tp()).toString();
123
+ encoder.g10(iso);
124
124
  }
125
- n1l(encoder, value) {
126
- return this.r31(encoder, value instanceof AttoInstant() ? value : THROW_CCE());
125
+ ou(encoder, value) {
126
+ return this.w31(encoder, value instanceof AttoInstant() ? value : THROW_CCE());
127
127
  }
128
- o1l(decoder) {
129
- return new (AttoInstant())(Companion_getInstance().up(decoder.w1p()));
128
+ pu(decoder) {
129
+ return new (AttoInstant())(Companion_getInstance().pp(decoder.xy()));
130
130
  }
131
131
  }
132
132
  initMetadataForObject($, 'AttoInstantAsStringSerializer', VOID, VOID, [KSerializer()]);
@@ -146,19 +146,19 @@ function AttoInstantAsLongSerializer() {
146
146
  class $ {
147
147
  constructor() {
148
148
  AttoInstantAsLongSerializer_instance = this;
149
- this.s31_1 = serializer_0(Companion_instance).m1l();
149
+ this.x31_1 = serializer_0(Companion_instance).nu();
150
150
  }
151
- m1l() {
152
- return this.s31_1;
151
+ nu() {
152
+ return this.x31_1;
153
153
  }
154
- r31(encoder, value) {
155
- encoder.b1r(value.value.yp());
154
+ w31(encoder, value) {
155
+ encoder.c10(value.value.tp());
156
156
  }
157
- n1l(encoder, value) {
158
- return this.r31(encoder, value instanceof AttoInstant() ? value : THROW_CCE());
157
+ ou(encoder, value) {
158
+ return this.w31(encoder, value instanceof AttoInstant() ? value : THROW_CCE());
159
159
  }
160
- o1l(decoder) {
161
- return new (AttoInstant())(Companion_getInstance().li(decoder.s1p()));
160
+ pu(decoder) {
161
+ return new (AttoInstant())(Companion_getInstance().ki(decoder.ty()));
162
162
  }
163
163
  }
164
164
  initMetadataForObject($, 'AttoInstantAsLongSerializer', VOID, VOID, [KSerializer()]);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoInstant.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["now","clock","fromIso","value","fromEpochMilliseconds","serializer","<get-value>","plus","duration","minus","another","compareTo","other","toEpochMilliseconds","toString","<get-descriptor>","serialize","encoder","iso","deserialize","decoder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;SAyBQA,CAAQC,KAARD,EAAqC;A,QAAwD,OAAxD,2BAAsB,KAAM,KAAM,KAAlC,C;MAAuD,C;SAK5FA,CAAAA,EAAyB;A,QAAiB,OAAjB,yB;MAAgB,C;aAEzCE,CAAYC,KAAZD,EAA0C;A,QAAiE,OAAjE,2BAA8B,2BAAM,KAAN,CAAa,KAA3C,C;MAAgE,C;2BAE1GE,CAA0BD,KAA1BC,EAAsD;A,QAAiD,2BAA7B,2BAAsB,KAAtB,CAA6B,C;MAAD,C;SAX1GC,CAAAA,EAAA;A,QAAA,gD;MAYA,C;;;;;;;;;;;;;;;kBAdAF,K;QAAA,kB;;QAAAG,CAAAA,EAAA;A,QAAA,iB;MAAiB,C;QAiBRC,CAASC,QAATD,EAA4C;A,QAAiC,2BAArB,IAAM,CAAN,KAAM,IAAK,QAAL,CAAe,C;MAAD,C;QAG5EE,CAAUD,QAAVC,EAA6C;A,QAAkC,2BAAtB,IAAM,CAAN,KAAM,IAA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,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoInstant.kt"],"sourcesContent":["@file:OptIn(ExperimentalTime::class, ExperimentalJsExport::class)\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.serializer\nimport kotlinx.serialization.descriptors.SerialDescriptor\nimport kotlinx.serialization.encoding.Decoder\nimport kotlinx.serialization.encoding.Encoder\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\nimport kotlin.time.Clock\nimport kotlin.time.Duration\nimport kotlin.time.ExperimentalTime\nimport kotlin.time.Instant\n\n@JsExportForJs\n@Serializable(with = AttoInstantAsLongSerializer::class)\ndata class AttoInstant\n @JsExport.Ignore\n constructor(\n val value: Instant,\n ) : Comparable<AttoInstant> {\n companion object {\n @JsExport.Ignore\n fun now(clock: Clock): AttoInstant = fromEpochMilliseconds(clock.now().toEpochMilliseconds())\n\n /**\n * To avoid opt in warn\n */\n fun now(): AttoInstant = now(Clock.System)\n\n fun fromIso(value: String): AttoInstant = fromEpochMilliseconds(Instant.parse(value).toEpochMilliseconds())\n\n fun fromEpochMilliseconds(value: Long): AttoInstant = AttoInstant(Instant.fromEpochMilliseconds(value))\n }\n\n @JsExport.Ignore\n operator fun plus(duration: Duration): AttoInstant = AttoInstant(value.plus(duration))\n\n @JsExport.Ignore\n operator fun minus(duration: Duration): AttoInstant = AttoInstant(value.minus(duration))\n\n @JsExport.Ignore\n operator fun minus(another: AttoInstant): Duration = value - another.value\n\n @JsExport.Ignore\n override fun compareTo(other: AttoInstant): Int = value.compareTo(other.value)\n\n fun toEpochMilliseconds(): Long = value.toEpochMilliseconds()\n\n override fun toString(): String = value.toString()\n }\n\nfun Instant.toAtto(): AttoInstant = AttoInstant(this)\n\nobject AttoInstantAsLongSerializer : KSerializer<AttoInstant> {\n override val descriptor: SerialDescriptor = Long.serializer().descriptor\n\n override fun serialize(\n encoder: Encoder,\n value: AttoInstant,\n ) {\n encoder.encodeLong(value.value.toEpochMilliseconds())\n }\n\n override fun deserialize(decoder: Decoder): AttoInstant = AttoInstant(Instant.fromEpochMilliseconds(decoder.decodeLong()))\n}\n\nobject AttoInstantAsStringSerializer : KSerializer<AttoInstant> {\n override val descriptor: SerialDescriptor = String.serializer().descriptor\n\n override fun serialize(\n encoder: Encoder,\n value: AttoInstant,\n ) {\n val iso = Instant.fromEpochMilliseconds(value.value.toEpochMilliseconds()).toString()\n encoder.encodeString(iso)\n }\n\n override fun deserialize(decoder: Decoder): AttoInstant = AttoInstant(Instant.parse(decoder.decodeString()))\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["now","clock","fromIso","value","fromEpochMilliseconds","serializer","<get-value>","plus","duration","minus","another","compareTo","other","toEpochMilliseconds","toString","<get-descriptor>","serialize","encoder","iso","deserialize","decoder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;SA2BYA,CAAQC,KAARD,EAAqC;A,QAAwD,OAAxD,2BAAsB,KAAM,KAAM,KAAlC,C;MAAuD,C;SAK5FA,CAAAA,EAAyB;A,QAAiB,OAAjB,yB;MAAgB,C;aAEzCE,CAAYC,KAAZD,EAA0C;A,QAAiE,OAAjE,2BAA8B,2BAAM,KAAN,CAAa,KAA3C,C;MAAgE,C;2BAE1GE,CAA0BD,KAA1BC,EAAsD;A,QAAiD,2BAA7B,2BAAsB,KAAtB,CAA6B,C;MAAD,C;SAX1GC,CAAAA,EAAA;A,QAAA,gD;MAYA,C;;;;;;;;;;;;;;;kBAdAF,K;QAAA,kB;;QAAAG,CAAAA,EAAA;A,QAAA,iB;MAAiB,C;QAiBRC,CAASC,QAATD,EAA4C;A,QAAiC,2BAArB,IAAM,CAAN,KAAM,IAAK,QAAL,CAAe,C;MAAD,C;QAG5EE,CAAUD,QAAVC,EAA6C;A,QAAkC,2BAAtB,IAAM,CAAN,KAAM,IAAM,QAAN,CAAgB,C;MAAD,C;SAG9EA,CAA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) {
10
10
  class $ {
11
11
  constructor(job) {
12
- this.t31_1 = job;
12
+ this.y31_1 = job;
13
13
  }
14
14
  }
15
15
  initMetadataForClass($, 'AttoJob');
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoJob.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["job"],"mappings":";;;;;;;;;;kBAGYA,G;QAAR,gB;;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoJob.kt"],"sourcesContent":["package cash.atto.commons\n\nclass AttoJob(\n private val job: kotlinx.coroutines.Job,\n) {\n fun isActive(): Boolean = job.isActive\n\n fun cancel() {\n job.cancel()\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["job"],"mappings":";;;;;;;;;;kBAGYA,G;QAAR,gB;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoKeyIndex {
4
- constructor(value: any/* UInt */);
4
+ private constructor();
5
5
  get value(): any/* UInt */;
6
6
  toInt(): number;
7
7
  copy(value?: any/* UInt */): AttoKeyIndex;
@@ -18,7 +18,7 @@ function AttoKeyIndex() {
18
18
  constructor(value) {
19
19
  this.value = value;
20
20
  }
21
- u31() {
21
+ z31() {
22
22
  return this.value;
23
23
  }
24
24
  toInt() {
@@ -26,15 +26,15 @@ function AttoKeyIndex() {
26
26
  var this_0 = this.value;
27
27
  return _UInt___get_data__impl__f0vqqw(this_0);
28
28
  }
29
- v31() {
29
+ a32() {
30
30
  return this.value;
31
31
  }
32
- w31(value) {
32
+ b32(value) {
33
33
  return new (AttoKeyIndex())(value);
34
34
  }
35
35
  copy(value, $super) {
36
36
  value = value === VOID ? this.value : value;
37
- return $super === VOID ? this.w31(value) : $super.w31.call(this, new (UInt())(value));
37
+ return $super === VOID ? this.b32(value) : $super.b32.call(this, new (UInt())(value));
38
38
  }
39
39
  toString() {
40
40
  return 'AttoKeyIndex(value=' + new (UInt())(this.value) + ')';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoKeyIndex.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["value","<get-value>","toInt","toAttoIndex","<this>","compareTo","other"],"mappings":";;;;;;;;;;;;;;;;;kBAUIA,K;QAAA,kB;;SAAAC,CAAAA,EAAA;A,QAAA,iB;MAAc,C;WAEdC,CAAAA,EAAmB;A;qBAAA,I,CAAA,K;QAAa,OCoVC,sC;MDpVF,C;YAZnC;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,kC;MAAA,C;;iCAAA,I,CAAA,K;;;iBAAA;A,QAAA,6D;MAAA,C;iBAAA;A,QAAA,6C;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,uC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;;;;;;oBAyBAC,CAAIC,aAAJD,EAAsC;A;MCibW,YAAV,2BDjbD,aCibC,C;EDjb0B,OAAb,cAAT,SAAS,C;AAAY,C;kBATvDE,CAAID,a,EAAuBE,KAA3BD,EAAkD;A,aAAA,a,CAAA,K;;gBAAgB,K,CAAM,K;EAAM,OCiDjB,YAAiB,oCAAjB,EAA6B,+BAAN,OAAM,CAA7B,C;ADjDgB,C;sBAMtFF,CAAIC,aAAJD,EAAuC;A,EAAkB,4BAAL,aAAK,C;AAAD,C;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoKeyIndex.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt"],"sourcesContent":["@file:JvmName(\"AttoKeyIndexes\")\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\nimport kotlin.jvm.JvmName\nimport kotlin.jvm.JvmSynthetic\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\ndata class AttoKeyIndex\n @JsExport.Ignore\n constructor(\n val value: UInt,\n ) {\n fun toInt(): Int = value.toInt()\n }\n\n@JvmSynthetic\noperator fun AttoKeyIndex.compareTo(other: AttoKeyIndex) = value.compareTo(other.value)\n\n@JvmSynthetic\noperator fun AttoKeyIndex.inc() = AttoKeyIndex(value + 1U)\n\n@JvmSynthetic\nfun UInt.toAttoIndex(): AttoKeyIndex = AttoKeyIndex(this)\n\n@JsExportForJs\nfun Int.toAttoIndex(): AttoKeyIndex = this.toUInt().toAttoIndex()\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["value","<get-value>","toInt","toAttoIndex","<this>","compareTo","other"],"mappings":";;;;;;;;;;;;;;;;;kBAeQA,K;QAAA,kB;;SAAAC,CAAAA,EAAA;A,QAAA,iB;MAAc,C;WAEdC,CAAAA,EAAmB;A;qBAAA,I,CAAA,K;QAAa,OC+UH,sC;MD/UE,C;YAjBvC;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,kC;MAAA,C;;iCAAA,I,CAAA,K;;;iBAAA;A,QAAA,6D;MAAA,C;iBAAA;A,QAAA,6C;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,uC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;;;;;;oBA8BAC,CAAIC,aAAJD,EAAsC;A;MC4aW,YAAV,2BD5aD,aC4aC,C;ED5a0B,OAAb,cAAT,SAAS,C;AAAY,C;kBATvDE,CAAID,a,EAAuBE,KAA3BD,EAAkD;A,aAAA,a,CAAA,K;;gBAAgB,K,CAAM,K;EAAM,OC4CjB,YAAiB,oCAAjB,EAA6B,+BAAN,OAAM,CAA7B,C;AD5CgB,C;sBAMtFF,CAAIC,aAAJD,EAAuC;A,EAAkB,4BAAL,aAAK,C;AAAD,C;;;;;"}
@@ -2,9 +2,8 @@ type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoMnemonic {
4
4
  private constructor();
5
- get words(): KtList<string>;
6
- static fromWords(words: KtList<string>): AttoMnemonic;
7
- static fromString(words: string): AttoMnemonic;
5
+ get phrase(): string;
6
+ static fromPhrase(words: string): AttoMnemonic;
8
7
  static fromEntropy(entropy: Int8Array): AttoMnemonic;
9
8
  toEntropy(): Int8Array;
10
9
  equals(other: Nullable<any>): boolean;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/jsMain/kotlin/cash/atto/commons/AttoMnemonic.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","entropy","hasher","hash"],"mappings":";;;;;;;;;;iBAIgBA,CAAaC,OAAbD,EAAuC;A,MACnDE,SAAa,Y;EACb,MAAO,QAAe,aAAR,OAAQ,CAAe,UAAS,CAAT,EAAY,EAAZ,CAA9B,C;MACPC,OAA2B,YAAhB,MAAO,SAAS,C;EAC3B,OAAO,KAAK,CAAL,C;AACX,C;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/jsMain/kotlin/cash/atto/commons/AttoMnemonic.js.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.SHA256\n\ninternal actual fun checksum(entropy: ByteArray): Byte {\n val hasher = SHA256()\n hasher.update(entropy.toUint8Array().subarray(0, 32))\n val hash = hasher.digest().toByteArray()\n return hash[0]\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","entropy","hasher","hash"],"mappings":";;;;;;;;;;iBAIgBA,CAAaC,OAAbD,EAAuC;A,MACnDE,SAAa,Y;EACb,MAAO,QAAe,aAAR,OAAQ,CAAe,UAAS,CAAT,EAAY,EAAZ,CAA9B,C;MACPC,OAA2B,YAAhB,MAAO,SAAS,C;EAC3B,OAAO,KAAK,CAAL,C;AACX,C;;;;;"}
@@ -5,6 +5,10 @@ import {
5
5
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
6
6
  } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
7
7
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
8
+ import {
9
+ joinToString1cxrrlmo0chqs as joinToString,
10
+ toList3jhuyej2anx2q as toList,
11
+ } from '../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
8
12
  import {
9
13
  createThis2j2avj17cvnv2 as createThis,
10
14
  equals2au1ep9vhcato as equals,
@@ -13,7 +17,6 @@ import {
13
17
  } from '../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
14
18
  import { AttoMnemonicDictionary_getInstance1n2vfc03xnmqk as AttoMnemonicDictionary_getInstance } from './AttoMnemonicDictionary.mjs';
15
19
  import { checksum322oy0cmm2q4e as checksum } from './AttoMnemonic.js.mjs';
16
- import { toList3jhuyej2anx2q as toList } from '../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
17
20
  import { split2bvyvnrlcifjv as split } from '../../../../kotlin-kotlin-stdlib/kotlin/text/Strings.mjs';
18
21
  import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
19
22
  import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
@@ -32,8 +35,8 @@ var CompanionClass;
32
35
  function Companion() {
33
36
  if (CompanionClass === VOID) {
34
37
  class $ {
35
- x31() {
36
- var entropy = SecureRandom_instance.y31(_UInt___init__impl__l7qpdl(33));
38
+ c32() {
39
+ var entropy = SecureRandom_instance.d32(_UInt___init__impl__l7qpdl(33));
37
40
  return AttoMnemonic().fromEntropy(entropy);
38
41
  }
39
42
  }
@@ -47,7 +50,7 @@ function Companion_getInstance() {
47
50
  return Companion_instance;
48
51
  }
49
52
  function generate() {
50
- return Companion_instance.x31();
53
+ return Companion_instance.c32();
51
54
  }
52
55
  function init_cash_atto_commons_AttoMnemonic(_this__u8e3s4) {
53
56
  }
@@ -55,32 +58,35 @@ var AttoMnemonicClass;
55
58
  function AttoMnemonic() {
56
59
  if (AttoMnemonicClass === VOID) {
57
60
  class $ {
58
- z31() {
59
- return this.words;
61
+ f32() {
62
+ return this.e32_1;
63
+ }
64
+ g32() {
65
+ return joinToString(this.e32_1, ' ');
60
66
  }
61
- static fromWords(words) {
67
+ static h32(words) {
62
68
  var $this = createThis(this);
63
69
  init_cash_atto_commons_AttoMnemonic($this);
64
70
  if (!(words.u2() === 24)) {
65
- throw AttoMnemonicException().d32('Mnemonic should have 24 words');
71
+ throw AttoMnemonicException().l32('Mnemonic should have 24 words');
66
72
  }
67
73
  var _iterator__ex2g4s = words.q1();
68
74
  while (_iterator__ex2g4s.r1()) {
69
75
  var word = _iterator__ex2g4s.s1();
70
- if (!AttoMnemonicDictionary_getInstance().f32_1.o3(word)) {
71
- throw AttoMnemonicException().d32('The word ' + word + ' is not part of english mnemonic dictionary');
76
+ if (!AttoMnemonicDictionary_getInstance().n32_1.o3(word)) {
77
+ throw AttoMnemonicException().l32('The word ' + word + ' is not part of english mnemonic dictionary');
72
78
  }
73
79
  }
74
80
  var entropyWithChecksum = toEntropyWithChecksum(words);
75
81
  var checksum_0 = checksum(entropyWithChecksum);
76
82
  if (!(entropyWithChecksum[32] === checksum_0)) {
77
- throw AttoMnemonicException().d32('Invalid mnemonic');
83
+ throw AttoMnemonicException().l32('Invalid mnemonic');
78
84
  }
79
- $this.words = toList(words);
85
+ $this.e32_1 = toList(words);
80
86
  return $this;
81
87
  }
82
- static fromString(words) {
83
- return this.fromWords(split(words, [' ']));
88
+ static fromPhrase(words) {
89
+ return this.h32(split(words, [' ']));
84
90
  }
85
91
  static fromEntropy(entropy) {
86
92
  var $this = createThis(this);
@@ -103,29 +109,32 @@ function AttoMnemonic() {
103
109
  if (offset >= 11) {
104
110
  var index = scratch >> (offset - 11 | 0) & 2047;
105
111
  offset = offset - 11 | 0;
106
- words.h2(AttoMnemonicDictionary_getInstance().e32_1.v2(index));
112
+ words.h2(AttoMnemonicDictionary_getInstance().m32_1.v2(index));
107
113
  }
108
114
  }
109
- $this.words = toList(words);
115
+ $this.e32_1 = toList(words);
110
116
  return $this;
111
117
  }
112
118
  toEntropy() {
113
- return sliceArray(toEntropyWithChecksum(this.words), until(0, 33));
119
+ return sliceArray(toEntropyWithChecksum(this.e32_1), until(0, 33));
114
120
  }
115
121
  equals(other) {
116
122
  if (this === other)
117
123
  return true;
118
124
  if (!(other instanceof AttoMnemonic()))
119
125
  return false;
120
- if (!equals(this.words, other.words))
126
+ if (!equals(this.e32_1, other.e32_1))
121
127
  return false;
122
128
  return true;
123
129
  }
124
130
  hashCode() {
125
- return hashCode(this.words);
131
+ return hashCode(this.e32_1);
126
132
  }
127
133
  toString() {
128
- return 'AttoMnemonic(words=' + this.words.u2() + ')';
134
+ return 'AttoMnemonic(words=' + this.e32_1.u2() + ')';
135
+ }
136
+ get phrase() {
137
+ return this.g32();
129
138
  }
130
139
  }
131
140
  initMetadataForClass($, 'AttoMnemonic');
@@ -137,9 +146,9 @@ var AttoMnemonicExceptionClass;
137
146
  function AttoMnemonicException() {
138
147
  if (AttoMnemonicExceptionClass === VOID) {
139
148
  class $ extends RuntimeException() {
140
- static d32(message) {
141
- var $this = this.kb(message);
142
- captureStack($this, $this.c32_1);
149
+ static l32(message) {
150
+ var $this = this.gb(message);
151
+ captureStack($this, $this.k32_1);
143
152
  return $this;
144
153
  }
145
154
  }
@@ -155,17 +164,17 @@ function toEntropyWithChecksum(words) {
155
164
  var _iterator__ex2g4s = words.q1();
156
165
  while (_iterator__ex2g4s.r1()) {
157
166
  var word = _iterator__ex2g4s.s1();
158
- var index = ensureNotNull(AttoMnemonicDictionary_getInstance().g32_1.x4(word));
167
+ var index = ensureNotNull(AttoMnemonicDictionary_getInstance().o32_1.t4(word));
159
168
  scratch = scratch << 11;
160
169
  scratch = scratch | index;
161
170
  offset = offset + 11 | 0;
162
171
  while (offset >= 8) {
163
- buffer.r29(toByte(scratch >> (offset - 8 | 0)));
172
+ buffer.s1i(toByte(scratch >> (offset - 8 | 0)));
164
173
  offset = offset - 8 | 0;
165
174
  }
166
175
  }
167
176
  if (!(offset === 0)) {
168
- buffer.r29(toByte(scratch << offset));
177
+ buffer.s1i(toByte(scratch << offset));
169
178
  }
170
179
  return readByteArray(buffer);
171
180
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoMnemonic.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["generate","entropy","<get-words>","words","word","entropyWithChecksum","checksum","copy","scratch","offset","b","index","toEntropy","equals","other","hashCode","toString","message","toEntropyWithChecksum","buffer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA0FQA,CAAAA,EAA6B;A,YACzBC,UAA2B,0BAAgB,8BAAhB,C;QAC3B,kCAAoB,OAApB,C;MACJ,C;;;;;;;;;;;iBAHAD,CAAAA,E;;C;6CAtDR,a,EAAA;AA0EA,C;;;;;SAxEIE,CAAAA,EAAA;A,QAAA,iB;MAAsB,C;uBAGVC,K;;;QACJ,MAAA,KAAM,KAAN,KAAc,EAAd,E,CAAkB;A,UAClB,kCAA4B,+BAA5B,C;QACJ,C;YAEa,8B;eAAA,sB,EAAO;A,cAAfC,OAAQ,sB;UACL,KAA4B,qCAAJ,KAAI,IAAS,IAAT,CAA5B,C,CAA4C;A,YAC5C,kCAA6B,WAA7B,GAAuC,IAAvC,GAA2C,6CAA3C,C;UACJ,C;QACJ,C;YAEAC,sBAA0B,sBAAsB,KAAtB,C;YA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C;MACA,8B;SAAA,sB,EAAO;A,QAAfL,OAAQ,sB;QACTO,QAAY,mDAAuB,KAAvB,IAA2B,IAA3B,E;IACZ,UAAU,WAAY,E;IACtB,UAAU,UAAW,K;IACrB,kBAAU,EAAV,I;WACO,UAAU,C,EAAG;A,MAChB,MAAO,KAAmC,OAAxB,YAAY,SAAS,CAArB,KAAwB,CAAnC,C;MACP,kBAAU,CAAV,I;IACJ,C;EACJ,C;EAEI,iBAAU,CAAV,E,CAAa;A,IACb,MAAO,KAA+B,OAApB,WAAY,MAAQ,CAA/B,C;EACX,C;EAEA,OAAc,cAAP,MAAO,C;AAClB,C;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoMnemonic.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport cash.atto.commons.utils.SecureRandom\nimport kotlinx.io.Buffer\nimport kotlinx.io.readByteArray\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.ExperimentalJsStatic\nimport kotlin.js.JsExport\nimport kotlin.js.JsName\nimport kotlin.js.JsStatic\nimport kotlin.jvm.JvmStatic\n\nprivate fun toEntropyWithChecksum(words: List<String>): ByteArray {\n val buffer = Buffer()\n\n var scratch = 0\n var offset = 0\n for (word in words) {\n val index = AttoMnemonicDictionary.map[word]!!\n scratch = scratch shl 11\n scratch = scratch or index\n offset += 11\n while (offset >= 8) {\n buffer.writeByte((scratch shr offset - 8).toByte())\n offset -= 8\n }\n }\n\n if (offset != 0) {\n buffer.writeByte((scratch shl offset).toByte())\n }\n\n return buffer.readByteArray()\n}\n\ninternal expect fun checksum(entropy: ByteArray): Byte\n\n@JsExportForJs\n@OptIn(ExperimentalJsExport::class)\nclass AttoMnemonic {\n @OptIn(ExperimentalJsExport::class)\n @JsExport.Ignore\n val words: List<String>\n\n val phrase: String\n get() = words.joinToString(\" \")\n\n @JsExport.Ignore\n constructor(words: List<String>) {\n if (words.size != 24) {\n throw AttoMnemonicException(\"Mnemonic should have 24 words\")\n }\n\n for (word in words) {\n if (!AttoMnemonicDictionary.set.contains(word)) {\n throw AttoMnemonicException(\"The word $word is not part of english mnemonic dictionary\")\n }\n }\n\n val entropyWithChecksum = toEntropyWithChecksum(words)\n val checksum = checksum(entropyWithChecksum)\n\n if (entropyWithChecksum[32] != checksum) {\n throw AttoMnemonicException(\"Invalid mnemonic\")\n }\n\n this.words = words.toList()\n }\n\n @JsName(\"fromPhrase\")\n constructor(words: String) : this(words.split(\" \"))\n\n @JsName(\"fromEntropy\")\n constructor(entropy: ByteArray) {\n val words = ArrayList<String>(24)\n\n val copy = entropy.copyOf()\n copy[32] = checksum(entropy)\n var scratch = 0\n var offset = 0\n for (b in copy) {\n scratch = scratch shl 8\n scratch = scratch or (b.toInt() and 0xFF)\n offset += 8\n if (offset >= 11) {\n val index: Int = scratch shr offset - 11 and 0x7FF\n offset -= 11\n words.add(AttoMnemonicDictionary.list[index])\n }\n }\n this.words = words.toList()\n }\n\n companion object {\n @OptIn(ExperimentalJsStatic::class)\n @JvmStatic\n @JsStatic\n fun generate(): AttoMnemonic {\n val entropy = SecureRandom.randomByteArray(33U)\n return AttoMnemonic(entropy)\n }\n }\n\n fun toEntropy(): ByteArray = toEntropyWithChecksum(words).sliceArray(0 until 33)\n\n override fun equals(other: Any?): Boolean {\n if (this === other) return true\n if (other !is AttoMnemonic) return false\n\n if (words != other.words) return false\n\n return true\n }\n\n override fun hashCode(): Int = words.hashCode()\n\n override fun toString(): String = \"AttoMnemonic(words=${words.size})\"\n}\n\nclass AttoMnemonicException(\n message: String,\n) : RuntimeException(message)\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["generate","entropy","<get-words>","<get-phrase>","words","word","entropyWithChecksum","checksum","copy","scratch","offset","b","index","toEntropy","equals","other","hashCode","toString","message","toEntropyWithChecksum","buff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