@sumaris-net/ngx-components 1.9.6 → 1.9.7
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/bundles/sumaris-net.ngx-components.umd.js +4 -3
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/services/account.service.js +2 -2
- package/esm2015/src/environments/environment.class.js +1 -1
- package/esm2015/src/environments/environment.js +4 -3
- package/fesm2015/sumaris-net.ngx-components.js +4 -3
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/account.service.d.ts +1 -1
- package/src/environments/environment.class.d.ts +2 -1
|
@@ -10669,10 +10669,11 @@
|
|
|
10669
10669
|
},
|
|
10670
10670
|
account: {
|
|
10671
10671
|
enableListenChanges: true,
|
|
10672
|
-
|
|
10672
|
+
listenIntervalInSeconds: 30
|
|
10673
10673
|
},
|
|
10674
10674
|
entityEditor: {
|
|
10675
|
-
enableListenChanges:
|
|
10675
|
+
enableListenChanges: true,
|
|
10676
|
+
listenIntervalInSeconds: 30
|
|
10676
10677
|
}
|
|
10677
10678
|
});
|
|
10678
10679
|
|
|
@@ -16645,7 +16646,7 @@
|
|
|
16645
16646
|
if (this.network.offline)
|
|
16646
16647
|
throw new Error('Cannot watch account changes: network is offline.');
|
|
16647
16648
|
var variables = {
|
|
16648
|
-
interval: Math.max(0, (opts === null || opts === void 0 ? void 0 : opts.
|
|
16649
|
+
interval: Math.max(0, (opts === null || opts === void 0 ? void 0 : opts.intervalInSeconds) || ((_a = this.environment.account) === null || _a === void 0 ? void 0 : _a.listenIntervalInSeconds) || 0)
|
|
16649
16650
|
};
|
|
16650
16651
|
console.debug("[account] Watching remote changes, every " + variables.interval + "s");
|
|
16651
16652
|
return this.graphql.subscribe({
|