@saasquatch/squatch-js 2.3.2-22 → 2.3.2-23

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/types.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface WidgetConfig {
17
17
  user: User;
18
18
  widgetType?: WidgetType;
19
19
  engagementMedium?: EngagementMedium;
20
- element?: (HTMLElement & EmbedWidget) | undefined;
20
+ element?: HTMLElement;
21
21
  jwt?: JWT;
22
22
  }
23
23
  export interface CookieWidgetConfig {
@@ -56,7 +56,7 @@ export default class Widgets {
56
56
  * @param {EngagementMedium} config.engagementMedium How to display the widget.
57
57
  * @param {string} config.jwt the JSON Web Token (JWT) that is used
58
58
  * to validate the data (can be disabled)
59
- @param {HTMLElement & EmbedWidget | undefined} config.element Element to load the widget into
59
+ @param {HTMLElement} config.element Element to load the widget into
60
60
  *
61
61
  * @return {Promise<WidgetResult>} json object if true, with a Widget and user details.
62
62
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/squatch-js",
3
- "version": "2.3.2-22",
3
+ "version": "2.3.2-23",
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",