@supatype/react 0.10.0 → 0.10.1

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,4 +1,4 @@
1
1
 
2
- > @supatype/react@0.10.0 build /home/runner/work/supatype/supatype/packages/react
2
+ > @supatype/react@0.10.1 build /home/runner/work/supatype/supatype/packages/react
3
3
  > tsc --project tsconfig.json
4
4
 
@@ -1,34 +1,32 @@
1
1
 
2
- > @supatype/react@0.10.0 test /home/runner/work/supatype/supatype/packages/react
2
+ > @supatype/react@0.10.1 test /home/runner/work/supatype/supatype/packages/react
3
3
  > vitest run --maxWorkers=50%
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /home/runner/work/supatype/supatype/packages/react
7
7
 
8
- ✓ tests/thrown-errors.test.tsx (5 tests) 284ms
9
- ✓ tests/useMutation-requests.test.tsx (16 tests) 889ms
10
- ✓ inserts the rows it is given and asks for none back  306ms
11
- ✓ tests/stable-callbacks.test.tsx (4 tests) 242ms
12
- ✓ tests/useChannel.test.tsx (5 tests) 702ms
13
- ✓ hands setup the channel and registers every listener it adds on one join  520ms
14
- ✓ tests/useQuery-race.test.tsx (4 tests) 61ms
15
- ✓ tests/useLivePreview-origin.test.tsx (6 tests) 179ms
16
- ✓ tests/useQuery-enabled.test.tsx (3 tests) 217ms
17
- ✓ tests/RichText.test.tsx (16 tests) 229ms
18
- ✓ tests/useAuth-redirect.test.tsx (2 tests) 401ms
19
- ✓ shows the user the URL signed in, and cleans the URL  375ms
20
- ✓ tests/useChannel-private.test.tsx (3 tests) 384ms
21
- ✓ tests/useAuth-sso.test.tsx (3 tests) 428ms
22
- ✓ starts SSO for an email domain and returns the identity provider's URL  392ms
23
- ✓ tests/useAuth-signup.test.tsx (1 test) 217ms
24
- ✓ tests/useSubscription-error.test.tsx (1 test) 188ms
25
- ✓ tests/useSubscription-schema.test.tsx (1 test) 406ms
26
- ✓ joins the table in public, as the docs' example is written  401ms
27
- ✓ tests/useSubscription-status.test.tsx (2 tests) 154ms
28
- ✓ tests/useChannel-typed-name.test.ts (1 test) 10ms
8
+ ✓ tests/thrown-errors.test.tsx (5 tests) 341ms
9
+ ✓ tests/useMutation-requests.test.tsx (16 tests) 569ms
10
+ ✓ tests/stable-callbacks.test.tsx (4 tests) 183ms
11
+ ✓ tests/useChannel.test.tsx (5 tests) 468ms
12
+ ✓ hands setup the channel and registers every listener it adds on one join  379ms
13
+ ✓ tests/useQuery-race.test.tsx (4 tests) 277ms
14
+ ✓ tests/useLivePreview-origin.test.tsx (6 tests) 51ms
15
+ ✓ tests/useQuery-enabled.test.tsx (3 tests) 156ms
16
+ ✓ tests/useAuth-redirect.test.tsx (2 tests) 368ms
17
+ ✓ shows the user the URL signed in, and cleans the URL  355ms
18
+ ✓ tests/RichText.test.tsx (16 tests) 61ms
19
+ ✓ tests/useChannel-private.test.tsx (3 tests) 382ms
20
+ ✓ tests/useAuth-sso.test.tsx (3 tests) 372ms
21
+ ✓ starts SSO for an email domain and returns the identity provider's URL  308ms
22
+ ✓ tests/useSubscription-error.test.tsx (1 test) 273ms
23
+ ✓ tests/useAuth-signup.test.tsx (1 test) 299ms
24
+ ✓ tests/useSubscription-status.test.tsx (2 tests) 254ms
25
+ ✓ tests/useSubscription-schema.test.tsx (1 test) 115ms
26
+ ✓ tests/useChannel-typed-name.test.ts (1 test) 8ms
29
27
 
30
28
   Test Files  16 passed (16)
31
29
   Tests  73 passed (73)
32
-  Start at  15:46:32
33
-  Duration  23.31s (transform 8.36s, setup 0ms, import 23.37s, tests 4.99s, environment 15ms)
30
+  Start at  11:13:46
31
+  Duration  19.85s (transform 7.59s, setup 0ms, import 21.02s, tests 4.18s, environment 7ms)
34
32
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @supatype/react@0.10.0 typecheck /home/runner/work/supatype/supatype/packages/react
2
+ > @supatype/react@0.10.1 typecheck /home/runner/work/supatype/supatype/packages/react
3
3
  > tsc --project tests/tsconfig.json --noEmit
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supatype/react",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "license": "MIT",
5
5
  "description": "Supatype React hooks: useAuth, useQuery, useMutation, SupatypeProvider",
6
6
  "type": "module",
@@ -13,8 +13,8 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@supatype/common": "0.10.0",
17
- "@supatype/client": "0.10.0"
16
+ "@supatype/client": "0.10.1",
17
+ "@supatype/common": "0.10.1"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "react": ">=18"