ets-fe-ng-sdk 20.3.26 → 20.3.28
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/fesm2022/ets-fe-ng-sdk.mjs +1 -1
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/index.d.ts +14 -14
- package/package.json +1 -1
|
@@ -1936,7 +1936,7 @@ class UserActivityService {
|
|
|
1936
1936
|
this.activities = signal([], ...(ngDevMode ? [{ debugName: "activities" }] : []));
|
|
1937
1937
|
this.allowLogging = computed(() => environment.production || environment.logActivities, ...(ngDevMode ? [{ debugName: "allowLogging" }] : []));
|
|
1938
1938
|
this.newActivity
|
|
1939
|
-
.pipe(filter(() => this.allowLogging() && this.activities()?.length > 0
|
|
1939
|
+
.pipe(filter(() => this.allowLogging() && this.activities()?.length > 0), debounceTime(1000))
|
|
1940
1940
|
.subscribe(() => {
|
|
1941
1941
|
const activities = clone(this.activities());
|
|
1942
1942
|
this.activities.set([]);
|