barsa-novin-ray-core 2.3.96 → 2.3.98
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/index.d.ts
CHANGED
|
@@ -2907,16 +2907,18 @@ interface UserNotificationSetting extends MetaobjectDataModel {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
|
|
2909
2909
|
declare class ServiceWorkerNotificationService {
|
|
2910
|
-
|
|
2910
|
+
hasRegistration: boolean;
|
|
2911
2911
|
private _swPush;
|
|
2912
2912
|
private _portalService;
|
|
2913
2913
|
private _notificationPermissionAllowed;
|
|
2914
|
-
private _hasRegistration;
|
|
2915
2914
|
constructor();
|
|
2916
2915
|
get isEnabled(): boolean;
|
|
2917
2916
|
closeNotifications(tags: string[]): Promise<void>;
|
|
2918
2917
|
showNotification(payload: ExNotificationPayload): Promise<void>;
|
|
2919
2918
|
private init;
|
|
2919
|
+
private handlePermission;
|
|
2920
|
+
private permissionQuery;
|
|
2921
|
+
private permissionError;
|
|
2920
2922
|
private requestPermission;
|
|
2921
2923
|
private registerServiceWorker;
|
|
2922
2924
|
private getSw;
|