@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.
@@ -1,5 +1,5 @@
1
1
  import { ConfigOptions, WidgetConfig } from "../types";
2
- export declare function _getConfig(configIn: ConfigOptions): {
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-0",
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",