@stackframe/stack 2.7.6 → 2.7.8
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/CHANGELOG.md +20 -0
- package/dist/components-page/auth-page.js +11 -6
- package/dist/components-page/auth-page.js.map +1 -1
- package/dist/esm/components-page/auth-page.js +11 -6
- package/dist/esm/components-page/auth-page.js.map +1 -1
- package/dist/esm/generated/global-css.js +1 -1
- package/dist/esm/generated/global-css.js.map +1 -1
- package/dist/esm/lib/stack-app.js +2 -2
- package/dist/esm/lib/stack-app.js.map +1 -1
- package/dist/generated/global-css.d.mts +1 -1
- package/dist/generated/global-css.d.ts +1 -1
- package/dist/generated/global-css.js +1 -1
- package/dist/generated/global-css.js.map +1 -1
- package/dist/generated/quetzal-translations.d.mts +2 -2
- package/dist/generated/quetzal-translations.d.ts +2 -2
- package/dist/lib/stack-app.js +2 -2
- package/dist/lib/stack-app.js.map +1 -1
- package/package.json +11 -10
package/dist/lib/stack-app.js
CHANGED
|
@@ -64,7 +64,7 @@ var import_url = require("../utils/url");
|
|
|
64
64
|
var import_auth = require("./auth");
|
|
65
65
|
var import_cookie = require("./cookie");
|
|
66
66
|
var NextNavigation = (0, import_compile_time.scrambleDuringCompileTime)(NextNavigationUnscrambled);
|
|
67
|
-
var clientVersion = "js @stackframe/stack@2.7.
|
|
67
|
+
var clientVersion = "js @stackframe/stack@2.7.8";
|
|
68
68
|
function getUrls(partial) {
|
|
69
69
|
const handler = partial.handler ?? "/handler";
|
|
70
70
|
const home = partial.home ?? "/";
|
|
@@ -675,7 +675,7 @@ var _StackClientAppImpl = class __StackClientAppImpl {
|
|
|
675
675
|
_internalSession: session,
|
|
676
676
|
currentSession: {
|
|
677
677
|
async getTokens() {
|
|
678
|
-
const tokens = await session.
|
|
678
|
+
const tokens = await session.getOrFetchLikelyValidTokens(2e4);
|
|
679
679
|
return {
|
|
680
680
|
accessToken: tokens?.accessToken.token ?? null,
|
|
681
681
|
refreshToken: tokens?.refreshToken?.token ?? null
|