@4site/engrid-scripts 0.22.12 → 0.22.13
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/frequency-upsell.js
CHANGED
|
@@ -89,6 +89,7 @@ export class FrequencyUpsell {
|
|
|
89
89
|
this.upsellModal.updateModalContent();
|
|
90
90
|
this.logger.log("Frequency upsell modal opened");
|
|
91
91
|
(_a = this.upsellModal) === null || _a === void 0 ? void 0 : _a.open();
|
|
92
|
+
this.options.onOpen();
|
|
92
93
|
this.modalSeen = true;
|
|
93
94
|
this._form.submit = false;
|
|
94
95
|
return false;
|
|
@@ -7,6 +7,7 @@ export interface FrequencyUpsellOptions {
|
|
|
7
7
|
upsellAmount: (currentAmount: number) => number;
|
|
8
8
|
upsellFromFrequency: Array<"onetime" | "monthly" | "quarterly" | "semi_annual" | "annual">;
|
|
9
9
|
customClass: string;
|
|
10
|
+
onOpen: () => void;
|
|
10
11
|
onAccept: () => void;
|
|
11
12
|
onDecline: () => void;
|
|
12
13
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AppVersion = "0.22.
|
|
1
|
+
export declare const AppVersion = "0.22.13";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const AppVersion = "0.22.
|
|
1
|
+
export const AppVersion = "0.22.13";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4site/engrid-scripts",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.13",
|
|
4
4
|
"description": "Scripts for the ENGRID Project",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"strongly-typed-events": "^2.0.9"
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/4site-interactive-studios/engrid#readme",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "631db2b96fc7e475d6f85b926700d8a5fd1eb03b",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"nodemon": "^2.0.20"
|
|
31
31
|
}
|