@supabase/supabase-js 2.87.2-canary.0 → 2.87.3-canary.0

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,22 +1,94 @@
1
- // Direct package re-exports - these work correctly in:
2
- // - Node.js (resolves via node_modules)
3
- // - jsDelivr (bundles with named exports)
4
- // - esm.sh (bundles correctly)
5
- // - Bundlers (webpack, vite, etc.)
6
- export * from '@supabase/auth-js'
7
- export { PostgrestError } from '@supabase/postgrest-js'
8
- export {
1
+ import * as index from '../module/index.js'
2
+ const {
3
+ PostgrestError,
9
4
  FunctionsHttpError,
10
5
  FunctionsFetchError,
11
6
  FunctionsRelayError,
12
7
  FunctionsError,
13
8
  FunctionRegion,
14
- } from '@supabase/functions-js'
15
- export * from '@supabase/realtime-js'
9
+ SupabaseClient,
10
+ createClient,
11
+ GoTrueAdminApi,
12
+ GoTrueClient,
13
+ AuthAdminApi,
14
+ AuthClient,
15
+ navigatorLock,
16
+ NavigatorLockAcquireTimeoutError,
17
+ lockInternals,
18
+ processLock,
19
+ SIGN_OUT_SCOPES,
20
+ AuthError,
21
+ AuthApiError,
22
+ AuthUnknownError,
23
+ CustomAuthError,
24
+ AuthSessionMissingError,
25
+ AuthInvalidTokenResponseError,
26
+ AuthInvalidCredentialsError,
27
+ AuthImplicitGrantRedirectError,
28
+ AuthPKCEGrantCodeExchangeError,
29
+ AuthRetryableFetchError,
30
+ AuthWeakPasswordError,
31
+ AuthInvalidJwtError,
32
+ isAuthError,
33
+ isAuthApiError,
34
+ isAuthSessionMissingError,
35
+ isAuthImplicitGrantRedirectError,
36
+ isAuthRetryableFetchError,
37
+ isAuthWeakPasswordError,
38
+ RealtimePresence,
39
+ RealtimeChannel,
40
+ RealtimeClient,
41
+ REALTIME_LISTEN_TYPES,
42
+ REALTIME_POSTGRES_CHANGES_LISTEN_EVENT,
43
+ REALTIME_PRESENCE_LISTEN_EVENTS,
44
+ REALTIME_SUBSCRIBE_STATES,
45
+ REALTIME_CHANNEL_STATES,
46
+ } = index.default || index
16
47
 
17
- // Local exports from CJS build (Node.js can import CJS from ESM)
18
- import main from '../main/index.js'
19
- export const { SupabaseClient, createClient } = main
48
+ export {
49
+ PostgrestError,
50
+ FunctionsHttpError,
51
+ FunctionsFetchError,
52
+ FunctionsRelayError,
53
+ FunctionsError,
54
+ FunctionRegion,
55
+ SupabaseClient,
56
+ createClient,
57
+ GoTrueAdminApi,
58
+ GoTrueClient,
59
+ AuthAdminApi,
60
+ AuthClient,
61
+ navigatorLock,
62
+ NavigatorLockAcquireTimeoutError,
63
+ lockInternals,
64
+ processLock,
65
+ SIGN_OUT_SCOPES,
66
+ AuthError,
67
+ AuthApiError,
68
+ AuthUnknownError,
69
+ CustomAuthError,
70
+ AuthSessionMissingError,
71
+ AuthInvalidTokenResponseError,
72
+ AuthInvalidCredentialsError,
73
+ AuthImplicitGrantRedirectError,
74
+ AuthPKCEGrantCodeExchangeError,
75
+ AuthRetryableFetchError,
76
+ AuthWeakPasswordError,
77
+ AuthInvalidJwtError,
78
+ isAuthError,
79
+ isAuthApiError,
80
+ isAuthSessionMissingError,
81
+ isAuthImplicitGrantRedirectError,
82
+ isAuthRetryableFetchError,
83
+ isAuthWeakPasswordError,
84
+ RealtimePresence,
85
+ RealtimeChannel,
86
+ RealtimeClient,
87
+ REALTIME_LISTEN_TYPES,
88
+ REALTIME_POSTGRES_CHANGES_LISTEN_EVENT,
89
+ REALTIME_PRESENCE_LISTEN_EVENTS,
90
+ REALTIME_SUBSCRIBE_STATES,
91
+ REALTIME_CHANNEL_STATES,
92
+ }
20
93
 
