@cookill/wallet-adapter 3.1.8 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +14 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1263 -1357
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +17 -1
- package/dist/react.d.ts +17 -1
- package/dist/react.js +1255 -1350
- package/dist/react.js.map +1 -1
- package/dist/standard.cjs.map +1 -1
- package/dist/standard.js.map +1 -1
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -128,4 +128,20 @@ interface ConnectButtonProps {
|
|
|
128
128
|
}
|
|
129
129
|
declare function ConnectButton({ connectLabel, disconnectLabel, showAddress, showBalance, showFeatures, className, style, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
/**
|
|
132
|
+
* @cookill/wallet-adapter — WalletModal
|
|
133
|
+
* Clean, standalone modal with 3 tabs: Extension, Scan-to-Connect, Web Wallet
|
|
134
|
+
*
|
|
135
|
+
* KEY ARCHITECTURE:
|
|
136
|
+
* - Backdrop and dialog are SIBLINGS (prevents click propagation bugs)
|
|
137
|
+
* - All interactive elements use stopPropagation
|
|
138
|
+
* - Tab switching works independently of connection state
|
|
139
|
+
* - Auto-close only fires for NEW connections (not pre-existing)
|
|
140
|
+
* - Connect button in Extension tab calls context's connect() directly
|
|
141
|
+
*/
|
|
142
|
+
interface WalletModalExternalProps {
|
|
143
|
+
scanConnectRelay: string;
|
|
144
|
+
}
|
|
145
|
+
declare function WalletModal({ scanConnectRelay }: WalletModalExternalProps): react_jsx_runtime.JSX.Element | null;
|
|
146
|
+
|
|
147
|
+
export { ConnectButton, type ConnectButtonProps, REXCapabilities, REXTransactionResult, RialoNetwork, ScanConnectStatus, ScanConnectURI, SfSCreateParams, SfSCreditBalance, SfSPosition, SheepWallet, SignedMessage, TransactionRequest, TransactionResult, WalletAccount, type WalletContextValue, WalletInfo, WalletModal, type WalletModalExternalProps, WalletProvider, type WalletProviderProps, type WalletState, useAccounts, useActiveAccount, useBalance, useConnectWallet, useDisconnectWallet, useIsConnected, useNetwork, useREX, useScanConnect, useSendTransaction, useSfS, useSignMessage, useSwitchNetwork, useWallet };
|
package/dist/react.d.ts
CHANGED
|
@@ -128,4 +128,20 @@ interface ConnectButtonProps {
|
|
|
128
128
|
}
|
|
129
129
|
declare function ConnectButton({ connectLabel, disconnectLabel, showAddress, showBalance, showFeatures, className, style, }: ConnectButtonProps): react_jsx_runtime.JSX.Element;
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
/**
|
|
132
|
+
* @cookill/wallet-adapter — WalletModal
|
|
133
|
+
* Clean, standalone modal with 3 tabs: Extension, Scan-to-Connect, Web Wallet
|
|
134
|
+
*
|
|
135
|
+
* KEY ARCHITECTURE:
|
|
136
|
+
* - Backdrop and dialog are SIBLINGS (prevents click propagation bugs)
|
|
137
|
+
* - All interactive elements use stopPropagation
|
|
138
|
+
* - Tab switching works independently of connection state
|
|
139
|
+
* - Auto-close only fires for NEW connections (not pre-existing)
|
|
140
|
+
* - Connect button in Extension tab calls context's connect() directly
|
|
141
|
+
*/
|
|
142
|
+
interface WalletModalExternalProps {
|
|
143
|
+
scanConnectRelay: string;
|
|
144
|
+
}
|
|
145
|
+
declare function WalletModal({ scanConnectRelay }: WalletModalExternalProps): react_jsx_runtime.JSX.Element | null;
|
|
146
|
+
|
|
147
|
+
export { ConnectButton, type ConnectButtonProps, REXCapabilities, REXTransactionResult, RialoNetwork, ScanConnectStatus, ScanConnectURI, SfSCreateParams, SfSCreditBalance, SfSPosition, SheepWallet, SignedMessage, TransactionRequest, TransactionResult, WalletAccount, type WalletContextValue, WalletInfo, WalletModal, type WalletModalExternalProps, WalletProvider, type WalletProviderProps, type WalletState, useAccounts, useActiveAccount, useBalance, useConnectWallet, useDisconnectWallet, useIsConnected, useNetwork, useREX, useScanConnect, useSendTransaction, useSfS, useSignMessage, useSwitchNetwork, useWallet };
|