@attocash/commons-test 6.2.0 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (677) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +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 +54 -54
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/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 +15 -15
  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 +63 -55
  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 +825 -817
  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.export.d.mts +2 -3
  84. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -1
  85. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
  86. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
  87. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
  88. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -1
  89. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.d.mts +0 -5
  90. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +20 -20
  91. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
  92. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  93. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
  94. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
  95. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
  96. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
  97. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
  98. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
  99. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
  100. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
  101. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
  102. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -1
  103. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
  104. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
  105. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.d.mts +8 -0
  106. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs +4 -0
  107. package/commons-commons-core/cash/atto/commons/AttoSerializable.export.mjs.map +1 -0
  108. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs +27 -0
  109. package/commons-commons-core/cash/atto/commons/AttoSerializable.mjs.map +1 -0
  110. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
  111. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
  112. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
  113. package/commons-commons-core/cash/atto/commons/AttoSigner.export.d.mts +28 -0
  114. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs +19 -0
  115. package/commons-commons-core/cash/atto/commons/AttoSigner.export.mjs.map +1 -0
  116. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +74 -11
  117. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
  118. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +76 -0
  119. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
  120. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.d.mts +4 -4
  121. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +73 -68
  122. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
  123. package/commons-commons-core/cash/atto/commons/AttoValidation.export.d.mts +9 -0
  124. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs +4 -0
  125. package/commons-commons-core/cash/atto/commons/AttoValidation.export.mjs.map +1 -0
  126. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +17 -4
  127. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -1
  128. package/commons-commons-core/cash/atto/commons/AttoVersion.export.d.mts +1 -1
  129. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  130. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
  131. package/commons-commons-core/cash/atto/commons/AttoVote.export.d.mts +3 -2
  132. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +84 -79
  133. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
  134. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +26 -26
  135. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
  136. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  137. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
  138. package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
  139. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
  140. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  141. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
  142. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  143. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
  144. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -1
  145. package/commons-commons-core.mjs +1 -2
  146. package/commons-commons-core.mjs.map +1 -1
  147. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.export.d.mts +26 -0
  148. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs → AttoNodeClientAsync.web.export.mjs} +2 -2
  149. package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.mjs → AttoNodeClientAsync.web.mjs} +401 -409
  150. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.web.mjs.map +1 -0
  151. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.d.mts +1 -1
  152. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +158 -158
  153. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  154. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.mts +2 -0
  155. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +4 -0
  156. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
  157. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +44 -19
  158. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
  159. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +8 -8
  160. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -1
  161. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.d.mts → AttoAccountEntryMonitorAsync.web.export.d.mts} +3 -2
  162. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs → AttoAccountEntryMonitorAsync.web.export.mjs} +2 -2
  163. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.mjs → AttoAccountEntryMonitorAsync.web.mjs} +76 -47
  164. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.web.mjs.map +1 -0
  165. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts → AttoAccountEntryMonitorAsyncBuilder.js.export.d.mts} +1 -1
  166. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs → AttoAccountEntryMonitorAsyncBuilder.js.export.mjs} +2 -2
  167. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.mjs → AttoAccountEntryMonitorAsyncBuilder.js.mjs} +20 -20
  168. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.js.mjs.map +1 -0
  169. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
  170. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -1
  171. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.d.mts → AttoAccountMonitorAsync.web.export.d.mts} +5 -4
  172. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs → AttoAccountMonitorAsync.web.export.mjs} +2 -2
  173. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.mjs → AttoAccountMonitorAsync.web.mjs} +140 -135
  174. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.web.mjs.map +1 -0
  175. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +4 -4
  176. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -1
  177. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +65 -65
  178. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -1
  179. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +8 -8
  180. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -1
  181. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.d.mts → AttoTransactionMonitorAsync.web.export.d.mts} +3 -2
  182. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.export.mjs → AttoTransactionMonitorAsync.web.export.mjs} +2 -2
  183. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsync.mjs → AttoTransactionMonitorAsync.web.mjs} +76 -47
  184. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.web.mjs.map +1 -0
  185. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.d.mts → AttoTransactionMonitorAsyncBuilder.js.export.d.mts} +1 -1
  186. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.export.mjs → AttoTransactionMonitorAsyncBuilder.js.export.mjs} +2 -2
  187. package/commons-commons-node/cash/atto/commons/node/monitor/{AttoTransactionMonitorAsyncBuilder.web.mjs → AttoTransactionMonitorAsyncBuilder.js.mjs} +20 -20
  188. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.js.mjs.map +1 -0
  189. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +10 -10
  190. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -1
  191. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
  192. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
  193. package/commons-commons-node.mjs +6 -6
  194. package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
  195. package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs.map +1 -1
  196. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
  197. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs.map +1 -1
  198. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
  199. package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
  200. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.export.d.mts +1 -1
  201. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +36 -48
  202. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs.map +1 -1
  203. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
  204. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs.map +1 -1
  205. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.export.d.mts +1 -1
  206. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +57 -61
  207. package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs.map +1 -1
  208. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
  209. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs.map +1 -1
  210. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.export.d.mts +1 -1
  211. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +33 -45
  212. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs.map +1 -1
  213. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
  214. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs.map +1 -1
  215. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.export.d.mts +1 -1
  216. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +40 -40
  217. package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs.map +1 -1
  218. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  219. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
  220. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.d.mts → AttoWorkerAsync.js.export.d.mts} +3 -3
  221. package/commons-commons-worker/cash/atto/commons/worker/{AttoWorkerAsync.export.mjs → AttoWorkerAsync.js.export.mjs} +2 -2
  222. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs +108 -0
  223. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.js.mjs.map +1 -0
  224. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +1 -110
  225. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -1
  226. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
  227. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
  228. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.js.mjs.map +1 -1
  229. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
  230. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
  231. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  232. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
  233. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
  234. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -1
  235. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
  236. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
  237. package/commons-commons-worker.mjs +1 -1
  238. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  239. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
  240. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
  241. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  242. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
  243. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +16 -11
  244. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
  245. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
  246. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +20 -20
  247. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  248. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
  249. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  250. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
  251. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  252. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
  253. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  254. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
  255. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
  256. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
  257. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  258. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
  259. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
  260. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
  261. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  262. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
  263. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  264. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
  265. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
  266. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  267. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
  268. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  269. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
  270. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
  271. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
  272. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +24 -52
  273. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  274. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +46 -83
  275. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  276. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
  277. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
  278. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
  279. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
  280. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  281. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
  282. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
  283. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
  284. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  285. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
  286. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
  287. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
  288. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
  289. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +7 -7
  290. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
  291. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  292. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
  293. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  294. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
  295. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  296. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
  297. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
  298. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
  299. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  300. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
  301. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
  302. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +10 -1
  303. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
  304. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  305. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
  306. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
  307. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
  308. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
  309. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
  310. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
  311. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +112 -21
  312. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  313. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
  314. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  315. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
  316. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
  317. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  318. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
  319. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  320. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  321. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  322. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  323. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  324. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
  325. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  326. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  327. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
  328. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  329. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  330. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  331. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
  332. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
  333. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  334. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  335. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  336. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
  337. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
  338. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  339. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
  340. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  341. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  342. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +20 -20
  343. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +13 -13
  344. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  345. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  346. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  347. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  348. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
  349. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  350. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
  351. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  352. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  353. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  354. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  355. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  356. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  357. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  358. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  359. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
  360. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
  361. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  362. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  363. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  364. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
  365. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
  366. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  367. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
  368. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  369. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
  370. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
  371. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  372. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
  373. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  374. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  375. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  376. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
  377. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  378. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
  379. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
  380. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
  381. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +16 -16
  382. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  383. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  384. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
  385. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
  386. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  387. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
  388. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  389. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  390. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  391. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
  392. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  393. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
  394. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
  395. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
  396. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
  397. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  398. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
  399. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
  400. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
  401. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  402. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  403. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
  404. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  405. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
  406. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  407. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  408. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  409. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
  410. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  411. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
  412. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
  413. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
  414. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  415. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +75 -75
  416. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
  417. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  418. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  419. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  420. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  421. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
  422. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
  423. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
  424. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
  425. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
  426. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
  427. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  428. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  429. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  430. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
  431. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  432. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  433. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
  434. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
  435. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
  436. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  437. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  438. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  439. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  440. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  441. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  442. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  443. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  444. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
  445. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  446. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  447. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  448. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  449. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  450. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  451. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  452. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
  453. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +51 -51
  454. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +63 -63
  455. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  456. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  457. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  458. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  459. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  460. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  461. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
  462. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  463. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  464. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  465. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  466. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  467. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  468. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  469. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  470. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  471. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  472. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
  473. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  474. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
  475. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +103 -103
  476. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  477. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  478. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
  479. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  480. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  481. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  482. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
  483. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  484. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  485. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  486. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  487. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  488. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  489. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  490. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  491. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
  492. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  493. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  494. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  495. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  496. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
  497. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  498. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  499. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
  500. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  501. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  502. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  503. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
  504. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  505. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  506. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  507. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  508. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
  509. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
  510. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  511. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  512. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
  513. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
  514. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  515. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
  516. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
  517. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
  518. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  519. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  520. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  521. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
  522. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  523. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
  524. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
  525. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
  526. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
  527. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
  528. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
  529. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
  530. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
  531. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  532. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
  533. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
  534. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
  535. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
  536. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
  537. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
  538. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
  539. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  540. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  541. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
  542. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
  543. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  544. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
  545. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  546. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
  547. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  548. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  549. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
  550. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  551. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  552. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  553. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  554. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  555. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  556. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
  557. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  558. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  559. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  560. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  561. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  562. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
  563. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  564. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
  565. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  566. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
  567. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  568. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  569. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  570. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  571. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
  572. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  573. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  574. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
  575. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  576. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  577. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
  578. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
  579. package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
  580. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
  581. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  582. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  583. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  584. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  585. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
  586. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  587. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
  588. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
  589. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
  590. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  591. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  592. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  593. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  594. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
  595. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  596. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  597. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  598. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
  599. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  600. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
  601. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  602. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  603. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  604. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  605. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  606. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  607. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  608. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
  609. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  610. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  611. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  612. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  613. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  614. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  615. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  616. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  617. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  618. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  619. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  620. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  621. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
  622. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  623. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
  624. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
  625. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  626. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  627. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  628. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
  629. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  630. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
  631. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  632. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  633. package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
  634. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  635. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
  636. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  637. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  638. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  639. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  640. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  641. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
  642. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
  643. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  644. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  645. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  646. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
  647. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  648. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  649. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
  650. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  651. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  652. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  653. package/package.json +1 -1
  654. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +0 -12
  655. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +0 -13
  656. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +0 -72
  657. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +0 -1
  658. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.d.mts +0 -17
  659. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.export.mjs +0 -13
  660. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +0 -81
  661. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +0 -1
  662. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +0 -21
  663. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +0 -1
  664. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +0 -1
  665. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +0 -1
  666. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +0 -1
  667. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +0 -1
  668. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +0 -1
  669. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +0 -1
  670. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +0 -1
  671. /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
  672. /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
  673. /package/commons-commons-node/cash/atto/commons/node/{AttoNodeClientAsync.export.mjs.map → monitor/AttoAccountEntryMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  674. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsync.export.mjs.map → AttoAccountMonitorAsync.web.export.mjs.map} +0 -0
  675. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map → AttoTransactionMonitorAsync.web.export.mjs.map} +0 -0
  676. /package/commons-commons-node/cash/atto/commons/node/monitor/{AttoAccountMonitorAsync.export.mjs.map → AttoTransactionMonitorAsyncBuilder.js.export.mjs.map} +0 -0
  677. /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
