@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
@@ -32,7 +32,7 @@ import { transformLatest23kpraac2xiec as transformLatest } from '../../../../../
32
32
  //region block: pre-declaration
33
33
  //endregion
34
34
  function *_generator_acknowledge__rcglwo($this, $completion) {
35
- var tmp = $this.t3k_1($completion);
35
+ var tmp = $this.d3j_1($completion);
36
36
  if (tmp === get_COROUTINE_SUSPENDED())
37
37
  tmp = yield tmp;
38
38
  return Unit_instance;
@@ -45,31 +45,31 @@ function *_generator_invoke__zhh2q8($this, $this$transformLatest, it, $completio
45
45
  break $l$block;
46
46
  }
47
47
  // Inline function 'kotlinx.coroutines.sync.withLock' call
48
- var this_0 = $this.h3m_1.o3k_1;
49
- var tmp = this_0.f1j(null, $completion);
48
+ var this_0 = $this.e3j_1.h3i_1;
49
+ var tmp = this_0.x28(null, $completion);
50
50
  if (tmp === get_COROUTINE_SUSPENDED())
51
51
  tmp = yield tmp;
52
52
  var tmp_0;
53
53
  try {
54
- $this.h3m_1.p3k_1.t4().a5(it);
54
+ $this.e3j_1.i3i_1.p4().w4(it);
55
55
  // Inline function 'kotlin.collections.forEach' call
56
- var _iterator__ex2g4s = minus(it, $this.h3m_1.p3k_1.t4()).q1();
56
+ var _iterator__ex2g4s = minus(it, $this.e3j_1.i3i_1.p4()).q1();
57
57
  while (_iterator__ex2g4s.r1()) {
58
58
  var element = _iterator__ex2g4s.s1();
59
- var tmp0 = $this.h3m_1.p3k_1;
60
- var tmp_1 = $this.h3m_1.n3k_1(element, $completion);
59
+ var tmp0 = $this.e3j_1.i3i_1;
60
+ var tmp_1 = $this.e3j_1.g3i_1(element, $completion);
61
61
  if (tmp_1 === get_COROUTINE_SUSPENDED())
62
62
  tmp_1 = yield tmp_1;
63
63
  // Inline function 'kotlin.collections.set' call
64
64
  var value = tmp_1;
65
- tmp0.p4(element, value);
65
+ tmp0.l4(element, value);
66
66
  }
67
- tmp_0 = toHeightSearch($this.h3m_1, $this.h3m_1.p3k_1);
67
+ tmp_0 = toHeightSearch($this.e3j_1, $this.e3j_1.i3i_1);
68
68
  }finally {
69
- this_0.q1i(null);
69
+ this_0.i28(null);
70
70
  }
71
71
  var search = tmp_0;
72
- tmp$ret$0 = $this.h3m_1.l3k(search);
72
+ tmp$ret$0 = $this.e3j_1.e3i(search);
73
73
  }
74
74
  var tmp_2 = emitAll($this$transformLatest, tmp$ret$0, $completion);
75
75
  if (tmp_2 === get_COROUTINE_SUSPENDED())
@@ -78,27 +78,27 @@ function *_generator_invoke__zhh2q8($this, $this$transformLatest, it, $completio
78
78
  }
79
79
  function *_generator_invoke__zhh2q8_0($this, $completion) {
80
80
  // Inline function 'kotlinx.coroutines.sync.withLock' call
81
- var this_0 = $this.i3m_1.o3k_1;
82
- var tmp = this_0.f1j(null, $completion);
81
+ var this_0 = $this.f3j_1.h3i_1;
82
+ var tmp = this_0.x28(null, $completion);
83
83
  if (tmp === get_COROUTINE_SUSPENDED())
84
84
  tmp = yield tmp;
85
85
  try {
86
- var tmp0 = $this.i3m_1.p3k_1;
87
- var tmp2 = new (AttoAddress())($this.j3m_1.algorithm, $this.j3m_1.publicKey);
86
+ var tmp0 = $this.f3j_1.i3i_1;
87
+ var tmp2 = new (AttoAddress())($this.g3j_1.algorithm, $this.g3j_1.publicKey);
88
88
  // Inline function 'kotlin.collections.set' call
89
- var value = $this.k3m_1;
90
- tmp0.p4(tmp2, value);
89
+ var value = $this.h3j_1;
90
+ tmp0.l4(tmp2, value);
91
91
  }finally {
92
- this_0.q1i(null);
92
+ this_0.i28(null);
93
93
  }
94
94
  return Unit_instance;
95
95
  }
