@xyo-network/react-connected-accounts 2.82.0 → 2.83.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (650) hide show
  1. package/dist/browser/index.d.ts +119 -4
  2. package/dist/browser/index.mjs +69 -61
  3. package/dist/browser/index.mjs.map +1 -1
  4. package/package.json +8 -24
  5. package/xy.config.ts +12 -0
  6. package/dist/browser/classes/EnabledWallets.d.cts +0 -30
  7. package/dist/browser/classes/EnabledWallets.d.cts.map +0 -1
  8. package/dist/browser/classes/EnabledWallets.d.mts +0 -30
  9. package/dist/browser/classes/EnabledWallets.d.mts.map +0 -1
  10. package/dist/browser/classes/EnabledWallets.d.ts +0 -30
  11. package/dist/browser/classes/EnabledWallets.d.ts.map +0 -1
  12. package/dist/browser/classes/index.d.cts +0 -2
  13. package/dist/browser/classes/index.d.cts.map +0 -1
  14. package/dist/browser/classes/index.d.mts +0 -2
  15. package/dist/browser/classes/index.d.mts.map +0 -1
  16. package/dist/browser/classes/index.d.ts +0 -2
  17. package/dist/browser/classes/index.d.ts.map +0 -1
  18. package/dist/browser/components/ConnectedAccountsFlexbox.d.cts +0 -8
  19. package/dist/browser/components/ConnectedAccountsFlexbox.d.cts.map +0 -1
  20. package/dist/browser/components/ConnectedAccountsFlexbox.d.mts +0 -8
  21. package/dist/browser/components/ConnectedAccountsFlexbox.d.mts.map +0 -1
  22. package/dist/browser/components/ConnectedAccountsFlexbox.d.ts +0 -8
  23. package/dist/browser/components/ConnectedAccountsFlexbox.d.ts.map +0 -1
  24. package/dist/browser/components/index.d.cts +0 -3
  25. package/dist/browser/components/index.d.cts.map +0 -1
  26. package/dist/browser/components/index.d.mts +0 -3
  27. package/dist/browser/components/index.d.mts.map +0 -1
  28. package/dist/browser/components/index.d.ts +0 -3
  29. package/dist/browser/components/index.d.ts.map +0 -1
  30. package/dist/browser/components/wallet/dialogs/connect/CheckboxFormControl.d.cts +0 -7
  31. package/dist/browser/components/wallet/dialogs/connect/CheckboxFormControl.d.cts.map +0 -1
  32. package/dist/browser/components/wallet/dialogs/connect/CheckboxFormControl.d.mts +0 -7
  33. package/dist/browser/components/wallet/dialogs/connect/CheckboxFormControl.d.mts.map +0 -1
  34. package/dist/browser/components/wallet/dialogs/connect/CheckboxFormControl.d.ts +0 -7
  35. package/dist/browser/components/wallet/dialogs/connect/CheckboxFormControl.d.ts.map +0 -1
  36. package/dist/browser/components/wallet/dialogs/connect/Dialog.d.cts +0 -9
  37. package/dist/browser/components/wallet/dialogs/connect/Dialog.d.cts.map +0 -1
  38. package/dist/browser/components/wallet/dialogs/connect/Dialog.d.mts +0 -9
  39. package/dist/browser/components/wallet/dialogs/connect/Dialog.d.mts.map +0 -1
  40. package/dist/browser/components/wallet/dialogs/connect/Dialog.d.ts +0 -9
  41. package/dist/browser/components/wallet/dialogs/connect/Dialog.d.ts.map +0 -1
  42. package/dist/browser/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.cts +0 -8
  43. package/dist/browser/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.cts.map +0 -1
  44. package/dist/browser/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.mts +0 -8
  45. package/dist/browser/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.mts.map +0 -1
  46. package/dist/browser/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.ts +0 -8
  47. package/dist/browser/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.ts.map +0 -1
  48. package/dist/browser/components/wallet/dialogs/connect/Permissions.d.cts +0 -6
  49. package/dist/browser/components/wallet/dialogs/connect/Permissions.d.cts.map +0 -1
  50. package/dist/browser/components/wallet/dialogs/connect/Permissions.d.mts +0 -6
  51. package/dist/browser/components/wallet/dialogs/connect/Permissions.d.mts.map +0 -1
  52. package/dist/browser/components/wallet/dialogs/connect/Permissions.d.ts +0 -6
  53. package/dist/browser/components/wallet/dialogs/connect/Permissions.d.ts.map +0 -1
  54. package/dist/browser/components/wallet/dialogs/connect/index.d.cts +0 -3
  55. package/dist/browser/components/wallet/dialogs/connect/index.d.cts.map +0 -1
  56. package/dist/browser/components/wallet/dialogs/connect/index.d.mts +0 -3
  57. package/dist/browser/components/wallet/dialogs/connect/index.d.mts.map +0 -1
  58. package/dist/browser/components/wallet/dialogs/connect/index.d.ts +0 -3
  59. package/dist/browser/components/wallet/dialogs/connect/index.d.ts.map +0 -1
  60. package/dist/browser/components/wallet/dialogs/index.d.cts +0 -3
  61. package/dist/browser/components/wallet/dialogs/index.d.cts.map +0 -1
  62. package/dist/browser/components/wallet/dialogs/index.d.mts +0 -3
  63. package/dist/browser/components/wallet/dialogs/index.d.mts.map +0 -1
  64. package/dist/browser/components/wallet/dialogs/index.d.ts +0 -3
  65. package/dist/browser/components/wallet/dialogs/index.d.ts.map +0 -1
  66. package/dist/browser/components/wallet/dialogs/revoke/Dialog.d.cts +0 -8
  67. package/dist/browser/components/wallet/dialogs/revoke/Dialog.d.cts.map +0 -1
  68. package/dist/browser/components/wallet/dialogs/revoke/Dialog.d.mts +0 -8
  69. package/dist/browser/components/wallet/dialogs/revoke/Dialog.d.mts.map +0 -1
  70. package/dist/browser/components/wallet/dialogs/revoke/Dialog.d.ts +0 -8
  71. package/dist/browser/components/wallet/dialogs/revoke/Dialog.d.ts.map +0 -1
  72. package/dist/browser/components/wallet/dialogs/revoke/index.d.cts +0 -2
  73. package/dist/browser/components/wallet/dialogs/revoke/index.d.cts.map +0 -1
  74. package/dist/browser/components/wallet/dialogs/revoke/index.d.mts +0 -2
  75. package/dist/browser/components/wallet/dialogs/revoke/index.d.mts.map +0 -1
  76. package/dist/browser/components/wallet/dialogs/revoke/index.d.ts +0 -2
  77. package/dist/browser/components/wallet/dialogs/revoke/index.d.ts.map +0 -1
  78. package/dist/browser/components/wallet/index.d.cts +0 -3
  79. package/dist/browser/components/wallet/index.d.cts.map +0 -1
  80. package/dist/browser/components/wallet/index.d.mts +0 -3
  81. package/dist/browser/components/wallet/index.d.mts.map +0 -1
  82. package/dist/browser/components/wallet/index.d.ts +0 -3
  83. package/dist/browser/components/wallet/index.d.ts.map +0 -1
  84. package/dist/browser/components/wallet/lib/ActiveProvider.d.cts +0 -7
  85. package/dist/browser/components/wallet/lib/ActiveProvider.d.cts.map +0 -1
  86. package/dist/browser/components/wallet/lib/ActiveProvider.d.mts +0 -7
  87. package/dist/browser/components/wallet/lib/ActiveProvider.d.mts.map +0 -1
  88. package/dist/browser/components/wallet/lib/ActiveProvider.d.ts +0 -7
  89. package/dist/browser/components/wallet/lib/ActiveProvider.d.ts.map +0 -1
  90. package/dist/browser/components/wallet/lib/TableHeadData.d.cts +0 -3
  91. package/dist/browser/components/wallet/lib/TableHeadData.d.cts.map +0 -1
  92. package/dist/browser/components/wallet/lib/TableHeadData.d.mts +0 -3
  93. package/dist/browser/components/wallet/lib/TableHeadData.d.mts.map +0 -1
  94. package/dist/browser/components/wallet/lib/TableHeadData.d.ts +0 -3
  95. package/dist/browser/components/wallet/lib/TableHeadData.d.ts.map +0 -1
  96. package/dist/browser/components/wallet/lib/index.d.cts +0 -3
  97. package/dist/browser/components/wallet/lib/index.d.cts.map +0 -1
  98. package/dist/browser/components/wallet/lib/index.d.mts +0 -3
  99. package/dist/browser/components/wallet/lib/index.d.mts.map +0 -1
  100. package/dist/browser/components/wallet/lib/index.d.ts +0 -3
  101. package/dist/browser/components/wallet/lib/index.d.ts.map +0 -1
  102. package/dist/browser/components/wallet/table/ConnectedWalletsTable.d.cts +0 -10
  103. package/dist/browser/components/wallet/table/ConnectedWalletsTable.d.cts.map +0 -1
  104. package/dist/browser/components/wallet/table/ConnectedWalletsTable.d.mts +0 -10
  105. package/dist/browser/components/wallet/table/ConnectedWalletsTable.d.mts.map +0 -1
  106. package/dist/browser/components/wallet/table/ConnectedWalletsTable.d.ts +0 -10
  107. package/dist/browser/components/wallet/table/ConnectedWalletsTable.d.ts.map +0 -1
  108. package/dist/browser/components/wallet/table/ConnectedWalletsTableRow.d.cts +0 -12
  109. package/dist/browser/components/wallet/table/ConnectedWalletsTableRow.d.cts.map +0 -1
  110. package/dist/browser/components/wallet/table/ConnectedWalletsTableRow.d.mts +0 -12
  111. package/dist/browser/components/wallet/table/ConnectedWalletsTableRow.d.mts.map +0 -1
  112. package/dist/browser/components/wallet/table/ConnectedWalletsTableRow.d.ts +0 -12
  113. package/dist/browser/components/wallet/table/ConnectedWalletsTableRow.d.ts.map +0 -1
  114. package/dist/browser/components/wallet/table/cells/Accounts.d.cts +0 -4
  115. package/dist/browser/components/wallet/table/cells/Accounts.d.cts.map +0 -1
  116. package/dist/browser/components/wallet/table/cells/Accounts.d.mts +0 -4
  117. package/dist/browser/components/wallet/table/cells/Accounts.d.mts.map +0 -1
  118. package/dist/browser/components/wallet/table/cells/Accounts.d.ts +0 -4
  119. package/dist/browser/components/wallet/table/cells/Accounts.d.ts.map +0 -1
  120. package/dist/browser/components/wallet/table/cells/Actions.d.cts +0 -4
  121. package/dist/browser/components/wallet/table/cells/Actions.d.cts.map +0 -1
  122. package/dist/browser/components/wallet/table/cells/Actions.d.mts +0 -4
  123. package/dist/browser/components/wallet/table/cells/Actions.d.mts.map +0 -1
  124. package/dist/browser/components/wallet/table/cells/Actions.d.ts +0 -4
  125. package/dist/browser/components/wallet/table/cells/Actions.d.ts.map +0 -1
  126. package/dist/browser/components/wallet/table/cells/Cells.d.cts +0 -4
  127. package/dist/browser/components/wallet/table/cells/Cells.d.cts.map +0 -1
  128. package/dist/browser/components/wallet/table/cells/Cells.d.mts +0 -4
  129. package/dist/browser/components/wallet/table/cells/Cells.d.mts.map +0 -1
  130. package/dist/browser/components/wallet/table/cells/Cells.d.ts +0 -4
  131. package/dist/browser/components/wallet/table/cells/Cells.d.ts.map +0 -1
  132. package/dist/browser/components/wallet/table/cells/ChainName.d.cts +0 -4
  133. package/dist/browser/components/wallet/table/cells/ChainName.d.cts.map +0 -1
  134. package/dist/browser/components/wallet/table/cells/ChainName.d.mts +0 -4
  135. package/dist/browser/components/wallet/table/cells/ChainName.d.mts.map +0 -1
  136. package/dist/browser/components/wallet/table/cells/ChainName.d.ts +0 -4
  137. package/dist/browser/components/wallet/table/cells/ChainName.d.ts.map +0 -1
  138. package/dist/browser/components/wallet/table/cells/State.d.cts +0 -4
  139. package/dist/browser/components/wallet/table/cells/State.d.cts.map +0 -1
  140. package/dist/browser/components/wallet/table/cells/State.d.mts +0 -4
  141. package/dist/browser/components/wallet/table/cells/State.d.mts.map +0 -1
  142. package/dist/browser/components/wallet/table/cells/State.d.ts +0 -4
  143. package/dist/browser/components/wallet/table/cells/State.d.ts.map +0 -1
  144. package/dist/browser/components/wallet/table/cells/Wallet.d.cts +0 -4
  145. package/dist/browser/components/wallet/table/cells/Wallet.d.cts.map +0 -1
  146. package/dist/browser/components/wallet/table/cells/Wallet.d.mts +0 -4
  147. package/dist/browser/components/wallet/table/cells/Wallet.d.mts.map +0 -1
  148. package/dist/browser/components/wallet/table/cells/Wallet.d.ts +0 -4
  149. package/dist/browser/components/wallet/table/cells/Wallet.d.ts.map +0 -1
  150. package/dist/browser/components/wallet/table/cells/index.d.cts +0 -7
  151. package/dist/browser/components/wallet/table/cells/index.d.cts.map +0 -1
  152. package/dist/browser/components/wallet/table/cells/index.d.mts +0 -7
  153. package/dist/browser/components/wallet/table/cells/index.d.mts.map +0 -1
  154. package/dist/browser/components/wallet/table/cells/index.d.ts +0 -7
  155. package/dist/browser/components/wallet/table/cells/index.d.ts.map +0 -1
  156. package/dist/browser/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.cts +0 -15
  157. package/dist/browser/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.cts.map +0 -1
  158. package/dist/browser/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.mts +0 -15
  159. package/dist/browser/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.mts.map +0 -1
  160. package/dist/browser/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.ts +0 -15
  161. package/dist/browser/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.ts.map +0 -1
  162. package/dist/browser/components/wallet/table/cells/lib/index.d.cts +0 -2
  163. package/dist/browser/components/wallet/table/cells/lib/index.d.cts.map +0 -1
  164. package/dist/browser/components/wallet/table/cells/lib/index.d.mts +0 -2
  165. package/dist/browser/components/wallet/table/cells/lib/index.d.mts.map +0 -1
  166. package/dist/browser/components/wallet/table/cells/lib/index.d.ts +0 -2
  167. package/dist/browser/components/wallet/table/cells/lib/index.d.ts.map +0 -1
  168. package/dist/browser/components/wallet/table/hooks/index.d.cts +0 -2
  169. package/dist/browser/components/wallet/table/hooks/index.d.cts.map +0 -1
  170. package/dist/browser/components/wallet/table/hooks/index.d.mts +0 -2
  171. package/dist/browser/components/wallet/table/hooks/index.d.mts.map +0 -1
  172. package/dist/browser/components/wallet/table/hooks/index.d.ts +0 -2
  173. package/dist/browser/components/wallet/table/hooks/index.d.ts.map +0 -1
  174. package/dist/browser/components/wallet/table/hooks/useActiveProviderDialogState.d.cts +0 -4
  175. package/dist/browser/components/wallet/table/hooks/useActiveProviderDialogState.d.cts.map +0 -1
  176. package/dist/browser/components/wallet/table/hooks/useActiveProviderDialogState.d.mts +0 -4
  177. package/dist/browser/components/wallet/table/hooks/useActiveProviderDialogState.d.mts.map +0 -1
  178. package/dist/browser/components/wallet/table/hooks/useActiveProviderDialogState.d.ts +0 -4
  179. package/dist/browser/components/wallet/table/hooks/useActiveProviderDialogState.d.ts.map +0 -1
  180. package/dist/browser/components/wallet/table/index.d.cts +0 -5
  181. package/dist/browser/components/wallet/table/index.d.cts.map +0 -1
  182. package/dist/browser/components/wallet/table/index.d.mts +0 -5
  183. package/dist/browser/components/wallet/table/index.d.mts.map +0 -1
  184. package/dist/browser/components/wallet/table/index.d.ts +0 -5
  185. package/dist/browser/components/wallet/table/index.d.ts.map +0 -1
  186. package/dist/browser/hooks/index.d.cts +0 -3
  187. package/dist/browser/hooks/index.d.cts.map +0 -1
  188. package/dist/browser/hooks/index.d.mts +0 -3
  189. package/dist/browser/hooks/index.d.mts.map +0 -1
  190. package/dist/browser/hooks/index.d.ts +0 -3
  191. package/dist/browser/hooks/index.d.ts.map +0 -1
  192. package/dist/browser/hooks/useDetectWallets.d.cts +0 -6
  193. package/dist/browser/hooks/useDetectWallets.d.cts.map +0 -1
  194. package/dist/browser/hooks/useDetectWallets.d.mts +0 -6
  195. package/dist/browser/hooks/useDetectWallets.d.mts.map +0 -1
  196. package/dist/browser/hooks/useDetectWallets.d.ts +0 -6
  197. package/dist/browser/hooks/useDetectWallets.d.ts.map +0 -1
  198. package/dist/browser/hooks/useEnabledWallets.d.cts +0 -9
  199. package/dist/browser/hooks/useEnabledWallets.d.cts.map +0 -1
  200. package/dist/browser/hooks/useEnabledWallets.d.mts +0 -9
  201. package/dist/browser/hooks/useEnabledWallets.d.mts.map +0 -1
  202. package/dist/browser/hooks/useEnabledWallets.d.ts +0 -9
  203. package/dist/browser/hooks/useEnabledWallets.d.ts.map +0 -1
  204. package/dist/browser/img/index.d.cts +0 -3
  205. package/dist/browser/img/index.d.cts.map +0 -1
  206. package/dist/browser/img/index.d.mts +0 -3
  207. package/dist/browser/img/index.d.mts.map +0 -1
  208. package/dist/browser/img/index.d.ts +0 -3
  209. package/dist/browser/img/index.d.ts.map +0 -1
  210. package/dist/browser/index.cjs +0 -654
  211. package/dist/browser/index.cjs.map +0 -1
  212. package/dist/browser/index.d.cts +0 -4
  213. package/dist/browser/index.d.cts.map +0 -1
  214. package/dist/browser/index.d.mts +0 -4
  215. package/dist/browser/index.d.mts.map +0 -1
  216. package/dist/browser/index.d.ts.map +0 -1
  217. package/dist/browser/xyo-color-logo-LHR2SMEM.svg +0 -1
  218. package/dist/browser/xyo-color-logo-text-only-QPAW5BSQ.svg +0 -1
  219. package/dist/neutral/classes/EnabledWallets.d.cts +0 -30
  220. package/dist/neutral/classes/EnabledWallets.d.cts.map +0 -1
  221. package/dist/neutral/classes/EnabledWallets.d.mts +0 -30
  222. package/dist/neutral/classes/EnabledWallets.d.mts.map +0 -1
  223. package/dist/neutral/classes/EnabledWallets.d.ts +0 -30
  224. package/dist/neutral/classes/EnabledWallets.d.ts.map +0 -1
  225. package/dist/neutral/classes/index.d.cts +0 -2
  226. package/dist/neutral/classes/index.d.cts.map +0 -1
  227. package/dist/neutral/classes/index.d.mts +0 -2
  228. package/dist/neutral/classes/index.d.mts.map +0 -1
  229. package/dist/neutral/classes/index.d.ts +0 -2
  230. package/dist/neutral/classes/index.d.ts.map +0 -1
  231. package/dist/neutral/components/ConnectedAccountsFlexbox.d.cts +0 -8
  232. package/dist/neutral/components/ConnectedAccountsFlexbox.d.cts.map +0 -1
  233. package/dist/neutral/components/ConnectedAccountsFlexbox.d.mts +0 -8
  234. package/dist/neutral/components/ConnectedAccountsFlexbox.d.mts.map +0 -1
  235. package/dist/neutral/components/ConnectedAccountsFlexbox.d.ts +0 -8
  236. package/dist/neutral/components/ConnectedAccountsFlexbox.d.ts.map +0 -1
  237. package/dist/neutral/components/index.d.cts +0 -3
  238. package/dist/neutral/components/index.d.cts.map +0 -1
  239. package/dist/neutral/components/index.d.mts +0 -3
  240. package/dist/neutral/components/index.d.mts.map +0 -1
  241. package/dist/neutral/components/index.d.ts +0 -3
  242. package/dist/neutral/components/index.d.ts.map +0 -1
  243. package/dist/neutral/components/wallet/dialogs/connect/CheckboxFormControl.d.cts +0 -7
  244. package/dist/neutral/components/wallet/dialogs/connect/CheckboxFormControl.d.cts.map +0 -1
  245. package/dist/neutral/components/wallet/dialogs/connect/CheckboxFormControl.d.mts +0 -7
  246. package/dist/neutral/components/wallet/dialogs/connect/CheckboxFormControl.d.mts.map +0 -1
  247. package/dist/neutral/components/wallet/dialogs/connect/CheckboxFormControl.d.ts +0 -7
  248. package/dist/neutral/components/wallet/dialogs/connect/CheckboxFormControl.d.ts.map +0 -1
  249. package/dist/neutral/components/wallet/dialogs/connect/Dialog.d.cts +0 -9
  250. package/dist/neutral/components/wallet/dialogs/connect/Dialog.d.cts.map +0 -1
  251. package/dist/neutral/components/wallet/dialogs/connect/Dialog.d.mts +0 -9
  252. package/dist/neutral/components/wallet/dialogs/connect/Dialog.d.mts.map +0 -1
  253. package/dist/neutral/components/wallet/dialogs/connect/Dialog.d.ts +0 -9
  254. package/dist/neutral/components/wallet/dialogs/connect/Dialog.d.ts.map +0 -1
  255. package/dist/neutral/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.cts +0 -8
  256. package/dist/neutral/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.cts.map +0 -1
  257. package/dist/neutral/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.mts +0 -8
  258. package/dist/neutral/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.mts.map +0 -1
  259. package/dist/neutral/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.ts +0 -8
  260. package/dist/neutral/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.ts.map +0 -1
  261. package/dist/neutral/components/wallet/dialogs/connect/Permissions.d.cts +0 -6
  262. package/dist/neutral/components/wallet/dialogs/connect/Permissions.d.cts.map +0 -1
  263. package/dist/neutral/components/wallet/dialogs/connect/Permissions.d.mts +0 -6
  264. package/dist/neutral/components/wallet/dialogs/connect/Permissions.d.mts.map +0 -1
  265. package/dist/neutral/components/wallet/dialogs/connect/Permissions.d.ts +0 -6
  266. package/dist/neutral/components/wallet/dialogs/connect/Permissions.d.ts.map +0 -1
  267. package/dist/neutral/components/wallet/dialogs/connect/index.d.cts +0 -3
  268. package/dist/neutral/components/wallet/dialogs/connect/index.d.cts.map +0 -1
  269. package/dist/neutral/components/wallet/dialogs/connect/index.d.mts +0 -3
  270. package/dist/neutral/components/wallet/dialogs/connect/index.d.mts.map +0 -1
  271. package/dist/neutral/components/wallet/dialogs/connect/index.d.ts +0 -3
  272. package/dist/neutral/components/wallet/dialogs/connect/index.d.ts.map +0 -1
  273. package/dist/neutral/components/wallet/dialogs/index.d.cts +0 -3
  274. package/dist/neutral/components/wallet/dialogs/index.d.cts.map +0 -1
  275. package/dist/neutral/components/wallet/dialogs/index.d.mts +0 -3
  276. package/dist/neutral/components/wallet/dialogs/index.d.mts.map +0 -1
  277. package/dist/neutral/components/wallet/dialogs/index.d.ts +0 -3
  278. package/dist/neutral/components/wallet/dialogs/index.d.ts.map +0 -1
  279. package/dist/neutral/components/wallet/dialogs/revoke/Dialog.d.cts +0 -8
  280. package/dist/neutral/components/wallet/dialogs/revoke/Dialog.d.cts.map +0 -1
  281. package/dist/neutral/components/wallet/dialogs/revoke/Dialog.d.mts +0 -8
  282. package/dist/neutral/components/wallet/dialogs/revoke/Dialog.d.mts.map +0 -1
  283. package/dist/neutral/components/wallet/dialogs/revoke/Dialog.d.ts +0 -8
  284. package/dist/neutral/components/wallet/dialogs/revoke/Dialog.d.ts.map +0 -1
  285. package/dist/neutral/components/wallet/dialogs/revoke/index.d.cts +0 -2
  286. package/dist/neutral/components/wallet/dialogs/revoke/index.d.cts.map +0 -1
  287. package/dist/neutral/components/wallet/dialogs/revoke/index.d.mts +0 -2
  288. package/dist/neutral/components/wallet/dialogs/revoke/index.d.mts.map +0 -1
  289. package/dist/neutral/components/wallet/dialogs/revoke/index.d.ts +0 -2
  290. package/dist/neutral/components/wallet/dialogs/revoke/index.d.ts.map +0 -1
  291. package/dist/neutral/components/wallet/index.d.cts +0 -3
  292. package/dist/neutral/components/wallet/index.d.cts.map +0 -1
  293. package/dist/neutral/components/wallet/index.d.mts +0 -3
  294. package/dist/neutral/components/wallet/index.d.mts.map +0 -1
  295. package/dist/neutral/components/wallet/index.d.ts +0 -3
  296. package/dist/neutral/components/wallet/index.d.ts.map +0 -1
  297. package/dist/neutral/components/wallet/lib/ActiveProvider.d.cts +0 -7
  298. package/dist/neutral/components/wallet/lib/ActiveProvider.d.cts.map +0 -1
  299. package/dist/neutral/components/wallet/lib/ActiveProvider.d.mts +0 -7
  300. package/dist/neutral/components/wallet/lib/ActiveProvider.d.mts.map +0 -1
  301. package/dist/neutral/components/wallet/lib/ActiveProvider.d.ts +0 -7
  302. package/dist/neutral/components/wallet/lib/ActiveProvider.d.ts.map +0 -1
  303. package/dist/neutral/components/wallet/lib/TableHeadData.d.cts +0 -3
  304. package/dist/neutral/components/wallet/lib/TableHeadData.d.cts.map +0 -1
  305. package/dist/neutral/components/wallet/lib/TableHeadData.d.mts +0 -3
  306. package/dist/neutral/components/wallet/lib/TableHeadData.d.mts.map +0 -1
  307. package/dist/neutral/components/wallet/lib/TableHeadData.d.ts +0 -3
  308. package/dist/neutral/components/wallet/lib/TableHeadData.d.ts.map +0 -1
  309. package/dist/neutral/components/wallet/lib/index.d.cts +0 -3
  310. package/dist/neutral/components/wallet/lib/index.d.cts.map +0 -1
  311. package/dist/neutral/components/wallet/lib/index.d.mts +0 -3
  312. package/dist/neutral/components/wallet/lib/index.d.mts.map +0 -1
  313. package/dist/neutral/components/wallet/lib/index.d.ts +0 -3
  314. package/dist/neutral/components/wallet/lib/index.d.ts.map +0 -1
  315. package/dist/neutral/components/wallet/table/ConnectedWalletsTable.d.cts +0 -10
  316. package/dist/neutral/components/wallet/table/ConnectedWalletsTable.d.cts.map +0 -1
  317. package/dist/neutral/components/wallet/table/ConnectedWalletsTable.d.mts +0 -10
  318. package/dist/neutral/components/wallet/table/ConnectedWalletsTable.d.mts.map +0 -1
  319. package/dist/neutral/components/wallet/table/ConnectedWalletsTable.d.ts +0 -10
  320. package/dist/neutral/components/wallet/table/ConnectedWalletsTable.d.ts.map +0 -1
  321. package/dist/neutral/components/wallet/table/ConnectedWalletsTableRow.d.cts +0 -12
  322. package/dist/neutral/components/wallet/table/ConnectedWalletsTableRow.d.cts.map +0 -1
  323. package/dist/neutral/components/wallet/table/ConnectedWalletsTableRow.d.mts +0 -12
  324. package/dist/neutral/components/wallet/table/ConnectedWalletsTableRow.d.mts.map +0 -1
  325. package/dist/neutral/components/wallet/table/ConnectedWalletsTableRow.d.ts +0 -12
  326. package/dist/neutral/components/wallet/table/ConnectedWalletsTableRow.d.ts.map +0 -1
  327. package/dist/neutral/components/wallet/table/cells/Accounts.d.cts +0 -4
  328. package/dist/neutral/components/wallet/table/cells/Accounts.d.cts.map +0 -1
  329. package/dist/neutral/components/wallet/table/cells/Accounts.d.mts +0 -4
  330. package/dist/neutral/components/wallet/table/cells/Accounts.d.mts.map +0 -1
  331. package/dist/neutral/components/wallet/table/cells/Accounts.d.ts +0 -4
  332. package/dist/neutral/components/wallet/table/cells/Accounts.d.ts.map +0 -1
  333. package/dist/neutral/components/wallet/table/cells/Actions.d.cts +0 -4
  334. package/dist/neutral/components/wallet/table/cells/Actions.d.cts.map +0 -1
  335. package/dist/neutral/components/wallet/table/cells/Actions.d.mts +0 -4
  336. package/dist/neutral/components/wallet/table/cells/Actions.d.mts.map +0 -1
  337. package/dist/neutral/components/wallet/table/cells/Actions.d.ts +0 -4
  338. package/dist/neutral/components/wallet/table/cells/Actions.d.ts.map +0 -1
  339. package/dist/neutral/components/wallet/table/cells/Cells.d.cts +0 -4
  340. package/dist/neutral/components/wallet/table/cells/Cells.d.cts.map +0 -1
  341. package/dist/neutral/components/wallet/table/cells/Cells.d.mts +0 -4
  342. package/dist/neutral/components/wallet/table/cells/Cells.d.mts.map +0 -1
  343. package/dist/neutral/components/wallet/table/cells/Cells.d.ts +0 -4
  344. package/dist/neutral/components/wallet/table/cells/Cells.d.ts.map +0 -1
  345. package/dist/neutral/components/wallet/table/cells/ChainName.d.cts +0 -4
  346. package/dist/neutral/components/wallet/table/cells/ChainName.d.cts.map +0 -1
  347. package/dist/neutral/components/wallet/table/cells/ChainName.d.mts +0 -4
  348. package/dist/neutral/components/wallet/table/cells/ChainName.d.mts.map +0 -1
  349. package/dist/neutral/components/wallet/table/cells/ChainName.d.ts +0 -4
  350. package/dist/neutral/components/wallet/table/cells/ChainName.d.ts.map +0 -1
  351. package/dist/neutral/components/wallet/table/cells/State.d.cts +0 -4
  352. package/dist/neutral/components/wallet/table/cells/State.d.cts.map +0 -1
  353. package/dist/neutral/components/wallet/table/cells/State.d.mts +0 -4
  354. package/dist/neutral/components/wallet/table/cells/State.d.mts.map +0 -1
  355. package/dist/neutral/components/wallet/table/cells/State.d.ts +0 -4
  356. package/dist/neutral/components/wallet/table/cells/State.d.ts.map +0 -1
  357. package/dist/neutral/components/wallet/table/cells/Wallet.d.cts +0 -4
  358. package/dist/neutral/components/wallet/table/cells/Wallet.d.cts.map +0 -1
  359. package/dist/neutral/components/wallet/table/cells/Wallet.d.mts +0 -4
  360. package/dist/neutral/components/wallet/table/cells/Wallet.d.mts.map +0 -1
  361. package/dist/neutral/components/wallet/table/cells/Wallet.d.ts +0 -4
  362. package/dist/neutral/components/wallet/table/cells/Wallet.d.ts.map +0 -1
  363. package/dist/neutral/components/wallet/table/cells/index.d.cts +0 -7
  364. package/dist/neutral/components/wallet/table/cells/index.d.cts.map +0 -1
  365. package/dist/neutral/components/wallet/table/cells/index.d.mts +0 -7
  366. package/dist/neutral/components/wallet/table/cells/index.d.mts.map +0 -1
  367. package/dist/neutral/components/wallet/table/cells/index.d.ts +0 -7
  368. package/dist/neutral/components/wallet/table/cells/index.d.ts.map +0 -1
  369. package/dist/neutral/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.cts +0 -15
  370. package/dist/neutral/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.cts.map +0 -1
  371. package/dist/neutral/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.mts +0 -15
  372. package/dist/neutral/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.mts.map +0 -1
  373. package/dist/neutral/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.ts +0 -15
  374. package/dist/neutral/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.ts.map +0 -1
  375. package/dist/neutral/components/wallet/table/cells/lib/index.d.cts +0 -2
  376. package/dist/neutral/components/wallet/table/cells/lib/index.d.cts.map +0 -1
  377. package/dist/neutral/components/wallet/table/cells/lib/index.d.mts +0 -2
  378. package/dist/neutral/components/wallet/table/cells/lib/index.d.mts.map +0 -1
  379. package/dist/neutral/components/wallet/table/cells/lib/index.d.ts +0 -2
  380. package/dist/neutral/components/wallet/table/cells/lib/index.d.ts.map +0 -1
  381. package/dist/neutral/components/wallet/table/hooks/index.d.cts +0 -2
  382. package/dist/neutral/components/wallet/table/hooks/index.d.cts.map +0 -1
  383. package/dist/neutral/components/wallet/table/hooks/index.d.mts +0 -2
  384. package/dist/neutral/components/wallet/table/hooks/index.d.mts.map +0 -1
  385. package/dist/neutral/components/wallet/table/hooks/index.d.ts +0 -2
  386. package/dist/neutral/components/wallet/table/hooks/index.d.ts.map +0 -1
  387. package/dist/neutral/components/wallet/table/hooks/useActiveProviderDialogState.d.cts +0 -4
  388. package/dist/neutral/components/wallet/table/hooks/useActiveProviderDialogState.d.cts.map +0 -1
  389. package/dist/neutral/components/wallet/table/hooks/useActiveProviderDialogState.d.mts +0 -4
  390. package/dist/neutral/components/wallet/table/hooks/useActiveProviderDialogState.d.mts.map +0 -1
  391. package/dist/neutral/components/wallet/table/hooks/useActiveProviderDialogState.d.ts +0 -4
  392. package/dist/neutral/components/wallet/table/hooks/useActiveProviderDialogState.d.ts.map +0 -1
  393. package/dist/neutral/components/wallet/table/index.d.cts +0 -5
  394. package/dist/neutral/components/wallet/table/index.d.cts.map +0 -1
  395. package/dist/neutral/components/wallet/table/index.d.mts +0 -5
  396. package/dist/neutral/components/wallet/table/index.d.mts.map +0 -1
  397. package/dist/neutral/components/wallet/table/index.d.ts +0 -5
  398. package/dist/neutral/components/wallet/table/index.d.ts.map +0 -1
  399. package/dist/neutral/hooks/index.d.cts +0 -3
  400. package/dist/neutral/hooks/index.d.cts.map +0 -1
  401. package/dist/neutral/hooks/index.d.mts +0 -3
  402. package/dist/neutral/hooks/index.d.mts.map +0 -1
  403. package/dist/neutral/hooks/index.d.ts +0 -3
  404. package/dist/neutral/hooks/index.d.ts.map +0 -1
  405. package/dist/neutral/hooks/useDetectWallets.d.cts +0 -6
  406. package/dist/neutral/hooks/useDetectWallets.d.cts.map +0 -1
  407. package/dist/neutral/hooks/useDetectWallets.d.mts +0 -6
  408. package/dist/neutral/hooks/useDetectWallets.d.mts.map +0 -1
  409. package/dist/neutral/hooks/useDetectWallets.d.ts +0 -6
  410. package/dist/neutral/hooks/useDetectWallets.d.ts.map +0 -1
  411. package/dist/neutral/hooks/useEnabledWallets.d.cts +0 -9
  412. package/dist/neutral/hooks/useEnabledWallets.d.cts.map +0 -1
  413. package/dist/neutral/hooks/useEnabledWallets.d.mts +0 -9
  414. package/dist/neutral/hooks/useEnabledWallets.d.mts.map +0 -1
  415. package/dist/neutral/hooks/useEnabledWallets.d.ts +0 -9
  416. package/dist/neutral/hooks/useEnabledWallets.d.ts.map +0 -1
  417. package/dist/neutral/img/index.d.cts +0 -3
  418. package/dist/neutral/img/index.d.cts.map +0 -1
  419. package/dist/neutral/img/index.d.mts +0 -3
  420. package/dist/neutral/img/index.d.mts.map +0 -1
  421. package/dist/neutral/img/index.d.ts +0 -3
  422. package/dist/neutral/img/index.d.ts.map +0 -1
  423. package/dist/neutral/index.cjs +0 -654
  424. package/dist/neutral/index.cjs.map +0 -1
  425. package/dist/neutral/index.d.cts +0 -4
  426. package/dist/neutral/index.d.cts.map +0 -1
  427. package/dist/neutral/index.d.mts +0 -4
  428. package/dist/neutral/index.d.mts.map +0 -1
  429. package/dist/neutral/index.d.ts +0 -4
  430. package/dist/neutral/index.d.ts.map +0 -1
  431. package/dist/neutral/index.mjs +0 -623
  432. package/dist/neutral/index.mjs.map +0 -1
  433. package/dist/neutral/xyo-color-logo-LHR2SMEM.svg +0 -1
  434. package/dist/neutral/xyo-color-logo-text-only-QPAW5BSQ.svg +0 -1
  435. package/dist/node/classes/EnabledWallets.d.cts +0 -30
  436. package/dist/node/classes/EnabledWallets.d.cts.map +0 -1
  437. package/dist/node/classes/EnabledWallets.d.mts +0 -30
  438. package/dist/node/classes/EnabledWallets.d.mts.map +0 -1
  439. package/dist/node/classes/EnabledWallets.d.ts +0 -30
  440. package/dist/node/classes/EnabledWallets.d.ts.map +0 -1
  441. package/dist/node/classes/index.d.cts +0 -2
  442. package/dist/node/classes/index.d.cts.map +0 -1
  443. package/dist/node/classes/index.d.mts +0 -2
  444. package/dist/node/classes/index.d.mts.map +0 -1
  445. package/dist/node/classes/index.d.ts +0 -2
  446. package/dist/node/classes/index.d.ts.map +0 -1
  447. package/dist/node/components/ConnectedAccountsFlexbox.d.cts +0 -8
  448. package/dist/node/components/ConnectedAccountsFlexbox.d.cts.map +0 -1
  449. package/dist/node/components/ConnectedAccountsFlexbox.d.mts +0 -8
  450. package/dist/node/components/ConnectedAccountsFlexbox.d.mts.map +0 -1
  451. package/dist/node/components/ConnectedAccountsFlexbox.d.ts +0 -8
  452. package/dist/node/components/ConnectedAccountsFlexbox.d.ts.map +0 -1
  453. package/dist/node/components/index.d.cts +0 -3
  454. package/dist/node/components/index.d.cts.map +0 -1
  455. package/dist/node/components/index.d.mts +0 -3
  456. package/dist/node/components/index.d.mts.map +0 -1
  457. package/dist/node/components/index.d.ts +0 -3
  458. package/dist/node/components/index.d.ts.map +0 -1
  459. package/dist/node/components/wallet/dialogs/connect/CheckboxFormControl.d.cts +0 -7
  460. package/dist/node/components/wallet/dialogs/connect/CheckboxFormControl.d.cts.map +0 -1
  461. package/dist/node/components/wallet/dialogs/connect/CheckboxFormControl.d.mts +0 -7
  462. package/dist/node/components/wallet/dialogs/connect/CheckboxFormControl.d.mts.map +0 -1
  463. package/dist/node/components/wallet/dialogs/connect/CheckboxFormControl.d.ts +0 -7
  464. package/dist/node/components/wallet/dialogs/connect/CheckboxFormControl.d.ts.map +0 -1
  465. package/dist/node/components/wallet/dialogs/connect/Dialog.d.cts +0 -9
  466. package/dist/node/components/wallet/dialogs/connect/Dialog.d.cts.map +0 -1
  467. package/dist/node/components/wallet/dialogs/connect/Dialog.d.mts +0 -9
  468. package/dist/node/components/wallet/dialogs/connect/Dialog.d.mts.map +0 -1
  469. package/dist/node/components/wallet/dialogs/connect/Dialog.d.ts +0 -9
  470. package/dist/node/components/wallet/dialogs/connect/Dialog.d.ts.map +0 -1
  471. package/dist/node/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.cts +0 -8
  472. package/dist/node/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.cts.map +0 -1
  473. package/dist/node/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.mts +0 -8
  474. package/dist/node/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.mts.map +0 -1
  475. package/dist/node/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.ts +0 -8
  476. package/dist/node/components/wallet/dialogs/connect/LinkedProvidersFlexbox.d.ts.map +0 -1
  477. package/dist/node/components/wallet/dialogs/connect/Permissions.d.cts +0 -6
  478. package/dist/node/components/wallet/dialogs/connect/Permissions.d.cts.map +0 -1
  479. package/dist/node/components/wallet/dialogs/connect/Permissions.d.mts +0 -6
  480. package/dist/node/components/wallet/dialogs/connect/Permissions.d.mts.map +0 -1
  481. package/dist/node/components/wallet/dialogs/connect/Permissions.d.ts +0 -6
  482. package/dist/node/components/wallet/dialogs/connect/Permissions.d.ts.map +0 -1
  483. package/dist/node/components/wallet/dialogs/connect/index.d.cts +0 -3
  484. package/dist/node/components/wallet/dialogs/connect/index.d.cts.map +0 -1
  485. package/dist/node/components/wallet/dialogs/connect/index.d.mts +0 -3
  486. package/dist/node/components/wallet/dialogs/connect/index.d.mts.map +0 -1
  487. package/dist/node/components/wallet/dialogs/connect/index.d.ts +0 -3
  488. package/dist/node/components/wallet/dialogs/connect/index.d.ts.map +0 -1
  489. package/dist/node/components/wallet/dialogs/index.d.cts +0 -3
  490. package/dist/node/components/wallet/dialogs/index.d.cts.map +0 -1
  491. package/dist/node/components/wallet/dialogs/index.d.mts +0 -3
  492. package/dist/node/components/wallet/dialogs/index.d.mts.map +0 -1
  493. package/dist/node/components/wallet/dialogs/index.d.ts +0 -3
  494. package/dist/node/components/wallet/dialogs/index.d.ts.map +0 -1
  495. package/dist/node/components/wallet/dialogs/revoke/Dialog.d.cts +0 -8
  496. package/dist/node/components/wallet/dialogs/revoke/Dialog.d.cts.map +0 -1
  497. package/dist/node/components/wallet/dialogs/revoke/Dialog.d.mts +0 -8
  498. package/dist/node/components/wallet/dialogs/revoke/Dialog.d.mts.map +0 -1
  499. package/dist/node/components/wallet/dialogs/revoke/Dialog.d.ts +0 -8
  500. package/dist/node/components/wallet/dialogs/revoke/Dialog.d.ts.map +0 -1
  501. package/dist/node/components/wallet/dialogs/revoke/index.d.cts +0 -2
  502. package/dist/node/components/wallet/dialogs/revoke/index.d.cts.map +0 -1
  503. package/dist/node/components/wallet/dialogs/revoke/index.d.mts +0 -2
  504. package/dist/node/components/wallet/dialogs/revoke/index.d.mts.map +0 -1
  505. package/dist/node/components/wallet/dialogs/revoke/index.d.ts +0 -2
  506. package/dist/node/components/wallet/dialogs/revoke/index.d.ts.map +0 -1
  507. package/dist/node/components/wallet/index.d.cts +0 -3
  508. package/dist/node/components/wallet/index.d.cts.map +0 -1
  509. package/dist/node/components/wallet/index.d.mts +0 -3
  510. package/dist/node/components/wallet/index.d.mts.map +0 -1
  511. package/dist/node/components/wallet/index.d.ts +0 -3
  512. package/dist/node/components/wallet/index.d.ts.map +0 -1
  513. package/dist/node/components/wallet/lib/ActiveProvider.d.cts +0 -7
  514. package/dist/node/components/wallet/lib/ActiveProvider.d.cts.map +0 -1
  515. package/dist/node/components/wallet/lib/ActiveProvider.d.mts +0 -7
  516. package/dist/node/components/wallet/lib/ActiveProvider.d.mts.map +0 -1
  517. package/dist/node/components/wallet/lib/ActiveProvider.d.ts +0 -7
  518. package/dist/node/components/wallet/lib/ActiveProvider.d.ts.map +0 -1
  519. package/dist/node/components/wallet/lib/TableHeadData.d.cts +0 -3
  520. package/dist/node/components/wallet/lib/TableHeadData.d.cts.map +0 -1
  521. package/dist/node/components/wallet/lib/TableHeadData.d.mts +0 -3
  522. package/dist/node/components/wallet/lib/TableHeadData.d.mts.map +0 -1
  523. package/dist/node/components/wallet/lib/TableHeadData.d.ts +0 -3
  524. package/dist/node/components/wallet/lib/TableHeadData.d.ts.map +0 -1
  525. package/dist/node/components/wallet/lib/index.d.cts +0 -3
  526. package/dist/node/components/wallet/lib/index.d.cts.map +0 -1
  527. package/dist/node/components/wallet/lib/index.d.mts +0 -3
  528. package/dist/node/components/wallet/lib/index.d.mts.map +0 -1
  529. package/dist/node/components/wallet/lib/index.d.ts +0 -3
  530. package/dist/node/components/wallet/lib/index.d.ts.map +0 -1
  531. package/dist/node/components/wallet/table/ConnectedWalletsTable.d.cts +0 -10
  532. package/dist/node/components/wallet/table/ConnectedWalletsTable.d.cts.map +0 -1
  533. package/dist/node/components/wallet/table/ConnectedWalletsTable.d.mts +0 -10
  534. package/dist/node/components/wallet/table/ConnectedWalletsTable.d.mts.map +0 -1
  535. package/dist/node/components/wallet/table/ConnectedWalletsTable.d.ts +0 -10
  536. package/dist/node/components/wallet/table/ConnectedWalletsTable.d.ts.map +0 -1
  537. package/dist/node/components/wallet/table/ConnectedWalletsTableRow.d.cts +0 -12
  538. package/dist/node/components/wallet/table/ConnectedWalletsTableRow.d.cts.map +0 -1
  539. package/dist/node/components/wallet/table/ConnectedWalletsTableRow.d.mts +0 -12
  540. package/dist/node/components/wallet/table/ConnectedWalletsTableRow.d.mts.map +0 -1
  541. package/dist/node/components/wallet/table/ConnectedWalletsTableRow.d.ts +0 -12
  542. package/dist/node/components/wallet/table/ConnectedWalletsTableRow.d.ts.map +0 -1
  543. package/dist/node/components/wallet/table/cells/Accounts.d.cts +0 -4
  544. package/dist/node/components/wallet/table/cells/Accounts.d.cts.map +0 -1
  545. package/dist/node/components/wallet/table/cells/Accounts.d.mts +0 -4
  546. package/dist/node/components/wallet/table/cells/Accounts.d.mts.map +0 -1
  547. package/dist/node/components/wallet/table/cells/Accounts.d.ts +0 -4
  548. package/dist/node/components/wallet/table/cells/Accounts.d.ts.map +0 -1
  549. package/dist/node/components/wallet/table/cells/Actions.d.cts +0 -4
  550. package/dist/node/components/wallet/table/cells/Actions.d.cts.map +0 -1
  551. package/dist/node/components/wallet/table/cells/Actions.d.mts +0 -4
  552. package/dist/node/components/wallet/table/cells/Actions.d.mts.map +0 -1
  553. package/dist/node/components/wallet/table/cells/Actions.d.ts +0 -4
  554. package/dist/node/components/wallet/table/cells/Actions.d.ts.map +0 -1
  555. package/dist/node/components/wallet/table/cells/Cells.d.cts +0 -4
  556. package/dist/node/components/wallet/table/cells/Cells.d.cts.map +0 -1
  557. package/dist/node/components/wallet/table/cells/Cells.d.mts +0 -4
  558. package/dist/node/components/wallet/table/cells/Cells.d.mts.map +0 -1
  559. package/dist/node/components/wallet/table/cells/Cells.d.ts +0 -4
  560. package/dist/node/components/wallet/table/cells/Cells.d.ts.map +0 -1
  561. package/dist/node/components/wallet/table/cells/ChainName.d.cts +0 -4
  562. package/dist/node/components/wallet/table/cells/ChainName.d.cts.map +0 -1
  563. package/dist/node/components/wallet/table/cells/ChainName.d.mts +0 -4
  564. package/dist/node/components/wallet/table/cells/ChainName.d.mts.map +0 -1
  565. package/dist/node/components/wallet/table/cells/ChainName.d.ts +0 -4
  566. package/dist/node/components/wallet/table/cells/ChainName.d.ts.map +0 -1
  567. package/dist/node/components/wallet/table/cells/State.d.cts +0 -4
  568. package/dist/node/components/wallet/table/cells/State.d.cts.map +0 -1
  569. package/dist/node/components/wallet/table/cells/State.d.mts +0 -4
  570. package/dist/node/components/wallet/table/cells/State.d.mts.map +0 -1
  571. package/dist/node/components/wallet/table/cells/State.d.ts +0 -4
  572. package/dist/node/components/wallet/table/cells/State.d.ts.map +0 -1
  573. package/dist/node/components/wallet/table/cells/Wallet.d.cts +0 -4
  574. package/dist/node/components/wallet/table/cells/Wallet.d.cts.map +0 -1
  575. package/dist/node/components/wallet/table/cells/Wallet.d.mts +0 -4
  576. package/dist/node/components/wallet/table/cells/Wallet.d.mts.map +0 -1
  577. package/dist/node/components/wallet/table/cells/Wallet.d.ts +0 -4
  578. package/dist/node/components/wallet/table/cells/Wallet.d.ts.map +0 -1
  579. package/dist/node/components/wallet/table/cells/index.d.cts +0 -7
  580. package/dist/node/components/wallet/table/cells/index.d.cts.map +0 -1
  581. package/dist/node/components/wallet/table/cells/index.d.mts +0 -7
  582. package/dist/node/components/wallet/table/cells/index.d.mts.map +0 -1
  583. package/dist/node/components/wallet/table/cells/index.d.ts +0 -7
  584. package/dist/node/components/wallet/table/cells/index.d.ts.map +0 -1
  585. package/dist/node/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.cts +0 -15
  586. package/dist/node/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.cts.map +0 -1
  587. package/dist/node/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.mts +0 -15
  588. package/dist/node/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.mts.map +0 -1
  589. package/dist/node/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.ts +0 -15
  590. package/dist/node/components/wallet/table/cells/lib/ConnectedWalletTableCellProps.d.ts.map +0 -1
  591. package/dist/node/components/wallet/table/cells/lib/index.d.cts +0 -2
  592. package/dist/node/components/wallet/table/cells/lib/index.d.cts.map +0 -1
  593. package/dist/node/components/wallet/table/cells/lib/index.d.mts +0 -2
  594. package/dist/node/components/wallet/table/cells/lib/index.d.mts.map +0 -1
  595. package/dist/node/components/wallet/table/cells/lib/index.d.ts +0 -2
  596. package/dist/node/components/wallet/table/cells/lib/index.d.ts.map +0 -1
  597. package/dist/node/components/wallet/table/hooks/index.d.cts +0 -2
  598. package/dist/node/components/wallet/table/hooks/index.d.cts.map +0 -1
  599. package/dist/node/components/wallet/table/hooks/index.d.mts +0 -2
  600. package/dist/node/components/wallet/table/hooks/index.d.mts.map +0 -1
  601. package/dist/node/components/wallet/table/hooks/index.d.ts +0 -2
  602. package/dist/node/components/wallet/table/hooks/index.d.ts.map +0 -1
  603. package/dist/node/components/wallet/table/hooks/useActiveProviderDialogState.d.cts +0 -4
  604. package/dist/node/components/wallet/table/hooks/useActiveProviderDialogState.d.cts.map +0 -1
  605. package/dist/node/components/wallet/table/hooks/useActiveProviderDialogState.d.mts +0 -4
  606. package/dist/node/components/wallet/table/hooks/useActiveProviderDialogState.d.mts.map +0 -1
  607. package/dist/node/components/wallet/table/hooks/useActiveProviderDialogState.d.ts +0 -4
  608. package/dist/node/components/wallet/table/hooks/useActiveProviderDialogState.d.ts.map +0 -1
  609. package/dist/node/components/wallet/table/index.d.cts +0 -5
  610. package/dist/node/components/wallet/table/index.d.cts.map +0 -1
  611. package/dist/node/components/wallet/table/index.d.mts +0 -5
  612. package/dist/node/components/wallet/table/index.d.mts.map +0 -1
  613. package/dist/node/components/wallet/table/index.d.ts +0 -5
  614. package/dist/node/components/wallet/table/index.d.ts.map +0 -1
  615. package/dist/node/hooks/index.d.cts +0 -3
  616. package/dist/node/hooks/index.d.cts.map +0 -1
  617. package/dist/node/hooks/index.d.mts +0 -3
  618. package/dist/node/hooks/index.d.mts.map +0 -1
  619. package/dist/node/hooks/index.d.ts +0 -3
  620. package/dist/node/hooks/index.d.ts.map +0 -1
  621. package/dist/node/hooks/useDetectWallets.d.cts +0 -6
  622. package/dist/node/hooks/useDetectWallets.d.cts.map +0 -1
  623. package/dist/node/hooks/useDetectWallets.d.mts +0 -6
  624. package/dist/node/hooks/useDetectWallets.d.mts.map +0 -1
  625. package/dist/node/hooks/useDetectWallets.d.ts +0 -6
  626. package/dist/node/hooks/useDetectWallets.d.ts.map +0 -1
  627. package/dist/node/hooks/useEnabledWallets.d.cts +0 -9
  628. package/dist/node/hooks/useEnabledWallets.d.cts.map +0 -1
  629. package/dist/node/hooks/useEnabledWallets.d.mts +0 -9
  630. package/dist/node/hooks/useEnabledWallets.d.mts.map +0 -1
  631. package/dist/node/hooks/useEnabledWallets.d.ts +0 -9
  632. package/dist/node/hooks/useEnabledWallets.d.ts.map +0 -1
  633. package/dist/node/img/index.d.cts +0 -3
  634. package/dist/node/img/index.d.cts.map +0 -1
  635. package/dist/node/img/index.d.mts +0 -3
  636. package/dist/node/img/index.d.mts.map +0 -1
  637. package/dist/node/img/index.d.ts +0 -3
  638. package/dist/node/img/index.d.ts.map +0 -1
  639. package/dist/node/index.cjs +0 -684
  640. package/dist/node/index.cjs.map +0 -1
  641. package/dist/node/index.d.cts +0 -4
  642. package/dist/node/index.d.cts.map +0 -1
  643. package/dist/node/index.d.mts +0 -4
  644. package/dist/node/index.d.mts.map +0 -1
  645. package/dist/node/index.d.ts +0 -4
  646. package/dist/node/index.d.ts.map +0 -1
  647. package/dist/node/index.mjs +0 -633
  648. package/dist/node/index.mjs.map +0 -1
  649. package/dist/node/xyo-color-logo-LHR2SMEM.svg +0 -1
  650. package/dist/node/xyo-color-logo-text-only-QPAW5BSQ.svg +0 -1