@@ -0,0 +1,108 @@
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 { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
9
+ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
10
+ //region block: imports
11
+ //endregion
12
+ //region block: pre-declaration
13
+ //endregion
14
+ function *_generator_work$suspendBridge__si7tu2($this, threshold, target, $completion) {
15
+ var tmp;
16
+ if ($this.workThreshold === protoOf(AttoWorkerAsync()).workThreshold) {
17
+ var tmp_0 = $this.d53(threshold, target, $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.workThreshold(threshold, target), $completion);
23
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
24
+ tmp_1 = yield tmp_1;
25
+ tmp = tmp_1;
26
+ }
27
+ return tmp;
28
+ }
29
+ function *_generator_work$suspendBridge__si7tu2_0($this, network, timestamp, target, $completion) {
30
+ var tmp;
31
+ if ($this.workNetwork === protoOf(AttoWorkerAsync()).workNetwork) {
32
+ var tmp_0 = $this.e53(network, timestamp, target, $completion);
33
+ if (tmp_0 === get_COROUTINE_SUSPENDED())
34
+ tmp_0 = yield tmp_0;
35
+ tmp = tmp_0;
36
+ } else {
37
+ var tmp_1 = await_0($this.workNetwork(network, timestamp, target), $completion);
38
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
39
+ tmp_1 = yield tmp_1;
40
+ tmp = tmp_1;
41
+ }
42
+ return tmp;
43
+ }
44
+ function *_generator_work$suspendBridge__si7tu2_1($this, block, $completion) {
45
+ var tmp;
46
+ if ($this.workBlock === protoOf(AttoWorkerAsync()).workBlock) {
47
+ var tmp_0 = $this.f53(block, $completion);
48
+ if (tmp_0 === get_COROUTINE_SUSPENDED())
49
+ tmp_0 = yield tmp_0;
50
+ tmp = tmp_0;
51
+ } else {
52
+ var tmp_1 = await_0($this.workBlock(block), $completion);
53
+ if (tmp_1 === get_COROUTINE_SUSPENDED())
54
+ tmp_1 = yield tmp_1;
55
+ tmp = tmp_1;
56
+ }
57
+ return tmp;
58
+ }
59
+ var AttoWorkerAsyncClass;
60
+ function AttoWorkerAsync() {
61
+ if (AttoWorkerAsyncClass === VOID) {
62
+ class $ {
63
+ constructor(worker, dispatcher) {
64
+ this.worker = worker;
65
+ }
66
+ v54() {
67
+ return this.worker;
68
+ }
69
+ workThreshold(threshold, target) {
70
+ return promisify(($completion) => this.w54(threshold, target, $completion));
71
+ }
72
+ w54(threshold, target, $completion) {
73
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_work$suspendBridge__si7tu2.bind(VOID, this, threshold, target), $completion);
74
+ }
75
+ d53(threshold, target, $completion) {
76
+ return this.worker.d53(threshold, target, $completion);
77
+ }
78
+ workNetwork(network, timestamp, target) {
79
+ return promisify(($completion) => this.x54(network, timestamp, target, $completion));
80
+ }
81
+ x54(network, timestamp, target, $completion) {
82
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_work$suspendBridge__si7tu2_0.bind(VOID, this, network, timestamp, target), $completion);
83
+ }
84
+ e53(network, timestamp, target, $completion) {
85
+ return this.worker.e53(network, timestamp, target, $completion);
86
+ }
87
+ workBlock(block) {
88
+ return promisify(($completion) => this.y54(block, $completion));
89
+ }
90
+ y54(block, $completion) {
91
+ return suspendOrReturn(/*#__NOINLINE__*/_generator_work$suspendBridge__si7tu2_1.bind(VOID, this, block), $completion);
92
+ }
93
+ f53(block, $completion) {
94
+ return this.worker.f53(block, $completion);
95
+ }
96
+ }
97
+ initMetadataForClass($, 'AttoWorkerAsync', VOID, VOID, VOID, [2, 3, 1]);
98
+ AttoWorkerAsyncClass = $;
99
+ }
100
+ return AttoWorkerAsyncClass;
101
+ }
102
+ //region block: exports
103
+ export {
104
+ AttoWorkerAsync as AttoWorkerAsync2mqicuktlp1kj,
105
+ };
106
+ //endregion
107
+
108
+ //# sourceMappingURL=AttoWorkerAsync.js.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../commons-worker/src/jsMain/kotlin/cash/atto/commons/worker/AttoWorkerAsync.js.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.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlinx.coroutines.Dispatchers\nimport kotlin.js.JsName\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\nactual class AttoWorkerAsync internal actual constructor(\n actual val worker: AttoWorker,\n dispatcher: CoroutineDispatcher,\n) {\n @JsName(\"workThreshold\")\n suspend fun work(\n threshold: ULong,\n target: AttoWorkTarget,\n ): AttoWork = worker.work(threshold, target)\n\n @JsName(\"workNetwork\")\n suspend fun work(\n network: AttoNetwork,\n timestamp: AttoInstant,\n target: AttoWorkTarget,\n ): AttoWork = worker.work(network, timestamp, target)\n\n @JsName(\"workBlock\")\n suspend fun work(block: AttoBlock): AttoWork = worker.work(block)\n}\n\nfun AttoWorker.toAsync(): AttoWorkerAsync = AttoWorkerAsync(this, Dispatchers.Default)\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["worker","dispatcher","<get-worker>","threshold","target","work","$completion","network","timestamp","block"],"mappings":";;;;;;;;;;;;;gDAmBY,K,EACJ,S,EACA,M;;;;;;;;;;;;;;;kDAII,K,EACJ,O,EACA,S,EACA,M;;;;;;;;;;;;;;;kDAII,K,EAAS,K;;;;;;;;;;;;;;;;;;;kBAjBVA,M,EACPC,U;QADA,oB;;SAAOC,CAAAA,EAAA;A,QAAA,kB;MAAqB,C;oBAKxBC,S,EACAC,M;;;UADA,S,EACA,M;;;SAFIC,CACJF,S,EACAC,M,EAFIE,WAAAD,EAGM;A,QAA6B,OAA7B,IAAO,CAAP,MAAO,KAAK,SAAL,EAAgB,MAAhB,c;MAAsB,C;kBAIvCE,O,EACAC,S,EACAJ,M;;;UAFA,O,EACA,S,EACA,M;;;SAHIC,CACJE,O,EACAC,S,EACAJ,M,EAHIE,WAAAD,EAIM;A,QAAsC,OAAtC,IAAO,CAAP,MAAO,KAAK,OAAL,EAAc,SAAd,EAAyB,MAAzB,c;MAA+B,C;gBAGnCI,K;;;UAAA,K;;;SAATJ,CAASI,K,EAATH,WAAAD,EAAuC;A,QAAiB,OAAjB,IAAO,CAAP,MAAO,KAAK,KAAL,c;MAAU,C;;;;;;;;;;;"}
@@ -1,122 +1,13 @@
1
- import {
2
- initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
3
- initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
4
- } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
5
- import { VOID3gxj6tk5isa35 as VOID } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
6
- import { Dispatchers_getInstancewbokwrm9sosb as Dispatchers_getInstance } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
7
- import { SupervisorJobythnfxkr3jxc as SupervisorJob } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs';
8
- import { CoroutineScopelux7s7zphw7e as CoroutineScope } from '../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
9
- import { submitr2wceezoc2x6 as submit } from '../../../../../commons-commons-core/cash/atto/commons/AttoFuture.js.mjs';
1
+ import { AttoWorkerAsync2mqicuktlp1kj as AttoWorkerAsync } from './AttoWorkerAsync.js.mjs';
10
2
  //region block: imports
