capacitor-gleap-plugin 14.2.0 → 14.3.0
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/CapacitorGleapPlugin.podspec +2 -2
- package/README.md +724 -1
- package/android/build.gradle +10 -10
- package/dist/docs.json +3681 -28
- package/dist/plugin.cjs.js +55 -61
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +55 -61
- package/dist/plugin.js.map +1 -1
- package/package.json +18 -18
package/dist/plugin.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
var capacitorGleap = (function (exports, core, Gleap$1) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
5
|
-
|
|
6
|
-
var Gleap__default = /*#__PURE__*/_interopDefaultLegacy(Gleap$1);
|
|
7
|
-
|
|
8
4
|
const Gleap = core.registerPlugin('Gleap', {
|
|
9
5
|
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.GleapWeb()),
|
|
10
6
|
});
|
|
@@ -14,63 +10,63 @@ var capacitorGleap = (function (exports, core, Gleap$1) {
|
|
|
14
10
|
if (GleapWeb.initialized) {
|
|
15
11
|
return { initialized: true };
|
|
16
12
|
}
|
|
17
|
-
|
|
13
|
+
Gleap$1.initialize(options.API_KEY);
|
|
18
14
|
GleapWeb.initialized = true;
|
|
19
15
|
this.registerCallbackListeners();
|
|
20
16
|
return { initialized: true };
|
|
21
17
|
}
|
|
22
18
|
registerCallbackListeners() {
|
|
23
|
-
|
|
19
|
+
Gleap$1.on('open', () => {
|
|
24
20
|
this.notifyCallbacks('open', {});
|
|
25
21
|
});
|
|
26
|
-
|
|
22
|
+
Gleap$1.on('initialized', () => {
|
|
27
23
|
this.notifyCallbacks('initialized', {});
|
|
28
24
|
});
|
|
29
|
-
|
|
25
|
+
Gleap$1.on('close', () => {
|
|
30
26
|
this.notifyCallbacks('close', {});
|
|
31
27
|
});
|
|
32
|
-
|
|
28
|
+
Gleap$1.on('feedback-sent', formData => {
|
|
33
29
|
this.notifyCallbacks('feedback-sent', formData);
|
|
34
30
|
});
|
|
35
|
-
|
|
31
|
+
Gleap$1.on('outbound-sent', formData => {
|
|
36
32
|
this.notifyCallbacks('outbound-sent', formData);
|
|
37
33
|
});
|
|
38
|
-
|
|
34
|
+
Gleap$1.on('tool-execution', toolExecution => {
|
|
39
35
|
this.notifyCallbacks('tool-execution', toolExecution);
|
|
40
36
|
});
|
|
41
|
-
|
|
37
|
+
Gleap$1.on('flow-started', flow => {
|
|
42
38
|
this.notifyCallbacks('flow-started', flow);
|
|
43
39
|
});
|
|
44
|
-
|
|
40
|
+
Gleap$1.on('error-while-sending', () => {
|
|
45
41
|
this.notifyCallbacks('error-while-sending', {});
|
|
46
42
|
});
|
|
47
|
-
|
|
43
|
+
Gleap$1.on('unregister-pushmessage-group', groupName => {
|
|
48
44
|
this.notifyCallbacks('unregister-pushmessage-group', groupName);
|
|
49
45
|
});
|
|
50
|
-
|
|
46
|
+
Gleap$1.on('register-pushmessage-group', groupName => {
|
|
51
47
|
this.notifyCallbacks('register-pushmessage-group', groupName);
|
|
52
48
|
});
|
|
53
|
-
|
|
49
|
+
Gleap$1.on('unread-count-changed', groupName => {
|
|
54
50
|
this.notifyCallbacks('notification-count-updated', groupName);
|
|
55
51
|
});
|
|
56
|
-
|
|
52
|
+
Gleap$1.registerCustomAction(customAction => {
|
|
57
53
|
this.notifyCallbacks('custom-action-called', customAction);
|
|
58
54
|
});
|
|
59
55
|
}
|
|
60
56
|
async setAiTools(options) {
|
|
61
|
-
|
|
57
|
+
Gleap$1.setAiTools(options.tools);
|
|
62
58
|
return { aiToolsSet: true };
|
|
63
59
|
}
|
|
64
60
|
async setTicketAttribute(options) {
|
|
65
|
-
|
|
61
|
+
Gleap$1.setTicketAttribute(options.key, options.value);
|
|
66
62
|
return { setTicketAttribute: true };
|
|
67
63
|
}
|
|
68
64
|
async unsetTicketAttribute(options) {
|
|
69
|
-
|
|
65
|
+
Gleap$1.unsetTicketAttribute(options.key);
|
|
70
66
|
return { unsetTicketAttribute: true };
|
|
71
67
|
}
|
|
72
68
|
async clearTicketAttributes() {
|
|
73
|
-
|
|
69
|
+
Gleap$1.clearTicketAttributes();
|
|
74
70
|
return { clearTicketAttributes: true };
|
|
75
71
|
}
|
|
76
72
|
notifyCallbacks(event, data) {
|
|
@@ -86,28 +82,28 @@ var capacitorGleap = (function (exports, core, Gleap$1) {
|
|
|
86
82
|
}
|
|
87
83
|
async startClassicForm(options) {
|
|
88
84
|
var _a;
|
|
89
|
-
|
|
85
|
+
Gleap$1.startClassicForm((_a = options.formId) !== null && _a !== void 0 ? _a : '', options.showBackButton);
|
|
90
86
|
return { classicFormStarted: true };
|
|
91
87
|
}
|
|
92
88
|
async startConversation(options) {
|
|
93
|
-
|
|
89
|
+
Gleap$1.startConversation(options.showBackButton);
|
|
94
90
|
return { conversationStarted: true };
|
|
95
91
|
}
|
|
96
92
|
async openConversation(options) {
|
|
97
|
-
|
|
93
|
+
Gleap$1.openConversations(options.showBackButton);
|
|
98
94
|
return { conversationsOpened: true };
|
|
99
95
|
}
|
|
100
96
|
async showSurvey(options) {
|
|
101
|
-
|
|
97
|
+
Gleap$1.showSurvey(options.surveyId, options.format);
|
|
102
98
|
return { opened: true };
|
|
103
99
|
}
|
|
104
100
|
async showFeedbackButton(options) {
|
|
105
|
-
|
|
101
|
+
Gleap$1.showFeedbackButton(options.show ? true : false);
|
|
106
102
|
return { feedbackButtonShown: true };
|
|
107
103
|
}
|
|
108
104
|
async setDisableInAppNotifications(options) {
|
|
109
105
|
var _a;
|
|
110
|
-
|
|
106
|
+
Gleap$1.setDisableInAppNotifications((_a = options.disableInAppNotifications) !== null && _a !== void 0 ? _a : false);
|
|
111
107
|
return { inAppNotificationsDisabled: true };
|
|
112
108
|
}
|
|
113
109
|
async identify(options) {
|
|
@@ -123,61 +119,61 @@ var capacitorGleap = (function (exports, core, Gleap$1) {
|
|
|
123
119
|
customData: options.customData,
|
|
124
120
|
};
|
|
125
121
|
if (options.userHash) {
|
|
126
|
-
|
|
122
|
+
Gleap$1.identify(options.userId, userData, options.userHash);
|
|
127
123
|
}
|
|
128
124
|
else {
|
|
129
|
-
|
|
125
|
+
Gleap$1.identify(options.userId, userData);
|
|
130
126
|
}
|
|
131
127
|
return { identify: true };
|
|
132
128
|
}
|
|
133
129
|
async updateContact(options) {
|
|
134
|
-
|
|
130
|
+
Gleap$1.updateContact(options);
|
|
135
131
|
return { identify: true };
|
|
136
132
|
}
|
|
137
133
|
async setNetworkLogsBlacklist(options) {
|
|
138
|
-
|
|
134
|
+
Gleap$1.setNetworkLogsBlacklist(options.blacklist);
|
|
139
135
|
return { blacklistSet: true };
|
|
140
136
|
}
|
|
141
137
|
async setNetworkLogPropsToIgnore(options) {
|
|
142
|
-
|
|
138
|
+
Gleap$1.setNetworkLogPropsToIgnore(options.propsToIgnore);
|
|
143
139
|
return { propsToIgnoreSet: true };
|
|
144
140
|
}
|
|
145
141
|
async setTags(options) {
|
|
146
|
-
|
|
142
|
+
Gleap$1.setTags(options.tags);
|
|
147
143
|
return { tagsSet: true };
|
|
148
144
|
}
|
|
149
145
|
async clearIdentity() {
|
|
150
|
-
|
|
146
|
+
Gleap$1.clearIdentity();
|
|
151
147
|
return { clearIdentity: true };
|
|
152
148
|
}
|
|
153
149
|
async getIdentity() {
|
|
154
|
-
return { identity:
|
|
150
|
+
return { identity: Gleap$1.getIdentity() };
|
|
155
151
|
}
|
|
156
152
|
async isUserIdentified() {
|
|
157
|
-
return { isUserIdentified:
|
|
153
|
+
return { isUserIdentified: Gleap$1.isUserIdentified() };
|
|
158
154
|
}
|
|
159
155
|
async attachCustomData(options) {
|
|
160
|
-
|
|
156
|
+
Gleap$1.attachCustomData(options.data);
|
|
161
157
|
return { attachedCustomData: true };
|
|
162
158
|
}
|
|
163
159
|
async setCustomData(options) {
|
|
164
|
-
|
|
160
|
+
Gleap$1.setCustomData(options.key, options.value);
|
|
165
161
|
return { setCustomData: true };
|
|
166
162
|
}
|
|
167
163
|
async removeCustomData(options) {
|
|
168
|
-
|
|
164
|
+
Gleap$1.removeCustomData(options.key);
|
|
169
165
|
return { removedCustomData: true };
|
|
170
166
|
}
|
|
171
167
|
async clearCustomData() {
|
|
172
|
-
|
|
168
|
+
Gleap$1.clearCustomData();
|
|
173
169
|
return { clearedCustomData: true };
|
|
174
170
|
}
|
|
175
171
|
async trackEvent(options) {
|
|
176
|
-
|
|
172
|
+
Gleap$1.trackEvent(options.name, options.data);
|
|
177
173
|
return { loggedEvent: true };
|
|
178
174
|
}
|
|
179
175
|
async trackPage(options) {
|
|
180
|
-
|
|
176
|
+
Gleap$1.trackEvent('pageView', {
|
|
181
177
|
page: options.pageName,
|
|
182
178
|
});
|
|
183
179
|
return { trackedPage: true };
|
|
@@ -185,21 +181,21 @@ var capacitorGleap = (function (exports, core, Gleap$1) {
|
|
|
185
181
|
async startFeedbackFlow(options) {
|
|
186
182
|
var _a;
|
|
187
183
|
if (!options.feedbackFlow) ;
|
|
188
|
-
|
|
184
|
+
Gleap$1.startFeedbackFlow((_a = options.feedbackFlow) !== null && _a !== void 0 ? _a : 'bugreporting', options.showBackButton);
|
|
189
185
|
return { startedFeedbackFlow: true };
|
|
190
186
|
}
|
|
191
187
|
async startBot(options) {
|
|
192
188
|
var _a;
|
|
193
189
|
if (!options.botId) ;
|
|
194
|
-
|
|
190
|
+
Gleap$1.startBot((_a = options.botId) !== null && _a !== void 0 ? _a : '', options.showBackButton);
|
|
195
191
|
return { startedBot: true };
|
|
196
192
|
}
|
|
197
193
|
async setLanguage(options) {
|
|
198
|
-
|
|
194
|
+
Gleap$1.setLanguage(options.languageCode);
|
|
199
195
|
return { setLanguage: options.languageCode };
|
|
200
196
|
}
|
|
201
197
|
async log(options) {
|
|
202
|
-
|
|
198
|
+
Gleap$1.log(options.message, options.logLevel);
|
|
203
199
|
return { logged: true };
|
|
204
200
|
}
|
|
205
201
|
async setEventCallback(callback) {
|
|
@@ -208,57 +204,57 @@ var capacitorGleap = (function (exports, core, Gleap$1) {
|
|
|
208
204
|
return callbackId;
|
|
209
205
|
}
|
|
210
206
|
async sendSilentCrashReport(options) {
|
|
211
|
-
|
|
207
|
+
Gleap$1.sendSilentCrashReport(options.description, options.severity, options.dataExclusion);
|
|
212
208
|
return { sentSilentBugReport: true };
|
|
213
209
|
}
|
|
214
210
|
async open() {
|
|
215
|
-
|
|
211
|
+
Gleap$1.open();
|
|
216
212
|
return { openedWidget: true };
|
|
217
213
|
}
|
|
218
214
|
async openFeatureRequests(options) {
|
|
219
|
-
|
|
215
|
+
Gleap$1.openFeatureRequests(options.showBackButton);
|
|
220
216
|
return { openedFeatureRequests: true };
|
|
221
217
|
}
|
|
222
218
|
async openNews(options) {
|
|
223
|
-
|
|
219
|
+
Gleap$1.openNews(options.showBackButton);
|
|
224
220
|
return { openedNews: true };
|
|
225
221
|
}
|
|
226
222
|
async openNewsArticle(options) {
|
|
227
|
-
|
|
223
|
+
Gleap$1.openNewsArticle(options.articleId, options.showBackButton);
|
|
228
224
|
return { opened: true };
|
|
229
225
|
}
|
|
230
226
|
async openHelpCenter(options) {
|
|
231
|
-
|
|
227
|
+
Gleap$1.openHelpCenter(options.showBackButton);
|
|
232
228
|
return { opened: true };
|
|
233
229
|
}
|
|
234
230
|
async openHelpCenterArticle(options) {
|
|
235
|
-
|
|
231
|
+
Gleap$1.openHelpCenterArticle(options.articleId, options.showBackButton);
|
|
236
232
|
return { opened: true };
|
|
237
233
|
}
|
|
238
234
|
async openHelpCenterCollection(options) {
|
|
239
|
-
|
|
235
|
+
Gleap$1.openHelpCenterCollection(options.collectionId, options.showBackButton);
|
|
240
236
|
return { opened: true };
|
|
241
237
|
}
|
|
242
238
|
async searchHelpCenter(options) {
|
|
243
|
-
|
|
239
|
+
Gleap$1.searchHelpCenter(options.term, options.showBackButton);
|
|
244
240
|
return { opened: true };
|
|
245
241
|
}
|
|
246
242
|
async close() {
|
|
247
|
-
|
|
243
|
+
Gleap$1.close();
|
|
248
244
|
return { closedWidget: true };
|
|
249
245
|
}
|
|
250
246
|
async isOpened() {
|
|
251
|
-
return { isOpened:
|
|
247
|
+
return { isOpened: Gleap$1.isOpened() };
|
|
252
248
|
}
|
|
253
249
|
async disableConsoleLogOverwrite() {
|
|
254
|
-
|
|
250
|
+
Gleap$1.disableConsoleLogOverwrite();
|
|
255
251
|
return { consoleLogDisabled: true };
|
|
256
252
|
}
|
|
257
253
|
async enableDebugConsoleLog() {
|
|
258
254
|
return { debugConsoleLogEnabled: true };
|
|
259
255
|
}
|
|
260
256
|
async preFillForm(options) {
|
|
261
|
-
|
|
257
|
+
Gleap$1.preFillForm(options.data);
|
|
262
258
|
return { preFilledForm: true };
|
|
263
259
|
}
|
|
264
260
|
async addAttachment(_options) {
|
|
@@ -287,8 +283,6 @@ var capacitorGleap = (function (exports, core, Gleap$1) {
|
|
|
287
283
|
|
|
288
284
|
exports.Gleap = Gleap;
|
|
289
285
|
|
|
290
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
291
|
-
|
|
292
286
|
return exports;
|
|
293
287
|
|
|
294
288
|
})({}, capacitorExports, Gleap$1);
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Gleap = registerPlugin('Gleap', {\n web: () => import('./web').then(m => new m.GleapWeb()),\n});\nexport * from './definitions';\nexport { Gleap };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nimport Gleap from 'gleap';\nexport class GleapWeb extends WebPlugin {\n async initialize(options) {\n if (GleapWeb.initialized) {\n return { initialized: true };\n }\n Gleap.initialize(options.API_KEY);\n GleapWeb.initialized = true;\n this.registerCallbackListeners();\n return { initialized: true };\n }\n registerCallbackListeners() {\n Gleap.on('open', () => {\n this.notifyCallbacks('open', {});\n });\n Gleap.on('initialized', () => {\n this.notifyCallbacks('initialized', {});\n });\n Gleap.on('close', () => {\n this.notifyCallbacks('close', {});\n });\n Gleap.on('feedback-sent', formData => {\n this.notifyCallbacks('feedback-sent', formData);\n });\n Gleap.on('outbound-sent', formData => {\n this.notifyCallbacks('outbound-sent', formData);\n });\n Gleap.on('tool-execution', toolExecution => {\n this.notifyCallbacks('tool-execution', toolExecution);\n });\n Gleap.on('flow-started', flow => {\n this.notifyCallbacks('flow-started', flow);\n });\n Gleap.on('error-while-sending', () => {\n this.notifyCallbacks('error-while-sending', {});\n });\n Gleap.on('unregister-pushmessage-group', groupName => {\n this.notifyCallbacks('unregister-pushmessage-group', groupName);\n });\n Gleap.on('register-pushmessage-group', groupName => {\n this.notifyCallbacks('register-pushmessage-group', groupName);\n });\n Gleap.on('unread-count-changed', groupName => {\n this.notifyCallbacks('notification-count-updated', groupName);\n });\n Gleap.registerCustomAction(customAction => {\n this.notifyCallbacks('custom-action-called', customAction);\n });\n }\n async setAiTools(options) {\n Gleap.setAiTools(options.tools);\n return { aiToolsSet: true };\n }\n async setTicketAttribute(options) {\n Gleap.setTicketAttribute(options.key, options.value);\n return { setTicketAttribute: true };\n }\n async unsetTicketAttribute(options) {\n Gleap.unsetTicketAttribute(options.key);\n return { unsetTicketAttribute: true };\n }\n async clearTicketAttributes() {\n Gleap.clearTicketAttributes();\n return { clearTicketAttributes: true };\n }\n notifyCallbacks(event, data) {\n if (!GleapWeb.callbacks) {\n return;\n }\n for (var callbackId in GleapWeb.callbacks) {\n GleapWeb.callbacks[callbackId]({\n name: event,\n data,\n });\n }\n }\n async startClassicForm(options) {\n var _a;\n Gleap.startClassicForm((_a = options.formId) !== null && _a !== void 0 ? _a : '', options.showBackButton);\n return { classicFormStarted: true };\n }\n async startConversation(options) {\n Gleap.startConversation(options.showBackButton);\n return { conversationStarted: true };\n }\n async openConversation(options) {\n Gleap.openConversations(options.showBackButton);\n return { conversationsOpened: true };\n }\n async showSurvey(options) {\n Gleap.showSurvey(options.surveyId, options.format);\n return { opened: true };\n }\n async showFeedbackButton(options) {\n Gleap.showFeedbackButton(options.show ? true : false);\n return { feedbackButtonShown: true };\n }\n async setDisableInAppNotifications(options) {\n var _a;\n Gleap.setDisableInAppNotifications((_a = options.disableInAppNotifications) !== null && _a !== void 0 ? _a : false);\n return { inAppNotificationsDisabled: true };\n }\n async identify(options) {\n var userData = {\n name: options.name,\n email: options.email,\n phone: options.phone,\n companyId: options.companyId,\n companyName: options.companyName,\n sla: options.sla,\n plan: options.plan,\n value: options.value,\n customData: options.customData,\n };\n if (options.userHash) {\n Gleap.identify(options.userId, userData, options.userHash);\n }\n else {\n Gleap.identify(options.userId, userData);\n }\n return { identify: true };\n }\n async updateContact(options) {\n Gleap.updateContact(options);\n return { identify: true };\n }\n async setNetworkLogsBlacklist(options) {\n Gleap.setNetworkLogsBlacklist(options.blacklist);\n return { blacklistSet: true };\n }\n async setNetworkLogPropsToIgnore(options) {\n Gleap.setNetworkLogPropsToIgnore(options.propsToIgnore);\n return { propsToIgnoreSet: true };\n }\n async setTags(options) {\n Gleap.setTags(options.tags);\n return { tagsSet: true };\n }\n async clearIdentity() {\n Gleap.clearIdentity();\n return { clearIdentity: true };\n }\n async getIdentity() {\n return { identity: Gleap.getIdentity() };\n }\n async isUserIdentified() {\n return { isUserIdentified: Gleap.isUserIdentified() };\n }\n async attachCustomData(options) {\n Gleap.attachCustomData(options.data);\n return { attachedCustomData: true };\n }\n async setCustomData(options) {\n Gleap.setCustomData(options.key, options.value);\n return { setCustomData: true };\n }\n async removeCustomData(options) {\n Gleap.removeCustomData(options.key);\n return { removedCustomData: true };\n }\n async clearCustomData() {\n Gleap.clearCustomData();\n return { clearedCustomData: true };\n }\n async trackEvent(options) {\n Gleap.trackEvent(options.name, options.data);\n return { loggedEvent: true };\n }\n async trackPage(options) {\n Gleap.trackEvent('pageView', {\n page: options.pageName,\n });\n return { trackedPage: true };\n }\n async startFeedbackFlow(options) {\n var _a;\n if (!options.feedbackFlow) {\n }\n Gleap.startFeedbackFlow((_a = options.feedbackFlow) !== null && _a !== void 0 ? _a : 'bugreporting', options.showBackButton);\n return { startedFeedbackFlow: true };\n }\n async startBot(options) {\n var _a;\n if (!options.botId) {\n }\n Gleap.startBot((_a = options.botId) !== null && _a !== void 0 ? _a : '', options.showBackButton);\n return { startedBot: true };\n }\n async setLanguage(options) {\n Gleap.setLanguage(options.languageCode);\n return { setLanguage: options.languageCode };\n }\n async log(options) {\n Gleap.log(options.message, options.logLevel);\n return { logged: true };\n }\n async setEventCallback(callback) {\n var callbackId = this.makeid(10);\n GleapWeb.callbacks[callbackId] = callback;\n return callbackId;\n }\n async sendSilentCrashReport(options) {\n Gleap.sendSilentCrashReport(options.description, options.severity, options.dataExclusion);\n return { sentSilentBugReport: true };\n }\n async open() {\n Gleap.open();\n return { openedWidget: true };\n }\n async openFeatureRequests(options) {\n Gleap.openFeatureRequests(options.showBackButton);\n return { openedFeatureRequests: true };\n }\n async openNews(options) {\n Gleap.openNews(options.showBackButton);\n return { openedNews: true };\n }\n async openNewsArticle(options) {\n Gleap.openNewsArticle(options.articleId, options.showBackButton);\n return { opened: true };\n }\n async openHelpCenter(options) {\n Gleap.openHelpCenter(options.showBackButton);\n return { opened: true };\n }\n async openHelpCenterArticle(options) {\n Gleap.openHelpCenterArticle(options.articleId, options.showBackButton);\n return { opened: true };\n }\n async openHelpCenterCollection(options) {\n Gleap.openHelpCenterCollection(options.collectionId, options.showBackButton);\n return { opened: true };\n }\n async searchHelpCenter(options) {\n Gleap.searchHelpCenter(options.term, options.showBackButton);\n return { opened: true };\n }\n async close() {\n Gleap.close();\n return { closedWidget: true };\n }\n async isOpened() {\n return { isOpened: Gleap.isOpened() };\n }\n async disableConsoleLogOverwrite() {\n Gleap.disableConsoleLogOverwrite();\n return { consoleLogDisabled: true };\n }\n async enableDebugConsoleLog() {\n return { debugConsoleLogEnabled: true };\n }\n async preFillForm(options) {\n Gleap.preFillForm(options.data);\n return { preFilledForm: true };\n }\n async addAttachment(_options) {\n throw this.unavailable('addAttachment not available for browsers');\n }\n async removeAllAttachments() {\n throw this.unavailable('removeAllAttachments not available for browsers');\n }\n makeid(length) {\n var result = '';\n var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n var charactersLength = characters.length;\n for (var i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n return result;\n }\n}\nGleapWeb.callbacks = {};\nGleapWeb.initialized = false;\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin","Gleap"],"mappings":";;;;;;;AACK,UAAC,KAAK,GAAGA,mBAAc,CAAC,OAAO,EAAE;IACtC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;IAC1D,CAAC;;ICDM,MAAM,QAAQ,SAASC,cAAS,CAAC;IACxC,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;IAC9B,QAAQ,IAAI,QAAQ,CAAC,WAAW,EAAE;IAClC,YAAY,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IACzC,SAAS;IACT,QAAQC,yBAAK,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1C,QAAQ,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;IACpC,QAAQ,IAAI,CAAC,yBAAyB,EAAE,CAAC;IACzC,QAAQ,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IACrC,KAAK;IACL,IAAI,yBAAyB,GAAG;IAChC,QAAQA,yBAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM;IAC/B,YAAY,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAC7C,SAAS,CAAC,CAAC;IACX,QAAQA,yBAAK,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM;IACtC,YAAY,IAAI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E,KAAK;IACL,IAAI,MAAM,oBAAoB,GAAG;IACjC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,iDAAiD,CAAC,CAAC;IAClF,KAAK;IACL,IAAI,MAAM,CAAC,MAAM,EAAE;IACnB,QAAQ,IAAI,MAAM,GAAG,EAAE,CAAC;IACxB,QAAQ,IAAI,UAAU,GAAG,gEAAgE,CAAC;IAC1F,QAAQ,IAAI,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAC;IACjD,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE;IACzC,YAAY,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,gBAAgB,CAAC,CAAC,CAAC;IACtF,SAAS;IACT,QAAQ,OAAO,MAAM,CAAC;IACtB,KAAK;IACL,CAAC;IACD,QAAQ,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,QAAQ,CAAC,WAAW,GAAG,KAAK;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Gleap = registerPlugin('Gleap', {\n web: () => import('./web').then(m => new m.GleapWeb()),\n});\nexport * from './definitions';\nexport { Gleap };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nimport Gleap from 'gleap';\nexport class GleapWeb extends WebPlugin {\n async initialize(options) {\n if (GleapWeb.initialized) {\n return { initialized: true };\n }\n Gleap.initialize(options.API_KEY);\n GleapWeb.initialized = true;\n this.registerCallbackListeners();\n return { initialized: true };\n }\n registerCallbackListeners() {\n Gleap.on('open', () => {\n this.notifyCallbacks('open', {});\n });\n Gleap.on('initialized', () => {\n this.notifyCallbacks('initialized', {});\n });\n Gleap.on('close', () => {\n this.notifyCallbacks('close', {});\n });\n Gleap.on('feedback-sent', formData => {\n this.notifyCallbacks('feedback-sent', formData);\n });\n Gleap.on('outbound-sent', formData => {\n this.notifyCallbacks('outbound-sent', formData);\n });\n Gleap.on('tool-execution', toolExecution => {\n this.notifyCallbacks('tool-execution', toolExecution);\n });\n Gleap.on('flow-started', flow => {\n this.notifyCallbacks('flow-started', flow);\n });\n Gleap.on('error-while-sending', () => {\n this.notifyCallbacks('error-while-sending', {});\n });\n Gleap.on('unregister-pushmessage-group', groupName => {\n this.notifyCallbacks('unregister-pushmessage-group', groupName);\n });\n Gleap.on('register-pushmessage-group', groupName => {\n this.notifyCallbacks('register-pushmessage-group', groupName);\n });\n Gleap.on('unread-count-changed', groupName => {\n this.notifyCallbacks('notification-count-updated', groupName);\n });\n Gleap.registerCustomAction(customAction => {\n this.notifyCallbacks('custom-action-called', customAction);\n });\n }\n async setAiTools(options) {\n Gleap.setAiTools(options.tools);\n return { aiToolsSet: true };\n }\n async setTicketAttribute(options) {\n Gleap.setTicketAttribute(options.key, options.value);\n return { setTicketAttribute: true };\n }\n async unsetTicketAttribute(options) {\n Gleap.unsetTicketAttribute(options.key);\n return { unsetTicketAttribute: true };\n }\n async clearTicketAttributes() {\n Gleap.clearTicketAttributes();\n return { clearTicketAttributes: true };\n }\n notifyCallbacks(event, data) {\n if (!GleapWeb.callbacks) {\n return;\n }\n for (var callbackId in GleapWeb.callbacks) {\n GleapWeb.callbacks[callbackId]({\n name: event,\n data,\n });\n }\n }\n async startClassicForm(options) {\n var _a;\n Gleap.startClassicForm((_a = options.formId) !== null && _a !== void 0 ? _a : '', options.showBackButton);\n return { classicFormStarted: true };\n }\n async startConversation(options) {\n Gleap.startConversation(options.showBackButton);\n return { conversationStarted: true };\n }\n async openConversation(options) {\n Gleap.openConversations(options.showBackButton);\n return { conversationsOpened: true };\n }\n async showSurvey(options) {\n Gleap.showSurvey(options.surveyId, options.format);\n return { opened: true };\n }\n async showFeedbackButton(options) {\n Gleap.showFeedbackButton(options.show ? true : false);\n return { feedbackButtonShown: true };\n }\n async setDisableInAppNotifications(options) {\n var _a;\n Gleap.setDisableInAppNotifications((_a = options.disableInAppNotifications) !== null && _a !== void 0 ? _a : false);\n return { inAppNotificationsDisabled: true };\n }\n async identify(options) {\n var userData = {\n name: options.name,\n email: options.email,\n phone: options.phone,\n companyId: options.companyId,\n companyName: options.companyName,\n sla: options.sla,\n plan: options.plan,\n value: options.value,\n customData: options.customData,\n };\n if (options.userHash) {\n Gleap.identify(options.userId, userData, options.userHash);\n }\n else {\n Gleap.identify(options.userId, userData);\n }\n return { identify: true };\n }\n async updateContact(options) {\n Gleap.updateContact(options);\n return { identify: true };\n }\n async setNetworkLogsBlacklist(options) {\n Gleap.setNetworkLogsBlacklist(options.blacklist);\n return { blacklistSet: true };\n }\n async setNetworkLogPropsToIgnore(options) {\n Gleap.setNetworkLogPropsToIgnore(options.propsToIgnore);\n return { propsToIgnoreSet: true };\n }\n async setTags(options) {\n Gleap.setTags(options.tags);\n return { tagsSet: true };\n }\n async clearIdentity() {\n Gleap.clearIdentity();\n return { clearIdentity: true };\n }\n async getIdentity() {\n return { identity: Gleap.getIdentity() };\n }\n async isUserIdentified() {\n return { isUserIdentified: Gleap.isUserIdentified() };\n }\n async attachCustomData(options) {\n Gleap.attachCustomData(options.data);\n return { attachedCustomData: true };\n }\n async setCustomData(options) {\n Gleap.setCustomData(options.key, options.value);\n return { setCustomData: true };\n }\n async removeCustomData(options) {\n Gleap.removeCustomData(options.key);\n return { removedCustomData: true };\n }\n async clearCustomData() {\n Gleap.clearCustomData();\n return { clearedCustomData: true };\n }\n async trackEvent(options) {\n Gleap.trackEvent(options.name, options.data);\n return { loggedEvent: true };\n }\n async trackPage(options) {\n Gleap.trackEvent('pageView', {\n page: options.pageName,\n });\n return { trackedPage: true };\n }\n async startFeedbackFlow(options) {\n var _a;\n if (!options.feedbackFlow) {\n }\n Gleap.startFeedbackFlow((_a = options.feedbackFlow) !== null && _a !== void 0 ? _a : 'bugreporting', options.showBackButton);\n return { startedFeedbackFlow: true };\n }\n async startBot(options) {\n var _a;\n if (!options.botId) {\n }\n Gleap.startBot((_a = options.botId) !== null && _a !== void 0 ? _a : '', options.showBackButton);\n return { startedBot: true };\n }\n async setLanguage(options) {\n Gleap.setLanguage(options.languageCode);\n return { setLanguage: options.languageCode };\n }\n async log(options) {\n Gleap.log(options.message, options.logLevel);\n return { logged: true };\n }\n async setEventCallback(callback) {\n var callbackId = this.makeid(10);\n GleapWeb.callbacks[callbackId] = callback;\n return callbackId;\n }\n async sendSilentCrashReport(options) {\n Gleap.sendSilentCrashReport(options.description, options.severity, options.dataExclusion);\n return { sentSilentBugReport: true };\n }\n async open() {\n Gleap.open();\n return { openedWidget: true };\n }\n async openFeatureRequests(options) {\n Gleap.openFeatureRequests(options.showBackButton);\n return { openedFeatureRequests: true };\n }\n async openNews(options) {\n Gleap.openNews(options.showBackButton);\n return { openedNews: true };\n }\n async openNewsArticle(options) {\n Gleap.openNewsArticle(options.articleId, options.showBackButton);\n return { opened: true };\n }\n async openHelpCenter(options) {\n Gleap.openHelpCenter(options.showBackButton);\n return { opened: true };\n }\n async openHelpCenterArticle(options) {\n Gleap.openHelpCenterArticle(options.articleId, options.showBackButton);\n return { opened: true };\n }\n async openHelpCenterCollection(options) {\n Gleap.openHelpCenterCollection(options.collectionId, options.showBackButton);\n return { opened: true };\n }\n async searchHelpCenter(options) {\n Gleap.searchHelpCenter(options.term, options.showBackButton);\n return { opened: true };\n }\n async close() {\n Gleap.close();\n return { closedWidget: true };\n }\n async isOpened() {\n return { isOpened: Gleap.isOpened() };\n }\n async disableConsoleLogOverwrite() {\n Gleap.disableConsoleLogOverwrite();\n return { consoleLogDisabled: true };\n }\n async enableDebugConsoleLog() {\n return { debugConsoleLogEnabled: true };\n }\n async preFillForm(options) {\n Gleap.preFillForm(options.data);\n return { preFilledForm: true };\n }\n async addAttachment(_options) {\n throw this.unavailable('addAttachment not available for browsers');\n }\n async removeAllAttachments() {\n throw this.unavailable('removeAllAttachments not available for browsers');\n }\n makeid(length) {\n var result = '';\n var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n var charactersLength = characters.length;\n for (var i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n return result;\n }\n}\nGleapWeb.callbacks = {};\nGleapWeb.initialized = false;\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin","Gleap"],"mappings":";;;AACK,UAAC,KAAK,GAAGA,mBAAc,CAAC,OAAO,EAAE;IACtC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;IAC1D,CAAC;;ICDM,MAAM,QAAQ,SAASC,cAAS,CAAC;IACxC,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;IAC9B,QAAQ,IAAI,QAAQ,CAAC,WAAW,EAAE;IAClC,YAAY,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE;IACxC;IACA,QAAQC,OAAK,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC;IACzC,QAAQ,QAAQ,CAAC,WAAW,GAAG,IAAI;IACnC,QAAQ,IAAI,CAAC,yBAAyB,EAAE;IACxC,QAAQ,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE;IACpC;IACA,IAAI,yBAAyB,GAAG;IAChC,QAAQA,OAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM;IAC/B,YAAY,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC;IAC5C,SAAS,CAAC;IACV,QAAQA,OAAK,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM;IACtC,YAAY,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,EAAE,CAAC;IACnD,SAAS,CAAC;IACV,QAAQA,OAAK,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM;IAChC,YAAY,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,EAAE,CAAC;IA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MAAM,oBAAoB,GAAG;IACjC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,iDAAiD,CAAC;IACjF;IACA,IAAI,MAAM,CAAC,MAAM,EAAE;IACnB,QAAQ,IAAI,MAAM,GAAG,EAAE;IACvB,QAAQ,IAAI,UAAU,GAAG,gEAAgE;IACzF,QAAQ,IAAI,gBAAgB,GAAG,UAAU,CAAC,MAAM;IAChD,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE;IACzC,YAAY,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,gBAAgB,CAAC,CAAC;IACrF;IACA,QAAQ,OAAO,MAAM;IACrB;IACA;IACA,QAAQ,CAAC,SAAS,GAAG,EAAE;IACvB,QAAQ,CAAC,WAAW,GAAG,KAAK;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capacitor-gleap-plugin",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "Gleap SDK for Capacitor is the easiest way to integrate Gleap into your Ionic apps! Achieve better app quality with comprehensive in-app bug reporting & customer feedback for your web-apps and websites. Many thanks to Stephan Nagel (congrapp) for his work on the Gleap capacitor plugin.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -35,32 +35,32 @@
|
|
|
35
35
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
36
36
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
37
37
|
"eslint": "eslint . --ext ts",
|
|
38
|
-
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
|
|
38
|
+
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
39
39
|
"swiftlint": "node-swiftlint",
|
|
40
40
|
"docgen": "docgen --api GleapPlugin --output-readme README.md --output-json dist/docs.json",
|
|
41
|
-
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.
|
|
41
|
+
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
|
|
42
42
|
"clean": "rimraf ./dist",
|
|
43
43
|
"watch": "tsc --watch",
|
|
44
44
|
"prepublishOnly": "npm run build"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@capacitor/android": "^
|
|
48
|
-
"@capacitor/core": "^
|
|
49
|
-
"@capacitor/docgen": "^0.0
|
|
50
|
-
"@capacitor/ios": "^
|
|
51
|
-
"@ionic/eslint-config": "^0.
|
|
52
|
-
"@ionic/prettier-config": "^
|
|
53
|
-
"@ionic/swiftlint-config": "^
|
|
54
|
-
"eslint": "^
|
|
55
|
-
"prettier": "
|
|
56
|
-
"prettier-plugin-java": "
|
|
57
|
-
"rimraf": "^
|
|
58
|
-
"rollup": "^
|
|
59
|
-
"swiftlint": "^
|
|
47
|
+
"@capacitor/android": "^7.0.0",
|
|
48
|
+
"@capacitor/core": "^7.0.0",
|
|
49
|
+
"@capacitor/docgen": "^0.3.0",
|
|
50
|
+
"@capacitor/ios": "^7.0.0",
|
|
51
|
+
"@ionic/eslint-config": "^0.4.0",
|
|
52
|
+
"@ionic/prettier-config": "^4.0.0",
|
|
53
|
+
"@ionic/swiftlint-config": "^2.0.0",
|
|
54
|
+
"eslint": "^8.57.0",
|
|
55
|
+
"prettier": "^3.4.2",
|
|
56
|
+
"prettier-plugin-java": "^2.6.6",
|
|
57
|
+
"rimraf": "^6.0.1",
|
|
58
|
+
"rollup": "^4.30.1",
|
|
59
|
+
"swiftlint": "^2.0.0",
|
|
60
60
|
"typescript": "~4.1.5"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@capacitor/core": "
|
|
63
|
+
"@capacitor/core": ">=7.0.0"
|
|
64
64
|
},
|
|
65
65
|
"prettier": "@ionic/prettier-config",
|
|
66
66
|
"swiftlint": "@ionic/swiftlint-config",
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"gleap": "14.
|
|
79
|
+
"gleap": "14.4.0"
|
|
80
80
|
}
|
|
81
81
|
}
|