@runtypelabs/persona 4.22.1 → 4.23.0

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.
@@ -10145,6 +10145,12 @@ type Controller = {
10145
10145
  resetHistoryIdentity: () => Promise<{
10146
10146
  remoteRevocationConfirmed: boolean;
10147
10147
  }>;
10148
+ /**
10149
+ * Read the current browser visitor credential for a trusted voice integration.
10150
+ * Returns null before minting, outside client-token mode, or after teardown.
10151
+ * Never put this bearer credential in logs, URLs, or model context.
10152
+ */
10153
+ getVisitorToken: () => Promise<string | null>;
10148
10154
  /** Latest sanitized identity state; carries no token, proof, or identity id. */
10149
10155
  getHistoryIdentityStatus: () => HistoryIdentityStatus;
10150
10156
  /** `focus: false` keeps focus where it is (programmatic/preview opens). */
@@ -10145,6 +10145,12 @@ type Controller = {
10145
10145
  resetHistoryIdentity: () => Promise<{
10146
10146
  remoteRevocationConfirmed: boolean;
10147
10147
  }>;
10148
+ /**
10149
+ * Read the current browser visitor credential for a trusted voice integration.
10150
+ * Returns null before minting, outside client-token mode, or after teardown.
10151
+ * Never put this bearer credential in logs, URLs, or model context.
10152
+ */
10153
+ getVisitorToken: () => Promise<string | null>;
10148
10154
  /** Latest sanitized identity state; carries no token, proof, or identity id. */
10149
10155
  getHistoryIdentityStatus: () => HistoryIdentityStatus;
10150
10156
  /** `focus: false` keeps focus where it is (programmatic/preview opens). */