@privy-io/react-auth 1.15.0-beta.2 → 1.15.0-beta.4
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 +46 -46
- package/dist/index.d.ts +10 -5
- package/dist/index.js +54 -54
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -34,13 +34,17 @@ interface Wallet {
|
|
|
34
34
|
* e.g. testnet, mainnet, goerli */
|
|
35
35
|
chainId?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* DO NOT USE: This feature is under active development.
|
|
37
|
+
* The wallet client used for this wallet. At the moment, there are only two expected values:
|
|
39
38
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
39
|
+
* 1. privy
|
|
40
|
+
* 2. unknown
|
|
41
|
+
*
|
|
42
|
+
* If the value is `privy`, then this is a privy embedded wallet.
|
|
43
|
+
*
|
|
44
|
+
* In the future, this may contain more information about other wallet clients,
|
|
45
|
+
* like metamask, coinbase, etc.
|
|
42
46
|
*/
|
|
43
|
-
|
|
47
|
+
walletClient: 'privy' | 'unknown';
|
|
44
48
|
}
|
|
45
49
|
/** Object representation of a user's email. */
|
|
46
50
|
interface Email {
|
|
@@ -538,6 +542,7 @@ interface ResponseEthereumAccount {
|
|
|
538
542
|
type: 'wallet';
|
|
539
543
|
address: string;
|
|
540
544
|
chain_type: 'ethereum';
|
|
545
|
+
wallet_client: 'privy' | 'unknown';
|
|
541
546
|
verified_at: number;
|
|
542
547
|
}
|
|
543
548
|
interface ResponseOAuthGoogle {
|