@saasquatch/squatch-js 2.4.2-0 → 2.4.2-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/types.d.ts CHANGED
@@ -94,3 +94,12 @@ export declare type WidgetType =
94
94
  | "CONVERSION_WIDGET" | string;
95
95
  export declare type ShareMedium = string;
96
96
  export declare type JWT = string;
97
+ /**
98
+ * Looks up the referral code of the current user, if there is any.
99
+ *
100
+ * @param {Object} options Parameters for request
101
+ * @param {boolean} options.returnEncodedCookie Return the encoded cookie as a string
102
+ **/
103
+ export declare type ReferralCookieOptions = {
104
+ returnEncodedCookie: boolean;
105
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/squatch-js",
3
- "version": "2.4.2-0",
3
+ "version": "2.4.2-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",