@attocash/commons-test 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 (638) 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 +20 -20
  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 +24 -24
  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 +28 -28
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
  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/LocalDateSerializers.mjs +9 -9
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
  40. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
  41. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
  42. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
  43. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
  44. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
  45. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
  46. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
  47. package/commons-commons-core/cash/atto/commons/AttoAddress.export.d.mts +1 -1
  48. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +2 -0
  49. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
  50. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +38 -34
  51. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
  52. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +13 -13
  53. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
  54. package/commons-commons-core/cash/atto/commons/AttoAmount.export.d.mts +3 -4
  55. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +4 -0
  56. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
  57. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +62 -54
  58. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
  59. package/commons-commons-core/cash/atto/commons/AttoBlock.export.d.mts +11 -11
  60. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +868 -860
  61. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
  62. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +11 -11
  63. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
  64. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
  65. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
  66. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
  67. package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
  68. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  69. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
  70. package/commons-commons-core/cash/atto/commons/AttoHeight.export.d.mts +4 -4
  71. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -1
  72. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
  73. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +37 -30
  74. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
  75. package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +1 -1
  76. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
  77. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
  78. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
  79. package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -1
  80. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +1 -1
  81. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
  82. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -1
  83. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
  84. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +26 -26
  85. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
  86. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +6 -6
  87. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
  88. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
  89. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +18 -18
  90. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
  91. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  92. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
  93. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
  94. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
  95. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
  96. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
  97. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
  98. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
  99. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
  100. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +6 -6
  101. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
  102. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
  103. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
  104. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
  105. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
  106. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map +1 -0
  107. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
  108. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
  109. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
  110. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
  111. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
  112. package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
  113. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
  114. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
  115. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +74 -11
  116. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
  117. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +76 -0
  118. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
  119. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
  120. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
  121. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
  122. package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
  123. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
  124. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
  125. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
  126. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
  127. package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
  128. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  129. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
  130. package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
  131. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
  132. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
  133. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
  134. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
  135. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  136. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
  137. package/commons-commons-core/cash/atto/commons/Extensions.mjs +4 -4
  138. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
  139. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  140. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
  141. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  142. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
  143. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
  144. package/commons-commons-core.mjs +1 -2
  145. package/commons-commons-core.mjs.map +1 -1
  146. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
  147. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
  148. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +375 -419
  149. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
  150. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
  151. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
  152. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  153. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
  154. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
  155. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
  156. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
  157. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
  158. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
  159. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
  160. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
  161. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
  162. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +70 -41
  163. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
  164. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
  165. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
  166. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +18 -18
  167. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
  168. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +37 -37
  169. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
  170. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
  171. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
  172. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +134 -129
  173. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
  174. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
  175. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
  176. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +57 -57
  177. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
  178. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
  179. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
  180. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
  181. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
  182. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +70 -41
  183. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
  184. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
  185. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
  186. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +18 -18
  187. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
  188. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +8 -8
  189. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
  190. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +320 -320
  191. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
  192. package/commons-commons-node.mjs +6 -6
  193. package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
  194. package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs.map +1 -1
  195. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +31 -31
  196. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs.map +1 -1
  197. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
  198. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
  199. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.d.mts +1 -1
  200. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +36 -48
  201. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs.map +1 -1
  202. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
  203. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs.map +1 -1
  204. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts +1 -1
  205. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +55 -59
  206. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs.map +1 -1
  207. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +14 -14
  208. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs.map +1 -1
  209. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.d.mts +1 -1
  210. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +33 -45
  211. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs.map +1 -1
  212. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
  213. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs.map +1 -1
  214. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts +1 -1
  215. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +40 -40
  216. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs.map +1 -1
  217. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  218. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
  219. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
  220. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
  221. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
  222. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
  223. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
  224. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
  225. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +73 -73
  226. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
  227. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs.map +1 -1
  228. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +36 -36
  229. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
  230. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  231. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
  232. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +14 -14
  233. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
  234. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +27 -27
  235. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
  236. package/commons-commons-worker.mjs +1 -1
  237. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +19 -19
  238. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  239. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +10 -5
  240. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
  241. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
  242. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  243. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +25 -25
  244. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  245. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +25 -25
  246. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  247. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +25 -25
  248. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  249. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +25 -25
  250. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +31 -31
  251. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +19 -19
  252. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +2 -2
  253. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +1 -1
  254. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +5 -5
  255. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
  256. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +191 -191
  257. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +1 -1
  258. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +9 -9
  259. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +33 -33
  260. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  261. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +8 -8
  262. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +4 -4
  263. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +2 -2
  264. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +4 -4
  265. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  266. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +5 -5
  267. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
  268. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  269. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +1 -1
  270. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +14 -14
  271. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +3 -3
  272. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
  273. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  274. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +5 -5
  275. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +1 -1
  276. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +9 -0
  277. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
  278. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  279. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +3 -3
  280. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +33 -33
  281. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +91 -0
  282. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  283. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -10
  284. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +43 -43
  285. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  286. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  287. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  288. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  289. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  290. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +24 -24
  291. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  292. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  293. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +22 -22
  294. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  295. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  296. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  297. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +29 -29
  298. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +26 -26
  299. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  300. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  301. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  302. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +14 -14
  303. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  304. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +62 -62
  305. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  306. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +16 -16
  307. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  308. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  309. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  310. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  311. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  312. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +76 -76
  313. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  314. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
  315. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  316. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  317. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  318. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  319. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  320. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  321. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
  322. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  323. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
  324. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +167 -167
  325. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  326. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  327. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  328. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  329. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +3 -3
  330. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  331. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +6 -6
  332. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  333. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
  334. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +43 -43
  335. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  336. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
  337. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
  338. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  339. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  340. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +85 -85
  341. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
  342. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +318 -318
  343. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
  344. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
  345. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  346. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  347. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
  348. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +438 -438
  349. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  350. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
  351. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  352. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  353. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  354. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
  355. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  356. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
  357. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
  358. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
  359. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +9 -9
  360. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  361. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +48 -48
  362. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +23 -23
  363. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +56 -56
  364. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  365. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  366. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +33 -33
  367. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  368. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
  369. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  370. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  371. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  372. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +46 -46
  373. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  374. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  375. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
  376. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
  377. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  378. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +75 -75
  379. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
  380. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  381. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  382. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  383. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  384. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
  385. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
  386. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
  387. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +52 -52
  388. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
  389. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +35 -35
  390. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  391. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  392. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  393. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  394. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  395. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  396. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  397. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +53 -53
  398. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +150 -150
  399. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  400. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  401. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  402. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  403. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  404. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  405. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  406. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  407. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +41 -41
  408. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  409. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  410. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  411. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  412. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  413. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  414. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  415. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +65 -65
  416. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +45 -45
  417. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +53 -53
  418. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  419. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  420. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  421. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  422. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  423. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  424. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +232 -232
  425. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  426. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  427. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  428. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +17 -17
  429. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  430. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  431. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  432. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  433. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  434. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  435. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +71 -71
  436. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  437. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
  438. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +97 -97
  439. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  440. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  441. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +31 -31
  442. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  443. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  444. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  445. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +61 -61
  446. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  447. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  448. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  449. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  450. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +70 -70
  451. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  452. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  453. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +21 -21
  454. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  455. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  456. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  457. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  458. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +64 -64
  459. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  460. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +10 -10
  461. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +177 -177
  462. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  463. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  464. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  465. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +214 -214
  466. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  467. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  468. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  469. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +71 -71
  470. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
  471. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  472. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  473. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +50 -50
  474. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +46 -46
  475. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  476. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
  477. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +54 -54
  478. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
  479. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  480. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  481. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  482. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +23 -23
  483. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  484. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +32 -32
  485. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
  486. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
  487. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +7 -7
  488. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
  489. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
  490. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +71 -71
  491. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +77 -77
  492. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  493. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +55 -55
  494. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
  495. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
  496. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -114
  497. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
  498. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
  499. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
  500. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  501. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  502. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  503. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
  504. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  505. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +36 -36
  506. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  507. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
  508. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  509. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  510. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +57 -57
  511. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  512. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  513. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +22 -22
  514. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  515. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  516. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  517. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
  518. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  519. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  520. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  521. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  522. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  523. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +14 -14
  524. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  525. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  526. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  527. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +39 -39
  528. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  529. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  530. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  531. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  532. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +67 -67
  533. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  534. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  535. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +59 -59
  536. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  537. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  538. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +21 -21
  539. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +16 -16
  540. package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
  541. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
  542. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  543. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  544. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  545. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  546. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +89 -89
  547. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  548. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
  549. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +11 -11
  550. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +73 -73
  551. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  552. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  553. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  554. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  555. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +125 -125
  556. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  557. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  558. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  559. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
  560. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  561. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
  562. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  563. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  564. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  565. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  566. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  567. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  568. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  569. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  570. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  571. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  572. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  573. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  574. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  575. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  576. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  577. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  578. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  579. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +28 -28
  580. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
  581. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  582. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +37 -37
  583. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  584. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +79 -79
  585. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
  586. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  587. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  588. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  589. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +40 -40
  590. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  591. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +36 -36
  592. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  593. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +82 -82
  594. package/ktor-ktor-utils/io/ktor/util/Text.mjs +8 -8
  595. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  596. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +100 -100
  597. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  598. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  599. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  600. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  601. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  602. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  603. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  604. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  605. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  606. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  607. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +52 -52
  608. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  609. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  610. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +17 -17
  611. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  612. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  613. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  614. package/package.json +1 -1
  615. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
  616. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
  617. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
  618. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
  619. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
  620. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
  621. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
  622. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
  623. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
  624. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
  625. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
  626. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
  627. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
  628. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
  629. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +0 -1
  630. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
  631. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
  632. /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
  633. /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
  634. /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  635. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
  636. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
  637. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  638. /package/{commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map → commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.export.mjs.map} +0 -0
