@saasquatch/squatch-js 2.4.3-2 → 2.4.3-3

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
@@ -32,6 +32,7 @@ export interface WidgetConfig {
32
32
  container?: HTMLElement | string;
33
33
  trigger?: string;
34
34
  jwt?: JWT;
35
+ displayOnLoad?: boolean;
35
36
  }
36
37
  /**
37
38
  * @param user The user details
@@ -79,6 +80,7 @@ export declare type WidgetContext = {
79
80
  engagementMedium?: EngagementMedium;
80
81
  container?: HTMLElement | string;
81
82
  trigger?: string;
83
+ displayOnLoad?: boolean;
82
84
  } | {
83
85
  type: "upsert";
84
86
  user?: User | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/squatch-js",
3
- "version": "2.4.3-2",
3
+ "version": "2.4.3-3",
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",
@@ -41,7 +41,7 @@
41
41
  "preversion": "run-s build",
42
42
  "demo": "msw init demo/dist/ --save && run-p static parcel",
43
43
  "demo:deploy": "run-s parcel:build parcel:deploy",
44
- "static": "serve dist",
44
+ "static": "serve -l 3333 -s dist",
45
45
  "parcel": "cd demo && parcel index.html",
46
46
  "parcel:build": "cd demo && parcel build index.html",
47
47
  "parcel:deploy": "surge demo/dist -d squathjs-demo.surge.sh"