@passflow/core 0.39.0 → 0.39.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
@@ -1426,7 +1426,10 @@ export declare class PassflowSmsQuotaExceededError extends PassflowError {
1426
1426
  cause?: unknown;
1427
1427
  });
1428
1428
  }
1429
- /** No code was sent: the app's send limit or the challenge budget is spent (429). */
1429
+ /**
1430
+ * No code was sent: the app's send limit or the challenge budget is spent (429). On `updateProfile`
1431
+ * it can also come from the proof check: too many wrong codes, not a spent send limit.
1432
+ */
1430
1433
  export declare class PassflowSendLimitError extends PassflowError {
1431
1434
  /** Seconds to wait, from `Retry-After`; undefined when the server sent none. */
1432
1435
  readonly retryAfter?: number;
@@ -2870,6 +2873,11 @@ declare class AxiosClient {
2870
2873
  */
2871
2874
  readonly upgradeDomain: UpgradeDomain | null;
2872
2875
  constructor(config: PassflowConfig, storageManager?: StorageManager, deviceService?: DeviceService);
2876
+ /**
2877
+ * Settles a failed response: a retry, a replay after a step-up, or the rejection the caller gets.
2878
+ * The interceptor above takes the request data off a rejected `AxiosError` once this is done.
2879
+ */
2880
+ private onResponseError;
2873
2881
  /**
2874
2882
  * The `setSessionInvalid()` suppression predicate, keyed on the request that
2875
2883
  * failed and on the response that came back — never on "this response does not
package/dist/index.d.ts CHANGED
@@ -1426,7 +1426,10 @@ export declare class PassflowSmsQuotaExceededError extends PassflowError {
1426
1426
  cause?: unknown;
1427
1427
  });
1428
1428
  }
1429
- /** No code was sent: the app's send limit or the challenge budget is spent (429). */
1429
+ /**
1430
+ * No code was sent: the app's send limit or the challenge budget is spent (429). On `updateProfile`
1431
+ * it can also come from the proof check: too many wrong codes, not a spent send limit.
1432
+ */
1430
1433
  export declare class PassflowSendLimitError extends PassflowError {
1431
1434
  /** Seconds to wait, from `Retry-After`; undefined when the server sent none. */
1432
1435
  readonly retryAfter?: number;
@@ -2870,6 +2873,11 @@ declare class AxiosClient {
2870
2873
  */
2871
2874
  readonly upgradeDomain: UpgradeDomain | null;
2872
2875
  constructor(config: PassflowConfig, storageManager?: StorageManager, deviceService?: DeviceService);
2876
+ /**
2877
+ * Settles a failed response: a retry, a replay after a step-up, or the rejection the caller gets.
2878
+ * The interceptor above takes the request data off a rejected `AxiosError` once this is done.
2879
+ */
2880
+ private onResponseError;
2873
2881
  /**
2874
2882
  * The `setSessionInvalid()` suppression predicate, keyed on the request that
2875
2883
  * failed and on the response that came back — never on "this response does not