11
3
  //endregion
12
4
  //region block: pre-declaration
13
5
  //endregion
14
- var AttoWorkerAsync$work$slambdaClass;
15
- function AttoWorkerAsync$work$slambda() {
16
- if (AttoWorkerAsync$work$slambdaClass === VOID) {
17
- class $ {
18
- constructor(this$0, $threshold, $target) {
19
- this.j53_1 = this$0;
20
- this.k53_1 = $threshold;
21
- this.l53_1 = $target;
22
- }
23
- sd($completion) {
24
- return this.j53_1.worker.g53(this.k53_1, this.l53_1, $completion);
25
- }
26
- }
27
- initMetadataForLambda($, VOID, VOID, [0]);
28
- AttoWorkerAsync$work$slambdaClass = $;
29
- }
30
- return AttoWorkerAsync$work$slambdaClass;
31
- }
32
- function AttoWorkerAsync$work$slambda_0(this$0, $threshold, $target) {
33
- var i = new (AttoWorkerAsync$work$slambda())(this$0, $threshold, $target);
34
- var l = ($completion) => i.sd($completion);
35
- l.$arity = 0;
36
- return l;
37
- }
38
- var AttoWorkerAsync$work$slambdaClass_0;
39
- function AttoWorkerAsync$work$slambda_1() {
40
- if (AttoWorkerAsync$work$slambdaClass_0 === VOID) {
41
- class $ {
42
- constructor(this$0, $network, $timestamp, $target) {
43
- this.n53_1 = this$0;
44
- this.o53_1 = $network;
45
- this.p53_1 = $timestamp;
46
- this.q53_1 = $target;
47
- }
48
- sd($completion) {
49
- return this.n53_1.worker.h53(this.o53_1, this.p53_1, this.q53_1, $completion);
50
- }
51
- }
52
- initMetadataForLambda($, VOID, VOID, [0]);
53
- AttoWorkerAsync$work$slambdaClass_0 = $;
54
- }
55
- return AttoWorkerAsync$work$slambdaClass_0;
56
- }
57
- function AttoWorkerAsync$work$slambda_2(this$0, $network, $timestamp, $target) {
58
- var i = new (AttoWorkerAsync$work$slambda_1())(this$0, $network, $timestamp, $target);
59
- var l = ($completion) => i.sd($completion);
60
- l.$arity = 0;
61
- return l;
62
- }
63
- var AttoWorkerAsync$work$slambdaClass_1;
64
- function AttoWorkerAsync$work$slambda_3() {
65
- if (AttoWorkerAsync$work$slambdaClass_1 === VOID) {
66
- class $ {
67
- constructor(this$0, $block) {
68
- this.r53_1 = this$0;
69
- this.s53_1 = $block;
70
- }
71
- sd($completion) {
72
- return this.r53_1.worker.i53(this.s53_1, $completion);
73
- }
74
- }
75
- initMetadataForLambda($, VOID, VOID, [0]);
76
- AttoWorkerAsync$work$slambdaClass_1 = $;
77
- }
78
- return AttoWorkerAsync$work$slambdaClass_1;
79
- }
80
- function AttoWorkerAsync$work$slambda_4(this$0, $block) {
81
- var i = new (AttoWorkerAsync$work$slambda_3())(this$0, $block);
82
- var l = ($completion) => i.sd($completion);
83
- l.$arity = 0;
84
- return l;
85
- }
86
- var AttoWorkerAsyncClass;
87
- function AttoWorkerAsync() {
88
- if (AttoWorkerAsyncClass === VOID) {
89
- class $ {
90
- constructor(worker, dispatcher) {
91
- dispatcher = dispatcher === VOID ? Dispatchers_getInstance().y20_1 : dispatcher;
92
- this.worker = worker;
93
- this.m53_1 = CoroutineScope(dispatcher.jl(SupervisorJob()));
94
- }
95
- t53() {
96
- return this.worker;
97
- }
98
- workThreshold(threshold, target) {
99
- return submit(this.m53_1, AttoWorkerAsync$work$slambda_0(this, threshold, target));
100
- }
101
- workNetwork(network, timestamp, target) {
102
- return submit(this.m53_1, AttoWorkerAsync$work$slambda_2(this, network, timestamp, target));
103
- }
104
- workBlock(block) {
105
- return submit(this.m53_1, AttoWorkerAsync$work$slambda_4(this, block));
106
- }
107
- }
108
- initMetadataForClass($, 'AttoWorkerAsync');
109
- AttoWorkerAsyncClass = $;
110
- }
111
- return AttoWorkerAsyncClass;
112
- }
113
6
  function toAsync(_this__u8e3s4, dispatcher) {
114
- dispatcher = dispatcher === VOID ? Dispatchers_getInstance().y20_1 : dispatcher;
115
7
  return new (AttoWorkerAsync())(_this__u8e3s4, dispatcher);
116
8
  }
