@xyo-network/react-connected-accounts 2.81.10 → 2.83.0

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