bt-core-app 1.4.439 → 1.4.441

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.
@@ -8254,7 +8254,7 @@ function bx(e) {
8254
8254
  let b = l.value.token, T = !1;
8255
8255
  const D = e.getTokenTestUrl ?? (() => on(gu(), "test"));
8256
8256
  if (b != null) {
8257
- const N = await Rr().get({
8257
+ const N = await Rr().post({
8258
8258
  additionalUrl: D(b),
8259
8259
  data: {
8260
8260
  token: b
@@ -40350,6 +40350,7 @@ function FV(e) {
40350
40350
  const i = bx(e.auth);
40351
40351
  e.demo != null && ((v = e.demo).auth ?? (v.auth = i));
40352
40352
  const o = Jx(e.demo), s = px({
40353
+ ...e.api,
40353
40354
  auth: i,
40354
40355
  demo: o,
40355
40356
  findPath: l.findPath,
package/dist/index.d.ts CHANGED
@@ -374,6 +374,7 @@ export declare interface CreateAuthOptions {
374
374
  export declare function createCore(options: CreateCoreOptions): CoreApp;
375
375
 
376
376
  export declare interface CreateCoreOptions {
377
+ api?: UseApiOptions;
377
378
  auth: CreateAuthOptions;
378
379
  cosmetics?: UseCosmeticsOptions<BaseCosmeticTheme>;
379
380
  demo?: CreateDemoOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.439",
3
+ "version": "1.4.441",
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": {