@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
@@ -38,7 +38,7 @@ var imul = Math.imul;
38
38
  //region block: pre-declaration
39
39
  //endregion
40
40
  function checksum($this, algorithm, publicKey) {
41
- return AttoHasher_instance.e4m(5, [algorithm, publicKey]);
41
+ return AttoHasher_instance.v4l(5, [algorithm, publicKey]);
42
42
  }
43
43
  function checksum_0($this, algorithm, publicKey) {
44
44
  // Inline function 'kotlin.UByte.toByte' call
@@ -53,7 +53,7 @@ function toAlgorithmPublicKey($this, decoded) {
53
53
  // Inline function 'kotlin.toUByte' call
54
54
  var this_0 = decoded[0];
55
55
  var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
56
- var algorithm = tmp.h4m(tmp$ret$0);
56
+ var algorithm = tmp.y4l(tmp$ret$0);
57
57
  var publicKey = new (AttoPublicKey())(sliceArray(decoded, until(1, 33)));
58
58
  return to(algorithm, publicKey);
59
59
  }
@@ -69,17 +69,17 @@ function Companion() {
69
69
  var tmp = this;
70
70
  // Inline function 'kotlin.text.toRegex' call
71
71
  var this_0 = '^atto://[a-z2-7]{61}$';
72
- tmp.i4m_1 = Regex().oh(this_0);
73
- this.j4m_1 = 5;
72
+ tmp.z4l_1 = Regex().nh(this_0);
73
+ this.a4m_1 = 5;
74
74
  }
75
75
  isValid(value) {
76
- if (!this.i4m_1.ph(value)) {
76
+ if (!this.z4l_1.oh(value)) {
77
77
  return false;
78
78
  }
79
79
  var decoded = fromAddress(value);
80
80
  var _destruct__k2r9zo = toAlgorithmPublicKey(this, decoded);
81
- var algorithm = _destruct__k2r9zo.cf();
82
- var publicKey = _destruct__k2r9zo.df();
81
+ var algorithm = _destruct__k2r9zo.bf();
82
+ var publicKey = _destruct__k2r9zo.cf();
83
83
  var checksum = sliceArray(decoded, until(33, decoded.length));
84
84
  return contentEquals(checksum, checksum_0(this, algorithm, publicKey));
85
85
  }
@@ -106,11 +106,11 @@ function Companion() {
106
106
  // Inline function 'kotlin.toUByte' call
107
107
  var this_0 = serialized[0];
108
108
  var tmp$ret$0 = _UByte___init__impl__g9hnc4(this_0);
109
- var algorithm = tmp.h4m(tmp$ret$0);
109
+ var algorithm = tmp.y4l(tmp$ret$0);
110
110
  var publicKey = new (AttoPublicKey())(sliceArray(serialized, until(1, serialized.length)));
111
111
  return new (AttoAddress())(algorithm, publicKey);
112
112
  }
113
- parse(value) {
113
+ yq(value) {
114
114
  var address = startsWith(value, 'atto://') ? value : 'atto://' + value;
115
115
  // Inline function 'kotlin.require' call
116
116
  if (!this.isValid(address)) {
@@ -118,14 +118,14 @@ function Companion() {
118
118
  throw IllegalArgumentException().s2(toString(message));
119
119
  }
120
120
  var _destruct__k2r9zo = toAlgorithmPublicKey_0(this, address);
121
- var algorithm = _destruct__k2r9zo.cf();
122
- var publicKey = _destruct__k2r9zo.df();
121
+ var algorithm = _destruct__k2r9zo.bf();
122
+ var publicKey = _destruct__k2r9zo.cf();
123
123
  return new (AttoAddress())(algorithm, publicKey);
124
124
  }
125
125
  parsePath(path) {
126
- return this.parse(path);
126
+ return this.yq(path);
127
127
  }
128
- i1h() {
128
+ b1h() {
129
129
  return AttoAddressAsStringSerializer_getInstance();
130
130
  }
131
131
  }
@@ -140,6 +140,9 @@ function Companion_getInstance_0() {
140
140
  new (Companion())();
141
141
  return Companion_instance;
142
142
  }
143
+ function parse(value) {
144
+ return Companion_getInstance_0().yq(value);
145
+ }
143
146
  var AttoAddressClass;
144
147
  function AttoAddress() {
145
148
  if (AttoAddressClass === VOID) {
@@ -152,44 +155,44 @@ function AttoAddress() {
152
155
  this.path = Companion_getInstance_0().toAddressPath(this.algorithm, this.publicKey);
153
156
  this.value = this.schema + this.path;
154
157
  }
155
- r4k() {
158
+ i4k() {
156
159
  return this.algorithm;
157
160
  }
158
- p4k() {
161
+ g4k() {
159
162
  return this.publicKey;
160
163
  }
161
- k4m() {
164
+ b4m() {
162
165
  return this.schema;
163
166
  }
164
- l4m() {
167
+ c4m() {
165
168
  return this.path;
166
169
  }
167
170
  g3() {
168
171
  return this.value;
169
172
  }
170
- m4m() {
173
+ d4m() {
171
174
  // Inline function 'kotlin.apply' call
172
175
  var this_0 = new (Buffer())();
173
176
  writeUByte(this_0, this.algorithm.code);
174
- this_0.l2j(this.publicKey.value, 0, this.publicKey.value.length);
177
+ this_0.c2j(this.publicKey.value, 0, this.publicKey.value.length);
175
178
  return this_0;
176
179
  }
177
180
  toString() {
178
181
  return this.value;
179
182
  }
180
- cf() {
183
+ bf() {
181
184
  return this.algorithm;
182
185
  }
183
- df() {
186
+ cf() {
184
187
  return this.publicKey;
185
188
  }
186
- n4m(algorithm, publicKey) {
189
+ e4m(algorithm, publicKey) {
187
190
  return new (AttoAddress())(algorithm, publicKey);
188
191
  }
189
192
  copy(algorithm, publicKey, $super) {
190
193
  algorithm = algorithm === VOID ? this.algorithm : algorithm;
191
194
  publicKey = publicKey === VOID ? this.publicKey : publicKey;
192
- return $super === VOID ? this.n4m(algorithm, publicKey) : $super.n4m.call(this, algorithm, publicKey);
195
+ return $super === VOID ? this.e4m(algorithm, publicKey) : $super.e4m.call(this, algorithm, publicKey);
193
196
  }
194
197
  hashCode() {
195
198
  var result = this.algorithm.hashCode();
@@ -222,19 +225,19 @@ function AttoAddressAsStringSerializer() {
222
225
  class $ {
223
226
  constructor() {
224
227
  AttoAddressAsStringSerializer_instance = this;
225
- this.o4m_1 = PrimitiveSerialDescriptor('AttoAddressAsString', STRING_getInstance());
228
+ this.f4m_1 = PrimitiveSerialDescriptor('AttoAddressAsString', STRING_getInstance());
226
229
  }
227
- et() {
228
- return this.o4m_1;
230
+ zs() {
231
+ return this.f4m_1;
229
232
  }
230
- p4m(encoder, value) {
231
- encoder.xy(value.toString());
233
+ g4m(encoder, value) {
234
+ encoder.sy(value.toString());
232
235
  }
233
- ft(encoder, value) {
234
- return this.p4m(encoder, value instanceof AttoAddress() ? value : THROW_CCE());
236
+ at(encoder, value) {
237
+ return this.g4m(encoder, value instanceof AttoAddress() ? value : THROW_CCE());
235
238
  }
236
- gt(decoder) {
237
- return Companion_getInstance_0().parse(decoder.ox());
239
+ bt(decoder) {
240
+ return Companion_getInstance_0().yq(decoder.jx());
238
241
  }
239
242
  }
240
243
  initMetadataForObject($, 'AttoAddressAsStringSerializer', VOID, VOID, [KSerializer()]);
@@ -253,7 +256,7 @@ function fromAddress(_this__u8e3s4) {
253
256
  // Inline function 'kotlin.text.uppercase' call
254
257
  // Inline function 'kotlin.js.asDynamic' call
255
258
  var tmp$ret$1 = substring(_this__u8e3s4, 7).toUpperCase();
256
- return tmp.s4m(tmp$ret$1 + '===');
259
+ return tmp.j4m(tmp$ret$1 + '===');
257
260
  }
258
261
  function toAddressPath(_this__u8e3s4) {
259
262
  // Inline function 'kotlin.require' call
@@ -263,13 +266,14 @@ function toAddressPath(_this__u8e3s4) {
263
266
  }
264
267
  // Inline function 'kotlin.text.lowercase' call
265
268
  // Inline function 'kotlin.js.asDynamic' call
266
- return replace(Base32_getInstance().t4m(_this__u8e3s4), '=', '').toLowerCase();
269
+ return replace(Base32_getInstance().k4m(_this__u8e3s4), '=', '').toLowerCase();
267
270
  }
268
271
  //region block: exports
269
272
  export {
270
273
  Companion as Companionbjcqn3f8pqzu,
271
274
  AttoAddress as AttoAddressi1gjrmqbg81z,
272
275
  toAddress as toAddress3631euu7evnij,
276
+ parse as parse1f2naevhetf25,
273
277
  Companion_getInstance_0 as Companion_getInstance1473mqafveo6d,
274
278
  AttoAddressAsStringSerializer_getInstance as AttoAddressAsStringSerializer_getInstance24yl5bwdaz5bm,
275
279
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAddress.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/text/regex/RegexExtensions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Preconditions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/text/stringJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","algorithm","publicKey","toAlgorithmPublicKey","decoded","value","isValid","isValidPath","path","toAddressPath","parse","serialized","address","message","parsePath","serializer","<get-algorithm>","<get-publicKey>","<get-schema>","<get-path>","<get-value>","toBuffer","toString","result","toAddress","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder","fromAddress"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAddress.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/unsigned/src/kotlin/UByte.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/builtins/Library.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/text/regex/RegexExtensions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/generated/_ArraysJs.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Preconditions.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/src/kotlin/util/Standard.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/js/src/kotlin/text/stringJs.kt"],"sourcesContent":["@file:JvmName(\"AttoAddresses\")\n\npackage cash.atto.commons\n\nimport cash.atto.commons.utils.Base32\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.io.Buffer\nimport kotlinx.io.readByteArray\nimport kotlinx.io.writeUByte\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.ExperimentalJsStatic\nimport kotlin.js.JsExport\nimport kotlin.js.JsName\nimport kotlin.js.JsStatic\nimport kotlin.jvm.JvmName\n\nprivate const val SCHEMA = \"atto://\"\n\nprivate fun ByteArray.toAddressPath(): String {\n require(this.size == 38) { \"ByteArray should have 38 bytes\" }\n return Base32.encode(this).replace(\"=\", \"\").lowercase()\n}\n\nprivate fun String.fromAddress(): ByteArray = Base32.decode(this.substring(SCHEMA.length).uppercase() + \"===\")\n\n@OptIn(ExperimentalJsExport::class)\n@JsExportForJs\n@Serializable(with = AttoAddressAsStringSerializer::class)\ndata class AttoAddress(\n val algorithm: AttoAlgorithm,\n val publicKey: AttoPublicKey,\n) {\n val schema = SCHEMA\n val path = toAddressPath(algorithm, publicKey)\n val value = schema + path\n\n companion object {\n private val regex = \"^$SCHEMA[a-z2-7]{61}$\".toRegex()\n private const val CHECKSUM_SIZE = 5\n\n private fun checksum(\n algorithm: ByteArray,\n publicKey: ByteArray,\n ): ByteArray =\n AttoHasher.hash(\n CHECKSUM_SIZE,\n algorithm,\n publicKey,\n )\n\n private fun checksum(\n algorithm: AttoAlgorithm,\n publicKey: AttoPublicKey,\n ): ByteArray = checksum(byteArrayOf(algorithm.code.toByte()), publicKey.value)\n\n private fun toAlgorithmPublicKey(decoded: ByteArray): Pair<AttoAlgorithm, AttoPublicKey> {\n val algorithm = AttoAlgorithm.from(decoded[0].toUByte())\n val publicKey = AttoPublicKey(decoded.sliceArray(1 until 33))\n\n return algorithm to publicKey\n }\n\n private fun toAlgorithmPublicKey(value: String): Pair<AttoAlgorithm, AttoPublicKey> = toAlgorithmPublicKey(value.fromAddress())\n\n fun isValid(value: String): Boolean {\n if (!regex.matches(value)) {\n return false\n }\n val decoded = value.fromAddress()\n\n val (algorithm, publicKey) = toAlgorithmPublicKey(decoded)\n val checksum = decoded.sliceArray(33 until decoded.size)\n\n return checksum.contentEquals(checksum(algorithm, publicKey))\n }\n\n fun isValidPath(path: String): Boolean {\n val value = SCHEMA + path\n return isValid(value)\n }\n\n fun toAddressPath(\n algorithm: AttoAlgorithm,\n publicKey: AttoPublicKey,\n ): String {\n val algorithm = byteArrayOf(algorithm.code.toByte())\n val publicKey = publicKey.value\n val checksum = checksum(algorithm, publicKey)\n\n return (algorithm + publicKey + checksum).toAddressPath()\n }\n\n @JsName(\"parseSerialized\")\n fun parse(serialized: ByteArray): AttoAddress {\n val algorithm = AttoAlgorithm.from(serialized[0].toUByte())\n val publicKey = AttoPublicKey(serialized.sliceArray(1 until serialized.size))\n return AttoAddress(algorithm, publicKey)\n }\n\n @OptIn(ExperimentalJsStatic::class)\n @JsStatic\n fun parse(value: String): AttoAddress {\n val address = if (value.startsWith(SCHEMA)) value else SCHEMA + value\n require(isValid(address)) { \"$value is invalid\" }\n\n val (algorithm, publicKey) = toAlgorithmPublicKey(address)\n\n return AttoAddress(algorithm, publicKey)\n }\n\n @Deprecated(\"Use parse instead\", ReplaceWith(\"parse(path)\"))\n fun parsePath(path: String): AttoAddress = parse(path)\n }\n\n @JsExport.Ignore\n fun toBuffer(): Buffer =\n Buffer().apply {\n this.writeUByte(algorithm.code)\n this.write(publicKey.value, 0, publicKey.value.size)\n }\n\n override fun toString(): String = value\n}\n\n@JsExportForJs\nfun AttoPublicKey.toAddress(algorithm: AttoAlgorithm): AttoAddress = AttoAddress(algorithm, this)\n\nobject AttoAddressAsStringSerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsString\", PrimitiveKind.STRING)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeString(value.toString())\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeString())\n}\n\nobject AttoAddressAsPathStringSerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsPathString\", PrimitiveKind.STRING)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeString(value.path)\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeString())\n}\n\nobject AttoAddressAsByteArraySerializer : KSerializer<AttoAddress> {\n override val descriptor = PrimitiveSerialDescriptor(\"AttoAddressAsByteArray\", PrimitiveKind.BYTE)\n\n override fun serialize(\n encoder: Encoder,\n value: AttoAddress,\n ) {\n encoder.encodeSerializableValue(ByteArraySerializer(), value.toBuffer().readByteArray())\n }\n\n override fun deserialize(decoder: Decoder): AttoAddress = AttoAddress.parse(decoder.decodeSerializableValue(ByteArraySerializer()))\n}\n",null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["checksum","algorithm","publicKey","toAlgorithmPublicKey","decoded","value","isValid","isValidPath","path","toAddressPath","parse","serialized","address","message","parsePath","serializer","<get-algorithm>","<get-publicKey>","<get-schema>","<get-path>","<get-value>","toBuffer","toString","result","toAddress","<this>","<get-descriptor>","serialize","encoder","deserialize","decoder","fromAddress"],"mappings":"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"}
@@ -25,7 +25,7 @@ import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotl
25
25
  //region block: pre-declaration
26
26
  //endregion
27
27
  function _get_$cachedSerializer__te6jhj($this) {
28
- return $this.p4j_1.g3();
28
+ return $this.g4j_1.g3();
29
29
  }
30
30
  function AttoAlgorithm$Companion$_anonymous__z50osy() {
31
31
  return createSimpleEnumSerializer('cash.atto.commons.AttoAlgorithm', values());
@@ -42,20 +42,20 @@ function Companion() {
42
42
  var this_0 = get_entries();
43
43
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
44
44
  // Inline function 'kotlin.collections.associateByTo' call
45
- var destination = LinkedHashMap().lc(capacity);
45
+ var destination = LinkedHashMap().hc(capacity);
46
46
  var _iterator__ex2g4s = this_0.q1();
47
47
  while (_iterator__ex2g4s.r1()) {
48
48
  var element = _iterator__ex2g4s.s1();
49
49
  var tmp$ret$0 = new (UByte())(element.code);
50
- destination.v4(tmp$ret$0, element);
50
+ destination.t4(tmp$ret$0, element);
51
51
  }
52
- tmp.o4j_1 = destination;
52
+ tmp.f4j_1 = destination;
53
53
  var tmp_0 = this;
54
54
  var tmp_1 = LazyThreadSafetyMode_PUBLICATION_getInstance();
55
- tmp_0.p4j_1 = lazy(tmp_1, AttoAlgorithm$Companion$_anonymous__z50osy);
55
+ tmp_0.g4j_1 = lazy(tmp_1, AttoAlgorithm$Companion$_anonymous__z50osy);
56
56
  }
57
- h4m(code) {
58
- var tmp0_elvis_lhs = this.o4j_1.s4(new (UByte())(code));
57
+ y4l(code) {
58
+ var tmp0_elvis_lhs = this.f4j_1.o4(new (UByte())(code));
59
59
  var tmp;
60
60
  if (tmp0_elvis_lhs == null) {
61
61
  throw IllegalArgumentException().s2('Unsupported algorithm ' + new (UByte())(code) + ' code');
@@ -64,11 +64,11 @@ function Companion() {
64
64
  }
65
65
  return tmp;
66
66
  }
67
- i1h() {
67
+ b1h() {
68
68
  return _get_$cachedSerializer__te6jhj(this);
69
69
  }
70
- i16(typeParamsSerializers) {
71
- return this.i1h();
70
+ d16(typeParamsSerializers) {
71
+ return this.b1h();
72
72
  }
73
73
  }
74
74
  initMetadataForCompanion($, VOID, [SerializerFactory()]);
@@ -119,23 +119,23 @@ function AttoAlgorithm() {
119
119
  this.publicKeySize = publicKeySize;
120
120
  this.hashSize = hashSize;
121
121
  }
122
- u4m() {
122
+ l4m() {
123
123
  return this.code;
124
124
  }
125
- v4m() {
125
+ m4m() {
126
126
  return this.privateKeySize;
127
127
  }
128
- w4m() {
128
+ n4m() {
129
129
  return this.publicKeySize;
130
130
  }
131
- x4m() {
131
+ o4m() {
132
132
  return this.hashSize;
133
133
  }
134
134
  get name() {
135
135
  return this.i1();
136
136
  }
137
137
  get ordinal() {
138
- return this.d5();
138
+ return this.z4();
139
139
  }
140
140
  }
141
141
  initMetadataForClass($, 'AttoAlgorithm', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance});
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAlgorithm.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/common/src/generated/_Collections.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-$cachedSerializer>","AttoAlgorithm$Companion$<anonymous>","capacity","element","from","code","serializer","values","valueOf","value","<get-entries>","privateKeySize","publicKeySize","hashSize","<get-code>","<get-privateKeySize>","<get-publicKeySize>","<get-hashSize>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;uCAkBIA,CAAA,KAAAA,EAAA;A,EAAA,uB;AAMA,C;mDANAC,CAAAA,EAAA;A,EAAA,8E;AAMA,C;;;;;;;;kBAL4C,I;;qBAAR,a;YCgrCpCC,WAAwD,cAAzC,YAAY,gCAAwB,EAAxB,CAAZ,CAAyC,EAAc,EAAd,C;;0BACnC,mBAAoB,QAApB,C;YA4BL,oBA5BT,MA4BS,K;eAAA,sB,EAAM;A,cAAjBC,UAAW,sB;wCACgB,O,CD9sCwB,I;UC8sCpD,WAAY,IAAI,SAAJ,EAA0B,OAA1B,C;QAChB,C;QD/sC4C,YCgtCrC,W;oBDjtCP,I;oBAAA,8C;QAAA,qE;;SAKIC,CAASC,IAATD,EAAuC;A,YAAA,6CAAI,IAAJ,E;;QAAA,2B;UAAa,oCAAgC,wBAAhC,iBAAuD,IAAvD,IAA2D,OAA3D,C;;gBAAb,c;;QAA+E,U;MAAD,C;SALzHE,CAAAA,EAAA;A,QAAA,2C;MAMA,C;SANAA,C,qBAAAA,EAAA;A,QAAA,iB;MAMA,C;;;;;;;;;;;;;;eAxBJC,CAAAA,E;;C;gBAAAC,CAOAC,KAPAD,E;;;;;;;C;oBAAAE,CAAAA,E;;;;C;;;;;;oDAAA,I,EAAA,C,EAeO,8B,EAAI,E,EAAI,E,EAAI,E;;;;;;;;iCALfL,I,EACAM,c,EACAC,a,EACAC,Q;;QAHA,gB;QACA,oC;QACA,kC;QACA,wB;;SAHAC,CAAAA,EAAA;A,QAAA,gB;MAAc,C;SACdC,CAAAA,EAAA;A,QAAA,0B;MAAsB,C;SACtBC,CAAAA,EAAA;A,QAAA,yB;MAAqB,C;SACrBC,CAAAA,EAAA;A,QAAA,oB;MAAgB,C;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../commons-core/src/commonMain/kotlin/cash/atto/commons/AttoAlgorithm.kt","../../../../../commons-test/build/compileSync/js/main/productionLibrary/kotlin/commons-commons-core/cash/atto/commons/common/src/generated/_Collections.kt"],"sourcesContent":["package cash.atto.commons\n\nimport cash.atto.commons.utils.JsExportForJs\nimport kotlinx.serialization.Serializable\nimport kotlin.js.ExperimentalJsExport\nimport kotlin.js.JsExport\n\n@JsExportForJs\n@Serializable\nenum class AttoAlgorithm(\n val code: UByte,\n val privateKeySize: Int,\n val publicKeySize: Int,\n val hashSize: Int,\n) {\n V1(0u, 32, 32, 32), // BLAKE2B + ED25519\n ;\n\n companion object {\n private val map = AttoAlgorithm.entries.associateBy(AttoAlgorithm::code)\n\n @OptIn(ExperimentalJsExport::class)\n @JsExport.Ignore\n fun from(code: UByte): AttoAlgorithm = map[code] ?: throw IllegalArgumentException(\"Unsupported algorithm $code code\")\n }\n}\n",null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-$cachedSerializer>","AttoAlgorithm$Companion$<anonymous>","capacity","element","from","code","serializer","values","valueOf","value","<get-entries>","privateKeySize","publicKeySize","hashSize","<get-code>","<get-privateKeySize>","<get-publicKeySize>","<get-hashSize>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;uCAkBIA,CAAA,KAAAA,EAAA;A,EAAA,uB;AAMA,C;mDANAC,CAAAA,EAAA;A,EAAA,8E;AAMA,C;;;;;;;;kBAL4C,I;;qBAAR,a;YCgrCpCC,WAAwD,cAAzC,YAAY,gCAAwB,EAAxB,CAAZ,CAAyC,EAAc,EAAd,C;;0BACnC,mBAAoB,QAApB,C;YA4BL,oBA5BT,MA4BS,K;eAAA,sB,EAAM;A,cAAjBC,UAAW,sB;wCACgB,O,CD9sCwB,I;UC8sCpD,WAAY,IAAI,SAAJ,EAA0B,OAA1B,C;QAChB,C;QD/sC4C,YCgtCrC,W;oBDjtCP,I;oBAAA,8C;QAAA,qE;;SAKIC,CAASC,IAATD,EAAuC;A,YAAA,6CAAI,IAAJ,E;;QAAA,2B;UAAa,oCAAgC,wBAAhC,iBAAuD,IAAvD,IAA2D,OAA3D,C;;gBAAb,c;;QAA+E,U;MAAD,C;SALzHE,CAAAA,EAAA;A,QAAA,2C;MAMA,C;SANAA,C,qBAAAA,EAAA;A,QAAA,iB;MAMA,C;;;;;;;;;;;;;;eAxBJC,CAAAA,E;;C;gBAAAC,CAOAC,KAPAD,E;;;;;;;C;oBAAAE,CAAAA,E;;;;C;;;;;;oDAAA,I,EAAA,C,EAeO,8B,EAAI,E,EAAI,E,EAAI,E;;;;;;;;iCALfL,I,EACAM,c,EACAC,a,EACAC,Q;;QAHA,gB;QACA,oC;QACA,kC;QACA,wB;;SAHAC,CAAAA,EAAA;A,QAAA,gB;MAAc,C;SACdC,CAAAA,EAAA;A,QAAA,0B;MAAsB,C;SACtBC,CAAAA,EAAA;A,QAAA,yB;MAAqB,C;SACrBC,CAAAA,EAAA;A,QAAA,oB;MAAgB,C;;;;;;;;;;;;;;;;;;;;;"}
@@ -23,8 +23,7 @@ export declare namespace AttoUnit {
23
23
  }
24
24
  }
25
25
  export declare class AttoAmount /* implements Comparable<AttoAmount> */ {
26
- constructor(raw: bigint);
27
- get raw(): bigint;
26
+ private constructor();
28
27
  toFormattedString(unit: AttoUnit): string;
29
28
  plus(amount: AttoAmount): AttoAmount;
30
29
  minus(amount: AttoAmount): AttoAmount;
@@ -32,6 +31,8 @@ export declare class AttoAmount /* implements Comparable<AttoAmount> */ {
32
31
  copy(raw?: bigint): AttoAmount;
33
32
  hashCode(): number;
34
33
  equals(other: Nullable<any>): boolean;
34
+ static get MAX(): AttoAmount;
35
+ static get MIN(): AttoAmount;
35
36
  static from(unit: AttoUnit, string: string): AttoAmount;
36
37
  }
37
38
  export declare namespace AttoAmount {
@@ -46,8 +47,6 @@ export declare namespace AttoAmount {
46
47
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
47
48
  namespace $metadata$ {
48
49
  abstract class constructor {
49
- get MAX(): AttoAmount;
50
- get MIN(): AttoAmount;
51
50
  private constructor();
52
51
  }
53
52
  }
@@ -6,6 +6,8 @@ import {
6
6
  AttoUnit_RAW_getInstance11a119riojt51 as AttoUnit_RAW_getInstance,
7
7
  AttoAmount28z2ffm4ih7im as AttoAmount,
8
8
  from3jnisfe2fcztd as from,
9
+ get_MAX2zywb5v5icuoh as get_MAX,
10
+ get_MINrg1454zqj3dr as get_MIN,
9
11
  Companion311shwy120dnf as Companion,
10
12
  Companion_getInstance28cx33iqjvgos as Companion_getInstance,
11
13
  toAttoAmount2kbgjtdbld3yn as toAttoAmount,
@@ -24,6 +26,8 @@ defineProp(AttoUnit_0, 'ATTO', AttoUnit_ATTO_getInstance, VOID, true);
24
26
  defineProp(AttoUnit_0, 'RAW', AttoUnit_RAW_getInstance, VOID, true);
25
27
  var AttoAmount_0 = AttoAmount();
26
28
  AttoAmount_0.from = from;
29
+ defineProp(AttoAmount_0, 'MAX', get_MAX, VOID, true);
30
+ defineProp(AttoAmount_0, 'MIN', get_MIN, VOID, true);
27
31
  defineProp(AttoAmount_0, 'Companion', Companion_getInstance, VOID, true);
28
32
  export {
29
33
  AttoUnit_0 as AttoUnit,
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -81,19 +81,19 @@ function AttoUnit() {
81
81
  constructor(name, ordinal, prefix, scale) {
82
82
  super(name, ordinal);
83
83
  this.prefix = prefix;
84
- this.a4n_1 = scale;
84
+ this.r4m_1 = scale;
85
85
  }
86
- b4n() {
86
+ s4m() {
87
87
  return this.prefix;
88
88
  }
89
- c4n() {
90
- return this.a4n_1;
89
+ t4m() {
90
+ return this.r4m_1;
91
91
  }
92
92
  get name() {
93
93
  return this.i1();
94
94
  }
95
95
  get ordinal() {
96
- return this.d5();
96
+ return this.z4();
97
97
  }
98
98
  }
99
99
  initMetadataForClass($, 'AttoUnit');
@@ -128,21 +128,21 @@ function Companion() {
128
128
  class $ {
129
129
  constructor() {
130
130
  Companion_instance = this;
131
- this.d4n_1 = _ULong___init__impl__c78o9k(-446744073709551616n);
132
- this.MAX = new (AttoAmount())(this.d4n_1);
133
- this.e4n_1 = _ULong___init__impl__c78o9k(0n);
134
- this.MIN = new (AttoAmount())(this.e4n_1);
131
+ this.u4m_1 = _ULong___init__impl__c78o9k(-446744073709551616n);
132
+ this.v4m_1 = new (AttoAmount())(this.u4m_1);
133
+ this.w4m_1 = _ULong___init__impl__c78o9k(0n);
134
+ this.x4m_1 = new (AttoAmount())(this.w4m_1);
135
135
  }
136
- f4n() {
137
- return this.MAX;
136
+ y4m() {
137
+ return this.v4m_1;
138
138
  }
139
- g4n() {
140
- return this.MIN;
139
+ z4m() {
140
+ return this.x4m_1;
141
141
  }
142
- h4n(unit, string) {
142
+ a4n(unit, string) {
143
143
  var parts = split(string, charArrayOf([_Char___init__impl__6a9atx(46)]));
144
144
  var wholePart = toULong(parts.v2(0));
145
- var factor = scaleFactor(this, unit.a4n_1);
145
+ var factor = scaleFactor(this, unit.r4m_1);
146
146
  // Inline function 'kotlin.ULong.times' call
147
147
  var scaledValue = _ULong___init__impl__c78o9k(multiply(_ULong___get_data__impl__fggpzb(wholePart), _ULong___get_data__impl__fggpzb(factor)));
148
148
  if (parts.u2() > 1) {
@@ -161,7 +161,7 @@ function Companion() {
161
161
  }
162
162
  return new (AttoAmount())(scaledValue);
163
163
  }
164
- i1h() {
164
+ b1h() {
165
165
  return AttoAmountAsULongSerializer_getInstance();
166
166
  }
167
167
  }
@@ -176,8 +176,14 @@ function Companion_getInstance_0() {
176
176
  new (Companion())();
177
177
  return Companion_instance;
178
178
  }
179
+ function get_MAX() {
180
+ return Companion_getInstance_0().v4m_1;
181
+ }
182
+ function get_MIN() {
183
+ return Companion_getInstance_0().x4m_1;
184
+ }
179
185
  function from(unit, string) {
180
- return Companion_getInstance_0().h4n(unit, string);
186
+ return Companion_getInstance_0().a4n(unit, string);
181
187
  }
182
188
  var AttoAmountClass;
183
189
  function AttoAmount() {
@@ -185,24 +191,24 @@ function AttoAmount() {
185
191
  class $ {
186
192
  constructor(raw) {
187
193
  Companion_getInstance_0();
188
- this.raw = raw;
189
- var tmp0 = this.raw;
194
+ this.b4n_1 = raw;
195
+ var tmp0 = this.b4n_1;
190
196
  // Inline function 'kotlin.ULong.compareTo' call
191
- var other = Companion_getInstance_0().d4n_1;
197
+ var other = Companion_getInstance_0().u4m_1;
192
198
  if (ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) > 0) {
193
- throw IllegalStateException().o('' + new (ULong())(this.raw) + ' exceeds the max amount of ' + new (ULong())(Companion_getInstance_0().d4n_1));
199
+ throw IllegalStateException().o('' + new (ULong())(this.b4n_1) + ' exceeds the max amount of ' + new (ULong())(Companion_getInstance_0().u4m_1));
194
200
  }
195
201
  }
196
- i4n() {
197
- return this.raw;
202
+ c4n() {
203
+ return this.b4n_1;
198
204
  }
199
205
  toFormattedString(unit) {
200
- var factor = scaleFactor(Companion_getInstance_0(), unit.a4n_1);
206
+ var factor = scaleFactor(Companion_getInstance_0(), unit.r4m_1);
201
207
  // Inline function 'kotlin.ULong.div' call
202
- var this_0 = this.raw;
208
+ var this_0 = this.b4n_1;
203
209
  var wholePart = ulongDivide(this_0, factor);
204
210
  // Inline function 'kotlin.ULong.rem' call
205
- var this_1 = this.raw;
211
+ var this_1 = this.b4n_1;
206
212
  var fractionalPart = ulongRemainder(this_1, factor);
207
213
  var tmp;
208
214
  if (fractionalPart === _ULong___init__impl__c78o9k(0n)) {
@@ -210,7 +216,7 @@ function AttoAmount() {
210
216
  } else {
211
217
  var tmp_0 = ULong__toString_impl_f9au7k(fractionalPart);
212
218
  // Inline function 'kotlin.UByte.toInt' call
213
- var this_2 = unit.a4n_1;
219
+ var this_2 = unit.r4m_1;
214
220
  var tmp$ret$2 = _UByte___get_data__impl__jof9qr(this_2) & 255;
215
221
  var fractionalStr = trimEnd(padStart(tmp_0, tmp$ret$2, _Char___init__impl__6a9atx(48)), charArrayOf([_Char___init__impl__6a9atx(48)]));
216
222
  tmp = '' + new (ULong())(wholePart) + '.' + fractionalStr;
@@ -218,18 +224,18 @@ function AttoAmount() {
218
224
  return tmp;
219
225
  }
220
226
  plus(amount) {
221
- var tmp0 = this.raw;
227
+ var tmp0 = this.b4n_1;
222
228
  // Inline function 'kotlin.ULong.plus' call
223
- var other = amount.raw;
229
+ var other = amount.b4n_1;
224
230
  var total = _ULong___init__impl__c78o9k(add(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
225
231
  var tmp;
226
232
  // Inline function 'kotlin.ULong.compareTo' call
227
- var other_0 = this.raw;
233
+ var other_0 = this.b4n_1;
228
234
  if (ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_0)) < 0) {
229
235
  tmp = true;
230
236
  } else {
231
237
  // Inline function 'kotlin.ULong.compareTo' call
232
- var other_1 = amount.raw;
238
+ var other_1 = amount.b4n_1;
233
239
  tmp = ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_1)) < 0;
234
240
  }
235
241
  if (tmp) {
@@ -238,48 +244,48 @@ function AttoAmount() {
238
244
  return new (AttoAmount())(total);
239
245
  }
240
246
  minus(amount) {
241
- var tmp0 = this.raw;
247
+ var tmp0 = this.b4n_1;
242
248
  // Inline function 'kotlin.ULong.minus' call
243
- var other = amount.raw;
249
+ var other = amount.b4n_1;
244
250
  var total = _ULong___init__impl__c78o9k(subtract(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
245
251
  // Inline function 'kotlin.ULong.compareTo' call
246
- var other_0 = this.raw;
252
+ var other_0 = this.b4n_1;
247
253
  if (ulongCompare(_ULong___get_data__impl__fggpzb(total), _ULong___get_data__impl__fggpzb(other_0)) > 0) {
248
254
  throw IllegalStateException().o('ULong underflow');
249
255
  }
250
256
  return new (AttoAmount())(total);
251
257
  }
252
- j4n(other) {
253
- var tmp0 = this.raw;
258
+ d4n(other) {
259
+ var tmp0 = this.b4n_1;
254
260
  // Inline function 'kotlin.ULong.compareTo' call
255
- var other_0 = other.raw;
261
+ var other_0 = other.b4n_1;
256
262
  return ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
257
263
  }
258
264
  d(other) {
259
- return this.j4n(other instanceof AttoAmount() ? other : THROW_CCE());
265
+ return this.d4n(other instanceof AttoAmount() ? other : THROW_CCE());
260
266
  }
261
267
  toString() {
262
- return '' + new (ULong())(this.raw);
268
+ return '' + new (ULong())(this.b4n_1);
263
269
  }
264
- k4n() {
265
- return this.raw;
270
+ e4n() {
271
+ return this.b4n_1;
266
272
  }
267
- l4n(raw) {
273
+ f4n(raw) {
268
274
  return new (AttoAmount())(raw);
269
275
  }
270
276
  copy(raw, $super) {
271
- raw = raw === VOID ? this.raw : raw;
272
- return $super === VOID ? this.l4n(raw) : $super.l4n.call(this, new (ULong())(raw));
277
+ raw = raw === VOID ? this.b4n_1 : raw;
278
+ return $super === VOID ? this.f4n(raw) : $super.f4n.call(this, new (ULong())(raw));
273
279
  }
274
280
  hashCode() {
275
- return ULong__hashCode_impl_6hv2lb(this.raw);
281
+ return ULong__hashCode_impl_6hv2lb(this.b4n_1);
276
282
  }
277
283
  equals(other) {
278
284
  if (this === other)
279
285
  return true;
280
286
  if (!(other instanceof AttoAmount()))
281
287
  return false;
282
- if (!(this.raw === other.raw))
288
+ if (!(this.b4n_1 === other.b4n_1))
283
289
  return false;
284
290
  return true;
285
291
  }
@@ -298,19 +304,19 @@ function AttoAmountAsULongSerializer() {
298
304
  class $ {
299
305
  constructor() {
300
306
  AttoAmountAsULongSerializer_instance = this;
301
- this.m4n_1 = serializer(Companion_getInstance()).et();
307
+ this.g4n_1 = serializer(Companion_getInstance()).zs();
302
308
  }
303
- et() {
304
- return this.m4n_1;
309
+ zs() {
310
+ return this.g4n_1;
305
311
  }
306
- n4n(encoder, value) {
307
- serializer(Companion_getInstance()).ft(encoder, new (ULong())(value.raw));
312
+ h4n(encoder, value) {
313
+ serializer(Companion_getInstance()).at(encoder, new (ULong())(value.b4n_1));
308
314
  }
309
- ft(encoder, value) {
310
- return this.n4n(encoder, value instanceof AttoAmount() ? value : THROW_CCE());
315
+ at(encoder, value) {
316
+ return this.h4n(encoder, value instanceof AttoAmount() ? value : THROW_CCE());
311
317
  }
312
- gt(decoder) {
313
- return new (AttoAmount())(serializer(Companion_getInstance()).gt(decoder).ks_1);
318
+ bt(decoder) {
319
+ return new (AttoAmount())(serializer(Companion_getInstance()).bt(decoder).fs_1);
314
320
  }
315
321
  }
316
322
  initMetadataForObject($, 'AttoAmountAsULongSerializer', VOID, VOID, [KSerializer()]);
@@ -340,6 +346,8 @@ export {
340
346
  values as values3ntpkxfaw56c5,
341
347
  AttoUnit as AttoUnit3uf7k0bjq9xrg,
342
348
  toAttoAmount as toAttoAmount2kbgjtdbld3yn,
349
+ get_MAX as get_MAX2zywb5v5icuoh,
350
+ get_MIN as get_MINrg1454zqj3dr,
343
351
  from as from3jnisfe2fcztd,
344
352
  AttoUnit_ATTO_getInstance as AttoUnit_ATTO_getInstancew3eagleomrkc,
345
353
  AttoUnit_RAW_getInstance as AttoUnit_RAW_getInstance11a119riojt51,