117
9
  //region block: exports
118
10
  export {
119
- AttoWorkerAsync as AttoWorkerAsync2mqicuktlp1kj,
120
11
  toAsync as toAsync10i9ow1f352l5,
121
12
  };
122
13
  //endregion
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerAsync.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["$threshold","$target","invoke","$completion","AttoWorkerAsync$work$slambda","AttoWorkerAsync$work$slambda$lambda","$network","$timestamp","$block","worker","dispatcher","<get-worker>","work","threshold","target","network","timestamp","block","toAsync","<this>"],"mappings":";;;;;;;;;;;;;;;;;kBAwBI,M,EACIA,U,EACAC,O;;;;;QACmCC,CAAAC,WAAAD,EAAE;A,QAA6B,OAA7B,IAAO,CAAP,KAAO,CAAP,MAAO,KAAK,IAAL,CAAK,KAAL,EAAgB,IAAhB,CAAgB,KAAhB,c;MAAsB,C;;;;;;;uCAA/BE,CAHvC,M,EACIJ,U,EACAC,OACmCG,E;;UAAAC,CAAAF,WAAAE,sB;;;C;;;;;kBAGvC,M,EACIC,Q,EACAC,U,EACAN,O;;;;;;QACmCC,CAAAC,WAAAD,EAAE;A,QAAsC,OAAtC,IAAO,CAAP,KAAO,CAAP,MAAO,KAAK,IAAL,CAAK,KAAL,EAAc,IAAd,CAAc,KAAd,EAAyB,IAAzB,CAAyB,KAAzB,c;MAA+B,C;;;;;;;uCAAxCE,CAJvC,M,EACIE,Q,EACAC,U,EACAN,OACmCG,E;;UAAAC,CAAAF,WAAAE,sB;;;C;;;;;kBAGvC,M,EAASG,M;;;;QAAuDN,CAAAC,WAAAD,EAAE;A,QAAiB,OAAjB,IAAO,CAAP,KAAO,CAAP,MAAO,KAAK,IAAL,CAAK,KAAL,c;MAAU,C;;;;;;;uCAAnBE,CAAhE,M,EAASI,MAAuDJ,E;;UAAAC,CAAAF,WAAAE,sB;;;C;;;;;kBAnBhEI,M,EACAC,U;qEAA8C,K;QAD9C,oB;QAGoB,4BAAe,cAAa,eAAb,CAAf,C;;SAHpBC,CAAAA,EAAA;A,QAAA,kB;MAAqB,C;mBAMrBC,CACIC,S,EACAC,MAFJF,EAG0B;A,QAA+C,OAAzC,OAAN,IAAM,CAAN,KAAM,EAAO,uDAAP,C;MAAwC,C;iBAGxEA,CACIG,O,EACAC,S,EACAF,MAHJF,EAI0B;A,QAAwD,OAAlD,OAAN,IAAM,CAAN,KAAM,EAAO,gEAAP,C;MAAiD,C;eAGjFA,CAASK,KAATL,EAAmD;A,QAAmC,OAA7B,OAAN,IAAM,CAAN,KAAM,EAAO,2CAAP,C;MAA4B,C;;;;;;;gBAGzFM,CAAIC,a,EAAmBT,UAAvBQ,EAAiG;A,+DAA5B,K;EAA6D,+BAAjB,aAAiB,EAAX,UAAW,C;AAAD,C;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerAsync.kt"],"sourcesContent":["package cash.atto.commons.worker\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.coroutines.CoroutineDispatcher\n\n@JsExportForJs\nexpect class AttoWorkerAsync internal constructor(\n worker: AttoWorker,\n dispatcher: CoroutineDispatcher,\n) {\n val worker: AttoWorker\n}\n\nfun AttoWorker.toAsync(dispatcher: CoroutineDispatcher): AttoWorkerAsync = AttoWorkerAsync(this, dispatcher)\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["toAsync","<this>","dispatcher"],"mappings":";;;;;gBAaAA,CAAIC,a,EAAmBC,UAAvBF,EAA2E;A,EAAiC,+BAAjB,aAAiB,EAAX,UAAW,C;AAAD,C;;;;;"}
@@ -33,12 +33,12 @@ import { AttoWorker1vldrz4t7huug as AttoWorker } from './AttoWorker.mjs';
33
33
  //region block: pre-declaration
34
34
  //endregion
35
35
  function cached(_this__u8e3s4, dispatcher) {
36
- dispatcher = dispatcher === VOID ? Dispatchers_getInstance().y20_1 : dispatcher;
36
+ dispatcher = dispatcher === VOID ? Dispatchers_getInstance().r20_1 : dispatcher;
37
37
  return new (AttoWorkerCache())(_this__u8e3s4, dispatcher);
38
38
  }
39
39
  function *_generator_invoke__zhh2q8($this, $this$async, $completion) {
40
40
  try {
41
- var tmp = $this.u53_1($this.v53_1, $completion);
41
+ var tmp = $this.g53_1($this.h53_1, $completion);
42
42
  if (tmp === get_COROUTINE_SUSPENDED())
43
43
  tmp = yield tmp;
44
44
  return tmp;
@@ -46,15 +46,15 @@ function *_generator_invoke__zhh2q8($this, $this$async, $completion) {
46
46
  if ($p instanceof Exception()) {
47
47
  var e = $p;
48
48
  // Inline function 'kotlinx.coroutines.sync.withLock' call
49
- var this_0 = $this.w53_1.z53_1;
50
- var tmp_0 = this_0.a2f(null, $completion);
49
+ var this_0 = $this.i53_1.l53_1;
50
+ var tmp_0 = this_0.t2e(null, $completion);
51
51
  if (tmp_0 === get_COROUTINE_SUSPENDED())
52
52
  tmp_0 = yield tmp_0;
53
53
  var tmp_1;
54
54
  try {
55
- tmp_1 = $this.w53_1.a54_1.w4($this.v53_1);
55
+ tmp_1 = $this.i53_1.m53_1.u4($this.h53_1);
56
56
  }finally {
57
- this_0.l2e(null);
57
+ this_0.e2e(null);
58
58
  }
59
59
  throw e;
60
60
  } else {
@@ -64,24 +64,24 @@ function *_generator_invoke__zhh2q8($this, $this$async, $completion) {
64
64
  }
65
65
  function *_generator_delegateWork__9mcuq($this, target, delegate, $completion) {
66
66
  // Inline function 'kotlinx.coroutines.sync.withLock' call
67
- var this_0 = $this.z53_1;
68
- var tmp = this_0.a2f(null, $completion);
67
+ var this_0 = $this.l53_1;
68
+ var tmp = this_0.t2e(null, $completion);
69
69
  if (tmp === get_COROUTINE_SUSPENDED())
70
70
  tmp = yield tmp;
71
71
  var tmp_0;
72
72
  try {
73
- var deferred = $this.a54_1.s4(target);
73
+ var deferred = $this.m53_1.o4(target);
74
74
  if (!(deferred == null)) {
75
75
  return deferred;
76
76
  }
77
- deferred = async($this.y53_1, VOID, VOID, AttoWorkerCache$delegateWork$slambda_0(delegate, target, $this));
78
- var tmp0 = $this.a54_1;
77
+ deferred = async($this.k53_1, VOID, VOID, AttoWorkerCache$delegateWork$slambda_0(delegate, target, $this));
78
+ var tmp0 = $this.m53_1;
79
79
  // Inline function 'kotlin.collections.set' call
80
80
  var value = deferred;
81
- tmp0.v4(target, value);
81
+ tmp0.t4(target, value);
82
82
  return deferred;
83
83
  }finally {
84
- this_0.l2e(null);
84
+ this_0.e2e(null);
85
85
  }
86
86
  }
87
87
  function delegateWork($this, target, delegate, $completion) {
@@ -92,25 +92,25 @@ function *_generator_work__qfjd2h($this, threshold, target, $completion) {
92
92
  if (tmp === get_COROUTINE_SUSPENDED())
93
93
  tmp = yield tmp;
94
94
  var deferred = tmp;
95
- var tmp_0 = deferred.z1s($completion);
95
+ var tmp_0 = deferred.s1s($completion);
96
96
  if (tmp_0 === get_COROUTINE_SUSPENDED())
97
97
  tmp_0 = yield tmp_0;
98
98
  var work = tmp_0;
99
99
  // Inline function 'kotlinx.coroutines.sync.withLock' call
100
- var this_0 = $this.z53_1;
101
- var tmp_1 = this_0.a2f(null, $completion);
100
+ var this_0 = $this.l53_1;
101
+ var tmp_1 = this_0.t2e(null, $completion);
102
102
  if (tmp_1 === get_COROUTINE_SUSPENDED())
103
103
  tmp_1 = yield tmp_1;
104
104
  var tmp_2;
105
105
  try {
106
- tmp_2 = $this.a54_1.w4(target);
106
+ tmp_2 = $this.m53_1.u4(target);
107
107
  }finally {
108
- this_0.l2e(null);
108
+ this_0.e2e(null);
109
109
  }
110
110
  if (isValid(Companion_instance, threshold, target, work.value)) {
111
111
  return work;
112
112
  }
113
- var tmp_3 = $this.g53(threshold, target, $completion);
113
+ var tmp_3 = $this.d53(threshold, target, $completion);
114
114
  if (tmp_3 === get_COROUTINE_SUSPENDED())
115
115
  tmp_3 = yield tmp_3;
116
116
  return tmp_3;
@@ -120,25 +120,25 @@ function *_generator_work__qfjd2h_0($this, network, timestamp, target, $completi
120
120
  if (tmp === get_COROUTINE_SUSPENDED())
121
121
  tmp = yield tmp;
122
122
  var deferred = tmp;
123
- var tmp_0 = deferred.z1s($completion);
123
+ var tmp_0 = deferred.s1s($completion);
124
124
  if (tmp_0 === get_COROUTINE_SUSPENDED())
125
125
  tmp_0 = yield tmp_0;
126
126
  var work = tmp_0;
127
127
  // Inline function 'kotlinx.coroutines.sync.withLock' call
128
- var this_0 = $this.z53_1;
129
- var tmp_1 = this_0.a2f(null, $completion);
128
+ var this_0 = $this.l53_1;
129
+ var tmp_1 = this_0.t2e(null, $completion);
130
130
  if (tmp_1 === get_COROUTINE_SUSPENDED())
131
131
  tmp_1 = yield tmp_1;
132
132
  var tmp_2;
133
133
  try {
134
- tmp_2 = $this.a54_1.w4(target);
134
+ tmp_2 = $this.m53_1.u4(target);
135
135
  }finally {
136
- this_0.l2e(null);
136
+ this_0.e2e(null);
137
137
  }
138
138
  if (isValid_0(Companion_instance, network, timestamp, target, work.value)) {
139
139
  return work;
140
140
  }
141
- var tmp_3 = $this.h53(network, timestamp, target, $completion);
141
+ var tmp_3 = $this.e53(network, timestamp, target, $completion);
142
142
  if (tmp_3 === get_COROUTINE_SUSPENDED())
143
143
  tmp_3 = yield tmp_3;
144
144
  return tmp_3;
@@ -149,20 +149,20 @@ function *_generator_work__qfjd2h_1($this, block, $completion) {
149
149
  if (tmp_0 === get_COROUTINE_SUSPENDED())
150
150
  tmp_0 = yield tmp_0;
151
151
  var deferred = tmp_0;
152
- var tmp_1 = deferred.z1s($completion);
152
+ var tmp_1 = deferred.s1s($completion);
153
153
  if (tmp_1 === get_COROUTINE_SUSPENDED())
154
154
  tmp_1 = yield tmp_1;
155
155
  var work = tmp_1;
156
156
  // Inline function 'kotlinx.coroutines.sync.withLock' call
157
- var this_0 = $this.z53_1;
158
- var tmp_2 = this_0.a2f(null, $completion);
157
+ var this_0 = $this.l53_1;
158
+ var tmp_2 = this_0.t2e(null, $completion);
159
159
  if (tmp_2 === get_COROUTINE_SUSPENDED())
160
160
  tmp_2 = yield tmp_2;
161
161
  var tmp_3;
162
162
  try {
163
- tmp_3 = $this.a54_1.w4(getTarget(block));
163
+ tmp_3 = $this.m53_1.u4(getTarget(block));
164
164
  }finally {
165
- this_0.l2e(null);
165
+ this_0.e2e(null);
166
166
  }
167
167
  var nextTarget = new (AttoWorkTarget())(block.hash.value);
168
168
  var tmp_4 = delegateWork($this, nextTarget, AttoWorkerCache$work$slambda_6($this, block), $completion);
@@ -171,7 +171,7 @@ function *_generator_work__qfjd2h_1($this, block, $completion) {
171
171
  if (work.isValid(block)) {
172
172
  return work;
173
173
  }
174
- var tmp_5 = $this.i53(block, $completion);
174
+ var tmp_5 = $this.f53(block, $completion);
175
175
  if (tmp_5 === get_COROUTINE_SUSPENDED())
176
176
  tmp_5 = yield tmp_5;
177
177
  return tmp_5;
@@ -181,15 +181,15 @@ function AttoWorkerCache$delegateWork$slambda() {
181
181
  if (AttoWorkerCache$delegateWork$slambdaClass === VOID) {
182
182
  class $ {
183
183
  constructor($delegate, $target, this$0) {
184
- this.u53_1 = $delegate;
185
- this.v53_1 = $target;
186
- this.w53_1 = this$0;
184
+ this.g53_1 = $delegate;
185
+ this.h53_1 = $target;
186
+ this.i53_1 = this$0;
187
187
  }
188
- c29($this$async, $completion) {
188
+ v28($this$async, $completion) {
189
189
  return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$async), $completion);
190
190
  }
191
- qd(p1, $completion) {
192
- return this.c29((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
191
+ md(p1, $completion) {
192
+ return this.v28((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
193
193
  }
194
194
  }
195
195
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -199,7 +199,7 @@ function AttoWorkerCache$delegateWork$slambda() {
199
199
  }
200
200
  function AttoWorkerCache$delegateWork$slambda_0($delegate, $target, this$0) {
201
201
  var i = new (AttoWorkerCache$delegateWork$slambda())($delegate, $target, this$0);
202
- var l = ($this$async, $completion) => i.c29($this$async, $completion);
202
+ var l = ($this$async, $completion) => i.v28($this$async, $completion);
203
203
  l.$arity = 1;
204
204
  return l;
205
205
  }
@@ -208,14 +208,14 @@ function AttoWorkerCache$work$slambda() {
208
208
  if (AttoWorkerCache$work$slambdaClass === VOID) {
209
209
  class $ {
210
210
  constructor(this$0, $threshold) {
211
- this.b54_1 = this$0;
212
- this.c54_1 = $threshold;
211
+ this.n53_1 = this$0;
212
+ this.o53_1 = $threshold;
213
213
  }
214
- d54(it, $completion) {
215
- return this.b54_1.x53_1.g53(this.c54_1, it, $completion);
214
+ p53(it, $completion) {
215
+ return this.n53_1.j53_1.d53(this.o53_1, it, $completion);
216
216
  }
217
- qd(p1, $completion) {
218
- return this.d54(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
217
+ md(p1, $completion) {
218
+ return this.p53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
219
219
  }
220
220
  }
221
221
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -225,7 +225,7 @@ function AttoWorkerCache$work$slambda() {
225
225
  }
226
226
  function AttoWorkerCache$work$slambda_0(this$0, $threshold) {
227
227
  var i = new (AttoWorkerCache$work$slambda())(this$0, $threshold);
228
- var l = (it, $completion) => i.d54(it, $completion);
228
+ var l = (it, $completion) => i.p53(it, $completion);
229
229
  l.$arity = 1;
230
230
  return l;
231
231
  }
@@ -234,15 +234,15 @@ function AttoWorkerCache$work$slambda_1() {
234
234
  if (AttoWorkerCache$work$slambdaClass_0 === VOID) {
235
235
  class $ {
236
236
  constructor(this$0, $network, $timestamp) {
237
- this.e54_1 = this$0;
238
- this.f54_1 = $network;
239
- this.g54_1 = $timestamp;
237
+ this.q53_1 = this$0;
238
+ this.r53_1 = $network;
239
+ this.s53_1 = $timestamp;
240
240
  }
241
- d54(it, $completion) {
242
- return this.e54_1.x53_1.h53(this.f54_1, this.g54_1, it, $completion);
241
+ p53(it, $completion) {
242
+ return this.q53_1.j53_1.e53(this.r53_1, this.s53_1, it, $completion);
243
243
  }
244
- qd(p1, $completion) {
245
- return this.d54(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
244
+ md(p1, $completion) {
245
+ return this.p53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
246
246
  }
247
247
  }
248
248
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -252,7 +252,7 @@ function AttoWorkerCache$work$slambda_1() {
252
252
  }
253
253
  function AttoWorkerCache$work$slambda_2(this$0, $network, $timestamp) {
254
254
  var i = new (AttoWorkerCache$work$slambda_1())(this$0, $network, $timestamp);
255
- var l = (it, $completion) => i.d54(it, $completion);
255
+ var l = (it, $completion) => i.p53(it, $completion);
256
256
  l.$arity = 1;
257
257
  return l;
258
258
  }
@@ -261,14 +261,14 @@ function AttoWorkerCache$work$slambda_3() {
261
261
  if (AttoWorkerCache$work$slambdaClass_1 === VOID) {
262
262
  class $ {
263
263
  constructor(this$0, $block) {
264
- this.h54_1 = this$0;
265
- this.i54_1 = $block;
264
+ this.t53_1 = this$0;
265
+ this.u53_1 = $block;
266
266
  }
267
- d54(it, $completion) {
268
- return this.h54_1.x53_1.i53(this.i54_1, $completion);
267
+ p53(it, $completion) {
268
+ return this.t53_1.j53_1.f53(this.u53_1, $completion);
269
269
  }
270
- qd(p1, $completion) {
271
- return this.d54(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
270
+ md(p1, $completion) {
271
+ return this.p53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
272
272
  }
273
273
  }
274
274
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -278,7 +278,7 @@ function AttoWorkerCache$work$slambda_3() {
278
278
  }
279
279
  function AttoWorkerCache$work$slambda_4(this$0, $block) {
280
280
  var i = new (AttoWorkerCache$work$slambda_3())(this$0, $block);
281
- var l = (it, $completion) => i.d54(it, $completion);
281
+ var l = (it, $completion) => i.p53(it, $completion);
282
282
  l.$arity = 1;
283
283
  return l;
284
284
  }
@@ -287,14 +287,14 @@ function AttoWorkerCache$work$slambda_5() {
287
287
  if (AttoWorkerCache$work$slambdaClass_2 === VOID) {
288
288
  class $ {
289
289
  constructor(this$0, $block) {
290
- this.j54_1 = this$0;
291
- this.k54_1 = $block;
290
+ this.v53_1 = this$0;
291
+ this.w53_1 = $block;
292
292
  }
293
- d54(it, $completion) {
294
- return this.j54_1.x53_1.h53(this.k54_1.network, Companion_instance_0.now(), it, $completion);
293
+ p53(it, $completion) {
294
+ return this.v53_1.j53_1.e53(this.w53_1.network, Companion_instance_0.now(), it, $completion);
295
295
  }
296
- qd(p1, $completion) {
297
- return this.d54(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
296
+ md(p1, $completion) {
297
+ return this.p53(p1 instanceof AttoWorkTarget() ? p1 : THROW_CCE(), $completion);
298
298
  }
299
299
  }
300
300
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -304,7 +304,7 @@ function AttoWorkerCache$work$slambda_5() {
304
304
  }
305
305
  function AttoWorkerCache$work$slambda_6(this$0, $block) {
306
306
  var i = new (AttoWorkerCache$work$slambda_5())(this$0, $block);
307
- var l = (it, $completion) => i.d54(it, $completion);
307
+ var l = (it, $completion) => i.p53(it, $completion);
308
308
  l.$arity = 1;
309
309
  return l;
310
310
  }
@@ -313,25 +313,25 @@ function AttoWorkerCache() {
313
313
  if (AttoWorkerCacheClass === VOID) {
314
314
  class $ {
315
315
  constructor(delegate, dispatcher) {
316
- dispatcher = dispatcher === VOID ? Dispatchers_getInstance().y20_1 : dispatcher;
317
- this.x53_1 = delegate;
318
- this.y53_1 = CoroutineScope_0(dispatcher.jl(SupervisorJob()));
319
- this.z53_1 = Mutex();
320
- this.a54_1 = HashMap().d9();
316
+ dispatcher = dispatcher === VOID ? Dispatchers_getInstance().r20_1 : dispatcher;
317
+ this.j53_1 = delegate;
318
+ this.k53_1 = CoroutineScope_0(dispatcher.gl(SupervisorJob()));
319
+ this.l53_1 = Mutex();
320
+ this.m53_1 = HashMap().z8();
321
321
  }
322
- g53(threshold, target, $completion) {
322
+ d53(threshold, target, $completion) {
323
323
  return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h.bind(VOID, this, threshold, target), $completion);
324
324
  }
325
- h53(network, timestamp, target, $completion) {
325
+ e53(network, timestamp, target, $completion) {
326
326
  return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h_0.bind(VOID, this, network, timestamp, target), $completion);
327
327
  }
328
- i53(block, $completion) {
328
+ f53(block, $completion) {
329
329
  return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h_1.bind(VOID, this, block), $completion);
330
330
  }
331
- y6() {
332
- this.a54_1.y4();
333
- cancel(this.y53_1);
334
- this.x53_1.y6();
331
+ u6() {
332
+ this.m53_1.s4();
333
+ cancel(this.k53_1);
334
+ this.j53_1.u6();
335
335
  }
336
336
  }
337
337
  initMetadataForClass($, 'AttoWorkerCache', VOID, VOID, [AttoWorker()], [2, 3, 1]);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerCache.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/sync/Mutex.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/src/kotlin/collections/Maps.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["cached","<this>","dispatcher","<generator-invoke>","$completion","e","<generator-delegateWork>","target","delegate","deferred","delegateWork","<generator-work>","threshold","work","network","timestamp","block","nextTarget","$delegate","$target","invoke","AttoWorkerCache$delegateWork$slambda","AttoWorkerCache$delegateWork$slambda$lambda","$threshold","AttoWorkerCache$work$slambda","AttoWorkerCache$work$slambda$lambda","$network","$timestamp","$block","close"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../../../commons-worker/src/commonMain/kotlin/cash/atto/commons/worker/AttoWorkerCache.kt","../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/sync/Mutex.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-worker/cash/atto/commons/worker/src/kotlin/collections/Maps.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.isValid\nimport kotlinx.coroutines.CoroutineDispatcher\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.Deferred\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.SupervisorJob\nimport kotlinx.coroutines.async\nimport kotlinx.coroutines.cancel\nimport kotlinx.coroutines.sync.Mutex\nimport kotlinx.coroutines.sync.withLock\n\nprivate class AttoWorkerCache(\n private val delegate: AttoWorker,\n dispatcher: CoroutineDispatcher = Dispatchers.Default,\n) : AttoWorker {\n private val scope = CoroutineScope(dispatcher + SupervisorJob())\n\n private val mutex = Mutex()\n private val cache = HashMap<AttoWorkTarget, Deferred<AttoWork>>()\n\n private suspend fun delegateWork(\n target: AttoWorkTarget,\n delegate: suspend (AttoWorkTarget) -> AttoWork,\n ): Deferred<AttoWork> {\n mutex.withLock {\n var deferred = cache[target]\n if (deferred != null) {\n return deferred\n }\n deferred =\n scope.async {\n try {\n return@async delegate.invoke(target)\n } catch (e: Exception) {\n mutex.withLock {\n cache.remove(target)\n }\n throw e\n }\n }\n\n cache[target] = deferred\n\n return deferred\n }\n }\n\n override suspend fun work(\n threshold: ULong,\n target: AttoWorkTarget,\n ): AttoWork {\n val deferred =\n delegateWork(target) {\n delegate.work(threshold, it)\n }\n\n val work = deferred.await()\n\n mutex.withLock {\n cache.remove(target)\n }\n\n if (AttoWork.isValid(threshold, target, work.value)) {\n return work\n }\n\n return work(threshold, target)\n }\n\n override suspend fun work(\n network: AttoNetwork,\n timestamp: AttoInstant,\n target: AttoWorkTarget,\n ): AttoWork {\n val deferred =\n delegateWork(target) {\n delegate.work(network, timestamp, it)\n }\n\n val work = deferred.await()\n\n mutex.withLock {\n cache.remove(target)\n }\n\n if (AttoWork.isValid(network, timestamp, target, work.value)) {\n return work\n }\n\n return work(network, timestamp, target)\n }\n\n override suspend fun work(block: AttoBlock): AttoWork {\n val deferred =\n delegateWork(block.getTarget()) {\n delegate.work(block)\n }\n\n val work = deferred.await()\n\n mutex.withLock {\n cache.remove(block.getTarget())\n }\n\n val nextTarget = AttoWorkTarget(block.hash.value)\n delegateWork(nextTarget) {\n delegate.work(block.network, AttoInstant.now(), it)\n }\n\n if (work.isValid(block)) {\n return work\n }\n\n return work(block)\n }\n\n override fun close() {\n cache.clear()\n scope.cancel()\n delegate.close()\n }\n}\n\nfun AttoWorker.cached(dispatcher: CoroutineDispatcher = Dispatchers.Default): AttoWorker = AttoWorkerCache(this, dispatcher)\n",null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["cached","<this>","dispatcher","<generator-invoke>","$completion","e","<generator-delegateWork>","target","delegate","deferred","delegateWork","<generator-work>","threshold","work","network","timestamp","block","nextTarget","$delegate","$target","invoke","AttoWorkerCache$delegateWork$slambda","AttoWorkerCache$delegateWork$slambda$lambda","$threshold","AttoWorkerCache$work$slambda","AttoWorkerCache$work$slambda$lambda","$network","$timestamp","$block","close"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-worker/src/jsMain/kotlin/cash/atto/commons/worker/AttoWorkerCpu.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["cpu","<this>"],"mappings":";;;;;;cAEOA,CAAIC,aAAJD,EAA6C;A,EAAO,OAAP,mBAAI,+BAAJ,C;AAAM,C;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-worker/src/jsMain/kotlin/cash/atto/commons/worker/AttoWorkerCpu.js.kt"],"sourcesContent":["package cash.atto.commons.worker\n\nactual fun AttoWorker.Companion.cpu(): AttoWorker = cpu(1U)\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["cpu","<this>"],"mappings":";;;;;;cAEOA,CAAIC,aAAJD,EAA6C;A,EAAO,OAAP,mBAAI,+BAAJ,C;AAAM,C;;;;;"}