bt-core-app 1.4.22 → 1.4.23

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
@@ -1116,7 +1116,13 @@ export declare function useLocalCache(): {
1116
1116
  saveAsync: <T_1>(data: T_1, key: string) => Promise<void>;
1117
1117
  };
1118
1118
 
1119
- export declare function useLocalCosmetics(): any;
1119
+ declare interface UseLocalCosmeticOptions {
1120
+ defaultTheme?: string;
1121
+ dark?: BaseCosmeticTheme;
1122
+ light?: BaseCosmeticTheme;
1123
+ }
1124
+
1125
+ export declare function useLocalCosmetics(options?: UseLocalCosmeticOptions): CosmeticData;
1120
1126
 
1121
1127
  export declare function useLocalDb(): LocalForage;
1122
1128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.22",
3
+ "version": "1.4.23",
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": {