96
96
  function *_generator_invoke__zhh2q8_1($this, value, $completion) {
97
- var $this$transform = $this.l3m_1;
97
+ var $this$transform = $this.i3j_1;
98
98
  var address = value.address;
99
99
  var height = value.height;
100
- var tmp$ret$0 = new (Message())(value, AttoHeightMonitor$stream$o$collect$slambda$slambda_0($this.m3m_1, address, height));
101
- var tmp = $this$transform.m1b(tmp$ret$0, $completion);
100
+ var tmp$ret$0 = new (Message())(value, AttoHeightMonitor$stream$o$collect$slambda$slambda_0($this.j3j_1, address, height));
101
+ var tmp = $this$transform.e21(tmp$ret$0, $completion);
102
102
  if (tmp === get_COROUTINE_SUSPENDED())
103
103
  tmp = yield tmp;
104
104
  return Unit_instance;
@@ -108,11 +108,11 @@ function AttoHeightMonitor$stream$o$collect$slambda$slambda() {
108
108
  if (AttoHeightMonitor$stream$o$collect$slambda$slambdaClass === VOID) {
109
109
  class $ {
110
110
  constructor(this$0, $address, $height) {
111
- this.i3m_1 = this$0;
112
- this.j3m_1 = $address;
113
- this.k3m_1 = $height;
111
+ this.f3j_1 = this$0;
112
+ this.g3j_1 = $address;
113
+ this.h3j_1 = $height;
114
114
  }
115
- yd($completion) {
115
+ ud($completion) {
116
116
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this), $completion);
117
117
  }
118
118
  }
@@ -123,13 +123,13 @@ function AttoHeightMonitor$stream$o$collect$slambda$slambda() {
123
123
  }
124
124
  function AttoHeightMonitor$stream$o$collect$slambda$slambda_0(this$0, $address, $height) {
125
125
  var i = new (AttoHeightMonitor$stream$o$collect$slambda$slambda())(this$0, $address, $height);
126
- var l = ($completion) => i.yd($completion);
126
+ var l = ($completion) => i.ud($completion);
127
127
  l.$arity = 0;
128
128
  return l;
129
129
  }
130
130
  function *_generator_collect__dlomyy($this, collector, $completion) {
131
- var tmp = AttoHeightMonitor$stream$o$collect$slambda_0(collector, $this.o3m_1);
132
- var tmp_0 = $this.n3m_1.i1b(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
131
+ var tmp = AttoHeightMonitor$stream$o$collect$slambda_0(collector, $this.l3j_1);
132
+ var tmp_0 = $this.k3j_1.a21(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
133
133
  if (tmp_0 === get_COROUTINE_SUSPENDED())
134
134
  tmp_0 = yield tmp_0;
135
135
  return Unit_instance;
@@ -139,14 +139,14 @@ function AttoHeightMonitor$stream$o$collect$slambda() {
139
139
  if (AttoHeightMonitor$stream$o$collect$slambdaClass === VOID) {
140
140
  class $ {
141
141
  constructor($$this$unsafeFlow, this$0) {
142
- this.l3m_1 = $$this$unsafeFlow;
143
- this.m3m_1 = this$0;
142
+ this.i3j_1 = $$this$unsafeFlow;
143
+ this.j3j_1 = this$0;
144
144
  }
145
- p1g(value, $completion) {
145
+ h26(value, $completion) {
146
146
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_1.bind(VOID, this, value), $completion);
147
147
  }
148
- wd(p1, $completion) {
149
- return this.p1g((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
148
+ sd(p1, $completion) {
149
+ return this.h26((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
150
150
  }
151
151
  }
152
152
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -156,7 +156,7 @@ function AttoHeightMonitor$stream$o$collect$slambda() {
156
156
  }
157
157
  function AttoHeightMonitor$stream$o$collect$slambda_0($$this$unsafeFlow, this$0) {
158
158
  var i = new (AttoHeightMonitor$stream$o$collect$slambda())($$this$unsafeFlow, this$0);
159
- var l = (value, $completion) => i.p1g(value, $completion);
159
+ var l = (value, $completion) => i.h26(value, $completion);
160
160
  l.$arity = 1;
161
161
  return l;
162
162
  }
@@ -165,10 +165,10 @@ function Message() {
165
165
  if (MessageClass === VOID) {
166
166
  class $ {
167
167
  constructor(value, acknowledge) {
168
- this.s3k_1 = value;
169
- this.t3k_1 = acknowledge;
168
+ this.c3j_1 = value;
169
+ this.d3j_1 = acknowledge;
170
170
  }
171
- u3k($completion) {
171
+ m3j($completion) {
172
172
  return suspendOrReturn(/*#__NOINLINE__*/_generator_acknowledge__rcglwo.bind(VOID, this), $completion);
173
173
  }
174
174
  }
@@ -196,20 +196,20 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
196
196
  if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
197
197
  class $ {
198
198
  constructor(function_0) {
199
- this.p3m_1 = function_0;
199
+ this.n3j_1 = function_0;
200
200
  }
201
- m1b(value, $completion) {
202
- return this.p3m_1(value, $completion);
201
+ e21(value, $completion) {
202
+ return this.n3j_1(value, $completion);
203
203
  }
204
- k5() {
205
- return this.p3m_1;
204
+ g5() {
205
+ return this.n3j_1;
206
206
  }
207
207
  equals(other) {
208
208
  var tmp;
209
209
  if (!(other == null) ? isInterface(other, FlowCollector()) : false) {
210
210
  var tmp_0;
211
211
  if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
212
- tmp_0 = equals(this.k5(), other.k5());
212
+ tmp_0 = equals(this.g5(), other.g5());
213
213
  } else {
214
214
  tmp_0 = false;
215
215
  }
@@ -220,7 +220,7 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
220
220
  return tmp;
221
221
  }
222
222
  hashCode() {
223
- return hashCode(this.k5());
223
+ return hashCode(this.g5());
224
224
  }
225
225
  }
226
226
  initMetadataForClass($, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector(), FunctionAdapter()], [1]);
@@ -232,11 +232,11 @@ var AttoHeightMonitor$_init_$slambda_oraq2vClass;
232
232
  function AttoHeightMonitor$_init_$slambda_oraq2v() {
233
233
  if (AttoHeightMonitor$_init_$slambda_oraq2vClass === VOID) {
234
234
  class $ {
235
- f3k(it, $completion) {
236
- return Companion_getInstance().MIN;
235
+ y3h(it, $completion) {
236
+ return Companion_getInstance().n2y_1;
237
237
  }
238
- wd(p1, $completion) {
239
- return this.f3k(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
238
+ sd(p1, $completion) {
239
+ return this.y3h(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
240
240
  }
241
241
  }
242
242
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -246,7 +246,7 @@ function AttoHeightMonitor$_init_$slambda_oraq2v() {
246
246
  }
247
247
  function AttoHeightMonitor$_init_$slambda_oraq2v_0() {
248
248
  var i = new (AttoHeightMonitor$_init_$slambda_oraq2v())();
249
- var l = (it, $completion) => i.f3k(it, $completion);
249
+ var l = (it, $completion) => i.y3h(it, $completion);
250
250
  l.$arity = 1;
251
251
  return l;
252
252
  }
@@ -255,14 +255,14 @@ function AttoHeightMonitor$stream$slambda() {
255
255
  if (AttoHeightMonitor$stream$slambdaClass === VOID) {
256
256
  class $ {
257
257
  constructor(this$0) {
258
- this.h3m_1 = this$0;
258
+ this.e3j_1 = this$0;
259
259
  }
260
- n3l($this$transformLatest, it, $completion) {
260
+ w3i($this$transformLatest, it, $completion) {
261
261
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$transformLatest, it), $completion);
262
262
  }
263
- xd(p1, p2, $completion) {
263
+ td(p1, p2, $completion) {
264
264
  var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE();
265
- return this.n3l(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
265
+ return this.w3i(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
266
266
  }
267
267
  }
268
268
  initMetadataForLambda($, VOID, VOID, [2]);
@@ -272,7 +272,7 @@ function AttoHeightMonitor$stream$slambda() {
272
272
  }
273
273
  function AttoHeightMonitor$stream$slambda_0(this$0) {
274
274
  var i = new (AttoHeightMonitor$stream$slambda())(this$0);
275
- var l = ($this$transformLatest, it, $completion) => i.n3l($this$transformLatest, it, $completion);
275
+ var l = ($this$transformLatest, it, $completion) => i.w3i($this$transformLatest, it, $completion);
276
276
  l.$arity = 2;
277
277
  return l;
278
278
  }
@@ -281,14 +281,14 @@ function AttoHeightMonitor$stream$$inlined$map$1() {
281
281
  if (AttoHeightMonitor$stream$$inlined$map$1Class === VOID) {
282
282
  class $ {
283
283
  constructor($this, this$0) {
284
- this.n3m_1 = $this;
285
- this.o3m_1 = this$0;
284
+ this.k3j_1 = $this;
285
+ this.l3j_1 = this$0;
286
286
  }
287
- n1b(collector, $completion) {
287
+ f21(collector, $completion) {
288
288
  return suspendOrReturn(/*#__NOINLINE__*/_generator_collect__dlomyy.bind(VOID, this, collector), $completion);
289
289
  }
290
- i1b(collector, $completion) {
291
- return this.n1b(collector, $completion);
290
+ a21(collector, $completion) {
291
+ return this.f21(collector, $completion);
292
292
  }
293
293
  }
294
294
  initMetadataForClass($, VOID, VOID, VOID, VOID, [1]);
@@ -308,16 +308,16 @@ function AttoHeightMonitor() {
308
308
  tmp = heightProvider;
309
309
  }
310
310
  heightProvider = tmp;
311
- this.m3k_1 = accountMonitor;
312
- this.n3k_1 = heightProvider;
313
- this.o3k_1 = Mutex();
311
+ this.f3i_1 = accountMonitor;
312
+ this.g3i_1 = heightProvider;
313
+ this.h3i_1 = Mutex();
314
314
  var tmp_0 = this;
315
315
  // Inline function 'kotlin.collections.mutableMapOf' call
316
- tmp_0.p3k_1 = LinkedHashMap().z5();
316
+ tmp_0.i3i_1 = LinkedHashMap().t5();
317
317
  }
318
- q3k() {
318
+ j3i() {
319
319
  // Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
320
- var this_0 = this.m3k_1.m3l();
320
+ var this_0 = this.f3i_1.v3i();
321
321
  // Inline function 'kotlinx.coroutines.flow.map' call
322
322
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
323
323
  var this_1 = transformLatest(this_0, AttoHeightMonitor$stream$slambda_0(this));
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoHeightMonitor.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/sync/Mutex.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Collections.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/src/kotlin/collections/Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Emitters.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Merge.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/internal/SafeCollector.common.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-acknowledge>","$completion","<generator-invoke>","element","search","address","height","$address","$height","invoke","AttoHeightMonitor$stream$o$collect$slambda$slambda","AttoHeightMonitor$stream$o$collect$slambda$slambda$lambda","<generator-collect>","collector","AttoHeightMonitor$stream$o$collect$slambda","AttoHeightMonitor$stream$o$collect$slambda$lambda","value","acknowledge","toHeightSearch","<this>","item","accounts","emit","equals","hashCode","AttoHeightMonitor$<init>$slambda","AttoHeightMonitor$<init>$slambda$lambda","AttoHeightMonitor$stream$slambda","AttoHeightMonitor$stream$slambda$lambda","collect","accountMonitor","heightProvider","stream"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA2BgBA,CAAA,K,EAAAC,WAAAD,EAAkB;A,MACV,MAAZ,KAAY,CAAZ,KAAY,a;;;EAChB,oB;AAAA,C;mCA0C++JE,CAAA,K,EAAA,qB,EAAA,E,EAAAD,WAAAC,EAAE;A;;IAhCr+J,IAgCu/J,EAhC7+J,KAAV,C,CAAqB;A,MACrB,YAAqB,W;;IACzB,C;;iBAEI,K,CAAA,K,CAAA,K;QC6EhB,iBAJuD,IAIvD,c;;;;IACO,I;MD7Ea,KAAU,CAAV,KAAU,CAAV,KAAU,KAAK,IA2Bo+J,EA3Bp+J,C;;UE80DnB,oBF50DK,MAyBk/J,EAzBl/J,EAAY,KAAU,CAAV,KAAU,CAAV,KAAU,KAAtB,CE40DL,K;aAAA,sB,EAAM;A,YAAjBC,UAAW,sB;mBF50DsD,K,CAAA,K,CAAA,K;YAAoC,QAAf,KAAe,CAAf,KAAe,CAAf,KAAe,CE40D7E,OF50D6E,c;;;;oBAAA,K;QG0N1G,QDknD6B,OClnD7B,EAAS,KAAT,C;MDknDoC,C;cF10DN,eAAV,KAAU,CAAV,KAAU,EAAV,KAAU,CAAV,KAAU,CAAV,KAAU,C;aC2EpB;A,MACN,WARmD,IAQnD,C;IACJ,C;QDnFYC,SC+EL,K;IDvEK,YAAqB,gBAAO,MAAP,C;;MAqBo9J,uCAAQ,SAAR,c;;;EAAqB,oB;AAAA,C;qCAjBl/JF,CAAA,K,EAAAD,WAAAC,EACR;A;eAAA,K,CAAA,K,CAAA,K;MCiEhB,iBAJuD,IAIvD,c;;;EACO,IAAI;A,eDjES,K,CAAA,K,CAAA,K;eAAU,oBAAY,KAAZ,CAAY,KAAZ,CAAoB,SAApB,EAA+B,KAA/B,CAA+B,KAA/B,CAAuC,SAAvC,C;;gBAAqD,K,CAAA,K;IGgNnF,cAAS,KAAT,C;EF7IA,C,QAAU;A,IACN,WARmD,IAQnD,C;EACJ,C;EDpEgB,oB;AAAA,C;qCATZA,CAAA,K,EAAE,K,EAAFD,WAAAC,EAE8B;A;MAEtBG,UADL,KACKA,CAAiB,O;MACjBC,SAFL,KAEKA,CAAgB,M;MAKf,YAJD,gBAHL,KAGK,EAAY,kFAAZ,C;MILK,0BAAK,SAAL,c;;;EJCiB,oB;AACtB,C;;;;;kBIfd,M,EAiBuBC,Q,EAAyCC,O;;;;;QAAmDC,CAAAR,WAAAQ,E;;O;;;;;;;6DJCzFC,CAnBxB,M,EAiBYH,Q,EACAC,OACYE,E;;UAAAC,CAAAV,WAAAU,sB;;;C;oCAiBkkDC,CAAA,K,EAA6BC,S,EAA7BZ,WAAAW,EAA0D;A,MKzB5oD,mDLyB0pD,SKzB1pD,c;MAAR,4EAAQ,GAAR,e;;;ELyB4rD,oB;AAAA,C;;;;;qCInC9rD,M;;;;SAYsCH,CAAE,K,EAAFR,WAAAQ,E;;O;SAhDxC,E,EAAAR,W;;;;;;;;;qDJgDQa,C,mBAbJ,MAaIA,E;;UAAAC,CAAE,K,EAAFd,WAAAc,8B;;;C;;;;;kBAxBAC,K,EACQC,W;QADR,kB;QACA,wB;;SAEQA,CAAAhB,WAAAgB,E;;O;;;;;;;uBAmCJC,CAAA,K,EAAIC,aAAJD,EAAgE;A;;oBMkE3D,eNhEL,aMgEkB,KAAb,C;;MA6BA,oBN7FL,aG8U4E,KAAQ,K;SGjP/E,sB,EACT;A,QADCE,OAAQ,sB;QN5FoC,YAArC,4BM6FkB,IN7FK,KAAvB,EM6FkB,IN7Fa,KAA/B,C;IM6FR,WAAY,IAAI,SAAJ,C;EAAmB,C;MN/F/BC,WMgGG,W;EN3FH,4BAAoB,QAApB,C;AACJ,C;;;;;;QArBI,uB;;SAAAC,CAzBQN,K,EAyBRf,WAAAqB,E;;O;;;;YAhDRC,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;;;;;SAkBsEf,CAAA,E,EAAAR,WAAAQ,EAAE;A,QAAc,+BAAH,G;MAAE,C;SAlBrF,E,EAAAR,W;;;;;;;;;kDAkBsEwB,CAAAA,E;;UAAAC,CAAA,E,EAAAzB,WAAAyB,2B;;;C;;;;;kBOerB,M;;;SA2J7BjB,CAAA,qB,EAAA,E,EAAAR,WAAAQ,E;;O;SA5LpB,E,EAAA,E,EAAAR,W;;;;;;;;;;2CPuEu/J0B,CApCn/J,MAoCm/JA,E;;UAAAC,CAAA,qB,EAAA,E,EAAA3B,WAAA2B,kD;;;C;;;;;yBInCr/J,M;;;;SAoEcC,CAA6BhB,S,EAA7BZ,WAAA4B,E;;O;UA8D2lIhB,S,EAA3BZ,W;;;;;;;;;;;;;kBJrJpkI6B,c,EACAC,c;;;gBAA0D,2C;;;;;QADlE,2B;QACA,2B;QAEoB,oB;oBACI,I;;QAAA,cG+DgC,oB;;SHjDxDC,CAAAA,EAA+B;A;qBACpB,IACF,CADE,KACF,M;;;qBOuJT,wBAAgB,wCAAhB,C;;QPxJI,OQoEG,6D;MR5CP,C;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoHeightMonitor.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/sync/Mutex.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Collections.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/src/kotlin/collections/Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Transform.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Emitters.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/common/src/generated/_Maps.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Merge.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/internal/SafeCollector.common.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AddressSupport\nimport cash.atto.commons.AttoAddress\nimport cash.atto.commons.AttoHeight\nimport cash.atto.commons.HeightSupport\nimport cash.atto.commons.node.AccountHeightSearch\nimport cash.atto.commons.node.HeightSearch\nimport kotlinx.coroutines.ExperimentalCoroutinesApi\nimport kotlinx.coroutines.flow.Flow\nimport kotlinx.coroutines.flow.emptyFlow\nimport kotlinx.coroutines.flow.flatMapLatest\nimport kotlinx.coroutines.flow.map\nimport kotlinx.coroutines.sync.Mutex\nimport kotlinx.coroutines.sync.withLock\n\nabstract class AttoHeightMonitor<T> internal constructor(\n private val accountMonitor: AttoAccountMonitor,\n private val heightProvider: suspend (AttoAddress) -> AttoHeight = { AttoHeight.MIN },\n) where T : HeightSupport, T : AddressSupport {\n private val mutex = Mutex()\n private val heightMap = mutableMapOf<AttoAddress, AttoHeight>()\n\n class Message<T>(\n val value: T,\n private val acknowledge: suspend () -> Unit,\n ) {\n suspend fun acknowledge() {\n acknowledge.invoke()\n }\n }\n\n internal abstract fun stream(search: HeightSearch): Flow<T>\n\n @OptIn(ExperimentalCoroutinesApi::class)\n fun stream(): Flow<Message<T>> {\n return accountMonitor\n .membershipFlow()\n .flatMapLatest { addresses ->\n if (addresses.isEmpty()) {\n return@flatMapLatest emptyFlow()\n }\n val search =\n mutex.withLock {\n heightMap.keys.retainAll(addresses)\n\n (addresses - heightMap.keys).forEach { address -> heightMap[address] = heightProvider.invoke(address) }\n\n heightMap.toHeightSearch()\n }\n return@flatMapLatest stream(search)\n }.map {\n val address = it.address\n val height = it.height\n Message(it) {\n mutex.withLock {\n heightMap[AttoAddress(address.algorithm, address.publicKey)] = height\n }\n }\n }\n }\n\n private fun Map<AttoAddress, AttoHeight>.toHeightSearch(): HeightSearch {\n val accounts =\n this.map {\n AccountHeightSearch(it.key, it.value)\n }\n\n return HeightSearch(accounts)\n }\n}\n",null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-acknowledge>","$completion","<generator-invoke>","element","search","address","height","$address","$height","invoke","AttoHeightMonitor$stream$o$collect$slambda$slambda","AttoHeightMonitor$stream$o$collect$slambda$slambda$lambda","<generator-collect>","collector","AttoHeightMonitor$stream$o$collect$slambda","AttoHeightMonitor$stream$o$collect$slambda$lambda","value","acknowledge","toHeightSearch","<this>","item","accounts","emit","equals","hashCode","AttoHeightMonitor$<init>$slambda","AttoHeightMonitor$<init>$slambda$lambda","AttoHeightMonitor$stream$slambda","AttoHeightMonitor$stream$slambda$lambda","collect","accountMonitor","heightProvider","stream"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA2BgBA,CAAA,K,EAAAC,WAAAD,EAAkB;A,MACV,MAAZ,KAAY,CAAZ,KAAY,a;;;EAChB,oB;AAAA,C;mCA0C++JE,CAAA,K,EAAA,qB,EAAA,E,EAAAD,WAAAC,EAAE;A;;IAhCr+J,IAgCu/J,EAhC7+J,KAAV,C,CAAqB;A,MACrB,YAAqB,W;;IACzB,C;;iBAEI,K,CAAA,K,CAAA,K;QC6EhB,iBAJuD,IAIvD,c;;;;IACO,I;MD7Ea,KAAU,CAAV,KAAU,CAAV,KAAU,KAAK,IA2Bo+J,EA3Bp+J,C;;UE80DnB,oBF50DK,MAyBk/J,EAzBl/J,EAAY,KAAU,CAAV,KAAU,CAAV,KAAU,KAAtB,CE40DL,K;aAAA,sB,EAAM;A,YAAjBC,UAAW,sB;mBF50DsD,K,CAAA,K,CAAA,K;YAAoC,QAAf,KAAe,CAAf,KAAe,CAAf,KAAe,CE40D7E,OF50D6E,c;;;;oBAAA,K;QG0N1G,QDknD6B,OClnD7B,EAAS,KAAT,C;MDknDoC,C;cF10DN,eAAV,KAAU,CAAV,KAAU,EAAV,KAAU,CAAV,KAAU,CAAV,KAAU,C;aC2EpB;A,MACN,WARmD,IAQnD,C;IACJ,C;QDnFYC,SC+EL,K;IDvEK,YAAqB,gBAAO,MAAP,C;;MAqBo9J,uCAAQ,SAAR,c;;;EAAqB,oB;AAAA,C;qCAjBl/JF,CAAA,K,EAAAD,WAAAC,EACR;A;eAAA,K,CAAA,K,CAAA,K;MCiEhB,iBAJuD,IAIvD,c;;;EACO,IAAI;A,eDjES,K,CAAA,K,CAAA,K;eAAU,oBAAY,KAAZ,CAAY,KAAZ,CAAoB,SAApB,EAA+B,KAA/B,CAA+B,KAA/B,CAAuC,SAAvC,C;;gBAAqD,K,CAAA,K;IGgNnF,cAAS,KAAT,C;EF7IA,C,QAAU;A,IACN,WARmD,IAQnD,C;EACJ,C;EDpEgB,oB;AAAA,C;qCATZA,CAAA,K,EAAE,K,EAAFD,WAAAC,EAE8B;A;MAEtBG,UADL,KACKA,CAAiB,O;MACjBC,SAFL,KAEKA,CAAgB,M;MAKf,YAJD,gBAHL,KAGK,EAAY,kFAAZ,C;MILK,0BAAK,SAAL,c;;;EJCiB,oB;AACtB,C;;;;;kBIfd,M,EAiBuBC,Q,EAAyCC,O;;;;;QAAmDC,CAAAR,WAAAQ,E;;O;;;;;;;6DJCzFC,CAnBxB,M,EAiBYH,Q,EACAC,OACYE,E;;UAAAC,CAAAV,WAAAU,sB;;;C;oCAiBkkDC,CAAA,K,EAA6BC,S,EAA7BZ,WAAAW,EAA0D;A,MKzB5oD,mDLyB0pD,SKzB1pD,c;MAAR,4EAAQ,GAAR,e;;;ELyB4rD,oB;AAAA,C;;;;;qCInC9rD,M;;;;SAYsCH,CAAE,K,EAAFR,WAAAQ,E;;O;SAhDxC,E,EAAAR,W;;;;;;;;;qDJgDQa,C,mBAbJ,MAaIA,E;;UAAAC,CAAE,K,EAAFd,WAAAc,8B;;;C;;;;;kBAxBAC,K,EACQC,W;QADR,kB;QACA,wB;;SAEQA,CAAAhB,WAAAgB,E;;O;;;;;;;uBAmCJC,CAAA,K,EAAIC,aAAJD,EAAgE;A;;oBMkE3D,eNhEL,aMgEkB,KAAb,C;;MA6BA,oBN7FL,aG8U4E,KAAQ,K;SGjP/E,sB,EACT;A,QADCE,OAAQ,sB;QN5FoC,YAArC,4BM6FkB,IN7FK,KAAvB,EM6FkB,IN7Fa,KAA/B,C;IM6FR,WAAY,IAAI,SAAJ,C;EAAmB,C;MN/F/BC,WMgGG,W;EN3FH,4BAAoB,QAApB,C;AACJ,C;;;;;;QArBI,uB;;SAAAC,CAzBQN,K,EAyBRf,WAAAqB,E;;O;;;;YAhDRC,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;;;;;SAkBsEf,CAAA,E,EAAAR,WAAAQ,EAAE;A,QAAc,+BAAH,K;MAAE,C;SAlBrF,E,EAAAR,W;;;;;;;;;kDAkBsEwB,CAAAA,E;;UAAAC,CAAA,E,EAAAzB,WAAAyB,2B;;;C;;;;;kBOerB,M;;;SA2J7BjB,CAAA,qB,EAAA,E,EAAAR,WAAAQ,E;;O;SA5LpB,E,EAAA,E,EAAAR,W;;;;;;;;;;2CPuEu/J0B,CApCn/J,MAoCm/JA,E;;UAAAC,CAAA,qB,EAAA,E,EAAA3B,WAAA2B,kD;;;C;;;;;yBInCr/J,M;;;;SAoEcC,CAA6BhB,S,EAA7BZ,WAAA4B,E;;O;UA8D2lIhB,S,EAA3BZ,W;;;;;;;;;;;;;kBJrJpkI6B,c,EACAC,c;;;gBAA0D,2C;;;;;QADlE,2B;QACA,2B;QAEoB,oB;oBACI,I;;QAAA,cG+DgC,oB;;SHjDxDC,CAAAA,EAA+B;A;qBACpB,IACF,CADE,KACF,M;;;qBOuJT,wBAAgB,wCAAhB,C;;QPxJI,OQoEG,6D;MR5CP,C;;;;;;;;;;;"}
@@ -15,11 +15,11 @@ var AttoTransactionMonitor$_init_$slambda_7tohweClass;
15
15
  function AttoTransactionMonitor$_init_$slambda_7tohwe() {
16
16
  if (AttoTransactionMonitor$_init_$slambda_7tohweClass === VOID) {
17
17
  class $ {
18
- f3k(it, $completion) {
19
- return Companion_getInstance().MIN;
18
+ y3h(it, $completion) {
19
+ return Companion_getInstance().n2y_1;
20
20
  }
21
- wd(p1, $completion) {
22
- return this.f3k(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
21
+ sd(p1, $completion) {
22
+ return this.y3h(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
23
23
  }
24
24
  }
25
25
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -29,7 +29,7 @@ function AttoTransactionMonitor$_init_$slambda_7tohwe() {
29
29
  }
30
30
  function AttoTransactionMonitor$_init_$slambda_7tohwe_0() {
31
31
  var i = new (AttoTransactionMonitor$_init_$slambda_7tohwe())();
32
- var l = (it, $completion) => i.f3k(it, $completion);
32
+ var l = (it, $completion) => i.y3h(it, $completion);
33
33
  l.$arity = 1;
34
34
  return l;
35
35
  }
@@ -46,10 +46,10 @@ function AttoTransactionMonitor() {
46
46
  }
47
47
  heightProvider = tmp;
48
48
  super(accountMonitor, heightProvider);
49
- this.u3m_1 = nodeClient;
49
+ this.s3j_1 = nodeClient;
50
50
  }
51
- l3k(search) {
52
- return this.u3m_1.e3j(search);
51
+ e3i(search) {
52
+ return this.s3j_1.v3h(search);
53
53
  }
54
54
  }
55
55
  initMetadataForClass($, 'AttoTransactionMonitor');
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoTransactionMonitor.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","AttoTransactionMonitor$<init>$slambda","AttoTransactionMonitor$<init>$slambda$lambda","nodeClient","accountMonitor","heightProvider","stream","search"],"mappings":";;;;;;;;;;;;;;;;;SAY0DA,CAAA,E,EAAAC,WAAAD,EAAE;A,QAAc,+BAAH,G;MAAE,C;SAZzE,E,EAAAC,W;;;;;;;;;uDAY0DC,CAAAA,E;;UAAAC,CAAA,E,EAAAF,WAAAE,2B;;;C;;;;;kBAF9CC,U,EACRC,c,EACAC,c;;;gBAAsD,gD;;;;;cACnB,c,EAAgB,c;QAHnD,uB;;SAISC,CAAWC,MAAXD,EAA0D;A,QAAoC,OAApC,IAAW,CAAX,KAAW,KAAkB,MAAlB,C;MAAwB,C;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoTransactionMonitor.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AttoAddress\nimport cash.atto.commons.AttoHeight\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.node.AttoNodeClient\nimport cash.atto.commons.node.HeightSearch\nimport kotlinx.coroutines.flow.Flow\n\nclass AttoTransactionMonitor(\n private val nodeClient: AttoNodeClient,\n accountMonitor: AttoAccountMonitor,\n heightProvider: suspend (AttoAddress) -> AttoHeight = { AttoHeight.MIN },\n) : AttoHeightMonitor<AttoTransaction>(accountMonitor, heightProvider) {\n override fun stream(search: HeightSearch): Flow<AttoTransaction> = nodeClient.transactionStream(search)\n}\n\nfun AttoAccountMonitor.toTransactionMonitor(\n heightProvider: suspend (AttoAddress) -> AttoHeight = {\n AttoHeight.MIN\n },\n): AttoTransactionMonitor = AttoTransactionMonitor(client, this, heightProvider)\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","AttoTransactionMonitor$<init>$slambda","AttoTransactionMonitor$<init>$slambda$lambda","nodeClient","accountMonitor","heightProvider","stream","search"],"mappings":";;;;;;;;;;;;;;;;;SAY0DA,CAAA,E,EAAAC,WAAAD,EAAE;A,QAAc,+BAAH,K;MAAE,C;SAZzE,E,EAAAC,W;;;;;;;;;uDAY0DC,CAAAA,E;;UAAAC,CAAA,E,EAAAF,WAAAE,2B;;;C;;;;;kBAF9CC,U,EACRC,c,EACAC,c;;;gBAAsD,gD;;;;;cACnB,c,EAAgB,c;QAHnD,uB;;SAISC,CAAWC,MAAXD,EAA0D;A,QAAoC,OAApC,IAAW,CAAX,KAAW,KAAkB,MAAlB,C;MAAwB,C;;;;;;;;;;;"}
@@ -1,8 +1,9 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoTransactionMonitorAsync /* implements AutoCloseable */ {
4
- constructor(transactionMonitor: any/* AttoTransactionMonitor */, dispatcher?: any/* CoroutineDispatcher */);
5
- onTransaction(onTransaction: any/* AttoConsumer<AttoTransaction> */, onCancel: any/* AttoConsumer<Nullable<Exception>> */): any/* AttoJob */;
4
+ private constructor();
5
+ get transactionMonitor(): any/* AttoTransactionMonitor */;
6
+ onTransaction(onTransaction: any /*Suspend functions are not supported*/, onCancel: (p0: Nullable<Error>/* Nullable<Exception> */) => void): any/* AttoJob */;
6
7
  }
7
8
  export declare namespace AttoTransactionMonitorAsync {
8
9
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -1,4 +1,4 @@
1
- import { AttoTransactionMonitorAsync25h9q28tjimx0 as AttoTransactionMonitorAsync } from './AttoTransactionMonitorAsync.mjs';
1
+ import { AttoTransactionMonitorAsync25h9q28tjimx0 as AttoTransactionMonitorAsync } from './AttoTransactionMonitorAsync.web.mjs';
2
2
  //region block: imports
3
3
  //endregion
4
4
  //region block: pre-declaration
@@ -10,4 +10,4 @@ export {
10
10
  };
11
11
  //endregion
12
12
 
13
- //# sourceMappingURL=AttoTransactionMonitorAsync.export.mjs.map
13
+ //# sourceMappingURL=AttoTransactionMonitorAsync.web.export.mjs.map
@@ -21,7 +21,6 @@ import {
21
21
  CoroutineScopelux7s7zphw7e as CoroutineScope_0,
22
22
  cancel36mj9lv3a0whl as cancel,
23
23
  } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
24
- import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
25
24
  import { SupervisorJobythnfxkr3jxc as SupervisorJob } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs';
26
25
  import { launch1c91vkjzdi9sd as launch } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs';
27
26
  import { AttoJob1jkwx1uqpl60h as AttoJob } from '../../../../../../commons-commons-core/cash/atto/commons/AttoJob.mjs';
@@ -31,28 +30,36 @@ import { AutoCloseable1l5p57f9lp7kv as AutoCloseable } from '../../../../../../k
31
30
  //region block: pre-declaration
32
31
  //endregion
33
32
  function *_generator_invoke__zhh2q8($this, it, $completion) {
34
- $this.v3m_1.s3g(it.s3k_1);
35
- var tmp = it.u3k($completion);
33
+ var tmp = $this.y3m_1(it.c3j_1, $completion);
36
34
  if (tmp === get_COROUTINE_SUSPENDED())
37
35
  tmp = yield tmp;
36
+ var tmp_0 = it.m3j($completion);
37
+ if (tmp_0 === get_COROUTINE_SUSPENDED())
38
+ tmp_0 = yield tmp_0;
38
39
  return Unit_instance;
39
40
  }
40
41
  function *_generator_invoke__zhh2q8_0($this, $this$launch, $completion) {
41
42
  try {
42
- var tmp = AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($this.y3m_1);
43
- var tmp_0 = $this.w3m_1.i1b(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
43
+ var tmp = AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($this.b3n_1);
44
+ var tmp_0 = $this.z3m_1.a21(new (sam$kotlinx_coroutines_flow_FlowCollector$0())(tmp), $completion);
44
45
  if (tmp_0 === get_COROUTINE_SUSPENDED())
45
46
  tmp_0 = yield tmp_0;
46
- $this.x3m_1(null);
47
+ var tmp_1 = $this.a3n_1(null, $completion);
48
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
49
+ tmp_1 = yield tmp_1;
47
50
  } catch ($p) {
48
51
  if ($p instanceof CancellationException()) {
49
52
  var e = $p;
50
- $this.x3m_1(null);
53
+ var tmp_2 = $this.a3n_1(null, $completion);
54
+ if (tmp_2 === get_COROUTINE_SUSPENDED())
55
+ tmp_2 = yield tmp_2;
51
56
  throw e;
52
57
  } else {
53
58
  if ($p instanceof Exception()) {
54
59
  var e_0 = $p;
55
- $this.x3m_1(e_0);
60
+ var tmp_3 = $this.a3n_1(e_0, $completion);
61
+ if (tmp_3 === get_COROUTINE_SUSPENDED())
62
+ tmp_3 = yield tmp_3;
56
63
  } else {
57
64
  throw $p;
58
65
  }
@@ -65,13 +72,13 @@ function AttoTransactionMonitorAsync$onTransaction$slambda$slambda() {
65
72
  if (AttoTransactionMonitorAsync$onTransaction$slambda$slambdaClass === VOID) {
66
73
  class $ {
67
74
  constructor($onTransaction) {
68
- this.v3m_1 = $onTransaction;
75
+ this.y3m_1 = $onTransaction;
69
76
  }
70
- p1g(it, $completion) {
77
+ h26(it, $completion) {
71
78
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, it), $completion);
72
79
  }
73
- wd(p1, $completion) {
74
- return this.p1g((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
80
+ sd(p1, $completion) {
81
+ return this.h26((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
75
82
  }
76
83
  }
77
84
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -81,7 +88,7 @@ function AttoTransactionMonitorAsync$onTransaction$slambda$slambda() {
81
88
  }
82
89
  function AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($onTransaction) {
83
90
  var i = new (AttoTransactionMonitorAsync$onTransaction$slambda$slambda())($onTransaction);
84
- var l = (it, $completion) => i.p1g(it, $completion);
91
+ var l = (it, $completion) => i.h26(it, $completion);
85
92
  l.$arity = 1;
86
93
  return l;
87
94
  }
@@ -90,20 +97,20 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
90
97
  if (sam$kotlinx_coroutines_flow_FlowCollector$0Class === VOID) {
91
98
  class $ {
92
99
  constructor(function_0) {
93
- this.z3m_1 = function_0;
100
+ this.c3n_1 = function_0;
94
101
  }
95
- m1b(value, $completion) {
96
- return this.z3m_1(value, $completion);
102
+ e21(value, $completion) {
103
+ return this.c3n_1(value, $completion);
97
104
  }
98
- k5() {
99
- return this.z3m_1;
105
+ g5() {
106
+ return this.c3n_1;
100
107
  }
101
108
  equals(other) {
102
109
  var tmp;
103
110
  if (!(other == null) ? isInterface(other, FlowCollector()) : false) {
104
111
  var tmp_0;
105
112
  if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
106
- tmp_0 = equals(this.k5(), other.k5());
113
+ tmp_0 = equals(this.g5(), other.g5());
107
114
  } else {
108
115
  tmp_0 = false;
109
116
  }
@@ -114,7 +121,7 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
114
121
  return tmp;
115
122
  }
116
123
  hashCode() {
117
- return hashCode(this.k5());
124
+ return hashCode(this.g5());
118
125
  }
119
126
  }
120
127
  initMetadataForClass($, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector(), FunctionAdapter()], [1]);
@@ -122,26 +129,19 @@ function sam$kotlinx_coroutines_flow_FlowCollector$0() {
122
129
  }
123
130
  return sam$kotlinx_coroutines_flow_FlowCollector$0Class;
124
131
  }
125
- function AttoTransactionMonitorAsync$onTransaction$lambda($onCancel) {
126
- return (it) => {
127
- $onCancel.s3g(it);
128
- return Unit_instance;
129
- };
130
- }
131
132
  var AttoTransactionMonitorAsync$onTransaction$slambdaClass;
132
133
  function AttoTransactionMonitorAsync$onTransaction$slambda() {
133
134
  if (AttoTransactionMonitorAsync$onTransaction$slambdaClass === VOID) {
134
135
  class $ {
135
- constructor($stream, $onCancel, $onTransaction) {
136
- this.w3m_1 = $stream;
137
- this.x3m_1 = $onCancel;
138
- this.y3m_1 = $onTransaction;
136
+ constructor($onCancel) {
137
+ this.d3n_1 = $onCancel;
139
138
  }
140
- x1d($this$launch, $completion) {
141
- return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$launch), $completion);
139
+ j3m(it, $completion) {
140
+ this.d3n_1(it);
141
+ return Unit_instance;
142
142
  }
143
- wd(p1, $completion) {
144
- return this.x1d((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
143
+ sd(p1, $completion) {
144
+ return this.j3m((p1 == null ? true : p1 instanceof Exception()) ? p1 : THROW_CCE(), $completion);
145
145
  }
146
146
  }
147
147
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -149,9 +149,36 @@ function AttoTransactionMonitorAsync$onTransaction$slambda() {
149
149
  }
150
150
  return AttoTransactionMonitorAsync$onTransaction$slambdaClass;
151
151
  }
152
- function AttoTransactionMonitorAsync$onTransaction$slambda_0($stream, $onCancel, $onTransaction) {
153
- var i = new (AttoTransactionMonitorAsync$onTransaction$slambda())($stream, $onCancel, $onTransaction);
154
- var l = ($this$launch, $completion) => i.x1d($this$launch, $completion);
152
+ function AttoTransactionMonitorAsync$onTransaction$slambda_0($onCancel) {
153
+ var i = new (AttoTransactionMonitorAsync$onTransaction$slambda())($onCancel);
154
+ var l = (it, $completion) => i.j3m(it, $completion);
155
+ l.$arity = 1;
156
+ return l;
157
+ }
158
+ var AttoTransactionMonitorAsync$onTransaction$slambdaClass_0;
159
+ function AttoTransactionMonitorAsync$onTransaction$slambda_1() {
160
+ if (AttoTransactionMonitorAsync$onTransaction$slambdaClass_0 === VOID) {
161
+ class $ {
162
+ constructor($stream, $onCancel, $onTransaction) {
163
+ this.z3m_1 = $stream;
164
+ this.a3n_1 = $onCancel;
165
+ this.b3n_1 = $onTransaction;
166
+ }
167
+ p23($this$launch, $completion) {
168
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$launch), $completion);
169
+ }
170
+ sd(p1, $completion) {
171
+ return this.p23((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
172
+ }
173
+ }
174
+ initMetadataForLambda($, VOID, VOID, [1]);
175
+ AttoTransactionMonitorAsync$onTransaction$slambdaClass_0 = $;
176
+ }
177
+ return AttoTransactionMonitorAsync$onTransaction$slambdaClass_0;
178
+ }
179
+ function AttoTransactionMonitorAsync$onTransaction$slambda_2($stream, $onCancel, $onTransaction) {
180
+ var i = new (AttoTransactionMonitorAsync$onTransaction$slambda_1())($stream, $onCancel, $onTransaction);
181
+ var l = ($this$launch, $completion) => i.p23($this$launch, $completion);
155
182
  l.$arity = 1;
156
183
  return l;
157
184
  }
@@ -160,19 +187,21 @@ function AttoTransactionMonitorAsync() {
160
187
  if (AttoTransactionMonitorAsyncClass === VOID) {
161
188
  class $ {
162
189
  constructor(transactionMonitor, dispatcher) {
163
- dispatcher = dispatcher === VOID ? Dispatchers_getInstance().q15_1 : dispatcher;
164
- this.a3n_1 = transactionMonitor;
165
- this.b3n_1 = CoroutineScope_0(dispatcher.pl(SupervisorJob()));
190
+ this.transactionMonitor = transactionMonitor;
191
+ this.e3n_1 = CoroutineScope_0(dispatcher.ml(SupervisorJob()));
192
+ }
193
+ f3n() {
194
+ return this.transactionMonitor;
166
195
  }
167
196
  onTransaction(onTransaction, onCancel) {
168
- var tmp0 = this.b3n_1;
169
- var tmp2 = this.a3n_1.q3k();
197
+ var tmp0 = this.e3n_1;
198
+ var tmp2 = this.transactionMonitor.j3i();
170
199
  // Inline function 'cash.atto.commons.node.consumeStream' call
171
- var onCancel_0 = AttoTransactionMonitorAsync$onTransaction$lambda(onCancel);
172
- return new (AttoJob())(launch(tmp0, VOID, VOID, AttoTransactionMonitorAsync$onTransaction$slambda_0(tmp2, onCancel_0, onTransaction)));
200
+ var onCancel_0 = AttoTransactionMonitorAsync$onTransaction$slambda_0(onCancel);
201
+ return new (AttoJob())(launch(tmp0, VOID, VOID, AttoTransactionMonitorAsync$onTransaction$slambda_2(tmp2, onCancel_0, onTransaction)));
173
202
  }
174
- z6() {
175
- cancel(this.b3n_1);
203
+ v6() {
204
+ cancel(this.e3n_1);
176
205
  }
177
206
  }
178
207
  initMetadataForClass($, 'AttoTransactionMonitorAsync', VOID, VOID, [AutoCloseable()]);
@@ -186,4 +215,4 @@ export {
186
215
  };
187
216
  //endregion
188
217
 
189
- //# sourceMappingURL=AttoTransactionMonitorAsync.mjs.map
218
+ //# sourceMappingURL=AttoTransactionMonitorAsync.web.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../commons-node/src/webMain/kotlin/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.kt","../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/NodeExtensions.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AttoJob\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.node.consumeStream\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.SupervisorJob\nimport kotlinx.coroutines.cancel\nimport kotlin.js.ExperimentalJsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoTransactionMonitorAsync internal actual constructor(\n actual val transactionMonitor: AttoTransactionMonitor,\n dispatcher: CoroutineDispatcher,\n) : AutoCloseable {\n private val scope = CoroutineScope(dispatcher + SupervisorJob())\n\n fun onTransaction(\n onTransaction: suspend (AttoTransaction) -> Unit,\n onCancel: (Exception?) -> Unit,\n ): AttoJob =\n scope.consumeStream(\n stream = transactionMonitor.stream(),\n onEach = {\n onTransaction(it.value)\n it.acknowledge()\n },\n onCancel = { onCancel.invoke(it) },\n )\n\n actual override fun close() {\n scope.cancel()\n }\n}\n\nfun AttoTransactionMonitor.toAsync(): AttoTransactionMonitorAsync = AttoTransactionMonitorAsync(this, Dispatchers.Default)\n","@file:OptIn(ExperimentalJsExport::class)\n\npackage cash.atto.commons.node\n\nimport cash.atto.commons.AttoAccountEntry\nimport cash.atto.commons.AttoBlock\nimport cash.atto.commons.AttoJob\nimport cash.atto.commons.AttoReceivable\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.toBuffer\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.flow.Flow\nimport kotlinx.coroutines.launch\nimport kotlinx.serialization.json.Json\nimport kotlin.coroutines.cancellation.CancellationException\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsName\n\nprivate val json =\n Json {\n ignoreUnknownKeys = true\n }\n\n@JsExportForJs\n@JsName(\"receivableToJson\")\nfun AttoReceivable.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"receivableFromJson\")\nfun String.toReceivable(): AttoReceivable = json.decodeFromString<AttoReceivable>(this)\n\n@JsExportForJs\n@JsName(\"transactionToJson\")\nfun AttoTransaction.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"transactionFromJson\")\nfun String.toTransaction(): AttoTransaction = json.decodeFromString<AttoTransaction>(this)\n\n@JsExportForJs\n@JsName(\"blockToJson\")\nfun AttoBlock.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"blockFromJson\")\nfun String.toBlock(): AttoBlock = json.decodeFromString<AttoBlock>(this)\n\n@JsExportForJs\n@JsName(\"accountEntryToJson\")\nfun AttoAccountEntry.toJson(): String = json.encodeToString(this)\n\n@JsExportForJs\n@JsName(\"accountEntryFromJson\")\nfun String.toAccountEntry(): AttoAccountEntry = json.decodeFromString<AttoAccountEntry>(this)\n\n@JsExportForJs\n@JsName(\"fromByteArrayToTransactionJson\")\nfun ByteArray.toTransactionJson(): String {\n val transaction = AttoTransaction.fromBuffer(this.toBuffer()) ?: throw IllegalArgumentException(\"Invalid transaction\")\n return json.encodeToString<AttoTransaction>(transaction)\n}\n\n@JsExportForJs\n@JsName(\"fromByteArrayToBlockJson\")\nfun ByteArray.toBlockJson(): String {\n val block = AttoBlock.fromBuffer(this.toBuffer()) ?: throw IllegalArgumentException(\"Invalid block\")\n return json.encodeToString<AttoBlock>(block)\n}\n\ninternal inline fun <T> CoroutineScope.consumeStream(\n stream: Flow<T>,\n crossinline onEach: suspend (T) -> Unit,\n noinline onCancel: suspend (Exception?) -> Unit,\n): AttoJob =\n AttoJob(\n launch {\n try {\n stream.collect { onEach(it) }\n onCancel(null)\n } catch (e: CancellationException) {\n onCancel(null)\n throw e\n } catch (e: Exception) {\n onCancel(e)\n }\n },\n )\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-invoke>","$completion","e","$onTransaction","invoke","AttoTransactionMonitorAsync$onTransaction$slambda$slambda","AttoTransactionMonitorAsync$onTransaction$slambda$slambda$lambda","emit","value","equals","hashCode","$onCancel","AttoTransactionMonitorAsync$onTransaction$slambda","AttoTransactionMonitorAsync$onTransaction$slambda$lambda","transactionMonitor","dispatcher","<get-transactionMonitor>","onTransaction","onCancel","close"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAwC8lCA,CAAA,K,EAAA,E,EAAAC,WAAAD,EAAE;A,MAZhlC,kBAYulC,EAZvlC,CAAiB,KAAjB,c;;;MACG,QAWolC,EAXplC,iB;;;EAWslC,oB;AAAA,C;qCAA9DA,CAAA,K,EAAA,Y,EAAAC,WAAAD,EAAc;A,EAAA,IAAI;A,QAAiC,8E;QAAR,QAAP,KAAO,CAAP,KAAO,yDAAQ,GAAR,e;;;QAAuC,oBAAS,IAAT,c;;;EAA2B,C;+CAAmC;A,UAA1BE,M;UAA4C,oBAAS,IAAT,c;;;MAA+B,MAAM,C;IAAc,C;qCAAuB;A,YAAdA,Q;YAAgC,oBAAS,GAAT,c;;;MAAwB,C;;;;;EAAA,oB;AAAA,C;;;;;kBCdhxCC,c;;;SAoDlBC,CAAA,E,EAAAH,WAAAG,E;;O;SA9E/B,E,EAAAH,W;;;;;;;;;oEDwC8lCI,CAlBtlCF,cAkBslCE,E;;UAAAC,CAAA,E,EAAAL,WAAAK,2B;;;C;;;;;;QAAA,uB;;SAAAC,CAdvkCC,K,EAcukCP,WAAAM,E;;O;;;;YAxC9lCE,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;;;;;kBAuBQC,S;;;SAQeP,CAAA,E,EAAAH,WAAAG,EAAE;A,QAAA,IAAS,CAAT,KAAS,CAAO,EAAP,C;QAAS,oB;MAAA,C;SA/B3C,E,EAAAH,W;;;;;;;;;4DA+BuBW,CARfD,SAQeC,E;;UAAAC,CAAA,E,EAAAZ,WAAAY,2B;;;C;;;;;sCCL0BV,c;;;;;SAkDlCC,CAAA,Y,EAAAH,WAAAG,E;;O;SA5Ef,E,EAAAH,W;;;;;;;;;4DDwC2iCW,C,oBAlBniCT,cAkBmiCS,E;;UAAAC,CAAA,Y,EAAAZ,WAAAY,qC;;;C;;;;;kBAxBhiCC,kB,EACPC,U;QADA,4C;QAGoB,8BAAe,cAAa,eAAb,CAAf,C;;SAHbC,CAAAA,EAAA;A,QAAA,8B;MAA6C,C;mBAKpDC,CACIA,a,EACAC,QAFJD,EAII;A,mBAAA,I,CAAA,K;mBACa,IAAmB,CAAnB,kBAAmB,M;;yBAKjB,6D;QACd,uBC4CD,yBAAO,oFAAP,CD5CC,C;MAAD,C;QAEYE,CAAAA,EAAY;A,QAClB,OAAN,IAAM,CAAN,KAAM,C;MACV,C;;;;;;;;;;;"}
@@ -2,7 +2,7 @@ type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoTransactionMonitorAsyncBuilder {
4
4
  constructor(nodeClient: AttoNodeClientAsync, accountMonitor: AttoAccountMonitorAsync);
5
- heightProvider(value: (p0: AttoAddress) => AttoFuture<AttoHeight>): AttoTransactionMonitorAsyncBuilder;
5
+ heightProvider(value: (p0: AttoAddress) => Promise<AttoHeight>): AttoTransactionMonitorAsyncBuilder;
6
6
  build(): AttoTransactionMonitorAsync;
7
7
  }
8
8
  export declare namespace AttoTransactionMonitorAsyncBuilder {