gleap 13.2.1 → 13.2.2

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/index.d.ts CHANGED
@@ -90,11 +90,30 @@ export namespace Gleap {
90
90
  ): void;
91
91
  function identify(
92
92
  userId: string,
93
- customerData: any,
93
+ customerData: {
94
+ name?: string;
95
+ email?: string;
96
+ phone?: string;
97
+ value?: number;
98
+ companyId?: string;
99
+ companyName?: string;
100
+ plan?: string;
101
+ customData?: object;
102
+ createdAt?: Date;
103
+ },
94
104
  userHash?: string
95
105
  ): void;
96
106
  function updateContact(
97
- customerData: any,
107
+ customerData: {
108
+ name?: string;
109
+ email?: string;
110
+ phone?: string;
111
+ value?: number;
112
+ companyId?: string;
113
+ companyName?: string;
114
+ plan?: string;
115
+ customData?: object;
116
+ }
98
117
  ): void;
99
118
  function getInstance(): any;
100
119
  function open(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gleap",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "main": "build/index.js",
5
5
  "scripts": {
6
6
  "start": "webpack serve",