@genesislcap/foundation-comms 14.303.3 → 14.304.1-alpha-6ea217d.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.
|
@@ -264,8 +264,8 @@ let DefaultDatasource = class DefaultDatasource {
|
|
|
264
264
|
: this.allResourceParams.POLLING_INTERVAL;
|
|
265
265
|
const fetchSnapshot$ = () => combineLatest([this.connect.isConnected$, this.auth.isLoggedIn$]).pipe(takeWhile(() => this.connect.isConnected && this.auth.isLoggedIn), switchMap(() => from(this.snapshot())));
|
|
266
266
|
if (!pollInterval) {
|
|
267
|
-
// Only manual polls will trigger
|
|
268
|
-
return this.pollTrigger$.pipe(switchMap(fetchSnapshot$));
|
|
267
|
+
// Only manual polls will trigger, but emit an initial snapshot once
|
|
268
|
+
return this.pollTrigger$.pipe(startWith(0), switchMap(fetchSnapshot$));
|
|
269
269
|
}
|
|
270
270
|
// When polling is enabled, reset the timer on every manual poll
|
|
271
271
|
return this.pollTrigger$.pipe(startWith(0), switchMap(() => timer(0, pollInterval).pipe(switchMap(fetchSnapshot$))));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-comms",
|
|
3
3
|
"description": "Genesis Foundation UI Comms",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.304.1-alpha-6ea217d.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -75,23 +75,23 @@
|
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@genesislcap/foundation-testing": "14.
|
|
79
|
-
"@genesislcap/genx": "14.
|
|
80
|
-
"@genesislcap/rollup-builder": "14.
|
|
81
|
-
"@genesislcap/ts-builder": "14.
|
|
82
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
83
|
-
"@genesislcap/vite-builder": "14.
|
|
84
|
-
"@genesislcap/webpack-builder": "14.
|
|
78
|
+
"@genesislcap/foundation-testing": "14.304.1-alpha-6ea217d.0",
|
|
79
|
+
"@genesislcap/genx": "14.304.1-alpha-6ea217d.0",
|
|
80
|
+
"@genesislcap/rollup-builder": "14.304.1-alpha-6ea217d.0",
|
|
81
|
+
"@genesislcap/ts-builder": "14.304.1-alpha-6ea217d.0",
|
|
82
|
+
"@genesislcap/uvu-playwright-builder": "14.304.1-alpha-6ea217d.0",
|
|
83
|
+
"@genesislcap/vite-builder": "14.304.1-alpha-6ea217d.0",
|
|
84
|
+
"@genesislcap/webpack-builder": "14.304.1-alpha-6ea217d.0",
|
|
85
85
|
"@types/js-cookie": "^3.0.2",
|
|
86
86
|
"@types/json-schema": "^7.0.11",
|
|
87
87
|
"@types/webappsec-credential-management": "^0.6.2",
|
|
88
88
|
"sinon": "^17.0.1"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@genesislcap/foundation-broadcast-channel": "14.
|
|
92
|
-
"@genesislcap/foundation-logger": "14.
|
|
93
|
-
"@genesislcap/foundation-user": "14.
|
|
94
|
-
"@genesislcap/foundation-utils": "14.
|
|
91
|
+
"@genesislcap/foundation-broadcast-channel": "14.304.1-alpha-6ea217d.0",
|
|
92
|
+
"@genesislcap/foundation-logger": "14.304.1-alpha-6ea217d.0",
|
|
93
|
+
"@genesislcap/foundation-user": "14.304.1-alpha-6ea217d.0",
|
|
94
|
+
"@genesislcap/foundation-utils": "14.304.1-alpha-6ea217d.0",
|
|
95
95
|
"@microsoft/fast-element": "1.14.0",
|
|
96
96
|
"@microsoft/fast-foundation": "2.49.6",
|
|
97
97
|
"analytics": "0.8.16",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"publishConfig": {
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "08c4dbc9dfdf45fadd450025440b8a395578e811"
|
|
114
114
|
}
|