@depup/supabase__supabase-js 2.99.2-depup.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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/lib/rest/types/common/common.ts","../src/lib/types.ts","../src/lib/SupabaseAuthClient.ts","../src/lib/rest/types/common/rpc.ts","../src/SupabaseClient.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAcY,mBAAA;EAAA,cAAA,EAAA,MAAmB;EAQnB,OAAA,EAAA,MAAY,EAAA;EACjB,UAAA,CAAA,EAAA,OAAA;EACG,kBAAA,EAAA,MAAA;EACA,iBAAA,EAAA,MAAA,EAAA;CACO;AAAmB,KAJxB,YAAA,GAIwB;EAGxB,GAAA,EANL,MAMK,CAAA,MAAA,EAAA,OAAoB,CAAA;EACzB,MAAA,EANG,MAMH,CAAA,MAAA,EAAA,OAAA,CAAA;EACG,MAAA,EANA,MAMA,CAAA,MAAA,EAAA,OAAA,CAAA;EACA,aAAA,EANO,mBAMP,EAAA;CACO;AAAmB,KAJxB,oBAAA,GAIwB;EAGxB,GAAA,EANL,MAMK,CAAA,MAAA,EAAA,OAAuB,CAAA;EAKvB,MAAA,EAVF,MAUa,CAAA,MAAA,EAAA,OAAG,CAAA;EAEd,MAAA,EAXF,MAWE,CAAA,MAAkB,EAAA,OAAA,CAAA;EAQlB,aAAA,EAlBK,mBAmBT,EAAA;AAKR,CAAA;AACyB,KAtBb,uBAAA,GAsBa;EAAf,GAAA,EArBH,MAqBG,CAAA,MAAA,EAAA,OAAA,CAAA;EACc,aAAA,EArBP,mBAqBO,EAAA;CAAf;AACmB,KAnBhB,WAAA,GAAc,oBAmBE,GAnBqB,uBAmBrB;AAAf,KAjBD,kBAAA,GAiBC;EAAM,aAAA,CAAA,EAAA,OAAA,GAAA,SAAA;;;;ECrCF,IAAA,EAAA,MAAA;AAEjB,CAAA;AAEY,KDwBA,eAAA,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abase/functions-js";
2
+ import { PostgrestClient, PostgrestError, PostgrestError as PostgrestError$1, PostgrestFilterBuilder, PostgrestMaybeSingleResponse, PostgrestQueryBuilder, PostgrestResponse, PostgrestSingleResponse } from "@supabase/postgrest-js";
3
+ import { RealtimeChannel, RealtimeChannelOptions, RealtimeClient, RealtimeClientOptions } from "@supabase/realtime-js";
4
+ import { StorageClient, StorageClientOptions } from "@supabase/storage-js";
5
+ import { AuthClient, GoTrueClientOptions, Session as AuthSession, User as AuthUser } from "@supabase/auth-js";
6
+ export * from "@supabase/realtime-js";
7
+ export * from "@supabase/auth-js";
8
+
9
+ //#region src/lib/rest/types/common/common.d.ts
10
+ type GenericRelationship = {
11
+ foreignKeyName: string;
12
+ columns: string[];
13
+ isOneToOne?: boolean;
14
+ referencedRelation: string;
15
+ referencedColumns: string[];
16
+ };
17
+ type GenericTable = {
18
+ Row: Record<string, unknown>;
19
+ Insert: Record<string, unknown>;
20
+ Update: Record<string, unknown>;
21
+ Relationships: GenericRelationship[];
22
+ };
23
+ type GenericUpdatableView = {
24
+ Row: Record<string, unknown>;
25
+ Insert: Record<string, unknown>;
26
+ Update: Record<string, unknown>;
27
+ Relationships: GenericRelationship[];
28
+ };
29
+ type GenericNonUpdatableView = {
30
+ Row: Record<string, unknown>;
31
+ Relationships: GenericRelationship[];
32
+ };
33
+ type GenericView = GenericUpdatableView | GenericNonUpdatableView;
34
+ type GenericSetofOption = {
35
+ isSetofReturn?: boolean | undefined;
36
+ isOneToOne?: boolean | undefined;
37
+ isNotNullable?: boolean | undefined;
38
+ to: string;
39
+ from: string;
40
+ };
41
+ type GenericFunction = {
42
+ Args: Record<string, unknown> | never;
43
+ Returns: unknown;
44
+ SetofOptions?: GenericSetofOption;
45
+ };
46
+ type GenericSchema = {
47
+ Tables: Record<string, GenericTable>;
48
+ Views: Record<string, GenericView>;
49
+ Functions: Record<string, GenericFunction>;
50
+ };
51
+ //#endregion
52
+ //#region src/lib/types.d.ts
53
+ interface SupabaseAuthClientOptions extends GoTrueClientOptions {}
54
+ type Fetch = typeof fetch;
55
+ type SupabaseClientOptions<SchemaName> = {
56
+ /**
57
+ * The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to `public`.
58
+ */
59
+ db?: {
60
+ schema?: SchemaName;
61
+ /**
62
+ * Optional timeout in milliseconds for PostgREST requests.
63
+ * When set, requests will automatically abort after this duration to prevent indefinite hangs.
64
+ *
65
+ * @example
66
+ * ```ts
67
+ * const supabase = createClient(url, key, {
68
+ * db: { timeout: 30000 } // 30 second timeout
69
+ * })
70
+ * ```
71
+ */
72
+ timeout?: number;
73
+ /**
74
+ * Maximum URL length in characters before warnings/errors are triggered.
75
+ * Defaults to 8000 characters. Used to provide helpful hints when URLs
76
+ * exceed server limits.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const supabase = createClient(url, key, {
81
+ * db: { urlLengthLimit: 10000 } // Custom limit
82
+ * })
83
+ * ```
84
+ */
85
+ urlLengthLimit?: number;
86
+ };
87
+ auth?: {
88
+ /**
89
+ * Automatically refreshes the token for logged-in users. Defaults to true.
90
+ */
91
+ autoRefreshToken?: boolean;
92
+ /**
93
+ * Optional key name used for storing tokens in local storage.
94
+ */
95
+ storageKey?: string;
96
+ /**
97
+ * Whether to persist a logged-in session to storage. Defaults to true.
98
+ */
99
+ persistSession?: boolean;
100
+ /**
101
+ * Detect a session from the URL. Used for OAuth login callbacks. Defaults to true.
102
+ *
103
+ * Can be set to a function to provide custom logic for determining if a URL contains
104
+ * a Supabase auth callback. The function receives the current URL and parsed parameters,
105
+ * and should return true if the URL should be processed as a Supabase auth callback.
106
+ *
107
+ * This is useful when your app uses other OAuth providers (e.g., Facebook Login) that
108
+ * also return access_token in the URL fragment, which would otherwise be incorrectly
109
+ * intercepted by Supabase Auth.
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * detectSessionInUrl: (url, params) => {
114
+ * // Ignore Facebook OAuth redirects
115
+ * if (url.pathname === '/facebook/redirect') return false
116
+ * // Use default detection for other URLs
117
+ * return Boolean(params.access_token || params.error_description)
118
+ * }
119
+ * ```
120
+ */
121
+ detectSessionInUrl?: boolean | ((url: URL, params: {
122
+ [parameter: string]: string;
123
+ }) => boolean);
124
+ /**
125
+ * A storage provider. Used to store the logged-in session.
126
+ */
127
+ storage?: SupabaseAuthClientOptions['storage'];
128
+ /**
129
+ * A storage provider to store the user profile separately from the session.
130
+ * Useful when you need to store the session information in cookies,
131
+ * without bloating the data with the redundant user object.
132
+ *
133
+ * @experimental
134
+ */
135
+ userStorage?: SupabaseAuthClientOptions['userStorage'];
136
+ /**
137
+ * OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications.
138
+ */
139
+ flowType?: SupabaseAuthClientOptions['flowType'];
140
+ /**
141
+ * If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library.
142
+ */
143
+ debug?: SupabaseAuthClientOptions['debug'];
144
+ /**
145
+ * Provide your own locking mechanism based on the environment. By default no locking is done at this time.
146
+ *
147
+ * @experimental
148
+ */
149
+ lock?: SupabaseAuthClientOptions['lock'];
150
+ /**
151
+ * If there is an error with the query, throwOnError will reject the promise by
152
+ * throwing the error instead of returning it as part of a successful response.
153
+ */
154
+ throwOnError?: SupabaseAuthClientOptions['throwOnError'];
155
+ };
156
+ /**
157
+ * Options passed to the realtime-js instance
158
+ */
159
+ realtime?: RealtimeClientOptions;
160
+ storage?: StorageClientOptions;
161
+ global?: {
162
+ /**
163
+ * A custom `fetch` implementation.
164
+ */
165
+ fetch?: Fetch;
166
+ /**
167
+ * Optional headers for initializing the client.
168
+ */
169
+ headers?: Record<string, string>;
170
+ };
171
+ /**
172
+ * Optional function for using a third-party authentication system with
173
+ * Supabase. The function should return an access token or ID token (JWT) by
174
+ * obtaining it from the third-party auth SDK. Note that this
175
+ * function may be called concurrently and many times. Use memoization and
176
+ * locking techniques if this is not supported by the SDKs.
177
+ *
178
+ * When set, the `auth` namespace of the Supabase client cannot be used.
179
+ * Create another client if you wish to use Supabase Auth and third-party
180
+ * authentications concurrently in the same application.
181
+ */
182
+ accessToken?: () => Promise<string | null>;
183
+ };
184
+ /**
185
+ * Helper types for query results.
186
+ */
187
+ type QueryResult<T> = T extends PromiseLike<infer U> ? U : never;
188
+ type QueryData<T> = T extends PromiseLike<{
189
+ data: infer U;
190
+ }> ? Exclude<U, null> : never;
191
+ type QueryError = PostgrestError$1;
192
+ /**
193
+ * Strips internal Supabase metadata from Database types.
194
+ * Useful for libraries defining generic constraints on Database types.
195
+ *
196
+ * @example
197
+ * ```typescript
198
+ * type CleanDB = DatabaseWithoutInternals<Database>
199
+ * ```
200
+ */
201
+ type DatabaseWithoutInternals<DB> = Omit<DB, '__InternalSupabase'>;
202
+ //#endregion
203
+ //#region src/lib/SupabaseAuthClient.d.ts
204
+ declare class SupabaseAuthClient extends AuthClient {
205
+ constructor(options: SupabaseAuthClientOptions);
206
+ }
207
+ //#endregion
208
+ //#region src/lib/rest/types/common/rpc.d.ts
209
+ type IsMatchingArgs<FnArgs extends GenericFunction['Args'], PassedArgs extends GenericFunction['Args']> = [FnArgs] extends [Record<PropertyKey, never>] ? PassedArgs extends Record<PropertyKey, never> ? true : false : keyof PassedArgs extends keyof FnArgs ? PassedArgs extends FnArgs ? true : false : false;
210
+ type MatchingFunctionArgs<Fn$1 extends GenericFunction, Args extends GenericFunction['Args']> = Fn$1 extends {
211
+ Args: infer A extends GenericFunction['Args'];
212
+ } ? IsMatchingArgs<A, Args> extends true ? Fn$1 : never : false;
213
+ type FindMatchingFunctionByArgs<FnUnion, Args extends GenericFunction['Args']> = FnUnion extends infer Fn extends GenericFunction ? MatchingFunctionArgs<Fn, Args> : false;
214
+ type TablesAndViews<Schema extends GenericSchema> = Schema['Tables'] & Exclude<Schema['Views'], ''>;
215
+ type UnionToIntersection<U$1> = (U$1 extends any ? (k: U$1) => void : never) extends ((k: infer I) => void) ? I : never;
216
+ type LastOf<T> = UnionToIntersection<T extends any ? () => T : never> extends (() => infer R) ? R : never;
217
+ type IsAny<T> = 0 extends 1 & T ? true : false;
218
+ type ExactMatch<T, S> = [T] extends [S] ? ([S] extends [T] ? true : false) : false;
219
+ type ExtractExactFunction<Fns, Args> = Fns extends infer F ? F extends GenericFunction ? ExactMatch<F['Args'], Args> extends true ? F : never : never : never;
220
+ type IsNever<T> = [T] extends [never] ? true : false;
221
+ type RpcFunctionNotFound<FnName> = {
222
+ Row: any;
223
+ Result: {
224
+ error: true;
225
+ } & "Couldn't infer function definition matching provided arguments";
226
+ RelationName: FnName;
227
+ Relationships: null;
228
+ };
229
+ type CrossSchemaError<TableRef extends string> = {
230
+ error: true;
231
+ } & `Function returns SETOF from a different schema ('${TableRef}'). Use .overrideTypes<YourReturnType>() to specify the return type explicitly.`;
232
+ type GetRpcFunctionFilterBuilderByArgs<Schema extends GenericSchema, FnName extends string & keyof Schema['Functions'], Args> = {
233
+ 0: Schema['Functions'][FnName];
234
+ 1: IsAny<Schema> extends true ? any : IsNever<Args> extends true ? IsNever<ExtractExactFunction<Schema['Functions'][FnName], Args>> extends true ? LastOf<Schema['Functions'][FnName]> : ExtractExactFunction<Schema['Functions'][FnName], Args> : Args extends Record<PropertyKey, never> ? LastOf<Schema['Functions'][FnName]> : Args extends GenericFunction['Args'] ? IsNever<LastOf<FindMatchingFunctionByArgs<Schema['Functions'][FnName], Args>>> extends true ? LastOf<Schema['Functions'][FnName]> : LastOf<FindMatchingFunctionByArgs<Schema['Functions'][FnName], Args>> : ExtractExactFunction<Schema['Functions'][FnName], Args> extends GenericFunction ? ExtractExactFunction<Schema['Functions'][FnName], Args> : any;
235
+ }[1] extends infer Fn ? IsAny<Fn> extends true ? {
236
+ Row: any;
237
+ Result: any;
238
+ RelationName: FnName;
239
+ Relationships: null;
240
+ } : Fn extends GenericFunction ? {
241
+ Row: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['to'] extends keyof TablesAndViews<Schema> ? TablesAndViews<Schema>[Fn['SetofOptions']['to']]['Row'] : Fn['Returns'] extends any[] ? Fn['Returns'][number] extends Record<string, unknown> ? Fn['Returns'][number] : CrossSchemaError<Fn['SetofOptions']['to'] & string> : Fn['Returns'] extends Record<string, unknown> ? Fn['Returns'] : CrossSchemaError<Fn['SetofOptions']['to'] & string> : Fn['Returns'] extends any[] ? Fn['Returns'][number] extends Record<string, unknown> ? Fn['Returns'][number] : never : Fn['Returns'] extends Record<string, unknown> ? Fn['Returns'] : never;
242
+ Result: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['isSetofReturn'] extends true ? Fn['SetofOptions']['isOneToOne'] extends true ? Fn['Returns'][] : Fn['Returns'] : Fn['Returns'] : Fn['Returns'];
243
+ RelationName: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['to'] : FnName;
244
+ Relationships: Fn['SetofOptions'] extends GenericSetofOption ? Fn['SetofOptions']['to'] extends keyof Schema['Tables'] ? Schema['Tables'][Fn['SetofOptions']['to']]['Relationships'] : Fn['SetofOptions']['to'] extends keyof Schema['Views'] ? Schema['Views'][Fn['SetofOptions']['to']]['Relationships'] : null : null;
245
+ } : Fn extends false ? RpcFunctionNotFound<FnName> : RpcFunctionNotFound<FnName> : RpcFunctionNotFound<FnName>;
246
+ //#endregion
247
+ //#region src/SupabaseClient.d.ts
248
+ /**
249
+ * Supabase Client.
250
+ *
251
+ * An isomorphic Javascript client for interacting with Postgres.
252
+ */
253
+ declare class SupabaseClient<Database = any, SchemaNameOrClientOptions extends (string & keyof Omit<Database, '__InternalSupabase'>) | {
254
+ PostgrestVersion: string;
255
+ } = ('public' extends keyof Omit<Database, '__InternalSupabase'> ? 'public' : string & keyof Omit<Database, '__InternalSupabase'>), SchemaName extends string & keyof Omit<Database, '__InternalSupabase'> = (SchemaNameOrClientOptions extends string & keyof Omit<Database, '__InternalSupabase'> ? SchemaNameOrClientOptions : 'public' extends keyof Omit<Database, '__InternalSupabase'> ? 'public' : string & keyof Omit<Omit<Database, '__InternalSupabase'>, '__InternalSupabase'>), Schema extends (Omit<Database, '__InternalSupabase'>[SchemaName] extends GenericSchema ? Omit<Database, '__InternalSupabase'>[SchemaName] : never) = (Omit<Database, '__InternalSupabase'>[SchemaName] extends GenericSchema ? Omit<Database, '__InternalSupabase'>[SchemaName] : never), ClientOptions extends {
256
+ PostgrestVersion: string;
257
+ } = (SchemaNameOrClientOptions extends string & keyof Omit<Database, '__InternalSupabase'> ? Database extends {
258
+ __InternalSupabase: {
259
+ PostgrestVersion: string;
260
+ };
261
+ } ? Database['__InternalSupabase'] : {
262
+ PostgrestVersion: '12';
263
+ } : SchemaNameOrClientOptions extends {
264
+ PostgrestVersion: string;
265
+ } ? SchemaNameOrClientOptions : never)> {
266
+ protected supabaseUrl: string;
267
+ protected supabaseKey: string;
268
+ /**
269
+ * Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies.
270
+ */
271
+ auth: SupabaseAuthClient;
272
+ realtime: RealtimeClient;
273
+ /**
274
+ * Supabase Storage allows you to manage user-generated content, such as photos or videos.
275
+ */
276
+ storage: StorageClient;
277
+ protected realtimeUrl: URL;
278
+ protected authUrl: URL;
279
+ protected storageUrl: URL;
280
+ protected functionsUrl: URL;
281
+ protected rest: PostgrestClient<Database, ClientOptions, SchemaName>;
282
+ protected storageKey: string;
283
+ protected fetch?: Fetch;
284
+ protected changedAccessToken?: string;
285
+ protected accessToken?: () => Promise<string | null>;
286
+ protected headers: Record<string, string>;
287
+ /**
288
+ * Create a new client for use in the browser.
289
+ *
290
+ * @category Initializing
291
+ *
292
+ * @param supabaseUrl The unique Supabase URL which is supplied when you create a new project in your project dashboard.
293
+ * @param supabaseKey The unique Supabase Key which is supplied when you create a new project in your project dashboard.
294
+ * @param options.db.schema You can switch in between schemas. The schema needs to be on the list of exposed schemas inside Supabase.
295
+ * @param options.auth.autoRefreshToken Set to "true" if you want to automatically refresh the token before expiring.
296
+ * @param options.auth.persistSession Set to "true" if you want to automatically save the user session into local storage.
297
+ * @param options.auth.detectSessionInUrl Set to "true" if you want to automatically detects OAuth grants in the URL and signs in the user.
298
+ * @param options.realtime Options passed along to realtime-js constructor.
299
+ * @param options.storage Options passed along to the storage-js constructor.
300
+ * @param options.global.fetch A custom fetch implementation.
301
+ * @param options.global.headers Any additional headers to send with each network request.
302
+ *
303
+ * @example Creating a client
304
+ * ```js
305
+ * import { createClient } from '@supabase/supabase-js'
306
+ *
307
+ * // Create a single supabase client for interacting with your database
308
+ * const supabase = createClient('https://xyzcompany.supabase.co', 'publishable-or-anon-key')
309
+ * ```
310
+ *
311
+ * @example With a custom domain
312
+ * ```js
313
+ * import { createClient } from '@supabase/supabase-js'
314
+ *
315
+ * // Use a custom domain as the supabase URL
316
+ * const supabase = createClient('https://my-custom-domain.com', 'publishable-or-anon-key')
317
+ * ```
318
+ *
319
+ * @example With additional parameters
320
+ * ```js
321
+ * import { createClient } from '@supabase/supabase-js'
322
+ *
323
+ * const options = {
324
+ * db: {
325
+ * schema: 'public',
326
+ * },
327
+ * auth: {
328
+ * autoRefreshToken: true,
329
+ * persistSession: true,
330
+ * detectSessionInUrl: true
331
+ * },
332
+ * global: {
333
+ * headers: { 'x-my-custom-header': 'my-app-name' },
334
+ * },
335
+ * }
336
+ * const supabase = createClient("https://xyzcompany.supabase.co", "publishable-or-anon-key", options)
337
+ * ```
338
+ *
339
+ * @exampleDescription With custom schemas
340
+ * By default the API server points to the `public` schema. You can enable other database schemas within the Dashboard.
341
+ * Go to [Settings > API > Exposed schemas](/dashboard/project/_/settings/api) and add the schema which you want to expose to the API.
342
+ *
343
+ * Note: each client connection can only access a single schema, so the code above can access the `other_schema` schema but cannot access the `public` schema.
344
+ *
345
+ * @example With custom schemas
346
+ * ```js
347
+ * import { createClient } from '@supabase/supabase-js'
348
+ *
349
+ * const supabase = createClient('https://xyzcompany.supabase.co', 'publishable-or-anon-key', {
350
+ * // Provide a custom schema. Defaults to "public".
351
+ * db: { schema: 'other_schema' }
352
+ * })
353
+ * ```
354
+ *
355
+ * @exampleDescription Custom fetch implementation
356
+ * `supabase-js` uses the [`cross-fetch`](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests,
357
+ * but an alternative `fetch` implementation can be provided as an option.
358
+ * This is most useful in environments where `cross-fetch` is not compatible (for instance Cloudflare Workers).
359
+ *
360
+ * @example Custom fetch implementation
361
+ * ```js
362
+ * import { createClient } from '@supabase/supabase-js'
363
+ *
364
+ * const supabase = createClient('https://xyzcompany.supabase.co', 'publishable-or-anon-key', {
365
+ * global: { fetch: fetch.bind(globalThis) }
366
+ * })
367
+ * ```
368
+ *
369
+ * @exampleDescription React Native options with AsyncStorage
370
+ * For React Native we recommend using `AsyncStorage` as the storage implementation for Supabase Auth.
371
+ *
372
+ * @example React Native options with AsyncStorage
373
+ * ```js
374
+ * import 'react-native-url-polyfill/auto'
375
+ * import { createClient } from '@supabase/supabase-js'
376
+ * import AsyncStorage from "@react-native-async-storage/async-storage";
377
+ *
378
+ * const supabase = createClient("https://xyzcompany.supabase.co", "publishable-or-anon-key", {
379
+ * auth: {
380
+ * storage: AsyncStorage,
381
+ * autoRefreshToken: true,
382
+ * persistSession: true,
383
+ * detectSessionInUrl: false,
384
+ * },
385
+ * });
386
+ * ```
387
+ *
388
+ * @exampleDescription React Native options with Expo SecureStore
389
+ * If you wish to encrypt the user's session information, you can use `aes-js` and store the encryption key in Expo SecureStore.
390
+ * The `aes-js` library, a reputable JavaScript-only implementation of the AES encryption algorithm in CTR mode.
391
+ * A new 256-bit encryption key is generated using the `react-native-get-random-values` library.
392
+ * This key is stored inside Expo's SecureStore, while the value is encrypted and placed inside AsyncStorage.
393
+ *
394
+ * Please make sure that:
395
+ * - You keep the `expo-secure-store`, `aes-js` and `react-native-get-random-values` libraries up-to-date.
396
+ * - Choose the correct [`SecureStoreOptions`](https://docs.expo.dev/versions/latest/sdk/securestore/#securestoreoptions) for your app's needs.
397
+ * E.g. [`SecureStore.WHEN_UNLOCKED`](https://docs.expo.dev/versions/latest/sdk/securestore/#securestorewhen_unlocked) regulates when the data can be accessed.
398
+ * - Carefully consider optimizations or other modifications to the above example, as those can lead to introducing subtle security vulnerabilities.
399
+ *
400
+ * @example React Native options with Expo SecureStore
401
+ * ```ts
402
+ * import 'react-native-url-polyfill/auto'
403
+ * import { createClient } from '@supabase/supabase-js'
404
+ * import AsyncStorage from '@react-native-async-storage/async-storage';
405
+ * import * as SecureStore from 'expo-secure-store';
406
+ * import * as aesjs from 'aes-js';
407
+ * import 'react-native-get-random-values';
408
+ *
409
+ * // As Expo's SecureStore does not support values larger than 2048
410
+ * // bytes, an AES-256 key is generated and stored in SecureStore, while
411
+ * // it is used to encrypt/decrypt values stored in AsyncStorage.
412
+ * class LargeSecureStore {
413
+ * private async _encrypt(key: string, value: string) {
414
+ * const encryptionKey = crypto.getRandomValues(new Uint8Array(256 / 8));
415
+ *
416
+ * const cipher = new aesjs.ModeOfOperation.ctr(encryptionKey, new aesjs.Counter(1));
417
+ * const encryptedBytes = cipher.encrypt(aesjs.utils.utf8.toBytes(value));
418
+ *
419
+ * await SecureStore.setItemAsync(key, aesjs.utils.hex.fromBytes(encryptionKey));
420
+ *
421
+ * return aesjs.utils.hex.fromBytes(encryptedBytes);
422
+ * }
423
+ *
424
+ * private async _decrypt(key: string, value: string) {
425
+ * const encryptionKeyHex = await SecureStore.getItemAsync(key);
426
+ * if (!encryptionKeyHex) {
427
+ * return encryptionKeyHex;
428
+ * }
429
+ *
430
+ * const cipher = new aesjs.ModeOfOperation.ctr(aesjs.utils.hex.toBytes(encryptionKeyHex), new aesjs.Counter(1));
431
+ * const decryptedBytes = cipher.decrypt(aesjs.utils.hex.toBytes(value));
432
+ *
433
+ * return aesjs.utils.utf8.fromBytes(decryptedBytes);
434
+ * }
435
+ *
436
+ * async getItem(key: string) {
437
+ * const encrypted = await AsyncStorage.getItem(key);
438
+ * if (!encrypted) { return encrypted; }
439
+ *
440
+ * return await this._decrypt(key, encrypted);
441
+ * }
442
+ *
443
+ * async removeItem(key: string) {
444
+ * await AsyncStorage.removeItem(key);
445
+ * await SecureStore.deleteItemAsync(key);
446
+ * }
447
+ *
448
+ * async setItem(key: string, value: string) {
449
+ * const encrypted = await this._encrypt(key, value);
450
+ *
451
+ * await AsyncStorage.setItem(key, encrypted);
452
+ * }
453
+ * }
454
+ *
455
+ * const supabase = createClient("https://xyzcompany.supabase.co", "publishable-or-anon-key", {
456
+ * auth: {
457
+ * storage: new LargeSecureStore(),
458
+ * autoRefreshToken: true,
459
+ * persistSession: true,
460
+ * detectSessionInUrl: false,
461
+ * },
462
+ * });
463
+ * ```
464
+ *
465
+ * @example With a database query
466
+ * ```ts
467
+ * import { createClient } from '@supabase/supabase-js'
468
+ *
469
+ * const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
470
+ *
471
+ * const { data } = await supabase.from('profiles').select('*')
472
+ * ```
473
+ */
474
+ constructor(supabaseUrl: string, supabaseKey: string, options?: SupabaseClientOptions<SchemaName>);
475
+ /**
476
+ * Supabase Functions allows you to deploy and invoke edge functions.
477
+ */
478
+ get functions(): FunctionsClient;
479
+ from<TableName extends string & keyof Schema['Tables'], Table extends Schema['Tables'][TableName]>(relation: TableName): PostgrestQueryBuilder<ClientOptions, Schema, Table, TableName>;
480
+ from<ViewName extends string & keyof Schema['Views'], View extends Schema['Views'][ViewName]>(relation: ViewName): PostgrestQueryBuilder<ClientOptions, Schema, View, ViewName>;
481
+ /**
482
+ * Select a schema to query or perform an function (rpc) call.
483
+ *
484
+ * The schema needs to be on the list of exposed schemas inside Supabase.
485
+ *
486
+ * @param schema - The schema to query
487
+ */
488
+ schema<DynamicSchema extends string & keyof Omit<Database, '__InternalSupabase'>>(schema: DynamicSchema): PostgrestClient<Database, ClientOptions, DynamicSchema, Database[DynamicSchema] extends GenericSchema ? Database[DynamicSchema] : any>;
489
+ /**
490
+ * Perform a function call.
491
+ *
492
+ * @param fn - The function name to call
493
+ * @param args - The arguments to pass to the function call
494
+ * @param options - Named parameters
495
+ * @param options.head - When set to `true`, `data` will not be returned.
496
+ * Useful if you only need the count.
497
+ * @param options.get - When set to `true`, the function will be called with
498
+ * read-only access mode.
499
+ * @param options.count - Count algorithm to use to count rows returned by the
500
+ * function. Only applicable for [set-returning
501
+ * functions](https://www.postgresql.org/docs/current/functions-srf.html).
502
+ *
503
+ * `"exact"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the
504
+ * hood.
505
+ *
506
+ * `"planned"`: Approximated but fast count algorithm. Uses the Postgres
507
+ * statistics under the hood.
508
+ *
509
+ * `"estimated"`: Uses exact count for low numbers and planned count for high
510
+ * numbers.
511
+ */
512
+ rpc<FnName extends string & keyof Schema['Functions'], Args extends Schema['Functions'][FnName]['Args'] = never, FilterBuilder extends GetRpcFunctionFilterBuilderByArgs<Schema, FnName, Args> = GetRpcFunctionFilterBuilderByArgs<Schema, FnName, Args>>(fn: FnName, args?: Args, options?: {
513
+ head?: boolean;
514
+ get?: boolean;
515
+ count?: 'exact' | 'planned' | 'estimated';
516
+ }): PostgrestFilterBuilder<ClientOptions, Schema, FilterBuilder['Row'], FilterBuilder['Result'], FilterBuilder['RelationName'], FilterBuilder['Relationships'], 'RPC'>;
517
+ /**
518
+ * Creates a Realtime channel with Broadcast, Presence, and Postgres Changes.
519
+ *
520
+ * @param {string} name - The name of the Realtime channel.
521
+ * @param {Object} opts - The options to pass to the Realtime channel.
522
+ *
523
+ */
524
+ channel(name: string, opts?: RealtimeChannelOptions): RealtimeChannel;
525
+ /**
526
+ * Returns all Realtime channels.
527
+ */
528
+ getChannels(): RealtimeChannel[];
529
+ /**
530
+ * Unsubscribes and removes Realtime channel from Realtime client.
531
+ *
532
+ * @param {RealtimeChannel} channel - The name of the Realtime channel.
533
+ *
534
+ */
535
+ removeChannel(channel: RealtimeChannel): Promise<'ok' | 'timed out' | 'error'>;
536
+ /**
537
+ * Unsubscribes and removes all Realtime channels from Realtime client.
538
+ */
539
+ removeAllChannels(): Promise<('ok' | 'timed out' | 'error')[]>;
540
+ private _getAccessToken;
541
+ private _initSupabaseAuthClient;
542
+ private _initRealtimeClient;
543
+ private _listenForAuthEvents;
544
+ private _handleTokenChanged;
545
+ }
546
+ //#endregion
547
+ //#region src/index.d.ts
548
+ /**
549
+ * Creates a new Supabase Client.
550
+ *
551
+ * @example
552
+ * ```ts
553
+ * import { createClient } from '@supabase/supabase-js'
554
+ *
555
+ * const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key')
556
+ * const { data, error } = await supabase.from('profiles').select('*')
557
+ * ```
558
+ */
559
+ declare const createClient: <Database = any, SchemaNameOrClientOptions extends (string & keyof Omit<Database, "__InternalSupabase">) | {
560
+ PostgrestVersion: string;
561
+ } = ("public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Database, "__InternalSupabase">), SchemaName extends string & keyof Omit<Database, "__InternalSupabase"> = (SchemaNameOrClientOptions extends string & keyof Omit<Database, "__InternalSupabase"> ? SchemaNameOrClientOptions : "public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Omit<Database, "__InternalSupabase">, "__InternalSupabase">)>(supabaseUrl: string, supabaseKey: string, options?: SupabaseClientOptions<SchemaName>) => SupabaseClient<Database, SchemaNameOrClientOptions, SchemaName>;
562
+ //#endregion
563
+ export { type AuthSession, type AuthUser, type DatabaseWithoutInternals, type FunctionInvokeOptions, FunctionRegion, FunctionsError, FunctionsFetchError, FunctionsHttpError, FunctionsRelayError, PostgrestError, type PostgrestMaybeSingleResponse, type PostgrestResponse, type PostgrestSingleResponse, type QueryData, type QueryError, type QueryResult, SupabaseClient, type SupabaseClientOptions, createClient };
564
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/lib/rest/types/common/common.ts","../src/lib/types.ts","../src/lib/SupabaseAuthClient.ts","../src/lib/rest/types/common/rpc.ts","../src/SupabaseClient.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KAcY,mBAAA;EAAA,cAAA,EAAA,MAAmB;EAQnB,OAAA,EAAA,MAAY,EAAA;EACjB,UA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