@saasquatch/squatch-js 2.4.3-0 → 2.4.3-1
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/squatch.esm.js +13 -9
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +13 -9
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +3 -3
- package/dist/stats.html +1 -1
- package/dist/utils/utmUtils.d.ts +2 -2
- package/dist/widgets/Widgets.d.ts +1 -0
- package/package.json +1 -1
package/dist/utils/utmUtils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigOptions, WidgetConfig } from "../types";
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function _getAutoConfig(configIn: ConfigOptions): {
|
|
3
3
|
widgetConfig: WidgetConfig;
|
|
4
4
|
squatchConfig: ConfigOptions;
|
|
5
5
|
} | undefined;
|
|
@@ -8,7 +8,7 @@ export declare function _getConfig(configIn: ConfigOptions): {
|
|
|
8
8
|
* @param obj
|
|
9
9
|
*/
|
|
10
10
|
export declare function convertExtraToConfig(obj: Record<string, any>): {
|
|
11
|
-
domain: string;
|
|
11
|
+
domain: string | undefined;
|
|
12
12
|
tenantAlias: string;
|
|
13
13
|
widgetConfig: any;
|
|
14
14
|
};
|
|
@@ -102,6 +102,7 @@ export default class Widgets {
|
|
|
102
102
|
* @param {Object} config Config details
|
|
103
103
|
* @param {string} config.widgetType The widget type (REFERRER_WIDGET, CONVERSION_WIDGET)
|
|
104
104
|
* @param {string} config.engagementMedium (POPUP, EMBED)
|
|
105
|
+
* @param {string} config.showOnReferral Whether to show
|
|
105
106
|
* @returns {Widget} widget (PopupWidget, EmbedWidget, or CtaWidget)
|
|
106
107
|
*/
|
|
107
108
|
private _renderWidget;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/squatch-js",
|
|
3
|
-
"version": "2.4.3-
|
|
3
|
+
"version": "2.4.3-1",
|
|
4
4
|
"description": "The official Referral SaaSquatch Javascript Web/Browser SDK https://docs.referralsaasquatch.com/developer/squatchjs/",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "dist/squatch.d.ts",
|