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.
@@ -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 g(h, M, w);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {
@@ -362,7 +362,7 @@ export function createAuth(options: CreateAuthOptions): BTAuth {
362
362
  }
363
363
  }
364
364
 
365
- return await getToken(code, state, redirect_path)
365
+ return await options.getToken()
366
366
  }
367
367
 
368
368
  /**if not demoing, then will decrypt the jwtToken and attempt to set credentials */