@svadmin/supabase 0.21.1 → 0.21.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/supabase",
3
- "version": "0.21.1",
3
+ "version": "0.21.3",
4
4
  "description": "Supabase adapters — DataProvider, AuthProvider, LiveProvider, AuditHandler",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -36,7 +36,7 @@
36
36
  "migration": null
37
37
  },
38
38
  "peerDependencies": {
39
- "@svadmin/core": "^0.66.1",
39
+ "@svadmin/core": "^0.66.3",
40
40
  "@supabase/supabase-js": "^2.112.4",
41
41
  "@refinedev/supabase": "^6.0.2",
42
42
  "@supacloud/js": "^0.33.0 || ^0.34.0 || ^0.36.0"
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "typebox": "^1.3.34",
71
- "@svadmin/refine-adapter": "^0.12.12"
71
+ "@svadmin/refine-adapter": "^0.12.14"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@supacloud/js": "0.33.0",
@@ -149,7 +149,7 @@ export async function authRequest<S extends TSchema>(
149
149
  : phase === 'session' ? 'INVALID_AUTH_SESSION' : 'INVALID_AUTH_RESPONSE');
150
150
  }
151
151
  if (error !== null) {
152
- if (typeof error !== 'object' || error === null) {
152
+ if (typeof error !== 'object') {
153
153
  throw new SupabaseAuthError(write ? 'WRITE_OUTCOME_UNKNOWN'
154
154
  : phase === 'session' ? 'INVALID_AUTH_SESSION' : 'INVALID_AUTH_RESPONSE');
155
155
  }