@@ -1,654 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
9
- var __export = (target, all) => {
10
- for (var name in all)
11
- __defProp(target, name, { get: all[name], enumerable: true });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from))
16
- if (!__hasOwnProp.call(to, key) && key !== except)
17
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
- }
19
- return to;
20
- };
21
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
- // If the importer is in node compatibility mode or this is not an ESM
23
- // file that has been converted to a CommonJS file using a Babel-
24
- // compatible transform (i.e. "__esModule" has not been set), then set
25
- // "default" to the CommonJS "module.exports" for node compatibility.
26
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
- mod
28
- ));
29
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
-
31
- // src/index.ts
32
- var src_exports = {};
33
- __export(src_exports, {
34
- CheckboxFormControl: () => CheckboxFormControl,
35
- ConnectWalletDialog: () => ConnectWalletDialog,
36
- ConnectedAccountsFlexbox: () => ConnectedAccountsFlexbox,
37
- ConnectedWalletState: () => ConnectedWalletState,
38
- ConnectedWalletTableCells: () => ConnectedWalletTableCells,
39
- ConnectedWalletsAccountsTableCell: () => ConnectedWalletsAccountsTableCell,
40
- ConnectedWalletsActionsTableCell: () => ConnectedWalletsActionsTableCell,
41
- ConnectedWalletsChainNameTableCell: () => ConnectedWalletsChainNameTableCell,
42
- ConnectedWalletsTable: () => ConnectedWalletsTable,
43
- ConnectedWalletsWalletTableCell: () => ConnectedWalletsWalletTableCell,
44
- EnabledEthWalletConnections: () => EnabledEthWalletConnections,
45
- RevokeWalletConnectionDialog: () => RevokeWalletConnectionDialog,
46
- WalletConnectionsTableRow: () => WalletConnectionsTableRow,
47
- useActiveProviderDialogState: () => useActiveProviderDialogState,
48
- useDetectedWallets: () => useDetectedWallets,
49
- useEnabledWallets: () => useEnabledWallets,
50
- useEnabledWalletsInner: () => useEnabledWalletsInner
51
- });
52
- module.exports = __toCommonJS(src_exports);
53
-
54
- // src/classes/EnabledWallets.ts
55
- var DEFAULT_LOCAL_STORAGE_KEY = "XYO|EnabledWallets";
56
- var EnabledEthWalletConnections = class {
57
- static {
58
- __name(this, "EnabledEthWalletConnections");
59
- }
60
- // control whether or not enabled/disabled preferences are persisted (i.e. in localStorage)
61
- persistPreferences = true;
62
- // Map of wallet names and their enabled/disabled state
63
- enabledWallets = {};
64
- // Map of wallet names, their enabled/disabled state, and their wallet class
65
- ethWalletsState = {};
66
- // list of listeners that want to be notified on wallet changes
67
- listeners = [];
68
- // key to use in localStorage when persisting preferences
69
- localStorageKey = DEFAULT_LOCAL_STORAGE_KEY;
70
- constructor(localStorageKey = DEFAULT_LOCAL_STORAGE_KEY) {
71
- this.localStorageKey = localStorageKey;
72
- this.reviveSettings();
73
- }
74
- get wallets() {
75
- return this.ethWalletsState;
76
- }
77
- disableWallet(rdns) {
78
- this.toggleEnabledWallet(rdns, false);
79
- }
80
- enableWallet(rdns) {
81
- this.toggleEnabledWallet(rdns, true);
82
- }
83
- /**
84
- * Given a new set of wallets, set their enabled state based off previous preferences
85
- */
86
- resetWallets(wallets) {
87
- const newWallets = {};
88
- const addWallet = /* @__PURE__ */ __name(([walletName, wallet]) => {
89
- newWallets[walletName] = {
90
- // preserve the existing enabled state
91
- enabled: walletName in this.enabledWallets ? this.enabledWallets[walletName] : true,
92
- wallet
93
- };
94
- }, "addWallet");
95
- Object.entries(wallets).forEach(addWallet.bind(this));
96
- this.ethWalletsState = newWallets;
97
- this.emitChange();
98
- }
99
- subscribe(listener) {
100
- this.listeners = [
101
- ...this.listeners,
102
- listener
103
- ];
104
- return () => {
105
- this.listeners = this.listeners.filter((existingListener) => existingListener !== listener);
106
- };
107
- }
108
- toggleEnabledWallet(rdns, enabled) {
109
- if (rdns && this.ethWalletsState[rdns]) {
110
- this.ethWalletsState[rdns].enabled = enabled;
111
- this.ethWalletsState = {
112
- ...this.ethWalletsState
113
- };
114
- this.emitChange();
115
- }
116
- }
117
- emitChange() {
118
- for (const listener of this.listeners) {
119
- listener();
120
- }
121
- this.persistSettings();
122
- }
123
- isPersistance(method) {
124
- if (this.persistPreferences) {
125
- method();
126
- }
127
- }
128
- persistSettings() {
129
- this.isPersistance(() => {
130
- const enabledWallets = Object.entries(this.ethWalletsState).reduce((acc, [rdns, { enabled }]) => {
131
- acc[rdns] = enabled;
132
- return acc;
133
- }, {});
134
- localStorage.setItem(this.localStorageKey, JSON.stringify(enabledWallets));
135
- });
136
- }
137
- reviveSettings() {
138
- this.isPersistance(() => {
139
- const existingEntries = localStorage.getItem(this.localStorageKey);
140
- try {
141
- const entries = existingEntries ? JSON.parse(existingEntries) : {};
142
- this.enabledWallets = entries;
143
- } catch (e) {
144
- console.warn(`Error parsing saved enabled wallet entries: ${e.message}`);
145
- }
146
- });
147
- }
148
- };
149
-
150
- // src/components/ConnectedAccountsFlexbox.tsx
151
- var import_material13 = require("@mui/material");
152
- var import_react_flexbox6 = require("@xylabs/react-flexbox");
153
- var import_react16 = __toESM(require("react"), 1);
154
-
155
- // src/hooks/useDetectWallets.tsx
156
- var import_react_crypto = require("@xylabs/react-crypto");
157
- var import_react = require("react");
158
- var sortWallets = /* @__PURE__ */ __name((wallets) => (
159
- // eslint-disable-next-line unicorn/no-array-reduce
160
- Object.values(wallets).reduce((acc, wallet) => {
161
- wallet.allowedAccounts.length > 0 ? acc.unshift(wallet) : acc.push(wallet);
162
- return acc;
163
- }, [])
164
- ), "sortWallets");
165
- var useDetectedWallets = /* @__PURE__ */ __name(() => {
166
- const wallets = (0, import_react_crypto.useWalletDiscovery)();
167
- const [refresh, setRefresh] = (0, import_react.useState)(0);
168
- const [sortedWallets, setSortedWallets] = (0, import_react.useState)([]);
169
- (0, import_react.useEffect)(() => {
170
- setSortedWallets(sortWallets(wallets));
171
- }, [
172
- wallets,
173
- refresh
174
- ]);
175
- (0, import_react.useEffect)(() => {
176
- const listener = /* @__PURE__ */ __name(() => {
177
- setRefresh((refresh2) => refresh2 + 1);
178
- }, "listener");
179
- window.addEventListener(import_react_crypto.AccountsChangedEventName, listener);
180
- return () => {
181
- window.removeEventListener(import_react_crypto.AccountsChangedEventName, listener);
182
- };
183
- }, [
184
- wallets
185
- ]);
186
- const totalConnectedAccounts = (0, import_react.useMemo)(() => Object.values(sortedWallets).reduce((acc, wallet) => acc + wallet.allowedAccounts.length, 0), [
187
- sortedWallets
188
- ]);
189
- return {
190
- sortedWallets,
191
- totalConnectedAccounts
192
- };
193
- }, "useDetectedWallets");
194
-
195
- // src/hooks/useEnabledWallets.tsx
196
- var import_react_crypto2 = require("@xylabs/react-crypto");
197
- var import_react2 = require("react");
198
- var enabledEthWallets;
199
- var useEnabledWalletsInner = /* @__PURE__ */ __name((enabledWalletsRdns) => {
200
- const discoveredWallets = (0, import_react_crypto2.useWalletDiscovery)();
201
- const wallets = (0, import_react2.useMemo)(() => {
202
- if (enabledEthWallets === void 0) enabledEthWallets = new EnabledEthWalletConnections();
203
- enabledEthWallets.resetWallets(discoveredWallets);
204
- for (const [rdns, enabled] of Object.entries(enabledWalletsRdns ?? {})) enabledEthWallets?.toggleEnabledWallet(rdns, enabled);
205
- return enabledEthWallets;
206
- }, [
207
- discoveredWallets,
208
- enabledWalletsRdns
209
- ]);
210
- return (0, import_react2.useSyncExternalStore)(wallets.subscribe.bind(wallets), () => wallets.wallets);
211
- }, "useEnabledWalletsInner");
212
- var useEnabledWallets = /* @__PURE__ */ __name((enabledWalletsRdns) => {
213
- const wallets = useEnabledWalletsInner(enabledWalletsRdns);
214
- const enabledWallets = (0, import_react2.useMemo)(() => (
215
- // eslint-disable-next-line unicorn/no-array-reduce
216
- Object.entries(wallets).reduce((acc, [walletName, wallet]) => {
217
- if (wallet.enabled) acc[walletName] = wallet;
218
- return acc;
219
- }, {})
220
- ), [
221
- wallets
222
- ]);
223
- return {
224
- disableWallet: enabledEthWallets?.disableWallet.bind(enabledEthWallets),
225
- enableWallet: enabledEthWallets?.enableWallet.bind(enabledEthWallets),
226
- enabledWallets,
227
- wallets
228
- };
229
- }, "useEnabledWallets");
230
-
231
- // src/components/wallet/dialogs/connect/CheckboxFormControl.tsx
232
- var import_material = require("@mui/material");
233
- var import_react3 = __toESM(require("react"), 1);
234
- var CheckboxFormControl = /* @__PURE__ */ __name(({ onCheckChanged, ...props }) => {
235
- return /* @__PURE__ */ import_react3.default.createElement(import_material.FormControl, props, /* @__PURE__ */ import_react3.default.createElement(import_material.FormLabel, null, /* @__PURE__ */ import_react3.default.createElement(import_material.Checkbox, {
236
- onChange: /* @__PURE__ */ __name((_, checked) => onCheckChanged?.(checked), "onChange")
237
- }), "Do not show this again."));
238
- }, "CheckboxFormControl");
239
-
240
- // src/components/wallet/dialogs/connect/Dialog.tsx
241
- var import_material4 = require("@mui/material");
242
- var import_react6 = __toESM(require("react"), 1);
243
-
244
- // src/components/wallet/dialogs/connect/LinkedProvidersFlexbox.tsx
245
- var import_icons_material = require("@mui/icons-material");
246
- var import_material2 = require("@mui/material");
247
- var import_react_crypto3 = require("@xylabs/react-crypto");
248
- var import_react_flexbox = require("@xylabs/react-flexbox");
249
- var import_react4 = __toESM(require("react"), 1);
250
-
251
- // src/img/index.ts
252
- var import_xyo_color_logo = __toESM(require("./xyo-color-logo-LHR2SMEM.svg"), 1);
253
- var import_xyo_color_logo_text_only = __toESM(require("./xyo-color-logo-text-only-QPAW5BSQ.svg"), 1);
254
-
255
- // src/components/wallet/dialogs/connect/LinkedProvidersFlexbox.tsx
256
- var LinkedProvidersFlexbox = /* @__PURE__ */ __name(({ icon, providerName, ...props }) => {
257
- return /* @__PURE__ */ import_react4.default.createElement(import_react_flexbox.FlexRow, {
258
- gap: 4,
259
- justifyContent: "space-evenly",
260
- ...props
261
- }, /* @__PURE__ */ import_react4.default.createElement(import_react_flexbox.FlexCol, {
262
- gap: 0.5
263
- }, /* @__PURE__ */ import_react4.default.createElement("img", {
264
- alt: "XYO Logo",
265
- src: import_xyo_color_logo.default,
266
- style: {
267
- height: "48px"
268
- }
269
- }), /* @__PURE__ */ import_react4.default.createElement(import_material2.Typography, {
270
- variant: "subtitle1"
271
- }, "XYO App")), /* @__PURE__ */ import_react4.default.createElement(import_icons_material.SyncAlt, {
272
- fontSize: "large"
273
- }), /* @__PURE__ */ import_react4.default.createElement(import_react_flexbox.FlexCol, {
274
- gap: 0.5
275
- }, /* @__PURE__ */ import_react4.default.createElement(import_react_crypto3.ConstrainedImage, {
276
- constrainedValue: "48px",
277
- src: icon,
278
- alt: providerName,
279
- style: {
280
- height: "48px",
281
- maxWidth: "48px"
282
- }
283
- }), /* @__PURE__ */ import_react4.default.createElement(import_material2.Typography, {
284
- variant: "subtitle1"
285
- }, providerName)));
286
- }, "LinkedProvidersFlexbox");
287
-
288
- // src/components/wallet/dialogs/connect/Permissions.tsx
289
- var import_material3 = require("@mui/material");
290
- var import_react_flexbox2 = require("@xylabs/react-flexbox");
291
- var import_react5 = __toESM(require("react"), 1);
292
- var WalletPermissionsFlexbox = /* @__PURE__ */ __name((props) => {
293
- return /* @__PURE__ */ import_react5.default.createElement(import_react_flexbox2.FlexCol, {
294
- gap: 4,
295
- ...props
296
- }, /* @__PURE__ */ import_react5.default.createElement(import_material3.Typography, {
297
- fontWeight: "bold",
298
- sx: {
299
- textAlign: "center"
300
- }
301
- }, "This will allow XYO to:"), /* @__PURE__ */ import_react5.default.createElement("ul", null, /* @__PURE__ */ import_react5.default.createElement("li", null, "View your wallet account(s) and address(es)"), /* @__PURE__ */ import_react5.default.createElement("li", null, "Read-only access to browse the public blockchain(s) you select")), /* @__PURE__ */ import_react5.default.createElement(import_material3.Typography, {
302
- variant: "subtitle1",
303
- sx: {
304
- textAlign: "center"
305
- }
306
- }, "You control what accounts to share and what blockchains to view. You can see or revoke access via your wallet's settings at anytime. View more on XYO's sovereign data philosophy", " ", /* @__PURE__ */ import_react5.default.createElement(import_material3.Link, {
307
- href: "https://cointelegraph.com/innovation-circle/decentralization-and-sovereignty-debunking-our-approach-to-digital-sovereignty",
308
- sx: {
309
- fontWeight: "bold"
310
- },
311
- target: "_blank"
312
- }, "here"), "."));
313
- }, "WalletPermissionsFlexbox");
314
-
315
- // src/components/wallet/dialogs/connect/Dialog.tsx
316
- var ConnectWalletDialog = /* @__PURE__ */ __name(({ activeProvider, onIgnoreConnectDialog, ...props }) => {
317
- const { icon, providerName } = activeProvider ?? {};
318
- const onConnect = /* @__PURE__ */ __name(async () => {
319
- try {
320
- await activeProvider?.connectWallet?.();
321
- props.onClose?.({}, "escapeKeyDown");
322
- } catch (e) {
323
- console.warn(`Error connecting to wallet: ${e.message}`);
324
- }
325
- }, "onConnect");
326
- return /* @__PURE__ */ import_react6.default.createElement(import_material4.Dialog, {
327
- PaperProps: {
328
- sx: {
329
- display: "flex",
330
- gap: 4
331
- }
332
- },
333
- ...props
334
- }, /* @__PURE__ */ import_react6.default.createElement(import_material4.DialogTitle, {
335
- sx: {
336
- textAlign: "center"
337
- }
338
- }, "XYO Wants To Access The Blockchain on Your Behalf"), /* @__PURE__ */ import_react6.default.createElement(import_material4.DialogContent, {
339
- sx: {
340
- display: "flex",
341
- flexDirection: "column",
342
- gap: 4
343
- }
344
- }, /* @__PURE__ */ import_react6.default.createElement(LinkedProvidersFlexbox, {
345
- icon,
346
- providerName
347
- }), /* @__PURE__ */ import_react6.default.createElement(WalletPermissionsFlexbox, null), /* @__PURE__ */ import_react6.default.createElement(CheckboxFormControl, {
348
- onCheckChanged: onIgnoreConnectDialog
349
- })), /* @__PURE__ */ import_react6.default.createElement(import_material4.DialogActions, null, /* @__PURE__ */ import_react6.default.createElement(import_material4.Button, {
350
- variant: "outlined",
351
- onClick: /* @__PURE__ */ __name(() => props.onClose?.({}, "escapeKeyDown"), "onClick")
352
- }, "Close"), /* @__PURE__ */ import_react6.default.createElement(import_material4.Button, {
353
- variant: "contained",
354
- onClick: onConnect
355
- }, "Connect")));
356
- }, "ConnectWalletDialog");
357
-
358
- // src/components/wallet/dialogs/revoke/Dialog.tsx
359
- var import_material5 = require("@mui/material");
360
- var import_react_crypto4 = require("@xylabs/react-crypto");
361
- var import_react_flexbox3 = require("@xylabs/react-flexbox");
362
- var import_react7 = __toESM(require("react"), 1);
363
- var RevokeWalletConnectionDialog = /* @__PURE__ */ __name(({ activeProvider, ...props }) => {
364
- return /* @__PURE__ */ import_react7.default.createElement(import_material5.Dialog, props, /* @__PURE__ */ import_react7.default.createElement(import_react_flexbox3.FlexRow, {
365
- gap: 2,
366
- justifyContent: "start",
367
- pl: 2
368
- }, /* @__PURE__ */ import_react7.default.createElement(import_react_crypto4.ConstrainedImage, {
369
- src: activeProvider?.icon,
370
- constrainedValue: "24px"
371
- }), /* @__PURE__ */ import_react7.default.createElement(import_material5.DialogTitle, {
372
- sx: {
373
- pl: 0
374
- }
375
- }, "Revoke", activeProvider?.providerName, " ", "Access")), /* @__PURE__ */ import_react7.default.createElement(import_material5.DialogContent, null, /* @__PURE__ */ import_react7.default.createElement(import_material5.Typography, null, "Revoking access to your wallet must be done from the wallet's browser extension. Wallets grant access to specific domains please consult", " ", activeProvider?.providerName, "'s documentation on how to revoke access to this website:"), /* @__PURE__ */ import_react7.default.createElement(import_material5.Typography, null, window.location.origin)), /* @__PURE__ */ import_react7.default.createElement(import_material5.DialogActions, null, /* @__PURE__ */ import_react7.default.createElement(import_material5.Button, {
376
- variant: "contained",
377
- onClick: /* @__PURE__ */ __name(() => props.onClose?.({}, "escapeKeyDown"), "onClick")
378
- }, "Close")));
379
- }, "RevokeWalletConnectionDialog");
380
-
381
- // src/components/wallet/table/cells/Accounts.tsx
382
- var import_material6 = require("@mui/material");
383
- var import_react8 = __toESM(require("react"), 1);
384
- var ConnectedWalletsAccountsTableCell = /* @__PURE__ */ __name(({ additionalAccounts, currentAccount, totalAccounts, tableCellProps }) => {
385
- return /* @__PURE__ */ import_react8.default.createElement(import_material6.TableCell, tableCellProps, /* @__PURE__ */ import_react8.default.createElement(import_material6.Tooltip, {
386
- sx: {
387
- cursor: totalAccounts > 0 ? "pointer" : "auto"
388
- },
389
- title: [
390
- ...currentAccount ?? [],
391
- ...additionalAccounts ?? []
392
- ].map((address, index) => /* @__PURE__ */ import_react8.default.createElement("p", {
393
- key: index
394
- }, address))
395
- }, /* @__PURE__ */ import_react8.default.createElement(import_material6.Typography, null, totalAccounts)));
396
- }, "ConnectedWalletsAccountsTableCell");
397
-
398
- // src/components/wallet/table/cells/Actions.tsx
399
- var import_icons_material2 = require("@mui/icons-material");
400
- var import_material7 = require("@mui/material");
401
- var import_react_flexbox4 = require("@xylabs/react-flexbox");
402
- var import_react9 = __toESM(require("react"), 1);
403
- var ConnectedWalletsActionsTableCell = /* @__PURE__ */ __name(({ connected, onConnect, onRevoke, tableCellProps }) => {
404
- return /* @__PURE__ */ import_react9.default.createElement(import_material7.TableCell, tableCellProps, /* @__PURE__ */ import_react9.default.createElement(import_react_flexbox4.FlexRow, {
405
- gap: 2,
406
- justifyContent: "start"
407
- }, connected ? /* @__PURE__ */ import_react9.default.createElement(import_material7.Typography, {
408
- sx: {
409
- display: "inline-flex",
410
- gap: 0.5
411
- }
412
- }, /* @__PURE__ */ import_react9.default.createElement(import_icons_material2.Check, null), "Connected") : /* @__PURE__ */ import_react9.default.createElement(import_material7.Button, {
413
- variant: "contained",
414
- onClick: onConnect
415
- }, "Connect"), connected ? /* @__PURE__ */ import_react9.default.createElement(import_material7.IconButton, {
416
- onClick: onRevoke
417
- }, /* @__PURE__ */ import_react9.default.createElement(import_icons_material2.InfoOutlined, null)) : null));
418
- }, "ConnectedWalletsActionsTableCell");
419
-
420
- // src/components/wallet/table/cells/ChainName.tsx
421
- var import_material8 = require("@mui/material");
422
- var import_react10 = __toESM(require("react"), 1);
423
- var ConnectedWalletsChainNameTableCell = /* @__PURE__ */ __name(({ chainName, tableCellProps }) => {
424
- return /* @__PURE__ */ import_react10.default.createElement(import_material8.TableCell, tableCellProps, chainName);
425
- }, "ConnectedWalletsChainNameTableCell");
426
-
427
- // src/components/wallet/table/cells/State.tsx
428
- var import_material9 = require("@mui/material");
429
- var import_react11 = __toESM(require("react"), 1);
430
- var ConnectedWalletState = /* @__PURE__ */ __name(({ connected, walletRdns, tableCellProps }) => {
431
- const { disableWallet, enableWallet, wallets } = useEnabledWallets();
432
- const enabled = (0, import_react11.useMemo)(() => walletRdns ? wallets[walletRdns].enabled : false, [
433
- wallets,
434
- walletRdns
435
- ]);
436
- const handleClick = /* @__PURE__ */ __name((event) => {
437
- const checked = event.target?.checked;
438
- if (walletRdns) {
439
- checked ? enableWallet?.(walletRdns) : disableWallet?.(walletRdns);
440
- }
441
- }, "handleClick");
442
- return /* @__PURE__ */ import_react11.default.createElement(import_material9.TableCell, tableCellProps, /* @__PURE__ */ import_react11.default.createElement(import_material9.Switch, {
443
- disabled: !connected,
444
- checked: connected && enabled,
445
- onChange: handleClick
446
- }));
447
- }, "ConnectedWalletState");
448
-
449
- // src/components/wallet/table/cells/Wallet.tsx
450
- var import_material10 = require("@mui/material");
451
- var import_react_crypto5 = require("@xylabs/react-crypto");
452
- var import_react_flexbox5 = require("@xylabs/react-flexbox");
453
- var import_react12 = __toESM(require("react"), 1);
454
- var ConnectedWalletsWalletTableCell = /* @__PURE__ */ __name(({ icon, walletName, tableCellProps }) => {
455
- const theme = (0, import_material10.useTheme)();
456
- return /* @__PURE__ */ import_react12.default.createElement(import_material10.TableCell, tableCellProps, /* @__PURE__ */ import_react12.default.createElement(import_react_flexbox5.FlexRow, {
457
- gap: 2,
458
- justifyContent: "start"
459
- }, /* @__PURE__ */ import_react12.default.createElement(import_react_crypto5.ConstrainedImage, {
460
- constrainedValue: theme.spacing(4),
461
- src: icon
462
- }), walletName));
463
- }, "ConnectedWalletsWalletTableCell");
464
-
465
- // src/components/wallet/table/cells/Cells.tsx
466
- var ConnectedWalletTableCells = [
467
- ConnectedWalletsWalletTableCell,
468
- ConnectedWalletsChainNameTableCell,
469
- ConnectedWalletsAccountsTableCell,
470
- ConnectedWalletsActionsTableCell,
471
- ConnectedWalletState
472
- ];
473
-
474
- // src/components/wallet/table/ConnectedWalletsTable.tsx
475
- var import_material12 = require("@mui/material");
476
- var import_react15 = __toESM(require("react"), 1);
477
-
478
- // src/components/wallet/lib/TableHeadData.ts
479
- var WalletsTableHeadCells = [
480
- {
481
- disablePadding: false,
482
- id: "wallet",
483
- label: "Wallet",
484
- numeric: false,
485
- showOnMobile: true
486
- },
487
- {
488
- disablePadding: false,
489
- id: "chain",
490
- label: "Chain",
491
- numeric: false,
492
- showOnMobile: true
493
- },
494
- {
495
- disablePadding: false,
496
- id: "accounts",
497
- label: "Accounts",
498
- numeric: true,
499
- showOnMobile: true
500
- },
501
- {
502
- disablePadding: false,
503
- id: "actions",
504
- label: "Actions",
505
- numeric: false,
506
- showOnMobile: true
507
- },
508
- {
509
- disablePadding: false,
510
- id: "enabled",
511
- label: "Enabled",
512
- numeric: false,
513
- showOnMobile: true
514
- }
515
- ];
516
-
517
- // src/components/wallet/table/ConnectedWalletsTableRow.tsx
518
- var import_material11 = require("@mui/material");
519
- var import_react_crypto6 = require("@xylabs/react-crypto");
520
- var import_react13 = __toESM(require("react"), 1);
521
- var WalletConnectionsTableRow = /* @__PURE__ */ __name(({ ignoreConnectDialog, onConnectClick, onRevoke, wallet, ...props }) => {
522
- const { currentAccount: currentAccountFromWallet, additionalAccounts, chainName, connectWallet, providerInfo } = (0, import_react_crypto6.useEthWallet)(wallet);
523
- const currentAccount = currentAccountFromWallet?.toString() ? [
524
- currentAccountFromWallet.toString()
525
- ] : [];
526
- const totalAccounts = (additionalAccounts?.length ?? 0) + (currentAccount?.length ?? 0);
527
- const connected = !!(currentAccount?.length ?? 0 > 0);
528
- const { icon, name, rdns } = (0, import_react13.useMemo)(() => providerInfo ?? {
529
- icon: void 0,
530
- name: void 0,
531
- rdns: void 0
532
- }, [
533
- providerInfo
534
- ]);
535
- const activeProvider = (0, import_react13.useMemo)(() => ({
536
- connectWallet,
537
- icon,
538
- providerName: name
539
- }), [
540
- connectWallet,
541
- icon,
542
- name
543
- ]);
544
- const onRevokeLocal = (0, import_react13.useCallback)(() => {
545
- onRevoke?.(activeProvider);
546
- }, [
547
- activeProvider,
548
- onRevoke
549
- ]);
550
- const onConnectLocal = (0, import_react13.useCallback)(async () => {
551
- if (ignoreConnectDialog) {
552
- await connectWallet?.();
553
- } else {
554
- onConnectClick?.(activeProvider);
555
- }
556
- }, [
557
- activeProvider,
558
- connectWallet,
559
- ignoreConnectDialog,
560
- onConnectClick
561
- ]);
562
- return /* @__PURE__ */ import_react13.default.createElement(import_material11.TableRow, props, Object.values(ConnectedWalletTableCells).map((Cell, index) => /* @__PURE__ */ import_react13.default.createElement(Cell, {
563
- key: index,
564
- additionalAccounts,
565
- chainName,
566
- connected,
567
- currentAccount,
568
- icon,
569
- onConnect: onConnectLocal,
570
- onRevoke: onRevokeLocal,
571
- totalAccounts,
572
- walletName: name,
573
- walletRdns: rdns
574
- })));
575
- }, "WalletConnectionsTableRow");
576
-
577
- // src/components/wallet/table/hooks/useActiveProviderDialogState.tsx
578
- var import_react14 = require("react");
579
- var useActiveProviderDialogState = /* @__PURE__ */ __name((setActiveProvider) => {
580
- const [show, setShow] = (0, import_react14.useState)(false);
581
- const onSetActiveProvider = /* @__PURE__ */ __name((activeProvider) => {
582
- setShow(true);
583
- setActiveProvider(activeProvider);
584
- }, "onSetActiveProvider");
585
- const onClose = /* @__PURE__ */ __name(() => {
586
- setShow(false);
587
- setActiveProvider({});
588
- }, "onClose");
589
- return [
590
- show,
591
- onSetActiveProvider,
592
- onClose
593
- ];
594
- }, "useActiveProviderDialogState");
595
-
596
- // src/components/wallet/table/ConnectedWalletsTable.tsx
597
- var ConnectedWalletsTable = /* @__PURE__ */ __name(({ ignoreConnectDialog, onIgnoreConnectDialog, wallets, ...props }) => {
598
- const [activeProvider, setActiveProvider] = (0, import_react15.useState)();
599
- const [showConnect, onSetActiveProviderConnect, onConnectClose] = useActiveProviderDialogState(setActiveProvider);
600
- const [showRevoke, onSetActiveProviderRevoke, onRevokeClose] = useActiveProviderDialogState(setActiveProvider);
601
- return /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, /* @__PURE__ */ import_react15.default.createElement(import_material12.Table, props, /* @__PURE__ */ import_react15.default.createElement(import_material12.TableHead, null, /* @__PURE__ */ import_react15.default.createElement(import_material12.TableRow, null, WalletsTableHeadCells.map(({ disablePadding, id, label, align, width }) => /* @__PURE__ */ import_react15.default.createElement(import_material12.TableCell, {
602
- align,
603
- key: id,
604
- padding: disablePadding ? "none" : "normal",
605
- width: width ?? "auto"
606
- }, label)))), /* @__PURE__ */ import_react15.default.createElement(import_material12.TableBody, null, (wallets ?? []).map((wallet) => /* @__PURE__ */ import_react15.default.createElement(WalletConnectionsTableRow, {
607
- ignoreConnectDialog,
608
- key: wallet.providerInfo?.rdns,
609
- onConnectClick: onSetActiveProviderConnect,
610
- onRevoke: onSetActiveProviderRevoke,
611
- wallet
612
- })))), /* @__PURE__ */ import_react15.default.createElement(RevokeWalletConnectionDialog, {
613
- open: showRevoke,
614
- onClose: onRevokeClose,
615
- activeProvider
616
- }), /* @__PURE__ */ import_react15.default.createElement(ConnectWalletDialog, {
617
- activeProvider,
618
- onClose: onConnectClose,
619
- open: showConnect,
620
- onIgnoreConnectDialog
621
- }));
622
- }, "ConnectedWalletsTable");
623
-
624
- // src/components/ConnectedAccountsFlexbox.tsx
625
- var ConnectedAccountsFlexbox = /* @__PURE__ */ (0, import_react16.forwardRef)(({ ignoreConnectDialog, onIgnoreConnectDialog, ...props }, ref) => {
626
- const theme = (0, import_material13.useTheme)();
627
- const { totalConnectedAccounts, sortedWallets } = useDetectedWallets();
628
- return /* @__PURE__ */ import_react16.default.createElement(import_react_flexbox6.FlexCol, {
629
- alignItems: "stretch",
630
- justifyContent: "start",
631
- gap: 2,
632
- ref,
633
- ...props
634
- }, /* @__PURE__ */ import_react16.default.createElement(import_react_flexbox6.FlexCol, {
635
- alignItems: "start"
636
- }, /* @__PURE__ */ import_react16.default.createElement(import_material13.Typography, {
637
- variant: "h2",
638
- sx: {
639
- mb: 0.5
640
- }
641
- }, "Detected Web3 Wallets"), totalConnectedAccounts ? /* @__PURE__ */ import_react16.default.createElement(import_material13.Typography, {
642
- variant: "subtitle1",
643
- color: theme.palette.secondary.main,
644
- sx: {
645
- opacity: 0.5
646
- }
647
- }, "Total Connected Accounts:", " ", totalConnectedAccounts) : null), /* @__PURE__ */ import_react16.default.createElement(ConnectedWalletsTable, {
648
- wallets: sortedWallets,
649
- ignoreConnectDialog,
650
- onIgnoreConnectDialog
651
- }));
652
- });
653
- ConnectedAccountsFlexbox.displayName = "ConnectedAccountsFlexbox";
654
- //# sourceMappingURL=index.cjs.map