@privy-io/react-auth 1.73.0 → 1.73.1-alpha-20240702142511
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 +80 -80
- package/dist/index.d.ts +12 -0
- package/dist/index.js +70 -70
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -256,6 +256,15 @@ type WalletCreateRequestDataType = {
|
|
|
256
256
|
};
|
|
257
257
|
type SolanaWalletCreateRequestDataType = {
|
|
258
258
|
accessToken: string;
|
|
259
|
+
/**
|
|
260
|
+
* If a user has an existing Ethereum embedded wallet when creating the Solana embedded wallet, that address
|
|
261
|
+
* MUST be passed in this field. Our iframe will use this address to derive the Solana embedded wallet from the
|
|
262
|
+
* same entropy as the Ethereum wallet.
|
|
263
|
+
*
|
|
264
|
+
* If no address is passed here, our iframe assumes that the user has no existing Ethereum wallet and will create
|
|
265
|
+
* a new set of entropy for Solana.
|
|
266
|
+
*/
|
|
267
|
+
ethereumAddress?: string;
|
|
259
268
|
};
|
|
260
269
|
type WalletImportRequestDataType = {
|
|
261
270
|
accessToken: string;
|
|
@@ -820,6 +829,7 @@ interface ResponseOAuthLinkedIn {
|
|
|
820
829
|
subject: string;
|
|
821
830
|
name: string | null;
|
|
822
831
|
email: string | null;
|
|
832
|
+
vanity_name: string | null;
|
|
823
833
|
verified_at: number;
|
|
824
834
|
first_verified_at: number | null;
|
|
825
835
|
latest_verified_at: number | null;
|
|
@@ -1577,6 +1587,8 @@ interface LinkedIn {
|
|
|
1577
1587
|
name: string | null;
|
|
1578
1588
|
/** The email associated with the LinkedIn account. */
|
|
1579
1589
|
email: string | null;
|
|
1590
|
+
/** The vanityName/profile URL associated with the LinkedIn account. */
|
|
1591
|
+
vanityName: string | null;
|
|
1580
1592
|
}
|
|
1581
1593
|
/** Object representation of a user's Apple account. */
|
|
1582
1594
|
interface Apple {
|