@privy-io/react-auth 1.6.0 → 1.7.0-beta.2

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
@@ -283,6 +283,11 @@ interface PrivyInterface {
283
283
  * Unlink a Discord social account from a user, by passing the discord subject ID. Note that you can only unlink a social account if the user has at least one other account.
284
284
  */
285
285
  unlinkDiscord: (subject: string) => Promise<User>;
286
+ /**
287
+ * @experimental
288
+ * Get a short-lived, one-time-use token to start a new Privy session from the existing authenticated session. Raises an exception if the current session was already forked from a previous session.
289
+ */
290
+ forkSession: () => Promise<string>;
286
291
  }
287
292
  /**
288
293
  * [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.