proto-daisy-ui 0.0.42 → 0.0.43

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.
@@ -1,7 +1,4 @@
1
- import { AppStore } from './types';
2
- declare const asyncBag: {
3
- get: () => Promise<AppStore>;
4
- store: (state: AppStore) => Promise<void>;
5
- };
1
+ import { AppDB } from './types';
2
+ declare const asyncBag: AppDB;
6
3
  export { asyncBag };
7
4
  export default asyncBag;
@@ -1,7 +1,4 @@
1
- import { AppStore } from './types';
2
- declare const bag: {
3
- get: () => Promise<AppStore>;
4
- store: (state: AppStore) => void;
5
- };
1
+ import { AppDB } from './types';
2
+ declare const bag: AppDB;
6
3
  export { bag };
7
4
  export default bag;
@@ -23,8 +23,12 @@ interface AppStore {
23
23
  themes: Array<string>;
24
24
  dealers: Array<Dealer>;
25
25
  }
26
+ interface AppDB {
27
+ get: () => Promise<AppStore>;
28
+ store: (state: AppStore) => void;
29
+ }
26
30
  interface DialProps {
27
31
  value: number;
28
32
  ref: Function;
29
33
  }
30
- export type { People, Stats, Dealer, AppStore, DialProps };
34
+ export type { People, Stats, Dealer, AppStore, AppDB, DialProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-daisy-ui",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",