bt-core-app 2.0.144 → 2.0.146

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/index.d.ts CHANGED
@@ -689,7 +689,7 @@ export declare interface CreatePresetsOptions {
689
689
  presets?: any;
690
690
  }
691
691
 
692
- export declare function createPWA(): BTPWA;
692
+ export declare function createPWA(options: UsePWAOptions): BTPWA;
693
693
 
694
694
  export declare function createSessionStoreDefinition(options: UseSessionStoreOptions): BTStoreDefinition;
695
695
 
@@ -1984,7 +1984,7 @@ export declare interface UseCSVPropsReturn {
1984
1984
  loadingMsg: ComputedRef<string | undefined>;
1985
1985
  }
1986
1986
 
1987
- export declare function useCurrentEnv(): Environment;
1987
+ export declare function useCurrentEnv(curr?: CreateUrlOptions): Environment;
1988
1988
 
1989
1989
  /**
1990
1990
  *
@@ -2579,6 +2579,10 @@ export declare function usePresets(preset?: string): any;
2579
2579
 
2580
2580
  export declare function usePWA(): BTPWA;
2581
2581
 
2582
+ declare interface UsePWAOptions {
2583
+ urls: CreateUrlOptions;
2584
+ }
2585
+
2582
2586
  export declare function useRequirements(options?: UseRulesOptions): {
2583
2587
  rules: ((val: any) => string | boolean)[];
2584
2588
  isValid: (val: any) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.144",
3
+ "version": "2.0.146",
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": {