@argent/x-shared 1.78.12 → 1.79.1

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 (504) hide show
  1. package/dist/.ts-temp/tsconfig.tsbuildinfo +1 -1
  2. package/dist/_virtual/_rolldown/runtime.cjs +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +20 -0
  4. package/dist/index.cjs +1 -1
  5. package/dist/index.js +112 -488
  6. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/_shortw_utils.cjs +1 -1
  7. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/_shortw_utils.js +11 -11
  8. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/curve.cjs +1 -1
  9. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/curve.js +62 -85
  10. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
  11. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/modular.js +153 -190
  12. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/poseidon.cjs +1 -1
  13. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/poseidon.js +56 -65
  14. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
  15. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/utils.js +125 -151
  16. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
  17. package/dist/node_modules/.pnpm/@noble_curves@1.0.0/node_modules/@noble/curves/esm/abstract/weierstrass.js +470 -575
  18. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  19. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/_assert.js +26 -40
  20. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/crypto.cjs +1 -1
  21. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/crypto.js +4 -4
  22. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
  23. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/hmac.js +38 -42
  24. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/utils.cjs +1 -1
  25. package/dist/node_modules/.pnpm/@noble_hashes@1.3.0/node_modules/@noble/hashes/esm/utils.js +28 -42
  26. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  27. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_assert.js +17 -26
  28. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
  29. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_sha2.js +52 -59
  30. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  31. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/_u64.js +20 -19
  32. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
  33. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha256.js +118 -113
  34. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
  35. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/sha3.js +95 -105
  36. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/utils.cjs +1 -1
  37. package/dist/node_modules/.pnpm/@noble_hashes@1.3.3/node_modules/@noble/hashes/esm/utils.js +26 -32
  38. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_md.cjs +1 -1
  39. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_md.js +71 -82
  40. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_u64.cjs +1 -1
  41. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_u64.js +20 -20
  42. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha2.cjs +1 -1
  43. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha2.js +125 -124
  44. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha3.cjs +1 -1
  45. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha3.js +102 -116
  46. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/utils.cjs +1 -1
  47. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/utils.js +62 -76
  48. package/dist/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.cjs +1 -1
  49. package/dist/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js +519 -614
  50. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.cjs +1 -1
  51. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js +15 -19
  52. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.cjs +1 -1
  53. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js +15 -19
  54. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.cjs +1 -1
  55. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js +6 -6
  56. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.cjs +1 -1
  57. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js +15 -19
  58. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.cjs +1 -1
  59. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js +5 -5
  60. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.cjs +1 -1
  61. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.js +10 -12
  62. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.cjs +1 -1
  63. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js +5 -5
  64. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.cjs +1 -1
  65. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.js +6 -7
  66. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludesWith.cjs +1 -1
  67. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludesWith.js +6 -8
  68. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.cjs +1 -1
  69. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js +7 -9
  70. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.cjs +1 -1
  71. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.js +6 -8
  72. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.cjs +1 -1
  73. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js +9 -9
  74. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.cjs +1 -1
  75. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.js +7 -7
  76. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.cjs +1 -1
  77. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.js +5 -5
  78. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.cjs +1 -1
  79. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js +10 -15
  80. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.cjs +1 -1
  81. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.js +26 -32
  82. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.cjs +1 -1
  83. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.js +5 -5
  84. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.cjs +1 -1
  85. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js +5 -5
  86. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.cjs +1 -1
  87. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.js +7 -7
  88. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.cjs +1 -1
  89. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js +4 -4
  90. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.cjs +1 -1
  91. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js +6 -6
  92. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.cjs +1 -1
  93. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js +8 -8
  94. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.cjs +1 -1
  95. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js +12 -13
  96. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.cjs +1 -1
  97. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js +5 -5
  98. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.cjs +1 -1
  99. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js +6 -6
  100. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.cjs +1 -1
  101. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js +6 -6
  102. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.cjs +1 -1
  103. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js +11 -11
  104. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.cjs +1 -1
  105. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js +8 -8
  106. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.cjs +1 -1
  107. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js +7 -7
  108. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.cjs +1 -1
  109. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js +6 -6
  110. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.cjs +1 -1
  111. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js +9 -9
  112. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.cjs +1 -1
  113. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js +5 -5
  114. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.cjs +1 -1
  115. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js +8 -11
  116. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.cjs +1 -1
  117. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js +7 -7
  118. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.cjs +1 -1
  119. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js +6 -6
  120. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.cjs +1 -1
  121. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js +6 -6
  122. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.cjs +1 -1
  123. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js +11 -11
  124. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.cjs +1 -1
  125. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js +7 -7
  126. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.cjs +1 -1
  127. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js +6 -6
  128. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.cjs +1 -1
  129. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js +6 -6
  130. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.cjs +1 -1
  131. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js +7 -7
  132. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.cjs +1 -1
  133. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js +4 -4
  134. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.cjs +1 -1
  135. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js +6 -6
  136. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.cjs +1 -1
  137. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js +4 -4
  138. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.cjs +1 -1
  139. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.js +6 -6
  140. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.cjs +1 -1
  141. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.js +5 -5
  142. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.cjs +1 -1
  143. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.js +8 -8
  144. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.cjs +1 -1
  145. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.js +6 -8
  146. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.cjs +1 -1
  147. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js +14 -16
  148. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.cjs +1 -1
  149. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js +5 -5
  150. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.cjs +1 -1
  151. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js +10 -11
  152. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.cjs +1 -1
  153. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js +6 -6
  154. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.cjs +1 -1
  155. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.js +4 -5
  156. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqWith.cjs +1 -1
  157. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqWith.js +6 -6
  158. package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.cjs +1 -1
  159. package/dist/node_modules/.pnpm/micro-starknet@0.2.3/node_modules/micro-starknet/lib/esm/index.js +121 -118
  160. package/dist/node_modules/.pnpm/numeral@2.0.6/node_modules/numeral/numeral.cjs +1 -1
  161. package/dist/node_modules/.pnpm/numeral@2.0.6/node_modules/numeral/numeral.js +377 -417
  162. package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.cjs +1 -1
  163. package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js +546 -635
  164. package/dist/paymaster.cjs +1 -1
  165. package/dist/paymaster.js +3 -9
  166. package/dist/simulation.cjs +1 -1
  167. package/dist/simulation.js +22 -90
  168. package/dist/src/account/account.model.cjs +1 -1
  169. package/dist/src/account/account.model.js +58 -52
  170. package/dist/src/account/accountv4.cjs +1 -1
  171. package/dist/src/account/accountv4.js +9 -11
  172. package/dist/src/account/preferences.model.cjs +1 -1
  173. package/dist/src/account/preferences.model.js +12 -10
  174. package/dist/src/accountNameGenerator/colors.cjs +1 -1
  175. package/dist/src/accountNameGenerator/colors.js +24 -24
  176. package/dist/src/accountNameGenerator/index.cjs +1 -1
  177. package/dist/src/accountNameGenerator/index.js +23 -23
  178. package/dist/src/accountNameGenerator/x-names.json.cjs +1 -1
  179. package/dist/src/accountNameGenerator/x-names.json.js +1922 -7
  180. package/dist/src/assets/tokens.json.cjs +1 -1
  181. package/dist/src/assets/tokens.json.js +180 -180
  182. package/dist/src/backend/schema.cjs +1 -1
  183. package/dist/src/backend/schema.js +9 -12
  184. package/dist/src/backend/sessionKeys/schema.cjs +1 -1
  185. package/dist/src/backend/sessionKeys/schema.js +27 -30
  186. package/dist/src/bigdecimal/constants.cjs +1 -1
  187. package/dist/src/bigdecimal/constants.js +6 -3
  188. package/dist/src/bigdecimal/createUnitsSchema.cjs +1 -1
  189. package/dist/src/bigdecimal/createUnitsSchema.js +7 -7
  190. package/dist/src/bigdecimal/formatUnits.cjs +1 -1
  191. package/dist/src/bigdecimal/formatUnits.js +9 -10
  192. package/dist/src/bigdecimal/index.cjs +1 -1
  193. package/dist/src/bigdecimal/index.js +45 -41
  194. package/dist/src/bigdecimal/lib.cjs +1 -1
  195. package/dist/src/bigdecimal/lib.js +105 -117
  196. package/dist/src/bigdecimal/parseUnits.cjs +1 -1
  197. package/dist/src/bigdecimal/parseUnits.js +18 -21
  198. package/dist/src/bigdecimal/utils.cjs +1 -1
  199. package/dist/src/bigdecimal/utils.js +33 -30
  200. package/dist/src/cache/CacheService.cjs +1 -1
  201. package/dist/src/cache/CacheService.js +32 -36
  202. package/dist/src/chains/starknet/address.cjs +1 -1
  203. package/dist/src/chains/starknet/address.js +73 -117
  204. package/dist/src/chains/starknet/addressDomain.cjs +1 -1
  205. package/dist/src/chains/starknet/addressDomain.js +14 -29
  206. package/dist/src/chains/starknet/addressInput.cjs +1 -1
  207. package/dist/src/chains/starknet/addressInput.js +6 -7
  208. package/dist/src/chains/starknet/argentName.cjs +1 -1
  209. package/dist/src/chains/starknet/argentName.js +10 -14
  210. package/dist/src/chains/starknet/cairoVersionSchema.cjs +1 -1
  211. package/dist/src/chains/starknet/cairoVersionSchema.js +5 -5
  212. package/dist/src/chains/starknet/constants.cjs +1 -1
  213. package/dist/src/chains/starknet/constants.js +4 -10
  214. package/dist/src/chains/starknet/getAddressFromArgentName.cjs +1 -1
  215. package/dist/src/chains/starknet/getAddressFromArgentName.js +38 -46
  216. package/dist/src/chains/starknet/getAddressFromStarkName.cjs +1 -1
  217. package/dist/src/chains/starknet/getAddressFromStarkName.js +59 -66
  218. package/dist/src/chains/starknet/network.cjs +1 -1
  219. package/dist/src/chains/starknet/network.js +20 -26
  220. package/dist/src/chains/starknet/services/address/StarknetAddressService.cjs +1 -1
  221. package/dist/src/chains/starknet/services/address/StarknetAddressService.js +31 -36
  222. package/dist/src/chains/starknet/services/deploymentData/constants.cjs +1 -1
  223. package/dist/src/chains/starknet/services/deploymentData/constants.js +14 -21
  224. package/dist/src/chains/starknet/services/deploymentData/deploymentData.schema.cjs +1 -1
  225. package/dist/src/chains/starknet/services/deploymentData/deploymentData.schema.js +15 -17
  226. package/dist/src/chains/starknet/services/deploymentData/findImplementationForAccount.cjs +1 -1
  227. package/dist/src/chains/starknet/services/deploymentData/findImplementationForAccount.js +61 -65
  228. package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.cjs +1 -1
  229. package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.js +46 -65
  230. package/dist/src/chains/starknet/starknetId.cjs +1 -1
  231. package/dist/src/chains/starknet/starknetId.js +10 -14
  232. package/dist/src/currencyFetchService/CurrencyFetchService.cjs +1 -1
  233. package/dist/src/currencyFetchService/CurrencyFetchService.js +13 -18
  234. package/dist/src/currencyFetchService/types.ts.cjs +1 -1
  235. package/dist/src/currencyFetchService/types.ts.js +9 -12
  236. package/dist/src/errors/account.cjs +1 -1
  237. package/dist/src/errors/account.js +12 -13
  238. package/dist/src/errors/address.cjs +1 -1
  239. package/dist/src/errors/address.js +11 -12
  240. package/dist/src/errors/baseErrors.cjs +1 -1
  241. package/dist/src/errors/baseErrors.js +14 -14
  242. package/dist/src/errors/call.cjs +1 -1
  243. package/dist/src/errors/call.js +12 -13
  244. package/dist/src/errors/network.cjs +1 -1
  245. package/dist/src/errors/network.js +11 -12
  246. package/dist/src/errors/review.cjs +1 -1
  247. package/dist/src/errors/review.js +11 -12
  248. package/dist/src/errors/swap.cjs +1 -1
  249. package/dist/src/errors/swap.js +12 -13
  250. package/dist/src/features/paymaster/IPaymasterService.d.ts +2 -1
  251. package/dist/src/features/paymaster/PaymasterService.cjs +1 -1
  252. package/dist/src/features/paymaster/PaymasterService.d.ts +3 -1
  253. package/dist/src/features/paymaster/PaymasterService.js +73 -86
  254. package/dist/src/features/paymaster/types.cjs +1 -1
  255. package/dist/src/features/paymaster/types.d.ts +20 -2
  256. package/dist/src/features/paymaster/types.js +41 -39
  257. package/dist/src/features/simulation/activity/normalize.cjs +1 -1
  258. package/dist/src/features/simulation/activity/normalize.js +36 -38
  259. package/dist/src/features/simulation/activity/schema.cjs +1 -1
  260. package/dist/src/features/simulation/activity/schema.js +224 -250
  261. package/dist/src/features/simulation/activity/utils/createNativeActivity.cjs +1 -1
  262. package/dist/src/features/simulation/activity/utils/createNativeActivity.js +23 -27
  263. package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.cjs +1 -1
  264. package/dist/src/features/simulation/activity/utils/getAnyActivityTitle.js +14 -21
  265. package/dist/src/features/simulation/activity/utils/getOverallLastModified.cjs +1 -1
  266. package/dist/src/features/simulation/activity/utils/getOverallLastModified.js +5 -5
  267. package/dist/src/features/simulation/activity/utils/hasDelegationActivity.cjs +1 -1
  268. package/dist/src/features/simulation/activity/utils/hasDelegationActivity.js +4 -4
  269. package/dist/src/features/simulation/activity/utils/isAddMultisigSignersActivity.cjs +1 -1
  270. package/dist/src/features/simulation/activity/utils/isAddMultisigSignersActivity.js +15 -19
  271. package/dist/src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.cjs +1 -1
  272. package/dist/src/features/simulation/activity/utils/isChangeMultisigThresholdActivity.js +15 -19
  273. package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.cjs +1 -1
  274. package/dist/src/features/simulation/activity/utils/isMulticallWithDeploymentActivity.js +5 -5
  275. package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.cjs +1 -1
  276. package/dist/src/features/simulation/activity/utils/isRejectOnChainActivity.js +19 -21
  277. package/dist/src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.cjs +1 -1
  278. package/dist/src/features/simulation/activity/utils/isRemoveMultisigSignersActivity.js +15 -19
  279. package/dist/src/features/simulation/activity/utils/isSwapActivity.cjs +1 -1
  280. package/dist/src/features/simulation/activity/utils/isSwapActivity.js +17 -18
  281. package/dist/src/features/simulation/activity/utils/isUpgradeActivity.cjs +1 -1
  282. package/dist/src/features/simulation/activity/utils/isUpgradeActivity.js +15 -19
  283. package/dist/src/features/simulation/activity/utils/parseAccountActivities.cjs +1 -1
  284. package/dist/src/features/simulation/activity/utils/parseAccountActivities.js +12 -12
  285. package/dist/src/features/simulation/activity/utils/parseFinanceActivities.cjs +1 -1
  286. package/dist/src/features/simulation/activity/utils/parseFinanceActivities.js +32 -32
  287. package/dist/src/features/simulation/fees/schema.cjs +1 -1
  288. package/dist/src/features/simulation/fees/schema.js +33 -47
  289. package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.cjs +1 -1
  290. package/dist/src/features/simulation/transactionReview/getErrorMessageAndLabelFromSimulation.js +15 -17
  291. package/dist/src/features/simulation/transactionReview/getMessageFromSimulationError.cjs +1 -1
  292. package/dist/src/features/simulation/transactionReview/getMessageFromSimulationError.js +5 -5
  293. package/dist/src/features/simulation/transactionReview/schema.cjs +1 -1
  294. package/dist/src/features/simulation/transactionReview/schema.js +221 -242
  295. package/dist/src/features/simulation/warning/helper.cjs +1 -1
  296. package/dist/src/features/simulation/warning/helper.js +12 -11
  297. package/dist/src/features/simulation/warning/schema.cjs +1 -1
  298. package/dist/src/features/simulation/warning/schema.js +10 -11
  299. package/dist/src/features/swap/models/order.model.cjs +1 -1
  300. package/dist/src/features/swap/models/order.model.js +16 -19
  301. package/dist/src/features/swap/models/quote.model.cjs +1 -1
  302. package/dist/src/features/swap/models/quote.model.js +31 -35
  303. package/dist/src/features/swap/models/trade.model.cjs +1 -1
  304. package/dist/src/features/swap/models/trade.model.js +25 -27
  305. package/dist/src/features/swap/services/SwapSharedService.cjs +1 -1
  306. package/dist/src/features/swap/services/SwapSharedService.js +71 -75
  307. package/dist/src/features/swap/services/SwapTransactionService.cjs +1 -1
  308. package/dist/src/features/swap/services/SwapTransactionService.js +57 -63
  309. package/dist/src/features/swap/utils/slippage.cjs +1 -1
  310. package/dist/src/features/swap/utils/slippage.js +18 -25
  311. package/dist/src/features/swap/utils/totalFee.cjs +1 -1
  312. package/dist/src/features/swap/utils/totalFee.js +12 -12
  313. package/dist/src/http/DateService.cjs +1 -1
  314. package/dist/src/http/DateService.js +15 -18
  315. package/dist/src/http/HttpError.cjs +1 -1
  316. package/dist/src/http/HttpError.js +7 -7
  317. package/dist/src/http/HttpService.cjs +1 -1
  318. package/dist/src/http/HttpService.js +117 -134
  319. package/dist/src/http/IHttpService.cjs +1 -1
  320. package/dist/src/http/IHttpService.js +6 -6
  321. package/dist/src/http/SWRService.cjs +1 -1
  322. package/dist/src/http/SWRService.js +50 -57
  323. package/dist/src/http/fetcher.cjs +1 -1
  324. package/dist/src/http/fetcher.js +29 -35
  325. package/dist/src/http/time.cjs +1 -1
  326. package/dist/src/http/time.js +15 -18
  327. package/dist/src/knownDapps/KnownDappsBackendService.cjs +1 -1
  328. package/dist/src/knownDapps/KnownDappsBackendService.js +13 -14
  329. package/dist/src/knownDapps/schema.cjs +1 -1
  330. package/dist/src/knownDapps/schema.js +41 -44
  331. package/dist/src/knownDapps/utils/getDapplandUrl.cjs +1 -1
  332. package/dist/src/knownDapps/utils/getDapplandUrl.js +7 -8
  333. package/dist/src/nameResolution/ResolveNameService.cjs +1 -1
  334. package/dist/src/nameResolution/ResolveNameService.js +34 -41
  335. package/dist/src/nameResolution/schema.cjs +1 -1
  336. package/dist/src/nameResolution/schema.js +20 -25
  337. package/dist/src/nfts/BackendNftService.cjs +1 -1
  338. package/dist/src/nfts/BackendNftService.js +103 -116
  339. package/dist/src/nfts/BackendPaginationError.cjs +1 -1
  340. package/dist/src/nfts/BackendPaginationError.js +11 -12
  341. package/dist/src/nfts/utils.cjs +1 -1
  342. package/dist/src/nfts/utils.js +11 -14
  343. package/dist/src/onchainRecovery/OnchainRecoveryService.cjs +1 -1
  344. package/dist/src/onchainRecovery/OnchainRecoveryService.js +38 -68
  345. package/dist/src/onchainRecovery/schema.cjs +1 -1
  346. package/dist/src/onchainRecovery/schema.js +35 -49
  347. package/dist/src/platform/isBraveBrowser.cjs +1 -1
  348. package/dist/src/platform/isBraveBrowser.js +8 -10
  349. package/dist/src/platform/isBrowser.cjs +1 -1
  350. package/dist/src/platform/isBrowser.js +17 -22
  351. package/dist/src/signer/mergeOwnerGuardianSignatures.cjs +1 -1
  352. package/dist/src/signer/mergeOwnerGuardianSignatures.js +28 -30
  353. package/dist/src/signer/multisigner.cjs +1 -1
  354. package/dist/src/signer/multisigner.js +16 -17
  355. package/dist/src/signer/seedphrase.cjs +1 -1
  356. package/dist/src/signer/seedphrase.js +7 -7
  357. package/dist/src/staking/schema.cjs +1 -1
  358. package/dist/src/staking/schema.js +146 -162
  359. package/dist/src/storage/base.cjs +1 -1
  360. package/dist/src/storage/base.js +33 -34
  361. package/dist/src/storage/utils.cjs +1 -1
  362. package/dist/src/storage/utils.js +19 -28
  363. package/dist/src/tokens/balances.cjs +1 -1
  364. package/dist/src/tokens/balances.js +34 -38
  365. package/dist/src/tokens/constants.cjs +1 -1
  366. package/dist/src/tokens/constants.js +4 -4
  367. package/dist/src/tokens/convertCurrencyValueToTokenAmount.cjs +1 -1
  368. package/dist/src/tokens/convertCurrencyValueToTokenAmount.js +8 -9
  369. package/dist/src/tokens/convertTokenAmountToCurrencyValue.cjs +1 -1
  370. package/dist/src/tokens/convertTokenAmountToCurrencyValue.js +14 -15
  371. package/dist/src/tokens/convertTokenUnitAmountWithDecimals.cjs +1 -1
  372. package/dist/src/tokens/convertTokenUnitAmountWithDecimals.js +8 -9
  373. package/dist/src/tokens/ensureDecimals.cjs +1 -1
  374. package/dist/src/tokens/ensureDecimals.js +4 -4
  375. package/dist/src/tokens/getCurrencySymbol.cjs +1 -1
  376. package/dist/src/tokens/getCurrencySymbol.js +14 -14
  377. package/dist/src/tokens/isUnlimitedAmount.cjs +1 -1
  378. package/dist/src/tokens/isUnlimitedAmount.js +5 -5
  379. package/dist/src/tokens/prettifyCurrencyValue.cjs +1 -1
  380. package/dist/src/tokens/prettifyCurrencyValue.js +13 -14
  381. package/dist/src/tokens/prettifyTokenAmount.cjs +1 -1
  382. package/dist/src/tokens/prettifyTokenAmount.js +22 -22
  383. package/dist/src/tokens/service/implementation.cjs +1 -1
  384. package/dist/src/tokens/service/implementation.js +28 -40
  385. package/dist/src/tokens/service/tokenError.cjs +1 -1
  386. package/dist/src/tokens/service/tokenError.js +11 -12
  387. package/dist/src/tokens/service/types/backend.model.cjs +1 -1
  388. package/dist/src/tokens/service/types/backend.model.js +128 -163
  389. package/dist/src/tokens/service/types/defiPosition.model.cjs +1 -1
  390. package/dist/src/tokens/service/types/defiPosition.model.js +83 -99
  391. package/dist/src/tokens/service/types/defiPositionType.model.cjs +1 -1
  392. package/dist/src/tokens/service/types/defiPositionType.model.js +9 -9
  393. package/dist/src/tokens/service/types/unclaimedRewards.model.cjs +1 -1
  394. package/dist/src/tokens/service/types/unclaimedRewards.model.js +15 -16
  395. package/dist/src/tokens/service/types/webToken.model.cjs +1 -1
  396. package/dist/src/tokens/service/types/webToken.model.js +28 -51
  397. package/dist/src/tokens/utils.cjs +1 -1
  398. package/dist/src/tokens/utils.js +5 -9
  399. package/dist/src/transactions/amount.cjs +1 -1
  400. package/dist/src/transactions/amount.js +17 -24
  401. package/dist/src/transactions/buildTransactions.cjs +1 -1
  402. package/dist/src/transactions/buildTransactions.js +30 -33
  403. package/dist/src/transactions/errors.cjs +1 -1
  404. package/dist/src/transactions/errors.js +11 -18
  405. package/dist/src/transactions/estimate/adjustment.cjs +1 -1
  406. package/dist/src/transactions/estimate/adjustment.js +6 -6
  407. package/dist/src/transactions/estimate/argentMaxFee.cjs +1 -1
  408. package/dist/src/transactions/estimate/argentMaxFee.js +10 -13
  409. package/dist/src/transactions/estimate/error.cjs +1 -1
  410. package/dist/src/transactions/estimate/error.js +12 -13
  411. package/dist/src/transactions/estimate/model.cjs +1 -1
  412. package/dist/src/transactions/estimate/model.js +18 -13
  413. package/dist/src/transactions/estimate/utils.cjs +1 -1
  414. package/dist/src/transactions/estimate/utils.js +139 -172
  415. package/dist/src/transactions/findTransfersAndApprovals.cjs +1 -1
  416. package/dist/src/transactions/findTransfersAndApprovals.js +34 -30
  417. package/dist/src/transactions/getPrettyRcpError.cjs +1 -1
  418. package/dist/src/transactions/getPrettyRcpError.js +8 -10
  419. package/dist/src/transactions/service/implementation.cjs +1 -1
  420. package/dist/src/transactions/service/implementation.js +187 -208
  421. package/dist/src/transactions/service/types.cjs +1 -1
  422. package/dist/src/transactions/service/types.js +9 -9
  423. package/dist/src/transactions/service/utils.cjs +1 -1
  424. package/dist/src/transactions/service/utils.js +24 -25
  425. package/dist/src/transactions/transactionExecuteTypes.cjs +1 -1
  426. package/dist/src/transactions/transactionExecuteTypes.js +8 -9
  427. package/dist/src/transactions/transactionReviewTypes.cjs +1 -1
  428. package/dist/src/transactions/transactionReviewTypes.js +9 -9
  429. package/dist/src/transactions/transactionVersion.cjs +1 -1
  430. package/dist/src/transactions/transactionVersion.js +8 -13
  431. package/dist/src/transactions/txv3.cjs +1 -1
  432. package/dist/src/transactions/txv3.js +10 -11
  433. package/dist/src/utils/address.cjs +1 -1
  434. package/dist/src/utils/address.js +4 -4
  435. package/dist/src/utils/arrays.cjs +1 -1
  436. package/dist/src/utils/arrays.js +4 -4
  437. package/dist/src/utils/avatarImage.cjs +4 -4
  438. package/dist/src/utils/avatarImage.js +35 -40
  439. package/dist/src/utils/base58.cjs +1 -1
  440. package/dist/src/utils/base58.js +12 -15
  441. package/dist/src/utils/bigNumber.cjs +1 -1
  442. package/dist/src/utils/bigNumber.d.ts +1 -1
  443. package/dist/src/utils/bigNumber.js +5 -7
  444. package/dist/src/utils/bips.cjs +1 -1
  445. package/dist/src/utils/bips.js +12 -10
  446. package/dist/src/utils/daysBetween.cjs +1 -1
  447. package/dist/src/utils/daysBetween.js +6 -6
  448. package/dist/src/utils/env.cjs +1 -1
  449. package/dist/src/utils/env.js +4 -4
  450. package/dist/src/utils/hex.cjs +1 -1
  451. package/dist/src/utils/hex.js +7 -8
  452. package/dist/src/utils/id.cjs +1 -1
  453. package/dist/src/utils/id.js +7 -7
  454. package/dist/src/utils/initials.cjs +1 -1
  455. package/dist/src/utils/initials.js +12 -15
  456. package/dist/src/utils/isContractDeployed.cjs +1 -1
  457. package/dist/src/utils/isContractDeployed.js +9 -9
  458. package/dist/src/utils/nonNullable.cjs +1 -1
  459. package/dist/src/utils/nonNullable.js +6 -6
  460. package/dist/src/utils/number/abbreviateNumber.cjs +1 -1
  461. package/dist/src/utils/number/abbreviateNumber.js +13 -14
  462. package/dist/src/utils/number/isAllowedAddressHexInputValue.cjs +1 -1
  463. package/dist/src/utils/number/isAllowedAddressHexInputValue.js +4 -7
  464. package/dist/src/utils/number/isAllowedNumericInputValue.cjs +1 -1
  465. package/dist/src/utils/number/isAllowedNumericInputValue.js +5 -5
  466. package/dist/src/utils/number/isNumeric.cjs +1 -1
  467. package/dist/src/utils/number/isNumeric.js +4 -4
  468. package/dist/src/utils/number/prettifyNumber.cjs +1 -1
  469. package/dist/src/utils/number/prettifyNumber.js +65 -75
  470. package/dist/src/utils/parseAmount.cjs +1 -1
  471. package/dist/src/utils/parseAmount.js +10 -11
  472. package/dist/src/utils/pluralise.cjs +1 -1
  473. package/dist/src/utils/pluralise.js +4 -4
  474. package/dist/src/utils/readFileAsString.cjs +1 -1
  475. package/dist/src/utils/readFileAsString.js +6 -6
  476. package/dist/src/utils/retryUntilInitialised.cjs +1 -1
  477. package/dist/src/utils/retryUntilInitialised.js +21 -20
  478. package/dist/src/utils/schemas.cjs +1 -1
  479. package/dist/src/utils/schemas.js +29 -26
  480. package/dist/src/utils/starknet/starknet.cjs +1 -1
  481. package/dist/src/utils/starknet/starknet.js +64 -77
  482. package/dist/src/utils/starknet/starknetLibTypes.cjs +1 -1
  483. package/dist/src/utils/starknet/starknetLibTypes.js +7 -7
  484. package/dist/src/utils/starknet/starknetSchemas.cjs +1 -1
  485. package/dist/src/utils/starknet/starknetSchemas.js +84 -99
  486. package/dist/src/utils/transactions.cjs +1 -1
  487. package/dist/src/utils/transactions.js +10 -10
  488. package/dist/src/utils/url/urlWithQuery.cjs +1 -1
  489. package/dist/src/utils/url/urlWithQuery.js +8 -8
  490. package/dist/src/utils/voidify.cjs +1 -1
  491. package/dist/src/utils/voidify.js +7 -7
  492. package/dist/swap.cjs +1 -1
  493. package/dist/swap.js +8 -22
  494. package/package.json +15 -15
  495. package/dist/_virtual/_commonjsHelpers.cjs +0 -1
  496. package/dist/_virtual/_commonjsHelpers.js +0 -6
  497. package/dist/_virtual/numeral.cjs +0 -1
  498. package/dist/_virtual/numeral.js +0 -7
  499. package/dist/_virtual/numeral2.cjs +0 -1
  500. package/dist/_virtual/numeral2.js +0 -4
  501. package/dist/_virtual/semver.cjs +0 -1
  502. package/dist/_virtual/semver.js +0 -7
  503. package/dist/_virtual/semver2.cjs +0 -1
  504. package/dist/_virtual/semver2.js +0 -4
