@dereekb/analytics 13.42.0 → 14.0.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/nestjs/index.esm.js +13 -35
- package/nestjs/package.json +11 -11
- package/package.json +9 -9
package/nestjs/index.esm.js
CHANGED
|
@@ -27,9 +27,7 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
function _class_call_check$4(instance, Constructor) {
|
|
30
|
-
if (!(instance instanceof Constructor))
|
|
31
|
-
throw new TypeError("Cannot call a class as a function");
|
|
32
|
-
}
|
|
30
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
33
31
|
}
|
|
34
32
|
function _defineProperties$3(target, props) {
|
|
35
33
|
for(var i = 0; i < props.length; i++){
|
|
@@ -52,9 +50,7 @@ function _define_property$3(obj, key, value) {
|
|
|
52
50
|
configurable: true,
|
|
53
51
|
writable: true
|
|
54
52
|
});
|
|
55
|
-
} else
|
|
56
|
-
obj[key] = value;
|
|
57
|
-
}
|
|
53
|
+
} else obj[key] = value;
|
|
58
54
|
return obj;
|
|
59
55
|
}
|
|
60
56
|
/**
|
|
@@ -104,11 +100,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
104
100
|
reject(error);
|
|
105
101
|
return;
|
|
106
102
|
}
|
|
107
|
-
if (info.done)
|
|
108
|
-
|
|
109
|
-
} else {
|
|
110
|
-
Promise.resolve(value).then(_next, _throw);
|
|
111
|
-
}
|
|
103
|
+
if (info.done) resolve(value);
|
|
104
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
112
105
|
}
|
|
113
106
|
function _async_to_generator(fn) {
|
|
114
107
|
return function() {
|
|
@@ -126,9 +119,7 @@ function _async_to_generator(fn) {
|
|
|
126
119
|
};
|
|
127
120
|
}
|
|
128
121
|
function _class_call_check$3(instance, Constructor) {
|
|
129
|
-
if (!(instance instanceof Constructor))
|
|
130
|
-
throw new TypeError("Cannot call a class as a function");
|
|
131
|
-
}
|
|
122
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
132
123
|
}
|
|
133
124
|
function _defineProperties$2(target, props) {
|
|
134
125
|
for(var i = 0; i < props.length; i++){
|
|
@@ -151,9 +142,7 @@ function _define_property$2(obj, key, value) {
|
|
|
151
142
|
configurable: true,
|
|
152
143
|
writable: true
|
|
153
144
|
});
|
|
154
|
-
} else
|
|
155
|
-
obj[key] = value;
|
|
156
|
-
}
|
|
145
|
+
} else obj[key] = value;
|
|
157
146
|
return obj;
|
|
158
147
|
}
|
|
159
148
|
function _ts_generator(thisArg, body) {
|
|
@@ -306,9 +295,7 @@ SegmentApi = __decorate([
|
|
|
306
295
|
], SegmentApi);
|
|
307
296
|
|
|
308
297
|
function _class_call_check$2(instance, Constructor) {
|
|
309
|
-
if (!(instance instanceof Constructor))
|
|
310
|
-
throw new TypeError("Cannot call a class as a function");
|
|
311
|
-
}
|
|
298
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
312
299
|
}
|
|
313
300
|
function _defineProperties$1(target, props) {
|
|
314
301
|
for(var i = 0; i < props.length; i++){
|
|
@@ -331,9 +318,7 @@ function _define_property$1(obj, key, value) {
|
|
|
331
318
|
configurable: true,
|
|
332
319
|
writable: true
|
|
333
320
|
});
|
|
334
|
-
} else
|
|
335
|
-
obj[key] = value;
|
|
336
|
-
}
|
|
321
|
+
} else obj[key] = value;
|
|
337
322
|
return obj;
|
|
338
323
|
}
|
|
339
324
|
function _object_spread(target) {
|
|
@@ -361,9 +346,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
361
346
|
}
|
|
362
347
|
function _object_spread_props(target, source) {
|
|
363
348
|
source = source != null ? source : {};
|
|
364
|
-
if (Object.getOwnPropertyDescriptors)
|
|
365
|
-
|
|
366
|
-
} else {
|
|
349
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
350
|
+
else {
|
|
367
351
|
ownKeys(Object(source)).forEach(function(key) {
|
|
368
352
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
369
353
|
});
|
|
@@ -484,9 +468,7 @@ SegmentService = __decorate([
|
|
|
484
468
|
], SegmentService);
|
|
485
469
|
|
|
486
470
|
function _class_call_check$1(instance, Constructor) {
|
|
487
|
-
if (!(instance instanceof Constructor))
|
|
488
|
-
throw new TypeError("Cannot call a class as a function");
|
|
489
|
-
}
|
|
471
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
490
472
|
}
|
|
491
473
|
/**
|
|
492
474
|
* Factory that creates a SegmentServiceConfig from environment variables.
|
|
@@ -545,9 +527,7 @@ SegmentServiceModule = __decorate([
|
|
|
545
527
|
], SegmentServiceModule);
|
|
546
528
|
|
|
547
529
|
function _class_call_check(instance, Constructor) {
|
|
548
|
-
if (!(instance instanceof Constructor))
|
|
549
|
-
throw new TypeError("Cannot call a class as a function");
|
|
550
|
-
}
|
|
530
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
551
531
|
}
|
|
552
532
|
function _defineProperties(target, props) {
|
|
553
533
|
for(var i = 0; i < props.length; i++){
|
|
@@ -570,9 +550,7 @@ function _define_property(obj, key, value) {
|
|
|
570
550
|
configurable: true,
|
|
571
551
|
writable: true
|
|
572
552
|
});
|
|
573
|
-
} else
|
|
574
|
-
obj[key] = value;
|
|
575
|
-
}
|
|
553
|
+
} else obj[key] = value;
|
|
576
554
|
return obj;
|
|
577
555
|
}
|
|
578
556
|
var ANALYTICS_INTERCEPTOR_METADATA_KEY = 'analyticsevent';
|
package/nestjs/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/analytics/nestjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@dereekb/analytics": "
|
|
7
|
-
"@dereekb/nestjs": "
|
|
8
|
-
"@dereekb/rxjs": "
|
|
9
|
-
"@dereekb/util": "
|
|
10
|
-
"@nestjs/common": "^
|
|
11
|
-
"@nestjs/config": "^
|
|
12
|
-
"@nestjs/core": "^
|
|
13
|
-
"@nestjs/event-emitter": "^
|
|
14
|
-
"@segment/analytics-node": "^
|
|
6
|
+
"@dereekb/analytics": "14.0.0",
|
|
7
|
+
"@dereekb/nestjs": "14.0.0",
|
|
8
|
+
"@dereekb/rxjs": "14.0.0",
|
|
9
|
+
"@dereekb/util": "14.0.0",
|
|
10
|
+
"@nestjs/common": "^12.0.1",
|
|
11
|
+
"@nestjs/config": "^12.0.0",
|
|
12
|
+
"@nestjs/core": "^12.0.1",
|
|
13
|
+
"@nestjs/event-emitter": "^12.0.0",
|
|
14
|
+
"@segment/analytics-node": "^3.1.0",
|
|
15
15
|
"rxjs": "^7.8.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@nestjs/testing": "^
|
|
18
|
+
"@nestjs/testing": "^12.0.1"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
"./package.json": "./package.json",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/analytics",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./nestjs": {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@dereekb/nestjs": "
|
|
20
|
-
"@dereekb/rxjs": "
|
|
21
|
-
"@dereekb/util": "
|
|
22
|
-
"@nestjs/common": "^
|
|
23
|
-
"@nestjs/config": "^
|
|
24
|
-
"@nestjs/core": "^
|
|
25
|
-
"@nestjs/event-emitter": "^
|
|
26
|
-
"@segment/analytics-node": "^
|
|
19
|
+
"@dereekb/nestjs": "14.0.0",
|
|
20
|
+
"@dereekb/rxjs": "14.0.0",
|
|
21
|
+
"@dereekb/util": "14.0.0",
|
|
22
|
+
"@nestjs/common": "^12.0.1",
|
|
23
|
+
"@nestjs/config": "^12.0.0",
|
|
24
|
+
"@nestjs/core": "^12.0.1",
|
|
25
|
+
"@nestjs/event-emitter": "^12.0.0",
|
|
26
|
+
"@segment/analytics-node": "^3.1.0",
|
|
27
27
|
"rxjs": "^7.8.2"
|
|
28
28
|
},
|
|
29
29
|
"module": "./index.esm.js",
|