@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/CHANGELOG.md +19 -1
- package/README.md +1 -0
- package/dist/api/WidgetApi.d.ts +4 -3
- package/dist/squatch.esm.js +6 -3
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +6 -3
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/types.d.ts +9 -0
- package/package.json +1 -1
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-
|
|
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",
|