@basictech/react 0.2.0-beta.1 → 0.2.0-beta.11

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,6 +1,6 @@
1
1
 
2
2
  
3
- > @basictech/react@1.1.0 build
3
+ > @basictech/react@0.2.0-beta.10 build
4
4
  > tsup
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,13 +11,13 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- CJS dist/index.js 8.50 KB
15
- CJS dist/index.js.map 15.26 KB
16
- CJS ⚡️ Build success in 21ms
17
- ESM dist/index.mjs 7.26 KB
18
- ESM dist/index.mjs.map 15.11 KB
19
- ESM ⚡️ Build success in 21ms
14
+ ESM dist/index.mjs 22.39 KB
15
+ ESM dist/index.mjs.map 51.69 KB
16
+ ESM ⚡️ Build success in 31ms
17
+ CJS dist/index.js 24.60 KB
18
+ CJS dist/index.js.map 51.73 KB
19
+ CJS ⚡️ Build success in 31ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 1165ms
22
- DTS dist/index.d.ts 689.00 B
23
- DTS dist/index.d.mts 689.00 B
21
+ DTS ⚡️ Build success in 1194ms
22
+ DTS dist/index.d.ts 1006.00 B
23
+ DTS dist/index.d.mts 1006.00 B
package/changelog.md CHANGED
@@ -1,5 +1,80 @@
1
1
  # 1.3.4
2
2
 
3
+ ## 0.2.0-beta.11
4
+
5
+ ### Minor Changes
6
+
7
+ - update schema validation
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @basictech/schema@0.1.0-beta.1
13
+
14
+ ## 0.2.0-beta.10
15
+
16
+ ### Minor Changes
17
+
18
+ - added schema package - test
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+ - @basictech/schema@0.1.0-beta.0
24
+
25
+ ## 0.2.0-beta.9
26
+
27
+ ### Minor Changes
28
+
29
+ - add schema validation
30
+
31
+ ## 0.2.0-beta.8
32
+
33
+ ### Minor Changes
34
+
35
+ - changed isLoaded to isAuthReady and fixed dbStatus hooks for useBasic
36
+
37
+ ## 0.2.0-beta.7
38
+
39
+ ### Minor Changes
40
+
41
+ - update useQuery hook
42
+
43
+ - no need to pass param as a function, can now enter query directly
44
+ - defaults to empty array when loading
45
+
46
+ ## 0.2.0-beta.6
47
+
48
+ ### Minor Changes
49
+
50
+ - add debug option
51
+
52
+ ## 0.2.0-beta.5
53
+
54
+ ### Minor Changes
55
+
56
+ - schema validation bugfix
57
+
58
+ ## 0.2.0-beta.4
59
+
60
+ ### Minor Changes
61
+
62
+ - add schema validation
63
+
64
+ ## 0.2.0-beta.3
65
+
66
+ ### Minor Changes
67
+
68
+ - remove sync lib
69
+ - 4841960: test build
70
+ - remove sync library
71
+
72
+ ## 0.2.0-beta.2
73
+
74
+ ### Minor Changes
75
+
76
+ - rebuild tsup
77
+
3
78
  ## 0.2.0-beta.1
4
79
 
5
80
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -19,14 +19,15 @@ type User = {
19
19
  };
20
20
  fullName?: string;
21
21
  };
22
- declare function BasicProvider({ children, project_id, schema }: {
22
+ declare function BasicProvider({ children, project_id, schema, debug }: {
23
23
  children: React.ReactNode;
24
24
  project_id: string;
25
25
  schema: any;
26
+ debug?: boolean;
26
27
  }): react_jsx_runtime.JSX.Element;
27
28
  declare function useBasic(): {
28
29
  unicorn: string;
29
- isLoaded: boolean;
30
+ isAuthReady: boolean;
30
31
  isSignedIn: boolean;
31
32
  user: User | null;
32
33
  signout: () => void;
package/dist/index.d.ts CHANGED
@@ -19,14 +19,15 @@ type User = {
19
19
  };
20
20
  fullName?: string;
21
21
  };
22
- declare function BasicProvider({ children, project_id, schema }: {
22
+ declare function BasicProvider({ children, project_id, schema, debug }: {
23
23
  children: React.ReactNode;
24
24
  project_id: string;
25
25
  schema: any;
26
+ debug?: boolean;
26
27
  }): react_jsx_runtime.JSX.Element;
27
28
  declare function useBasic(): {
28
29
  unicorn: string;
29
- isLoaded: boolean;
30
+ isAuthReady: boolean;
30
31
  isSignedIn: boolean;
31
32
  user: User | null;
32
33
  signout: () => void;