@data-fair/lib-vue 1.15.1 → 1.15.2
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/package.json +1 -1
- package/session.js +1 -1
package/package.json
CHANGED
package/session.js
CHANGED
|
@@ -262,7 +262,7 @@ export async function getSession (initOptions) {
|
|
|
262
262
|
// immediately performs a keepalive, but only on top windows (not iframes or popups)
|
|
263
263
|
// and only if it was not done very recently (maybe from a refreshed page next to this one)
|
|
264
264
|
// also run an auto-refresh loop
|
|
265
|
-
if (!ssr && !inIframe) {
|
|
265
|
+
if (!ssr && !inIframe && !('triggerCapture' in window)) {
|
|
266
266
|
const lastKeepalive = window.localStorage.getItem('sd-keepalive' + options.sitePath)
|
|
267
267
|
// check cookies.get('id_token') not state.user so that we do a keepalive on expired id tokens
|
|
268
268
|
if (cookies.get('id_token') && (!lastKeepalive || (new Date().getTime() - Number(lastKeepalive)) > 10000)) {
|