@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 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;"}
@@ -12,8 +12,15 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotl
12
12
  var OkClass;
13
13
  function Ok() {
14
14
  if (OkClass === VOID) {
15
- class $ {}
16
- protoOf($).z4n = get_isValid;
15
+ class $ {
16
+ getError() {
17
+ return null;
18
+ }
19
+ get isValid() {
20
+ return this.p4t();
21
+ }
22
+ }
23
+ protoOf($).p4t = get_isValid;
17
24
  initMetadataForObject($, 'Ok', VOID, VOID, [AttoValidation()]);
18
25
  OkClass = $;
19
26
  }
@@ -28,10 +35,16 @@ function Error_0() {
28
35
  if (ErrorClass === VOID) {
29
36
  class $ {
30
37
  constructor(error) {
31
- this.h4t_1 = error;
38
+ this.q4t_1 = error;
39
+ }
40
+ getError() {
41
+ return this.q4t_1;
42
+ }
43
+ get isValid() {
44
+ return this.p4t();
32
45
  }
33
46
  }
34
- protoOf($).z4n = get_isValid;
47
+ protoOf($).p4t = get_isValid;
35
48
  initMetadataForClass($, 'Error', VOID, VOID, [AttoValidation()]);
36
49
  ErrorClass = $;
37
50
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoValidation.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["error","<get-isValid>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAYgBA,K;QAAR,kB;;;;;;;;;oBATiBC,CAAAA,EAAQ;A,EAAU,OAAV,IAAU,gB;AAAD,C;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoValidation.kt"],"sourcesContent":["@file:OptIn(ExperimentalJsExport::class)\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@JsExportForJs\nsealed interface AttoValidation {\n val isValid: Boolean get() = this is Ok\n\n fun getError(): String?\n\n @JsExport.Ignore\n object Ok : AttoValidation {\n override fun getError(): String? = null\n }\n\n @JsExport.Ignore\n class Error(\n private val error: String,\n ) : AttoValidation {\n override fun getError(): String = error\n }\n}\n"],"ignoreList":[],"x_google_ignoreList":[],"names":["getError","error","<get-isValid>"],"mappings":";;;;;;;;;;;;;;;cAgBiBA,CAAAA,EAA0B;A,QAAI,OAAJ,I;MAAG,C;;;;;;;;;;;;;;;;;;;kBAK9BC,K;QAAR,kB;;cAESD,CAAAA,EAAyB;A,QAAK,OAAL,IAAK,CAAL,K;MAAI,C;;;;;;;;;;;oBAbrBE,CAAAA,EAAQ;A,EAAU,OAAV,IAAU,gB;AAAD,C;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class AttoVersion /* implements Comparable<AttoVersion> */ {
4
- constructor(value: any/* UShort */);
4
+ private constructor();
5
5
  get value(): any/* UShort */;
6
6
  toString(): string;
7
7
  copy(value?: any/* UShort */): AttoVersion;
@@ -43,10 +43,10 @@ function AttoVersion() {
43
43
  constructor(value) {
44
44
  this.value = value;
45
45
  }
46
- i4t() {
46
+ r4t() {
47
47
  return this.value;
48
48
  }
49
- x4n(other) {
49
+ u4n(other) {
50
50
  var tmp0 = this.value;
51
51
  // Inline function 'kotlin.UShort.compareTo' call
52
52
  var other_0 = other.value;
@@ -57,20 +57,20 @@ function AttoVersion() {
57
57
  return compareTo(tmp, tmp$ret$1);
58
58
  }
59
59
  d(other) {
60
- return this.x4n(other instanceof AttoVersion() ? other : THROW_CCE());
60
+ return this.u4n(other instanceof AttoVersion() ? other : THROW_CCE());
61
61
  }
62
62
  toString() {
63
63
  return UShort__toString_impl_edaoee(this.value);
64
64
  }
65
- j4t() {
65
+ s4t() {
66
66
  return this.value;
67
67
  }
68
- k4t(value) {
68
+ t4t(value) {
69
69
  return new (AttoVersion())(value);
70
70
  }
71
71
  copy(value, $super) {
72
72
  value = value === VOID ? this.value : value;
73
- return $super === VOID ? this.k4t(value) : $super.k4t.call(this, new (UShort())(value));
73
+ return $super === VOID ? this.t4t(value) : $super.t4t.call(this, new (UShort())(value));
74
74
  }
75
75
  hashCode() {
76
76
  return UShort__hashCode_impl_ywngrv(this.value);
@@ -112,19 +112,19 @@ function AttoVersionSerializer() {
112
112
  class $ {
113
113
  constructor() {
114
114
  AttoVersionSerializer_instance = this;
115
- this.l4t_1 = serializer(Companion_getInstance()).et();
115
+ this.u4t_1 = serializer(Companion_getInstance()).zs();
116
116
  }
117
- et() {
118
- return this.l4t_1;
117
+ zs() {
118
+ return this.u4t_1;
119
119
  }
120
- m4t(encoder, value) {
121
- serializer(Companion_getInstance()).ft(encoder, new (UShort())(value.value));
120
+ v4t(encoder, value) {
121
+ serializer(Companion_getInstance()).at(encoder, new (UShort())(value.value));
122
122
  }
123
- ft(encoder, value) {
124
- return this.m4t(encoder, value instanceof AttoVersion() ? value : THROW_CCE());
123
+ at(encoder, value) {
124
+ return this.v4t(encoder, value instanceof AttoVersion() ? value : THROW_CCE());
125
125
  }
126
- gt(decoder) {
127
- return new (AttoVersion())(serializer(Companion_getInstance()).gt(decoder).ws_1);
126
+ bt(decoder) {
127
+ return new (AttoVersion())(serializer(Companion_getInstance()).bt(decoder).rs_1);
128
128
  }
129
129
  }
130
130
  initMetadataForObject($, 'AttoVersionSerializer', VOID, VOID, [KSerializer()]);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVersion.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["value","<get-value>","compareTo","other","toString","max","<this>","anotherVersion","<get-descriptor>","serialize","encoder","deserialize","decoder","toAttoVersion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAcIA,K;QAAA,kB;;SAAAC,CAAAA,EAAA;A,QAAA,iB;MAAgB,C;SAEEC,CAAcC,KAAdD,EAAyC;A,mBAAA,I,CAAA,K;;sBAAgB,K,CAAM,K;;kBC2ThD,wCAAiB,K;;YAAM,YAAvB,gCAnR0D,OAmR1D,IAAiB,K;QD3TqC,OCwCN,eAAgB,SAAhB,C;MDxCK,C;QAMzDC,K;;;cAJpBC,CAAAA,EAAyB;A,QAAgB,OAAV,6BAAN,IAAM,CAAN,KAAM,C;MAAS,C;YAlBrD;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,iC;MAAA,C;;iCAAA,I,CAAA,K;;;iBAAA;A,QAAA,+C;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,sC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;;;;;;YAqBAC,CAAIC,a,EAAgBC,cAApBF,EAA8D;A;aAC/C,a,CAAA,K;;cAAQ,c,CAAe,K;;cCqTD,wCAAiB,K;;MAAM,YAAvB,gCAnR0D,KAmR1D,IAAiB,K;EDrTvC,ICkCsE,iBAAgB,SAAhB,CDlCtE,K;IACP,OAAO,a;;UAEP,c;;EAHJ,U;AAKJ,C;;;;;;;QAWkD,aAAb,mCAAa,K;;QAArCG,CAAAA,EAAA;A,QAAA,iB;MAAa,C;SAEbC,CACLC,O,EACAV,KAFKS,EAGP;A,QACS,mCAAa,IAAU,OAAV,iBAAmB,KAAnB,CAAyB,KAAzB,E;MACxB,C;SAI0tKC,O,EAAkBV,K;;;QAFnuKW,CAAgBC,OAAhBD,EAAiD;A,QAAqD,2BAAlC,mCAAa,IAAY,OAAZ,CAAqB,M;MAAD,C;;;;;;;;;;;;;sBAhBlHE,CAAIP,aAAJO,EAAwC;A;;eEmWG,+BFnWH,aEmWG,C;MAAe,YDiDf,6BAAY,QAAL,MAAK,CAAZ,C;EDpZ4B,OAAf,gBAAX,SAAW,C;AAAc,C;wBAFtEA,CAAIP,aAAJO,EAA0C;A,EAAiB,2BAAL,aAAK,C;AAAD,C;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVersion.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.serializer\nimport kotlinx.serialization.encoding.Decoder\nimport kotlinx.serialization.encoding.Encoder\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable(with = AttoVersionSerializer::class)\ndata class AttoVersion\n @JsExport.Ignore\n constructor(\n val value: UShort,\n ) : Comparable<AttoVersion> {\n override operator fun compareTo(other: AttoVersion): Int = value.compareTo(other.value)\n\n override fun toString(): String = value.toString()\n }\n\nfun AttoVersion.max(anotherVersion: AttoVersion): AttoVersion {\n return if (value > anotherVersion.value) {\n return this\n } else {\n anotherVersion\n }\n}\n\nfun UShort.toAttoVersion(): AttoVersion = AttoVersion(this)\n\nfun UInt.toAttoVersion(): AttoVersion = this.toUShort().toAttoVersion()\n\nfun Short.toAttoVersion(): AttoVersion = this.toUShort().toAttoVersion()\n\nfun Int.toAttoVersion(): AttoVersion = this.toUShort().toAttoVersion()\n\nobject AttoVersionSerializer : KSerializer<AttoVersion> {\n override val descriptor = UShort.serializer().descriptor\n\n override fun serialize(\n encoder: Encoder,\n value: AttoVersion,\n ) {\n UShort.serializer().serialize(encoder, value.value)\n }\n\n override fun deserialize(decoder: Decoder): AttoVersion = AttoVersion(UShort.serializer().deserialize(decoder))\n}\n",null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["value","<get-value>","compareTo","other","toString","max","<this>","anotherVersion","<get-descriptor>","serialize","encoder","deserialize","decoder","toAttoVersion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBQA,K;QAAA,kB;;SAAAC,CAAAA,EAAA;A,QAAA,iB;MAAgB,C;SAEEC,CAAcC,KAAdD,EAAyC;A,mBAAA,I,CAAA,K;;sBAAgB,K,CAAM,K;;kBCwTpD,wCAAiB,K;;YAAM,YAAvB,gCAnR0D,OAmR1D,IAAiB,K;QDxTyC,OCqCV,eAAgB,SAAhB,C;MDrCS,C;QAKhFC,K;;;cAHGC,CAAAA,EAAyB;A,QAAgB,OAAV,6BAAN,IAAM,CAAN,KAAM,C;MAAS,C;YArBzD;A,QAAA,iB;MAAA,C;iBAAA;A,QAAA,iC;MAAA,C;;iCAAA,I,CAAA,K;;;iBAAA;A,QAAA,+C;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,sC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;;;;;;YAwBAC,CAAIC,a,EAAgBC,cAApBF,EAA8D;A;aAC/C,a,CAAA,K;;cAAQ,c,CAAe,K;;cCkTD,wCAAiB,K;;MAAM,YAAvB,gCAnR0D,KAmR1D,IAAiB,K;EDlTvC,IC+BsE,iBAAgB,SAAhB,CD/BtE,K;IACP,OAAO,a;;UAEP,c;;EAHJ,U;AAKJ,C;;;;;;;QAWkD,aAAb,mCAAa,K;;QAArCG,CAAAA,EAAA;A,QAAA,iB;MAAa,C;SAEbC,CACLC,O,EACAV,KAFKS,EAGP;A,QACS,mCAAa,IAAU,OAAV,iBAAmB,KAAnB,CAAyB,KAAzB,E;MACxB,C;SAIuoKC,O,EAAkBV,K;;;QAFhpKW,CAAgBC,OAAhBD,EAAiD;A,QAAqD,2BAAlC,mCAAa,IAAY,OAAZ,CAAqB,M;MAAD,C;;;;;;;;;;;;;sBAhBlHE,CAAIP,aAAJO,EAAwC;A;;eEgWG,+BFhWH,aEgWG,C;MAAe,YDiDf,6BAAY,QAAL,MAAK,CAAZ,C;EDjZ4B,OAAf,gBAAX,SAAW,C;AAAc,C;wBAFtEA,CAAIP,aAAJO,EAA0C;A,EAAiB,2BAAL,aAAK,C;AAAD,C;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
- export declare class AttoVote implements AttoHashable/*, AttoSerializable */ {
3
+ export declare class AttoVote implements AttoHashable, AttoSerializable {
4
4
  constructor(version: AttoVersion, algorithm: AttoAlgorithm, publicKey: AttoPublicKey, blockAlgorithm: AttoAlgorithm, blockHash: AttoHash, timestamp: AttoInstant);
5
5
  get version(): AttoVersion;
6
6
  get algorithm(): AttoAlgorithm;
@@ -15,7 +15,8 @@ export declare class AttoVote implements AttoHashable/*, AttoSerializable */ {
15
15
  toString(): string;
16
16
  hashCode(): number;
17
17
  equals(other: Nullable<any>): boolean;
18
- readonly __doNotUseOrImplementIt: AttoHashable["__doNotUseOrImplementIt"];
18
+ toByteArray(): Int8Array;
19
+ readonly __doNotUseOrImplementIt: AttoHashable["__doNotUseOrImplementIt"] & AttoSerializable["__doNotUseOrImplementIt"];
19
20
  }
20
21
  export declare namespace AttoVote {
21
22
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -50,16 +50,20 @@ import { uintCompare18k97xs29243i as uintCompare } from '../../../../kotlin-kotl
50
50
  import { Buffergs925ekssbch as Buffer } from '../../../../kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs';
51
51
  import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
52
52
  import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
53
+ import {
54
+ toByteArrayholgcuj5zgpi as toByteArray,
55
+ AttoSerializable291xn050uxg51 as AttoSerializable,
56
+ } from './AttoSerializable.mjs';
53
57
  //region block: imports
54
58
  var imul = Math.imul;
55
59
  //endregion
56
60
  //region block: pre-declaration
57
61
  //endregion
58
62
  function AttoVote$Companion$$childSerializers$_anonymous__q6z172() {
59
- return Companion_getInstance().i1h();
63
+ return Companion_getInstance().b1h();
60
64
  }
61
65
  function AttoVote$Companion$$childSerializers$_anonymous__q6z172_0() {
62
- return Companion_getInstance().i1h();
66
+ return Companion_getInstance().b1h();
63
67
  }
64
68
  var CompanionClass;
65
69
  function Companion() {
@@ -74,13 +78,13 @@ function Companion() {
74
78
  // Inline function 'kotlin.arrayOf' call
75
79
  // Inline function 'kotlin.js.unsafeCast' call
76
80
  // Inline function 'kotlin.js.asDynamic' call
77
- tmp.n4t_1 = [null, tmp_1, null, lazy(tmp_2, AttoVote$Companion$$childSerializers$_anonymous__q6z172_0), null, null];
81
+ tmp.w4t_1 = [null, tmp_1, null, lazy(tmp_2, AttoVote$Companion$$childSerializers$_anonymous__q6z172_0), null, null];
78
82
  this.finalTimestamp = Companion_instance.fromEpochMilliseconds(9223372036854775807n);
79
83
  }
80
- o4t() {
84
+ x4t() {
81
85
  return this.finalTimestamp;
82
86
  }
83
- i1h() {
87
+ b1h() {
84
88
  return $serializer_getInstance();
85
89
  }
86
90
  }
@@ -102,31 +106,31 @@ function $serializer() {
102
106
  constructor() {
103
107
  $serializer_instance = this;
104
108
  var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.AttoVote', this, 6);
105
- tmp0_serialDesc.h15('version', false);
106
- tmp0_serialDesc.h15('algorithm', false);
107
- tmp0_serialDesc.h15('publicKey', false);
108
- tmp0_serialDesc.h15('blockAlgorithm', false);
109
- tmp0_serialDesc.h15('blockHash', false);
110
- tmp0_serialDesc.h15('timestamp', false);
111
- this.p4t_1 = tmp0_serialDesc;
112
- }
113
- q4t(encoder, value) {
114
- var tmp0_desc = this.p4t_1;
115
- var tmp1_output = encoder.tx(tmp0_desc);
116
- var tmp2_cached = Companion_getInstance_0().n4t_1;
117
- tmp1_output.kz(tmp0_desc, 0, AttoVersionSerializer_getInstance(), value.version);
118
- tmp1_output.kz(tmp0_desc, 1, tmp2_cached[1].g3(), value.algorithm);
119
- tmp1_output.kz(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), value.publicKey);
120
- tmp1_output.kz(tmp0_desc, 3, tmp2_cached[3].g3(), value.blockAlgorithm);
121
- tmp1_output.kz(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), value.blockHash);
122
- tmp1_output.kz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.timestamp);
123
- tmp1_output.ux(tmp0_desc);
124
- }
125
- ft(encoder, value) {
126
- return this.q4t(encoder, value instanceof AttoVote() ? value : THROW_CCE());
127
- }
128
- gt(decoder) {
129
- var tmp0_desc = this.p4t_1;
109
+ tmp0_serialDesc.c15('version', false);
110
+ tmp0_serialDesc.c15('algorithm', false);
111
+ tmp0_serialDesc.c15('publicKey', false);
112
+ tmp0_serialDesc.c15('blockAlgorithm', false);
113
+ tmp0_serialDesc.c15('blockHash', false);
114
+ tmp0_serialDesc.c15('timestamp', false);
115
+ this.y4t_1 = tmp0_serialDesc;
116
+ }
117
+ z4t(encoder, value) {
118
+ var tmp0_desc = this.y4t_1;
119
+ var tmp1_output = encoder.ox(tmp0_desc);
120
+ var tmp2_cached = Companion_getInstance_0().w4t_1;
121
+ tmp1_output.fz(tmp0_desc, 0, AttoVersionSerializer_getInstance(), value.version);
122
+ tmp1_output.fz(tmp0_desc, 1, tmp2_cached[1].g3(), value.algorithm);
123
+ tmp1_output.fz(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), value.publicKey);
124
+ tmp1_output.fz(tmp0_desc, 3, tmp2_cached[3].g3(), value.blockAlgorithm);
125
+ tmp1_output.fz(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), value.blockHash);
126
+ tmp1_output.fz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.timestamp);
127
+ tmp1_output.px(tmp0_desc);
128
+ }
129
+ at(encoder, value) {
130
+ return this.z4t(encoder, value instanceof AttoVote() ? value : THROW_CCE());
131
+ }
132
+ bt(decoder) {
133
+ var tmp0_desc = this.y4t_1;
130
134
  var tmp1_flag = true;
131
135
  var tmp2_index = 0;
132
136
  var tmp3_bitMask0 = 0;
@@ -136,71 +140,71 @@ function $serializer() {
136
140
  var tmp7_local3 = null;
137
141
  var tmp8_local4 = null;
138
142
  var tmp9_local5 = null;
139
- var tmp11_input = decoder.tx(tmp0_desc);
140
- var tmp12_cached = Companion_getInstance_0().n4t_1;
141
- if (tmp11_input.iy()) {
142
- tmp4_local0 = tmp11_input.fy(tmp0_desc, 0, AttoVersionSerializer_getInstance(), tmp4_local0);
143
+ var tmp11_input = decoder.ox(tmp0_desc);
144
+ var tmp12_cached = Companion_getInstance_0().w4t_1;
145
+ if (tmp11_input.dy()) {
146
+ tmp4_local0 = tmp11_input.ay(tmp0_desc, 0, AttoVersionSerializer_getInstance(), tmp4_local0);
143
147
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
144
- tmp5_local1 = tmp11_input.fy(tmp0_desc, 1, tmp12_cached[1].g3(), tmp5_local1);
148
+ tmp5_local1 = tmp11_input.ay(tmp0_desc, 1, tmp12_cached[1].g3(), tmp5_local1);
145
149
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
146
- tmp6_local2 = tmp11_input.fy(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
150
+ tmp6_local2 = tmp11_input.ay(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
147
151
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
148
- tmp7_local3 = tmp11_input.fy(tmp0_desc, 3, tmp12_cached[3].g3(), tmp7_local3);
152
+ tmp7_local3 = tmp11_input.ay(tmp0_desc, 3, tmp12_cached[3].g3(), tmp7_local3);
149
153
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
150
- tmp8_local4 = tmp11_input.fy(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), tmp8_local4);
154
+ tmp8_local4 = tmp11_input.ay(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), tmp8_local4);
151
155
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
152
- tmp9_local5 = tmp11_input.fy(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
156
+ tmp9_local5 = tmp11_input.ay(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
153
157
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
154
158
  } else
155
159
  while (tmp1_flag) {
156
- tmp2_index = tmp11_input.jy(tmp0_desc);
160
+ tmp2_index = tmp11_input.ey(tmp0_desc);
157
161
  switch (tmp2_index) {
158
162
  case -1:
159
163
  tmp1_flag = false;
160
164
  break;
161
165
  case 0:
162
- tmp4_local0 = tmp11_input.fy(tmp0_desc, 0, AttoVersionSerializer_getInstance(), tmp4_local0);
166
+ tmp4_local0 = tmp11_input.ay(tmp0_desc, 0, AttoVersionSerializer_getInstance(), tmp4_local0);
163
167
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
164
168
  break;
165
169
  case 1:
166
- tmp5_local1 = tmp11_input.fy(tmp0_desc, 1, tmp12_cached[1].g3(), tmp5_local1);
170
+ tmp5_local1 = tmp11_input.ay(tmp0_desc, 1, tmp12_cached[1].g3(), tmp5_local1);
167
171
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
168
172
  break;
169
173
  case 2:
170
- tmp6_local2 = tmp11_input.fy(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
174
+ tmp6_local2 = tmp11_input.ay(tmp0_desc, 2, AttoPublicKeyAsStringSerializer_getInstance(), tmp6_local2);
171
175
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
172
176
  break;
173
177
  case 3:
174
- tmp7_local3 = tmp11_input.fy(tmp0_desc, 3, tmp12_cached[3].g3(), tmp7_local3);
178
+ tmp7_local3 = tmp11_input.ay(tmp0_desc, 3, tmp12_cached[3].g3(), tmp7_local3);
175
179
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
176
180
  break;
177
181
  case 4:
178
- tmp8_local4 = tmp11_input.fy(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), tmp8_local4);
182
+ tmp8_local4 = tmp11_input.ay(tmp0_desc, 4, AttoHashAsStringSerializer_getInstance(), tmp8_local4);
179
183
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
180
184
  break;
181
185
  case 5:
182
- tmp9_local5 = tmp11_input.fy(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
186
+ tmp9_local5 = tmp11_input.ay(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
183
187
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
184
188
  break;
185
189
  default:
186
- throw UnknownFieldException().av(tmp2_index);
190
+ throw UnknownFieldException().vu(tmp2_index);
187
191
  }
188
192
  }
189
- tmp11_input.ux(tmp0_desc);
190
- return AttoVote().s4t(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
193
+ tmp11_input.px(tmp0_desc);
194
+ return AttoVote().a4u(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
191
195
  }
192
- et() {
193
- return this.p4t_1;
196
+ zs() {
197
+ return this.y4t_1;
194
198
  }
195
- w15() {
196
- var tmp0_cached = Companion_getInstance_0().n4t_1;
199
+ r15() {
200
+ var tmp0_cached = Companion_getInstance_0().w4t_1;
197
201
  // Inline function 'kotlin.arrayOf' call
198
202
  // Inline function 'kotlin.js.unsafeCast' call
199
203
  // Inline function 'kotlin.js.asDynamic' call
200
204
  return [AttoVersionSerializer_getInstance(), tmp0_cached[1].g3(), AttoPublicKeyAsStringSerializer_getInstance(), tmp0_cached[3].g3(), AttoHashAsStringSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance()];
201
205
  }
202
206
  }
203
- protoOf($).x15 = typeParametersSerializers;
207
+ protoOf($).s15 = typeParametersSerializers;
204
208
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
205
209
  $serializerClass = $;
206
210
  }
@@ -213,13 +217,13 @@ function $serializer_getInstance() {
213
217
  return $serializer_instance;
214
218
  }
215
219
  function AttoVote$hash$delegate$lambda(this$0) {
216
- return () => hash(this$0.m4m());
220
+ return () => hash(this$0.d4m());
217
221
  }
218
222
  function AttoVote$_get_hash_$ref_apyrns() {
219
223
  return (p0) => p0.hash;
220
224
  }
221
225
  function AttoVote$_init_$lambda_d8h57x(this$0) {
222
- return () => hash(this$0.m4m());
226
+ return () => hash(this$0.d4m());
223
227
  }
224
228
  var AttoVoteClass;
225
229
  function AttoVote() {
@@ -234,28 +238,28 @@ function AttoVote() {
234
238
  this.blockHash = blockHash;
235
239
  this.timestamp = timestamp;
236
240
  var tmp = this;
237
- tmp.r4t_1 = lazy_0(AttoVote$hash$delegate$lambda(this));
241
+ tmp.c4t_1 = lazy_0(AttoVote$hash$delegate$lambda(this));
238
242
  }
239
- f3j() {
243
+ w3i() {
240
244
  return this.version;
241
245
  }
242
- r4k() {
246
+ i4k() {
243
247
  return this.algorithm;
244
248
  }
245
- p4k() {
249
+ g4k() {
246
250
  return this.publicKey;
247
251
  }
248
- t4t() {
252
+ b4u() {
249
253
  return this.blockAlgorithm;
250
254
  }
251
- u4t() {
255
+ c4u() {
252
256
  return this.blockHash;
253
257
  }
254
- b4m() {
258
+ s4l() {
255
259
  return this.timestamp;
256
260
  }
257
- w4l() {
258
- var tmp0 = this.r4t_1;
261
+ n4l() {
262
+ var tmp0 = this.c4t_1;
259
263
  var tmp = KProperty1();
260
264
  // Inline function 'kotlin.getValue' call
261
265
  getPropertyCallableRef('hash', 1, tmp, AttoVote$_get_hash_$ref_apyrns(), null);
@@ -273,7 +277,7 @@ function AttoVote() {
273
277
  var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(tmp0) & 65535);
274
278
  return uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other)) <= 0;
275
279
  }
276
- m4m() {
280
+ d4m() {
277
281
  // Inline function 'kotlin.apply' call
278
282
  var this_0 = new (Buffer())();
279
283
  writeAttoVersion(this_0, this.version);
@@ -284,25 +288,25 @@ function AttoVote() {
284
288
  writeInstant(this_0, this.timestamp);
285
289
  return this_0;
286
290
  }
287
- cf() {
291
+ bf() {
288
292
  return this.version;
289
293
  }
290
- df() {
294
+ cf() {
291
295
  return this.algorithm;
292
296
  }
293
- h4l() {
297
+ y4k() {
294
298
  return this.publicKey;
295
299
  }
296
- i4l() {
300
+ z4k() {
297
301
  return this.blockAlgorithm;
298
302
  }
299
- j4l() {
303
+ a4l() {
300
304
  return this.blockHash;
301
305
  }
302
- k4l() {
306
+ b4l() {
303
307
  return this.timestamp;
304
308
  }
305
- v4t(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) {
309
+ d4u(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) {
306
310
  return new (AttoVote())(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
307
311
  }
308
312
  copy(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, $super) {
@@ -312,7 +316,7 @@ function AttoVote() {
312
316
  blockAlgorithm = blockAlgorithm === VOID ? this.blockAlgorithm : blockAlgorithm;
313
317
  blockHash = blockHash === VOID ? this.blockHash : blockHash;
314
318
  timestamp = timestamp === VOID ? this.timestamp : timestamp;
315
- return $super === VOID ? this.v4t(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) : $super.v4t.call(this, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
319
+ return $super === VOID ? this.d4u(version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp) : $super.d4u.call(this, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp);
316
320
  }
317
321
  toString() {
318
322
  return 'AttoVote(version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', blockAlgorithm=' + this.blockAlgorithm.toString() + ', blockHash=' + this.blockHash.toString() + ', timestamp=' + this.timestamp.toString() + ')';
@@ -345,10 +349,10 @@ function AttoVote() {
345
349
  return false;
346
350
  return true;
347
351
  }
348
- static s4t(seen0, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, serializationConstructorMarker) {
352
+ static a4u(seen0, version, algorithm, publicKey, blockAlgorithm, blockHash, timestamp, serializationConstructorMarker) {
349
353
  Companion_getInstance_0();
350
354
  if (!(63 === (63 & seen0))) {
351
- throwMissingFieldException(seen0, 63, $serializer_getInstance().p4t_1);
355
+ throwMissingFieldException(seen0, 63, $serializer_getInstance().y4t_1);
352
356
  }
353
357
  var $this = createThis(this);
354
358
  $this.version = version;
@@ -358,14 +362,15 @@ function AttoVote() {
358
362
  $this.blockHash = blockHash;
359
363
  $this.timestamp = timestamp;
360
364
  var tmp = $this;
361
- tmp.r4t_1 = lazy_0(AttoVote$_init_$lambda_d8h57x($this));
365
+ tmp.c4t_1 = lazy_0(AttoVote$_init_$lambda_d8h57x($this));
362
366
  return $this;
363
367
  }
364
368
  get hash() {
365
- return this.w4l();
369
+ return this.n4l();
366
370
  }
367
371
  }
368
- initMetadataForClass($, 'AttoVote', VOID, VOID, [AttoHashable()], VOID, VOID, {0: $serializer_getInstance});
372
+ protoOf($).toByteArray = toByteArray;
373
+ initMetadataForClass($, 'AttoVote', VOID, VOID, [AttoHashable(), AttoSerializable()], VOID, VOID, {0: $serializer_getInstance});
369
374
  AttoVoteClass = $;
370
375
  }
371
376
  return AttoVoteClass;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVote.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Lazy.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["AttoVote$Companion$$childSerializers$<anonymous>","<get-finalTimestamp>","serializer","serialize","encoder","value","deserialize","childSerializers","AttoVote$hash$delegate$lambda","AttoVote$hash$delegate$lambda$lambda","AttoVote$<init>$lambda","AttoVote$<init>$lambda$lambda","version","algorithm","publicKey","blockAlgorithm","blockHash","timestamp","<get-version>","<get-algorithm>","<get-publicKey>","<get-blockAlgorithm>","<get-blockHash>","<get-timestamp>","<get-hash>","isFinal","isValid","toBuffer","result"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoVote.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Lazy.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UShort.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UInt.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.io.Buffer\nimport kotlinx.io.readByteArray\nimport kotlinx.serialization.KSerializer\nimport kotlinx.serialization.Serializable\nimport kotlinx.serialization.builtins.ByteArraySerializer\nimport kotlinx.serialization.descriptors.PrimitiveKind\nimport kotlinx.serialization.descriptors.PrimitiveSerialDescriptor\nimport kotlinx.serialization.encoding.Decoder\nimport kotlinx.serialization.encoding.Encoder\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable\ndata class AttoVote(\n val version: AttoVersion,\n val algorithm: AttoAlgorithm,\n val publicKey: AttoPublicKey,\n val blockAlgorithm: AttoAlgorithm,\n val blockHash: AttoHash,\n val timestamp: AttoInstant,\n) : AttoHashable,\n AttoSerializable {\n override val hash by lazy { toBuffer().hash() }\n\n companion object {\n val finalTimestamp = AttoInstant.fromEpochMilliseconds(Long.MAX_VALUE)\n }\n\n fun isFinal(): Boolean = timestamp == finalTimestamp\n\n fun isValid(): Boolean = version.value <= 0U\n\n @JsExport.Ignore\n override fun toBuffer(): Buffer =\n Buffer().apply {\n this.writeAttoVersion(version)\n this.writeAttoAlgorithm(algorithm)\n this.writeAttoPublicKey(publicKey)\n this.writeAttoAlgorithm(blockAlgorithm)\n this.writeAttoHash(blockHash)\n this.writeInstant(timestamp)\n }\n}\n\ndata class AttoSignedVote(\n val vote: AttoVote,\n val signature: AttoSignature,\n) : AttoHashable,\n AttoSerializable {\n override val hash by lazy { vote.hash }\n\n companion object {}\n\n fun isFinal() = vote.isFinal()\n\n fun isValid(): Boolean = vote.isValid() && signature.isValid(vote.publicKey, hash)\n\n override fun toBuffer(): Buffer =\n Buffer().apply {\n val serializedVote = vote.toBuffer()\n this.write(serializedVote, serializedVote.size)\n this.writeAttoSignature(signature)\n }\n}\n\nfun AttoVote.Companion.fromBuffer(buffer: Buffer): AttoVote =\n AttoVote(\n version = buffer.readAttoVersion(),\n algorithm = buffer.readAttoAlgorithm(),\n publicKey = buffer.readAttoPublicKey(),\n blockAlgorithm = buffer.readAttoAlgorithm(),\n blockHash = buffer.readAttoHash(),\n timestamp = buffer.readInstant(),\n )\n\nfun AttoSignedVote.Companion.fromBuffer(buffer: Buffer): AttoSignedVote {\n val vote = AttoVote.fromBuffer(buffer)\n return AttoSignedVote(\n vote = vote,\n signature = buffer.readAttoSignature(),\n )\n}\n\nobject AttoSignedVoteAsByteArraySerializer : KSerializer<AttoSignedVote> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoSignedVoteAsByteArray\", PrimitiveKind.BYTE)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoSignedVote,\n ) {\n encoder.encodeSerializableValue(ByteArraySerializer(), value.toBuffer().readByteArray())\n }\n\n override fun deserialize(decoder: Decoder): AttoSignedVote =\n AttoSignedVote.fromBuffer(decoder.decodeSerializableValue(ByteArraySerializer()).toBuffer())\n}\n",null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["AttoVote$Companion$$childSerializers$<anonymous>","<get-finalTimestamp>","serializer","serialize","encoder","value","deserialize","childSerializers","AttoVote$hash$delegate$lambda","AttoVote$hash$delegate$lambda$lambda","AttoVote$<init>$lambda","AttoVote$<init>$lambda$lambda","version","algorithm","publicKey","blockAlgorithm","blockHash","timestamp","<get-version>","<get-algorithm>","<get-publicKey>","<get-blockAlgorithm>","<get-blockHash>","<get-timestamp>","<get-hash>","isFinal","isValid","toBuffer","result"],"mappings":"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"}