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