web-push-notifications 3.70.0 → 3.72.0
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/CHANGELOG.md +35 -0
- package/core/Pushwoosh.d.ts +10 -1
- package/core/Pushwoosh.types.d.ts +5 -0
- package/npm.js +1 -1
- package/npm.js.map +1 -1
- package/package.json +1 -1
- package/pushwoosh-web-notifications.d.ts +1 -0
- package/pushwoosh-widget-inbox.d.ts +1 -0
- package/pushwoosh-widget-subscribe-popup.d.ts +1 -0
- package/pushwoosh-widget-subscription-button.d.ts +1 -0
- package/pushwoosh-widget-subscription-prompt.d.ts +1 -0
- package/pushwoosh-widget-web-popups.d.ts +1 -0
- package/service-worker.js +1 -1
- package/widget-subscribe-popup.js +1 -1
- package/widget-subscribe-popup.js.map +1 -1
- package/widget-subscription-button.js +1 -1
- package/widget-subscription-button.js.map +1 -1
- package/widget-subscription-prompt.js +1 -1
- package/widget-subscription-prompt.js.map +1 -1
- package/widget-web-popups.js +1 -1
- package/widget-web-popups.js.map +1 -1
- package/widgets/SubscriptionPrompt/constants.d.ts +1 -0
- package/widgets/SubscriptionPrompt/helpers.d.ts +1 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const SUBSCRIPTION_WIDGET_USE_CASE_NOT_SET = "not-set";
|
|
2
2
|
export declare const SUBSCRIPTION_WIDGET_USE_CASE_DEFAULT = "default";
|
|
3
|
+
export declare const SUBSCRIPTION_WIDGET_USE_CASE_NOT_USED = "not-used";
|
|
3
4
|
export declare const SUBSCRIPTION_PROMPT_WIDGET_DEFAULT_CONFIG: {
|
|
4
5
|
headerText: string;
|
|
5
6
|
headerTextColor: string;
|
|
@@ -2,4 +2,5 @@ import type { ISubscriptionPromptWidgetParams } from './SubscriptionPromptWidget
|
|
|
2
2
|
import type { Pushwoosh } from '../../core/Pushwoosh';
|
|
3
3
|
export declare const getWidgetConfig: (features: any) => ISubscriptionPromptWidgetParams;
|
|
4
4
|
export declare const checkCanShowByCapping: (widgetConfig: ISubscriptionPromptWidgetParams, pw: Pushwoosh) => Promise<boolean>;
|
|
5
|
+
export declare const getSubscriptionPromptSkipReason: (features: any, pw: Pushwoosh, widgetConfig?: ISubscriptionPromptWidgetParams) => Promise<string | null>;
|
|
5
6
|
export declare const updateCappingParams: (pw: Pushwoosh) => Promise<void>;
|