@rdlabo/ionic-angular-kit 22.0.6 → 22.0.7-beta.pr111.sha5d3e06b75932

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-angular-kit",
3
- "version": "22.0.6",
3
+ "version": "22.0.7-beta.pr111.sha5d3e06b75932",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rdlabo-dev/ionic-angular-library.git"
@@ -1181,6 +1181,12 @@ declare function kitPreloadAuthLoginForNavigation(router: Pick<Router, 'currentN
1181
1181
  * `remote` access requirement is deferred until that exchange succeeds.
1182
1182
  */
1183
1183
  declare const KIT_AUTH_BOOTSTRAP_REQUEST: HttpContextToken<boolean>;
1184
+ /**
1185
+ * Suppresses response-error notification hooks for requests whose caller owns the error UI.
1186
+ * Defaults to false. Errors still propagate unchanged; authentication recovery/replay,
1187
+ * access revocation, auth-header failure hooks, retries, and offline fallback remain active.
1188
+ */
1189
+ declare const KIT_SKIP_ERROR_NOTIFICATIONS: HttpContextToken<boolean>;
1184
1190
  /**
1185
1191
  * True when the error is the fleet maintenance short-circuit (`503` + body `code: 'MAINTENANCE'`).
1186
1192
  *
@@ -1352,7 +1358,7 @@ interface KitHttpConfig {
1352
1358
  */
1353
1359
  onRateLimited?(retryAfterSeconds?: number): void;
1354
1360
  /**
1355
- * UX hook for `400` / `422` / `500` responses that carry a server-provided message.
1361
+ * UX hook for `400` / `409` / `422` / `500` responses that carry a server-provided message.
1356
1362
  *
1357
1363
  * @remarks
1358
1364
  * Optional; defaults to a no-op. Note that the message comes straight from the API; prefer a
@@ -1488,7 +1494,7 @@ declare const provideKitHttp: (configFactory: () => KitHttpConfig) => Environmen
1488
1494
  * For every other error, `offlineFallback` is consulted first; otherwise the error is classified by
1489
1495
  * status (see {@link dispatchError}): `401`→`onUnauthorized`, `403`→`onForbidden`, `0`→
1490
1496
  * `onNetworkError` (when connected), `429`→`onRateLimited`, maintenance `503`→`onMaintenance`,
1491
- * other `502`/`503`/`504`→`onServerBusy`, and `400`/`422`/`500` with a body message→`onServerError`.
1497
+ * other `502`/`503`/`504`→`onServerBusy`, and `400`/`409`/`422`/`500` with a body message→`onServerError`.
1492
1498
  *
1493
1499
  * @param request - The outgoing request.
1494
1500
  * @param next - The next handler in the interceptor chain.
@@ -1839,5 +1845,5 @@ type ComponentPropsType<T> = {
1839
1845
  [K in keyof T]: InputSignal<T[K]> | InputSignalWithTransform<T[K], any>;
1840
1846
  };
1841
1847
 
1842
- export { AUTH_FAILURE_SCOPES, AUTH_IDENTITY_INVALID_CODE, KIT_AUTH_BOOTSTRAP_REQUEST, KIT_AUTH_CONFIG, KIT_AUTH_RECOVERY_CONFIG, KIT_HTTP_CONFIG, KIT_LAST_AUTH_EMAIL_KEY, KIT_OVERLAY_CONFIG, KIT_REALTIME_CLIENT_ID, KIT_THEME_STORAGE_KEY, KitAuthAccessService, KitAuthInputDirective, KitAuthLoginExchange, KitAuthRecoveryService, KitLoadingController, KitMaintenanceController, KitOverlayController, KitRealtimeConnection, KitRealtimeLivenessWatchdog, KitReloadAlertController, KitStorageService, arrayConcatById, disableHandler, getAuthFailureScope, isExplicitAuthDenial, isIdentityAuthFailure, isMaintenanceError, kitAuthInterceptor, kitChangeEventDisabled, kitClearStoragePreservingKeys, kitCreateDidEnter, kitForgetEmail, kitImpact, kitIsValidEmail, kitKeyboardInit, kitPreloadAuthLoginForNavigation, kitPresentAuthFailedAlert, kitPresentLanguageActionSheet, kitRealtimeProtocols, kitRecallEmail, kitRememberEmail, kitRequireAuthorizedGuard, kitRequireConfirmingGuard, kitRequiredUnauthorizedGuard, mountViewModel, objectEqual, provideKitAuth, provideKitHttp, provideKitOverlay, toKitWebSocketUrl };
1848
+ export { AUTH_FAILURE_SCOPES, AUTH_IDENTITY_INVALID_CODE, KIT_AUTH_BOOTSTRAP_REQUEST, KIT_AUTH_CONFIG, KIT_AUTH_RECOVERY_CONFIG, KIT_HTTP_CONFIG, KIT_LAST_AUTH_EMAIL_KEY, KIT_OVERLAY_CONFIG, KIT_REALTIME_CLIENT_ID, KIT_SKIP_ERROR_NOTIFICATIONS, KIT_THEME_STORAGE_KEY, KitAuthAccessService, KitAuthInputDirective, KitAuthLoginExchange, KitAuthRecoveryService, KitLoadingController, KitMaintenanceController, KitOverlayController, KitRealtimeConnection, KitRealtimeLivenessWatchdog, KitReloadAlertController, KitStorageService, arrayConcatById, disableHandler, getAuthFailureScope, isExplicitAuthDenial, isIdentityAuthFailure, isMaintenanceError, kitAuthInterceptor, kitChangeEventDisabled, kitClearStoragePreservingKeys, kitCreateDidEnter, kitForgetEmail, kitImpact, kitIsValidEmail, kitKeyboardInit, kitPreloadAuthLoginForNavigation, kitPresentAuthFailedAlert, kitPresentLanguageActionSheet, kitRealtimeProtocols, kitRecallEmail, kitRememberEmail, kitRequireAuthorizedGuard, kitRequireConfirmingGuard, kitRequiredUnauthorizedGuard, mountViewModel, objectEqual, provideKitAuth, provideKitHttp, provideKitOverlay, toKitWebSocketUrl };
1843
1849
  export type { AuthFailureBody, AuthFailureScope, ComponentPropsType, KitAlertCloseOptions, KitAlertConfirmOptions, KitAuthAccessLease, KitAuthAccessMode, KitAuthConfig, KitAuthFailedAlertOptions, KitAuthGuardState, KitAuthInputMode, KitAuthRecoveryConfig, KitAuthRedirects, KitAuthState, KitClearableStore, KitClientRealtimeEvent, KitEmailStore, KitHttpConfig, KitKeyboardAdjust, KitLabels, KitLanguageActionSheetOptions, KitLanguageOption, KitMaintenanceOptions, KitModalPresentOptions, KitOverlayConfig, KitRealtimeConnectionOptions, KitRealtimeEvent, KitRealtimeSocketTarget, KitReloadAlertOptions, KitRemoteAccessRecovery, ModalMetadata, ReactiveHost, ViewModelHost };