@ninetailed/experience.js 7.8.0 → 7.8.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/index.cjs.js
CHANGED
|
@@ -214,7 +214,7 @@ class NinetailedCorePlugin extends experience_jsPluginAnalytics.NinetailedAnalyt
|
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
pageStart(params) {
|
|
217
|
-
return
|
|
217
|
+
return NinetailedCorePlugin.abortNonClientEvents(params);
|
|
218
218
|
}
|
|
219
219
|
page({
|
|
220
220
|
payload
|
|
@@ -231,7 +231,7 @@ class NinetailedCorePlugin extends experience_jsPluginAnalytics.NinetailedAnalyt
|
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
trackStart(params) {
|
|
234
|
-
return
|
|
234
|
+
return NinetailedCorePlugin.abortNonClientEvents(params);
|
|
235
235
|
}
|
|
236
236
|
track({
|
|
237
237
|
payload
|
|
@@ -249,7 +249,7 @@ class NinetailedCorePlugin extends experience_jsPluginAnalytics.NinetailedAnalyt
|
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
identifyStart(params) {
|
|
252
|
-
return
|
|
252
|
+
return NinetailedCorePlugin.abortNonClientEvents(params);
|
|
253
253
|
}
|
|
254
254
|
identify({
|
|
255
255
|
payload
|
|
@@ -301,7 +301,7 @@ class NinetailedCorePlugin extends experience_jsPluginAnalytics.NinetailedAnalyt
|
|
|
301
301
|
this.queue = experience_jsShared.unionBy([event], this.queue, 'messageId');
|
|
302
302
|
});
|
|
303
303
|
}
|
|
304
|
-
abortNonClientEvents({
|
|
304
|
+
static abortNonClientEvents({
|
|
305
305
|
abort,
|
|
306
306
|
payload
|
|
307
307
|
}) {
|
package/index.esm.js
CHANGED
|
@@ -175,7 +175,7 @@ class NinetailedCorePlugin extends NinetailedAnalyticsPlugin {
|
|
|
175
175
|
logger.debug('Ninetailed Core plugin initialized.');
|
|
176
176
|
}
|
|
177
177
|
pageStart(params) {
|
|
178
|
-
return
|
|
178
|
+
return NinetailedCorePlugin.abortNonClientEvents(params);
|
|
179
179
|
}
|
|
180
180
|
async page({
|
|
181
181
|
payload
|
|
@@ -190,7 +190,7 @@ class NinetailedCorePlugin extends NinetailedAnalyticsPlugin {
|
|
|
190
190
|
}));
|
|
191
191
|
}
|
|
192
192
|
trackStart(params) {
|
|
193
|
-
return
|
|
193
|
+
return NinetailedCorePlugin.abortNonClientEvents(params);
|
|
194
194
|
}
|
|
195
195
|
async track({
|
|
196
196
|
payload
|
|
@@ -206,7 +206,7 @@ class NinetailedCorePlugin extends NinetailedAnalyticsPlugin {
|
|
|
206
206
|
}));
|
|
207
207
|
}
|
|
208
208
|
identifyStart(params) {
|
|
209
|
-
return
|
|
209
|
+
return NinetailedCorePlugin.abortNonClientEvents(params);
|
|
210
210
|
}
|
|
211
211
|
async identify({
|
|
212
212
|
payload
|
|
@@ -252,7 +252,7 @@ class NinetailedCorePlugin extends NinetailedAnalyticsPlugin {
|
|
|
252
252
|
async enqueueEvent(event) {
|
|
253
253
|
this.queue = unionBy([event], this.queue, 'messageId');
|
|
254
254
|
}
|
|
255
|
-
abortNonClientEvents({
|
|
255
|
+
static abortNonClientEvents({
|
|
256
256
|
abort,
|
|
257
257
|
payload
|
|
258
258
|
}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js",
|
|
3
|
-
"version": "7.8.
|
|
3
|
+
"version": "7.8.1",
|
|
4
4
|
"description": "Ninetailed SDK for javascript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"directory": "packages/sdks/javascript"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@ninetailed/experience.js-plugin-analytics": "7.8.
|
|
13
|
-
"@ninetailed/experience.js-shared": "7.8.
|
|
12
|
+
"@ninetailed/experience.js-plugin-analytics": "7.8.1",
|
|
13
|
+
"@ninetailed/experience.js-shared": "7.8.1",
|
|
14
14
|
"analytics": "0.8.1",
|
|
15
15
|
"uuid": "9.0.0"
|
|
16
16
|
},
|
|
@@ -62,7 +62,7 @@ export declare class NinetailedCorePlugin extends NinetailedAnalyticsPlugin impl
|
|
|
62
62
|
debug: (...args: any[]) => Promise<void>;
|
|
63
63
|
};
|
|
64
64
|
private enqueueEvent;
|
|
65
|
-
private abortNonClientEvents;
|
|
65
|
+
private static abortNonClientEvents;
|
|
66
66
|
private get instance();
|
|
67
67
|
flush: (args: void) => Promise<FlushResult>;
|
|
68
68
|
private _flush;
|