@@ -9,7 +9,7 @@ export declare class AttoNodeMockAsyncBuilder {
9
9
  dbUser(value: string): AttoNodeMockAsyncBuilder;
10
10
  dbPassword(value: string): AttoNodeMockAsyncBuilder;
11
11
  genesis(value: Nullable<AttoTransaction>): AttoNodeMockAsyncBuilder;
12
- build(): AttoFuture<AttoNodeMockAsync>;
12
+ build(): Promise<AttoNodeMockAsync>;
13
13
  }
14
14
  export declare namespace AttoNodeMockAsyncBuilder {
15
15
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -1,130 +1,126 @@
1
+ import {
2
+ await1tchdi81j7msa as await_0,
3
+ promisify1z0ncraq1ipzh as promisify,
4
+ suspendOrReturn49pspzlx5djv as suspendOrReturn,
5
+ } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
6
+ import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
7
+ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
1
8
  import { Companion_getInstancef6896s8vhlrp as Companion_getInstance } from '../../../../../commons-commons-core/cash/atto/commons/AttoTransaction.mjs';
2
9
  import {
3
10
  createGenesis26hyc24w8ayfa as createGenesis,
4
11
  AttoNodeMockConfiguration16bin8bla28y4 as AttoNodeMockConfiguration,
5
12
  } from './AttoNodeMock.mjs';
6
- import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
7
13
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
8
14
  import { AttoNodeMock155dfssq5kot3 as AttoNodeMock } from './AttoNodeMock.js.mjs';
9
15
  import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
10
16
  import { toAsync1ug6h9k7qu5il as toAsync } from './AttoNodeMockAsync.mjs';
11
- import { suspendOrReturn49pspzlx5djv as suspendOrReturn } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
12
- import {
13
- initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
14
- initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
15
- } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
16
17
  import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
17
- import { GlobalScope_instance1goye8260az8c as GlobalScope_instance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
18
- import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
18
+ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
19
19
  //region block: imports
20
20
  //endregion
21
21
  //region block: pre-declaration
22
22
  //endregion
23
- function *_generator_invoke__zhh2q8($this, $completion) {
24
- var tmp0_elvis_lhs = $this.n56_1.m56_1;
23
+ function *_generator_build$suspendBridge__cfhiw5($this, $completion) {
24
+ var tmp;
25
+ if ($this.build === protoOf(AttoNodeMockAsyncBuilder()).build) {
26
+ var tmp_0 = $this.i56($completion);
27
+ if (tmp_0 === get_COROUTINE_SUSPENDED())
28
+ tmp_0 = yield tmp_0;
29
+ tmp = tmp_0;
30
+ } else {
31
+ var tmp_1 = await_0($this.build(), $completion);
32
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
33
+ tmp_1 = yield tmp_1;
34
+ tmp = tmp_1;
35
+ }
36
+ return tmp;
37
+ }
38
+ function *_generator_build__n4veo6($this, $completion) {
39
+ var tmp0_elvis_lhs = $this.h56_1;
25
40
  var tmp;
26
41
  if (tmp0_elvis_lhs == null) {
27
- // Inline function 'kotlin.run' call
28
- var $this$run = $this.n56_1;
29
- var tmp_0 = createGenesis(Companion_getInstance(), $this$run.f56_1, $completion);
42
+ var tmp_0 = createGenesis(Companion_getInstance(), $this.a56_1, $completion);
30
43
  if (tmp_0 === get_COROUTINE_SUSPENDED())
31
44
  tmp_0 = yield tmp_0;
32
45
  tmp = tmp_0;
33
46
  } else {
34
47
  tmp = tmp0_elvis_lhs;
35
48
  }
36
- var defaultConfiguration = new (AttoNodeMockConfiguration())(tmp, $this.n56_1.f56_1);
37
- var tmp1_elvis_lhs = $this.n56_1.g56_1;
49
+ var defaultConfiguration = new (AttoNodeMockConfiguration())(tmp, $this.a56_1);
50
+ var tmp1_elvis_lhs = $this.b56_1;
38
51
  var tmp_1 = tmp1_elvis_lhs == null ? defaultConfiguration.name : tmp1_elvis_lhs;
39
- var tmp2_elvis_lhs = $this.n56_1.h56_1;
52
+ var tmp2_elvis_lhs = $this.c56_1;
40
53
  var tmp_2 = tmp2_elvis_lhs == null ? defaultConfiguration.image : tmp2_elvis_lhs;
41
- var tmp3_elvis_lhs = $this.n56_1.i56_1;
54
+ var tmp3_elvis_lhs = $this.d56_1;
42
55
  var tmp_3 = tmp3_elvis_lhs == null ? defaultConfiguration.mysqlImage : tmp3_elvis_lhs;
43
- var tmp4_elvis_lhs = $this.n56_1.j56_1;
56
+ var tmp4_elvis_lhs = $this.e56_1;
44
57
  var tmp_4 = tmp4_elvis_lhs == null ? defaultConfiguration.dbName : tmp4_elvis_lhs;
45
- var tmp5_elvis_lhs = $this.n56_1.k56_1;
58
+ var tmp5_elvis_lhs = $this.f56_1;
46
59
  var tmp_5 = tmp5_elvis_lhs == null ? defaultConfiguration.dbUser : tmp5_elvis_lhs;
47
- var tmp6_elvis_lhs = $this.n56_1.l56_1;
60
+ var tmp6_elvis_lhs = $this.g56_1;
48
61
  var configuration = defaultConfiguration.copy(VOID, VOID, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp6_elvis_lhs == null ? defaultConfiguration.dbPassword : tmp6_elvis_lhs);
49
- return toAsync(new (AttoNodeMock())(configuration), Dispatchers_getInstance().o20_1);
50
- }
51
- var AttoNodeMockAsyncBuilder$build$slambdaClass;
52
- function AttoNodeMockAsyncBuilder$build$slambda() {
53
- if (AttoNodeMockAsyncBuilder$build$slambdaClass === VOID) {
54
- class $ {
55
- constructor(this$0) {
56
- this.n56_1 = this$0;
57
- }
58
- od($completion) {
59
- return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
60
- }
61
- }
62
- initMetadataForLambda($, VOID, VOID, [0]);
63
- AttoNodeMockAsyncBuilder$build$slambdaClass = $;
64
- }
65
- return AttoNodeMockAsyncBuilder$build$slambdaClass;
66
- }
67
- function AttoNodeMockAsyncBuilder$build$slambda_0(this$0) {
68
- var i = new (AttoNodeMockAsyncBuilder$build$slambda())(this$0);
69
- var l = ($completion) => i.od($completion);
70
- l.$arity = 0;
71
- return l;
62
+ return toAsync(new (AttoNodeMock())(configuration), Dispatchers_getInstance().r20_1);
72
63
  }
73
64
  var AttoNodeMockAsyncBuilderClass;
74
65
  function AttoNodeMockAsyncBuilder() {
75
66
  if (AttoNodeMockAsyncBuilderClass === VOID) {
76
67
  class $ {
77
68
  constructor(privateKey) {
78
- this.f56_1 = privateKey;
69
+ this.a56_1 = privateKey;
70
+ this.b56_1 = null;
71
+ this.c56_1 = null;
72
+ this.d56_1 = null;
73
+ this.e56_1 = null;
74
+ this.f56_1 = null;
79
75
  this.g56_1 = null;
80
76
  this.h56_1 = null;
81
- this.i56_1 = null;
82
- this.j56_1 = null;
83
- this.k56_1 = null;
84
- this.l56_1 = null;
85
- this.m56_1 = null;
86
77
  }
87
78
  name(value) {
88
79
  // Inline function 'kotlin.apply' call
89
- this.g56_1 = value;
80
+ this.b56_1 = value;
90
81
  return this;
91
82
  }
92
83
  image(value) {
93
84
  // Inline function 'kotlin.apply' call
94
- this.h56_1 = value;
85
+ this.c56_1 = value;
95
86
  return this;
96
87
  }
97
88
  mysqlImage(value) {
98
89
  // Inline function 'kotlin.apply' call
99
- this.i56_1 = value;
90
+ this.d56_1 = value;
100
91
  return this;
101
92
  }
102
93
  dbName(value) {
103
94
  // Inline function 'kotlin.apply' call
104
- this.j56_1 = value;
95
+ this.e56_1 = value;
105
96
  return this;
106
97
  }
107
98
  dbUser(value) {
108
99
  // Inline function 'kotlin.apply' call
109
- this.k56_1 = value;
100
+ this.f56_1 = value;
110
101
  return this;
111
102
  }
112
103
  dbPassword(value) {
113
104
  // Inline function 'kotlin.apply' call
114
- this.l56_1 = value;
105
+ this.g56_1 = value;
115
106
  return this;
116
107
  }
117
108
  genesis(value) {
118
109
  // Inline function 'kotlin.apply' call
119
- this.m56_1 = value;
110
+ this.h56_1 = value;
120
111
  return this;
121
112
  }
122
113
  build() {
123
- var tmp = GlobalScope_instance;
124
- return submit(tmp, AttoNodeMockAsyncBuilder$build$slambda_0(this));
114
+ return promisify(($completion) => this.j56($completion));
115
+ }
116
+ j56($completion) {
117
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_build$suspendBridge__cfhiw5.bind(VOID, this), $completion);
118
+ }
119
+ i56($completion) {
120
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_build__n4veo6.bind(VOID, this), $completion);
125
121
  }
126
122
  }
127
- initMetadataForClass($, 'AttoNodeMockAsyncBuilder');
123
+ initMetadataForClass($, 'AttoNodeMockAsyncBuilder', VOID, VOID, VOID, [0]);
128
124
  AttoNodeMockAsyncBuilderClass = $;
129
125
  }
130
126
  return AttoNodeMockAsyncBuilderClass;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-invoke>","$completion","defaultConfiguration","configuration","invoke","AttoNodeMockAsyncBuilder$build$slambda","AttoNodeMockAsyncBuilder$build$slambda$lambda","privateKey","name","value","image","mysqlImage","dbName","dbUser","dbPassword","genesis","build"],"mappings":";;;;;;;;;;;;;;;;;;;;;;mCAwC2BA,CAAA,K,EAAAC,WAAAD,EACf;A,MAGY,kC;;EAAA,2B;;oBAAW,K,CAAA,K;QACS,+CAAc,SAAd,CAAc,KAAd,c;;;UAAA,K;;UADpB,c;;MAHZE,8DAMqB,KANrBA,CAMqB,KANrBA,CAMqB,KANrBA,C;MAUe,kC;cAAA,yBAAQ,oBAAR,CAA6B,IAA7B,iB;MACC,kC;cAAA,yBAAS,oBAAT,CAA8B,KAA9B,iB;MACK,kC;cAAA,yBAAc,oBAAd,CAAmC,UAAnC,iB;MACJ,kC;cAAA,yBAAU,oBAAV,CAA+B,MAA/B,iB;MACA,kC;cAAA,yBAAU,oBAAV,CAA+B,MAA/B,iB;MACI,kC;MAPrBC,gBACI,oBAAqB,qDAMJ,yBAAc,oBAAd,CAAmC,UAAnC,iBANI,C;EAQzB,OAA0C,6BAAf,aAAe,6BAAoB,KAApB,C;AAA2B,C;;;;;kBAnBtE,M;;;QACgBC,CAAAH,WAAAG,E;;O;;;;;;;iDAAAC,CADhB,MACgBA,E;;UAAAC,CAAAL,WAAAK,sB;;;C;;;;;kBA1BfC,U;QAAR,uB;QAE4B,iB;QACC,iB;QACK,iB;QACJ,iB;QACA,iB;QACI,iB;QACM,iB;;UAEjCC,CAASC,KAATD,EAAoD;A;QAAA,IAAQ,SAAO,K;QAAO,OAAtB,I;MAAqB,C;WAEzEE,CAAUD,KAAVC,EAAqD;A;QAAA,IAAQ,SAAQ,K;QAAO,OAAvB,I;MAAsB,C;gBAE3EC,CAAeF,KAAfE,EAA0D;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;YAErFC,CAAWH,KAAXG,EAAsD;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;YAE7EC,CAAWJ,KAAXI,EAAsD;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;gBAE7EC,CAAeL,KAAfK,EAA0D;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;aAErFC,CAAYN,KAAZM,EAAiE;A;QAAA,IAAQ,SAAU,K;QAAO,OAAzB,I;MAAwB,C;WAGzFC,CAAAA,EACH;A;QAmBC,OAnBW,YAAO,8CAAP,C;MAmBZ,C;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.AttoPrivateKey\nimport cash.atto.commons.AttoTransaction\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.Dispatchers\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoNodeMockAsyncBuilder actual constructor(\n private val privateKey: AttoPrivateKey,\n) {\n private var name: String? = null\n private var image: String? = null\n private var mysqlImage: String? = null\n private var dbName: String? = null\n private var dbUser: String? = null\n private var dbPassword: String? = null\n private var genesis: AttoTransaction? = null\n\n actual fun name(value: String): AttoNodeMockAsyncBuilder = apply { name = value }\n\n actual fun image(value: String): AttoNodeMockAsyncBuilder = apply { image = value }\n\n actual fun mysqlImage(value: String): AttoNodeMockAsyncBuilder = apply { mysqlImage = value }\n\n actual fun dbName(value: String): AttoNodeMockAsyncBuilder = apply { dbName = value }\n\n actual fun dbUser(value: String): AttoNodeMockAsyncBuilder = apply { dbUser = value }\n\n actual fun dbPassword(value: String): AttoNodeMockAsyncBuilder = apply { dbPassword = value }\n\n actual fun genesis(value: AttoTransaction?): AttoNodeMockAsyncBuilder = apply { genesis = value }\n\n suspend fun build(): AttoNodeMockAsync {\n val defaultConfiguration =\n AttoNodeMockConfiguration(\n genesisTransaction = genesis ?: AttoTransaction.createGenesis(privateKey),\n privateKey = privateKey,\n )\n val configuration =\n defaultConfiguration.copy(\n name = name ?: defaultConfiguration.name,\n image = image ?: defaultConfiguration.image,\n mysqlImage = mysqlImage ?: defaultConfiguration.mysqlImage,\n dbName = dbName ?: defaultConfiguration.dbName,\n dbUser = dbUser ?: defaultConfiguration.dbUser,\n dbPassword = dbPassword ?: defaultConfiguration.dbPassword,\n )\n return AttoNodeMock(configuration).toAsync(Dispatchers.Default)\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-build>","$completion","defaultConfiguration","configuration","privateKey","name","value","image","mysqlImage","dbName","dbUser","dbPassword","genesis","build"],"mappings":";;;;;;;;;;;;;;;;;;;;;;iDAkCY,K;;;;;;;;;;;;;;;kCAAAA,CAAA,K,EAAAC,WAAAD,EAA+B;A,MAGN,4B;;EAAA,2B;QAA2B,+CAAc,KAAd,CAAc,KAAd,c;;;;;UAA3B,c;;MAF7BE,8DAGqB,KAHrBA,CAGqB,KAHrBA,C;MAOe,4B;cAAA,yBAAQ,oBAAR,CAA6B,IAA7B,iB;MACC,4B;cAAA,yBAAS,oBAAT,CAA8B,KAA9B,iB;MACK,4B;cAAA,yBAAc,oBAAd,CAAmC,UAAnC,iB;MACJ,4B;cAAA,yBAAU,oBAAV,CAA+B,MAA/B,iB;MACA,4B;cAAA,yBAAU,oBAAV,CAA+B,MAA/B,iB;MACI,4B;MAPrBC,gBACI,oBAAqB,qDAMJ,yBAAc,oBAAd,CAAmC,UAAnC,iBANI,C;EAQzB,OAAmC,6BAAf,aAAe,6BAAoB,KAApB,C;AACvC,C;;;;;kBAxCQC,U;QAAR,uB;QAE4B,iB;QACC,iB;QACK,iB;QACJ,iB;QACA,iB;QACI,iB;QACM,iB;;UAEjCC,CAASC,KAATD,EAAoD;A;QAAA,IAAQ,SAAO,K;QAAO,OAAtB,I;MAAqB,C;WAEzEE,CAAUD,KAAVC,EAAqD;A;QAAA,IAAQ,SAAQ,K;QAAO,OAAvB,I;MAAsB,C;gBAE3EC,CAAeF,KAAfE,EAA0D;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;YAErFC,CAAWH,KAAXG,EAAsD;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;YAE7EC,CAAWJ,KAAXI,EAAsD;A;QAAA,IAAQ,SAAS,K;QAAO,OAAxB,I;MAAuB,C;gBAE7EC,CAAeL,KAAfK,EAA0D;A;QAAA,IAAQ,SAAa,K;QAAO,OAA5B,I;MAA2B,C;aAErFC,CAAYN,KAAZM,EAAiE;A;QAAA,IAAQ,SAAU,K;QAAO,OAAzB,I;MAAwB,C;;;;;;;SAExFC,CAAAZ,WAAAY,E;;O;;;;;;;;;;;"}
@@ -23,7 +23,7 @@ function *_generator_start__v5y7pu($this, $completion) {
23
23
  tmp = yield tmp;
24
24
  var testcontainers = tmp;
25
25
  var wait = testcontainers.Wait;
26
- var image = $this.o56_1.l55_1;
26
+ var image = $this.k56_1.h55_1;
27
27
  var containerInstance = (new testcontainers.GenericContainer(image)).withExposedPorts(8080, 8081).withWaitStrategy(wait.forLogMessage(/.*started on port 8080 \(http\).*/, 1)).withLogConsumer(function (stream) {
28
28
  stream.on('data', function (line) {
29
29
  console.log(line.toString());
@@ -38,8 +38,8 @@ function *_generator_start__v5y7pu($this, $completion) {
38
38
  var tmp_1 = await_0(containerPromise, $completion);
39
39
  if (tmp_1 === get_COROUTINE_SUSPENDED())
40
40
  tmp_1 = yield tmp_1;
41
- tmp_0.p56_1 = tmp_1;
42
- $this.q56_1 = true;
41
+ tmp_0.l56_1 = tmp_1;
42
+ $this.m56_1 = true;
43
43
  return Unit_instance;
44
44
  }
45
45
  var CompanionClass;
@@ -60,29 +60,29 @@ function AttoWorkerMock() {
60
60
  if (AttoWorkerMockClass === VOID) {
61
61
  class $ {
62
62
  constructor(configuration) {
63
- this.o56_1 = configuration;
64
- this.p56_1 = null;
65
- this.q56_1 = false;
63
+ this.k56_1 = configuration;
64
+ this.l56_1 = null;
65
+ this.m56_1 = false;
66
66
  }
67
- a56() {
67
+ w55() {
68
68
  // Inline function 'kotlin.require' call
69
- if (!this.q56_1) {
69
+ if (!this.m56_1) {
70
70
  var message = 'Work server must have started to access the url';
71
71
  throw IllegalArgumentException().s2(toString(message));
72
72
  }
73
- var tmp = this.p56_1.getHost();
73
+ var tmp = this.l56_1.getHost();
74
74
  var host = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
75
- var tmp_0 = this.p56_1.getMappedPort(8080);
75
+ var tmp_0 = this.l56_1.getMappedPort(8080);
76
76
  var port = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
77
77
  return 'http://' + host + ':' + port;
78
78
  }
79
- b56($completion) {
79
+ x55($completion) {
80
80
  return suspendOrReturn(/*#__NOINLINE__*/_generator_start__v5y7pu.bind(VOID, this), $completion);
81
81
  }
82
82
  u6() {
83
- if (this.q56_1 && this.p56_1 != null) {
84
- this.p56_1.stop();
85
- this.q56_1 = false;
83
+ if (this.m56_1 && this.l56_1 != null) {
84
+ this.l56_1.stop();
85
+ this.m56_1 = false;
86
86
  }
87
87
  }
88
88
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/src/kotlin/util/Preconditions.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-start>","$completion","testcontainersPromise","testcontainers","wait","image","containerInstance","stream","line","containerPromise","configuration","<get-baseUrl>","message","host","port","start","close"],"mappings":";;;;;;;;;;;;;;;;;kCAmBmBA,CAAA,K,EAAAC,WAAAD,EAAY;A,MACvBE,wBAAwC,MAAH,CAAU,gBAAV,C;;MACqC,cAA/B,qBAA+B,c;;;MAA1EC,oB;MAEAC,OAAW,cAAXA,CAA0B,I;MAE1BC,QAAY,KAAZA,CAAY,KAAZA,CAA0B,K;MAC1BC,oBAES,CCDF,IAAI,cAAJ,CAAmB,gBAAnB,CAAoC,KAApC,CDCE,mBAAiB,IAAjB,EAA6B,IAA7B,CACA,kBAAiB,IAAK,eAAc,mCAAd,EAA2D,CAA3D,CAAtB,CACA,0BACG,CACaC,MADb,E;IACuB,MAAS,CAAF,EAAE,CAAC,MAAD,WAAiB,CAACC,IAAD,E;MAAS,OAAW,CAAH,GAAG,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAArC,C;IAA4D,MAAS,CAAF,EAAE,CAAC,KAAD,WAAgB,CAACA,IAAD,E;MAAS,OAAa,CAAL,KAAK,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAAtC,C;GAFxG,C;;MAMTC,mBAAuB,iBAA0B,CAAR,KAAQ,E;cACjD,K;MAA6B,gBAAjB,gBAAiB,c;;;EAA7B,mB;EACA,cAAU,I;EACd,oB;AAAA,C;;;;;;;;;;;;;;;;;;kBAjCQC,a;QAAR,0B;QAEiC,iB;QACX,kB;;SAGlBC,CAAAA,EAAM;A;QEuBN,KFtBY,IEsBZ,CFtBY,KEsBZ,C,CAAQ;A,cACRC,UFvBuB,iD;UEwBvB,oCAAuC,SAAR,OAAQ,CAAvC,C;QACJ,C;kBFxBmB,IAAU,CAAV,KAAU,U;YAArBC,4DAAW,GAAXA,c;oBACW,IAAU,CAAV,KAAU,eAAc,IAAd,C;YAArBC,gEAAW,KAAXA,c;QACA,OAAQ,SAAR,GAAgB,IAAhB,GAAoB,GAApB,GAAsB,I;MAC1B,C;SAEWC,CAAAd,WAAAc,E;;O;QAsBCC,CAAAA,EAAY;A,QACpB,kBAAW,cAAa,IAAxB,C,CAA8B;A,UAC9B,IAAU,CAAV,KAAU,O;UACV,aAAU,K;QACd,C;MACJ,C;;;;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-test/cash/atto/commons/node/src/kotlin/util/Preconditions.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport kotlinx.coroutines.await\nimport kotlin.js.Promise\n\nactual class AttoWorkerMock internal actual constructor(\n private val configuration: AttoWorkerMockConfiguration,\n) : AutoCloseable {\n private var container: dynamic = null\n private var started = false\n\n actual val baseUrl: String\n get() {\n require(started) { \"Work server must have started to access the url\" }\n val host = container.getHost() as String\n val port = container.getMappedPort(8080) as Int\n return \"http://$host:$port\"\n }\n\n actual suspend fun start() {\n val testcontainersPromise: dynamic = js(\"import('testcontainers')\")\n val testcontainers = testcontainersPromise.unsafeCast<Promise<dynamic>>().await()\n\n val wait = testcontainers.Wait\n\n val image = configuration.image\n val containerInstance =\n js(\"new testcontainers.GenericContainer(image)\")\n .withExposedPorts(js(\"8080\"), js(\"8081\"))\n .withWaitStrategy(wait.forLogMessage(js(\"/.*started on port 8080 \\\\(http\\\\).*/\"), js(\"1\")))\n .withLogConsumer(\n js(\n \"function(stream) { stream.on('data', function(line) { console.log(line.toString()); }); stream.on('err', function(line) { console.error(line.toString()); }); }\",\n ),\n )\n\n val containerPromise = containerInstance.start().unsafeCast<Promise<dynamic>>()\n container = containerPromise.await()\n started = true\n }\n\n actual override fun close() {\n if (started && container != null) {\n container.stop()\n started = false\n }\n }\n\n actual companion object\n}\n",null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-start>","$completion","testcontainersPromise","testcontainers","wait","image","containerInstance","stream","line","containerPromise","configuration","<get-baseUrl>","message","host","port","start","close"],"mappings":";;;;;;;;;;;;;;;;;kCAmBmBA,CAAA,K,EAAAC,WAAAD,EAAY;A,MACvBE,wBAAwC,MAAH,CAAU,gBAAV,C;;MACqC,cAA/B,qBAA+B,c;;;MAA1EC,oB;MAEAC,OAAW,cAAXA,CAA0B,I;MAE1BC,QAAY,KAAZA,CAAY,KAAZA,CAA0B,K;MAC1BC,oBAES,CCDF,IAAI,cAAJ,CAAmB,gBAAnB,CAAoC,KAApC,CDCE,mBAAiB,IAAjB,EAA6B,IAA7B,CACA,kBAAiB,IAAK,eAAc,mCAAd,EAA2D,CAA3D,CAAtB,CACA,0BACG,CACaC,MADb,E;IACuB,MAAS,CAAF,EAAE,CAAC,MAAD,WAAiB,CAACC,IAAD,E;MAAS,OAAW,CAAH,GAAG,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAArC,C;IAA4D,MAAS,CAAF,EAAE,CAAC,KAAD,WAAgB,CAACA,IAAD,E;MAAS,OAAa,CAAL,KAAK,CAAC,IAAa,CAAR,QAAQ,EAAd,C;KAAtC,C;GAFxG,C;;MAMTC,mBAAuB,iBAA0B,CAAR,KAAQ,E;cACjD,K;MAA6B,gBAAjB,gBAAiB,c;;;EAA7B,mB;EACA,cAAU,I;EACd,oB;AAAA,C;;;;;;;;;;;;;;;;;;kBAjCQC,a;QAAR,0B;QAEiC,iB;QACX,kB;;SAGlBC,CAAAA,EAAM;A;QEuBN,KFtBY,IEsBZ,CFtBY,KEsBZ,C,CAAQ;A,cACRC,UFvBuB,iD;UEwBvB,oCAAuC,SAAR,OAAQ,CAAvC,C;QACJ,C;kBFxBmB,IAAU,CAAV,KAAU,U;YAArBC,4DAAW,GAAXA,c;oBACW,IAAU,CAAV,KAAU,eAAc,IAAd,C;YAArBC,gEAAW,KAAXA,c;QACA,OAAQ,SAAR,GAAgB,IAAhB,GAAoB,GAApB,GAAsB,I;MAC1B,C;SAEWC,CAAAd,WAAAc,E;;O;QAsBCC,CAAAA,EAAY;A,QACpB,kBAAW,cAAa,IAAxB,C,CAA8B;A,UAC9B,IAAU,CAAV,KAAU,O;UACV,aAAU,K;QACd,C;MACJ,C;;;;;;;;;;;;;;"}
@@ -3,7 +3,7 @@ declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoWorkerMockAsync {
4
4
  private constructor();
5
5
  get baseUrl(): string;
6
- start(): AttoFuture<any>;
6
+ start(): Promise<any>;
7
7
  close(): void;
8
8
  }
9
9
  export declare namespace AttoWorkerMockAsync {
@@ -1,70 +1,58 @@
1
+ import {
2
+ await1tchdi81j7msa as await_0,
3
+ promisify1z0ncraq1ipzh as promisify,
4
+ suspendOrReturn49pspzlx5djv as suspendOrReturn,
5
+ } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
1
6
  import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
2
- import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
3
- import { suspendOrReturn49pspzlx5djv as suspendOrReturn } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
7
+ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
4
8
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
5
- import {
6
- initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
7
- initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
8
- } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
9
- import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
10
- import { SupervisorJobythnfxkr3jxc as SupervisorJob } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs';
11
- import { CoroutineScopelux7s7zphw7e as CoroutineScope } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
12
- import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
9
+ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
13
10
  //region block: imports
14
11
  //endregion
15
12
  //region block: pre-declaration
16
13
  //endregion
17
- function *_generator_invoke__zhh2q8($this, $completion) {
18
- var tmp = $this.t56_1.r56_1.b56($completion);
19
- if (tmp === get_COROUTINE_SUSPENDED())
20
- tmp = yield tmp;
21
- return Unit_instance;
22
- }
23
- var AttoWorkerMockAsync$start$slambdaClass;
24
- function AttoWorkerMockAsync$start$slambda() {
25
- if (AttoWorkerMockAsync$start$slambdaClass === VOID) {
26
- class $ {
27
- constructor(this$0) {
28
- this.t56_1 = this$0;
29
- }
30
- od($completion) {
31
- return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this), $completion);
32
- }
33
- }
34
- initMetadataForLambda($, VOID, VOID, [0]);
35
- AttoWorkerMockAsync$start$slambdaClass = $;
14
+ function *_generator_start$suspendBridge__sgn8nj($this, $completion) {
15
+ var tmp;
16
+ if ($this.start === protoOf(AttoWorkerMockAsync()).start) {
17
+ var tmp_0 = $this.x55($completion);
18
+ if (tmp_0 === get_COROUTINE_SUSPENDED())
19
+ tmp_0 = yield tmp_0;
20
+ tmp = tmp_0;
21
+ } else {
22
+ var tmp_1 = await_0($this.start(), $completion);
23
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
24
+ tmp_1 = yield tmp_1;
25
+ tmp = tmp_1;
36
26
  }
37
- return AttoWorkerMockAsync$start$slambdaClass;
38
- }
39
- function AttoWorkerMockAsync$start$slambda_0(this$0) {
40
- var i = new (AttoWorkerMockAsync$start$slambda())(this$0);
41
- var l = ($completion) => i.od($completion);
42
- l.$arity = 0;
43
- return l;
27
+ return tmp;
44
28
  }
45
29
  var AttoWorkerMockAsyncClass;
46
30
  function AttoWorkerMockAsync() {
47
31
  if (AttoWorkerMockAsyncClass === VOID) {
48
32
  class $ {
49
33
  constructor(mock, dispatcher) {
50
- dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
51
- this.r56_1 = mock;
52
- this.s56_1 = CoroutineScope(dispatcher.dl(SupervisorJob()));
34
+ this.n56_1 = mock;
53
35
  }
54
- a56() {
55
- return this.r56_1.a56();
36
+ w55() {
37
+ return this.n56_1.w55();
56
38
  }
57
39
  start() {
58
- return submit(this.s56_1, AttoWorkerMockAsync$start$slambda_0(this));
40
+ return promisify(($completion) => this.z55($completion));
41
+ }
42
+ z55($completion) {
43
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_start$suspendBridge__sgn8nj.bind(VOID, this), $completion);
44
+ }
45
+ x55($completion) {
46
+ return this.n56_1.x55($completion);
59
47
  }
60
48
  close() {
61
- return this.r56_1.u6();
49
+ return this.n56_1.u6();
62
50
  }
63
51
  get baseUrl() {
64
- return this.a56();
52
+ return this.w55();
65
53
  }
66
54
  }
67
- initMetadataForClass($, 'AttoWorkerMockAsync');
55
+ initMetadataForClass($, 'AttoWorkerMockAsync', VOID, VOID, VOID, [0]);
68
56
  AttoWorkerMockAsyncClass = $;
69
57
  }
70
58
  return AttoWorkerMockAsyncClass;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["<generator-invoke>","$completion","invoke","AttoWorkerMockAsync$start$slambda","AttoWorkerMockAsync$start$slambda$lambda","mock","dispatcher","<get-baseUrl>","start","close"],"mappings":";;;;;;;;;;;;;;;;mCAoBuDA,CAAA,K,EAAAC,WAAAD,EAAE;A,MAAK,MAAL,KAAK,CAAL,KAAK,CAAL,KAAK,iB;;;EAAM,oB;AAAA,C;;;;;kBAAzD,M;;;QAA4CE,CAAAD,WAAAC,E;;O;;;;;;;4CAAAC,CAA5C,MAA4CA,E;;UAAAC,CAAAH,WAAAG,sB;;;C;;;;;kBAR3CC,I,EACRC,U;qEAFgB,K;QAChB,iB;QAGoB,4BAAe,cAAa,eAAb,CAAf,C;;SAGhBC,CAAAA,EAAQ;A,QAAY,OAAZ,IAAK,CAAL,KAAK,M;MAAM,C;WAEhBC,CAAAA,EAA+B;A,QAA6B,OAAvB,OAAN,IAAM,CAAN,KAAM,EAAO,yCAAP,C;MAAsB,C;WAE3DC,CAAAA,EAAoB;A,QAAY,OAAZ,IAAK,CAAL,KAAK,K;MAAM,C;;;;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.js.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlin.js.ExperimentalJsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoWorkerMockAsync internal actual constructor(\n private val mock: AttoWorkerMock,\n dispatcher: CoroutineDispatcher,\n) {\n actual val baseUrl: String\n get() = mock.baseUrl\n\n suspend fun start(): Any = mock.start()\n\n actual fun close(): Unit = mock.close()\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["mock","dispatcher","<get-baseUrl>","start","$completion","close"],"mappings":";;;;;;;;;;;;;iDAeY,K;;;;;;;;;;;;;;;;;;;kBANAA,I,EACRC,U;QADA,iB;;SAIIC,CAAAA,EAAQ;A,QAAY,OAAZ,IAAK,CAAL,KAAK,M;MAAM,C;;;;;;;SAEfC,CAAAC,WAAAD,EAAmB;A,QAAW,OAAX,IAAK,CAAL,KAAK,iB;MAAM,C;WAE/BE,CAAAA,EAAoB;A,QAAY,OAAZ,IAAK,CAAL,KAAK,K;MAAM,C;;;;;;;;;;;;;;"}
@@ -6,7 +6,7 @@ import { AttoWorkerMockAsync2s1msy2f0s9d0 as AttoWorkerMockAsync } from './AttoW
6
6
  //region block: pre-declaration
7
7
  //endregion
8
8
  function toAsync(_this__u8e3s4, dispatcher) {
9
- dispatcher = dispatcher === VOID ? Dispatchers_getInstance().o20_1 : dispatcher;
9
+ dispatcher = dispatcher === VOID ? Dispatchers_getInstance().r20_1 : dispatcher;
10
10
  return new (AttoWorkerMockAsync())(_this__u8e3s4, dispatcher);
11
11
  }
12
12
  //region block: exports
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-test/src/commonMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["toAsync","<this>","dispatcher"],"mappings":";;;;;;;gBAmBAA,CAAIC,a,EAAuBC,UAA3BF,EACI;A,+DADqE,K;EAChC,mCAAjB,aAAiB,EAAX,UAAW,C;AAAD,C;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-test/src/commonMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsync.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlinx.coroutines.Dispatchers\n\n@JsExportForJs\nexpect class AttoWorkerMockAsync internal constructor(\n mock: AttoWorkerMock,\n dispatcher: CoroutineDispatcher,\n) {\n val baseUrl: String\n\n fun close()\n}\n\nfun AttoWorkerMock.toAsync(dispatcher: CoroutineDispatcher = Dispatchers.Default): AttoWorkerMockAsync =\n AttoWorkerMockAsync(this, dispatcher)\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["toAsync","<this>","dispatcher"],"mappings":";;;;;;;gBAgBAA,CAAIC,a,EAAuBC,UAA3BF,EACI;A,+DADqE,K;EAChC,mCAAjB,aAAiB,EAAX,UAAW,C;AAAD,C;;;;;"}
@@ -4,7 +4,7 @@ export declare class AttoWorkerMockAsyncBuilder {
4
4
  constructor();
5
5
  name(value: string): AttoWorkerMockAsyncBuilder;
6
6
  image(value: string): AttoWorkerMockAsyncBuilder;
7
- build(): AttoFuture<AttoWorkerMockAsync>;
7
+ build(): Promise<AttoWorkerMockAsync>;
8
8
  }
9
9
  export declare namespace AttoWorkerMockAsyncBuilder {
10
10
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -1,70 +1,70 @@
1
+ import {
2
+ await1tchdi81j7msa as await_0,
3
+ promisify1z0ncraq1ipzh as promisify,
4
+ suspendOrReturn49pspzlx5djv as suspendOrReturn,
5
+ } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
6
+ import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
7
+ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
8
+ import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
9
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
1
10
  import { AttoWorkerMockConfiguration3jany0ngynxua as AttoWorkerMockConfiguration } from './AttoMockWorker.mjs';
2
11
  import { AttoWorkerMockl5g5whf0ho4y as AttoWorkerMock } from './AttoWorkerMock.js.mjs';
3
12
  import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
4
13
  import { toAsync1xqvsaym0a4oh as toAsync } from './AttoWorkerMockAsync.mjs';
5
- import {
6
- initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
7
- initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
8
- } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
9
- import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
10
- import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
11
- import { GlobalScope_instance1goye8260az8c as GlobalScope_instance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
12
- import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
14
+ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
13
15
  //region block: imports
14
16
  //endregion
15
17
  //region block: pre-declaration
16
18
  //endregion
17
- var AttoWorkerMockAsyncBuilder$build$slambdaClass;
18
- function AttoWorkerMockAsyncBuilder$build$slambda() {
19
- if (AttoWorkerMockAsyncBuilder$build$slambdaClass === VOID) {
20
- class $ {
21
- constructor(this$0) {
22
- this.u56_1 = this$0;
23
- }
24
- od($completion) {
25
- var defaultConfiguration = new (AttoWorkerMockConfiguration())();
26
- var tmp0_elvis_lhs = this.u56_1.v56_1;
27
- var tmp = tmp0_elvis_lhs == null ? defaultConfiguration.k55_1 : tmp0_elvis_lhs;
28
- var tmp1_elvis_lhs = this.u56_1.w56_1;
29
- var configuration = defaultConfiguration.m55(tmp, tmp1_elvis_lhs == null ? defaultConfiguration.l55_1 : tmp1_elvis_lhs);
30
- return toAsync(new (AttoWorkerMock())(configuration), Dispatchers_getInstance().o20_1);
31
- }
32
- }
33
- initMetadataForLambda($, VOID, VOID, [0]);
34
- AttoWorkerMockAsyncBuilder$build$slambdaClass = $;
19
+ function *_generator_build$suspendBridge__cfhiw5($this, $completion) {
20
+ var tmp;
21
+ if ($this.build === protoOf(AttoWorkerMockAsyncBuilder()).build) {
22
+ var tmp_0 = $this.i56($completion);
23
+ if (tmp_0 === get_COROUTINE_SUSPENDED())
24
+ tmp_0 = yield tmp_0;
25
+ tmp = tmp_0;
26
+ } else {
27
+ var tmp_1 = await_0($this.build(), $completion);
28
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
29
+ tmp_1 = yield tmp_1;
30
+ tmp = tmp_1;
35
31
  }
36
- return AttoWorkerMockAsyncBuilder$build$slambdaClass;
37
- }
38
- function AttoWorkerMockAsyncBuilder$build$slambda_0(this$0) {
39
- var i = new (AttoWorkerMockAsyncBuilder$build$slambda())(this$0);
40
- var l = ($completion) => i.od($completion);
41
- l.$arity = 0;
42
- return l;
32
+ return tmp;
43
33
  }
44
34
  var AttoWorkerMockAsyncBuilderClass;
45
35
  function AttoWorkerMockAsyncBuilder() {
46
36
  if (AttoWorkerMockAsyncBuilderClass === VOID) {
47
37
  class $ {
48
38
  constructor() {
49
- this.v56_1 = null;
50
- this.w56_1 = null;
39
+ this.o56_1 = null;
40
+ this.p56_1 = null;
51
41
  }
52
42
  name(value) {
53
43
  // Inline function 'kotlin.apply' call
54
- this.v56_1 = value;
44
+ this.o56_1 = value;
55
45
  return this;
56
46
  }
57
47
  image(value) {
58
48
  // Inline function 'kotlin.apply' call
59
- this.w56_1 = value;
49
+ this.p56_1 = value;
60
50
  return this;
61
51
  }
62
52
  build() {
63
- var tmp = GlobalScope_instance;
64
- return submit(tmp, AttoWorkerMockAsyncBuilder$build$slambda_0(this));
53
+ return promisify(($completion) => this.j56($completion));
54
+ }
55
+ j56($completion) {
56
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_build$suspendBridge__cfhiw5.bind(VOID, this), $completion);
57
+ }
58
+ i56($completion) {
59
+ var defaultConfiguration = new (AttoWorkerMockConfiguration())();
60
+ var tmp0_elvis_lhs = this.o56_1;
61
+ var tmp = tmp0_elvis_lhs == null ? defaultConfiguration.g55_1 : tmp0_elvis_lhs;
62
+ var tmp1_elvis_lhs = this.p56_1;
63
+ var configuration = defaultConfiguration.i55(tmp, tmp1_elvis_lhs == null ? defaultConfiguration.h55_1 : tmp1_elvis_lhs);
64
+ return toAsync(new (AttoWorkerMock())(configuration), Dispatchers_getInstance().r20_1);
65
65
  }
66
66
  }
67
- initMetadataForClass($, 'AttoWorkerMockAsyncBuilder', AttoWorkerMockAsyncBuilder);
67
+ initMetadataForClass($, 'AttoWorkerMockAsyncBuilder', AttoWorkerMockAsyncBuilder, VOID, VOID, [0]);
68
68
  AttoWorkerMockAsyncBuilderClass = $;
69
69
  }
70
70
  return AttoWorkerMockAsyncBuilderClass;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","defaultConfiguration","configuration","AttoWorkerMockAsyncBuilder$build$slambda","AttoWorkerMockAsyncBuilder$build$slambda$lambda","name","value","image","build"],"mappings":";;;;;;;;;;;;;;;;;;;;kBAoBW,M;;;QACgBA,CAAAC,WAAAD,EACf;A,YAAAE,4D;YAGe,iC;kBAAA,yBAAQ,oBAAR,CAA6B,KAA7B,iB;YACC,iC;YAHhBC,gBACI,oBAAqB,UAET,yBAAS,oBAAT,CAA8B,KAA9B,iBAFS,C;QAIiC,OAA5B,+BAAf,aAAe,6BAAoB,KAApB,C;MAA2B,C;;;;;;;mDAP1CC,CADhB,MACgBA,E;;UAAAC,CAAAJ,WAAAI,sB;;;C;;;;;;QATK,iB;QACC,iB;;UAEtBC,CAASC,KAATD,EAAsD;A;QAAA,IAAa,SAAO,K;QAAO,OAA3B,I;MAA0B,C;WAEhFE,CAAUD,KAAVC,EAAuD;A;QAAA,IAAa,SAAQ,K;QAAO,OAA5B,I;MAA2B,C;WAGlFC,CAAAA,EACH;A;QAQC,OARW,YAAO,gDAAP,C;MAQZ,C;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-test/src/jsMain/kotlin/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.kt"],"sourcesContent":["package cash.atto.commons.node\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.Dispatchers\nimport kotlin.js.ExperimentalJsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoWorkerMockAsyncBuilder actual constructor() {\n private var name: String? = null\n private var image: String? = null\n\n actual fun name(value: String): AttoWorkerMockAsyncBuilder = apply { this.name = value }\n\n actual fun image(value: String): AttoWorkerMockAsyncBuilder = apply { this.image = value }\n\n suspend fun build(): AttoWorkerMockAsync {\n val defaultConfiguration = AttoWorkerMockConfiguration()\n val configuration =\n defaultConfiguration.copy(\n name = name ?: defaultConfiguration.name,\n image = image ?: defaultConfiguration.image,\n )\n return AttoWorkerMock(configuration).toAsync(Dispatchers.Default)\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["name","value","image","build","$completion","defaultConfiguration","configuration"],"mappings":";;;;;;;;;;;;;;;;;;iDAgBY,K;;;;;;;;;;;;;;;;;;;;QAPoB,iB;QACC,iB;;UAEtBA,CAASC,KAATD,EAAsD;A;QAAA,IAAa,SAAO,K;QAAO,OAA3B,I;MAA0B,C;WAEhFE,CAAUD,KAAVC,EAAuD;A;QAAA,IAAa,SAAQ,K;QAAO,OAA5B,I;MAA2B,C;;;;;;;SAEjFC,CAAAC,WAAAD,EAAiC;A,YACrCE,4D;YAGe,2B;kBAAA,yBAAQ,oBAAR,CAA6B,KAA7B,iB;YACC,2B;YAHhBC,gBACI,oBAAqB,UAET,yBAAS,oBAAT,CAA8B,KAA9B,iBAFS,C;QAIzB,OAAqC,+BAAf,aAAe,6BAAoB,KAApB,C;MACzC,C;;;;;;;;;;;"}
@@ -28,11 +28,11 @@ function Companion_getInstance() {
28
28
  }
29
29
  function work(network, timestamp, target, $completion) {
30
30
  var threshold = getThreshold(Companion_instance, network, timestamp);
31
- return this.a53(threshold, target, $completion);
31
+ return this.d53(threshold, target, $completion);
32
32
  }
33
33
  function work_0(block, $completion) {
34
34
  var target = getTarget(block);
35
- return this.b53(block.network, block.timestamp, target, $completion);
35
+ return this.e53(block.network, block.timestamp, target, $completion);
36
36
  }
37
37
  var AttoWorkerClass;
38
38
  function AttoWorker() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorker.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["work","network","timestamp","target","$completion","threshold","block"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;aAkBYA,CACJC,O,EACAC,S,EACAC,M,EAHIC,WAAAJ,EAII;A,MACRK,YAAyB,iCAAa,OAAb,EAAsB,SAAtB,C;EAE7B,OADW,SAAK,SAAL,EAAgB,MAAhB,c;AACX,C;eAEQL,CAASM,K,EAATF,WAAAJ,EAAqC;A,MACzCG,SAAmB,UAAN,KAAM,C;EAEvB,OADW,SAAK,KAAL,CAAW,OAAX,EAAoB,KAApB,CAA0B,SAA1B,EAAqC,MAArC,c;AACX,C;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorker.kt"],"sourcesContent":["package cash.atto.commons.worker\n\nimport cash.atto.commons.AttoBlock\nimport cash.atto.commons.AttoInstant\nimport cash.atto.commons.AttoNetwork\nimport cash.atto.commons.AttoWork\nimport cash.atto.commons.AttoWorkTarget\nimport cash.atto.commons.getTarget\nimport cash.atto.commons.getThreshold\n\ninterface AttoWorker : AutoCloseable {\n companion object {}\n\n suspend fun work(\n threshold: ULong,\n target: AttoWorkTarget,\n ): AttoWork\n\n suspend fun work(\n network: AttoNetwork,\n timestamp: AttoInstant,\n target: AttoWorkTarget,\n ): AttoWork {\n val threshold = AttoWork.getThreshold(network, timestamp)\n return work(threshold, target)\n }\n\n suspend fun work(block: AttoBlock): AttoWork {\n val target = block.getTarget()\n return work(block.network, block.timestamp, target)\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["work","network","timestamp","target","$completion","threshold","block"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;aAkBYA,CACJC,O,EACAC,S,EACAC,M,EAHIC,WAAAJ,EAII;A,MACRK,YAAyB,iCAAa,OAAb,EAAsB,SAAtB,C;EAE7B,OADW,SAAK,SAAL,EAAgB,MAAhB,c;AACX,C;eAEQL,CAASM,K,EAATF,WAAAJ,EAAqC;A,MACzCG,SAAmB,UAAN,KAAM,C;EAEvB,OADW,SAAK,KAAL,CAAW,OAAX,EAAoB,KAApB,CAA0B,SAA1B,EAAqC,MAArC,c;AACX,C;;;;;;;;;;;;;;;;;"}
@@ -3,9 +3,9 @@ declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoWorkerAsync {
4
4
  private constructor();
5
5
  get worker(): any/* AttoWorker */;
6
- workThreshold(threshold: bigint, target: any/* AttoWorkTarget */): AttoFuture<AttoWork>;
7
- workNetwork(network: AttoNetwork, timestamp: AttoInstant, target: any/* AttoWorkTarget */): AttoFuture<AttoWork>;
8
- workBlock(block: AttoBlock): AttoFuture<AttoWork>;
6
+ workThreshold(threshold: bigint, target: any/* AttoWorkTarget */): Promise<AttoWork>;
7
+ workNetwork(network: AttoNetwork, timestamp: AttoInstant, target: any/* AttoWorkTarget */): Promise<AttoWork>;
8
+ workBlock(block: AttoBlock): Promise<AttoWork>;
9
9
  }
10
10
  export declare namespace AttoWorkerAsync {
11
11
  /** @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 { AttoWorkerAsync2mqicuktlp1kj as AttoWorkerAsync } from './AttoWorkerAsync.mjs';
1
+ import { AttoWorkerAsync2mqicuktlp1kj as AttoWorkerAsync } from './AttoWorkerAsync.js.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=AttoWorkerAsync.export.mjs.map
13
+ //# sourceMappingURL=AttoWorkerAsync.js.export.mjs.map