@passflow/core 0.32.0 → 0.32.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
@@ -288,6 +288,13 @@ declare class StorageManager {
288
288
  setAppId(appId: string | undefined): void;
289
289
  /** The stored value, or undefined when it is a JWT issued for another app than this one. */
290
290
  private ownToken;
291
+ /**
292
+ * The value under `key`, the prefixed form of `name`. Earlier versions stored it under the
293
+ * unprefixed `name`: such a value is moved to `key` on first read.
294
+ */
295
+ private readPrefixed;
296
+ /** Removes `key` and the unprefixed `name`, so an old value is not read again. */
297
+ private removePrefixed;
291
298
  private readToken;
292
299
  /** The keys a stored token lives in: the JSON tokens and the cookie-mode ID token. */
293
300
  private tokenValueKeys;
@@ -399,6 +406,8 @@ declare class StorageManager {
399
406
  }
400
407
  declare class DeviceService {
401
408
  private storageManager;
409
+ /** The id this service minted; used when the storage keeps nothing (server rendering). */
410
+ private mintedDeviceId;
402
411
  constructor(storageManager?: StorageManager);
403
412
  getDeviceId(): string;
404
413
  generateUniqueDeviceId(): string;
package/dist/index.d.ts CHANGED
@@ -288,6 +288,13 @@ declare class StorageManager {
288
288
  setAppId(appId: string | undefined): void;
289
289
  /** The stored value, or undefined when it is a JWT issued for another app than this one. */
290
290
  private ownToken;
291
+ /**
292
+ * The value under `key`, the prefixed form of `name`. Earlier versions stored it under the
293
+ * unprefixed `name`: such a value is moved to `key` on first read.
294
+ */
295
+ private readPrefixed;
296
+ /** Removes `key` and the unprefixed `name`, so an old value is not read again. */
297
+ private removePrefixed;
291
298
  private readToken;
292
299
  /** The keys a stored token lives in: the JSON tokens and the cookie-mode ID token. */
293
300
  private tokenValueKeys;
@@ -399,6 +406,8 @@ declare class StorageManager {
399
406
  }
400
407
  declare class DeviceService {
401
408
  private storageManager;
409
+ /** The id this service minted; used when the storage keeps nothing (server rendering). */
410
+ private mintedDeviceId;
402
411
  constructor(storageManager?: StorageManager);
403
412
  getDeviceId(): string;
404
413
  generateUniqueDeviceId(): string;