@privy-io/react-auth 1.4.0 → 1.5.0-beta.10

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.d.ts CHANGED
@@ -121,10 +121,6 @@ interface User {
121
121
  interface PrivyProviderProps {
122
122
  /** Your Privy App ID, which can be retrieved from the Privy console. */
123
123
  appId: string;
124
- /**
125
- * @experimental DO NOT USE: This feature is under active development.
126
- */
127
- showSocials?: boolean;
128
124
  /**
129
125
  * An optional callback that will execute once a `login` call successfully completes.
130
126
  *
@@ -229,6 +225,11 @@ interface PrivyInterface {
229
225
  * Get a [web3.js](https://web3js.readthedocs.io/en/v1.8.0/)-compatible provider from the user's wallet, if the user has connected one.
230
226
  */
231
227
  getWeb3jsProvider: () => AbstractProvider;
228
+ /**
229
+ * Unlink accounts.
230
+ */
231
+ unlinkEmail: (address: string) => Promise<User>;
232
+ unlinkWallet: (address: string) => Promise<User>;
232
233
  }
233
234
  /**
234
235
  * [React Hook](https://reactjs.org/docs/hooks-intro.html) that allows you to manage the user's current authentication state and access their linked accounts.