@privy-io/react-auth 1.26.0-beta.1 → 1.26.0-beta.3
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/esm/index.js +14 -14
- package/dist/index.d.ts +7 -0
- package/dist/index.js +27 -27
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -381,6 +381,13 @@ interface BaseConnectedWallet {
|
|
|
381
381
|
getEthereumProvider: () => EIP1193Provider;
|
|
382
382
|
getEthersProvider: () => Web3Provider;
|
|
383
383
|
getWeb3jsProvider: () => AbstractProvider;
|
|
384
|
+
/**
|
|
385
|
+
* Perform personal_sign with the user's wallet.
|
|
386
|
+
*
|
|
387
|
+
* @param {string} message The message to sign.
|
|
388
|
+
* @returns {string} The resulting signature.
|
|
389
|
+
*/
|
|
390
|
+
sign: (message: string) => Promise<string>;
|
|
384
391
|
/** Disconnect method does not work on all connector types and will no-op if
|
|
385
392
|
* that is the case (metamask does not support programmatic disconnects) */
|
|
386
393
|
disconnect: () => void;
|