bt-core-app 1.3.1 → 1.3.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/dist/bt-core-app.js +1 -1
- package/package.json +1 -1
- package/src/composables/auth.ts +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -18089,7 +18089,7 @@ function r_(e) {
|
|
|
18089
18089
|
body: JSON.stringify(Y)
|
|
18090
18090
|
})).json();
|
|
18091
18091
|
p((_ = K.value) == null ? void 0 : _.access_token), F ? window.location.href = F : Ao().push({ name: "home" });
|
|
18092
|
-
}), await
|
|
18092
|
+
}), await e.getToken();
|
|
18093
18093
|
}
|
|
18094
18094
|
function p(h) {
|
|
18095
18095
|
if (h != null && (e.demo == null || !e.demo.isDemoing.value)) {
|
package/package.json
CHANGED
package/src/composables/auth.ts
CHANGED
|
@@ -362,7 +362,7 @@ export function createAuth(options: CreateAuthOptions): BTAuth {
|
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
return await getToken(
|
|
365
|
+
return await options.getToken()
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
/**if not demoing, then will decrypt the jwtToken and attempt to set credentials */
|