21
- // Default export
22
- export default main
94
+ export default index.default || index
@@ -1,2 +1,2 @@
1
- export declare const version = "2.87.2-canary.0";
1
+ export declare const version = "2.87.3-canary.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -7,5 +7,5 @@ exports.version = void 0;
7
7
  // - Debugging and support (identifying which version is running)
8
8
  // - Telemetry and logging (version reporting in errors/analytics)
9
9
  // - Ensuring build artifacts match the published package version
10
- exports.version = '2.87.2-canary.0';
10
+ exports.version = '2.87.3-canary.0';
11
11
  //# sourceMappingURL=version.js.map
@@ -2,10 +2,10 @@ import { FunctionsClient } from '@supabase/functions-js';
2
2
  import { PostgrestClient, } from '@supabase/postgrest-js';
3
3
  import { RealtimeClient, } from '@supabase/realtime-js';
4
4
  import { StorageClient as SupabaseStorageClient } from '@supabase/storage-js';
5
- import { DEFAULT_AUTH_OPTIONS, DEFAULT_DB_OPTIONS, DEFAULT_GLOBAL_OPTIONS, DEFAULT_REALTIME_OPTIONS, } from './lib/constants';
6
- import { fetchWithAuth } from './lib/fetch';
7
- import { applySettingDefaults, validateSupabaseUrl } from './lib/helpers';
8
- import { SupabaseAuthClient } from './lib/SupabaseAuthClient';
5
+ import { DEFAULT_AUTH_OPTIONS, DEFAULT_DB_OPTIONS, DEFAULT_GLOBAL_OPTIONS, DEFAULT_REALTIME_OPTIONS, } from './lib/constants.js';
6
+ import { fetchWithAuth } from './lib/fetch.js';
7
+ import { applySettingDefaults, validateSupabaseUrl } from './lib/helpers.js';
8
+ import { SupabaseAuthClient } from './lib/SupabaseAuthClient.js';
9
9
  /**
10
10
  * Supabase Client.
11
11
  *
@@ -1,9 +1,9 @@
1
- import SupabaseClient from './SupabaseClient';
1
+ import SupabaseClient from './SupabaseClient.js';
2
2
  export * from '@supabase/auth-js';
3
3
  export { PostgrestError, } from '@supabase/postgrest-js';
4
4
  export { FunctionsHttpError, FunctionsFetchError, FunctionsRelayError, FunctionsError, FunctionRegion, } from '@supabase/functions-js';
5
5
  export * from '@supabase/realtime-js';
6
- export { default as SupabaseClient } from './SupabaseClient';
6
+ export { default as SupabaseClient } from './SupabaseClient.js';
7
7
  /**
8
8
  * Creates a new Supabase Client.
9
9
  *
@@ -1,4 +1,4 @@
1
- import { version } from './version';
1
+ import { version } from './version.js';
2
2
  let JS_ENV = '';
3
3
  // @ts-ignore
4
4
  if (typeof Deno !== 'undefined') {
@@ -1,2 +1,2 @@
1
- export declare const version = "2.87.2-canary.0";
1
+ export declare const version = "2.87.3-canary.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -4,5 +4,5 @@
4
4
  // - Debugging and support (identifying which version is running)
5
5
  // - Telemetry and logging (version reporting in errors/analytics)
6
6
  // - Ensuring build artifacts match the published package version
7
- export const version = '2.87.2-canary.0';
7
+ export const version = '2.87.3-canary.0';
8
8
  //# sourceMappingURL=version.js.map