@asgard-js/core 0.0.22 → 0.0.23
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/dist/lib/create-sse-observable.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1419,6 +1419,11 @@ function Wt(n) {
|
|
|
1419
1419
|
headers: c,
|
|
1420
1420
|
body: r ? JSON.stringify(r) : void 0,
|
|
1421
1421
|
signal: s.signal,
|
|
1422
|
+
/**
|
|
1423
|
+
* Allow SSE to work when the page is hidden.
|
|
1424
|
+
* https://github.com/Azure/fetch-event-source/issues/17#issuecomment-1525904929
|
|
1425
|
+
*/
|
|
1426
|
+
openWhenHidden: !0,
|
|
1422
1427
|
onopen: async (f) => {
|
|
1423
1428
|
f.ok || (o.error(f), s.abort());
|
|
1424
1429
|
},
|