@attocash/commons-js 6.2.1 → 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 (767) 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 +19 -19
  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 +121 -121
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +151 -151
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +130 -130
  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 +22 -22
  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 +46 -46
  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 +105 -105
  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 +48 -48
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +59 -59
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +15 -15
  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 +12 -12
  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 +62 -54
  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 +865 -857
  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.js.mjs.map +1 -1
  90. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +26 -26
  91. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
  92. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +5 -5
  93. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
  94. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
  95. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +17 -17
  96. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
  97. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  98. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
  99. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
  100. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
  101. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
  102. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
  103. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
  104. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
  105. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
  106. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +6 -6
  107. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
  108. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
  109. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
  110. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
  111. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
  112. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
  113. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
  114. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
  115. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
  116. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
  117. package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
  118. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
  119. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
  120. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -15
  121. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
  122. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +46 -6
  123. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
  124. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
  125. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
  126. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
  127. package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
  128. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
  129. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
  130. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
  131. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
  132. package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
  133. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  134. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
  135. package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
  136. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
  137. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
  138. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +22 -22
  139. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
  140. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  141. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
  142. package/commons-commons-core/cash/atto/commons/Extensions.mjs +2 -2
  143. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
  144. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  145. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
  146. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  147. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
  148. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
  149. package/commons-commons-core.mjs +1 -2
  150. package/commons-commons-core.mjs.map +1 -1
  151. package/commons-commons-js/cash/atto/commons/js/Placeholder.mjs.map +1 -1
  152. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
  153. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
  154. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +375 -419
  155. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
  156. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
  157. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
  158. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  159. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
  160. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
  161. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
  162. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
  163. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
  164. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
  165. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
  166. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
  167. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
  168. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +70 -41
  169. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
  170. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
  171. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
  172. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +18 -18
  173. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
  174. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +54 -54
  175. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
  176. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
  177. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
  178. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +134 -129
  179. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
  180. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
  181. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
  182. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +55 -55
  183. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
  184. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
  185. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
  186. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
  187. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
  188. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +70 -41
  189. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
  190. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
  191. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
  192. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +18 -18
  193. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
  194. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +8 -8
  195. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
  196. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +320 -320
  197. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
  198. package/commons-commons-node.mjs +6 -6
  199. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.d.mts +15 -0
  200. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.export.mjs +13 -0
  201. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +229 -216
  202. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -1
  203. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.export.d.mts +25 -0
  204. package/commons-commons-wallet/cash/atto/commons/wallet/{AttoWalletAsync.export.mjs → AttoWalletAsync.js.export.mjs} +2 -2
  205. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs +405 -0
  206. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.js.mjs.map +1 -0
  207. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +6 -0
  208. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +44 -35
  209. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -1
  210. package/commons-commons-wallet.mjs +2 -1
  211. package/commons-commons-wallet.mjs.map +1 -1
  212. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  213. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
  214. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
  215. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
  216. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
  217. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
  218. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
  219. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
  220. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +72 -72
  221. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
  222. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  223. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
  224. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +14 -14
  225. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
  226. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +27 -27
  227. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
  228. package/commons-commons-worker.mjs +1 -1
  229. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +19 -19
  230. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  231. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +10 -5
  232. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
  233. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
  234. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  235. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +25 -25
  236. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  237. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +25 -25
  238. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  239. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +25 -25
  240. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  241. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +25 -25
  242. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +31 -31
  243. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +19 -19
  244. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
  245. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +189 -189
  246. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +1 -1
  247. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +9 -9
  248. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  249. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +68 -68
  250. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  251. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  252. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +18 -18
  253. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
  254. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  255. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +1 -1
  256. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +1 -1
  257. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +14 -14
  258. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  259. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +13 -13
  260. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  261. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +28 -28
  262. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  263. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +7 -7
  264. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +1 -1
  265. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +30 -30
  266. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  267. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +15 -15
  268. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
  269. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +9 -0
  270. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
  271. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  272. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +3 -3
  273. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +33 -33
  274. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +91 -0
  275. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  276. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -10
  277. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +43 -43
  278. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  279. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  280. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  281. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  282. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  283. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +24 -24
  284. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  285. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  286. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +22 -22
  287. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  288. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  289. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  290. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +29 -29
  291. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +26 -26
  292. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +3 -3
  293. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  294. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  295. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  296. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +15 -15
  297. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  298. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +63 -63
  299. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  300. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +16 -16
  301. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  302. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  303. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  304. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  305. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  306. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +76 -76
  307. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  308. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +85 -85
  309. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  310. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  311. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  312. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  313. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
  314. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
  315. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
  316. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
  317. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +21 -21
  318. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +3 -3
  319. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  320. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
  321. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
  322. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
  323. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
  324. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  325. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
  326. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  327. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  328. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
  329. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  330. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
  331. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
  332. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
  333. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  334. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
  335. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
  336. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
  337. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +168 -168
  338. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  339. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  340. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
  341. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  342. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
  343. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  344. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
  345. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +3 -3
  346. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +3 -3
  347. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  348. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +4 -4
  349. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
  350. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  351. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
  352. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
  353. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  354. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +43 -43
  355. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  356. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  357. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
  358. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
  359. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  360. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
  361. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  362. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +86 -86
  363. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  364. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
  365. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  366. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +318 -318
  367. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  368. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  369. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
  370. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  371. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  372. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
  373. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +3 -3
  374. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +438 -438
  375. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  376. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  377. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
  378. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
  379. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  380. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
  381. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  382. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  383. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
  384. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
  385. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  386. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +7 -7
  387. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
  388. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +14 -14
  389. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +28 -28
  390. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -1
  391. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
  392. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
  393. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  394. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +50 -50
  395. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
  396. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +42 -42
  397. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +24 -24
  398. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +72 -72
  399. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  400. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  401. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +35 -35
  402. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -1
  403. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
  404. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  405. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
  406. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
  407. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  408. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  409. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  410. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +46 -46
  411. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
  412. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  413. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  414. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
  415. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  416. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  417. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  418. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  419. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
  420. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  421. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  422. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
  423. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
  424. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
  425. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
  426. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
  427. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +52 -52
  428. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
  429. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
  430. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
  431. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +35 -35
  432. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  433. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  434. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  435. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +188 -188
  436. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  437. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  438. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  439. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +53 -53
  440. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
  441. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  442. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  443. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  444. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  445. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  446. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  447. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  448. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  449. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
  450. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +39 -39
  451. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
  452. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  453. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
  454. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  455. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
  456. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  457. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
  458. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  459. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  460. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
  461. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  462. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
  463. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  464. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
  465. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
  466. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
  467. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
  468. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
  469. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
  470. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
  471. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  472. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
  473. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  474. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
  475. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  476. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
  477. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  478. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
  479. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  480. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  481. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +233 -233
  482. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
  483. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  484. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
  485. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  486. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
  487. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  488. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
  489. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  490. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
  491. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  492. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
  493. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  494. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
  495. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  496. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
  497. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  498. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
  499. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  500. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
  501. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  502. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
  503. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
  504. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
  505. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  506. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
  507. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
  508. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
  509. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
  510. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
  511. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  512. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
  513. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  514. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
  515. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +31 -31
  516. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
  517. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  518. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  519. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
  520. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  521. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +61 -61
  522. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  523. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  524. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
  525. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  526. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  527. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  528. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  529. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  530. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
  531. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  532. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
  533. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +20 -20
  534. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
  535. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  536. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
  537. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  538. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
  539. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  540. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  541. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +62 -62
  542. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  543. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
  544. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  545. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
  546. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
  547. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  548. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
  549. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  550. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  551. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +214 -214
  552. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
  553. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  554. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
  555. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  556. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  557. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +71 -71
  558. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
  559. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  560. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  561. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  562. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
  563. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +50 -50
  564. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
  565. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
  566. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
  567. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  568. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
  569. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +54 -54
  570. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
  571. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
  572. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
  573. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  574. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  575. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  576. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +23 -23
  577. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  578. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +32 -32
  579. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  580. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
  581. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
  582. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +7 -7
  583. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  584. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
  585. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
  586. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
  587. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +71 -71
  588. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
  589. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +77 -77
  590. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  591. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +55 -55
  592. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
  593. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
  594. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
  595. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -114
  596. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
  597. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
  598. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
  599. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
  600. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
  601. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  602. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  603. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  604. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
  605. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
  606. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  607. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +36 -36
  608. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  609. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
  610. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
  611. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  612. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  613. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  614. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
  615. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +56 -56
  616. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
  617. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  618. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  619. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  620. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
  621. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  622. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  623. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  624. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
  625. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
  626. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  627. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  628. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  629. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  630. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  631. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +14 -14
  632. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  633. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  634. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  635. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +39 -39
  636. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  637. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  638. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  639. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  640. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  641. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  642. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  643. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +69 -69
  644. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  645. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  646. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  647. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +20 -20
  648. package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
  649. package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
  650. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  651. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  652. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  653. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  654. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  655. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
  656. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +92 -92
  657. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  658. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
  659. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
  660. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
  661. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  662. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  663. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  664. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  665. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +126 -126
  666. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  667. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  668. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  669. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  670. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +62 -62
  671. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  672. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
  673. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
  674. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  675. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  676. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  677. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  678. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  679. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  680. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +37 -37
  681. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  682. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  683. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  684. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  685. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  686. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  687. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  688. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  689. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  690. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  691. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +28 -28
  692. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
  693. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
  694. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
  695. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  696. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +37 -37
  697. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  698. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +79 -79
  699. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
  700. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
  701. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
  702. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  703. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  704. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  705. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +36 -36
  706. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  707. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +37 -37
  708. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  709. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +79 -79
  710. package/ktor-ktor-utils/io/ktor/util/Text.mjs +8 -8
  711. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  712. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
  713. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
  714. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  715. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  716. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  717. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  718. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  719. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
  720. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  721. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  722. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  723. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  724. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  725. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +52 -52
  726. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
  727. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  728. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  729. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +16 -16
  730. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  731. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  732. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  733. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  734. package/package.json +1 -1
  735. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
  736. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
  737. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
  738. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
  739. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
  740. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
  741. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
  742. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
  743. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
  744. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
  745. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
  746. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
  747. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
  748. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
  749. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
  750. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +0 -26
  751. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +0 -440
  752. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +0 -1
  753. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +0 -8
  754. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +0 -4
  755. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs +0 -17
  756. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +0 -1
  757. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
  758. /package/{commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map} +0 -0
  759. /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
  760. /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
  761. /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  762. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
  763. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
  764. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  765. /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
  766. /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
  767. /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
