gleap 13.2.2 → 13.2.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/build/index.js +1 -1
- package/index.d.ts +17 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -50,8 +50,8 @@ export namespace Gleap {
|
|
|
50
50
|
function setBannerUrl(bannerUrl: string): void;
|
|
51
51
|
function setMaxNetworkRequests(maxRequests: number): void;
|
|
52
52
|
function startNetworkLogger(): void;
|
|
53
|
-
function
|
|
54
|
-
function
|
|
53
|
+
function setNetworkLogsBlacklist(networkLogBlacklist: string[]): void;
|
|
54
|
+
function setNetworkLogPropsToIgnore(filters: string[]): void;
|
|
55
55
|
function registerCustomAction(
|
|
56
56
|
customAction: (action: { name: string }) => void
|
|
57
57
|
): void;
|
|
@@ -103,6 +103,21 @@ export namespace Gleap {
|
|
|
103
103
|
},
|
|
104
104
|
userHash?: string
|
|
105
105
|
): void;
|
|
106
|
+
function identifyContact(
|
|
107
|
+
userId: string,
|
|
108
|
+
customerData: {
|
|
109
|
+
name?: string;
|
|
110
|
+
email?: string;
|
|
111
|
+
phone?: string;
|
|
112
|
+
value?: number;
|
|
113
|
+
companyId?: string;
|
|
114
|
+
companyName?: string;
|
|
115
|
+
plan?: string;
|
|
116
|
+
customData?: object;
|
|
117
|
+
createdAt?: Date;
|
|
118
|
+
},
|
|
119
|
+
userHash?: string
|
|
120
|
+
): void;
|
|
106
121
|
function updateContact(
|
|
107
122
|
customerData: {
|
|
108
123
|
name?: string;
|