@rdlabo/ionic-angular-kit 22.0.9 → 22.0.10
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/docs/auth-http.md +1 -1
- package/docs/offline-realtime.md +2 -0
- package/fesm2022/rdlabo-ionic-angular-kit-offline.mjs +68 -40
- package/fesm2022/rdlabo-ionic-angular-kit-offline.mjs.map +1 -1
- package/fesm2022/rdlabo-ionic-angular-kit.mjs +4 -3
- package/fesm2022/rdlabo-ionic-angular-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/types/rdlabo-ionic-angular-kit-offline.d.ts +4 -0
- package/types/rdlabo-ionic-angular-kit.d.ts +6 -1
package/package.json
CHANGED
|
@@ -1797,6 +1797,10 @@ type OfflineSyncState = 'idle' | 'pending' | 'syncing' | 'attention';
|
|
|
1797
1797
|
interface EnqueueOfflineCommand<T = unknown> {
|
|
1798
1798
|
/** Stable caller-owned idempotency key; generated by Kit when omitted. */
|
|
1799
1799
|
commandId?: string;
|
|
1800
|
+
/** A previous delivery with this commandId and payload may already have committed. */
|
|
1801
|
+
serverCommitUnknown?: boolean;
|
|
1802
|
+
/** Earliest automatic delivery time in milliseconds since the Unix epoch. Explicit retryNow still overrides it. */
|
|
1803
|
+
retryAt?: number;
|
|
1800
1804
|
scopeId: string;
|
|
1801
1805
|
aggregateType: string;
|
|
1802
1806
|
identity: EnqueueOfflineCommandIdentity;
|
|
@@ -1200,6 +1200,11 @@ declare const KIT_SKIP_ERROR_NOTIFICATIONS: HttpContextToken<boolean>;
|
|
|
1200
1200
|
declare const isMaintenanceError: (error: HttpErrorResponse) => boolean;
|
|
1201
1201
|
/** A write may have committed during this attempt or an earlier attempt with the same key. */
|
|
1202
1202
|
declare function isWriteOutcomeUnknown(error: unknown): boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* Parse a `Retry-After` header (delta-seconds or an HTTP-date) into milliseconds, or `null` when it
|
|
1205
|
+
* is absent or unparseable.
|
|
1206
|
+
*/
|
|
1207
|
+
declare const parseRetryAfterMs: (error: HttpErrorResponse) => number | null;
|
|
1203
1208
|
/**
|
|
1204
1209
|
* Configuration that customizes the behavior of {@link kitAuthInterceptor}, injected through {@link provideKitHttp}.
|
|
1205
1210
|
*
|
|
@@ -1847,5 +1852,5 @@ type ComponentPropsType<T> = {
|
|
|
1847
1852
|
[K in keyof T]: InputSignal<T[K]> | InputSignalWithTransform<T[K], any>;
|
|
1848
1853
|
};
|
|
1849
1854
|
|
|
1850
|
-
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, isWriteOutcomeUnknown, kitAuthInterceptor, kitChangeEventDisabled, kitClearStoragePreservingKeys, kitCreateDidEnter, kitForgetEmail, kitImpact, kitIsValidEmail, kitKeyboardInit, kitPreloadAuthLoginForNavigation, kitPresentAuthFailedAlert, kitPresentLanguageActionSheet, kitRealtimeProtocols, kitRecallEmail, kitRememberEmail, kitRequireAuthorizedGuard, kitRequireConfirmingGuard, kitRequiredUnauthorizedGuard, mountViewModel, objectEqual, provideKitAuth, provideKitHttp, provideKitOverlay, toKitWebSocketUrl };
|
|
1855
|
+
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, isWriteOutcomeUnknown, kitAuthInterceptor, kitChangeEventDisabled, kitClearStoragePreservingKeys, kitCreateDidEnter, kitForgetEmail, kitImpact, kitIsValidEmail, kitKeyboardInit, kitPreloadAuthLoginForNavigation, kitPresentAuthFailedAlert, kitPresentLanguageActionSheet, kitRealtimeProtocols, kitRecallEmail, kitRememberEmail, kitRequireAuthorizedGuard, kitRequireConfirmingGuard, kitRequiredUnauthorizedGuard, mountViewModel, objectEqual, parseRetryAfterMs, provideKitAuth, provideKitHttp, provideKitOverlay, toKitWebSocketUrl };
|
|
1851
1856
|
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 };
|