@@ -6,11 +6,11 @@ import {
6
6
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
7
7
  } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
8
8
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
9
- import { awaitrwsd6pshr0xn as await_0 } from '../../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
9
+ import { awaitopqeg9l1dqx0 as await_0 } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs';
10
10
  import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
11
11
  import { AttoAccountEntryMonitor17iw6vrz7qxk6 as AttoAccountEntryMonitor } from './AttoAccountEntryMonitor.mjs';
12
12
  import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
13
- import { AttoAccountEntryMonitorAsync30nd92b8em404 as AttoAccountEntryMonitorAsync } from './AttoAccountEntryMonitorAsync.mjs';
13
+ import { AttoAccountEntryMonitorAsync30nd92b8em404 as AttoAccountEntryMonitorAsync } from './AttoAccountEntryMonitorAsync.web.mjs';
14
14
  //region block: imports
15
15
  //endregion
16
16
  //region block: pre-declaration
@@ -19,11 +19,11 @@ var AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambdaClass;
19
19
  function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda() {
20
20
  if (AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambdaClass === VOID) {
21
21
  class $ {
22
- z3j(it, $completion) {
23
- return Companion_getInstance().MIN;
22
+ y3h(it, $completion) {
23
+ return Companion_getInstance().n2y_1;
24
24
  }
25
25
  sd(p1, $completion) {
26
- return this.z3j(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
26
+ return this.y3h(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
27
27
  }
28
28
  }
29
29
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -33,7 +33,7 @@ function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda() {
33
33
  }
34
34
  function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_0() {
35
35
  var i = new (AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda())();
36
- var l = (it, $completion) => i.z3j(it, $completion);
36
+ var l = (it, $completion) => i.y3h(it, $completion);
37
37
  l.$arity = 1;
38
38
  return l;
39
39
  }
@@ -42,13 +42,13 @@ function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_1() {
42
42
  if (AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambdaClass_0 === VOID) {
43
43
  class $ {
44
44
  constructor($value) {
45
- this.w3m_1 = $value;
45
+ this.t3j_1 = $value;
46
46
  }
47
- z3j(it, $completion) {
48
- return await_0(this.w3m_1(it), $completion);
47
+ y3h(address, $completion) {
48
+ return await_0(this.t3j_1(address), $completion);
49
49
  }
50
50
  sd(p1, $completion) {
51
- return this.z3j(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
51
+ return this.y3h(p1 instanceof AttoAddress() ? p1 : THROW_CCE(), $completion);
52
52
  }
53
53
  }
54
54
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -58,7 +58,7 @@ function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_1() {
58
58
  }
59
59
  function AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_2($value) {
60
60
  var i = new (AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_1())($value);
61
- var l = (it, $completion) => i.z3j(it, $completion);
61
+ var l = (address, $completion) => i.y3h(address, $completion);
62
62
  l.$arity = 1;
63
63
  return l;
64
64
  }
@@ -67,20 +67,20 @@ function AttoAccountEntryMonitorAsyncBuilder() {
67
67
  if (AttoAccountEntryMonitorAsyncBuilderClass === VOID) {
68
68
  class $ {
69
69
  constructor(nodeClient, accountMonitor) {
70
- this.x3m_1 = nodeClient;
71
- this.y3m_1 = accountMonitor;
70
+ this.u3j_1 = nodeClient;
71
+ this.v3j_1 = accountMonitor;
72
72
  var tmp = this;
73
- tmp.z3m_1 = AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_0();
73
+ tmp.w3j_1 = AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_0();
74
74
  }
75
75
  heightProvider(value) {
76
76
  // Inline function 'kotlin.apply' call
77
77
  var tmp = this;
78
- tmp.z3m_1 = AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_2(value);
78
+ tmp.w3j_1 = AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda_2(value);
79
79
  return this;
80
80
  }
81
81
  build() {
82
- var accountEntryMonitor = new (AttoAccountEntryMonitor())(this.x3m_1.client, this.y3m_1.n3l_1, this.z3m_1);
83
- return new (AttoAccountEntryMonitorAsync())(accountEntryMonitor, Dispatchers_getInstance().i15_1);
82
+ var accountEntryMonitor = new (AttoAccountEntryMonitor())(this.u3j_1.client, this.v3j_1.monitor, this.w3j_1);
83
+ return new (AttoAccountEntryMonitorAsync())(accountEntryMonitor, Dispatchers_getInstance().i1v_1);
84
84
  }
85
85
  }
86
86
  initMetadataForClass($, 'AttoAccountEntryMonitorAsyncBuilder');
@@ -94,4 +94,4 @@ export {
94
94
  };
95
95
  //endregion
96
96
 
97
- //# sourceMappingURL=AttoAccountEntryMonitorAsyncBuilder.web.mjs.map
97
+ //# sourceMappingURL=AttoAccountEntryMonitorAsyncBuilder.js.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../commons-node/src/jsMain/kotlin/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/src/kotlin/util/Standard.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AttoAddress\nimport cash.atto.commons.AttoHeight\nimport cash.atto.commons.node.AttoNodeClientAsync\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.await\nimport kotlin.js.Promise\n\n@JsExportForJs\nactual class AttoAccountEntryMonitorAsyncBuilder actual constructor(\n private val nodeClient: AttoNodeClientAsync,\n private val accountMonitor: AttoAccountMonitorAsync,\n) {\n private var heightProvider: suspend (AttoAddress) -> AttoHeight = { AttoHeight.MIN }\n\n fun heightProvider(value: (AttoAddress) -> Promise<AttoHeight>): AttoAccountEntryMonitorAsyncBuilder =\n apply {\n heightProvider = { address -> value.invoke(address).await() }\n }\n\n actual fun build(): AttoAccountEntryMonitorAsync {\n val accountEntryMonitor = AttoAccountEntryMonitor(nodeClient.client, accountMonitor.monitor, heightProvider)\n return AttoAccountEntryMonitorAsync(accountEntryMonitor, Dispatchers.Default)\n }\n}\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda","AttoAccountEntryMonitorAsyncBuilder$heightProvider$slambda$lambda","$value","nodeClient","accountMonitor","heightProvider","value","build","accountEntryMonitor"],"mappings":";;;;;;;;;;;;;;;;;;;;;SAesEA,CAAA,E,EAAAC,WAAAD,EAAE;A,QAAc,+BAAH,K;MAAE,C;SAfrF,E,EAAAC,W;;;;;;;;;qEAesEC,CAAAA,E;;UAAAC,CAAA,E,EAAAF,WAAAE,2B;;;C;;;;;kBCGrEC,M;;;SAM2BJ,CAAE,O,EAAFC,WAAAD,EAAa;A,QAA4B,OAAN,QAAtB,IAAM,CAAN,KAAM,CAAO,OAAP,CAAgB,c;MAAM,C;SAxBrE,E,EAAAC,W;;;;;;;;;qEDmB6BC,CAFNE,MAEMF,E;;UAAAC,CAAE,O,EAAFF,WAAAE,gC;;;C;;;;;kBAPjBE,U,EACAC,c;QADR,uB;QACA,2B;kBAEkE,I;QAAA,0E;;oBAElEC,CAAmBC,KAAnBD,EACI;A;kBAAA,I;QACI,YAAiB,mE;QACpB,OAFD,I;MAEA,C;WAEGE,CAAAA,EAA0C;A,YAC7CC,sDAAkD,IAAlDA,CAAkD,KAAlDA,CAA6D,MAA7DA,EAAqE,IAArEA,CAAqE,KAArEA,CAAoF,OAApFA,EAA6F,IAA7FA,CAA6F,KAA7FA,C;QACA,4CAAoC,mBAApC,4BAAqE,KAArE,C;MACJ,C;;;;;;;;;;;"}
@@ -26,79 +26,79 @@ import { transformLatest23kpraac2xiec as transformLatest } from '../../../../../
26
26
  //endregion
27
27
  function *_generator_isMonitored__98kpqz($this, address, $completion) {
28
28
  // Inline function 'kotlinx.coroutines.sync.withLock' call
29
- var this_0 = $this.v3k_1;
30
- var tmp = this_0.x1i(null, $completion);
29
+ var this_0 = $this.k3i_1;
30
+ var tmp = this_0.x28(null, $completion);
31
31
  if (tmp === get_COROUTINE_SUSPENDED())
32
32
  tmp = yield tmp;
33
33
  var tmp_0;
34
34
  try {
35
- return $this.w3k_1.o3(address);
35
+ return $this.l3i_1.o3(address);
36
36
  }finally {
37
- this_0.i1i(null);
37
+ this_0.i28(null);
38
38
  }
39
39
  }
40
40
  function *_generator_getAddresses__c6jfks($this, $completion) {
41
41
  // Inline function 'kotlinx.coroutines.sync.withLock' call
42
- var this_0 = $this.v3k_1;
43
- var tmp = this_0.x1i(null, $completion);
42
+ var this_0 = $this.k3i_1;
43
+ var tmp = this_0.x28(null, $completion);
44
44
  if (tmp === get_COROUTINE_SUSPENDED())
45
45
  tmp = yield tmp;
46
46
  var tmp_0;
47
47
  try {
48
- tmp_0 = toSet($this.w3k_1);
48
+ tmp_0 = toSet($this.l3i_1);
49
49
  }finally {
50
- this_0.i1i(null);
50
+ this_0.i28(null);
51
51
  }
52
52
  return tmp_0;
53
53
  }
54
54
  function *_generator_add__cbj1ot($this, newAddresses, $completion) {
55
55
  // Inline function 'kotlinx.coroutines.sync.withLock' call
56
- var this_0 = $this.v3k_1;
57
- var tmp = this_0.x1i(null, $completion);
56
+ var this_0 = $this.k3i_1;
57
+ var tmp = this_0.x28(null, $completion);
58
58
  if (tmp === get_COROUTINE_SUSPENDED())
59
59
  tmp = yield tmp;
60
60
  try {
61
61
  // Inline function 'kotlin.collections.plusAssign' call
62
- var this_1 = $this.w3k_1;
62
+ var this_1 = $this.l3i_1;
63
63
  addAll(this_1, newAddresses);
64
- var tmp0 = $this.x3k_1;
64
+ var tmp0 = $this.m3i_1;
65
65
  $l$block: {
66
66
  // Inline function 'kotlinx.coroutines.flow.update' call
67
67
  while (true) {
68
68
  var prevValue = tmp0.g3();
69
- var nextValue = toSet($this.w3k_1);
70
- if (tmp0.o1c(prevValue, nextValue)) {
69
+ var nextValue = toSet($this.l3i_1);
70
+ if (tmp0.o22(prevValue, nextValue)) {
71
71
  break $l$block;
72
72
  }
73
73
  }
74
74
  }
75
75
  }finally {
76
- this_0.i1i(null);
76
+ this_0.i28(null);
77
77
  }
78
78
  return Unit_instance;
79
79
  }
80
80
  function *_generator_remove__l4h01w($this, address, $completion) {
81
81
  // Inline function 'kotlinx.coroutines.sync.withLock' call
82
- var this_0 = $this.v3k_1;
83
- var tmp = this_0.x1i(null, $completion);
82
+ var this_0 = $this.k3i_1;
83
+ var tmp = this_0.x28(null, $completion);
84
84
  if (tmp === get_COROUTINE_SUSPENDED())
85
85
  tmp = yield tmp;
86
86
  try {
87
87
  // Inline function 'kotlin.collections.minusAssign' call
88
- $this.w3k_1.v4(address);
89
- var tmp0 = $this.x3k_1;
88
+ $this.l3i_1.v4(address);
89
+ var tmp0 = $this.m3i_1;
90
90
  $l$block: {
91
91
  // Inline function 'kotlinx.coroutines.flow.update' call
92
92
  while (true) {
93
93
  var prevValue = tmp0.g3();
94
- var nextValue = toSet($this.w3k_1);
95
- if (tmp0.o1c(prevValue, nextValue)) {
94
+ var nextValue = toSet($this.l3i_1);
95
+ if (tmp0.o22(prevValue, nextValue)) {
96
96
  break $l$block;
97
97
  }
98
98
  }
99
99
  }
100
100
  }finally {
101
- this_0.i1i(null);
101
+ this_0.i28(null);
102
102
  }
103
103
  return Unit_instance;
104
104
  }
@@ -109,7 +109,7 @@ function *_generator_invoke__zhh2q8($this, $this$transformLatest, it, $completio
109
109
  tmp$ret$0 = emptyFlow();
110
110
  break $l$block;
111
111
  }
112
- tmp$ret$0 = $this.a3l_1.y3k_1.q3i(it, $this.b3l_1);
112
+ tmp$ret$0 = $this.p3i_1.n3i_1.p3h(it, $this.q3i_1);
113
113
  }
114
114
  var tmp = emitAll($this$transformLatest, tmp$ret$0, $completion);
115
115
  if (tmp === get_COROUTINE_SUSPENDED())
@@ -117,28 +117,28 @@ function *_generator_invoke__zhh2q8($this, $this$transformLatest, it, $completio
117
117
  return Unit_instance;
118
118
  }
119
119
  function *_generator_monitor__im6uca($this, addresses, $completion) {
120
- var tmp = $this.z3k_1.c3l(addresses, $completion);
120
+ var tmp = $this.o3i_1.r3i(addresses, $completion);
121
121
  if (tmp === get_COROUTINE_SUSPENDED())
122
122
  tmp = yield tmp;
123
123
  return Unit_instance;
124
124
  }
125
125
  function *_generator_monitor__im6uca_0($this, address, $completion) {
126
- var tmp = $this.z3k_1.c3l(listOf(address), $completion);
126
+ var tmp = $this.o3i_1.r3i(listOf(address), $completion);
127
127
  if (tmp === get_COROUTINE_SUSPENDED())
128
128
  tmp = yield tmp;
129
129
  return Unit_instance;
130
130
  }
131
131
  function *_generator_stopMonitoring__r2lvdu($this, address, $completion) {
132
- var tmp = $this.z3k_1.d3l(address, $completion);
132
+ var tmp = $this.o3i_1.s3i(address, $completion);
133
133
  if (tmp === get_COROUTINE_SUSPENDED())
134
134
  tmp = yield tmp;
135
135
  return Unit_instance;
136
136
  }
137
137
  function *_generator_getAccounts__z4cluw($this, $completion) {
138
- var tmp = $this.z3k_1.e3l($completion);
138
+ var tmp = $this.o3i_1.t3i($completion);
139
139
  if (tmp === get_COROUTINE_SUSPENDED())
140
140
  tmp = yield tmp;
141
- var tmp_0 = $this.y3k_1.a3g(tmp, $completion);
141
+ var tmp_0 = $this.n3i_1.l3h(tmp, $completion);
142
142
  if (tmp_0 === get_COROUTINE_SUSPENDED())
143
143
  tmp_0 = yield tmp_0;
144
144
  return tmp_0;
@@ -148,26 +148,26 @@ function State() {
148
148
  if (StateClass === VOID) {
149
149
  class $ {
150
150
  constructor() {
151
- this.v3k_1 = Mutex();
151
+ this.k3i_1 = Mutex();
152
152
  var tmp = this;
153
153
  // Inline function 'kotlin.collections.mutableSetOf' call
154
- tmp.w3k_1 = LinkedHashSet().w2();
155
- this.x3k_1 = MutableStateFlow(emptySet());
154
+ tmp.l3i_1 = LinkedHashSet().w2();
155
+ this.m3i_1 = MutableStateFlow(emptySet());
156
156
  }
157
- f3l(address, $completion) {
157
+ u3i(address, $completion) {
158
158
  return suspendOrReturn(/*#__NOINLINE__*/_generator_isMonitored__98kpqz.bind(VOID, this, address), $completion);
159
159
  }
160
- e3l($completion) {
160
+ t3i($completion) {
161
161
  return suspendOrReturn(/*#__NOINLINE__*/_generator_getAddresses__c6jfks.bind(VOID, this), $completion);
162
162
  }
163
- c3l(newAddresses, $completion) {
163
+ r3i(newAddresses, $completion) {
164
164
  return suspendOrReturn(/*#__NOINLINE__*/_generator_add__cbj1ot.bind(VOID, this, newAddresses), $completion);
165
165
  }
166
- d3l(address, $completion) {
166
+ s3i(address, $completion) {
167
167
  return suspendOrReturn(/*#__NOINLINE__*/_generator_remove__l4h01w.bind(VOID, this, address), $completion);
168
168
  }
169
- g3l() {
170
- return asStateFlow(this.x3k_1);
169
+ v3i() {
170
+ return asStateFlow(this.m3i_1);
171
171
  }
172
172
  }
173
173
  initMetadataForClass($, 'State', State, VOID, VOID, [1, 0]);
@@ -180,15 +180,15 @@ function AttoAccountMonitor$receivableStream$slambda() {
180
180
  if (AttoAccountMonitor$receivableStream$slambdaClass === VOID) {
181
181
  class $ {
182
182
  constructor(this$0, $minAmount) {
183
- this.a3l_1 = this$0;
184
- this.b3l_1 = $minAmount;
183
+ this.p3i_1 = this$0;
184
+ this.q3i_1 = $minAmount;
185
185
  }
186
- h3l($this$transformLatest, it, $completion) {
186
+ w3i($this$transformLatest, it, $completion) {
187
187
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$transformLatest, it), $completion);
188
188
  }
189
189
  td(p1, p2, $completion) {
190
190
  var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector()) : false) ? p1 : THROW_CCE();
191
- return this.h3l(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
191
+ return this.w3i(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
192
192
  }
193
193
  }
194
194
  initMetadataForLambda($, VOID, VOID, [2]);
@@ -198,7 +198,7 @@ function AttoAccountMonitor$receivableStream$slambda() {
198
198
  }
199
199
  function AttoAccountMonitor$receivableStream$slambda_0(this$0, $minAmount) {
200
200
  var i = new (AttoAccountMonitor$receivableStream$slambda())(this$0, $minAmount);
201
- var l = ($this$transformLatest, it, $completion) => i.h3l($this$transformLatest, it, $completion);
201
+ var l = ($this$transformLatest, it, $completion) => i.w3i($this$transformLatest, it, $completion);
202
202
  l.$arity = 2;
203
203
  return l;
204
204
  }
@@ -207,30 +207,30 @@ function AttoAccountMonitor() {
207
207
  if (AttoAccountMonitorClass === VOID) {
208
208
  class $ {
209
209
  constructor(client) {
210
- this.y3k_1 = client;
211
- this.z3k_1 = new (State())();
210
+ this.n3i_1 = client;
211
+ this.o3i_1 = new (State())();
212
212
  }
213
- i3l(addresses, $completion) {
213
+ x3i(addresses, $completion) {
214
214
  return suspendOrReturn(/*#__NOINLINE__*/_generator_monitor__im6uca.bind(VOID, this, addresses), $completion);
215
215
  }
216
- j3l(address, $completion) {
216
+ y3i(address, $completion) {
217
217
  return suspendOrReturn(/*#__NOINLINE__*/_generator_monitor__im6uca_0.bind(VOID, this, address), $completion);
218
218
  }
219
- f3l(address, $completion) {
220
- return this.z3k_1.f3l(address, $completion);
219
+ u3i(address, $completion) {
220
+ return this.o3i_1.u3i(address, $completion);
221
221
  }
222
- k3l(address, $completion) {
222
+ z3i(address, $completion) {
223
223
  return suspendOrReturn(/*#__NOINLINE__*/_generator_stopMonitoring__r2lvdu.bind(VOID, this, address), $completion);
224
224
  }
225
- l3l($completion) {
225
+ a3j($completion) {
226
226
  return suspendOrReturn(/*#__NOINLINE__*/_generator_getAccounts__z4cluw.bind(VOID, this), $completion);
227
227
  }
228
- g3l() {
229
- return this.z3k_1.g3l();
228
+ v3i() {
229
+ return this.o3i_1.v3i();
230
230
  }
231
- m3l(minAmount) {
231
+ b3j(minAmount) {
232
232
  // Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
233
- var this_0 = this.g3l();
233
+ var this_0 = this.v3i();
234
234
  return transformLatest(this_0, AttoAccountMonitor$receivableStream$slambda_0(this, minAmount));
235
235
  }
236
236
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoAccountMonitor.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/src/kotlin/collections/MutableCollections.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/StateFlow.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/src/kotlin/collections/Sets.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Merge.kt"],"sourcesContent":[null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-isMonitored>","address","$completion","<generator-getAddresses>","<generator-add>","newAddresses","prevValue","nextValue","<generator-remove>","<generator-invoke>","<generator-monitor>","addresses","<generator-stopMonitoring>","<generator-getAccounts>","isMonitored","getAddresses","add","remove","membershipFlow","$minAmount","invoke","AttoAccountMonitor$receivableStream$slambda","AttoAccountMonitor$receivableStream$slambda$lambda","client","monitor","stopMonitoring","getAccounts","receivableStream","minAmount","createAccountMonitor","<this>"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../../../commons-node/src/commonMain/kotlin/cash/atto/commons/node/monitor/AttoAccountMonitor.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/src/kotlin/collections/MutableCollections.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/StateFlow.kt","../../../../../commons-js/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-node/cash/atto/commons/node/monitor/src/kotlin/collections/Sets.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/operators/Merge.kt"],"sourcesContent":["package cash.atto.commons.node.monitor\n\nimport cash.atto.commons.AttoAccount\nimport cash.atto.commons.AttoAddress\nimport cash.atto.commons.AttoAmount\nimport cash.atto.commons.AttoReceivable\nimport cash.atto.commons.node.AttoNodeClient\nimport kotlinx.coroutines.ExperimentalCoroutinesApi\nimport kotlinx.coroutines.flow.Flow\nimport kotlinx.coroutines.flow.MutableStateFlow\nimport kotlinx.coroutines.flow.asStateFlow\nimport kotlinx.coroutines.flow.emptyFlow\nimport kotlinx.coroutines.flow.flatMapLatest\nimport kotlinx.coroutines.flow.update\nimport kotlinx.coroutines.sync.Mutex\nimport kotlinx.coroutines.sync.withLock\n\nclass AttoAccountMonitor internal constructor(\n internal val client: AttoNodeClient,\n) {\n private val state = State()\n\n suspend fun monitor(addresses: Collection<AttoAddress>) {\n state.add(addresses)\n }\n\n suspend fun monitor(address: AttoAddress) {\n state.add(listOf(address))\n }\n\n suspend fun isMonitored(address: AttoAddress): Boolean = state.isMonitored(address)\n\n suspend fun stopMonitoring(address: AttoAddress) {\n state.remove(address)\n }\n\n suspend fun getAccounts(): Collection<AttoAccount> = client.account(state.getAddresses())\n\n suspend fun getAccount(address: AttoAddress): AttoAccount? {\n require(state.getAddresses().contains(address)) { \"Address $address not found in the monitor\" }\n return client.account(address.publicKey)\n }\n\n fun membershipFlow(): Flow<Set<AttoAddress>> = state.membershipFlow()\n\n @OptIn(ExperimentalCoroutinesApi::class)\n fun receivableStream(minAmount: AttoAmount = AttoAmount.MIN): Flow<AttoReceivable> {\n return membershipFlow()\n .flatMapLatest { addresses ->\n if (addresses.isEmpty()) {\n return@flatMapLatest emptyFlow()\n }\n return@flatMapLatest client.receivableStream(addresses, minAmount)\n }\n }\n\n private class State {\n private val mutex = Mutex()\n private val addresses = mutableSetOf<AttoAddress>()\n private val addressesFlow = MutableStateFlow<Set<AttoAddress>>(emptySet())\n\n suspend fun isMonitored(address: AttoAddress): Boolean {\n mutex.withLock {\n return addresses.contains(address)\n }\n }\n\n suspend fun getAddresses(): Set<AttoAddress> =\n mutex.withLock {\n addresses.toSet()\n }\n\n suspend fun add(newAddresses: Collection<AttoAddress>) {\n mutex.withLock {\n addresses += newAddresses\n addressesFlow.update { _ -> addresses.toSet() }\n }\n }\n\n suspend fun remove(address: AttoAddress) {\n mutex.withLock {\n addresses -= address\n addressesFlow.update { _ -> addresses.toSet() }\n }\n }\n\n fun membershipFlow(): Flow<Set<AttoAddress>> = addressesFlow.asStateFlow()\n }\n}\n\nfun AttoNodeClient.createAccountMonitor(): AttoAccountMonitor = AttoAccountMonitor(this)\n",null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-isMonitored>","address","$completion","<generator-getAddresses>","<generator-add>","newAddresses","prevValue","nextValue","<generator-remove>","<generator-invoke>","<generator-monitor>","addresses","<generator-stopMonitoring>","<generator-getAccounts>","isMonitored","getAddresses","add","remove","membershipFlow","$minAmount","invoke","AttoAccountMonitor$receivableStream$slambda","AttoAccountMonitor$receivableStream$slambda$lambda","client","monitor","stopMonitoring","getAccounts","receivableStream","minAmount","createAccountMonitor","<this>"],"mappings":"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"}
@@ -2,10 +2,11 @@ type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoAccountMonitorAsync /* implements AutoCloseable */ {
4
4
  private constructor();
5
- monitorMap(addresses: any/* Collection<AttoAddress> */): AttoFuture<void>;
6
- monitor(address: AttoAddress): AttoFuture<void>;
7
- getAccounts(): AttoFuture<any/* Collection<AttoAccount> */>;
8
- onReceivable(minAmount: AttoAmount | undefined, onReceivable: any/* AttoConsumer<AttoReceivable> */, onCancel: any/* AttoConsumer<Nullable<Exception>> */): any/* AttoJob */;
5
+ get monitor(): any/* AttoAccountMonitor */;
6
+ monitorCollection(addresses: any/* Collection<AttoAddress> */): Promise<void>;
7
+ monitor(address: AttoAddress): Promise<void>;
8
+ getAccounts(): Promise<any/* Collection<AttoAccount> */>;
9
+ onReceivable(minAmount: AttoAmount | undefined, onReceivable: (p0: AttoReceivable) => any, onCancel: (p0: Nullable<Error>/* Nullable<Exception> */) => any): any/* AttoJob */;
9
10
  }
10
11
  export declare namespace AttoAccountMonitorAsync {
11
12
  /** @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 { AttoAccountMonitorAsynck80bazajgklw as AttoAccountMonitorAsync } from './AttoAccountMonitorAsync.mjs';
1
+ import { AttoAccountMonitorAsynck80bazajgklw as AttoAccountMonitorAsync } from './AttoAccountMonitorAsync.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=AttoAccountMonitorAsync.export.mjs.map
13
+ //# sourceMappingURL=AttoAccountMonitorAsync.web.export.mjs.map