@@ -1,254 +1,228 @@
1
- import { z as t } from "zod";
2
- import { actionSchema as m, targetedDappSchema as g } from "../transactionReview/schema.js";
3
- import { investmentMetaSchema as y, stakerInfoSchema as d, stakingActionSchema as b } from "../../../staking/schema.js";
4
1
  import { addressSchemaArgentBackend as e } from "../../../chains/starknet/address.js";
5
- const o = t.object({
6
- network: t.string(),
7
- hash: t.string(),
8
- status: t.string(),
9
- blockNumber: t.number().optional(),
10
- transactionIndex: t.number()
11
- }), a = t.object({
12
- type: t.enum(["token", "nft"]),
13
- tokenAddress: e,
14
- amount: t.string().optional(),
15
- fiatAmount: t.object({
16
- currency: t.string(),
17
- currencyAmount: t.number()
18
- }).optional().nullable()
19
- }), i = t.enum(["ethereum", "starknet", "zksync", "zksync2"]), S = t.object({
20
- type: t.enum(["payment", "gasFee"]),
21
- leg: t.enum(["credit", "debit"]),
22
- asset: a,
23
- counterParty: e.optional(),
24
- counterPartyNetwork: i.optional()
25
- }), h = t.object({
26
- address: e,
27
- network: i,
28
- type: t.enum(["wallet", "token"])
29
- }), v = t.object({
30
- chainId: t.enum(["TESTNET", "MAINNET", "SEPOLIA"]),
31
- ethereumNetwork: t.enum(["mainnet", "sepolia"])
32
- }), k = t.enum([
33
- "approval",
34
- "changePubKey",
35
- "dappInteraction",
36
- "deploy",
37
- "gift",
38
- "multicall",
39
- "payment",
40
- "security",
41
- "trade",
42
- "staking"
43
- ]), r = t.enum([
44
- "triggerEscapeGuardian",
45
- "triggerEscapeSigner",
46
- "escapeGuardian",
47
- "escapeSigner",
48
- "guardianChanged",
49
- "guardianBackupChanged",
50
- "signerChanged",
51
- "cancelEscape",
52
- "accountUpgraded",
53
- "multisigConfigurationUpdated"
54
- ]), f = t.object({
55
- name: t.string(),
56
- parameters: t.array(t.unknown()).optional()
57
- }), j = t.object({
58
- guid: t.string().optional(),
59
- signerType: t.string().optional(),
60
- // StarknetKey, Secp256k1, Secp256r1, Eip191, Webauthn
61
- signer: t.object({
62
- publicKey: t.string().optional()
63
- }).optional()
64
- }), A = t.object({
65
- activeAt: t.string().optional(),
66
- newGuardian: t.string().optional(),
67
- newImplementation: t.string().optional(),
68
- newVersion: t.string().optional(),
69
- signerGuid: t.string().optional(),
70
- signers: t.array(j).optional()
71
- }), s = t.discriminatedUnion("type", [
72
- t.object({
73
- type: t.literal("deploy"),
74
- deployer: e,
75
- contractAddress: e
76
- }),
77
- t.object({
78
- type: t.literal("approval"),
79
- spender: e,
80
- asset: a,
81
- approvalType: t.string()
82
- }),
83
- t.object({
84
- type: t.literal("payment"),
85
- counterparty: e,
86
- leg: t.string(),
87
- asset: a,
88
- counterpartyNetwork: i.optional()
89
- }),
90
- t.object({
91
- type: t.literal("trade"),
92
- srcAsset: a,
93
- destAsset: a
94
- }),
95
- t.object({
96
- type: t.literal("security"),
97
- action: r,
98
- context: A.optional()
99
- }),
100
- t.object({
101
- type: t.literal("dappInteraction"),
102
- dappAddress: e,
103
- function: f.optional().nullable()
104
- // This object is often null. It happens when we were unable to get the ABI or failed decoding the function call
105
- }),
106
- t.object({
107
- type: t.literal("staking"),
108
- stakingAction: b,
109
- counterparty: e,
110
- asset: a,
111
- stakerInfo: d
112
- }),
113
- t.object({
114
- type: t.literal("gift"),
115
- counterparty: e.optional(),
116
- leg: t.string(),
117
- asset: a,
118
- counterpartyNetwork: i.optional()
119
- })
120
- ]), w = t.object({
121
- details: s
122
- }), N = t.union([
123
- s,
124
- t.object({
125
- type: t.literal("multicall"),
126
- calls: t.array(w)
127
- })
128
- ]), I = t.object({
129
- dappId: t.string(),
130
- name: t.string().optional().nullable()
131
- }), c = t.object({
132
- sent: t.boolean(),
133
- asset: t.discriminatedUnion("type", [
134
- t.object({
135
- type: t.literal("nft"),
136
- tokenAddress: e,
137
- tokenId: t.coerce.number().optional(),
138
- amount: t.string().optional(),
139
- collectionName: t.string().optional(),
140
- collectionPreviewImage: t.string().optional().nullable(),
141
- nftName: t.string().optional().nullable(),
142
- nftPreviewImage: t.string().optional().nullable()
143
- }),
144
- t.object({
145
- type: t.literal("token"),
146
- tokenAddress: e,
147
- amount: t.string().optional(),
148
- fiatAmount: t.object({
149
- currency: t.string(),
150
- currencyAmount: t.coerce.string()
151
- }).optional().nullable()
152
- })
153
- ])
154
- }), D = t.object({
155
- type: t.string(),
156
- // "gas" for example
157
- to: e,
158
- actualFee: t.object({
159
- type: t.string(),
160
- tokenAddress: e,
161
- amount: t.string().optional(),
162
- fiatAmount: t.object({
163
- currency: t.string(),
164
- currencyAmount: t.number()
165
- }).optional().nullable()
166
- })
167
- }), l = t.enum(["pending", "success", "failure"]), p = t.object({
168
- compositeId: t.string(),
169
- id: t.string().uuid(),
170
- status: l,
171
- wallet: e,
172
- txSender: e,
173
- source: t.string(),
174
- type: k,
175
- group: t.enum(["finance", "security"]),
176
- submitted: t.number(),
177
- lastModified: t.number(),
178
- transaction: o,
179
- transfers: t.array(S),
180
- // to be clarified
181
- fees: t.array(D).optional(),
182
- relatedAddresses: t.array(h).nullable(),
183
- network: t.string(),
184
- networkDetails: v.optional(),
185
- details: N,
186
- transferSummary: t.array(c).optional(),
187
- dapp: I.optional(),
188
- actions: t.array(m).optional(),
189
- title: t.string().optional(),
190
- multisigDetails: t.object({
191
- signers: t.array(e)
192
- }).optional()
193
- }), E = t.object({
194
- title: t.string().optional(),
195
- shortTitle: t.string().optional(),
196
- subtitle: t.string().optional(),
197
- /** let's not import the keys from x-ui here */
198
- icon: t.string().optional(),
199
- investment: y.optional(),
200
- isExecuteFromOutside: t.boolean().optional()
201
- }), T = "native", x = "rejected", P = "cancelled", C = "queued", B = p.pick({
202
- status: !0,
203
- actions: !0,
204
- submitted: !0,
205
- lastModified: !0,
206
- transferSummary: !0,
207
- fees: !0,
208
- multisigDetails: !0
2
+ import { investmentMetaSchema as t, stakerInfoSchema as n, stakingActionSchema as r } from "../../../staking/schema.js";
3
+ import { actionSchema as i, targetedDappSchema as a } from "../transactionReview/schema.js";
4
+ import { z as o } from "zod";
5
+ //#region src/features/simulation/activity/schema.ts
6
+ var s = o.object({
7
+ network: o.string(),
8
+ hash: o.string(),
9
+ status: o.string(),
10
+ blockNumber: o.number().optional(),
11
+ transactionIndex: o.number()
12
+ }), c = o.object({
13
+ type: o.enum(["token", "nft"]),
14
+ tokenAddress: e,
15
+ amount: o.string().optional(),
16
+ fiatAmount: o.object({
17
+ currency: o.string(),
18
+ currencyAmount: o.number()
19
+ }).optional().nullable()
20
+ }), l = o.enum([
21
+ "ethereum",
22
+ "starknet",
23
+ "zksync",
24
+ "zksync2"
25
+ ]), u = o.object({
26
+ type: o.enum(["payment", "gasFee"]),
27
+ leg: o.enum(["credit", "debit"]),
28
+ asset: c,
29
+ counterParty: e.optional(),
30
+ counterPartyNetwork: l.optional()
31
+ }), d = o.object({
32
+ address: e,
33
+ network: l,
34
+ type: o.enum(["wallet", "token"])
35
+ }), f = o.object({
36
+ chainId: o.enum([
37
+ "TESTNET",
38
+ "MAINNET",
39
+ "SEPOLIA"
40
+ ]),
41
+ ethereumNetwork: o.enum(["mainnet", "sepolia"])
42
+ }), p = o.enum([
43
+ "approval",
44
+ "changePubKey",
45
+ "dappInteraction",
46
+ "deploy",
47
+ "gift",
48
+ "multicall",
49
+ "payment",
50
+ "security",
51
+ "trade",
52
+ "staking"
53
+ ]), m = o.enum([
54
+ "triggerEscapeGuardian",
55
+ "triggerEscapeSigner",
56
+ "escapeGuardian",
57
+ "escapeSigner",
58
+ "guardianChanged",
59
+ "guardianBackupChanged",
60
+ "signerChanged",
61
+ "cancelEscape",
62
+ "accountUpgraded",
63
+ "multisigConfigurationUpdated"
64
+ ]), h = o.object({
65
+ name: o.string(),
66
+ parameters: o.array(o.unknown()).optional()
67
+ }), g = o.object({
68
+ guid: o.string().optional(),
69
+ signerType: o.string().optional(),
70
+ signer: o.object({ publicKey: o.string().optional() }).optional()
71
+ }), _ = o.object({
72
+ activeAt: o.string().optional(),
73
+ newGuardian: o.string().optional(),
74
+ newImplementation: o.string().optional(),
75
+ newVersion: o.string().optional(),
76
+ signerGuid: o.string().optional(),
77
+ signers: o.array(g).optional()
78
+ }), v = o.discriminatedUnion("type", [
79
+ o.object({
80
+ type: o.literal("deploy"),
81
+ deployer: e,
82
+ contractAddress: e
83
+ }),
84
+ o.object({
85
+ type: o.literal("approval"),
86
+ spender: e,
87
+ asset: c,
88
+ approvalType: o.string()
89
+ }),
90
+ o.object({
91
+ type: o.literal("payment"),
92
+ counterparty: e,
93
+ leg: o.string(),
94
+ asset: c,
95
+ counterpartyNetwork: l.optional()
96
+ }),
97
+ o.object({
98
+ type: o.literal("trade"),
99
+ srcAsset: c,
100
+ destAsset: c
101
+ }),
102
+ o.object({
103
+ type: o.literal("security"),
104
+ action: m,
105
+ context: _.optional()
106
+ }),
107
+ o.object({
108
+ type: o.literal("dappInteraction"),
109
+ dappAddress: e,
110
+ function: h.optional().nullable()
111
+ }),
112
+ o.object({
113
+ type: o.literal("staking"),
114
+ stakingAction: r,
115
+ counterparty: e,
116
+ asset: c,
117
+ stakerInfo: n
118
+ }),
119
+ o.object({
120
+ type: o.literal("gift"),
121
+ counterparty: e.optional(),
122
+ leg: o.string(),
123
+ asset: c,
124
+ counterpartyNetwork: l.optional()
125
+ })
126
+ ]), y = o.object({ details: v }), b = o.union([v, o.object({
127
+ type: o.literal("multicall"),
128
+ calls: o.array(y)
129
+ })]), x = o.object({
130
+ dappId: o.string(),
131
+ name: o.string().optional().nullable()
132
+ }), S = o.object({
133
+ sent: o.boolean(),
134
+ asset: o.discriminatedUnion("type", [o.object({
135
+ type: o.literal("nft"),
136
+ tokenAddress: e,
137
+ tokenId: o.coerce.number().optional(),
138
+ amount: o.string().optional(),
139
+ collectionName: o.string().optional(),
140
+ collectionPreviewImage: o.string().optional().nullable(),
141
+ nftName: o.string().optional().nullable(),
142
+ nftPreviewImage: o.string().optional().nullable()
143
+ }), o.object({
144
+ type: o.literal("token"),
145
+ tokenAddress: e,
146
+ amount: o.string().optional(),
147
+ fiatAmount: o.object({
148
+ currency: o.string(),
149
+ currencyAmount: o.coerce.string()
150
+ }).optional().nullable()
151
+ })])
152
+ }), C = o.object({
153
+ type: o.string(),
154
+ to: e,
155
+ actualFee: o.object({
156
+ type: o.string(),
157
+ tokenAddress: e,
158
+ amount: o.string().optional(),
159
+ fiatAmount: o.object({
160
+ currency: o.string(),
161
+ currencyAmount: o.number()
162
+ }).optional().nullable()
163
+ })
164
+ }), w = o.enum([
165
+ "pending",
166
+ "success",
167
+ "failure"
168
+ ]), T = o.object({
169
+ compositeId: o.string(),
170
+ id: o.string().uuid(),
171
+ status: w,
172
+ wallet: e,
173
+ txSender: e,
174
+ source: o.string(),
175
+ type: p,
176
+ group: o.enum(["finance", "security"]),
177
+ submitted: o.number(),
178
+ lastModified: o.number(),
179
+ transaction: s,
180
+ transfers: o.array(u),
181
+ fees: o.array(C).optional(),
182
+ relatedAddresses: o.array(d).nullable(),
183
+ network: o.string(),
184
+ networkDetails: f.optional(),
185
+ details: b,
186
+ transferSummary: o.array(S).optional(),
187
+ dapp: x.optional(),
188
+ actions: o.array(i).optional(),
189
+ title: o.string().optional(),
190
+ multisigDetails: o.object({ signers: o.array(e) }).optional()
191
+ }), E = o.object({
192
+ title: o.string().optional(),
193
+ shortTitle: o.string().optional(),
194
+ subtitle: o.string().optional(),
195
+ icon: o.string().optional(),
196
+ investment: t.optional(),
197
+ isExecuteFromOutside: o.boolean().optional()
198
+ }), D = "native", O = "rejected", k = "cancelled", A = "queued", j = T.pick({
199
+ status: !0,
200
+ actions: !0,
201
+ submitted: !0,
202
+ lastModified: !0,
203
+ transferSummary: !0,
204
+ fees: !0,
205
+ multisigDetails: !0
209
206
  }).extend({
210
- status: t.union([
211
- l,
212
- t.enum([
213
- x,
214
- P,
215
- C
216
- ])
217
- ]),
218
- type: t.literal(T),
219
- transaction: o.pick({
220
- hash: !0
221
- }),
222
- dapp: g.optional(),
223
- meta: E.optional()
224
- }), M = t.array(p), K = t.object({
225
- activities: M,
226
- page: t.number(),
227
- pageSize: t.number(),
228
- totalElements: t.number(),
229
- totalPages: t.number()
207
+ status: o.union([w, o.enum([
208
+ O,
209
+ k,
210
+ A
211
+ ])]),
212
+ type: o.literal(D),
213
+ transaction: s.pick({ hash: !0 }),
214
+ dapp: a.optional(),
215
+ meta: E.optional()
216
+ }), M = o.array(T), N = o.object({
217
+ activities: M,
218
+ page: o.number(),
219
+ pageSize: o.number(),
220
+ totalElements: o.number(),
221
+ totalPages: o.number()
230
222
  });
231
- function O(n) {
232
- return r.safeParse(n).success;
223
+ function P(e) {
224
+ return m.safeParse(e).success;
233
225
  }
234
- const u = (n) => c.safeParse(n).success, R = (n) => u(n) && n.asset.type === "token", q = (n) => u(n) && n.asset.type === "nft";
235
- export {
236
- P as NativeActivityStatusCancelled,
237
- C as NativeActivityStatusQueued,
238
- x as NativeActivityStatusRejected,
239
- T as NativeActivityTypeNative,
240
- M as activitiesSchema,
241
- I as activityDappSchema,
242
- N as activityDetailsSchema,
243
- K as activityResponseSchema,
244
- p as activitySchema,
245
- c as activitySummarySchema,
246
- S as activityTransferSchema,
247
- D as feeSchema,
248
- O as isActivityDetailsAction,
249
- u as isActivitySummary,
250
- q as isNftActivitySummary,
251
- R as isTokenActivitySummary,
252
- E as nativeActivityMetaSchema,
253
- B as nativeActivitySchema
254
- };
226
+ var F = (e) => S.safeParse(e).success, I = (e) => F(e) && e.asset.type === "token", L = (e) => F(e) && e.asset.type === "nft";
227
+ //#endregion
228
+ export { k as NativeActivityStatusCancelled, A as NativeActivityStatusQueued, O as NativeActivityStatusRejected, D as NativeActivityTypeNative, M as activitiesSchema, x as activityDappSchema, b as activityDetailsSchema, N as activityResponseSchema, T as activitySchema, S as activitySummarySchema, u as activityTransferSchema, C as feeSchema, P as isActivityDetailsAction, F as isActivitySummary, L as isNftActivitySummary, I as isTokenActivitySummary, E as nativeActivityMetaSchema, j as nativeActivitySchema };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("lodash-es"),u=require("../normalize.cjs"),s=require("../schema.cjs");function e(t){const n=t.transactions?.[0].reviewOfTransaction?.reviews;return n?n.map(a=>a.action):void 0}function v({simulateAndReview:t,...n}){const i={type:s.NativeActivityTypeNative,...n};if(t&&!y.isEmpty(t.transactions)){const a=t.transactions?.[t.transactions.length-1],r=a?.simulation?.summary;if(r){const m=u.normalizeActivitySummaryCollection(r);i.transferSummary=m}const c=a?.reviewOfTransaction?.targetedDapp;c&&(i.dapp=c);const o=e(t);o&&(i.actions=o)}return s.nativeActivitySchema.parse(i)}exports.createNativeActivity=v;exports.normalizeActions=e;
1
+ require(`../../../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../schema.cjs`),t=require(`../normalize.cjs`);let n=require(`lodash-es`);function r(e){let t=e.transactions?.[0].reviewOfTransaction?.reviews;if(t)return t.map(e=>e.action)}function i({simulateAndReview:i,...a}){let o={type:e.NativeActivityTypeNative,...a};if(i&&!(0,n.isEmpty)(i.transactions)){let e=i.transactions?.[i.transactions.length-1],n=e?.simulation?.summary;n&&(o.transferSummary=t.normalizeActivitySummaryCollection(n));let a=e?.reviewOfTransaction?.targetedDapp;a&&(o.dapp=a);let s=r(i);s&&(o.actions=s)}return e.nativeActivitySchema.parse(o)}exports.createNativeActivity=i,exports.normalizeActions=r;
@@ -1,29 +1,25 @@
1
- import { isEmpty as e } from "lodash-es";
2
- import { normalizeActivitySummaryCollection as m } from "../normalize.js";
3
- import { nativeActivitySchema as p, NativeActivityTypeNative as f } from "../schema.js";
4
- function y(t) {
5
- const i = t.transactions?.[0].reviewOfTransaction?.reviews;
6
- return i ? i.map((r) => r.action) : void 0;
1
+ import { NativeActivityTypeNative as e, nativeActivitySchema as t } from "../schema.js";
2
+ import { normalizeActivitySummaryCollection as n } from "../normalize.js";
3
+ import { isEmpty as r } from "lodash-es";
4
+ //#region src/features/simulation/activity/utils/createNativeActivity.ts
5
+ function i(e) {
6
+ let t = e.transactions?.[0].reviewOfTransaction?.reviews;
7
+ if (t) return t.map((e) => e.action);
7
8
  }
8
- function T({ simulateAndReview: t, ...i }) {
9
- const n = {
10
- type: f,
11
- ...i
12
- };
13
- if (t && !e(t.transactions)) {
14
- const r = t.transactions?.[t.transactions.length - 1], a = r?.simulation?.summary;
15
- if (a) {
16
- const s = m(a);
17
- n.transferSummary = s;
18
- }
19
- const o = r?.reviewOfTransaction?.targetedDapp;
20
- o && (n.dapp = o);
21
- const c = y(t);
22
- c && (n.actions = c);
23
- }
24
- return p.parse(n);
9
+ function a({ simulateAndReview: a, ...o }) {
10
+ let s = {
11
+ type: e,
12
+ ...o
13
+ };
14
+ if (a && !r(a.transactions)) {
15
+ let e = a.transactions?.[a.transactions.length - 1], t = e?.simulation?.summary;
16
+ t && (s.transferSummary = n(t));
17
+ let r = e?.reviewOfTransaction?.targetedDapp;
18
+ r && (s.dapp = r);
19
+ let o = i(a);
20
+ o && (s.actions = o);
21
+ }
22
+ return t.parse(s);
25
23
  }
26
- export {
27
- T as createNativeActivity,
28
- y as normalizeActions
29
- };
24
+ //#endregion
25
+ export { a as createNativeActivity, i as normalizeActions };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../schema.cjs"),l=require("./isRejectOnChainActivity.cjs");function i(e,t,n=!1){if(e.type===r.NativeActivityTypeNative){if(n&&e.meta?.shortTitle)return t(e.meta.shortTitle);if(e.meta?.title)return t(e.meta.title)}else{if(l.isRejectOnChainActivity(e))return t("multisig.onChainRejection");if(e.title)return e.title}return t("activities.contractInteraction")}function o(e,t){return i(e,t,!0)}exports.getAnyActivityShortTitle=o;exports.getAnyActivityTitle=i;
1
+ require(`../schema.cjs`);const e=require(`./isRejectOnChainActivity.cjs`);function t(t,n,r=!1){if(t.type===`native`){if(r&&t.meta?.shortTitle)return n(t.meta.shortTitle);if(t.meta?.title)return n(t.meta.title)}else if(e.isRejectOnChainActivity(t))return n(`multisig.onChainRejection`);else if(t.title)return t.title;return n(`activities.contractInteraction`)}function n(e,n){return t(e,n,!0)}exports.getAnyActivityShortTitle=n,exports.getAnyActivityTitle=t;
@@ -1,23 +1,16 @@
1
- import { NativeActivityTypeNative as r } from "../schema.js";
2
- import { isRejectOnChainActivity as n } from "./isRejectOnChainActivity.js";
3
- function o(e, t, i = !1) {
4
- if (e.type === r) {
5
- if (i && e.meta?.shortTitle)
6
- return t(e.meta.shortTitle);
7
- if (e.meta?.title)
8
- return t(e.meta.title);
9
- } else {
10
- if (n(e))
11
- return t("multisig.onChainRejection");
12
- if (e.title)
13
- return e.title;
14
- }
15
- return t("activities.contractInteraction");
1
+ import "../schema.js";
2
+ import { isRejectOnChainActivity as e } from "./isRejectOnChainActivity.js";
3
+ //#region src/features/simulation/activity/utils/getAnyActivityTitle.ts
4
+ function t(t, n, r = !1) {
5
+ if (t.type === "native") {
6
+ if (r && t.meta?.shortTitle) return n(t.meta.shortTitle);
7
+ if (t.meta?.title) return n(t.meta.title);
8
+ } else if (e(t)) return n("multisig.onChainRejection");
9
+ else if (t.title) return t.title;
10
+ return n("activities.contractInteraction");
16
11
  }
17
- function u(e, t) {
18
- return o(e, t, !0);
12
+ function n(e, n) {
13
+ return t(e, n, !0);
19
14
  }
20
- export {
21
- u as getAnyActivityShortTitle,
22
- o as getAnyActivityTitle
23
- };
15
+ //#endregion
16
+ export { n as getAnyActivityShortTitle, t as getAnyActivityTitle };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function l(e){return e.map(t=>t.lastModified).sort().pop()}exports.getOverallLastModified=l;
1
+ function e(e){return e.map(e=>e.lastModified).sort().pop()}exports.getOverallLastModified=e;
@@ -1,6 +1,6 @@
1
- function e(o) {
2
- return o.map((l) => l.lastModified).sort().pop();
1
+ //#region src/features/simulation/activity/utils/getOverallLastModified.ts
2
+ function e(e) {
3
+ return e.map((e) => e.lastModified).sort().pop();
3
4
  }
4
- export {
5
- e as getOverallLastModified
6
- };
5
+ //#endregion
6
+ export { e as getOverallLastModified };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=t=>!!t.details?.calls?.some(e=>e?.details?.function?.name?e?.details?.function.name==="lock_and_delegate_by_sig":!1);exports.hasDelegationActivity=a;
1
+ var e=e=>!!e.details?.calls?.some(e=>e?.details?.function?.name?e?.details?.function.name===`lock_and_delegate_by_sig`:!1);exports.hasDelegationActivity=e;
@@ -1,4 +1,4 @@
1
- const a = (t) => !!t.details?.calls?.some((e) => e?.details?.function?.name ? e?.details?.function.name === "lock_and_delegate_by_sig" : !1);
2
- export {
3
- a as hasDelegationActivity
4
- };
1
+ //#region src/features/simulation/activity/utils/hasDelegationActivity.ts
2
+ var e = (e) => !!e.details?.calls?.some((e) => e?.details?.function?.name ? e?.details?.function.name === "lock_and_delegate_by_sig" : !1);
3
+ //#endregion
4
+ export { e as hasDelegationActivity };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(t,i){const e=r(t),s=d(t,i);return e||s}const r=t=>{if(!t.actions?.length)return!1;const i=t.actions[0];if(i.name!=="account_multisig_add_signers")return!1;if(i.defaultProperties){for(const e of i.defaultProperties)if(e.type==="calldata"&&e.entrypoint==="add_signers")return!0}return!1},d=(t,i)=>!!("meta"in t&&t.meta?.title?.includes(i("transactionTitle.addMultisigOwner")));exports.isAddMultisigSignersActivity=n;
1
+ function e(e,r){let i=t(e),a=n(e,r);return i||a}var t=e=>{if(!e.actions?.length)return!1;let t=e.actions[0];if(t.name!==`account_multisig_add_signers`)return!1;if(t.defaultProperties){for(let e of t.defaultProperties)if(e.type===`calldata`&&e.entrypoint===`add_signers`)return!0}return!1},n=(e,t)=>!!(`meta`in e&&e.meta?.title?.includes(t(`transactionTitle.addMultisigOwner`)));exports.isAddMultisigSignersActivity=e;