@runtypelabs/persona 4.22.1 → 4.23.1

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.cts CHANGED
@@ -12378,6 +12378,12 @@ type Controller = {
12378
12378
  resetHistoryIdentity: () => Promise<{
12379
12379
  remoteRevocationConfirmed: boolean;
12380
12380
  }>;
12381
+ /**
12382
+ * Read the current browser visitor credential for a trusted voice integration.
12383
+ * Returns null before minting, outside client-token mode, or after teardown.
12384
+ * Never put this bearer credential in logs, URLs, or model context.
12385
+ */
12386
+ getVisitorToken: () => Promise<string | null>;
12381
12387
  /** Latest sanitized identity state; carries no token, proof, or identity id. */
12382
12388
  getHistoryIdentityStatus: () => HistoryIdentityStatus;
12383
12389
  /** `focus: false` keeps focus where it is (programmatic/preview opens). */
package/dist/index.d.ts CHANGED
@@ -12378,6 +12378,12 @@ type Controller = {
12378
12378
  resetHistoryIdentity: () => Promise<{
12379
12379
  remoteRevocationConfirmed: boolean;
12380
12380
  }>;
12381
+ /**
12382
+ * Read the current browser visitor credential for a trusted voice integration.
12383
+ * Returns null before minting, outside client-token mode, or after teardown.
12384
+ * Never put this bearer credential in logs, URLs, or model context.
12385
+ */
12386
+ getVisitorToken: () => Promise<string | null>;
12381
12387
  /** Latest sanitized identity state; carries no token, proof, or identity id. */
12382
12388
  getHistoryIdentityStatus: () => HistoryIdentityStatus;
12383
12389
  /** `focus: false` keeps focus where it is (programmatic/preview opens). */