The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: Done until magic link
dshukertjr8c3b90f15bca
diff --git a/web/spec/combined.json b/web/spec/combined.jsonindex ec9182c2533..555d3edefbd 100644--- a/web/spec/combined.json+++ b/web/spec/combined.json@@ -9,7 +9,7 @@"originalName": "","children": [{- "id": 248,+ "id": 264,"name": "\"SupabaseClient\"","kind": 1,"kindString": "Module",@@ -19,7 +19,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts","children": [{- "id": 249,+ "id": 265,"name": "SupabaseClient","kind": 128,"kindString": "Class",@@ -32,7 +32,7 @@},"children": [{- "id": 257,+ "id": 273,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -44,7 +44,7 @@},"signatures": [{- "id": 260,+ "id": 276,"name": "new SupabaseClient","kind": 16384,"kindString": "Constructor signature",@@ -56,7 +56,7 @@},"parameters": [{- "id": 261,+ "id": 277,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -72,7 +72,7 @@}},{- "id": 262,+ "id": 278,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -88,7 +88,7 @@}},{- "id": 263,+ "id": 279,"name": "options","kind": 32768,"kindString": "Parameter",@@ -105,7 +105,7 @@],"type": {"type": "reference",- "id": 249,+ "id": 265,"name": "SupabaseClient"}}@@ -119,7 +119,7 @@]},{- "id": 250,+ "id": 266,"name": "auth","kind": 1024,"kindString": "Property",@@ -143,7 +143,7 @@}},{- "id": 254,+ "id": 270,"name": "authUrl","kind": 1024,"kindString": "Property",@@ -164,7 +164,7 @@}},{- "id": 256,+ "id": 272,"name": "realtime","kind": 1024,"kindString": "Property",@@ -185,7 +185,7 @@}},{- "id": 253,+ "id": 269,"name": "realtimeUrl","kind": 1024,"kindString": "Property",@@ -206,7 +206,7 @@}},{- "id": 252,+ "id": 268,"name": "restUrl","kind": 1024,"kindString": "Property",@@ -227,7 +227,7 @@}},{- "id": 251,+ "id": 267,"name": "schema","kind": 1024,"kindString": "Property",@@ -248,7 +248,7 @@}},{- "id": 255,+ "id": 271,"name": "storageUrl","kind": 1024,"kindString": "Property",@@ -269,7 +269,7 @@}},{- "id": 259,+ "id": 275,"name": "supabaseKey","kind": 1024,"kindString": "Property",@@ -294,7 +294,7 @@}},{- "id": 258,+ "id": 274,"name": "supabaseUrl","kind": 1024,"kindString": "Property",@@ -319,7 +319,7 @@}},{- "id": 264,+ "id": 280,"name": "storage","kind": 262144,"kindString": "Accessor",@@ -331,7 +331,7 @@},"getSignature": [{- "id": 265,+ "id": 281,"name": "__get","kind": 524288,"kindString": "Get signature",@@ -356,7 +356,7 @@]},{- "id": 301,+ "id": 317,"name": "_closeChannel","kind": 2048,"kindString": "Method",@@ -366,7 +366,7 @@},"signatures": [{- "id": 302,+ "id": 318,"name": "_closeChannel","kind": 4096,"kindString": "Call signature",@@ -375,7 +375,7 @@},"parameters": [{- "id": 303,+ "id": 319,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -409,7 +409,7 @@]},{- "id": 278,+ "id": 294,"name": "_closeSubscription","kind": 2048,"kindString": "Method",@@ -419,7 +419,7 @@},"signatures": [{- "id": 279,+ "id": 295,"name": "_closeSubscription","kind": 4096,"kindString": "Call signature",@@ -428,7 +428,7 @@},"parameters": [{- "id": 280,+ "id": 296,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -462,7 +462,7 @@]},{- "id": 296,+ "id": 312,"name": "_getAuthHeaders","kind": 2048,"kindString": "Method",@@ -472,7 +472,7 @@},"signatures": [{- "id": 297,+ "id": 313,"name": "_getAuthHeaders","kind": 4096,"kindString": "Call signature",@@ -482,7 +482,7 @@"type": {"type": "reflection","declaration": {- "id": 298,+ "id": 314,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -491,7 +491,7 @@},"indexSignature": [{- "id": 299,+ "id": 315,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -500,7 +500,7 @@},"parameters": [{- "id": 300,+ "id": 316,"name": "key","kind": 32768,"kindString": "Parameter",@@ -539,7 +539,7 @@]},{- "id": 294,+ "id": 310,"name": "_initPostgRESTClient","kind": 2048,"kindString": "Method",@@ -549,7 +549,7 @@},"signatures": [{- "id": 295,+ "id": 311,"name": "_initPostgRESTClient","kind": 4096,"kindString": "Call signature",@@ -571,7 +571,7 @@]},{- "id": 291,+ "id": 307,"name": "_initRealtimeClient","kind": 2048,"kindString": "Method",@@ -581,7 +581,7 @@},"signatures": [{- "id": 292,+ "id": 308,"name": "_initRealtimeClient","kind": 4096,"kindString": "Call signature",@@ -590,7 +590,7 @@},"parameters": [{- "id": 293,+ "id": 309,"name": "options","kind": 32768,"kindString": "Parameter",@@ -619,7 +619,7 @@]},{- "id": 283,+ "id": 299,"name": "_initSupabaseAuthClient","kind": 2048,"kindString": "Method",@@ -629,7 +629,7 @@},"signatures": [{- "id": 284,+ "id": 300,"name": "_initSupabaseAuthClient","kind": 4096,"kindString": "Call signature",@@ -638,7 +638,7 @@},"parameters": [{- "id": 285,+ "id": 301,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -649,7 +649,7 @@"type": {"type": "reflection","declaration": {- "id": 286,+ "id": 302,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -658,7 +658,7 @@},"children": [{- "id": 287,+ "id": 303,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -691,7 +691,7 @@}},{- "id": 289,+ "id": 305,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -724,7 +724,7 @@}},{- "id": 290,+ "id": 306,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -753,7 +753,7 @@}},{- "id": 288,+ "id": 304,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -791,10 +791,10 @@"title": "Variables","kind": 32,"children": [- 287,- 289,- 290,- 288+ 303,+ 305,+ 306,+ 304]}],@@ -825,7 +825,7 @@]},{- "id": 266,+ "id": 282,"name": "from","kind": 2048,"kindString": "Method",@@ -834,7 +834,7 @@},"signatures": [{- "id": 267,+ "id": 283,"name": "from","kind": 4096,"kindString": "Call signature",@@ -846,7 +846,7 @@},"typeParameter": [{- "id": 268,+ "id": 284,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -857,7 +857,7 @@],"parameters": [{- "id": 269,+ "id": 285,"name": "table","kind": 32768,"kindString": "Parameter",@@ -875,7 +875,7 @@],"type": {"type": "reference",- "id": 158,+ "id": 174,"typeArguments": [{"type": "typeParameter",@@ -899,7 +899,7 @@]},{- "id": 281,+ "id": 297,"name": "getSubscriptions","kind": 2048,"kindString": "Method",@@ -908,7 +908,7 @@},"signatures": [{- "id": 282,+ "id": 298,"name": "getSubscriptions","kind": 4096,"kindString": "Call signature",@@ -936,7 +936,7 @@]},{- "id": 275,+ "id": 291,"name": "removeSubscription","kind": 2048,"kindString": "Method",@@ -945,7 +945,7 @@},"signatures": [{- "id": 276,+ "id": 292,"name": "removeSubscription","kind": 4096,"kindString": "Call signature",@@ -957,7 +957,7 @@},"parameters": [{- "id": 277,+ "id": 293,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -994,7 +994,7 @@]},{- "id": 270,+ "id": 286,"name": "rpc","kind": 2048,"kindString": "Method",@@ -1003,7 +1003,7 @@},"signatures": [{- "id": 271,+ "id": 287,"name": "rpc","kind": 4096,"kindString": "Call signature",@@ -1015,7 +1015,7 @@},"typeParameter": [{- "id": 272,+ "id": 288,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -1026,7 +1026,7 @@],"parameters": [{- "id": 273,+ "id": 289,"name": "fn","kind": 32768,"kindString": "Parameter",@@ -1042,7 +1042,7 @@}},{- "id": 274,+ "id": 290,"name": "params","kind": 32768,"kindString": "Parameter",@@ -1094,45 +1094,45 @@"title": "Constructors","kind": 512,"children": [- 257+ 273]},{"title": "Properties","kind": 1024,"children": [- 250,- 254,- 256,- 253,- 252,- 251,- 255,- 259,- 258+ 266,+ 270,+ 272,+ 269,+ 268,+ 267,+ 271,+ 275,+ 274]},{"title": "Accessors","kind": 262144,"children": [- 264+ 280]},{"title": "Methods","kind": 2048,"children": [- 301,- 278,- 296,+ 317,294,+ 312,+ 310,+ 307,+ 299,+ 282,+ 297,291,- 283,- 266,- 281,- 275,- 270+ 286]}],@@ -1145,7 +1145,7 @@]},{- "id": 304,+ "id": 320,"name": "DEFAULT_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -1154,7 +1154,7 @@},"children": [{- "id": 306,+ "id": 322,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -1173,7 +1173,7 @@"defaultValue": "true"},{- "id": 308,+ "id": 324,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -1192,7 +1192,7 @@"defaultValue": "true"},{- "id": 310,+ "id": 326,"name": "headers","kind": 32,"kindString": "Variable",@@ -1207,7 +1207,7 @@"type": {"type": "reflection","declaration": {- "id": 311,+ "id": 327,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1217,7 +1217,7 @@"defaultValue": "DEFAULT_HEADERS"},{- "id": 309,+ "id": 325,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -1236,7 +1236,7 @@"defaultValue": "globalThis.localStorage"},{- "id": 307,+ "id": 323,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -1255,7 +1255,7 @@"defaultValue": "true"},{- "id": 305,+ "id": 321,"name": "schema","kind": 32,"kindString": "Variable",@@ -1279,12 +1279,12 @@"title": "Variables","kind": 32,"children": [- 306,- 308,- 310,- 309,- 307,- 305+ 322,+ 324,+ 326,+ 325,+ 323,+ 321]}],@@ -1306,14 +1306,14 @@"title": "Classes","kind": 128,"children": [- 249+ 265]},{"title": "Object literals","kind": 2097152,"children": [- 304+ 320]}],@@ -1326,7 +1326,7 @@]},{- "id": 312,+ "id": 328,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -1336,7 +1336,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts","children": [{- "id": 313,+ "id": 329,"name": "createClient","kind": 64,"kindString": "Function",@@ -1349,7 +1349,7 @@},"signatures": [{- "id": 314,+ "id": 330,"name": "createClient","kind": 4096,"kindString": "Call signature",@@ -1361,7 +1361,7 @@},"parameters": [{- "id": 315,+ "id": 331,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -1374,7 +1374,7 @@}},{- "id": 316,+ "id": 332,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -1387,7 +1387,7 @@}},{- "id": 317,+ "id": 333,"name": "options","kind": 32768,"kindString": "Parameter",@@ -1404,7 +1404,7 @@],"type": {"type": "reference",- "id": 249,+ "id": 265,"name": "SupabaseClient"}}@@ -1423,7 +1423,7 @@"title": "Functions","kind": 64,"children": [- 313+ 329]}],@@ -2016,7 +2016,7 @@}},{- "id": 109,+ "id": 125,"name": "getSessionFromUrl","kind": 2048,"kindString": "Method",@@ -2025,7 +2025,7 @@},"signatures": [{- "id": 110,+ "id": 126,"name": "getSessionFromUrl","kind": 4096,"kindString": "Call signature",@@ -2037,7 +2037,7 @@},"parameters": [{- "id": 111,+ "id": 127,"name": "options","kind": 32768,"kindString": "Parameter",@@ -2055,7 +2055,7 @@{"type": "reflection","declaration": {- "id": 112,+ "id": 128,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2064,7 +2064,7 @@},"children": [{- "id": 113,+ "id": 129,"name": "storeSession","kind": 32,"kindString": "Variable",@@ -2078,7 +2078,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 122,+ "line": 137,"character": 20}],@@ -2106,7 +2106,7 @@"title": "Variables","kind": 32,"children": [- 113+ 129]}]@@ -2122,7 +2122,7 @@{"type": "reflection","declaration": {- "id": 114,+ "id": 130,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2131,7 +2131,7 @@},"children": [{- "id": 115,+ "id": 131,"name": "data","kind": 32,"kindString": "Variable",@@ -2141,7 +2141,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 124,+ "line": 139,"character": 12}],@@ -2160,7 +2160,7 @@}},{- "id": 116,+ "id": 132,"name": "error","kind": 32,"kindString": "Variable",@@ -2170,7 +2170,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 125,+ "line": 140,"character": 13}],@@ -2194,15 +2194,15 @@"title": "Variables","kind": 32,"children": [- 115,- 116+ 131,+ 132]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 123,+ "line": 138,"character": 16}]@@ -2213,7 +2213,7 @@},"inheritedFrom": {"type": "reference",- "id": 109,+ "id": 125,"name": "GoTrueClient.getSessionFromUrl"}}@@ -2221,18 +2221,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 121,+ "line": 136,"character": 21}],"inheritedFrom": {"type": "reference",- "id": 109,+ "id": 125,"name": "GoTrueClient.getSessionFromUrl"}},{- "id": 121,+ "id": 137,"name": "onAuthStateChange","kind": 2048,"kindString": "Method",@@ -2241,7 +2241,7 @@},"signatures": [{- "id": 122,+ "id": 138,"name": "onAuthStateChange","kind": 4096,"kindString": "Call signature",@@ -2254,7 +2254,7 @@},"parameters": [{- "id": 123,+ "id": 139,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -2264,7 +2264,7 @@"type": {"type": "reflection","declaration": {- "id": 124,+ "id": 140,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2273,7 +2273,7 @@},"signatures": [{- "id": 125,+ "id": 141,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -2282,7 +2282,7 @@},"parameters": [{- "id": 126,+ "id": 142,"name": "event","kind": 32768,"kindString": "Parameter",@@ -2295,7 +2295,7 @@}},{- "id": 127,+ "id": 143,"name": "session","kind": 32768,"kindString": "Parameter",@@ -2326,7 +2326,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 140,+ "line": 155,"character": 31}]@@ -2337,7 +2337,7 @@"type": {"type": "reflection","declaration": {- "id": 128,+ "id": 144,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2346,7 +2346,7 @@},"children": [{- "id": 129,+ "id": 145,"name": "data","kind": 32,"kindString": "Variable",@@ -2356,7 +2356,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 141,+ "line": 156,"character": 12}],@@ -2375,7 +2375,7 @@}},{- "id": 130,+ "id": 146,"name": "error","kind": 32,"kindString": "Variable",@@ -2385,7 +2385,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 142,+ "line": 157,"character": 13}],@@ -2409,15 +2409,15 @@"title": "Variables","kind": 32,"children": [- 129,- 130+ 145,+ 146]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 140,+ "line": 155,"character": 91}]@@ -2425,7 +2425,7 @@},"inheritedFrom": {"type": "reference",- "id": 121,+ "id": 137,"name": "GoTrueClient.onAuthStateChange"}}@@ -2433,18 +2433,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 140,+ "line": 155,"character": 21}],"inheritedFrom": {"type": "reference",- "id": 121,+ "id": 137,"name": "GoTrueClient.onAuthStateChange"}},{- "id": 87,+ "id": 103,"name": "refreshSession","kind": 2048,"kindString": "Method",@@ -2453,7 +2453,7 @@},"signatures": [{- "id": 88,+ "id": 104,"name": "refreshSession","kind": 4096,"kindString": "Call signature",@@ -2469,7 +2469,7 @@{"type": "reflection","declaration": {- "id": 89,+ "id": 105,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2478,7 +2478,7 @@},"children": [{- "id": 90,+ "id": 106,"name": "data","kind": 32,"kindString": "Variable",@@ -2488,7 +2488,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 92,+ "line": 107,"character": 12}],@@ -2507,7 +2507,7 @@}},{- "id": 92,+ "id": 108,"name": "error","kind": 32,"kindString": "Variable",@@ -2517,7 +2517,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 94,+ "line": 109,"character": 13}],@@ -2536,7 +2536,7 @@}},{- "id": 91,+ "id": 107,"name": "user","kind": 32,"kindString": "Variable",@@ -2546,7 +2546,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 93,+ "line": 108,"character": 12}],@@ -2570,16 +2570,16 @@"title": "Variables","kind": 32,"children": [- 90,- 92,- 91+ 106,+ 108,+ 107]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 91,+ "line": 106,"character": 30}]@@ -2590,7 +2590,7 @@},"inheritedFrom": {"type": "reference",- "id": 87,+ "id": 103,"name": "GoTrueClient.refreshSession"}}@@ -2598,18 +2598,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 91,+ "line": 106,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 87,+ "id": 103,"name": "GoTrueClient.refreshSession"}},{- "id": 85,+ "id": 101,"name": "session","kind": 2048,"kindString": "Method",@@ -2618,7 +2618,7 @@},"signatures": [{- "id": 86,+ "id": 102,"name": "session","kind": 4096,"kindString": "Call signature",@@ -2643,7 +2643,7 @@},"inheritedFrom": {"type": "reference",- "id": 85,+ "id": 101,"name": "GoTrueClient.session"}}@@ -2651,18 +2651,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 87,+ "line": 102,"character": 11}],"inheritedFrom": {"type": "reference",- "id": 85,+ "id": 101,"name": "GoTrueClient.session"}},{- "id": 106,+ "id": 122,"name": "setAuth","kind": 2048,"kindString": "Method",@@ -2671,7 +2671,7 @@},"signatures": [{- "id": 107,+ "id": 123,"name": "setAuth","kind": 4096,"kindString": "Call signature",@@ -2683,7 +2683,7 @@},"parameters": [{- "id": 108,+ "id": 124,"name": "access_token","kind": 32768,"kindString": "Parameter",@@ -2705,7 +2705,7 @@},"inheritedFrom": {"type": "reference",- "id": 106,+ "id": 122,"name": "GoTrueClient.setAuth"}}@@ -2713,18 +2713,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 116,+ "line": 131,"character": 11}],"inheritedFrom": {"type": "reference",- "id": 106,+ "id": 122,"name": "GoTrueClient.setAuth"}},{- "id": 100,+ "id": 116,"name": "setSession","kind": 2048,"kindString": "Method",@@ -2733,7 +2733,7 @@},"signatures": [{- "id": 101,+ "id": 117,"name": "setSession","kind": 4096,"kindString": "Call signature",@@ -2745,7 +2745,7 @@},"parameters": [{- "id": 102,+ "id": 118,"name": "refresh_token","kind": 32768,"kindString": "Parameter",@@ -2767,7 +2767,7 @@{"type": "reflection","declaration": {- "id": 103,+ "id": 119,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2776,7 +2776,7 @@},"children": [{- "id": 105,+ "id": 121,"name": "error","kind": 32,"kindString": "Variable",@@ -2786,7 +2786,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 110,+ "line": 125,"character": 13}],@@ -2805,7 +2805,7 @@}},{- "id": 104,+ "id": 120,"name": "session","kind": 32,"kindString": "Variable",@@ -2815,7 +2815,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 109,+ "line": 124,"character": 15}],@@ -2839,15 +2839,15 @@"title": "Variables","kind": 32,"children": [- 105,- 104+ 121,+ 120]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 108,+ "line": 123,"character": 47}]@@ -2858,7 +2858,7 @@},"inheritedFrom": {"type": "reference",- "id": 100,+ "id": 116,"name": "GoTrueClient.setSession"}}@@ -2866,18 +2866,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 108,+ "line": 123,"character": 14}],"inheritedFrom": {"type": "reference",- "id": 100,+ "id": 116,"name": "GoTrueClient.setSession"}},{- "id": 64,+ "id": 65,"name": "signIn","kind": 2048,"kindString": "Method",@@ -2886,7 +2886,7 @@},"signatures": [{- "id": 65,+ "id": 66,"name": "signIn","kind": 4096,"kindString": "Call signature",@@ -2898,7 +2898,7 @@},"parameters": [{- "id": 66,+ "id": 67,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -2909,7 +2909,7 @@"type": {"type": "reflection","declaration": {- "id": 67,+ "id": 68,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2918,7 +2918,7 @@},"children": [{- "id": 68,+ "id": 69,"name": "email","kind": 32,"kindString": "Variable",@@ -2931,7 +2931,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,+ "line": 68,"character": 18}],@@ -2950,7 +2950,7 @@}},{- "id": 69,+ "id": 71,"name": "password","kind": 32,"kindString": "Variable",@@ -2963,8 +2963,8 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,- "character": 28+ "line": 68,+ "character": 35}],"type": {@@ -2982,7 +2982,36 @@}},{- "id": 71,+ "id": 70,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 68,+ "character": 25+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 73,"name": "provider","kind": 32,"kindString": "Variable",@@ -2995,8 +3024,8 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,- "character": 52+ "line": 68,+ "character": 59}],"type": {@@ -3041,12 +3070,16 @@{"type": "stringLiteral","value": "discord"+ },+ {+ "type": "stringLiteral",+ "value": "twitch"}]}},{- "id": 70,+ "id": 72,"name": "refreshToken","kind": 32,"kindString": "Variable",@@ -3059,8 +3092,8 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,- "character": 42+ "line": 68,+ "character": 49}],"type": {@@ -3083,17 +3116,18 @@"title": "Variables","kind": 32,"children": [- 68,69,71,- 70+ 70,+ 73,+ 72]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,+ "line": 68,"character": 11}]@@ -3101,7 +3135,7 @@}},{- "id": 72,+ "id": 74,"name": "options","kind": 32768,"kindString": "Parameter",@@ -3119,7 +3153,7 @@{"type": "reflection","declaration": {- "id": 73,+ "id": 75,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3128,7 +3162,7 @@},"children": [{- "id": 74,+ "id": 76,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -3139,7 +3173,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 68,+ "line": 69,"character": 18}],@@ -3158,7 +3192,7 @@}},{- "id": 75,+ "id": 77,"name": "scopes","kind": 32,"kindString": "Variable",@@ -3169,7 +3203,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 69,+ "line": 70,"character": 14}],@@ -3193,8 +3227,8 @@"title": "Variables","kind": 32,"children": [- 74,- 75+ 76,+ 77]}]@@ -3210,7 +3244,7 @@{"type": "reflection","declaration": {- "id": 76,+ "id": 78,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3219,7 +3253,7 @@},"children": [{- "id": 82,+ "id": 84,"name": "data","kind": 32,"kindString": "Variable",@@ -3229,7 +3263,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 76,+ "line": 77,"character": 12}],@@ -3248,7 +3282,7 @@}},{- "id": 81,+ "id": 83,"name": "error","kind": 32,"kindString": "Variable",@@ -3258,7 +3292,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 75,+ "line": 76,"character": 13}],@@ -3277,7 +3311,7 @@}},{- "id": 79,+ "id": 81,"name": "provider","kind": 32,"kindString": "Variable",@@ -3288,7 +3322,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 73,+ "line": 74,"character": 16}],@@ -3298,7 +3332,7 @@}},{- "id": 77,+ "id": 79,"name": "session","kind": 32,"kindString": "Variable",@@ -3308,7 +3342,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 71,+ "line": 72,"character": 15}],@@ -3327,7 +3361,7 @@}},{- "id": 80,+ "id": 82,"name": "url","kind": 32,"kindString": "Variable",@@ -3338,7 +3372,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 74,+ "line": 75,"character": 11}],@@ -3357,7 +3391,7 @@}},{- "id": 78,+ "id": 80,"name": "user","kind": 32,"kindString": "Variable",@@ -3367,7 +3401,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 72,+ "line": 73,"character": 12}],@@ -3391,19 +3425,19 @@"title": "Variables","kind": 32,"children": [- 82,+ 84,+ 83,81,79,- 77,- 80,- 78+ 82,+ 80]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 70,+ "line": 71,"character": 16}]@@ -3414,7 +3448,7 @@},"inheritedFrom": {"type": "reference",- "id": 64,+ "id": 65,"name": "GoTrueClient.signIn"}}@@ -3422,18 +3456,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,+ "line": 68,"character": 10}],"inheritedFrom": {"type": "reference",- "id": 64,+ "id": 65,"name": "GoTrueClient.signIn"}},{- "id": 117,+ "id": 133,"name": "signOut","kind": 2048,"kindString": "Method",@@ -3442,7 +3476,7 @@},"signatures": [{- "id": 118,+ "id": 134,"name": "signOut","kind": 4096,"kindString": "Call signature",@@ -3459,7 +3493,7 @@{"type": "reflection","declaration": {- "id": 119,+ "id": 135,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3468,7 +3502,7 @@},"children": [{- "id": 120,+ "id": 136,"name": "error","kind": 32,"kindString": "Variable",@@ -3478,7 +3512,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 134,+ "line": 149,"character": 13}],@@ -3502,14 +3536,14 @@"title": "Variables","kind": 32,"children": [- 120+ 136]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 133,+ "line": 148,"character": 23}]@@ -3520,7 +3554,7 @@},"inheritedFrom": {"type": "reference",- "id": 117,+ "id": 133,"name": "GoTrueClient.signOut"}}@@ -3528,13 +3562,13 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 133,+ "line": 148,"character": 11}],"inheritedFrom": {"type": "reference",- "id": 117,+ "id": 133,"name": "GoTrueClient.signOut"}},@@ -3593,7 +3627,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 18}],@@ -3625,7 +3659,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 28}],@@ -3642,6 +3676,38 @@}]}+ },+ {+ "id": 56,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 50,+ "character": 35+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }}],"groups": [@@ -3650,14 +3716,15 @@"kind": 32,"children": [54,- 55+ 55,+ 56]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 11}]@@ -3665,7 +3732,7 @@}},{- "id": 56,+ "id": 57,"name": "options","kind": 32768,"kindString": "Parameter",@@ -3683,7 +3750,7 @@{"type": "reflection","declaration": {- "id": 57,+ "id": 58,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3692,7 +3759,7 @@},"children": [{- "id": 58,+ "id": 59,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -3703,7 +3770,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 50,+ "line": 51,"character": 18}],@@ -3727,7 +3794,7 @@"title": "Variables","kind": 32,"children": [- 58+ 59]}]@@ -3743,7 +3810,7 @@{"type": "reflection","declaration": {- "id": 59,+ "id": 60,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3752,7 +3819,7 @@},"children": [{- "id": 63,+ "id": 64,"name": "data","kind": 32,"kindString": "Variable",@@ -3762,7 +3829,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 55,+ "line": 56,"character": 12}],@@ -3785,7 +3852,7 @@}},{- "id": 62,+ "id": 63,"name": "error","kind": 32,"kindString": "Variable",@@ -3795,7 +3862,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 54,+ "line": 55,"character": 13}],@@ -3814,7 +3881,7 @@}},{- "id": 61,+ "id": 62,"name": "session","kind": 32,"kindString": "Variable",@@ -3824,7 +3891,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 53,+ "line": 54,"character": 15}],@@ -3843,7 +3910,7 @@}},{- "id": 60,+ "id": 61,"name": "user","kind": 32,"kindString": "Variable",@@ -3853,7 +3920,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 52,+ "line": 53,"character": 12}],@@ -3877,17 +3944,17 @@"title": "Variables","kind": 32,"children": [+ 64,63,62,- 61,- 60+ 61]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 51,+ "line": 52,"character": 16}]@@ -3906,7 +3973,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 10}],@@ -3917,7 +3984,7 @@}},{- "id": 93,+ "id": 109,"name": "update","kind": 2048,"kindString": "Method",@@ -3926,7 +3993,7 @@},"signatures": [{- "id": 94,+ "id": 110,"name": "update","kind": 4096,"kindString": "Call signature",@@ -3938,7 +4005,7 @@},"parameters": [{- "id": 95,+ "id": 111,"name": "attributes","kind": 32768,"kindString": "Parameter",@@ -3957,7 +4024,7 @@{"type": "reflection","declaration": {- "id": 96,+ "id": 112,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3966,7 +4033,7 @@},"children": [{- "id": 97,+ "id": 113,"name": "data","kind": 32,"kindString": "Variable",@@ -3976,7 +4043,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 100,+ "line": 115,"character": 12}],@@ -3995,7 +4062,7 @@}},{- "id": 99,+ "id": 115,"name": "error","kind": 32,"kindString": "Variable",@@ -4005,7 +4072,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 102,+ "line": 117,"character": 13}],@@ -4024,7 +4091,7 @@}},{- "id": 98,+ "id": 114,"name": "user","kind": 32,"kindString": "Variable",@@ -4034,7 +4101,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 101,+ "line": 116,"character": 12}],@@ -4058,16 +4125,16 @@"title": "Variables","kind": 32,"children": [- 97,- 99,- 98+ 113,+ 115,+ 114]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 99,+ "line": 114,"character": 48}]@@ -4078,7 +4145,7 @@},"inheritedFrom": {"type": "reference",- "id": 93,+ "id": 109,"name": "GoTrueClient.update"}}@@ -4086,18 +4153,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 99,+ "line": 114,"character": 10}],"inheritedFrom": {"type": "reference",- "id": 93,+ "id": 109,"name": "GoTrueClient.update"}},{- "id": 83,+ "id": 99,"name": "user","kind": 2048,"kindString": "Method",@@ -4106,7 +4173,7 @@},"signatures": [{- "id": 84,+ "id": 100,"name": "user","kind": 4096,"kindString": "Call signature",@@ -4132,7 +4199,7 @@},"inheritedFrom": {"type": "reference",- "id": 83,+ "id": 99,"name": "GoTrueClient.user"}}@@ -4140,15 +4207,375 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 83,+ "line": 98,"character": 8}],"inheritedFrom": {"type": "reference",- "id": 83,+ "id": 99,"name": "GoTrueClient.user"}+ },+ {+ "id": 85,+ "name": "verifyOTP",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 86,+ "name": "verifyOTP",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Log in a user given a User supplied OTP received via mobile."+ },+ "parameters": [+ {+ "id": 87,+ "name": "__namedParameters",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "originalName": "__0",+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 88,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 89,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 21+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 90,+ "name": "token",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's password."+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 89,+ 90+ ]+ }+ ],+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 14+ }+ ]+ }+ }+ },+ {+ "id": 91,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 92,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 93,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 86,+ "character": 18+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 93+ ]+ }+ ]+ }+ }+ ]+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 94,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 98,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 91,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Session"+ },+ {+ "type": "reference",+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 97,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 90,+ "character": 13+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 96,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 89,+ "character": 15+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 95,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 88,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 98,+ 97,+ 96,+ 95+ ]+ }+ ],+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 87,+ "character": 16+ }+ ]+ }+ }+ ],+ "name": "Promise"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 85,+ "name": "GoTrueClient.verifyOTP"+ }+ }+ ],+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 13+ }+ ],+ "inheritedFrom": {+ "type": "reference",+ "id": 85,+ "name": "GoTrueClient.verifyOTP"+ }}],"groups": [@@ -4177,17 +4604,18 @@"title": "Methods","kind": 2048,"children": [- 109,- 121,- 87,- 85,- 106,- 100,- 64,- 117,+ 125,+ 137,+ 103,+ 101,+ 122,+ 116,+ 65,+ 133,50,- 93,- 83+ 109,+ 99,+ 85]}],@@ -4224,7 +4652,7 @@]},{- "id": 157,+ "id": 173,"name": "\"lib/SupabaseQueryBuilder\"","kind": 1,"kindString": "Module",@@ -4234,7 +4662,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts","children": [{- "id": 158,+ "id": 174,"name": "SupabaseQueryBuilder","kind": 128,"kindString": "Class",@@ -4243,7 +4671,7 @@},"typeParameter": [{- "id": 159,+ "id": 175,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -4254,7 +4682,7 @@],"children": [{- "id": 162,+ "id": 178,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -4263,7 +4691,7 @@},"signatures": [{- "id": 163,+ "id": 179,"name": "new SupabaseQueryBuilder","kind": 16384,"kindString": "Constructor signature",@@ -4272,7 +4700,7 @@},"parameters": [{- "id": 164,+ "id": 180,"name": "url","kind": 32768,"kindString": "Parameter",@@ -4285,7 +4713,7 @@}},{- "id": 165,+ "id": 181,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -4296,7 +4724,7 @@"type": {"type": "reflection","declaration": {- "id": 166,+ "id": 182,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4305,7 +4733,7 @@},"children": [{- "id": 167,+ "id": 183,"name": "headers","kind": 32,"kindString": "Variable",@@ -4322,7 +4750,7 @@"type": {"type": "reflection","declaration": {- "id": 168,+ "id": 184,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4331,7 +4759,7 @@},"indexSignature": [{- "id": 169,+ "id": 185,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -4340,7 +4768,7 @@},"parameters": [{- "id": 170,+ "id": 186,"name": "key","kind": 32768,"kindString": "Parameter",@@ -4363,7 +4791,7 @@}},{- "id": 172,+ "id": 188,"name": "realtime","kind": 32,"kindString": "Variable",@@ -4383,7 +4811,7 @@}},{- "id": 171,+ "id": 187,"name": "schema","kind": 32,"kindString": "Variable",@@ -4403,7 +4831,7 @@}},{- "id": 173,+ "id": 189,"name": "table","kind": 32,"kindString": "Variable",@@ -4428,10 +4856,10 @@"title": "Variables","kind": 32,"children": [- 167,- 172,- 171,- 173+ 183,+ 188,+ 187,+ 189]}],@@ -4448,7 +4876,7 @@],"type": {"type": "reference",- "id": 158,+ "id": 174,"name": "SupabaseQueryBuilder"},"overwrites": {@@ -4470,7 +4898,7 @@}},{- "id": 161,+ "id": 177,"name": "_realtime","kind": 1024,"kindString": "Property",@@ -4491,7 +4919,7 @@}},{- "id": 160,+ "id": 176,"name": "_subscription","kind": 1024,"kindString": "Property",@@ -4508,12 +4936,12 @@],"type": {"type": "reference",- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient"}},{- "id": 232,+ "id": 248,"name": "body","kind": 1024,"kindString": "Property",@@ -4559,12 +4987,12 @@},"inheritedFrom": {"type": "reference",- "id": 232,+ "id": 248,"name": "PostgrestBuilder.body"}},{- "id": 227,+ "id": 243,"name": "headers","kind": 1024,"kindString": "Property",@@ -4582,7 +5010,7 @@"type": {"type": "reflection","declaration": {- "id": 228,+ "id": 244,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4591,7 +5019,7 @@},"indexSignature": [{- "id": 229,+ "id": 245,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -4600,7 +5028,7 @@},"parameters": [{- "id": 230,+ "id": 246,"name": "key","kind": 32768,"kindString": "Parameter",@@ -4630,12 +5058,12 @@},"inheritedFrom": {"type": "reference",- "id": 227,+ "id": 243,"name": "PostgrestBuilder.headers"}},{- "id": 225,+ "id": 241,"name": "method","kind": 1024,"kindString": "Property",@@ -4677,12 +5105,12 @@},"inheritedFrom": {"type": "reference",- "id": 225,+ "id": 241,"name": "PostgrestBuilder.method"}},{- "id": 231,+ "id": 247,"name": "schema","kind": 1024,"kindString": "Property",@@ -4713,12 +5141,12 @@},"inheritedFrom": {"type": "reference",- "id": 231,+ "id": 247,"name": "PostgrestBuilder.schema"}},{- "id": 233,+ "id": 249,"name": "shouldThrowOnError","kind": 1024,"kindString": "Property",@@ -4753,12 +5181,12 @@},"inheritedFrom": {"type": "reference",- "id": 233,+ "id": 249,"name": "PostgrestBuilder.shouldThrowOnError"}},{- "id": 226,+ "id": 242,"name": "url","kind": 1024,"kindString": "Property",@@ -4779,12 +5207,12 @@},"inheritedFrom": {"type": "reference",- "id": 226,+ "id": 242,"name": "PostgrestBuilder.url"}},{- "id": 219,+ "id": 235,"name": "delete","kind": 2048,"kindString": "Method",@@ -4793,7 +5221,7 @@},"signatures": [{- "id": 220,+ "id": 236,"name": "delete","kind": 4096,"kindString": "Call signature",@@ -4805,7 +5233,7 @@},"parameters": [{- "id": 221,+ "id": 237,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -4817,7 +5245,7 @@"type": {"type": "reflection","declaration": {- "id": 222,+ "id": 238,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4826,7 +5254,7 @@},"children": [{- "id": 224,+ "id": 240,"name": "count","kind": 32,"kindString": "Variable",@@ -4870,7 +5298,7 @@}},{- "id": 223,+ "id": 239,"name": "returning","kind": 32,"kindString": "Variable",@@ -4911,8 +5339,8 @@"title": "Variables","kind": 32,"children": [- 224,- 223+ 240,+ 239]}],@@ -4939,7 +5367,7 @@},"inheritedFrom": {"type": "reference",- "id": 219,+ "id": 235,"name": "PostgrestQueryBuilder.delete"}}@@ -4953,12 +5381,12 @@],"inheritedFrom": {"type": "reference",- "id": 219,+ "id": 235,"name": "PostgrestQueryBuilder.delete"}},{- "id": 188,+ "id": 204,"name": "insert","kind": 2048,"kindString": "Method",@@ -4967,7 +5395,7 @@},"signatures": [{- "id": 189,+ "id": 205,"name": "insert","kind": 4096,"kindString": "Call signature",@@ -4979,7 +5407,7 @@},"parameters": [{- "id": 190,+ "id": 206,"name": "values","kind": 32768,"kindString": "Parameter",@@ -5019,7 +5447,7 @@}},{- "id": 191,+ "id": 207,"name": "options","kind": 32768,"kindString": "Parameter",@@ -5037,7 +5465,7 @@{"type": "reflection","declaration": {- "id": 192,+ "id": 208,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5046,7 +5474,7 @@},"children": [{- "id": 194,+ "id": 210,"name": "count","kind": 32,"kindString": "Variable",@@ -5084,7 +5512,7 @@}},{- "id": 193,+ "id": 209,"name": "returning","kind": 32,"kindString": "Variable",@@ -5119,8 +5547,8 @@"title": "Variables","kind": 32,"children": [- 194,- 193+ 210,+ 209]}]@@ -5142,12 +5570,12 @@},"inheritedFrom": {"type": "reference",- "id": 188,+ "id": 204,"name": "PostgrestQueryBuilder.insert"}},{- "id": 195,+ "id": 211,"name": "insert","kind": 4096,"kindString": "Call signature",@@ -5164,7 +5592,7 @@},"parameters": [{- "id": 196,+ "id": 212,"name": "values","kind": 32768,"kindString": "Parameter",@@ -5201,7 +5629,7 @@}},{- "id": 197,+ "id": 213,"name": "options","kind": 32768,"kindString": "Parameter",@@ -5219,7 +5647,7 @@{"type": "reflection","declaration": {- "id": 198,+ "id": 214,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5228,7 +5656,7 @@},"children": [{- "id": 202,+ "id": 218,"name": "count","kind": 32,"kindString": "Variable",@@ -5266,7 +5694,7 @@}},{- "id": 200,+ "id": 216,"name": "onConflict","kind": 32,"kindString": "Variable",@@ -5296,7 +5724,7 @@}},{- "id": 201,+ "id": 217,"name": "returning","kind": 32,"kindString": "Variable",@@ -5326,7 +5754,7 @@}},{- "id": 199,+ "id": 215,"name": "upsert","kind": 32,"kindString": "Variable",@@ -5365,10 +5793,10 @@"title": "Variables","kind": 32,"children": [- 202,- 200,- 201,- 199+ 218,+ 216,+ 217,+ 215]}]@@ -5390,7 +5818,7 @@},"inheritedFrom": {"type": "reference",- "id": 188,+ "id": 204,"name": "PostgrestQueryBuilder.insert"}}@@ -5409,12 +5837,12 @@],"inheritedFrom": {"type": "reference",- "id": 188,+ "id": 204,"name": "PostgrestQueryBuilder.insert"}},{- "id": 174,+ "id": 190,"name": "on","kind": 2048,"kindString": "Method",@@ -5423,7 +5851,7 @@},"signatures": [{- "id": 175,+ "id": 191,"name": "on","kind": 4096,"kindString": "Call signature",@@ -5435,7 +5863,7 @@},"parameters": [{- "id": 176,+ "id": 192,"name": "event","kind": 32768,"kindString": "Parameter",@@ -5452,7 +5880,7 @@}},{- "id": 177,+ "id": 193,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -5465,7 +5893,7 @@"type": {"type": "reflection","declaration": {- "id": 178,+ "id": 194,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5474,7 +5902,7 @@},"signatures": [{- "id": 179,+ "id": 195,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -5483,7 +5911,7 @@},"parameters": [{- "id": 180,+ "id": 196,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -5522,7 +5950,7 @@],"type": {"type": "reference",- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient"}}@@ -5536,7 +5964,7 @@]},{- "id": 181,+ "id": 197,"name": "select","kind": 2048,"kindString": "Method",@@ -5545,7 +5973,7 @@},"signatures": [{- "id": 182,+ "id": 198,"name": "select","kind": 4096,"kindString": "Call signature",@@ -5557,7 +5985,7 @@},"parameters": [{- "id": 183,+ "id": 199,"name": "columns","kind": 32768,"kindString": "Parameter",@@ -5583,7 +6011,7 @@}},{- "id": 184,+ "id": 200,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -5595,7 +6023,7 @@"type": {"type": "reflection","declaration": {- "id": 185,+ "id": 201,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5604,7 +6032,7 @@},"children": [{- "id": 187,+ "id": 203,"name": "count","kind": 32,"kindString": "Variable",@@ -5648,7 +6076,7 @@}},{- "id": 186,+ "id": 202,"name": "head","kind": 32,"kindString": "Variable",@@ -5689,8 +6117,8 @@"title": "Variables","kind": 32,"children": [- 187,- 186+ 203,+ 202]}],@@ -5717,7 +6145,7 @@},"inheritedFrom": {"type": "reference",- "id": 181,+ "id": 197,"name": "PostgrestQueryBuilder.select"}}@@ -5731,12 +6159,12 @@],"inheritedFrom": {"type": "reference",- "id": 181,+ "id": 197,"name": "PostgrestQueryBuilder.select"}},{- "id": 236,+ "id": 252,"name": "then","kind": 2048,"kindString": "Method",@@ -5745,7 +6173,7 @@},"signatures": [{- "id": 237,+ "id": 253,"name": "then","kind": 4096,"kindString": "Call signature",@@ -5754,7 +6182,7 @@},"typeParameter": [{- "id": 238,+ "id": 254,"name": "TResult1","kind": 131072,"kindString": "Type parameter",@@ -5763,7 +6191,7 @@}},{- "id": 239,+ "id": 255,"name": "TResult2","kind": 131072,"kindString": "Type parameter",@@ -5774,7 +6202,7 @@],"parameters": [{- "id": 240,+ "id": 256,"name": "onfulfilled","kind": 32768,"kindString": "Parameter",@@ -5788,7 +6216,7 @@{"type": "reflection","declaration": {- "id": 241,+ "id": 257,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5797,7 +6225,7 @@},"signatures": [{- "id": 242,+ "id": 258,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -5806,7 +6234,7 @@},"parameters": [{- "id": 243,+ "id": 259,"name": "value","kind": 32768,"kindString": "Parameter",@@ -5887,7 +6315,7 @@}},{- "id": 244,+ "id": 260,"name": "onrejected","kind": 32768,"kindString": "Parameter",@@ -5901,7 +6329,7 @@{"type": "reflection","declaration": {- "id": 245,+ "id": 261,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5910,7 +6338,7 @@},"signatures": [{- "id": 246,+ "id": 262,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -5919,7 +6347,7 @@},"parameters": [{- "id": 247,+ "id": 263,"name": "reason","kind": 32768,"kindString": "Parameter",@@ -6017,7 +6445,7 @@},"inheritedFrom": {"type": "reference",- "id": 236,+ "id": 252,"name": "PostgrestBuilder.then"}}@@ -6031,12 +6459,12 @@],"inheritedFrom": {"type": "reference",- "id": 236,+ "id": 252,"name": "PostgrestBuilder.then"}},{- "id": 234,+ "id": 250,"name": "throwOnError","kind": 2048,"kindString": "Method",@@ -6045,7 +6473,7 @@},"signatures": [{- "id": 235,+ "id": 251,"name": "throwOnError","kind": 4096,"kindString": "Call signature",@@ -6068,7 +6496,7 @@},"inheritedFrom": {"type": "reference",- "id": 234,+ "id": 250,"name": "PostgrestBuilder.throwOnError"}}@@ -6082,12 +6510,12 @@],"inheritedFrom": {"type": "reference",- "id": 234,+ "id": 250,"name": "PostgrestBuilder.throwOnError"}},{- "id": 212,+ "id": 228,"name": "update","kind": 2048,"kindString": "Method",@@ -6096,7 +6524,7 @@},"signatures": [{- "id": 213,+ "id": 229,"name": "update","kind": 4096,"kindString": "Call signature",@@ -6108,7 +6536,7 @@},"parameters": [{- "id": 214,+ "id": 230,"name": "values","kind": 32768,"kindString": "Parameter",@@ -6130,7 +6558,7 @@}},{- "id": 215,+ "id": 231,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -6142,7 +6570,7 @@"type": {"type": "reflection","declaration": {- "id": 216,+ "id": 232,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6151,7 +6579,7 @@},"children": [{- "id": 218,+ "id": 234,"name": "count","kind": 32,"kindString": "Variable",@@ -6195,7 +6623,7 @@}},{- "id": 217,+ "id": 233,"name": "returning","kind": 32,"kindString": "Variable",@@ -6236,8 +6664,8 @@"title": "Variables","kind": 32,"children": [- 218,- 217+ 234,+ 233]}],@@ -6264,7 +6692,7 @@},"inheritedFrom": {"type": "reference",- "id": 212,+ "id": 228,"name": "PostgrestQueryBuilder.update"}}@@ -6278,12 +6706,12 @@],"inheritedFrom": {"type": "reference",- "id": 212,+ "id": 228,"name": "PostgrestQueryBuilder.update"}},{- "id": 203,+ "id": 219,"name": "upsert","kind": 2048,"kindString": "Method",@@ -6292,7 +6720,7 @@},"signatures": [{- "id": 204,+ "id": 220,"name": "upsert","kind": 4096,"kindString": "Call signature",@@ -6304,7 +6732,7 @@},"parameters": [{- "id": 205,+ "id": 221,"name": "values","kind": 32768,"kindString": "Parameter",@@ -6344,7 +6772,7 @@}},{- "id": 206,+ "id": 222,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -6356,7 +6784,7 @@"type": {"type": "reflection","declaration": {- "id": 207,+ "id": 223,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6365,7 +6793,7 @@},"children": [{- "id": 210,+ "id": 226,"name": "count","kind": 32,"kindString": "Variable",@@ -6409,7 +6837,7 @@}},{- "id": 211,+ "id": 227,"name": "ignoreDuplicates","kind": 32,"kindString": "Variable",@@ -6445,7 +6873,7 @@}},{- "id": 208,+ "id": 224,"name": "onConflict","kind": 32,"kindString": "Variable",@@ -6477,7 +6905,7 @@}},{- "id": 209,+ "id": 225,"name": "returning","kind": 32,"kindString": "Variable",@@ -6518,10 +6946,10 @@"title": "Variables","kind": 32,"children": [- 210,- 211,- 208,- 209+ 226,+ 227,+ 224,+ 225]}],@@ -6548,7 +6976,7 @@},"inheritedFrom": {"type": "reference",- "id": 203,+ "id": 219,"name": "PostgrestQueryBuilder.upsert"}}@@ -6562,7 +6990,7 @@],"inheritedFrom": {"type": "reference",- "id": 203,+ "id": 219,"name": "PostgrestQueryBuilder.upsert"}}@@ -6572,35 +7000,35 @@"title": "Constructors","kind": 512,"children": [- 162+ 178]},{"title": "Properties","kind": 1024,"children": [- 161,- 160,- 232,- 227,- 225,- 231,- 233,- 226+ 177,+ 176,+ 248,+ 243,+ 241,+ 247,+ 249,+ 242]},{"title": "Methods","kind": 2048,"children": [- 219,- 188,- 174,- 181,- 236,- 234,- 212,- 203+ 235,+ 204,+ 190,+ 197,+ 252,+ 250,+ 228,+ 219]}],@@ -6648,7 +7076,7 @@"title": "Classes","kind": 128,"children": [- 158+ 174]}],@@ -6661,7 +7089,7 @@]},{- "id": 131,+ "id": 147,"name": "\"lib/SupabaseRealtimeClient\"","kind": 1,"kindString": "Module",@@ -6671,7 +7099,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts","children": [{- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient","kind": 128,"kindString": "Class",@@ -6680,7 +7108,7 @@},"children": [{- "id": 134,+ "id": 150,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -6689,7 +7117,7 @@},"signatures": [{- "id": 135,+ "id": 151,"name": "new SupabaseRealtimeClient","kind": 16384,"kindString": "Constructor signature",@@ -6698,7 +7126,7 @@},"parameters": [{- "id": 136,+ "id": 152,"name": "socket","kind": 32768,"kindString": "Parameter",@@ -6711,7 +7139,7 @@}},{- "id": 137,+ "id": 153,"name": "schema","kind": 32768,"kindString": "Parameter",@@ -6724,7 +7152,7 @@}},{- "id": 138,+ "id": 154,"name": "tableName","kind": 32768,"kindString": "Parameter",@@ -6739,7 +7167,7 @@],"type": {"type": "reference",- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient"}}@@ -6753,7 +7181,7 @@]},{- "id": 133,+ "id": 149,"name": "subscription","kind": 1024,"kindString": "Property",@@ -6773,7 +7201,7 @@}},{- "id": 139,+ "id": 155,"name": "getPayloadRecords","kind": 2048,"kindString": "Method",@@ -6783,7 +7211,7 @@},"signatures": [{- "id": 140,+ "id": 156,"name": "getPayloadRecords","kind": 4096,"kindString": "Call signature",@@ -6792,7 +7220,7 @@},"parameters": [{- "id": 141,+ "id": 157,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -6808,7 +7236,7 @@"type": {"type": "reflection","declaration": {- "id": 142,+ "id": 158,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6817,7 +7245,7 @@},"children": [{- "id": 143,+ "id": 159,"name": "new","kind": 32,"kindString": "Variable",@@ -6834,7 +7262,7 @@"type": {"type": "reflection","declaration": {- "id": 144,+ "id": 160,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6845,7 +7273,7 @@}},{- "id": 145,+ "id": 161,"name": "old","kind": 32,"kindString": "Variable",@@ -6862,7 +7290,7 @@"type": {"type": "reflection","declaration": {- "id": 146,+ "id": 162,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6878,8 +7306,8 @@"title": "Variables","kind": 32,"children": [- 143,- 145+ 159,+ 161]}]@@ -6896,7 +7324,7 @@]},{- "id": 147,+ "id": 163,"name": "on","kind": 2048,"kindString": "Method",@@ -6905,7 +7333,7 @@},"signatures": [{- "id": 148,+ "id": 164,"name": "on","kind": 4096,"kindString": "Call signature",@@ -6917,7 +7345,7 @@},"parameters": [{- "id": 149,+ "id": 165,"name": "event","kind": 32768,"kindString": "Parameter",@@ -6934,7 +7362,7 @@}},{- "id": 150,+ "id": 166,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -6947,7 +7375,7 @@"type": {"type": "reflection","declaration": {- "id": 151,+ "id": 167,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6956,7 +7384,7 @@},"signatures": [{- "id": 152,+ "id": 168,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -6965,7 +7393,7 @@},"parameters": [{- "id": 153,+ "id": 169,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -7017,7 +7445,7 @@]},{- "id": 154,+ "id": 170,"name": "subscribe","kind": 2048,"kindString": "Method",@@ -7026,7 +7454,7 @@},"signatures": [{- "id": 155,+ "id": 171,"name": "subscribe","kind": 4096,"kindString": "Call signature",@@ -7038,7 +7466,7 @@},"parameters": [{- "id": 156,+ "id": 172,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -7072,23 +7500,23 @@"title": "Constructors","kind": 512,"children": [- 134+ 150]},{"title": "Properties","kind": 1024,"children": [- 133+ 149]},{"title": "Methods","kind": 2048,"children": [- 139,- 147,- 154+ 155,+ 163,+ 170]}],@@ -7106,7 +7534,7 @@"title": "Classes","kind": 128,"children": [- 132+ 148]}],@@ -7176,7 +7604,7 @@]},{- "id": 318,+ "id": 334,"name": "\"lib/helpers\"","kind": 1,"kindString": "Module",@@ -7186,7 +7614,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts","children": [{- "id": 319,+ "id": 335,"name": "uuid","kind": 64,"kindString": "Function",@@ -7195,7 +7623,7 @@},"signatures": [{- "id": 320,+ "id": 336,"name": "uuid","kind": 4096,"kindString": "Call signature",@@ -7222,7 +7650,7 @@"title": "Functions","kind": 64,"children": [- 319+ 335]}],@@ -7823,13 +8251,13 @@"title": "Modules","kind": 1,"children": [- 248,- 312,+ 264,+ 328,27,- 157,- 131,+ 173,+ 147,1,- 318,+ 334,4]}@@ -7843,7 +8271,7 @@"originalName": "","children": [{- "id": 197,+ "id": 206,"name": "\"GoTrueApi\"","kind": 1,"kindString": "Module",@@ -7853,7 +8281,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts","children": [{- "id": 198,+ "id": 207,"name": "GoTrueApi","kind": 128,"kindString": "Class",@@ -7862,7 +8290,7 @@},"children": [{- "id": 205,+ "id": 214,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -7871,7 +8299,7 @@},"signatures": [{- "id": 206,+ "id": 215,"name": "new GoTrueApi","kind": 16384,"kindString": "Constructor signature",@@ -7880,7 +8308,7 @@},"parameters": [{- "id": 207,+ "id": 216,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -7891,7 +8319,7 @@"type": {"type": "reflection","declaration": {- "id": 208,+ "id": 217,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7900,7 +8328,7 @@},"children": [{- "id": 214,+ "id": 223,"name": "cookieOptions","kind": 32,"kindString": "Variable",@@ -7923,14 +8351,14 @@},{"type": "reference",- "id": 92,+ "id": 97,"name": "CookieOptions"}]}},{- "id": 210,+ "id": 219,"name": "headers","kind": 32,"kindString": "Variable",@@ -7947,7 +8375,7 @@"type": {"type": "reflection","declaration": {- "id": 211,+ "id": 220,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7956,7 +8384,7 @@},"indexSignature": [{- "id": 212,+ "id": 221,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -7965,7 +8393,7 @@},"parameters": [{- "id": 213,+ "id": 222,"name": "key","kind": 32768,"kindString": "Parameter",@@ -7988,7 +8416,7 @@}},{- "id": 209,+ "id": 218,"name": "url","kind": 32,"kindString": "Variable",@@ -8014,9 +8442,9 @@"title": "Variables","kind": 32,"children": [- 214,- 210,- 209+ 223,+ 219,+ 218]}],@@ -8033,7 +8461,7 @@],"type": {"type": "reference",- "id": 198,+ "id": 207,"name": "GoTrueApi"}}@@ -8047,7 +8475,7 @@]},{- "id": 204,+ "id": 213,"name": "cookieOptions","kind": 1024,"kindString": "Property",@@ -8064,12 +8492,12 @@],"type": {"type": "reference",- "id": 92,+ "id": 97,"name": "CookieOptions"}},{- "id": 200,+ "id": 209,"name": "headers","kind": 1024,"kindString": "Property",@@ -8087,7 +8515,7 @@"type": {"type": "reflection","declaration": {- "id": 201,+ "id": 210,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8096,7 +8524,7 @@},"indexSignature": [{- "id": 202,+ "id": 211,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -8105,7 +8533,7 @@},"parameters": [{- "id": 203,+ "id": 212,"name": "key","kind": 32768,"kindString": "Parameter",@@ -8135,7 +8563,7 @@}},{- "id": 199,+ "id": 208,"name": "url","kind": 1024,"kindString": "Property",@@ -8156,7 +8584,7 @@}},{- "id": 264,+ "id": 304,"name": "_createRequestHeaders","kind": 2048,"kindString": "Method",@@ -8166,7 +8594,7 @@},"signatures": [{- "id": 265,+ "id": 305,"name": "_createRequestHeaders","kind": 4096,"kindString": "Call signature",@@ -8178,7 +8606,7 @@},"parameters": [{- "id": 266,+ "id": 306,"name": "jwt","kind": 32768,"kindString": "Parameter",@@ -8197,7 +8625,7 @@"type": {"type": "reflection","declaration": {- "id": 267,+ "id": 307,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8211,13 +8639,13 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 166,+ "line": 247,"character": 31}]},{- "id": 295,+ "id": 335,"name": "deleteUser","kind": 2048,"kindString": "Method",@@ -8226,7 +8654,7 @@},"signatures": [{- "id": 296,+ "id": 336,"name": "deleteUser","kind": 4096,"kindString": "Call signature",@@ -8238,7 +8666,7 @@},"parameters": [{- "id": 297,+ "id": 337,"name": "uid","kind": 32768,"kindString": "Parameter",@@ -8254,7 +8682,7 @@}},{- "id": 298,+ "id": 338,"name": "jwt","kind": 32768,"kindString": "Parameter",@@ -8276,7 +8704,7 @@{"type": "reflection","declaration": {- "id": 299,+ "id": 339,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8285,7 +8713,643 @@},"children": [{- "id": 301,+ "id": 341,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 335,+ "character": 38+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 342,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 335,+ "character": 58+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 340,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 335,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 341,+ 342,+ 340+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 335,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 332,+ "character": 18+ }+ ]+ },+ {+ "id": 360,+ "name": "generateLink",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 361,+ "name": "generateLink",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Generates links to be sent via email or other."+ },+ "parameters": [+ {+ "id": 362,+ "name": "type",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "stringLiteral",+ "value": "signup"+ },+ {+ "type": "stringLiteral",+ "value": "magiclink"+ },+ {+ "type": "stringLiteral",+ "value": "recovery"+ },+ {+ "type": "stringLiteral",+ "value": "invite"+ }+ ]+ }+ },+ {+ "id": 363,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's email."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 364,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 365,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 367,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 432,+ "character": 10+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ },+ {+ "id": 366,+ "name": "password",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 431,+ "character": 14+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 368,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 433,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 367,+ 366,+ 368+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 430,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 369,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 370,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "Optional user metadata. For signup only."+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 435,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 371,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 435,+ "character": 49+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 370,+ 371+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 435,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 427,+ "character": 20+ }+ ]+ },+ {+ "id": 313,+ "name": "getUrlForProvider",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 314,+ "name": "getUrlForProvider",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Generates the relevant login URL for a third-party provider."+ },+ "parameters": [+ {+ "id": 315,+ "name": "provider",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "One of the providers supported by GoTrue."+ },+ "type": {+ "type": "reference",+ "id": 112,+ "name": "Provider"+ }+ },+ {+ "id": 316,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 317,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 318,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 279,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 319,+ "name": "scopes",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 280,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 318,+ 319+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 278,+ "character": 12+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 276,+ "character": 19+ }+ ]+ },+ {+ "id": 320,+ "name": "getUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 321,+ "name": "getUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Gets the user details."+ },+ "parameters": [+ {+ "id": 322,+ "name": "jwt",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "A valid, logged-in JWT.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 323,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 325,"name": "data","kind": 32,"kindString": "Variable",@@ -8295,7 +9359,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 299,"character": 38}],@@ -8315,7 +9379,179 @@}},{- "id": 302,+ "id": 326,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 299,+ "character": 58+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 324,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 299,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 325,+ 326,+ 324+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 299,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 297,+ "character": 15+ }+ ]+ },+ {+ "id": 353,+ "name": "getUserByCookie",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 354,+ "name": "getUserByCookie",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)."+ },+ "parameters": [+ {+ "id": 355,+ "name": "req",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 356,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 358,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 403,+ "character": 38+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 359,"name": "error","kind": 32,"kindString": "Variable",@@ -8325,7 +9561,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 403,"character": 58}],@@ -8344,7 +9580,7 @@}},{- "id": 300,+ "id": 357,"name": "user","kind": 32,"kindString": "Variable",@@ -8354,7 +9590,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 403,"character": 19}],@@ -8379,16 +9615,16 @@"title": "Variables","kind": 32,"children": [- 301,- 302,- 300+ 358,+ 359,+ 357]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 403,"character": 13}]@@ -8402,14 +9638,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 251,- "character": 18+ "line": 401,+ "character": 23}]},{- "id": 273,- "name": "getUrlForProvider",+ "id": 285,+ "name": "inviteUserByEmail","kind": 2048,"kindString": "Method","flags": {@@ -8417,36 +9653,35 @@},"signatures": [{- "id": 274,- "name": "getUrlForProvider",+ "id": 286,+ "name": "inviteUserByEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Generates the relevant login URL for a third-party provider."+ "shortText": "Sends an invite link to an email address."},"parameters": [{- "id": 275,- "name": "provider",+ "id": 287,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "One of the providers supported by GoTrue."+ "text": "The email address of the user."},"type": {- "type": "reference",- "id": 103,- "name": "Provider"+ "type": "intrinsic",+ "name": "string"}},{- "id": 276,+ "id": 288,"name": "options","kind": 32768,"kindString": "Parameter",@@ -8456,7 +9691,7 @@"type": {"type": "reflection","declaration": {- "id": 277,+ "id": 289,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8465,7 +9700,7 @@},"children": [{- "id": 278,+ "id": 290,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -8476,7 +9711,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 198,+ "line": 202,"character": 16}],@@ -8493,33 +9728,98 @@}]}- },+ }+ ],+ "groups": [{- "id": 279,- "name": "scopes",+ "title": "Variables",+ "kind": 32,+ "children": [+ 290+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 201,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 291,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 292,+ "name": "data","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 199,- "character": 12+ "line": 204,+ "character": 19}],"type": {"type": "union","types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },{"type": "intrinsic",- "name": "undefined"+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 293,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 204,+ "character": 39+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"},{"type": "intrinsic",- "name": "string"+ "name": "null"}]}@@ -8530,39 +9830,36 @@"title": "Variables","kind": 32,"children": [- 278,- 279+ 292,+ 293]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 197,- "character": 12+ "line": 204,+ "character": 13}]}}- }- ],- "type": {- "type": "intrinsic",- "name": "string"+ ],+ "name": "Promise"}}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 195,- "character": 19+ "line": 199,+ "character": 25}]},{- "id": 280,- "name": "getUser",+ "id": 343,+ "name": "refreshAccessToken","kind": 2048,"kindString": "Method","flags": {@@ -8570,27 +9867,27 @@},"signatures": [{- "id": 281,- "name": "getUser",+ "id": 344,+ "name": "refreshAccessToken","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Gets the user details."+ "shortText": "Generates a new JWT."},"parameters": [{- "id": 282,- "name": "jwt",+ "id": 345,+ "name": "refreshToken","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "A valid, logged-in JWT.\n"+ "text": "A valid refresh token that was returned on login.\n"},"type": {"type": "intrinsic",@@ -8604,7 +9901,7 @@{"type": "reflection","declaration": {- "id": 283,+ "id": 346,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8613,7 +9910,7 @@},"children": [{- "id": 285,+ "id": 347,"name": "data","kind": 32,"kindString": "Variable",@@ -8623,8 +9920,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 218,- "character": 38+ "line": 356,+ "character": 19}],"type": {@@ -8632,8 +9929,8 @@"types": [{"type": "reference",- "id": 58,- "name": "User"+ "id": 50,+ "name": "Session"},{"type": "intrinsic",@@ -8643,7 +9940,7 @@}},{- "id": 286,+ "id": 348,"name": "error","kind": 32,"kindString": "Variable",@@ -8653,8 +9950,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 218,- "character": 58+ "line": 356,+ "character": 42}],"type": {@@ -8670,36 +9967,6 @@}]}- },- {- "id": 284,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 218,- "character": 19- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 58,- "name": "User"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }}],"groups": [@@ -8707,16 +9974,15 @@"title": "Variables","kind": 32,"children": [- 285,- 286,- 284+ 347,+ 348]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 218,+ "line": 356,"character": 13}]@@ -8730,14 +9996,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 216,- "character": 15+ "line": 354,+ "character": 26}]},{- "id": 313,- "name": "getUserByCookie",+ "id": 294,+ "name": "resetPasswordForEmail","kind": 2048,"kindString": "Method","flags": {@@ -8745,38 +10011,45 @@},"signatures": [{- "id": 314,- "name": "getUserByCookie",+ "id": 295,+ "name": "resetPasswordForEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)."+ "shortText": "Sends a reset request to an email address."},"parameters": [{- "id": 315,- "name": "req",+ "id": 296,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},+ "comment": {+ "text": "The email address of the user."+ },"type": {"type": "intrinsic",- "name": "any"+ "name": "string"}- }- ],- "type": {- "type": "reference",- "typeArguments": [- {+ },+ {+ "id": 297,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {"type": "reflection","declaration": {- "id": 316,+ "id": 298,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8785,38 +10058,74 @@},"children": [{- "id": 318,- "name": "data",+ "id": 299,+ "name": "redirectTo","kind": 32,"kindString": "Variable","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 322,- "character": 38+ "line": 226,+ "character": 16}],"type": {"type": "union","types": [{- "type": "reference",- "id": 58,- "name": "User"+ "type": "intrinsic",+ "name": "undefined"},{"type": "intrinsic",- "name": "null"+ "name": "string"}]}- },+ }+ ],+ "groups": [{- "id": 319,- "name": "error",+ "title": "Variables",+ "kind": 32,+ "children": [+ 299+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 225,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 300,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 301,+ "name": "data","kind": 32,"kindString": "Variable","flags": {@@ -8825,16 +10134,31 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 322,- "character": 58+ "line": 228,+ "character": 19}],"type": {"type": "union","types": [{- "type": "reference",- "name": "Error"+ "type": "reflection",+ "declaration": {+ "id": 302,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 228,+ "character": 20+ }+ ]+ }},{"type": "intrinsic",@@ -8844,8 +10168,8 @@}},{- "id": 317,- "name": "user",+ "id": 303,+ "name": "error","kind": 32,"kindString": "Variable","flags": {@@ -8854,8 +10178,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 322,- "character": 19+ "line": 228,+ "character": 37}],"type": {@@ -8863,8 +10187,7 @@"types": [{"type": "reference",- "id": 58,- "name": "User"+ "name": "Error"},{"type": "intrinsic",@@ -8879,16 +10202,15 @@"title": "Variables","kind": 32,"children": [- 318,- 319,- 317+ 301,+ 303]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 322,+ "line": 228,"character": 13}]@@ -8902,14 +10224,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 320,- "character": 23+ "line": 223,+ "character": 29}]},{- "id": 245,- "name": "inviteUserByEmail",+ "id": 258,+ "name": "sendMagicLinkEmail","kind": 2048,"kindString": "Method","flags": {@@ -8917,19 +10239,19 @@},"signatures": [{- "id": 246,- "name": "inviteUserByEmail",+ "id": 259,+ "name": "sendMagicLinkEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Sends an invite link to an email address."+ "shortText": "Sends a magic login link to an email address."},"parameters": [{- "id": 247,+ "id": 260,"name": "email","kind": 32768,"kindString": "Parameter",@@ -8945,7 +10267,7 @@}},{- "id": 248,+ "id": 261,"name": "options","kind": 32768,"kindString": "Parameter",@@ -8955,7 +10277,7 @@"type": {"type": "reflection","declaration": {- "id": 249,+ "id": 262,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -8964,7 +10286,7 @@},"children": [{- "id": 250,+ "id": 263,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -8975,7 +10297,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 121,+ "line": 138,"character": 16}],@@ -8999,14 +10321,14 @@"title": "Variables","kind": 32,"children": [- 250+ 263]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 120,+ "line": 137,"character": 12}]@@ -9021,7 +10343,7 @@{"type": "reflection","declaration": {- "id": 251,+ "id": 264,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9030,7 +10352,7 @@},"children": [{- "id": 252,+ "id": 265,"name": "data","kind": 32,"kindString": "Variable",@@ -9040,7 +10362,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 123,+ "line": 140,"character": 19}],@@ -9048,9 +10370,23 @@"type": "union","types": [{- "type": "reference",- "id": 58,- "name": "User"+ "type": "reflection",+ "declaration": {+ "id": 266,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 140,+ "character": 20+ }+ ]+ }},{"type": "intrinsic",@@ -9060,7 +10396,7 @@}},{- "id": 253,+ "id": 267,"name": "error","kind": 32,"kindString": "Variable",@@ -9070,8 +10406,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 123,- "character": 39+ "line": 140,+ "character": 37}],"type": {@@ -9094,15 +10430,15 @@"title": "Variables","kind": 32,"children": [- 252,- 253+ 265,+ 267]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 123,+ "line": 140,"character": 13}]@@ -9116,14 +10452,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 118,- "character": 25+ "line": 135,+ "character": 26}]},{- "id": 303,- "name": "refreshAccessToken",+ "id": 268,+ "name": "sendMobileOTP","kind": 2048,"kindString": "Method","flags": {@@ -9131,27 +10467,27 @@},"signatures": [{- "id": 304,- "name": "refreshAccessToken",+ "id": 269,+ "name": "sendMobileOTP","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Generates a new JWT."+ "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"},"parameters": [{- "id": 305,- "name": "refreshToken",+ "id": 270,+ "name": "phone","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "A valid refresh token that was returned on login.\n"+ "text": "The user's phone number WITH international prefix\n"},"type": {"type": "intrinsic",@@ -9165,7 +10501,7 @@{"type": "reflection","declaration": {- "id": 306,+ "id": 271,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9174,7 +10510,7 @@},"children": [{- "id": 307,+ "id": 272,"name": "data","kind": 32,"kindString": "Variable",@@ -9184,17 +10520,31 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 275,- "character": 19+ "line": 158,+ "character": 52}],"type": {"type": "union","types": [{- "type": "reference",- "id": 50,- "name": "Session"+ "type": "reflection",+ "declaration": {+ "id": 273,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 158,+ "character": 53+ }+ ]+ }},{"type": "intrinsic",@@ -9204,7 +10554,7 @@}},{- "id": 308,+ "id": 274,"name": "error","kind": 32,"kindString": "Variable",@@ -9214,8 +10564,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 275,- "character": 42+ "line": 158,+ "character": 70}],"type": {@@ -9238,16 +10588,16 @@"title": "Variables","kind": 32,"children": [- 307,- 308+ 272,+ 274]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 275,- "character": 13+ "line": 158,+ "character": 46}]}@@ -9260,14 +10610,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 273,- "character": 26+ "line": 158,+ "character": 21}]},{- "id": 254,- "name": "resetPasswordForEmail",+ "id": 349,+ "name": "setAuthCookie","kind": 2048,"kindString": "Method","flags": {@@ -9275,19 +10625,81 @@},"signatures": [{- "id": 255,- "name": "resetPasswordForEmail",+ "id": 350,+ "name": "setAuthCookie","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Sends a reset request to an email address."+ "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."},"parameters": [{- "id": 256,+ "id": 351,+ "name": "req",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ },+ {+ "id": 352,+ "name": "res",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 375,+ "character": 15+ }+ ]+ },+ {+ "id": 234,+ "name": "signInWithEmail",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 235,+ "name": "signInWithEmail",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Logs in an existing user using their email address."+ },+ "parameters": [+ {+ "id": 236,"name": "email","kind": 32768,"kindString": "Parameter",@@ -9303,7 +10715,23 @@}},{- "id": 257,+ "id": 237,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The password of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 238,"name": "options","kind": 32768,"kindString": "Parameter",@@ -9313,7 +10741,7 @@"type": {"type": "reflection","declaration": {- "id": 258,+ "id": 239,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9322,7 +10750,7 @@},"children": [{- "id": 259,+ "id": 240,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -9333,7 +10761,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 145,+ "line": 71,"character": 16}],@@ -9357,14 +10785,14 @@"title": "Variables","kind": 32,"children": [- 259+ 240]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 144,+ "line": 70,"character": 12}]@@ -9379,7 +10807,7 @@{"type": "reflection","declaration": {- "id": 260,+ "id": 241,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9388,7 +10816,7 @@},"children": [{- "id": 261,+ "id": 242,"name": "data","kind": 32,"kindString": "Variable",@@ -9398,7 +10826,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 147,+ "line": 73,"character": 19}],@@ -9406,23 +10834,9 @@"type": "union","types": [{- "type": "reflection",- "declaration": {- "id": 262,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 147,- "character": 20- }- ]- }+ "type": "reference",+ "id": 50,+ "name": "Session"},{"type": "intrinsic",@@ -9432,7 +10846,7 @@}},{- "id": 263,+ "id": 243,"name": "error","kind": 32,"kindString": "Variable",@@ -9442,8 +10856,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 147,- "character": 37+ "line": 73,+ "character": 42}],"type": {@@ -9466,15 +10880,15 @@"title": "Variables","kind": 32,"children": [- 261,- 263+ 242,+ 243]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 147,+ "line": 73,"character": 13}]@@ -9488,14 +10902,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 142,- "character": 29+ "line": 67,+ "character": 23}]},{- "id": 235,- "name": "sendMagicLinkEmail",+ "id": 251,+ "name": "signInWithPhone","kind": 2048,"kindString": "Method","flags": {@@ -9503,27 +10917,27 @@},"signatures": [{- "id": 236,- "name": "sendMagicLinkEmail",+ "id": 252,+ "name": "signInWithPhone","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Sends a magic login link to an email address."+ "shortText": "Logs in an existing user using their phone number and password."},"parameters": [{- "id": 237,- "name": "email",+ "id": 253,+ "name": "phone","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "The email address of the user."+ "text": "The phone number of the user."},"type": {"type": "intrinsic",@@ -9531,74 +10945,20 @@}},{- "id": 238,- "name": "options",+ "id": 254,+ "name": "password","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "type": {- "type": "reflection",- "declaration": {- "id": 239,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 240,- "name": "redirectTo",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 97,- "character": 16- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 240- ]- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 96,- "character": 12- }- ]- }+ "comment": {+ "text": "The password of the user.\n"},- "defaultValue": "{}"+ "type": {+ "type": "intrinsic",+ "name": "string"+ }}],"type": {@@ -9607,7 +10967,7 @@{"type": "reflection","declaration": {- "id": 241,+ "id": 255,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9616,7 +10976,7 @@},"children": [{- "id": 242,+ "id": 256,"name": "data","kind": 32,"kindString": "Variable",@@ -9626,7 +10986,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 99,+ "line": 117,"character": 19}],@@ -9634,23 +10994,9 @@"type": "union","types": [{- "type": "reflection",- "declaration": {- "id": 243,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 99,- "character": 20- }- ]- }+ "type": "reference",+ "id": 50,+ "name": "Session"},{"type": "intrinsic",@@ -9660,7 +11006,7 @@}},{- "id": 244,+ "id": 257,"name": "error","kind": 32,"kindString": "Variable",@@ -9670,8 +11016,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 99,- "character": 37+ "line": 117,+ "character": 42}],"type": {@@ -9694,15 +11040,15 @@"title": "Variables","kind": 32,"children": [- 242,- 244+ 256,+ 257]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 99,+ "line": 117,"character": 13}]@@ -9716,14 +11062,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 94,- "character": 26+ "line": 114,+ "character": 23}]},{- "id": 309,- "name": "setAuthCookie",+ "id": 308,+ "name": "signOut","kind": 2048,"kindString": "Method","flags": {@@ -9731,61 +11077,112 @@},"signatures": [{- "id": 310,- "name": "setAuthCookie",+ "id": 309,+ "name": "signOut","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."+ "shortText": "Removes a logged-in session."},"parameters": [{- "id": 311,- "name": "req",+ "id": 310,+ "name": "jwt","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "type": {- "type": "intrinsic",- "name": "any"- }- },- {- "id": 312,- "name": "res",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true+ "comment": {+ "text": "A valid, logged-in JWT.\n"},"type": {"type": "intrinsic",- "name": "any"+ "name": "string"}}],"type": {- "type": "intrinsic",- "name": "void"+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 311,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 312,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 257,+ "character": 45+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 312+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 257,+ "character": 38+ }+ ]+ }+ }+ ],+ "name": "Promise"}}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 294,+ "line": 257,"character": 15}]},{- "id": 225,- "name": "signInWithEmail",+ "id": 224,+ "name": "signUpWithEmail","kind": 2048,"kindString": "Method","flags": {@@ -9793,19 +11190,20 @@},"signatures": [{- "id": 226,- "name": "signInWithEmail",+ "id": 225,+ "name": "signUpWithEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Logs in an existing user using their email address."+ "shortText": "Creates a new user using their email address.",+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"},"parameters": [{- "id": 227,+ "id": 226,"name": "email","kind": 32768,"kindString": "Parameter",@@ -9821,7 +11219,7 @@}},{- "id": 228,+ "id": 227,"name": "password","kind": 32768,"kindString": "Parameter",@@ -9837,7 +11235,7 @@}},{- "id": 229,+ "id": 228,"name": "options","kind": 32768,"kindString": "Parameter",@@ -9847,7 +11245,7 @@"type": {"type": "reflection","declaration": {- "id": 230,+ "id": 229,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9856,7 +11254,7 @@},"children": [{- "id": 231,+ "id": 230,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -9867,7 +11265,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 71,+ "line": 43,"character": 16}],@@ -9891,14 +11289,14 @@"title": "Variables","kind": 32,"children": [- 231+ 230]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 70,+ "line": 42,"character": 12}]@@ -9913,7 +11311,7 @@{"type": "reflection","declaration": {- "id": 232,+ "id": 231,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -9922,7 +11320,7 @@},"children": [{- "id": 233,+ "id": 232,"name": "data","kind": 32,"kindString": "Variable",@@ -9932,7 +11330,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 73,+ "line": 45,"character": 19}],@@ -9944,6 +11342,11 @@"id": 50,"name": "Session"},+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },{"type": "intrinsic","name": "null"@@ -9952,7 +11355,7 @@}},{- "id": 234,+ "id": 233,"name": "error","kind": 32,"kindString": "Variable",@@ -9962,8 +11365,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 73,- "character": 42+ "line": 45,+ "character": 49}],"type": {@@ -9986,15 +11389,15 @@"title": "Variables","kind": 32,"children": [- 233,- 234+ 232,+ 233]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 73,+ "line": 45,"character": 13}]@@ -10008,14 +11411,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 67,+ "line": 39,"character": 23}]},{- "id": 268,- "name": "signOut",+ "id": 244,+ "name": "signUpWithPhone","kind": 2048,"kindString": "Method","flags": {@@ -10023,27 +11426,43 @@},"signatures": [{- "id": 269,- "name": "signOut",+ "id": 245,+ "name": "signUpWithPhone","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Removes a logged-in session."+ "shortText": "Signs up a new user using their phone number and a password."},"parameters": [{- "id": 270,- "name": "jwt",+ "id": 246,+ "name": "phone","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "A valid, logged-in JWT.\n"+ "text": "The phone number of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 247,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The password of the user.\n"},"type": {"type": "intrinsic",@@ -10057,7 +11476,7 @@{"type": "reflection","declaration": {- "id": 271,+ "id": 248,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10066,7 +11485,42 @@},"children": [{- "id": 272,+ "id": 249,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 97,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 250,"name": "error","kind": 32,"kindString": "Variable",@@ -10076,8 +11530,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 176,- "character": 45+ "line": 97,+ "character": 49}],"type": {@@ -10100,15 +11554,16 @@"title": "Variables","kind": 32,"children": [- 272+ 249,+ 250]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 176,- "character": 38+ "line": 97,+ "character": 13}]}@@ -10121,14 +11576,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 176,- "character": 15+ "line": 94,+ "character": 23}]},{- "id": 215,- "name": "signUpWithEmail",+ "id": 327,+ "name": "updateUser","kind": 2048,"kindString": "Method","flags": {@@ -10136,28 +11591,27 @@},"signatures": [{- "id": 216,- "name": "signUpWithEmail",+ "id": 328,+ "name": "updateUser","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Creates a new user using their email address.",- "returns": "A logged-in session if the server has \"autoconfirm\" ON"+ "shortText": "Updates the user data."},"parameters": [{- "id": 217,- "name": "email",+ "id": 329,+ "name": "jwt","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "The email address of the user."+ "text": "A valid, logged-in JWT."},"type": {"type": "intrinsic",@@ -10165,33 +11619,30 @@}},{- "id": 218,- "name": "password",+ "id": 330,+ "name": "attributes","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "The password of the user."+ "text": "The data you want to update.\n"},"type": {- "type": "intrinsic",- "name": "string"+ "type": "reference",+ "id": 82,+ "name": "UserAttributes"}- },- {- "id": 219,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {"type": "reflection","declaration": {- "id": 220,+ "id": 331,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10200,74 +11651,38 @@},"children": [{- "id": 221,- "name": "redirectTo",+ "id": 333,+ "name": "data","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 43,- "character": 16+ "line": 316,+ "character": 38}],"type": {"type": "union","types": [{- "type": "intrinsic",- "name": "undefined"+ "type": "reference",+ "id": 58,+ "name": "User"},{"type": "intrinsic",- "name": "string"+ "name": "null"}]}- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 221- ]- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 42,- "character": 12- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 222,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [+ },{- "id": 223,- "name": "data",+ "id": 334,+ "name": "error","kind": 32,"kindString": "Variable","flags": {@@ -10276,8 +11691,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 45,- "character": 19+ "line": 316,+ "character": 58}],"type": {@@ -10285,13 +11700,7 @@"types": [{"type": "reference",- "id": 50,- "name": "Session"- },- {- "type": "reference",- "id": 58,- "name": "User"+ "name": "Error"},{"type": "intrinsic",@@ -10301,8 +11710,8 @@}},{- "id": 224,- "name": "error",+ "id": 332,+ "name": "user","kind": 32,"kindString": "Variable","flags": {@@ -10311,8 +11720,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 45,- "character": 49+ "line": 316,+ "character": 19}],"type": {@@ -10320,7 +11729,8 @@"types": [{"type": "reference",- "name": "Error"+ "id": 58,+ "name": "User"},{"type": "intrinsic",@@ -10335,15 +11745,16 @@"title": "Variables","kind": 32,"children": [- 223,- 224+ 333,+ 334,+ 332]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 45,+ "line": 316,"character": 13}]@@ -10357,14 +11768,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 39,- "character": 23+ "line": 313,+ "character": 18}]},{- "id": 287,- "name": "updateUser",+ "id": 275,+ "name": "verifyMobileOTP","kind": 2048,"kindString": "Method","flags": {@@ -10372,27 +11783,27 @@},"signatures": [{- "id": 288,- "name": "updateUser",+ "id": 276,+ "name": "verifyMobileOTP","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Updates the user data."+ "shortText": "Send User supplied Mobile OTP to be verified"},"parameters": [{- "id": 289,- "name": "jwt",+ "id": 277,+ "name": "phone","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "A valid, logged-in JWT."+ "text": "The user's phone number WITH international prefix"},"type": {"type": "intrinsic",@@ -10400,30 +11811,33 @@}},{- "id": 290,- "name": "attributes",+ "id": 278,+ "name": "token","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "The data you want to update.\n"+ "text": "token that user was sent to their mobile phone"},"type": {- "type": "reference",- "id": 77,- "name": "UserAttributes"+ "type": "intrinsic",+ "name": "string"}- }- ],- "type": {- "type": "reference",- "typeArguments": [- {+ },+ {+ "id": 279,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {"type": "reflection","declaration": {- "id": 291,+ "id": 280,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10432,38 +11846,74 @@},"children": [{- "id": 293,- "name": "data",+ "id": 281,+ "name": "redirectTo","kind": 32,"kindString": "Variable","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 235,- "character": 38+ "line": 178,+ "character": 16}],"type": {"type": "union","types": [{- "type": "reference",- "id": 58,- "name": "User"+ "type": "intrinsic",+ "name": "undefined"},{"type": "intrinsic",- "name": "null"+ "name": "string"}]}- },+ }+ ],+ "groups": [{- "id": 294,- "name": "error",+ "title": "Variables",+ "kind": 32,+ "children": [+ 281+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 177,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 282,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 283,+ "name": "data","kind": 32,"kindString": "Variable","flags": {@@ -10472,8 +11922,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 235,- "character": 58+ "line": 180,+ "character": 19}],"type": {@@ -10481,7 +11931,13 @@"types": [{"type": "reference",- "name": "Error"+ "id": 50,+ "name": "Session"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"},{"type": "intrinsic",@@ -10491,8 +11947,8 @@}},{- "id": 292,- "name": "user",+ "id": 284,+ "name": "error","kind": 32,"kindString": "Variable","flags": {@@ -10501,8 +11957,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 235,- "character": 19+ "line": 180,+ "character": 49}],"type": {@@ -10510,8 +11966,7 @@"types": [{"type": "reference",- "id": 58,- "name": "User"+ "name": "Error"},{"type": "intrinsic",@@ -10526,16 +11981,15 @@"title": "Variables","kind": 32,"children": [- 293,- 294,- 292+ 283,+ 284]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 235,+ "line": 180,"character": 13}]@@ -10549,8 +12003,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 232,- "character": 18+ "line": 174,+ "character": 23}]}@@ -10560,36 +12014,41 @@"title": "Constructors","kind": 512,"children": [- 205+ 214]},{"title": "Properties","kind": 1024,"children": [- 204,- 200,- 199+ 213,+ 209,+ 208]},{"title": "Methods","kind": 2048,"children": [- 264,- 295,- 273,- 280,+ 304,+ 335,+ 360,313,- 245,- 303,- 254,- 235,- 309,- 225,+ 320,+ 353,+ 285,+ 343,+ 294,+ 258,268,- 215,- 287+ 349,+ 234,+ 251,+ 308,+ 224,+ 244,+ 327,+ 275]}],@@ -10607,7 +12066,7 @@"title": "Classes","kind": 128,"children": [- 198+ 207]}],@@ -10620,7 +12079,7 @@]},{- "id": 323,+ "id": 375,"name": "\"GoTrueClient\"","kind": 1,"kindString": "Module",@@ -10630,7 +12089,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts","children": [{- "id": 324,+ "id": 376,"name": "GoTrueClient","kind": 128,"kindString": "Class",@@ -10639,7 +12098,7 @@},"children": [{- "id": 333,+ "id": 385,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -10651,7 +12110,7 @@},"signatures": [{- "id": 334,+ "id": 386,"name": "new GoTrueClient","kind": 16384,"kindString": "Constructor signature",@@ -10663,7 +12122,7 @@},"parameters": [{- "id": 335,+ "id": 387,"name": "options","kind": 32768,"kindString": "Parameter",@@ -10673,7 +12132,7 @@"type": {"type": "reflection","declaration": {- "id": 336,+ "id": 388,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10682,7 +12141,7 @@},"children": [{- "id": 343,+ "id": 395,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -10696,7 +12155,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 60,+ "line": 61,"character": 20}],@@ -10719,7 +12178,7 @@}},{- "id": 346,+ "id": 398,"name": "cookieOptions","kind": 32,"kindString": "Variable",@@ -10730,18 +12189,18 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 63,+ "line": 64,"character": 17}],"type": {"type": "reference",- "id": 92,+ "id": 97,"name": "CookieOptions"}},{- "id": 342,+ "id": 394,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -10755,7 +12214,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 59,+ "line": 60,"character": 22}],@@ -10778,7 +12237,7 @@}},{- "id": 338,+ "id": 390,"name": "headers","kind": 32,"kindString": "Variable",@@ -10792,7 +12251,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 58,+ "line": 59,"character": 11}],@@ -10806,7 +12265,7 @@{"type": "reflection","declaration": {- "id": 339,+ "id": 391,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10815,7 +12274,7 @@},"indexSignature": [{- "id": 340,+ "id": 392,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -10824,7 +12283,7 @@},"parameters": [{- "id": 341,+ "id": 393,"name": "key","kind": 32768,"kindString": "Parameter",@@ -10849,7 +12308,7 @@}},{- "id": 345,+ "id": 397,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -10863,7 +12322,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 62,+ "line": 63,"character": 16}],@@ -10873,7 +12332,7 @@}},{- "id": 344,+ "id": 396,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -10887,7 +12346,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 61,+ "line": 62,"character": 18}],@@ -10910,7 +12369,7 @@}},{- "id": 337,+ "id": 389,"name": "url","kind": 32,"kindString": "Variable",@@ -10924,7 +12383,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 57,+ "line": 58,"character": 7}],@@ -10948,20 +12407,20 @@"title": "Variables","kind": 32,"children": [- 343,- 346,- 342,- 338,- 345,- 344,- 337+ 395,+ 398,+ 394,+ 390,+ 397,+ 396,+ 389]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 56,+ "line": 57,"character": 22}]@@ -10971,7 +12430,7 @@],"type": {"type": "reference",- "id": 324,+ "id": 376,"name": "GoTrueClient"}}@@ -10979,13 +12438,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 45,+ "line": 46,"character": 61}]},{- "id": 325,+ "id": 377,"name": "api","kind": 1024,"kindString": "Property",@@ -10998,18 +12457,18 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 31,+ "line": 32,"character": 5}],"type": {"type": "reference",- "id": 198,+ "id": 207,"name": "GoTrueApi"}},{- "id": 328,+ "id": 380,"name": "autoRefreshToken","kind": 1024,"kindString": "Property",@@ -11020,7 +12479,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 41,+ "line": 42,"character": 28}],@@ -11030,7 +12489,7 @@}},{- "id": 327,+ "id": 379,"name": "currentSession","kind": 1024,"kindString": "Property",@@ -11044,7 +12503,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 39,+ "line": 40,"character": 26}],@@ -11064,7 +12523,7 @@}},{- "id": 326,+ "id": 378,"name": "currentUser","kind": 1024,"kindString": "Property",@@ -11078,7 +12537,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 35,+ "line": 36,"character": 23}],@@ -11098,7 +12557,7 @@}},{- "id": 330,+ "id": 382,"name": "localStorage","kind": 1024,"kindString": "Property",@@ -11109,7 +12568,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 43,+ "line": 44,"character": 24}],@@ -11119,7 +12578,7 @@}},{- "id": 329,+ "id": 381,"name": "persistSession","kind": 1024,"kindString": "Property",@@ -11130,7 +12589,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 42,+ "line": 43,"character": 26}],@@ -11140,7 +12599,7 @@}},{- "id": 332,+ "id": 384,"name": "refreshTokenTimer","kind": 1024,"kindString": "Property",@@ -11152,7 +12611,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 45,+ "line": 46,"character": 29}],@@ -11171,7 +12630,7 @@}},{- "id": 331,+ "id": 383,"name": "stateChangeEmitters","kind": 1024,"kindString": "Property",@@ -11182,7 +12641,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 44,+ "line": 45,"character": 31}],@@ -11195,7 +12654,7 @@},{"type": "reference",- "id": 82,+ "id": 87,"name": "Subscription"}],@@ -11204,7 +12663,7 @@"defaultValue": "new Map()"},{- "id": 468,+ "id": 550,"name": "_callRefreshToken","kind": 2048,"kindString": "Method",@@ -11214,7 +12673,7 @@},"signatures": [{- "id": 469,+ "id": 551,"name": "_callRefreshToken","kind": 4096,"kindString": "Call signature",@@ -11223,7 +12682,7 @@},"parameters": [{- "id": 470,+ "id": 552,"name": "refresh_token","kind": 32768,"kindString": "Parameter",@@ -11255,7 +12714,275 @@{"type": "reflection","declaration": {- "id": 471,+ "id": 553,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 554,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 610,+ "character": 19+ }+ ],+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ }+ },+ {+ "id": 555,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 610,+ "character": 26+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 554,+ 555+ ]+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 556,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 557,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 612,+ "character": 19+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 558,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 612,+ "character": 32+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 557,+ 558+ ]+ }+ ]+ }+ }+ ]+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 598,+ "character": 33+ }+ ]+ },+ {+ "id": 496,+ "name": "_handleEmailSignIn",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 497,+ "name": "_handleEmailSignIn",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 498,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 499,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 500,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 501,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 502,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 473,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 502+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 472,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 503,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11264,7 +12991,7 @@},"children": [{- "id": 472,+ "id": 504,"name": "data","kind": 32,"kindString": "Variable",@@ -11274,7 +13001,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 532,+ "line": 487,"character": 19}],@@ -11285,7 +13012,7 @@}},{- "id": 473,+ "id": 507,"name": "error","kind": 32,"kindString": "Variable",@@ -11295,8 +13022,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 532,- "character": 26+ "line": 487,+ "character": 58}],"type": {@@ -11304,6 +13031,59 @@"name": "null"},"defaultValue": "null"+ },+ {+ "id": 506,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 487,+ "character": 45+ }+ ],+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ "defaultValue": "data"+ },+ {+ "id": 505,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 487,+ "character": 25+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "null"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ }+ ]+ },+ "defaultValue": "data.user"}],"groups": [@@ -11311,8 +13091,10 @@"title": "Variables","kind": 32,"children": [- 472,- 473+ 504,+ 507,+ 506,+ 505]}]@@ -11321,7 +13103,7 @@{"type": "reflection","declaration": {- "id": 474,+ "id": 508,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11330,7 +13112,7 @@},"children": [{- "id": 475,+ "id": 509,"name": "data","kind": 32,"kindString": "Variable",@@ -11340,7 +13122,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 534,+ "line": 489,"character": 19}],@@ -11351,7 +13133,7 @@"defaultValue": "null"},{- "id": 476,+ "id": 512,"name": "error","kind": 32,"kindString": "Variable",@@ -11361,14 +13143,56 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 534,- "character": 32+ "line": 489,+ "character": 59}],"type": {"type": "intrinsic","name": "any"}+ },+ {+ "id": 511,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 489,+ "character": 46+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 510,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 489,+ "character": 31+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"}],"groups": [@@ -11376,8 +13200,10 @@"title": "Variables","kind": 32,"children": [- 475,- 476+ 509,+ 512,+ 511,+ 510]}]@@ -11393,14 +13219,14 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 520,- "character": 33+ "line": 469,+ "character": 34}]},{- "id": 428,- "name": "_handleEmailSignIn",+ "id": 513,+ "name": "_handlePhoneSignIn","kind": 2048,"kindString": "Method","flags": {@@ -11409,8 +13235,8 @@},"signatures": [{- "id": 429,- "name": "_handleEmailSignIn",+ "id": 514,+ "name": "_handlePhoneSignIn","kind": 4096,"kindString": "Call signature","flags": {@@ -11418,8 +13244,8 @@},"parameters": [{- "id": 430,- "name": "email",+ "id": 515,+ "name": "phone","kind": 32768,"kindString": "Parameter","flags": {@@ -11431,7 +13257,7 @@}},{- "id": 431,+ "id": 516,"name": "password","kind": 32768,"kindString": "Parameter",@@ -11442,76 +13268,6 @@"type": "intrinsic","name": "string"}- },- {- "id": 432,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "reflection",- "declaration": {- "id": 433,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 434,- "name": "redirectTo",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 411,- "character": 16- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 434- ]- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 410,- "character": 12- }- ]- }- },- "defaultValue": "{}"}],"type": {@@ -11523,7 +13279,7 @@{"type": "reflection","declaration": {- "id": 435,+ "id": 517,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11532,7 +13288,7 @@},"children": [{- "id": 436,+ "id": 518,"name": "data","kind": 32,"kindString": "Variable",@@ -11542,7 +13298,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 425,+ "line": 503,"character": 19}],@@ -11553,7 +13309,7 @@}},{- "id": 439,+ "id": 521,"name": "error","kind": 32,"kindString": "Variable",@@ -11563,7 +13319,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 425,+ "line": 503,"character": 58}],@@ -11574,7 +13330,7 @@"defaultValue": "null"},{- "id": 438,+ "id": 520,"name": "session","kind": 32,"kindString": "Variable",@@ -11584,7 +13340,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 425,+ "line": 503,"character": 45}],@@ -11596,7 +13352,7 @@"defaultValue": "data"},{- "id": 437,+ "id": 519,"name": "user","kind": 32,"kindString": "Variable",@@ -11606,7 +13362,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 425,+ "line": 503,"character": 25}],@@ -11632,10 +13388,10 @@"title": "Variables","kind": 32,"children": [- 436,- 439,- 438,- 437+ 518,+ 521,+ 520,+ 519]}]@@ -11644,7 +13400,7 @@{"type": "reflection","declaration": {- "id": 440,+ "id": 522,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11653,7 +13409,7 @@},"children": [{- "id": 441,+ "id": 523,"name": "data","kind": 32,"kindString": "Variable",@@ -11663,7 +13419,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 427,+ "line": 505,"character": 19}],@@ -11674,7 +13430,7 @@"defaultValue": "null"},{- "id": 444,+ "id": 526,"name": "error","kind": 32,"kindString": "Variable",@@ -11684,7 +13440,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 427,+ "line": 505,"character": 59}],@@ -11694,7 +13450,7 @@}},{- "id": 443,+ "id": 525,"name": "session","kind": 32,"kindString": "Variable",@@ -11704,7 +13460,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 427,+ "line": 505,"character": 46}],@@ -11715,7 +13471,7 @@"defaultValue": "null"},{- "id": 442,+ "id": 524,"name": "user","kind": 32,"kindString": "Variable",@@ -11725,7 +13481,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 427,+ "line": 505,"character": 31}],@@ -11741,10 +13497,10 @@"title": "Variables","kind": 32,"children": [- 441,- 444,- 443,- 442+ 523,+ 526,+ 525,+ 524]}]@@ -11760,13 +13516,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 407,+ "line": 493,"character": 34}]},{- "id": 445,+ "id": 527,"name": "_handleProviderSignIn","kind": 2048,"kindString": "Method",@@ -11776,7 +13532,7 @@},"signatures": [{- "id": 446,+ "id": 528,"name": "_handleProviderSignIn","kind": 4096,"kindString": "Call signature",@@ -11785,7 +13541,7 @@},"parameters": [{- "id": 447,+ "id": 529,"name": "provider","kind": 32768,"kindString": "Parameter",@@ -11794,12 +13550,12 @@},"type": {"type": "reference",- "id": 103,+ "id": 112,"name": "Provider"}},{- "id": 448,+ "id": 530,"name": "options","kind": 32768,"kindString": "Parameter",@@ -11809,7 +13565,7 @@"type": {"type": "reflection","declaration": {- "id": 449,+ "id": 531,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11818,7 +13574,7 @@},"children": [{- "id": 450,+ "id": 532,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -11829,7 +13585,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 434,+ "line": 512,"character": 16}],@@ -11848,7 +13604,7 @@}},{- "id": 451,+ "id": 533,"name": "scopes","kind": 32,"kindString": "Variable",@@ -11859,7 +13615,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 435,+ "line": 513,"character": 12}],@@ -11883,15 +13639,15 @@"title": "Variables","kind": 32,"children": [- 450,- 451+ 532,+ 533]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 433,+ "line": 511,"character": 12}]@@ -11906,7 +13662,7 @@{"type": "reflection","declaration": {- "id": 452,+ "id": 534,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -11915,7 +13671,7 @@},"children": [{- "id": 455,+ "id": 537,"name": "data","kind": 32,"kindString": "Variable",@@ -11925,7 +13681,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 448,+ "line": 526,"character": 34}],@@ -11936,7 +13692,7 @@"defaultValue": "null"},{- "id": 458,+ "id": 540,"name": "error","kind": 32,"kindString": "Variable",@@ -11946,7 +13702,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 448,+ "line": 526,"character": 74}],@@ -11957,7 +13713,7 @@"defaultValue": "null"},{- "id": 453,+ "id": 535,"name": "provider","kind": 32,"kindString": "Variable",@@ -11967,18 +13723,18 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 448,+ "line": 526,"character": 23}],"type": {"type": "reference",- "id": 103,+ "id": 112,"name": "Provider"}},{- "id": 456,+ "id": 538,"name": "session","kind": 32,"kindString": "Variable",@@ -11988,7 +13744,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 448,+ "line": 526,"character": 49}],@@ -11999,7 +13755,7 @@"defaultValue": "null"},{- "id": 454,+ "id": 536,"name": "url","kind": 32,"kindString": "Variable",@@ -12009,7 +13765,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 448,+ "line": 526,"character": 28}],@@ -12019,7 +13775,7 @@}},{- "id": 457,+ "id": 539,"name": "user","kind": 32,"kindString": "Variable",@@ -12029,7 +13785,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 448,+ "line": 526,"character": 61}],@@ -12045,12 +13801,12 @@"title": "Variables","kind": 32,"children": [- 455,- 458,- 453,- 456,- 454,- 457+ 537,+ 540,+ 535,+ 538,+ 536,+ 539]}]@@ -12059,7 +13815,7 @@{"type": "reflection","declaration": {- "id": 459,+ "id": 541,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -12068,7 +13824,7 @@},"children": [{- "id": 460,+ "id": 542,"name": "data","kind": 32,"kindString": "Variable",@@ -12078,7 +13834,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 452,+ "line": 530,"character": 19}],@@ -12089,7 +13845,7 @@"defaultValue": "null"},{- "id": 463,+ "id": 545,"name": "error","kind": 32,"kindString": "Variable",@@ -12099,7 +13855,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 452,+ "line": 530,"character": 59}],@@ -12109,7 +13865,7 @@}},{- "id": 462,+ "id": 544,"name": "session","kind": 32,"kindString": "Variable",@@ -12119,7 +13875,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 452,+ "line": 530,"character": 46}],@@ -12130,7 +13886,7 @@"defaultValue": "null"},{- "id": 461,+ "id": 543,"name": "user","kind": 32,"kindString": "Variable",@@ -12140,7 +13896,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 452,+ "line": 530,"character": 31}],@@ -12156,10 +13912,10 @@"title": "Variables","kind": 32,"children": [- 460,- 463,- 462,- 461+ 542,+ 545,+ 544,+ 543]}]@@ -12172,13 +13928,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 431,+ "line": 509,"character": 31}]},{- "id": 477,+ "id": 559,"name": "_notifyAllSubscribers","kind": 2048,"kindString": "Method",@@ -12188,7 +13944,7 @@},"signatures": [{- "id": 478,+ "id": 560,"name": "_notifyAllSubscribers","kind": 4096,"kindString": "Call signature",@@ -12197,7 +13953,7 @@},"parameters": [{- "id": 479,+ "id": 561,"name": "event","kind": 32768,"kindString": "Parameter",@@ -12206,7 +13962,7 @@},"type": {"type": "reference",- "id": 104,+ "id": 113,"name": "AuthChangeEvent"}}@@ -12220,13 +13976,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 538,+ "line": 616,"character": 31}]},{- "id": 483,+ "id": 565,"name": "_persistSession","kind": 2048,"kindString": "Method",@@ -12236,7 +13992,7 @@},"signatures": [{- "id": 484,+ "id": 566,"name": "_persistSession","kind": 4096,"kindString": "Call signature",@@ -12245,7 +14001,7 @@},"parameters": [{- "id": 485,+ "id": 567,"name": "currentSession","kind": 32768,"kindString": "Parameter",@@ -12268,13 +14024,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 565,+ "line": 643,"character": 25}]},{- "id": 466,+ "id": 548,"name": "_recoverAndRefresh","kind": 2048,"kindString": "Method",@@ -12284,7 +14040,7 @@},"signatures": [{- "id": 467,+ "id": 549,"name": "_recoverAndRefresh","kind": 4096,"kindString": "Call signature",@@ -12318,13 +14074,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 484,+ "line": 562,"character": 34}]},{- "id": 464,+ "id": 546,"name": "_recoverSession","kind": 2048,"kindString": "Method",@@ -12334,7 +14090,7 @@},"signatures": [{- "id": 465,+ "id": 547,"name": "_recoverSession","kind": 4096,"kindString": "Call signature",@@ -12362,13 +14118,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 460,+ "line": 538,"character": 25}]},{- "id": 486,+ "id": 568,"name": "_removeSession","kind": 2048,"kindString": "Method",@@ -12378,7 +14134,7 @@},"signatures": [{- "id": 487,+ "id": 569,"name": "_removeSession","kind": 4096,"kindString": "Call signature",@@ -12400,13 +14156,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 570,+ "line": 648,"character": 30}]},{- "id": 480,+ "id": 562,"name": "_saveSession","kind": 2048,"kindString": "Method",@@ -12416,7 +14172,7 @@},"signatures": [{- "id": 481,+ "id": 563,"name": "_saveSession","kind": 4096,"kindString": "Call signature",@@ -12428,7 +14184,7 @@},"parameters": [{- "id": 482,+ "id": 564,"name": "session","kind": 32768,"kindString": "Parameter",@@ -12451,13 +14207,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 546,+ "line": 624,"character": 22}]},{- "id": 488,+ "id": 570,"name": "_startAutoRefreshToken","kind": 2048,"kindString": "Method",@@ -12467,7 +14223,7 @@},"signatures": [{- "id": 489,+ "id": 571,"name": "_startAutoRefreshToken","kind": 4096,"kindString": "Call signature",@@ -12479,7 +14235,7 @@},"parameters": [{- "id": 490,+ "id": 572,"name": "value","kind": 32768,"kindString": "Parameter",@@ -12504,13 +14260,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 581,+ "line": 659,"character": 32}]},{- "id": 406,+ "id": 474,"name": "getSessionFromUrl","kind": 2048,"kindString": "Method",@@ -12519,7 +14275,7 @@},"signatures": [{- "id": 407,+ "id": 475,"name": "getSessionFromUrl","kind": 4096,"kindString": "Call signature",@@ -12531,7 +14287,7 @@},"parameters": [{- "id": 408,+ "id": 476,"name": "options","kind": 32768,"kindString": "Parameter",@@ -12549,7 +14305,7 @@{"type": "reflection","declaration": {- "id": 409,+ "id": 477,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -12558,7 +14314,7 @@},"children": [{- "id": 410,+ "id": 478,"name": "storeSession","kind": 32,"kindString": "Variable",@@ -12572,7 +14328,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 317,+ "line": 379,"character": 16}],@@ -12600,7 +14356,7 @@"title": "Variables","kind": 32,"children": [- 410+ 478]}]@@ -12616,7 +14372,7 @@{"type": "reflection","declaration": {- "id": 411,+ "id": 479,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -12625,7 +14381,7 @@},"children": [{- "id": 412,+ "id": 480,"name": "data","kind": 32,"kindString": "Variable",@@ -12635,7 +14391,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 318,+ "line": 380,"character": 20}],@@ -12655,7 +14411,7 @@}},{- "id": 413,+ "id": 481,"name": "error","kind": 32,"kindString": "Variable",@@ -12665,7 +14421,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 318,+ "line": 380,"character": 43}],@@ -12689,15 +14445,15 @@"title": "Variables","kind": 32,"children": [- 412,- 413+ 480,+ 481]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 318,+ "line": 380,"character": 14}]@@ -12711,13 +14467,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 316,+ "line": 378,"character": 25}]},{- "id": 418,+ "id": 486,"name": "onAuthStateChange","kind": 2048,"kindString": "Method",@@ -12726,7 +14482,7 @@},"signatures": [{- "id": 419,+ "id": 487,"name": "onAuthStateChange","kind": 4096,"kindString": "Call signature",@@ -12739,7 +14495,7 @@},"parameters": [{- "id": 420,+ "id": 488,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -12749,7 +14505,7 @@"type": {"type": "reflection","declaration": {- "id": 421,+ "id": 489,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -12758,7 +14514,7 @@},"signatures": [{- "id": 422,+ "id": 490,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -12767,7 +14523,7 @@},"parameters": [{- "id": 423,+ "id": 491,"name": "event","kind": 32768,"kindString": "Parameter",@@ -12776,12 +14532,12 @@},"type": {"type": "reference",- "id": 104,+ "id": 113,"name": "AuthChangeEvent"}},{- "id": 424,+ "id": 492,"name": "session","kind": 32768,"kindString": "Parameter",@@ -12813,7 +14569,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 388,+ "line": 450,"character": 13}]@@ -12824,7 +14580,7 @@"type": {"type": "reflection","declaration": {- "id": 425,+ "id": 493,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -12833,7 +14589,7 @@},"children": [{- "id": 426,+ "id": 494,"name": "data","kind": 32,"kindString": "Variable",@@ -12843,7 +14599,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 389,+ "line": 451,"character": 11}],@@ -12852,7 +14608,7 @@"types": [{"type": "reference",- "id": 82,+ "id": 87,"name": "Subscription"},{@@ -12863,7 +14619,7 @@}},{- "id": 427,+ "id": 495,"name": "error","kind": 32,"kindString": "Variable",@@ -12873,7 +14629,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 389,+ "line": 451,"character": 39}],@@ -12897,15 +14653,15 @@"title": "Variables","kind": 32,"children": [- 426,- 427+ 494,+ 495]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 389,+ "line": 451,"character": 4}]@@ -12916,13 +14672,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 387,+ "line": 449,"character": 19}]},{- "id": 384,+ "id": 452,"name": "refreshSession","kind": 2048,"kindString": "Method",@@ -12931,7 +14687,7 @@},"signatures": [{- "id": 385,+ "id": 453,"name": "refreshSession","kind": 4096,"kindString": "Call signature",@@ -12947,7 +14703,7 @@{"type": "reflection","declaration": {- "id": 386,+ "id": 454,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -12956,7 +14712,7 @@},"children": [{- "id": 387,+ "id": 455,"name": "data","kind": 32,"kindString": "Variable",@@ -12966,7 +14722,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 224,+ "line": 286,"character": 8}],@@ -12986,7 +14742,7 @@}},{- "id": 389,+ "id": 457,"name": "error","kind": 32,"kindString": "Variable",@@ -12996,7 +14752,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 226,+ "line": 288,"character": 9}],@@ -13015,7 +14771,7 @@}},{- "id": 388,+ "id": 456,"name": "user","kind": 32,"kindString": "Variable",@@ -13025,7 +14781,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 225,+ "line": 287,"character": 8}],@@ -13050,16 +14806,16 @@"title": "Variables","kind": 32,"children": [- 387,- 389,- 388+ 455,+ 457,+ 456]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 223,+ "line": 285,"character": 34}]@@ -13073,13 +14829,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 223,+ "line": 285,"character": 22}]},{- "id": 382,+ "id": 450,"name": "session","kind": 2048,"kindString": "Method",@@ -13088,7 +14844,7 @@},"signatures": [{- "id": 383,+ "id": 451,"name": "session","kind": 4096,"kindString": "Call signature",@@ -13117,13 +14873,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 216,+ "line": 278,"character": 9}]},{- "id": 403,+ "id": 471,"name": "setAuth","kind": 2048,"kindString": "Method",@@ -13132,7 +14888,7 @@},"signatures": [{- "id": 404,+ "id": 472,"name": "setAuth","kind": 4096,"kindString": "Call signature",@@ -13144,7 +14900,7 @@},"parameters": [{- "id": 405,+ "id": 473,"name": "access_token","kind": 32768,"kindString": "Parameter",@@ -13170,13 +14926,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 301,+ "line": 363,"character": 9}]},{- "id": 397,+ "id": 465,"name": "setSession","kind": 2048,"kindString": "Method",@@ -13185,7 +14941,7 @@},"signatures": [{- "id": 398,+ "id": 466,"name": "setSession","kind": 4096,"kindString": "Call signature",@@ -13197,7 +14953,7 @@},"parameters": [{- "id": 399,+ "id": 467,"name": "refresh_token","kind": 32768,"kindString": "Parameter",@@ -13219,7 +14975,7 @@{"type": "reflection","declaration": {- "id": 400,+ "id": 468,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -13228,7 +14984,7 @@},"children": [{- "id": 402,+ "id": 470,"name": "error","kind": 32,"kindString": "Variable",@@ -13238,7 +14994,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 273,+ "line": 335,"character": 45}],@@ -13257,7 +15013,7 @@}},{- "id": 401,+ "id": 469,"name": "session","kind": 32,"kindString": "Variable",@@ -13267,7 +15023,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 273,+ "line": 335,"character": 22}],@@ -13292,15 +15048,15 @@"title": "Variables","kind": 32,"children": [- 402,- 401+ 470,+ 469]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 273,+ "line": 335,"character": 13}]@@ -13314,13 +15070,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 271,+ "line": 333,"character": 18}]},{- "id": 361,+ "id": 414,"name": "signIn","kind": 2048,"kindString": "Method",@@ -13329,7 +15085,7 @@},"signatures": [{- "id": 362,+ "id": 415,"name": "signIn","kind": 4096,"kindString": "Call signature",@@ -13341,7 +15097,7 @@},"parameters": [{- "id": 363,+ "id": 416,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -13352,7 +15108,7 @@"type": {"type": "reflection","declaration": {- "id": 364,+ "id": 417,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -13361,7 +15117,7 @@},"children": [{- "id": 365,+ "id": 418,"name": "email","kind": 32,"kindString": "Variable",@@ -13374,7 +15130,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 153,+ "line": 158,"character": 11}],@@ -13393,7 +15149,7 @@}},{- "id": 366,+ "id": 420,"name": "password","kind": 32,"kindString": "Variable",@@ -13406,8 +15162,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 153,- "character": 21+ "line": 158,+ "character": 28}],"type": {@@ -13425,7 +15181,36 @@}},{- "id": 368,+ "id": 419,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 158,+ "character": 18+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 422,"name": "provider","kind": 32,"kindString": "Variable",@@ -13438,8 +15223,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 153,- "character": 45+ "line": 158,+ "character": 52}],"type": {@@ -13484,12 +15269,16 @@{"type": "stringLiteral","value": "discord"+ },+ {+ "type": "stringLiteral",+ "value": "twitch"}]}},{- "id": 367,+ "id": 421,"name": "refreshToken","kind": 32,"kindString": "Variable",@@ -13502,8 +15291,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 153,- "character": 35+ "line": 158,+ "character": 42}],"type": {@@ -13526,17 +15315,18 @@"title": "Variables","kind": 32,"children": [- 365,- 366,- 368,- 367+ 418,+ 420,+ 419,+ 422,+ 421]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 152,+ "line": 157,"character": 15}]@@ -13544,7 +15334,7 @@}},{- "id": 369,+ "id": 423,"name": "options","kind": 32768,"kindString": "Parameter",@@ -13554,7 +15344,7 @@"type": {"type": "reflection","declaration": {- "id": 370,+ "id": 424,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -13563,7 +15353,7 @@},"children": [{- "id": 371,+ "id": 425,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -13574,7 +15364,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 155,+ "line": 160,"character": 16}],@@ -13593,7 +15383,7 @@}},{- "id": 372,+ "id": 426,"name": "scopes","kind": 32,"kindString": "Variable",@@ -13604,7 +15394,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 156,+ "line": 161,"character": 12}],@@ -13628,15 +15418,15 @@"title": "Variables","kind": 32,"children": [- 371,- 372+ 425,+ 426]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 154,+ "line": 159,"character": 12}]@@ -13651,7 +15441,7 @@{"type": "reflection","declaration": {- "id": 373,+ "id": 427,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -13660,7 +15450,7 @@},"children": [{- "id": 379,+ "id": 433,"name": "data","kind": 32,"kindString": "Variable",@@ -13670,7 +15460,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 164,+ "line": 169,"character": 8}],@@ -13690,7 +15480,7 @@}},{- "id": 378,+ "id": 432,"name": "error","kind": 32,"kindString": "Variable",@@ -13700,7 +15490,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 163,+ "line": 168,"character": 9}],@@ -13719,7 +15509,7 @@}},{- "id": 376,+ "id": 430,"name": "provider","kind": 32,"kindString": "Variable",@@ -13730,18 +15520,18 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 161,+ "line": 166,"character": 12}],"type": {"type": "reference",- "id": 103,+ "id": 112,"name": "Provider"}},{- "id": 374,+ "id": 428,"name": "session","kind": 32,"kindString": "Variable",@@ -13751,7 +15541,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 159,+ "line": 164,"character": 11}],@@ -13771,7 +15561,7 @@}},{- "id": 377,+ "id": 431,"name": "url","kind": 32,"kindString": "Variable",@@ -13782,7 +15572,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 162,+ "line": 167,"character": 7}],@@ -13801,7 +15591,7 @@}},{- "id": 375,+ "id": 429,"name": "user","kind": 32,"kindString": "Variable",@@ -13811,7 +15601,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 160,+ "line": 165,"character": 8}],@@ -13836,19 +15626,19 @@"title": "Variables","kind": 32,"children": [- 379,- 378,- 376,- 374,- 377,- 375+ 433,+ 432,+ 430,+ 428,+ 431,+ 429]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 158,+ "line": 163,"character": 13}]@@ -13862,13 +15652,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 152,+ "line": 157,"character": 14}]},{- "id": 414,+ "id": 482,"name": "signOut","kind": 2048,"kindString": "Method",@@ -13877,7 +15667,7 @@},"signatures": [{- "id": 415,+ "id": 483,"name": "signOut","kind": 4096,"kindString": "Call signature",@@ -13885,7 +15675,7 @@"isExported": true},"comment": {- "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.","text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"},"type": {@@ -13894,7 +15684,7 @@{"type": "reflection","declaration": {- "id": 416,+ "id": 484,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -13903,7 +15693,7 @@},"children": [{- "id": 417,+ "id": 485,"name": "error","kind": 32,"kindString": "Variable",@@ -13913,7 +15703,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 372,+ "line": 434,"character": 34}],@@ -13937,14 +15727,14 @@"title": "Variables","kind": 32,"children": [- 417+ 485]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 372,+ "line": 434,"character": 27}]@@ -13958,13 +15748,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 372,+ "line": 434,"character": 15}]},{- "id": 347,+ "id": 399,"name": "signUp","kind": 2048,"kindString": "Method",@@ -13973,7 +15763,7 @@},"signatures": [{- "id": 348,+ "id": 400,"name": "signUp","kind": 4096,"kindString": "Call signature",@@ -13985,7 +15775,7 @@},"parameters": [{- "id": 349,+ "id": 401,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -13996,7 +15786,7 @@"type": {"type": "reflection","declaration": {- "id": 350,+ "id": 402,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -14005,7 +15795,7 @@},"children": [{- "id": 351,+ "id": 403,"name": "email","kind": 32,"kindString": "Variable",@@ -14018,7 +15808,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 97,+ "line": 99,"character": 11}],@@ -14037,7 +15827,7 @@}},{- "id": 352,+ "id": 404,"name": "password","kind": 32,"kindString": "Variable",@@ -14050,7 +15840,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 97,+ "line": 99,"character": 21}],@@ -14067,6 +15857,38 @@}]}+ },+ {+ "id": 405,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 99,+ "character": 28+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }}],"groups": [@@ -14074,15 +15896,16 @@"title": "Variables","kind": 32,"children": [- 351,- 352+ 403,+ 404,+ 405]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 96,+ "line": 98,"character": 15}]@@ -14090,7 +15913,7 @@}},{- "id": 353,+ "id": 406,"name": "options","kind": 32768,"kindString": "Parameter",@@ -14100,7 +15923,7 @@"type": {"type": "reflection","declaration": {- "id": 354,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -14109,7 +15932,7 @@},"children": [{- "id": 355,+ "id": 408,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -14120,7 +15943,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 99,+ "line": 101,"character": 16}],@@ -14144,14 +15967,14 @@"title": "Variables","kind": 32,"children": [- 355+ 408]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 98,+ "line": 100,"character": 12}]@@ -14166,7 +15989,7 @@{"type": "reflection","declaration": {- "id": 356,+ "id": 409,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -14175,7 +15998,7 @@},"children": [{- "id": 360,+ "id": 413,"name": "data","kind": 32,"kindString": "Variable",@@ -14185,7 +16008,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 105,+ "line": 107,"character": 8}],@@ -14210,7 +16033,7 @@}},{- "id": 359,+ "id": 412,"name": "error","kind": 32,"kindString": "Variable",@@ -14220,7 +16043,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 104,+ "line": 106,"character": 9}],@@ -14239,7 +16062,7 @@}},{- "id": 358,+ "id": 411,"name": "session","kind": 32,"kindString": "Variable",@@ -14249,7 +16072,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 103,+ "line": 105,"character": 11}],@@ -14269,7 +16092,7 @@}},{- "id": 357,+ "id": 410,"name": "user","kind": 32,"kindString": "Variable",@@ -14279,7 +16102,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 102,+ "line": 104,"character": 8}],@@ -14304,17 +16127,17 @@"title": "Variables","kind": 32,"children": [- 360,- 359,- 358,- 357+ 413,+ 412,+ 411,+ 410]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 101,+ "line": 103,"character": 13}]@@ -14328,13 +16151,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 96,+ "line": 98,"character": 14}]},{- "id": 390,+ "id": 458,"name": "update","kind": 2048,"kindString": "Method",@@ -14343,7 +16166,7 @@},"signatures": [{- "id": 391,+ "id": 459,"name": "update","kind": 4096,"kindString": "Call signature",@@ -14355,7 +16178,7 @@},"parameters": [{- "id": 392,+ "id": 460,"name": "attributes","kind": 32768,"kindString": "Parameter",@@ -14364,7 +16187,7 @@},"type": {"type": "reference",- "id": 77,+ "id": 82,"name": "UserAttributes"}}@@ -14375,7 +16198,7 @@{"type": "reflection","declaration": {- "id": 393,+ "id": 461,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -14384,7 +16207,7 @@},"children": [{- "id": 394,+ "id": 462,"name": "data","kind": 32,"kindString": "Variable",@@ -14394,7 +16217,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,+ "line": 308,"character": 19}],@@ -14414,7 +16237,7 @@}},{- "id": 396,+ "id": 464,"name": "error","kind": 32,"kindString": "Variable",@@ -14424,7 +16247,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,+ "line": 308,"character": 58}],@@ -14443,7 +16266,7 @@}},{- "id": 395,+ "id": 463,"name": "user","kind": 32,"kindString": "Variable",@@ -14453,7 +16276,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,+ "line": 308,"character": 38}],@@ -14478,16 +16301,16 @@"title": "Variables","kind": 32,"children": [- 394,- 396,- 395+ 462,+ 464,+ 463]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,+ "line": 308,"character": 13}]@@ -14501,13 +16324,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 244,+ "line": 306,"character": 14}]},{- "id": 380,+ "id": 448,"name": "user","kind": 2048,"kindString": "Method",@@ -14516,7 +16339,7 @@},"signatures": [{- "id": 381,+ "id": 449,"name": "user","kind": 4096,"kindString": "Call signature",@@ -14546,10 +16369,362 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 209,+ "line": 271,"character": 6}]+ },+ {+ "id": 434,+ "name": "verifyOTP",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 435,+ "name": "verifyOTP",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Log in a user given a User supplied OTP received via mobile."+ },+ "parameters": [+ {+ "id": 436,+ "name": "__namedParameters",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "originalName": "__0",+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 437,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 438,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 223,+ "character": 11+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 439,+ "name": "token",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's password."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 223,+ "character": 18+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 438,+ 439+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 222,+ "character": 18+ }+ ]+ }+ }+ },+ {+ "id": 440,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 441,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 442,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 225,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 442+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 224,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 443,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 447,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 231,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 446,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 230,+ "character": 9+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 445,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 229,+ "character": 11+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 444,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 228,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 447,+ 446,+ 445,+ 444+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 227,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 222,+ "character": 17+ }+ ]}],"groups": [@@ -14557,61 +16732,63 @@"title": "Constructors","kind": 512,"children": [- 333+ 385]},{"title": "Properties","kind": 1024,"children": [- 325,- 328,- 327,- 326,- 330,- 329,- 332,- 331+ 377,+ 380,+ 379,+ 378,+ 382,+ 381,+ 384,+ 383]},{"title": "Methods","kind": 2048,"children": [- 468,- 428,- 445,- 477,- 483,- 466,- 464,+ 550,+ 496,+ 513,+ 527,+ 559,+ 565,+ 548,+ 546,+ 568,+ 562,+ 570,+ 474,486,- 480,- 488,- 406,- 418,- 384,- 382,- 403,- 397,- 361,+ 452,+ 450,+ 471,+ 465,414,- 347,- 390,- 380+ 482,+ 399,+ 458,+ 448,+ 434]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 26,+ "line": 27,"character": 33}]},{- "id": 491,+ "id": 573,"name": "DEFAULT_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -14620,7 +16797,7 @@},"children": [{- "id": 493,+ "id": 575,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -14628,7 +16805,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 20,+ "line": 21,"character": 18}],@@ -14639,7 +16816,7 @@"defaultValue": "true"},{- "id": 496,+ "id": 578,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -14647,7 +16824,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 23,+ "line": 24,"character": 20}],@@ -14658,7 +16835,7 @@"defaultValue": "true"},{- "id": 497,+ "id": 579,"name": "headers","kind": 32,"kindString": "Variable",@@ -14666,14 +16843,14 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 24,+ "line": 25,"character": 9}],"type": {"type": "reflection","declaration": {- "id": 498,+ "id": 580,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -14683,7 +16860,7 @@"defaultValue": "DEFAULT_HEADERS"},{- "id": 495,+ "id": 577,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -14691,7 +16868,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 22,+ "line": 23,"character": 14}],@@ -14702,7 +16879,7 @@"defaultValue": "globalThis.localStorage"},{- "id": 494,+ "id": 576,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -14710,7 +16887,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 21,+ "line": 22,"character": 16}],@@ -14721,7 +16898,7 @@"defaultValue": "true"},{- "id": 492,+ "id": 574,"name": "url","kind": 32,"kindString": "Variable",@@ -14729,7 +16906,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 19,+ "line": 20,"character": 5}],@@ -14745,19 +16922,19 @@"title": "Variables","kind": 32,"children": [- 493,- 496,- 497,- 495,- 494,- 492+ 575,+ 578,+ 579,+ 577,+ 576,+ 574]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 18,+ "line": 19,"character": 21}],@@ -14772,14 +16949,14 @@"title": "Classes","kind": 128,"children": [- 324+ 376]},{"title": "Object literals","kind": 2097152,"children": [- 491+ 573]}],@@ -14792,7 +16969,7 @@]},{- "id": 499,+ "id": 581,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -14802,37 +16979,37 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts","children": [{- "id": 501,+ "id": 583,"name": "AuthChangeEvent","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 104+ "target": 113},{- "id": 506,+ "id": 588,"name": "CookieOptions","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 92+ "target": 97},{- "id": 500,+ "id": 582,"name": "Provider","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 103+ "target": 112},{- "id": 502,+ "id": 584,"name": "Session","kind": 16777216,"kindString": "Reference",@@ -14842,17 +17019,17 @@"target": 50},{- "id": 505,+ "id": 587,"name": "Subscription","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 82+ "target": 87},{- "id": 503,+ "id": 585,"name": "User","kind": 16777216,"kindString": "Reference",@@ -14862,24 +17039,34 @@"target": 58},{- "id": 504,+ "id": 586,"name": "UserAttributes","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 77+ "target": 82},{- "id": 507,+ "id": 589,"name": "UserCredentials","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 98+ "target": 103+ },+ {+ "id": 590,+ "name": "VerifyOTPParams",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {+ "isExported": true+ },+ "target": 109}],"groups": [@@ -14887,14 +17074,15 @@"title": "References","kind": 16777216,"children": [- 501,- 506,- 500,- 502,- 505,- 503,- 504,- 507+ 583,+ 588,+ 582,+ 584,+ 587,+ 585,+ 586,+ 589,+ 590]}],@@ -14907,7 +17095,7 @@]},{- "id": 105,+ "id": 114,"name": "\"lib/constants\"","kind": 1,"kindString": "Module",@@ -14917,7 +17105,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts","children": [{- "id": 107,+ "id": 116,"name": "AUDIENCE","kind": 32,"kindString": "Variable",@@ -14939,7 +17127,7 @@"defaultValue": "\"\""},{- "id": 108,+ "id": 117,"name": "DEFAULT_HEADERS","kind": 32,"kindString": "Variable",@@ -14957,7 +17145,7 @@"type": {"type": "reflection","declaration": {- "id": 109,+ "id": 118,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -14968,7 +17156,7 @@}},{- "id": 110,+ "id": 119,"name": "EXPIRY_MARGIN","kind": 32,"kindString": "Variable",@@ -14990,7 +17178,7 @@"defaultValue": "60 * 1000"},{- "id": 106,+ "id": 115,"name": "GOTRUE_URL","kind": 32,"kindString": "Variable",@@ -15012,7 +17200,7 @@"defaultValue": "\"http://localhost:9999\""},{- "id": 111,+ "id": 120,"name": "STORAGE_KEY","kind": 32,"kindString": "Variable",@@ -15034,7 +17222,7 @@"defaultValue": "\"supabase.auth.token\""},{- "id": 112,+ "id": 121,"name": "COOKIE_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -15044,7 +17232,7 @@},"children": [{- "id": 115,+ "id": 124,"name": "domain","kind": 32,"kindString": "Variable",@@ -15065,7 +17253,7 @@"defaultValue": "\"\""},{- "id": 114,+ "id": 123,"name": "lifetime","kind": 32,"kindString": "Variable",@@ -15086,7 +17274,7 @@"defaultValue": "60 * 60 * 8"},{- "id": 113,+ "id": 122,"name": "name","kind": 32,"kindString": "Variable",@@ -15107,7 +17295,7 @@"defaultValue": "\"sb:token\""},{- "id": 116,+ "id": 125,"name": "path","kind": 32,"kindString": "Variable",@@ -15128,7 +17316,7 @@"defaultValue": "\"/\""},{- "id": 117,+ "id": 126,"name": "sameSite","kind": 32,"kindString": "Variable",@@ -15154,11 +17342,11 @@"title": "Variables","kind": 32,"children": [- 115,- 114,- 113,- 116,- 117+ 124,+ 123,+ 122,+ 125,+ 126]}],@@ -15180,18 +17368,18 @@"title": "Variables","kind": 32,"children": [- 107,- 108,- 110,- 106,- 111+ 116,+ 117,+ 119,+ 115,+ 120]},{"title": "Object literals","kind": 2097152,"children": [- 112+ 121]}],@@ -15204,7 +17392,7 @@]},{- "id": 118,+ "id": 127,"name": "\"lib/cookies\"","kind": 1,"kindString": "Module",@@ -15214,7 +17402,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts","children": [{- "id": 119,+ "id": 128,"name": "Cookie","kind": 4194304,"kindString": "Type alias",@@ -15229,14 +17417,14 @@"type": {"type": "reflection","declaration": {- "id": 120,+ "id": 129,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 124,+ "id": 133,"name": "domain","kind": 32,"kindString": "Variable",@@ -15265,7 +17453,7 @@}},{- "id": 123,+ "id": 132,"name": "maxAge","kind": 32,"kindString": "Variable",@@ -15283,7 +17471,7 @@}},{- "id": 121,+ "id": 130,"name": "name","kind": 32,"kindString": "Variable",@@ -15301,7 +17489,7 @@}},{- "id": 125,+ "id": 134,"name": "path","kind": 32,"kindString": "Variable",@@ -15330,7 +17518,7 @@}},{- "id": 126,+ "id": 135,"name": "sameSite","kind": 32,"kindString": "Variable",@@ -15359,7 +17547,7 @@}},{- "id": 122,+ "id": 131,"name": "value","kind": 32,"kindString": "Variable",@@ -15382,12 +17570,12 @@"title": "Variables","kind": 32,"children": [- 124,- 123,- 121,- 125,- 126,- 122+ 133,+ 132,+ 130,+ 134,+ 135,+ 131]}],@@ -15402,7 +17590,7 @@}},{- "id": 157,+ "id": 166,"name": "deleteCookie","kind": 64,"kindString": "Function",@@ -15411,7 +17599,7 @@},"signatures": [{- "id": 158,+ "id": 167,"name": "deleteCookie","kind": 4096,"kindString": "Call signature",@@ -15420,7 +17608,7 @@},"parameters": [{- "id": 159,+ "id": 168,"name": "req","kind": 32768,"kindString": "Parameter",@@ -15433,7 +17621,7 @@}},{- "id": 160,+ "id": 169,"name": "res","kind": 32768,"kindString": "Parameter",@@ -15446,7 +17634,7 @@}},{- "id": 161,+ "id": 170,"name": "name","kind": 32768,"kindString": "Parameter",@@ -15474,14 +17662,14 @@]},{- "id": 140,+ "id": 149,"name": "isSecureEnvironment","kind": 64,"kindString": "Function","flags": {},"signatures": [{- "id": 141,+ "id": 150,"name": "isSecureEnvironment","kind": 4096,"kindString": "Call signature",@@ -15491,7 +17679,7 @@},"parameters": [{- "id": 142,+ "id": 151,"name": "req","kind": 32768,"kindString": "Parameter",@@ -15517,14 +17705,14 @@]},{- "id": 127,+ "id": 136,"name": "serialize","kind": 64,"kindString": "Function","flags": {},"signatures": [{- "id": 128,+ "id": 137,"name": "serialize","kind": 4096,"kindString": "Call signature",@@ -15534,7 +17722,7 @@},"parameters": [{- "id": 129,+ "id": 138,"name": "name","kind": 32768,"kindString": "Parameter",@@ -15545,7 +17733,7 @@}},{- "id": 130,+ "id": 139,"name": "val","kind": 32768,"kindString": "Parameter",@@ -15556,7 +17744,7 @@}},{- "id": 131,+ "id": 140,"name": "options","kind": 32768,"kindString": "Parameter",@@ -15564,14 +17752,14 @@"type": {"type": "reflection","declaration": {- "id": 132,+ "id": 141,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 134,+ "id": 143,"name": "domain","kind": 32,"kindString": "Variable",@@ -15589,7 +17777,7 @@}},{- "id": 136,+ "id": 145,"name": "expires","kind": 32,"kindString": "Variable",@@ -15607,7 +17795,7 @@}},{- "id": 137,+ "id": 146,"name": "httpOnly","kind": 32,"kindString": "Variable",@@ -15625,7 +17813,7 @@}},{- "id": 133,+ "id": 142,"name": "maxAge","kind": 32,"kindString": "Variable",@@ -15643,7 +17831,7 @@}},{- "id": 135,+ "id": 144,"name": "path","kind": 32,"kindString": "Variable",@@ -15661,7 +17849,7 @@}},{- "id": 139,+ "id": 148,"name": "sameSite","kind": 32,"kindString": "Variable",@@ -15679,7 +17867,7 @@}},{- "id": 138,+ "id": 147,"name": "secure","kind": 32,"kindString": "Variable",@@ -15702,13 +17890,13 @@"title": "Variables","kind": 32,"children": [- 134,- 136,- 137,- 133,- 135,- 139,- 138+ 143,+ 145,+ 146,+ 142,+ 144,+ 148,+ 147]}],@@ -15738,14 +17926,14 @@]},{- "id": 143,+ "id": 152,"name": "serializeCookie","kind": 64,"kindString": "Function","flags": {},"signatures": [{- "id": 144,+ "id": 153,"name": "serializeCookie","kind": 4096,"kindString": "Call signature",@@ -15755,19 +17943,19 @@},"parameters": [{- "id": 145,+ "id": 154,"name": "cookie","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 119,+ "id": 128,"name": "Cookie"}},{- "id": 146,+ "id": 155,"name": "secure","kind": 32768,"kindString": "Parameter",@@ -15793,7 +17981,7 @@]},{- "id": 152,+ "id": 161,"name": "setCookie","kind": 64,"kindString": "Function",@@ -15802,7 +17990,7 @@},"signatures": [{- "id": 153,+ "id": 162,"name": "setCookie","kind": 4096,"kindString": "Call signature",@@ -15814,7 +18002,7 @@},"parameters": [{- "id": 154,+ "id": 163,"name": "req","kind": 32768,"kindString": "Parameter",@@ -15827,7 +18015,7 @@}},{- "id": 155,+ "id": 164,"name": "res","kind": 32768,"kindString": "Parameter",@@ -15840,7 +18028,7 @@}},{- "id": 156,+ "id": 165,"name": "cookie","kind": 32768,"kindString": "Parameter",@@ -15849,7 +18037,7 @@},"type": {"type": "reference",- "id": 119,+ "id": 128,"name": "Cookie"}}@@ -15869,7 +18057,7 @@]},{- "id": 147,+ "id": 156,"name": "setCookies","kind": 64,"kindString": "Function",@@ -15878,7 +18066,7 @@},"signatures": [{- "id": 148,+ "id": 157,"name": "setCookies","kind": 4096,"kindString": "Call signature",@@ -15890,7 +18078,7 @@},"parameters": [{- "id": 149,+ "id": 158,"name": "req","kind": 32768,"kindString": "Parameter",@@ -15903,7 +18091,7 @@}},{- "id": 150,+ "id": 159,"name": "res","kind": 32768,"kindString": "Parameter",@@ -15916,7 +18104,7 @@}},{- "id": 151,+ "id": 160,"name": "cookies","kind": 32768,"kindString": "Parameter",@@ -15928,7 +18116,7 @@"typeArguments": [{"type": "reference",- "id": 119,+ "id": 128,"name": "Cookie"}],@@ -15956,19 +18144,19 @@"title": "Type aliases","kind": 4194304,"children": [- 119+ 128]},{"title": "Functions","kind": 64,"children": [- 157,- 140,- 127,- 143,+ 166,+ 149,+ 136,152,- 147+ 161,+ 156]}],@@ -16808,7 +18996,7 @@]},{- "id": 162,+ "id": 171,"name": "\"lib/helpers\"","kind": 1,"kindString": "Module",@@ -16818,7 +19006,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts","children": [{- "id": 163,+ "id": 172,"name": "LocalStorage","kind": 128,"kindString": "Class",@@ -16827,7 +19015,7 @@},"indexSignature": [{- "id": 165,+ "id": 174,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -16836,7 +19024,7 @@},"parameters": [{- "id": 166,+ "id": 175,"name": "name","kind": 32768,"kindString": "Parameter",@@ -16857,7 +19045,7 @@],"children": [{- "id": 168,+ "id": 177,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -16866,7 +19054,7 @@},"signatures": [{- "id": 169,+ "id": 178,"name": "new LocalStorage","kind": 16384,"kindString": "Constructor signature",@@ -16875,7 +19063,7 @@},"parameters": [{- "id": 170,+ "id": 179,"name": "localStorage","kind": 32768,"kindString": "Parameter",@@ -16890,7 +19078,7 @@],"type": {"type": "reference",- "id": 163,+ "id": 172,"name": "LocalStorage"}}@@ -16904,7 +19092,7 @@]},{- "id": 167,+ "id": 176,"name": "length","kind": 1024,"kindString": "Property",@@ -16924,7 +19112,7 @@}},{- "id": 164,+ "id": 173,"name": "localStorage","kind": 1024,"kindString": "Property",@@ -16944,7 +19132,7 @@}},{- "id": 171,+ "id": 180,"name": "clear","kind": 2048,"kindString": "Method",@@ -16953,7 +19141,7 @@},"signatures": [{- "id": 172,+ "id": 181,"name": "clear","kind": 4096,"kindString": "Call signature",@@ -16975,7 +19163,7 @@]},{- "id": 180,+ "id": 189,"name": "getItem","kind": 2048,"kindString": "Method",@@ -16984,7 +19172,7 @@},"signatures": [{- "id": 181,+ "id": 190,"name": "getItem","kind": 4096,"kindString": "Call signature",@@ -16993,7 +19181,7 @@},"parameters": [{- "id": 182,+ "id": 191,"name": "key","kind": 32768,"kindString": "Parameter",@@ -17030,7 +19218,7 @@]},{- "id": 173,+ "id": 182,"name": "key","kind": 2048,"kindString": "Method",@@ -17039,7 +19227,7 @@},"signatures": [{- "id": 174,+ "id": 183,"name": "key","kind": 4096,"kindString": "Call signature",@@ -17048,7 +19236,7 @@},"parameters": [{- "id": 175,+ "id": 184,"name": "index","kind": 32768,"kindString": "Parameter",@@ -17085,7 +19273,7 @@]},{- "id": 183,+ "id": 192,"name": "removeItem","kind": 2048,"kindString": "Method",@@ -17094,7 +19282,7 @@},"signatures": [{- "id": 184,+ "id": 193,"name": "removeItem","kind": 4096,"kindString": "Call signature",@@ -17103,7 +19291,7 @@},"parameters": [{- "id": 185,+ "id": 194,"name": "key","kind": 32768,"kindString": "Parameter",@@ -17131,7 +19319,7 @@]},{- "id": 176,+ "id": 185,"name": "setItem","kind": 2048,"kindString": "Method",@@ -17140,7 +19328,7 @@},"signatures": [{- "id": 177,+ "id": 186,"name": "setItem","kind": 4096,"kindString": "Call signature",@@ -17149,7 +19337,7 @@},"parameters": [{- "id": 178,+ "id": 187,"name": "key","kind": 32768,"kindString": "Parameter",@@ -17162,7 +19350,7 @@}},{- "id": 179,+ "id": 188,"name": "value","kind": 32768,"kindString": "Parameter",@@ -17195,26 +19383,26 @@"title": "Constructors","kind": 512,"children": [- 168+ 177]},{"title": "Properties","kind": 1024,"children": [- 167,- 164+ 176,+ 173]},{"title": "Methods","kind": 2048,"children": [- 171,180,- 173,- 183,- 176+ 189,+ 182,+ 192,+ 185]}],@@ -17233,7 +19421,7 @@]},{- "id": 186,+ "id": 195,"name": "expiresAt","kind": 64,"kindString": "Function",@@ -17242,7 +19430,7 @@},"signatures": [{- "id": 187,+ "id": 196,"name": "expiresAt","kind": 4096,"kindString": "Call signature",@@ -17251,7 +19439,7 @@},"parameters": [{- "id": 188,+ "id": 197,"name": "expiresIn","kind": 32768,"kindString": "Parameter",@@ -17279,7 +19467,7 @@]},{- "id": 193,+ "id": 202,"name": "getParameterByName","kind": 64,"kindString": "Function",@@ -17288,7 +19476,7 @@},"signatures": [{- "id": 194,+ "id": 203,"name": "getParameterByName","kind": 4096,"kindString": "Call signature",@@ -17297,7 +19485,7 @@},"parameters": [{- "id": 195,+ "id": 204,"name": "name","kind": 32768,"kindString": "Parameter",@@ -17310,7 +19498,7 @@}},{- "id": 196,+ "id": 205,"name": "url","kind": 32768,"kindString": "Parameter",@@ -17357,7 +19545,7 @@]},{- "id": 191,+ "id": 200,"name": "isBrowser","kind": 64,"kindString": "Function",@@ -17367,7 +19555,7 @@},"signatures": [{- "id": 192,+ "id": 201,"name": "isBrowser","kind": 4096,"kindString": "Call signature",@@ -17389,7 +19577,7 @@]},{- "id": 189,+ "id": 198,"name": "uuid","kind": 64,"kindString": "Function",@@ -17398,7 +19586,7 @@},"signatures": [{- "id": 190,+ "id": 199,"name": "uuid","kind": 4096,"kindString": "Call signature",@@ -17425,17 +19613,17 @@"title": "Classes","kind": 128,"children": [- 163+ 172]},{"title": "Functions","kind": 64,"children": [- 186,- 193,- 191,- 189+ 195,+ 202,+ 200,+ 198]}],@@ -17448,7 +19636,7 @@]},{- "id": 320,+ "id": 372,"name": "\"lib/polyfills\"","kind": 1,"kindString": "Module",@@ -17458,7 +19646,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts","children": [{- "id": 321,+ "id": 373,"name": "polyfillGlobalThis","kind": 64,"kindString": "Function",@@ -17467,7 +19655,7 @@},"signatures": [{- "id": 322,+ "id": 374,"name": "polyfillGlobalThis","kind": 4096,"kindString": "Call signature",@@ -17497,7 +19685,7 @@"title": "Functions","kind": 64,"children": [- 321+ 373]}],@@ -17520,7 +19708,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts","children": [{- "id": 92,+ "id": 97,"name": "CookieOptions","kind": 256,"kindString": "Interface",@@ -17529,7 +19717,7 @@},"children": [{- "id": 95,+ "id": 100,"name": "domain","kind": 1024,"kindString": "Property",@@ -17540,7 +19728,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 85,+ "line": 100,"character": 8}],@@ -17559,7 +19747,7 @@}},{- "id": 94,+ "id": 99,"name": "lifetime","kind": 1024,"kindString": "Property",@@ -17570,7 +19758,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 83,+ "line": 98,"character": 10}],@@ -17589,7 +19777,7 @@}},{- "id": 93,+ "id": 98,"name": "name","kind": 1024,"kindString": "Property",@@ -17600,7 +19788,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 81,+ "line": 96,"character": 6}],@@ -17619,7 +19807,7 @@}},{- "id": 96,+ "id": 101,"name": "path","kind": 1024,"kindString": "Property",@@ -17630,7 +19818,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 86,+ "line": 101,"character": 6}],@@ -17649,7 +19837,7 @@}},{- "id": 97,+ "id": 102,"name": "sameSite","kind": 1024,"kindString": "Property",@@ -17660,7 +19848,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 88,+ "line": 103,"character": 10}],@@ -17684,18 +19872,18 @@"title": "Properties","kind": 1024,"children": [- 95,- 94,- 93,- 96,- 97+ 100,+ 99,+ 98,+ 101,+ 102]}],"sources": [{"fileName": "lib/types.ts",- "line": 79,+ "line": 94,"character": 30}]@@ -17720,7 +19908,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 12,+ "line": 22,"character": 14}],@@ -17744,7 +19932,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 20,+ "line": 30,"character": 12}],@@ -17777,7 +19965,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 16,+ "line": 26,"character": 12}],@@ -17807,7 +19995,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 11,+ "line": 21,"character": 16}],@@ -17837,7 +20025,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 21,+ "line": 31,"character": 15}],@@ -17866,7 +20054,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 22,+ "line": 32,"character": 12}],@@ -17886,7 +20074,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 23,+ "line": 33,"character": 6}],@@ -17924,13 +20112,13 @@"sources": [{"fileName": "lib/types.ts",- "line": 10,+ "line": 20,"character": 24}]},{- "id": 82,+ "id": 87,"name": "Subscription","kind": 256,"kindString": "Interface",@@ -17939,7 +20127,7 @@},"children": [{- "id": 84,+ "id": 89,"name": "callback","kind": 1024,"kindString": "Property",@@ -17952,14 +20140,14 @@"sources": [{"fileName": "lib/types.ts",- "line": 72,+ "line": 87,"character": 10}],"type": {"type": "reflection","declaration": {- "id": 85,+ "id": 90,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -17968,7 +20156,7 @@},"signatures": [{- "id": 86,+ "id": 91,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -17977,7 +20165,7 @@},"parameters": [{- "id": 87,+ "id": 92,"name": "event","kind": 32768,"kindString": "Parameter",@@ -17986,12 +20174,12 @@},"type": {"type": "reference",- "id": 104,+ "id": 113,"name": "AuthChangeEvent"}},{- "id": 88,+ "id": 93,"name": "session","kind": 32768,"kindString": "Parameter",@@ -18023,7 +20211,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 72,+ "line": 87,"character": 11}]@@ -18031,7 +20219,7 @@}},{- "id": 83,+ "id": 88,"name": "id","kind": 1024,"kindString": "Property",@@ -18044,7 +20232,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 68,+ "line": 83,"character": 4}],@@ -18054,7 +20242,7 @@}},{- "id": 89,+ "id": 94,"name": "unsubscribe","kind": 1024,"kindString": "Property",@@ -18067,14 +20255,14 @@"sources": [{"fileName": "lib/types.ts",- "line": 76,+ "line": 91,"character": 13}],"type": {"type": "reflection","declaration": {- "id": 90,+ "id": 95,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -18083,7 +20271,7 @@},"signatures": [{- "id": 91,+ "id": 96,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -18099,7 +20287,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 76,+ "line": 91,"character": 14}]@@ -18112,16 +20300,16 @@"title": "Properties","kind": 1024,"children": [- 84,- 83,- 89+ 89,+ 88,+ 94]}],"sources": [{"fileName": "lib/types.ts",- "line": 64,+ "line": 79,"character": 29}]@@ -18135,6 +20323,36 @@"isExported": true},"children": [+ {+ "id": 72,+ "name": "action_link",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 47,+ "character": 13+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },{"id": 60,"name": "app_metadata",@@ -18146,7 +20364,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 27,+ "line": 37,"character": 14}],@@ -18203,7 +20421,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 28,+ "line": 38,"character": 12}],@@ -18234,7 +20452,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 27,+ "line": 37,"character": 15}]@@ -18252,7 +20470,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 34,+ "line": 44,"character": 5}],@@ -18273,7 +20491,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 35,+ "line": 45,"character": 22}],@@ -18292,7 +20510,7 @@}},{- "id": 73,+ "id": 76,"name": "confirmed_at","kind": 1024,"kindString": "Property",@@ -18303,7 +20521,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 38,+ "line": 51,"character": 14}],@@ -18322,7 +20540,7 @@}},{- "id": 72,+ "id": 75,"name": "created_at","kind": 1024,"kindString": "Property",@@ -18332,7 +20550,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 37,+ "line": 50,"character": 12}],@@ -18342,7 +20560,7 @@}},{- "id": 71,+ "id": 73,"name": "email","kind": 1024,"kindString": "Property",@@ -18353,7 +20571,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 36,+ "line": 48,"character": 7}],@@ -18371,6 +20589,36 @@]}},+ {+ "id": 77,+ "name": "email_confirmed_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 52,+ "character": 20+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },{"id": 59,"name": "id",@@ -18382,7 +20630,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 26,+ "line": 36,"character": 4}],@@ -18392,7 +20640,7 @@}},{- "id": 74,+ "id": 79,"name": "last_sign_in_at","kind": 1024,"kindString": "Property",@@ -18403,7 +20651,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 39,+ "line": 54,"character": 17}],@@ -18422,7 +20670,97 @@}},{- "id": 75,+ "id": 74,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 49,+ "character": 7+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 78,+ "name": "phone_confirmed_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 53,+ "character": 20+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 71,+ "name": "recovery_sent_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 46,+ "character": 18+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 80,"name": "role","kind": 1024,"kindString": "Property",@@ -18433,7 +20771,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 40,+ "line": 55,"character": 6}],@@ -18452,7 +20790,7 @@}},{- "id": 76,+ "id": 81,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -18463,7 +20801,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 41,+ "line": 56,"character": 12}],@@ -18492,7 +20830,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 31,+ "line": 41,"character": 15}],@@ -18539,7 +20877,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 31,+ "line": 41,"character": 16}]@@ -18552,16 +20890,21 @@"title": "Properties","kind": 1024,"children": [+ 72,60,69,70,+ 76,+ 75,73,- 72,- 71,+ 77,59,+ 79,74,- 75,- 76,+ 78,+ 71,+ 80,+ 81,65]}@@ -18569,13 +20912,13 @@"sources": [{"fileName": "lib/types.ts",- "line": 25,+ "line": 35,"character": 21}]},{- "id": 77,+ "id": 82,"name": "UserAttributes","kind": 256,"kindString": "Interface",@@ -18584,7 +20927,7 @@},"children": [{- "id": 81,+ "id": 86,"name": "data","kind": 1024,"kindString": "Property",@@ -18598,7 +20941,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 61,+ "line": 76,"character": 6}],@@ -18617,7 +20960,7 @@}},{- "id": 78,+ "id": 83,"name": "email","kind": 1024,"kindString": "Property",@@ -18631,7 +20974,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 48,+ "line": 63,"character": 7}],@@ -18650,7 +20993,7 @@}},{- "id": 80,+ "id": 85,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -18664,7 +21007,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 56,+ "line": 71,"character": 20}],@@ -18683,7 +21026,7 @@}},{- "id": 79,+ "id": 84,"name": "password","kind": 1024,"kindString": "Property",@@ -18697,7 +21040,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 52,+ "line": 67,"character": 10}],@@ -18721,23 +21064,23 @@"title": "Properties","kind": 1024,"children": [- 81,- 78,- 80,- 79+ 86,+ 83,+ 85,+ 84]}],"sources": [{"fileName": "lib/types.ts",- "line": 44,+ "line": 59,"character": 31}]},{- "id": 98,+ "id": 103,"name": "UserCredentials","kind": 256,"kindString": "Interface",@@ -18746,7 +21089,7 @@},"children": [{- "id": 99,+ "id": 104,"name": "email","kind": 1024,"kindString": "Property",@@ -18757,7 +21100,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 92,+ "line": 107,"character": 7}],@@ -18776,7 +21119,7 @@}},{- "id": 100,+ "id": 106,"name": "password","kind": 1024,"kindString": "Property",@@ -18787,7 +21130,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 93,+ "line": 109,"character": 10}],@@ -18806,7 +21149,37 @@}},{- "id": 102,+ "id": 105,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 108,+ "character": 7+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 108,"name": "provider","kind": 1024,"kindString": "Property",@@ -18817,18 +21190,18 @@"sources": [{"fileName": "lib/types.ts",- "line": 96,+ "line": 112,"character": 10}],"type": {"type": "reference",- "id": 103,+ "id": 112,"name": "Provider"}},{- "id": 101,+ "id": 107,"name": "refreshToken","kind": 1024,"kindString": "Property",@@ -18839,7 +21212,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 94,+ "line": 110,"character": 14}],@@ -18863,23 +21236,92 @@"title": "Properties","kind": 1024,"children": [- 99,- 100,- 102,- 101+ 104,+ 106,+ 105,+ 108,+ 107+ ]+ }+ ],+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 106,+ "character": 32+ }+ ]+ },+ {+ "id": 109,+ "name": "VerifyOTPParams",+ "kind": 256,+ "kindString": "Interface",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 110,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 116,+ "character": 7+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 111,+ "name": "token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 117,+ "character": 7+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 110,+ 111]}],"sources": [{"fileName": "lib/types.ts",- "line": 91,+ "line": 115,"character": 32}]},{- "id": 104,+ "id": 113,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -18889,7 +21331,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 3,+ "line": 13,"character": 27}],@@ -18920,7 +21362,7 @@}},{- "id": 103,+ "id": 112,"name": "Provider","kind": 4194304,"kindString": "Type alias",@@ -18972,6 +21414,10 @@{"type": "stringLiteral","value": "discord"+ },+ {+ "type": "stringLiteral",+ "value": "twitch"}]}@@ -18982,20 +21428,21 @@"title": "Interfaces","kind": 256,"children": [- 92,+ 97,50,- 82,+ 87,58,- 77,- 98+ 82,+ 103,+ 109]},{"title": "Type aliases","kind": 4194304,"children": [- 104,- 103+ 113,+ 112]}],@@ -19013,14 +21460,14 @@"title": "Modules","kind": 1,"children": [- 197,- 323,- 499,- 105,- 118,+ 206,+ 375,+ 581,+ 114,+ 127,1,- 162,- 320,+ 171,+ 372,49]}@@ -30585,7 +33032,7 @@"originalName": "","children": [{- "id": 194,+ "id": 196,"name": "\"RealtimeClient\"","kind": 1,"kindString": "Module",@@ -30595,7 +33042,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts","children": [{- "id": 195,+ "id": 197,"name": "RealtimeClient","kind": 128,"kindString": "Class",@@ -30604,7 +33051,7 @@},"children": [{- "id": 226,+ "id": 228,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -30616,7 +33063,7 @@},"signatures": [{- "id": 227,+ "id": 229,"name": "new RealtimeClient","kind": 16384,"kindString": "Constructor signature",@@ -30628,7 +33075,7 @@},"parameters": [{- "id": 228,+ "id": 230,"name": "endPoint","kind": 32768,"kindString": "Parameter",@@ -30644,7 +33091,7 @@}},{- "id": 229,+ "id": 231,"name": "options","kind": 32768,"kindString": "Parameter",@@ -30654,14 +33101,14 @@},"type": {"type": "reference",- "id": 301,+ "id": 303,"name": "Options"}}],"type": {"type": "reference",- "id": 195,+ "id": 197,"name": "RealtimeClient"}}@@ -30675,7 +33122,7 @@]},{- "id": 196,+ "id": 198,"name": "channels","kind": 1024,"kindString": "Property",@@ -30693,14 +33140,14 @@"type": "array","elementType": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}},"defaultValue": "[]"},{- "id": 218,+ "id": 220,"name": "conn","kind": 1024,"kindString": "Property",@@ -30730,7 +33177,7 @@"defaultValue": "null"},{- "id": 216,+ "id": 218,"name": "decode","kind": 1024,"kindString": "Property",@@ -30750,7 +33197,7 @@}},{- "id": 215,+ "id": 217,"name": "encode","kind": 1024,"kindString": "Property",@@ -30770,7 +33217,7 @@}},{- "id": 197,+ "id": 199,"name": "endPoint","kind": 1024,"kindString": "Property",@@ -30791,7 +33238,7 @@"defaultValue": "\"\""},{- "id": 198,+ "id": 200,"name": "headers","kind": 1024,"kindString": "Property",@@ -30816,7 +33263,7 @@{"type": "reflection","declaration": {- "id": 199,+ "id": 201,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -30825,7 +33272,7 @@},"indexSignature": [{- "id": 200,+ "id": 202,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -30834,7 +33281,7 @@},"parameters": [{- "id": 201,+ "id": 203,"name": "key","kind": 32768,"kindString": "Parameter",@@ -30859,7 +33306,7 @@}},{- "id": 208,+ "id": 210,"name": "heartbeatIntervalMs","kind": 1024,"kindString": "Property",@@ -30880,7 +33327,7 @@"defaultValue": "30000"},{- "id": 210,+ "id": 212,"name": "heartbeatTimer","kind": 1024,"kindString": "Property",@@ -30919,7 +33366,7 @@"defaultValue": "undefined"},{- "id": 214,+ "id": 216,"name": "logger","kind": 1024,"kindString": "Property",@@ -30940,7 +33387,7 @@"defaultValue": "noop"},{- "id": 209,+ "id": 211,"name": "longpollerTimeout","kind": 1024,"kindString": "Property",@@ -30961,7 +33408,7 @@"defaultValue": "20000"},{- "id": 202,+ "id": 204,"name": "params","kind": 1024,"kindString": "Property",@@ -30986,7 +33433,7 @@{"type": "reflection","declaration": {- "id": 203,+ "id": 205,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -30995,7 +33442,7 @@},"indexSignature": [{- "id": 204,+ "id": 206,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -31004,7 +33451,7 @@},"parameters": [{- "id": 205,+ "id": 207,"name": "key","kind": 32768,"kindString": "Parameter",@@ -31029,7 +33476,7 @@}},{- "id": 211,+ "id": 213,"name": "pendingHeartbeatRef","kind": 1024,"kindString": "Property",@@ -31059,7 +33506,7 @@"defaultValue": "null"},{- "id": 217,+ "id": 219,"name": "reconnectAfterMs","kind": 1024,"kindString": "Property",@@ -31079,7 +33526,7 @@}},{- "id": 213,+ "id": 215,"name": "reconnectTimer","kind": 1024,"kindString": "Property",@@ -31100,7 +33547,7 @@}},{- "id": 212,+ "id": 214,"name": "ref","kind": 1024,"kindString": "Property",@@ -31121,7 +33568,7 @@"defaultValue": "0"},{- "id": 219,+ "id": 221,"name": "sendBuffer","kind": 1024,"kindString": "Property",@@ -31145,7 +33592,7 @@"defaultValue": "[]"},{- "id": 220,+ "id": 222,"name": "serializer","kind": 1024,"kindString": "Property",@@ -31161,13 +33608,13 @@],"type": {"type": "reference",- "id": 170,+ "id": 172,"name": "Serializer"},"defaultValue": "new Serializer()"},{- "id": 206,+ "id": 208,"name": "timeout","kind": 1024,"kindString": "Property",@@ -31188,7 +33635,7 @@"defaultValue": "DEFAULT_TIMEOUT"},{- "id": 207,+ "id": 209,"name": "transport","kind": 1024,"kindString": "Property",@@ -31209,7 +33656,7 @@"defaultValue": "WebSocket"},{- "id": 288,+ "id": 290,"name": "_appendParams","kind": 2048,"kindString": "Method",@@ -31219,7 +33666,7 @@},"signatures": [{- "id": 289,+ "id": 291,"name": "_appendParams","kind": 4096,"kindString": "Call signature",@@ -31228,7 +33675,7 @@},"parameters": [{- "id": 290,+ "id": 292,"name": "url","kind": 32768,"kindString": "Parameter",@@ -31241,7 +33688,7 @@}},{- "id": 291,+ "id": 293,"name": "params","kind": 32768,"kindString": "Parameter",@@ -31251,7 +33698,7 @@"type": {"type": "reflection","declaration": {- "id": 292,+ "id": 294,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -31260,7 +33707,7 @@},"indexSignature": [{- "id": 293,+ "id": 295,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -31269,7 +33716,7 @@},"parameters": [{- "id": 294,+ "id": 296,"name": "key","kind": 32768,"kindString": "Parameter",@@ -31291,7 +33738,7 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 344,+ "line": 347,"character": 44}]@@ -31308,13 +33755,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 344,+ "line": 347,"character": 23}]},{- "id": 295,+ "id": 297,"name": "_flushSendBuffer","kind": 2048,"kindString": "Method",@@ -31324,7 +33771,7 @@},"signatures": [{- "id": 296,+ "id": 298,"name": "_flushSendBuffer","kind": 4096,"kindString": "Call signature",@@ -31340,13 +33787,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 354,+ "line": 357,"character": 26}]},{- "id": 280,+ "id": 282,"name": "_onConnClose","kind": 2048,"kindString": "Method",@@ -31356,7 +33803,7 @@},"signatures": [{- "id": 281,+ "id": 283,"name": "_onConnClose","kind": 4096,"kindString": "Call signature",@@ -31365,7 +33812,7 @@},"parameters": [{- "id": 282,+ "id": 284,"name": "event","kind": 32768,"kindString": "Parameter",@@ -31387,13 +33834,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 324,+ "line": 327,"character": 22}]},{- "id": 283,+ "id": 285,"name": "_onConnError","kind": 2048,"kindString": "Method",@@ -31403,7 +33850,7 @@},"signatures": [{- "id": 284,+ "id": 286,"name": "_onConnError","kind": 4096,"kindString": "Call signature",@@ -31412,7 +33859,7 @@},"parameters": [{- "id": 285,+ "id": 287,"name": "error","kind": 32768,"kindString": "Parameter",@@ -31434,13 +33881,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 332,+ "line": 335,"character": 22}]},{- "id": 278,+ "id": 280,"name": "_onConnOpen","kind": 2048,"kindString": "Method",@@ -31450,7 +33897,7 @@},"signatures": [{- "id": 279,+ "id": 281,"name": "_onConnOpen","kind": 4096,"kindString": "Call signature",@@ -31466,13 +33913,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 316,+ "line": 319,"character": 21}]},{- "id": 297,+ "id": 299,"name": "_resetHeartbeat","kind": 2048,"kindString": "Method",@@ -31482,7 +33929,7 @@},"signatures": [{- "id": 298,+ "id": 300,"name": "_resetHeartbeat","kind": 4096,"kindString": "Call signature",@@ -31498,13 +33945,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 361,+ "line": 364,"character": 25}]},{- "id": 299,+ "id": 301,"name": "_sendHeartbeat","kind": 2048,"kindString": "Method",@@ -31514,7 +33961,7 @@},"signatures": [{- "id": 300,+ "id": 302,"name": "_sendHeartbeat","kind": 4096,"kindString": "Call signature",@@ -31530,13 +33977,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 370,+ "line": 373,"character": 24}]},{- "id": 286,+ "id": 288,"name": "_triggerChanError","kind": 2048,"kindString": "Method",@@ -31546,7 +33993,7 @@},"signatures": [{- "id": 287,+ "id": 289,"name": "_triggerChanError","kind": 4096,"kindString": "Call signature",@@ -31562,13 +34009,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 338,+ "line": 341,"character": 27}]},{- "id": 263,+ "id": 265,"name": "channel","kind": 2048,"kindString": "Method",@@ -31577,7 +34024,7 @@},"signatures": [{- "id": 264,+ "id": 266,"name": "channel","kind": 4096,"kindString": "Call signature",@@ -31586,7 +34033,7 @@},"parameters": [{- "id": 265,+ "id": 267,"name": "topic","kind": 32768,"kindString": "Parameter",@@ -31599,7 +34046,7 @@}},{- "id": 266,+ "id": 268,"name": "chanParams","kind": 32768,"kindString": "Parameter",@@ -31609,7 +34056,7 @@"type": {"type": "reflection","declaration": {- "id": 267,+ "id": 269,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -31623,7 +34070,7 @@],"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}}@@ -31631,13 +34078,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 246,+ "line": 249,"character": 9}]},{- "id": 230,+ "id": 232,"name": "connect","kind": 2048,"kindString": "Method",@@ -31646,7 +34093,7 @@},"signatures": [{- "id": 231,+ "id": 233,"name": "connect","kind": 4096,"kindString": "Call signature",@@ -31671,7 +34118,7 @@]},{- "id": 256,+ "id": 258,"name": "connectionState","kind": 2048,"kindString": "Method",@@ -31680,7 +34127,7 @@},"signatures": [{- "id": 257,+ "id": 259,"name": "connectionState","kind": 4096,"kindString": "Call signature",@@ -31716,13 +34163,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 215,+ "line": 218,"character": 17}]},{- "id": 232,+ "id": 234,"name": "disconnect","kind": 2048,"kindString": "Method",@@ -31731,7 +34178,7 @@},"signatures": [{- "id": 233,+ "id": 235,"name": "disconnect","kind": 4096,"kindString": "Call signature",@@ -31743,7 +34190,7 @@},"parameters": [{- "id": 234,+ "id": 236,"name": "code","kind": 32768,"kindString": "Parameter",@@ -31769,7 +34216,7 @@}},{- "id": 235,+ "id": 237,"name": "reason","kind": 32768,"kindString": "Parameter",@@ -31801,7 +34248,7 @@{"type": "reflection","declaration": {- "id": 236,+ "id": 238,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -31810,7 +34257,7 @@},"children": [{- "id": 238,+ "id": 240,"name": "data","kind": 32,"kindString": "Variable",@@ -31830,7 +34277,7 @@}},{- "id": 237,+ "id": 239,"name": "error","kind": 32,"kindString": "Variable",@@ -31864,8 +34311,8 @@"title": "Variables","kind": 32,"children": [- 238,- 237+ 240,+ 239]}],@@ -31892,7 +34339,7 @@]},{- "id": 274,+ "id": 276,"name": "endPointURL","kind": 2048,"kindString": "Method",@@ -31901,7 +34348,7 @@},"signatures": [{- "id": 275,+ "id": 277,"name": "endPointURL","kind": 4096,"kindString": "Call signature",@@ -31920,13 +34367,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 295,+ "line": 298,"character": 13}]},{- "id": 258,+ "id": 260,"name": "isConnected","kind": 2048,"kindString": "Method",@@ -31935,7 +34382,7 @@},"signatures": [{- "id": 259,+ "id": 261,"name": "isConnected","kind": 4096,"kindString": "Call signature",@@ -31954,13 +34401,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 231,+ "line": 234,"character": 13}]},{- "id": 239,+ "id": 241,"name": "log","kind": 2048,"kindString": "Method",@@ -31969,7 +34416,7 @@},"signatures": [{- "id": 240,+ "id": 242,"name": "log","kind": 4096,"kindString": "Call signature",@@ -31981,7 +34428,7 @@},"parameters": [{- "id": 241,+ "id": 243,"name": "kind","kind": 32768,"kindString": "Parameter",@@ -31994,7 +34441,7 @@}},{- "id": 242,+ "id": 244,"name": "msg","kind": 32768,"kindString": "Parameter",@@ -32007,7 +34454,7 @@}},{- "id": 243,+ "id": 245,"name": "data","kind": 32768,"kindString": "Parameter",@@ -32030,13 +34477,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 164,+ "line": 167,"character": 5}]},{- "id": 276,+ "id": 278,"name": "makeRef","kind": 2048,"kindString": "Method",@@ -32045,7 +34492,7 @@},"signatures": [{- "id": 277,+ "id": 279,"name": "makeRef","kind": 4096,"kindString": "Call signature",@@ -32064,13 +34511,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 305,+ "line": 308,"character": 9}]},{- "id": 247,+ "id": 249,"name": "onClose","kind": 2048,"kindString": "Method",@@ -32079,7 +34526,7 @@},"signatures": [{- "id": 248,+ "id": 250,"name": "onClose","kind": 4096,"kindString": "Call signature",@@ -32097,7 +34544,7 @@},"parameters": [{- "id": 249,+ "id": 251,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -32122,13 +34569,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 186,+ "line": 189,"character": 9}]},{- "id": 271,+ "id": 273,"name": "onConnMessage","kind": 2048,"kindString": "Method",@@ -32137,7 +34584,7 @@},"signatures": [{- "id": 272,+ "id": 274,"name": "onConnMessage","kind": 4096,"kindString": "Call signature",@@ -32146,7 +34593,7 @@},"parameters": [{- "id": 273,+ "id": 275,"name": "rawMessage","kind": 32768,"kindString": "Parameter",@@ -32168,13 +34615,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 267,+ "line": 270,"character": 15}]},{- "id": 250,+ "id": 252,"name": "onError","kind": 2048,"kindString": "Method",@@ -32183,7 +34630,7 @@},"signatures": [{- "id": 251,+ "id": 253,"name": "onError","kind": 4096,"kindString": "Call signature",@@ -32201,7 +34648,7 @@},"parameters": [{- "id": 252,+ "id": 254,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -32226,13 +34673,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 197,+ "line": 200,"character": 9}]},{- "id": 253,+ "id": 255,"name": "onMessage","kind": 2048,"kindString": "Method",@@ -32241,7 +34688,7 @@},"signatures": [{- "id": 254,+ "id": 256,"name": "onMessage","kind": 4096,"kindString": "Call signature",@@ -32259,7 +34706,7 @@},"parameters": [{- "id": 255,+ "id": 257,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -32284,13 +34731,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 208,+ "line": 211,"character": 11}]},{- "id": 244,+ "id": 246,"name": "onOpen","kind": 2048,"kindString": "Method",@@ -32299,7 +34746,7 @@},"signatures": [{- "id": 245,+ "id": 247,"name": "onOpen","kind": 4096,"kindString": "Call signature",@@ -32317,7 +34764,7 @@},"parameters": [{- "id": 246,+ "id": 248,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -32342,13 +34789,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 175,+ "line": 178,"character": 8}]},{- "id": 268,+ "id": 270,"name": "push","kind": 2048,"kindString": "Method",@@ -32357,7 +34804,7 @@},"signatures": [{- "id": 269,+ "id": 271,"name": "push","kind": 4096,"kindString": "Call signature",@@ -32366,7 +34813,7 @@},"parameters": [{- "id": 270,+ "id": 272,"name": "data","kind": 32768,"kindString": "Parameter",@@ -32375,7 +34822,7 @@},"type": {"type": "reference",- "id": 319,+ "id": 321,"name": "Message"}}@@ -32389,13 +34836,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 252,+ "line": 255,"character": 6}]},{- "id": 260,+ "id": 262,"name": "remove","kind": 2048,"kindString": "Method",@@ -32404,7 +34851,7 @@},"signatures": [{- "id": 261,+ "id": 263,"name": "remove","kind": 4096,"kindString": "Call signature",@@ -32416,7 +34863,7 @@},"parameters": [{- "id": 262,+ "id": 264,"name": "channel","kind": 32768,"kindString": "Parameter",@@ -32428,7 +34875,7 @@},"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}}@@ -32442,13 +34889,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 240,+ "line": 243,"character": 8}]},{- "id": 221,+ "id": 223,"name": "stateChangeCallbacks","kind": 2097152,"kindString": "Object literal",@@ -32457,7 +34904,7 @@},"children": [{- "id": 223,+ "id": 225,"name": "close","kind": 32,"kindString": "Variable",@@ -32481,7 +34928,7 @@"defaultValue": "[]"},{- "id": 224,+ "id": 226,"name": "error","kind": 32,"kindString": "Variable",@@ -32505,7 +34952,7 @@"defaultValue": "[]"},{- "id": 225,+ "id": 227,"name": "message","kind": 32,"kindString": "Variable",@@ -32529,7 +34976,7 @@"defaultValue": "[]"},{- "id": 222,+ "id": 224,"name": "open","kind": 32,"kindString": "Variable",@@ -32558,10 +35005,10 @@"title": "Variables","kind": 32,"children": [- 223,- 224,225,- 222+ 226,+ 227,+ 224]}],@@ -32583,68 +35030,68 @@"title": "Constructors","kind": 512,"children": [- 226+ 228]},{"title": "Properties","kind": 1024,"children": [- 196,- 218,- 216,- 215,- 197,198,- 208,+ 220,+ 218,+ 217,+ 199,+ 200,210,- 214,- 209,- 202,+ 212,+ 216,211,- 217,+ 204,213,- 212,219,- 220,- 206,- 207+ 215,+ 214,+ 221,+ 222,+ 208,+ 209]},{"title": "Methods","kind": 2048,"children": [- 288,- 295,- 280,- 283,- 278,+ 290,297,+ 282,+ 285,+ 280,299,- 286,- 263,- 230,- 256,+ 301,+ 288,+ 265,232,- 274,258,- 239,+ 234,276,- 247,- 271,- 250,- 253,- 244,- 268,- 260+ 260,+ 241,+ 278,+ 249,+ 273,+ 252,+ 255,+ 246,+ 270,+ 262]},{"title": "Object literals","kind": 2097152,"children": [- 221+ 223]}],@@ -32657,7 +35104,7 @@]},{- "id": 319,+ "id": 321,"name": "Message","kind": 4194304,"kindString": "Type alias",@@ -32672,14 +35119,14 @@"type": {"type": "reflection","declaration": {- "id": 320,+ "id": 322,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 322,+ "id": 324,"name": "event","kind": 32,"kindString": "Variable",@@ -32697,7 +35144,7 @@}},{- "id": 323,+ "id": 325,"name": "payload","kind": 32,"kindString": "Variable",@@ -32715,7 +35162,7 @@}},{- "id": 324,+ "id": 326,"name": "ref","kind": 32,"kindString": "Variable",@@ -32733,7 +35180,7 @@}},{- "id": 321,+ "id": 323,"name": "topic","kind": 32,"kindString": "Variable",@@ -32756,10 +35203,10 @@"title": "Variables","kind": 32,"children": [- 322,- 323,324,- 321+ 325,+ 326,+ 323]}],@@ -32774,7 +35221,7 @@}},{- "id": 301,+ "id": 303,"name": "Options","kind": 4194304,"kindString": "Type alias",@@ -32791,7 +35238,7 @@"type": {"type": "reflection","declaration": {- "id": 302,+ "id": 304,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -32800,7 +35247,7 @@},"children": [{- "id": 309,+ "id": 311,"name": "decode","kind": 32,"kindString": "Variable",@@ -32821,7 +35268,7 @@}},{- "id": 308,+ "id": 310,"name": "encode","kind": 32,"kindString": "Variable",@@ -32842,7 +35289,7 @@}},{- "id": 311,+ "id": 313,"name": "headers","kind": 32,"kindString": "Variable",@@ -32867,7 +35314,7 @@{"type": "reflection","declaration": {- "id": 312,+ "id": 314,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -32876,7 +35323,7 @@},"indexSignature": [{- "id": 313,+ "id": 315,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -32885,7 +35332,7 @@},"parameters": [{- "id": 314,+ "id": 316,"name": "key","kind": 32768,"kindString": "Parameter",@@ -32910,7 +35357,7 @@}},{- "id": 305,+ "id": 307,"name": "heartbeatIntervalMs","kind": 32,"kindString": "Variable",@@ -32940,7 +35387,7 @@}},{- "id": 307,+ "id": 309,"name": "logger","kind": 32,"kindString": "Variable",@@ -32961,7 +35408,7 @@}},{- "id": 306,+ "id": 308,"name": "longpollerTimeout","kind": 32,"kindString": "Variable",@@ -32991,7 +35438,7 @@}},{- "id": 315,+ "id": 317,"name": "params","kind": 32,"kindString": "Variable",@@ -33016,7 +35463,7 @@{"type": "reflection","declaration": {- "id": 316,+ "id": 318,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -33025,7 +35472,7 @@},"indexSignature": [{- "id": 317,+ "id": 319,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -33034,7 +35481,7 @@},"parameters": [{- "id": 318,+ "id": 320,"name": "key","kind": 32768,"kindString": "Parameter",@@ -33059,7 +35506,7 @@}},{- "id": 310,+ "id": 312,"name": "reconnectAfterMs","kind": 32,"kindString": "Variable",@@ -33080,7 +35527,7 @@}},{- "id": 304,+ "id": 306,"name": "timeout","kind": 32,"kindString": "Variable",@@ -33110,7 +35557,7 @@}},{- "id": 303,+ "id": 305,"name": "transport","kind": 32,"kindString": "Variable",@@ -33136,16 +35583,16 @@"title": "Variables","kind": 32,"children": [- 309,- 308,311,- 305,+ 310,+ 313,307,+ 309,+ 308,+ 317,+ 312,306,- 315,- 310,- 304,- 303+ 305]}],@@ -33160,7 +35607,7 @@}},{- "id": 325,+ "id": 327,"name": "noop","kind": 64,"kindString": "Function",@@ -33169,7 +35616,7 @@},"signatures": [{- "id": 326,+ "id": 328,"name": "noop","kind": 4096,"kindString": "Call signature",@@ -33194,22 +35641,22 @@"title": "Classes","kind": 128,"children": [- 195+ 197]},{"title": "Type aliases","kind": 4194304,"children": [- 319,- 301+ 321,+ 303]},{"title": "Functions","kind": 64,"children": [- 325+ 327]}],@@ -33222,7 +35669,7 @@]},{- "id": 90,+ "id": 92,"name": "\"RealtimeSubscription\"","kind": 1,"kindString": "Module",@@ -33232,7 +35679,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts","children": [{- "id": 91,+ "id": 93,"name": "RealtimeSubscription","kind": 128,"kindString": "Class",@@ -33241,7 +35688,7 @@},"children": [{- "id": 99,+ "id": 101,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -33250,7 +35697,7 @@},"signatures": [{- "id": 103,+ "id": 105,"name": "new RealtimeSubscription","kind": 16384,"kindString": "Constructor signature",@@ -33259,7 +35706,7 @@},"parameters": [{- "id": 104,+ "id": 106,"name": "topic","kind": 32768,"kindString": "Parameter",@@ -33272,7 +35719,7 @@}},{- "id": 105,+ "id": 107,"name": "params","kind": 32768,"kindString": "Parameter",@@ -33286,7 +35733,7 @@"defaultValue": "{}"},{- "id": 106,+ "id": 108,"name": "socket","kind": 32768,"kindString": "Parameter",@@ -33295,14 +35742,14 @@},"type": {"type": "reference",- "id": 195,+ "id": 197,"name": "RealtimeClient"}}],"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}}@@ -33316,7 +35763,7 @@]},{- "id": 92,+ "id": 94,"name": "bindings","kind": 1024,"kindString": "Property",@@ -33340,7 +35787,7 @@"defaultValue": "[]"},{- "id": 96,+ "id": 98,"name": "joinPush","kind": 1024,"kindString": "Property",@@ -33361,7 +35808,7 @@}},{- "id": 95,+ "id": 97,"name": "joinedOnce","kind": 1024,"kindString": "Property",@@ -33382,7 +35829,7 @@"defaultValue": "false"},{- "id": 101,+ "id": 103,"name": "params","kind": 1024,"kindString": "Property",@@ -33404,7 +35851,7 @@}},{- "id": 98,+ "id": 100,"name": "pushBuffer","kind": 1024,"kindString": "Property",@@ -33429,7 +35876,7 @@"defaultValue": "[]"},{- "id": 97,+ "id": 99,"name": "rejoinTimer","kind": 1024,"kindString": "Property",@@ -33450,7 +35897,7 @@}},{- "id": 102,+ "id": 104,"name": "socket","kind": 1024,"kindString": "Property",@@ -33468,12 +35915,12 @@],"type": {"type": "reference",- "id": 195,+ "id": 197,"name": "RealtimeClient"}},{- "id": 94,+ "id": 96,"name": "state","kind": 1024,"kindString": "Property",@@ -33495,7 +35942,7 @@"defaultValue": "CHANNEL_STATES.closed"},{- "id": 93,+ "id": 95,"name": "timeout","kind": 1024,"kindString": "Property",@@ -33515,7 +35962,7 @@}},{- "id": 100,+ "id": 102,"name": "topic","kind": 1024,"kindString": "Property",@@ -33537,7 +35984,7 @@}},{- "id": 125,+ "id": 127,"name": "canPush","kind": 2048,"kindString": "Method",@@ -33546,7 +35993,7 @@},"signatures": [{- "id": 126,+ "id": 128,"name": "canPush","kind": 4096,"kindString": "Call signature",@@ -33568,7 +36015,7 @@]},{- "id": 159,+ "id": 161,"name": "isClosed","kind": 2048,"kindString": "Method",@@ -33577,7 +36024,7 @@},"signatures": [{- "id": 160,+ "id": 162,"name": "isClosed","kind": 4096,"kindString": "Call signature",@@ -33593,13 +36040,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 198,+ "line": 201,"character": 10}]},{- "id": 161,+ "id": 163,"name": "isErrored","kind": 2048,"kindString": "Method",@@ -33608,7 +36055,7 @@},"signatures": [{- "id": 162,+ "id": 164,"name": "isErrored","kind": 4096,"kindString": "Call signature",@@ -33624,13 +36071,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 201,+ "line": 204,"character": 11}]},{- "id": 163,+ "id": 165,"name": "isJoined","kind": 2048,"kindString": "Method",@@ -33639,7 +36086,7 @@},"signatures": [{- "id": 164,+ "id": 166,"name": "isJoined","kind": 4096,"kindString": "Call signature",@@ -33655,13 +36102,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 204,+ "line": 207,"character": 10}]},{- "id": 165,+ "id": 167,"name": "isJoining","kind": 2048,"kindString": "Method",@@ -33670,7 +36117,7 @@},"signatures": [{- "id": 166,+ "id": 168,"name": "isJoining","kind": 4096,"kindString": "Call signature",@@ -33686,13 +36133,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 207,+ "line": 210,"character": 11}]},{- "id": 167,+ "id": 169,"name": "isLeaving","kind": 2048,"kindString": "Method",@@ -33701,7 +36148,7 @@},"signatures": [{- "id": 168,+ "id": 170,"name": "isLeaving","kind": 4096,"kindString": "Call signature",@@ -33717,13 +36164,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 210,+ "line": 213,"character": 11}]},{- "id": 140,+ "id": 142,"name": "isMember","kind": 2048,"kindString": "Method",@@ -33732,7 +36179,7 @@},"signatures": [{- "id": 141,+ "id": 143,"name": "isMember","kind": 4096,"kindString": "Call signature",@@ -33741,7 +36188,7 @@},"parameters": [{- "id": 142,+ "id": 144,"name": "topic","kind": 32768,"kindString": "Parameter",@@ -33763,13 +36210,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 151,+ "line": 154,"character": 10}]},{- "id": 143,+ "id": 145,"name": "joinRef","kind": 2048,"kindString": "Method",@@ -33778,7 +36225,7 @@},"signatures": [{- "id": 144,+ "id": 146,"name": "joinRef","kind": 4096,"kindString": "Call signature",@@ -33794,13 +36241,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 155,+ "line": 158,"character": 9}]},{- "id": 122,+ "id": 124,"name": "off","kind": 2048,"kindString": "Method",@@ -33809,7 +36256,7 @@},"signatures": [{- "id": 123,+ "id": 125,"name": "off","kind": 4096,"kindString": "Call signature",@@ -33818,7 +36265,7 @@},"parameters": [{- "id": 124,+ "id": 126,"name": "event","kind": 32768,"kindString": "Parameter",@@ -33846,7 +36293,7 @@]},{- "id": 118,+ "id": 120,"name": "on","kind": 2048,"kindString": "Method",@@ -33855,7 +36302,7 @@},"signatures": [{- "id": 119,+ "id": 121,"name": "on","kind": 4096,"kindString": "Call signature",@@ -33864,7 +36311,7 @@},"parameters": [{- "id": 120,+ "id": 122,"name": "event","kind": 32768,"kindString": "Parameter",@@ -33877,7 +36324,7 @@}},{- "id": 121,+ "id": 123,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -33905,7 +36352,7 @@]},{- "id": 112,+ "id": 114,"name": "onClose","kind": 2048,"kindString": "Method",@@ -33914,7 +36361,7 @@},"signatures": [{- "id": 113,+ "id": 115,"name": "onClose","kind": 4096,"kindString": "Call signature",@@ -33923,7 +36370,7 @@},"parameters": [{- "id": 114,+ "id": 116,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -33951,7 +36398,7 @@]},{- "id": 115,+ "id": 117,"name": "onError","kind": 2048,"kindString": "Method",@@ -33960,7 +36407,7 @@},"signatures": [{- "id": 116,+ "id": 118,"name": "onError","kind": 4096,"kindString": "Call signature",@@ -33969,7 +36416,7 @@},"parameters": [{- "id": 117,+ "id": 119,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -33997,7 +36444,7 @@]},{- "id": 135,+ "id": 137,"name": "onMessage","kind": 2048,"kindString": "Method",@@ -34006,7 +36453,7 @@},"signatures": [{- "id": 136,+ "id": 138,"name": "onMessage","kind": 4096,"kindString": "Call signature",@@ -34019,7 +36466,7 @@},"parameters": [{- "id": 137,+ "id": 139,"name": "event","kind": 32768,"kindString": "Parameter",@@ -34032,7 +36479,7 @@}},{- "id": 138,+ "id": 140,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -34045,7 +36492,7 @@}},{- "id": 139,+ "id": 141,"name": "ref","kind": 32768,"kindString": "Parameter",@@ -34077,13 +36524,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 147,+ "line": 150,"character": 11}]},{- "id": 127,+ "id": 129,"name": "push","kind": 2048,"kindString": "Method",@@ -34092,7 +36539,7 @@},"signatures": [{- "id": 128,+ "id": 130,"name": "push","kind": 4096,"kindString": "Call signature",@@ -34101,7 +36548,7 @@},"parameters": [{- "id": 129,+ "id": 131,"name": "event","kind": 32768,"kindString": "Parameter",@@ -34115,7 +36562,7 @@}},{- "id": 130,+ "id": 132,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -34128,7 +36575,7 @@}},{- "id": 131,+ "id": 133,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -34158,7 +36605,7 @@]},{- "id": 148,+ "id": 150,"name": "rejoin","kind": 2048,"kindString": "Method",@@ -34167,7 +36614,7 @@},"signatures": [{- "id": 149,+ "id": 151,"name": "rejoin","kind": 4096,"kindString": "Call signature",@@ -34176,7 +36623,7 @@},"parameters": [{- "id": 150,+ "id": 152,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -34199,13 +36646,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 164,+ "line": 167,"character": 8}]},{- "id": 107,+ "id": 109,"name": "rejoinUntilConnected","kind": 2048,"kindString": "Method",@@ -34214,7 +36661,7 @@},"signatures": [{- "id": 108,+ "id": 110,"name": "rejoinUntilConnected","kind": 4096,"kindString": "Call signature",@@ -34236,7 +36683,7 @@]},{- "id": 156,+ "id": 158,"name": "replyEventName","kind": 2048,"kindString": "Method",@@ -34245,7 +36692,7 @@},"signatures": [{- "id": 157,+ "id": 159,"name": "replyEventName","kind": 4096,"kindString": "Call signature",@@ -34254,7 +36701,7 @@},"parameters": [{- "id": 158,+ "id": 160,"name": "ref","kind": 32768,"kindString": "Parameter",@@ -34276,13 +36723,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 194,+ "line": 197,"character": 16}]},{- "id": 145,+ "id": 147,"name": "sendJoin","kind": 2048,"kindString": "Method",@@ -34291,7 +36738,7 @@},"signatures": [{- "id": 146,+ "id": 148,"name": "sendJoin","kind": 4096,"kindString": "Call signature",@@ -34300,7 +36747,7 @@},"parameters": [{- "id": 147,+ "id": 149,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -34322,13 +36769,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 159,+ "line": 162,"character": 10}]},{- "id": 109,+ "id": 111,"name": "subscribe","kind": 2048,"kindString": "Method",@@ -34337,7 +36784,7 @@},"signatures": [{- "id": 110,+ "id": 112,"name": "subscribe","kind": 4096,"kindString": "Call signature",@@ -34346,7 +36793,7 @@},"parameters": [{- "id": 111,+ "id": 113,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -34376,7 +36823,7 @@]},{- "id": 151,+ "id": 153,"name": "trigger","kind": 2048,"kindString": "Method",@@ -34385,7 +36832,7 @@},"signatures": [{- "id": 152,+ "id": 154,"name": "trigger","kind": 4096,"kindString": "Call signature",@@ -34394,7 +36841,7 @@},"parameters": [{- "id": 153,+ "id": 155,"name": "event","kind": 32768,"kindString": "Parameter",@@ -34407,7 +36854,7 @@}},{- "id": 154,+ "id": 156,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -34421,7 +36868,7 @@}},{- "id": 155,+ "id": 157,"name": "ref","kind": 32768,"kindString": "Parameter",@@ -34453,13 +36900,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 171,+ "line": 174,"character": 9}]},{- "id": 132,+ "id": 134,"name": "unsubscribe","kind": 2048,"kindString": "Method",@@ -34468,7 +36915,7 @@},"signatures": [{- "id": 133,+ "id": 135,"name": "unsubscribe","kind": 4096,"kindString": "Call signature",@@ -34481,7 +36928,7 @@},"parameters": [{- "id": 134,+ "id": 136,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -34516,50 +36963,50 @@"title": "Constructors","kind": 512,"children": [- 99+ 101]},{"title": "Properties","kind": 1024,"children": [- 92,- 96,- 95,- 101,+ 94,98,97,- 102,- 94,- 93,- 100+ 103,+ 100,+ 99,+ 104,+ 96,+ 95,+ 102]},{"title": "Methods","kind": 2048,"children": [- 125,- 159,+ 127,161,163,165,167,- 140,- 143,- 122,- 118,- 112,- 115,- 135,- 127,- 148,- 107,- 156,+ 169,+ 142,145,+ 124,+ 120,+ 114,+ 117,+ 137,+ 129,+ 150,109,- 151,- 132+ 158,+ 147,+ 111,+ 153,+ 134]}],@@ -34577,7 +37024,7 @@"title": "Classes","kind": 128,"children": [- 91+ 93]}],@@ -34590,7 +37037,7 @@]},{- "id": 413,+ "id": 415,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -35142,7 +37589,7 @@},"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}},@@ -35234,7 +37681,7 @@],"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}},@@ -35604,7 +38051,7 @@"defaultValue": "undefined"},{- "id": 77,+ "id": 79,"name": "_cancelRefEvent","kind": 2048,"kindString": "Method",@@ -35614,7 +38061,7 @@},"signatures": [{- "id": 78,+ "id": 80,"name": "_cancelRefEvent","kind": 4096,"kindString": "Call signature",@@ -35630,13 +38077,13 @@"sources": [{"fileName": "lib/push.ts",- "line": 89,+ "line": 94,"character": 25}]},{- "id": 79,+ "id": 81,"name": "_cancelTimeout","kind": 2048,"kindString": "Method",@@ -35646,7 +38093,7 @@},"signatures": [{- "id": 80,+ "id": 82,"name": "_cancelTimeout","kind": 4096,"kindString": "Call signature",@@ -35662,13 +38109,13 @@"sources": [{"fileName": "lib/push.ts",- "line": 96,+ "line": 101,"character": 24}]},{- "id": 87,+ "id": 89,"name": "_hasReceived","kind": 2048,"kindString": "Method",@@ -35678,7 +38125,7 @@},"signatures": [{- "id": 88,+ "id": 90,"name": "_hasReceived","kind": 4096,"kindString": "Call signature",@@ -35687,7 +38134,7 @@},"parameters": [{- "id": 89,+ "id": 91,"name": "status","kind": 32768,"kindString": "Parameter",@@ -35722,13 +38169,13 @@"sources": [{"fileName": "lib/push.ts",- "line": 113,+ "line": 118,"character": 22}]},{- "id": 81,+ "id": 83,"name": "_matchReceive","kind": 2048,"kindString": "Method",@@ -35738,7 +38185,7 @@},"signatures": [{- "id": 82,+ "id": 84,"name": "_matchReceive","kind": 4096,"kindString": "Call signature",@@ -35747,7 +38194,7 @@},"parameters": [{- "id": 83,+ "id": 85,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -35758,7 +38205,7 @@"type": {"type": "reflection","declaration": {- "id": 84,+ "id": 86,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -35767,7 +38214,7 @@},"children": [{- "id": 86,+ "id": 88,"name": "response","kind": 32,"kindString": "Variable",@@ -35777,7 +38224,7 @@"sources": [{"fileName": "lib/push.ts",- "line": 103,+ "line": 108,"character": 12}],@@ -35787,7 +38234,7 @@}},{- "id": 85,+ "id": 87,"name": "status","kind": 32,"kindString": "Variable",@@ -35797,7 +38244,7 @@"sources": [{"fileName": "lib/push.ts",- "line": 102,+ "line": 107,"character": 10}],@@ -35812,15 +38259,15 @@"title": "Variables","kind": 32,"children": [- 86,- 85+ 88,+ 87]}],"sources": [{"fileName": "lib/push.ts",- "line": 101,+ "line": 106,"character": 24}]@@ -35837,11 +38284,42 @@"sources": [{"fileName": "lib/push.ts",- "line": 101,+ "line": 106,"character": 23}]},+ {+ "id": 77,+ "name": "destroy",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 78,+ "name": "destroy",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "lib/push.ts",+ "line": 89,+ "character": 9+ }+ ]+ },{"id": 67,"name": "receive",@@ -36097,10 +38575,11 @@"title": "Methods","kind": 2048,"children": [- 77,79,- 87,81,+ 89,+ 83,+ 77,67,62,65,@@ -36136,7 +38615,7 @@]},{- "id": 169,+ "id": 171,"name": "\"lib/serializer\"","kind": 1,"kindString": "Module",@@ -36146,7 +38625,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts","children": [{- "id": 170,+ "id": 172,"name": "Serializer","kind": 128,"kindString": "Class",@@ -36155,7 +38634,7 @@},"children": [{- "id": 171,+ "id": 173,"name": "HEADER_LENGTH","kind": 1024,"kindString": "Property",@@ -36176,7 +38655,7 @@"defaultValue": "1"},{- "id": 176,+ "id": 178,"name": "_binaryDecode","kind": 2048,"kindString": "Method",@@ -36186,7 +38665,7 @@},"signatures": [{- "id": 177,+ "id": 179,"name": "_binaryDecode","kind": 4096,"kindString": "Call signature",@@ -36195,7 +38674,7 @@},"parameters": [{- "id": 178,+ "id": 180,"name": "buffer","kind": 32768,"kindString": "Parameter",@@ -36211,7 +38690,7 @@"type": {"type": "reflection","declaration": {- "id": 179,+ "id": 181,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -36220,7 +38699,7 @@},"children": [{- "id": 182,+ "id": 184,"name": "event","kind": 32,"kindString": "Variable",@@ -36240,7 +38719,7 @@}},{- "id": 183,+ "id": 185,"name": "payload","kind": 32,"kindString": "Variable",@@ -36260,7 +38739,7 @@}},{- "id": 180,+ "id": 182,"name": "ref","kind": 32,"kindString": "Variable",@@ -36280,7 +38759,7 @@}},{- "id": 181,+ "id": 183,"name": "topic","kind": 32,"kindString": "Variable",@@ -36305,10 +38784,10 @@"title": "Variables","kind": 32,"children": [+ 184,+ 185,182,- 183,- 180,- 181+ 183]}]@@ -36325,7 +38804,7 @@]},{- "id": 184,+ "id": 186,"name": "_decodeBroadcast","kind": 2048,"kindString": "Method",@@ -36335,7 +38814,7 @@},"signatures": [{- "id": 185,+ "id": 187,"name": "_decodeBroadcast","kind": 4096,"kindString": "Call signature",@@ -36344,7 +38823,7 @@},"parameters": [{- "id": 186,+ "id": 188,"name": "buffer","kind": 32768,"kindString": "Parameter",@@ -36357,7 +38836,7 @@}},{- "id": 187,+ "id": 189,"name": "view","kind": 32768,"kindString": "Parameter",@@ -36370,7 +38849,7 @@}},{- "id": 188,+ "id": 190,"name": "decoder","kind": 32768,"kindString": "Parameter",@@ -36386,7 +38865,7 @@"type": {"type": "reflection","declaration": {- "id": 189,+ "id": 191,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -36395,7 +38874,7 @@},"children": [{- "id": 192,+ "id": 194,"name": "event","kind": 32,"kindString": "Variable",@@ -36415,7 +38894,7 @@}},{- "id": 193,+ "id": 195,"name": "payload","kind": 32,"kindString": "Variable",@@ -36435,7 +38914,7 @@}},{- "id": 190,+ "id": 192,"name": "ref","kind": 32,"kindString": "Variable",@@ -36455,7 +38934,7 @@}},{- "id": 191,+ "id": 193,"name": "topic","kind": 32,"kindString": "Variable",@@ -36480,10 +38959,10 @@"title": "Variables","kind": 32,"children": [+ 194,+ 195,192,- 193,- 190,- 191+ 193]}],@@ -36507,7 +38986,7 @@]},{- "id": 172,+ "id": 174,"name": "decode","kind": 2048,"kindString": "Method",@@ -36516,7 +38995,7 @@},"signatures": [{- "id": 173,+ "id": 175,"name": "decode","kind": 4096,"kindString": "Call signature",@@ -36525,7 +39004,7 @@},"parameters": [{- "id": 174,+ "id": 176,"name": "rawPayload","kind": 32768,"kindString": "Parameter",@@ -36547,7 +39026,7 @@}},{- "id": 175,+ "id": 177,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -36580,16 +39059,16 @@"title": "Properties","kind": 1024,"children": [- 171+ 173]},{"title": "Methods","kind": 2048,"children": [- 176,- 184,- 172+ 178,+ 186,+ 174]}],@@ -36607,7 +39086,7 @@"title": "Classes","kind": 128,"children": [- 170+ 172]}],@@ -36919,7 +39398,7 @@]},{- "id": 327,+ "id": 329,"name": "\"lib/transformers\"","kind": 1,"kindString": "Module",@@ -36929,7 +39408,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts","children": [{- "id": 328,+ "id": 330,"name": "PostgresTypes","kind": 4,"kindString": "Enumeration",@@ -36941,7 +39420,7 @@},"children": [{- "id": 329,+ "id": 331,"name": "abstime","kind": 16,"kindString": "Enumeration member",@@ -36958,7 +39437,7 @@"defaultValue": "\"abstime\""},{- "id": 330,+ "id": 332,"name": "bool","kind": 16,"kindString": "Enumeration member",@@ -36975,7 +39454,7 @@"defaultValue": "\"bool\""},{- "id": 331,+ "id": 333,"name": "date","kind": 16,"kindString": "Enumeration member",@@ -36992,7 +39471,7 @@"defaultValue": "\"date\""},{- "id": 332,+ "id": 334,"name": "daterange","kind": 16,"kindString": "Enumeration member",@@ -37009,7 +39488,7 @@"defaultValue": "\"daterange\""},{- "id": 333,+ "id": 335,"name": "float4","kind": 16,"kindString": "Enumeration member",@@ -37026,7 +39505,7 @@"defaultValue": "\"float4\""},{- "id": 334,+ "id": 336,"name": "float8","kind": 16,"kindString": "Enumeration member",@@ -37043,7 +39522,7 @@"defaultValue": "\"float8\""},{- "id": 335,+ "id": 337,"name": "int2","kind": 16,"kindString": "Enumeration member",@@ -37060,7 +39539,7 @@"defaultValue": "\"int2\""},{- "id": 336,+ "id": 338,"name": "int4","kind": 16,"kindString": "Enumeration member",@@ -37077,7 +39556,7 @@"defaultValue": "\"int4\""},{- "id": 337,+ "id": 339,"name": "int4range","kind": 16,"kindString": "Enumeration member",@@ -37094,7 +39573,7 @@"defaultValue": "\"int4range\""},{- "id": 338,+ "id": 340,"name": "int8","kind": 16,"kindString": "Enumeration member",@@ -37111,7 +39590,7 @@"defaultValue": "\"int8\""},{- "id": 339,+ "id": 341,"name": "int8range","kind": 16,"kindString": "Enumeration member",@@ -37128,7 +39607,7 @@"defaultValue": "\"int8range\""},{- "id": 340,+ "id": 342,"name": "json","kind": 16,"kindString": "Enumeration member",@@ -37145,7 +39624,7 @@"defaultValue": "\"json\""},{- "id": 341,+ "id": 343,"name": "jsonb","kind": 16,"kindString": "Enumeration member",@@ -37162,7 +39641,7 @@"defaultValue": "\"jsonb\""},{- "id": 342,+ "id": 344,"name": "money","kind": 16,"kindString": "Enumeration member",@@ -37179,7 +39658,7 @@"defaultValue": "\"money\""},{- "id": 343,+ "id": 345,"name": "numeric","kind": 16,"kindString": "Enumeration member",@@ -37196,7 +39675,7 @@"defaultValue": "\"numeric\""},{- "id": 344,+ "id": 346,"name": "oid","kind": 16,"kindString": "Enumeration member",@@ -37213,7 +39692,7 @@"defaultValue": "\"oid\""},{- "id": 345,+ "id": 347,"name": "reltime","kind": 16,"kindString": "Enumeration member",@@ -37230,7 +39709,7 @@"defaultValue": "\"reltime\""},{- "id": 346,+ "id": 348,"name": "time","kind": 16,"kindString": "Enumeration member",@@ -37247,7 +39726,7 @@"defaultValue": "\"time\""},{- "id": 347,+ "id": 349,"name": "timestamp","kind": 16,"kindString": "Enumeration member",@@ -37264,7 +39743,7 @@"defaultValue": "\"timestamp\""},{- "id": 348,+ "id": 350,"name": "timestamptz","kind": 16,"kindString": "Enumeration member",@@ -37281,7 +39760,7 @@"defaultValue": "\"timestamptz\""},{- "id": 349,+ "id": 351,"name": "timetz","kind": 16,"kindString": "Enumeration member",@@ -37298,7 +39777,7 @@"defaultValue": "\"timetz\""},{- "id": 350,+ "id": 352,"name": "tsrange","kind": 16,"kindString": "Enumeration member",@@ -37315,7 +39794,7 @@"defaultValue": "\"tsrange\""},{- "id": 351,+ "id": 353,"name": "tstzrange","kind": 16,"kindString": "Enumeration member",@@ -37337,8 +39816,6 @@"title": "Enumeration members","kind": 16,"children": [- 329,- 330,331,332,333,@@ -37359,7 +39836,9 @@348,349,350,- 351+ 351,+ 352,+ 353]}],@@ -37372,7 +39851,7 @@]},{- "id": 352,+ "id": 354,"name": "Column","kind": 4194304,"kindString": "Type alias",@@ -37387,14 +39866,14 @@"type": {"type": "reflection","declaration": {- "id": 353,+ "id": 355,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 354,+ "id": 356,"name": "flags","kind": 32,"kindString": "Variable",@@ -37415,7 +39894,7 @@}},{- "id": 355,+ "id": 357,"name": "name","kind": 32,"kindString": "Variable",@@ -37433,7 +39912,7 @@}},{- "id": 356,+ "id": 358,"name": "type","kind": 32,"kindString": "Variable",@@ -37451,7 +39930,7 @@}},{- "id": 357,+ "id": 359,"name": "type_modifier","kind": 32,"kindString": "Variable",@@ -37474,10 +39953,10 @@"title": "Variables","kind": 32,"children": [- 354,- 355,356,- 357+ 357,+ 358,+ 359]}],@@ -37492,7 +39971,7 @@}},{- "id": 358,+ "id": 360,"name": "Records","kind": 4194304,"kindString": "Type alias",@@ -37507,21 +39986,21 @@"type": {"type": "reflection","declaration": {- "id": 359,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": [{- "id": 360,+ "id": 362,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 361,+ "id": 363,"name": "key","kind": 32768,"kindString": "Parameter",@@ -37549,7 +40028,7 @@}},{- "id": 378,+ "id": 380,"name": "convertCell","kind": 64,"kindString": "Function",@@ -37562,7 +40041,7 @@"tags": [{"tag": "example",- "text": "convertCell('bool', 'true')\n//=> true"+ "text": "convertCell('bool', 't')\n//=> true"},{"tag": "example",@@ -37576,7 +40055,7 @@},"signatures": [{- "id": 379,+ "id": 381,"name": "convertCell","kind": 4096,"kindString": "Call signature",@@ -37588,7 +40067,7 @@"tags": [{"tag": "example",- "text": "convertCell('bool', 'true')\n//=> true"+ "text": "convertCell('bool', 't')\n//=> true"},{"tag": "example",@@ -37602,7 +40081,7 @@},"parameters": [{- "id": 380,+ "id": 382,"name": "type","kind": 32768,"kindString": "Parameter",@@ -37618,7 +40097,7 @@}},{- "id": 381,+ "id": 383,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -37649,7 +40128,7 @@]},{- "id": 362,+ "id": 364,"name": "convertChangeData","kind": 64,"kindString": "Function",@@ -37668,7 +40147,7 @@},"signatures": [{- "id": 363,+ "id": 365,"name": "convertChangeData","kind": 4096,"kindString": "Call signature",@@ -37686,7 +40165,7 @@},"parameters": [{- "id": 364,+ "id": 366,"name": "columns","kind": 32768,"kindString": "Parameter",@@ -37697,13 +40176,13 @@"type": "array","elementType": {"type": "reference",- "id": 352,+ "id": 354,"name": "Column"}}},{- "id": 365,+ "id": 367,"name": "records","kind": 32768,"kindString": "Parameter",@@ -37713,12 +40192,12 @@"comment": {},"type": {"type": "reference",- "id": 358,+ "id": 360,"name": "Records"}},{- "id": 366,+ "id": 368,"name": "options","kind": 32768,"kindString": "Parameter",@@ -37731,7 +40210,7 @@"type": {"type": "reflection","declaration": {- "id": 367,+ "id": 369,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -37740,7 +40219,7 @@},"children": [{- "id": 368,+ "id": 370,"name": "skipTypes","kind": 32,"kindString": "Variable",@@ -37769,7 +40248,7 @@"title": "Variables","kind": 32,"children": [- 368+ 370]}],@@ -37788,7 +40267,7 @@"type": {"type": "reflection","declaration": {- "id": 369,+ "id": 371,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -37797,7 +40276,7 @@},"indexSignature": [{- "id": 370,+ "id": 372,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -37806,7 +40285,7 @@},"parameters": [{- "id": 371,+ "id": 373,"name": "key","kind": 32768,"kindString": "Parameter",@@ -37838,7 +40317,7 @@]},{- "id": 372,+ "id": 374,"name": "convertColumn","kind": 64,"kindString": "Function",@@ -37852,17 +40331,17 @@"tags": [{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], [])\n//=> 33"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"},{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"}]},"signatures": [{- "id": 373,+ "id": 375,"name": "convertColumn","kind": 4096,"kindString": "Call signature",@@ -37875,17 +40354,17 @@"tags": [{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], [])\n//=> 33"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"},{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"}]},"parameters": [{- "id": 374,+ "id": 376,"name": "columnName","kind": 32768,"kindString": "Parameter",@@ -37901,7 +40380,7 @@}},{- "id": 375,+ "id": 377,"name": "columns","kind": 32768,"kindString": "Parameter",@@ -37912,13 +40391,13 @@"type": "array","elementType": {"type": "reference",- "id": 352,+ "id": 354,"name": "Column"}}},{- "id": 376,+ "id": 378,"name": "records","kind": 32768,"kindString": "Parameter",@@ -37930,12 +40409,12 @@},"type": {"type": "reference",- "id": 358,+ "id": 360,"name": "Records"}},{- "id": 377,+ "id": 379,"name": "skipTypes","kind": 32768,"kindString": "Parameter",@@ -37969,7 +40448,7 @@]},{- "id": 382,+ "id": 384,"name": "noop","kind": 64,"kindString": "Function",@@ -37978,14 +40457,14 @@},"signatures": [{- "id": 383,+ "id": 385,"name": "noop","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 384,+ "id": 386,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38011,7 +40490,7 @@]},{- "id": 406,+ "id": 408,"name": "toArray","kind": 64,"kindString": "Function",@@ -38034,7 +40513,7 @@},"signatures": [{- "id": 407,+ "id": 409,"name": "toArray","kind": 4096,"kindString": "Call signature",@@ -38056,7 +40535,7 @@},"parameters": [{- "id": 408,+ "id": 410,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38069,7 +40548,7 @@}},{- "id": 409,+ "id": 411,"name": "type","kind": 32768,"kindString": "Parameter",@@ -38100,7 +40579,7 @@]},{- "id": 385,+ "id": 387,"name": "toBoolean","kind": 64,"kindString": "Function",@@ -38110,7 +40589,7 @@},"signatures": [{- "id": 386,+ "id": 388,"name": "toBoolean","kind": 4096,"kindString": "Call signature",@@ -38119,7 +40598,7 @@},"parameters": [{- "id": 387,+ "id": 389,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38160,7 +40639,7 @@]},{- "id": 388,+ "id": 390,"name": "toDate","kind": 64,"kindString": "Function",@@ -38170,7 +40649,7 @@},"signatures": [{- "id": 389,+ "id": 391,"name": "toDate","kind": 4096,"kindString": "Call signature",@@ -38179,7 +40658,7 @@},"parameters": [{- "id": 390,+ "id": 392,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38207,7 +40686,7 @@]},{- "id": 391,+ "id": 393,"name": "toDateRange","kind": 64,"kindString": "Function",@@ -38217,7 +40696,7 @@},"signatures": [{- "id": 392,+ "id": 394,"name": "toDateRange","kind": 4096,"kindString": "Call signature",@@ -38226,7 +40705,7 @@},"parameters": [{- "id": 393,+ "id": 395,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38257,7 +40736,7 @@]},{- "id": 394,+ "id": 396,"name": "toFloat","kind": 64,"kindString": "Function",@@ -38267,7 +40746,7 @@},"signatures": [{- "id": 395,+ "id": 397,"name": "toFloat","kind": 4096,"kindString": "Call signature",@@ -38276,7 +40755,7 @@},"parameters": [{- "id": 396,+ "id": 398,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38304,7 +40783,7 @@]},{- "id": 397,+ "id": 399,"name": "toInt","kind": 64,"kindString": "Function",@@ -38314,7 +40793,7 @@},"signatures": [{- "id": 398,+ "id": 400,"name": "toInt","kind": 4096,"kindString": "Call signature",@@ -38323,7 +40802,7 @@},"parameters": [{- "id": 399,+ "id": 401,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38351,7 +40830,7 @@]},{- "id": 400,+ "id": 402,"name": "toIntRange","kind": 64,"kindString": "Function",@@ -38361,7 +40840,7 @@},"signatures": [{- "id": 401,+ "id": 403,"name": "toIntRange","kind": 4096,"kindString": "Call signature",@@ -38370,7 +40849,7 @@},"parameters": [{- "id": 402,+ "id": 404,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38401,7 +40880,7 @@]},{- "id": 403,+ "id": 405,"name": "toJson","kind": 64,"kindString": "Function",@@ -38411,7 +40890,7 @@},"signatures": [{- "id": 404,+ "id": 406,"name": "toJson","kind": 4096,"kindString": "Call signature",@@ -38420,7 +40899,7 @@},"parameters": [{- "id": 405,+ "id": 407,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38448,7 +40927,7 @@]},{- "id": 410,+ "id": 412,"name": "toTimestampString","kind": 64,"kindString": "Function",@@ -38467,7 +40946,7 @@},"signatures": [{- "id": 411,+ "id": 413,"name": "toTimestampString","kind": 4096,"kindString": "Call signature",@@ -38485,7 +40964,7 @@},"parameters": [{- "id": 412,+ "id": 414,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -38518,34 +40997,34 @@"title": "Enumerations","kind": 4,"children": [- 328+ 330]},{"title": "Type aliases","kind": 4194304,"children": [- 352,- 358+ 354,+ 360]},{"title": "Functions","kind": 64,"children": [- 378,- 362,- 372,- 382,- 406,- 385,- 388,- 391,- 394,- 397,- 400,- 403,- 410+ 380,+ 364,+ 374,+ 384,+ 408,+ 387,+ 390,+ 393,+ 396,+ 399,+ 402,+ 405,+ 412]}],@@ -38563,14 +41042,14 @@"title": "Modules","kind": 1,"children": [- 194,- 90,- 413,+ 196,+ 92,+ 415,1,38,- 169,+ 171,24,- 327+ 329]}]diff --git a/web/spec/dart.yml b/web/spec/dart.ymlindex d8138dde4db..6459162aff5 100644--- a/web/spec/dart.yml+++ b/web/spec/dart.yml@@ -17,40 +17,332 @@ info:sidebar:- name: 'About'items:- - index- Installing- Initializing-+ - name: 'Auth'+ items:+ - auth.signUp()+ - auth.signIn()+ - auth.signOut()+ - auth.session()+ - auth.user()+ - auth.update()+ - auth.onAuthStateChange()+ - Reset Password (Email)+ - Delete User+ # - name: 'Data'+ # items:+ # - select()+ # - insert()+ # - update()+ # - upsert()+ # - delete()+ # - rpc()+ # - name: 'Realtime'+ # items:+ # - subscribe()+ # - removeSubscription()+ # - getSubscriptions()+ # - name: 'Storage'+ # items:+ # - storage.createBucket()+ # - storage.getBucket()+ # - storage.listBuckets()+ # - storage.updateBucket()+ # - storage.deleteBucket()+ # - storage.emptyBucket()+ # - storage.from.upload()+ # - storage.from.download()+ # - storage.from.list()+ # - storage.from.update()+ # - storage.from.move()+ # - storage.from.remove()+ # - storage.from.createSignedUrl()+ # - storage.from.getPublicUrl()+ # - name: 'Modifiers'+ # items:+ # - Using Modifiers+ # - limit()+ # - order()+ # - range()+ # - single()+ # - name: 'Filters'+ # items:+ # - Using Filters+ # - .filter()+ # - .or()+ # - .not()+ # - .match()+ # - .eq()+ # - .neq()+ # - .gt()+ # - .gte()+ # - .lt()+ # - .lte()+ # - .like()+ # - .ilike()+ # - .is()+ # - .in()+ # - .contains()+ # - .containedBy()+ # - .rangeLt()+ # - .rangeGt()+ # - .rangeGte()+ # - .rangeLte()+ # - .rangeAdjacent()+ # - .overlaps()+ # - .textSearch()pages:Installing:description: |++ ## Dart+Dart libraries are built and suppported by the community.```bash- # TODO+ dart pub add supabase```Find the source code on [GitHub](https://github.com/supabase/supabase-dart).## Flutter- TODO: Some notes about flutter+ For Flutter project, you can use [supabase-flutter](https://github.com/supabase/supabase-flutter).++ ```bash+ flutter pub add supabase_flutter+ ```++ `supabase-flutter` plugin uses `supabase` plugin internally, and it adds some Flutter specific functionality such as handling deeplinks comoing back from magic link vefications.+ If you are creating a Flutter application, you should use `supabase-flutter` instead of `supabase-dart`.++ Basic syntax of `supabase-flutter` are the same as `supabase` except initialization.Initializing:description: |- You can initialize a new Supabase client using the `createClient()` method.+ ## Dart+ You can initialize a new Supabase client using the `SupabaseClient()` method.The Supabase client is your entrypoint to the rest of the Supabase functionalityand is the easiest way to interact with everything we offer within the Supabase ecosystem.++ ## Flutter++ For `supabase-flutter`, you will be using the static `initialize()` method on `Supabase` class.++ examples:+ - name: Dart SupabaseClient()+ dart: |+ ```dart+ final supabase = SupabaseClient('https://xyzcompany.supabase.co', 'public-anon-key');+ ```+ - name: Flutter initialize()+ dart: |+ ```dart+ Future<void> main() async {+ await Supabase.initialize(url: 'https://xyzcompany.supabase.co', anonKey: 'public-anon-key');+ runApp(MyApp());+ }+ ```++ auth.signUp():+ notes: |+ - By default, the user will need to verify their email address before logging in. If you would like to change this, you can disable "Email Confirmations" by going to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)+ - If "Email Confirmations" is turned on, a `user` is returned but `session` will be null+ - If "Email Confirmations" is turned off, both a `user` and a `session` will be returned+ - When the user confirms their email address, they will be redirected to localhost:3000 by default. To change this, you can go to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)+ examples:+ - name: Sign up.+ isSpotlight: true+ dart: |+ ```dart+ final res = await supabase.auth.signUp('[email protected]', 'example-password');++ final user = res.data?.user;+ final session = res.data?session;+ final error = res.error;+ ```+ - name: Sign up with third-party providers.+ hideCodeBlock: true+ description: |+ You can sign up with OAuth providers using the [`signIn()`](/docs/reference/javascript/auth-signin#sign-in-using-third-party-providers) method.++ auth.signIn():+ notes: |+ - A user can sign up either via email or OAuth.+ - If you provide `email` without a `password`, the user will be sent a magic link.+ - The magic link's destination URL is determined by the SITE_URL config variable. To change this, you can go to Authentication -> Settings on [app.supabase.io](https://app.supabase.io)+ - Specifying a `provider` will open the browser to the relevant login page.examples:- - name: example()+ - name: Sign in with email.+ isSpotlight: true+ dart: |+ ```dart+ final res = await supabase.auth.signIn(email: '[email protected]', password: 'example-password');++ final user = res.data?user;+ final session = res.data?.session;+ final error = res.error;+ ```+ - name: Sign in with magic link.+ description: If no password is provided, the user will be sent a "magic link" to their email address, which they can click to open your application with a valid session. By default, a given user can only request a Magic Link once every 60 seconds.dart: |```dart- TODO+ final res = await supabase.auth.signIn(email: '[email protected]');++ final user = res.data?user;+ final session = res.data?.session;+ final error = res.error;```- - name: example()+ - name: Sign in using third-party providers.+ description: |+ Supabase supports OAuth logins.dart: |```dart- TODO+ final res = await supabase.auth.signIn(provider: Provider.github);++ final user = res.data?user;+ final session = res.data?.session;+ final error = res.error;+ ```+ - name: Sign in with redirect.+ description: |+ Sometimes you want to control where the user is redirected to after they are logged in. Supabase supports this for+ any URL path on your website (the base domain must be the same as the domain in your Auth settings).+ js: |+ ```js+ const { user, session, error } = await supabase.auth.signIn({+ provider: 'github'+ }, {+ redirectTo: 'https://example.com/welcome'+ })+ ```+ - name: Sign in with scopes.+ description: |+ If you need additional data from an OAuth provider, you can include a space-separated list of scopes in your request to get back an OAuth provider token.+ You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider.+ js: |+ ```js+ const { user, session, error } = await supabase.auth.signIn({+ provider: 'github'+ }, {+ scopes: 'repo gist notifications'+ })+ const oAuthToken = session.provider_token // use to access provider API+ ```+ - name: Sign in using a refresh token (e.g. in React Native).+ description: |+ If you are completing a sign up or login in a React Native app you can pass the refresh token obtained from the provider to obtain a session.+ js: |+ ```js+ // An example using Expo's `AuthSession`+ const redirectUri = AuthSession.makeRedirectUri({ useProxy: false });+ const provider = 'google';++ AuthSession.startAsync({+ authUrl: `https://MYSUPABASEAPP.supabase.co/auth/v1/authorize?provider=${provider}&redirect_to=${redirectUri}`,+ returnUrl: redirectUri,+ }).then(async (response: any) => {+ if (!response) return;+ const { user, session, error } = await supabase.auth.signIn({+ refreshToken: response.params?.refresh_token,+ });+ });+ ```++ auth.signOut():+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.signOut'+ examples:+ - name: Sign out+ isSpotlight: true+ js: |+ ```js+ const { error } = await supabase.auth.signOut()+ ```++ auth.session():+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.session'+ examples:+ - name: Get the session data+ isSpotlight: true+ js: |+ ```js+ const session = supabase.auth.session()+ ```++ auth.user():+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.user'+ examples:+ - name: Get the logged in user+ isSpotlight: true+ js: |+ ```js+ const user = supabase.auth.user()+ ```++ auth.update():+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.update'+ notes: |+ It's generally better to store user data in a table inside your public schema (i.e. `public.users`).+ Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.+ examples:+ - name: Update a user's metadata.+ isSpotlight: true+ js: |+ ```js+ const { user, error } = await supabase.auth.update({+ data: { hello: 'world' }+ })+ ```++ auth.onAuthStateChange():+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.onAuthStateChange'+ examples:+ - name: Listen to auth changes+ isSpotlight: true+ js: |+ ```js+ supabase.auth.onAuthStateChange((event, session) => {+ console.log(event, session)+ })+ ```++ Reset Password (Email):+ $ref: '@supabase/gotrue-js."GoTrueApi".GoTrueApi.resetPasswordForEmail'+ notes: |+ Sends a reset request to an email address.++ When the user clicks the reset link in the email they will be forwarded to:++ `<SITE_URL>#access_token=x&refresh_token=y&expires_in=z&token_type=bearer&type=recovery`++ Your app must detect `type=recovery` in the fragment and display a password reset form to the user.++ You should then use the access_token in the url and new password to update the user as follows:++ ```js+ const { error, data } = await supabase.auth.api+ .updateUser(access_token, { password : new_password })+ ```+ examples:+ - name: Reset password+ isSpotlight: true+ js: |+ ```js+ const { data, error } = supabase.auth.api.resetPasswordForEmail('[email protected]')+ ```++ Delete User:+ $ref: '@supabase/gotrue-js."GoTrueApi".GoTrueApi.deleteUser'+ examples:+ - name: Remove a user completely.+ isSpotlight: true+ js: |+ ```js+ const { user, error } = await supabase.auth.api.deleteUser(+ '715ed5db-f090-4b8c-a067-640ecee36aa0',+ 'YOUR_SERVICE_ROLE_KEY'+ )```diff --git a/web/spec/gotrue.json b/web/spec/gotrue.jsonindex 662e078287d..10cb9986abb 100644--- a/web/spec/gotrue.json+++ b/web/spec/gotrue.json@@ -6,7 +6,7 @@"originalName": "","children": [{- "id": 197,+ "id": 206,"name": "\"GoTrueApi\"","kind": 1,"kindString": "Module",@@ -16,7 +16,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts","children": [{- "id": 198,+ "id": 207,"name": "GoTrueApi","kind": 128,"kindString": "Class",@@ -25,7 +25,7 @@},"children": [{- "id": 205,+ "id": 214,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -34,7 +34,7 @@},"signatures": [{- "id": 206,+ "id": 215,"name": "new GoTrueApi","kind": 16384,"kindString": "Constructor signature",@@ -43,7 +43,7 @@},"parameters": [{- "id": 207,+ "id": 216,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -54,7 +54,7 @@"type": {"type": "reflection","declaration": {- "id": 208,+ "id": 217,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -63,7 +63,7 @@},"children": [{- "id": 214,+ "id": 223,"name": "cookieOptions","kind": 32,"kindString": "Variable",@@ -86,14 +86,14 @@},{"type": "reference",- "id": 92,+ "id": 97,"name": "CookieOptions"}]}},{- "id": 210,+ "id": 219,"name": "headers","kind": 32,"kindString": "Variable",@@ -110,7 +110,7 @@"type": {"type": "reflection","declaration": {- "id": 211,+ "id": 220,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -119,7 +119,7 @@},"indexSignature": [{- "id": 212,+ "id": 221,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -128,7 +128,7 @@},"parameters": [{- "id": 213,+ "id": 222,"name": "key","kind": 32768,"kindString": "Parameter",@@ -151,7 +151,7 @@}},{- "id": 209,+ "id": 218,"name": "url","kind": 32,"kindString": "Variable",@@ -177,9 +177,9 @@"title": "Variables","kind": 32,"children": [- 214,- 210,- 209+ 223,+ 219,+ 218]}],@@ -196,7 +196,7 @@],"type": {"type": "reference",- "id": 198,+ "id": 207,"name": "GoTrueApi"}}@@ -210,7 +210,7 @@]},{- "id": 204,+ "id": 213,"name": "cookieOptions","kind": 1024,"kindString": "Property",@@ -227,12 +227,12 @@],"type": {"type": "reference",- "id": 92,+ "id": 97,"name": "CookieOptions"}},{- "id": 200,+ "id": 209,"name": "headers","kind": 1024,"kindString": "Property",@@ -250,7 +250,7 @@"type": {"type": "reflection","declaration": {- "id": 201,+ "id": 210,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -259,7 +259,7 @@},"indexSignature": [{- "id": 202,+ "id": 211,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -268,7 +268,7 @@},"parameters": [{- "id": 203,+ "id": 212,"name": "key","kind": 32768,"kindString": "Parameter",@@ -298,7 +298,7 @@}},{- "id": 199,+ "id": 208,"name": "url","kind": 1024,"kindString": "Property",@@ -319,7 +319,7 @@}},{- "id": 264,+ "id": 304,"name": "_createRequestHeaders","kind": 2048,"kindString": "Method",@@ -329,7 +329,7 @@},"signatures": [{- "id": 265,+ "id": 305,"name": "_createRequestHeaders","kind": 4096,"kindString": "Call signature",@@ -341,7 +341,7 @@},"parameters": [{- "id": 266,+ "id": 306,"name": "jwt","kind": 32768,"kindString": "Parameter",@@ -360,7 +360,7 @@"type": {"type": "reflection","declaration": {- "id": 267,+ "id": 307,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -374,13 +374,13 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 166,+ "line": 247,"character": 31}]},{- "id": 295,+ "id": 335,"name": "deleteUser","kind": 2048,"kindString": "Method",@@ -389,7 +389,7 @@},"signatures": [{- "id": 296,+ "id": 336,"name": "deleteUser","kind": 4096,"kindString": "Call signature",@@ -401,7 +401,7 @@},"parameters": [{- "id": 297,+ "id": 337,"name": "uid","kind": 32768,"kindString": "Parameter",@@ -417,7 +417,7 @@}},{- "id": 298,+ "id": 338,"name": "jwt","kind": 32768,"kindString": "Parameter",@@ -439,7 +439,7 @@{"type": "reflection","declaration": {- "id": 299,+ "id": 339,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -448,7 +448,7 @@},"children": [{- "id": 301,+ "id": 341,"name": "data","kind": 32,"kindString": "Variable",@@ -458,7 +458,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 335,"character": 38}],@@ -478,7 +478,7 @@}},{- "id": 302,+ "id": 342,"name": "error","kind": 32,"kindString": "Variable",@@ -488,7 +488,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 335,"character": 58}],@@ -507,7 +507,7 @@}},{- "id": 300,+ "id": 340,"name": "user","kind": 32,"kindString": "Variable",@@ -517,7 +517,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 335,"character": 19}],@@ -542,16 +542,16 @@"title": "Variables","kind": 32,"children": [- 301,- 302,- 300+ 341,+ 342,+ 340]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 254,+ "line": 335,"character": 13}]@@ -565,14 +565,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 251,+ "line": 332,"character": 18}]},{- "id": 273,- "name": "getUrlForProvider",+ "id": 360,+ "name": "generateLink","kind": 2048,"kindString": "Method","flags": {@@ -580,36 +580,68 @@},"signatures": [{- "id": 274,- "name": "getUrlForProvider",+ "id": 361,+ "name": "generateLink","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Generates the relevant login URL for a third-party provider."+ "shortText": "Generates links to be sent via email or other."},"parameters": [{- "id": 275,- "name": "provider",+ "id": 362,+ "name": "type","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "One of the providers supported by GoTrue."+ "text": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")."},"type": {- "type": "reference",- "id": 103,- "name": "Provider"+ "type": "union",+ "types": [+ {+ "type": "stringLiteral",+ "value": "signup"+ },+ {+ "type": "stringLiteral",+ "value": "magiclink"+ },+ {+ "type": "stringLiteral",+ "value": "recovery"+ },+ {+ "type": "stringLiteral",+ "value": "invite"+ }+ ]+ }+ },+ {+ "id": 363,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's email."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"}},{- "id": 276,+ "id": 364,"name": "options","kind": 32768,"kindString": "Parameter",@@ -619,7 +651,7 @@"type": {"type": "reflection","declaration": {- "id": 277,+ "id": 365,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -628,8 +660,8 @@},"children": [{- "id": 278,- "name": "redirectTo",+ "id": 367,+ "name": "data","kind": 32,"kindString": "Variable","flags": {@@ -639,8 +671,29 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 198,- "character": 16+ "line": 432,+ "character": 10+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ },+ {+ "id": 366,+ "name": "password",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 431,+ "character": 14}],"type": {@@ -658,8 +711,8 @@}},{- "id": 279,- "name": "scopes",+ "id": 368,+ "name": "redirectTo","kind": 32,"kindString": "Variable","flags": {@@ -669,8 +722,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 199,- "character": 12+ "line": 433,+ "character": 16}],"type": {@@ -693,72 +746,22 @@"title": "Variables","kind": 32,"children": [- 278,- 279+ 367,+ 366,+ 368]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 197,+ "line": 430,"character": 12}]}- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 195,- "character": 19- }- ]- },- {- "id": 280,- "name": "getUser",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 281,- "name": "getUser",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Gets the user details."- },- "parameters": [- {- "id": 282,- "name": "jwt",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true},- "comment": {- "text": "A valid, logged-in JWT.\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }+ "defaultValue": "{}"}],"type": {@@ -767,7 +770,7 @@{"type": "reflection","declaration": {- "id": 283,+ "id": 369,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -776,23 +779,31 @@},"children": [{- "id": 285,+ "id": 370,"name": "data","kind": 32,"kindString": "Variable","flags": {"isExported": true},+ "comment": {+ "text": "Optional user metadata. For signup only."+ },"sources": [{"fileName": "GoTrueApi.ts",- "line": 218,- "character": 38+ "line": 435,+ "character": 19}],"type": {"type": "union","types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },{"type": "reference","id": 58,@@ -806,7 +817,7 @@}},{- "id": 286,+ "id": 371,"name": "error","kind": 32,"kindString": "Variable",@@ -816,8 +827,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 218,- "character": 58+ "line": 435,+ "character": 49}],"type": {@@ -833,36 +844,6 @@}]}- },- {- "id": 284,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 218,- "character": 19- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 58,- "name": "User"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }}],"groups": [@@ -870,16 +851,15 @@"title": "Variables","kind": 32,"children": [- 285,- 286,- 284+ 370,+ 371]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 218,+ "line": 435,"character": 13}]@@ -893,14 +873,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 216,- "character": 15+ "line": 427,+ "character": 20}]},{"id": 313,- "name": "getUserByCookie",+ "name": "getUrlForProvider","kind": 2048,"kindString": "Method","flags": {@@ -909,37 +889,45 @@"signatures": [{"id": 314,- "name": "getUserByCookie",+ "name": "getUrlForProvider","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)."+ "shortText": "Generates the relevant login URL for a third-party provider."},"parameters": [{"id": 315,- "name": "req",+ "name": "provider","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},+ "comment": {+ "text": "One of the providers supported by GoTrue."+ },"type": {- "type": "intrinsic",- "name": "any"+ "type": "reference",+ "id": 112,+ "name": "Provider"}- }- ],- "type": {- "type": "reference",- "typeArguments": [- {+ },+ {+ "id": 316,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {"type": "reflection","declaration": {- "id": 316,+ "id": 317,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -949,89 +937,60 @@"children": [{"id": 318,- "name": "data",+ "name": "redirectTo","kind": 32,"kindString": "Variable","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 322,- "character": 38+ "line": 279,+ "character": 16}],"type": {"type": "union","types": [{- "type": "reference",- "id": 58,- "name": "User"+ "type": "intrinsic",+ "name": "undefined"},{"type": "intrinsic",- "name": "null"+ "name": "string"}]}},{"id": 319,- "name": "error",+ "name": "scopes","kind": 32,"kindString": "Variable","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 322,- "character": 58+ "line": 280,+ "character": 12}],"type": {"type": "union","types": [- {- "type": "reference",- "name": "Error"- },{"type": "intrinsic",- "name": "null"- }- ]- }- },- {- "id": 317,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 322,- "character": 19- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 58,- "name": "User"+ "name": "undefined"},{"type": "intrinsic",- "name": "null"+ "name": "string"}]}@@ -1043,36 +1002,38 @@"kind": 32,"children": [318,- 319,- 317+ 319]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 322,- "character": 13+ "line": 278,+ "character": 12}]}}- ],- "name": "Promise"- }- }- ],+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],"sources": [{"fileName": "GoTrueApi.ts",- "line": 320,- "character": 23+ "line": 276,+ "character": 19}]},{- "id": 245,- "name": "inviteUserByEmail",+ "id": 320,+ "name": "getUser","kind": 2048,"kindString": "Method","flags": {@@ -1080,45 +1041,41 @@},"signatures": [{- "id": 246,- "name": "inviteUserByEmail",+ "id": 321,+ "name": "getUser","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Sends an invite link to an email address."+ "shortText": "Gets the user details."},"parameters": [{- "id": 247,- "name": "email",+ "id": 322,+ "name": "jwt","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "The email address of the user."+ "text": "A valid, logged-in JWT.\n"},"type": {"type": "intrinsic","name": "string"}- },- {- "id": 248,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {"type": "reflection","declaration": {- "id": 249,+ "id": 323,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1127,74 +1084,38 @@},"children": [{- "id": 250,- "name": "redirectTo",+ "id": 325,+ "name": "data","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 121,- "character": 16+ "line": 299,+ "character": 38}],"type": {"type": "union","types": [{- "type": "intrinsic",- "name": "undefined"+ "type": "reference",+ "id": 58,+ "name": "User"},{"type": "intrinsic",- "name": "string"+ "name": "null"}]}- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 250- ]- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 120,- "character": 12- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 251,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [+ },{- "id": 252,- "name": "data",+ "id": 326,+ "name": "error","kind": 32,"kindString": "Variable","flags": {@@ -1203,8 +1124,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 123,- "character": 19+ "line": 299,+ "character": 58}],"type": {@@ -1212,8 +1133,7 @@"types": [{"type": "reference",- "id": 58,- "name": "User"+ "name": "Error"},{"type": "intrinsic",@@ -1223,8 +1143,8 @@}},{- "id": 253,- "name": "error",+ "id": 324,+ "name": "user","kind": 32,"kindString": "Variable","flags": {@@ -1233,8 +1153,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 123,- "character": 39+ "line": 299,+ "character": 19}],"type": {@@ -1242,7 +1162,8 @@"types": [{"type": "reference",- "name": "Error"+ "id": 58,+ "name": "User"},{"type": "intrinsic",@@ -1257,15 +1178,16 @@"title": "Variables","kind": 32,"children": [- 252,- 253+ 325,+ 326,+ 324]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 123,+ "line": 299,"character": 13}]@@ -1279,14 +1201,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 118,- "character": 25+ "line": 297,+ "character": 15}]},{- "id": 303,- "name": "refreshAccessToken",+ "id": 353,+ "name": "getUserByCookie","kind": 2048,"kindString": "Method","flags": {@@ -1294,31 +1216,28 @@},"signatures": [{- "id": 304,- "name": "refreshAccessToken",+ "id": 354,+ "name": "getUserByCookie","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Generates a new JWT."+ "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)."},"parameters": [{- "id": 305,- "name": "refreshToken",+ "id": 355,+ "name": "req","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "comment": {- "text": "A valid refresh token that was returned on login.\n"- },"type": {"type": "intrinsic",- "name": "string"+ "name": "any"}}],@@ -1328,7 +1247,7 @@{"type": "reflection","declaration": {- "id": 306,+ "id": 356,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1337,7 +1256,7 @@},"children": [{- "id": 307,+ "id": 358,"name": "data","kind": 32,"kindString": "Variable",@@ -1347,8 +1266,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 275,- "character": 19+ "line": 403,+ "character": 38}],"type": {@@ -1356,8 +1275,8 @@"types": [{"type": "reference",- "id": 50,- "name": "Session"+ "id": 58,+ "name": "User"},{"type": "intrinsic",@@ -1367,7 +1286,7 @@}},{- "id": 308,+ "id": 359,"name": "error","kind": 32,"kindString": "Variable",@@ -1377,8 +1296,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 275,- "character": 42+ "line": 403,+ "character": 58}],"type": {@@ -1394,6 +1313,36 @@}]}+ },+ {+ "id": 357,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 403,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }}],"groups": [@@ -1401,15 +1350,16 @@"title": "Variables","kind": 32,"children": [- 307,- 308+ 358,+ 359,+ 357]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 275,+ "line": 403,"character": 13}]@@ -1423,14 +1373,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 273,- "character": 26+ "line": 401,+ "character": 23}]},{- "id": 254,- "name": "resetPasswordForEmail",+ "id": 285,+ "name": "inviteUserByEmail","kind": 2048,"kindString": "Method","flags": {@@ -1438,19 +1388,19 @@},"signatures": [{- "id": 255,- "name": "resetPasswordForEmail",+ "id": 286,+ "name": "inviteUserByEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Sends a reset request to an email address."+ "shortText": "Sends an invite link to an email address."},"parameters": [{- "id": 256,+ "id": 287,"name": "email","kind": 32768,"kindString": "Parameter",@@ -1466,7 +1416,7 @@}},{- "id": 257,+ "id": 288,"name": "options","kind": 32768,"kindString": "Parameter",@@ -1476,7 +1426,7 @@"type": {"type": "reflection","declaration": {- "id": 258,+ "id": 289,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1485,7 +1435,7 @@},"children": [{- "id": 259,+ "id": 290,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -1496,7 +1446,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 145,+ "line": 202,"character": 16}],@@ -1520,14 +1470,14 @@"title": "Variables","kind": 32,"children": [- 259+ 290]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 144,+ "line": 201,"character": 12}]@@ -1542,7 +1492,7 @@{"type": "reflection","declaration": {- "id": 260,+ "id": 291,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1551,7 +1501,7 @@},"children": [{- "id": 261,+ "id": 292,"name": "data","kind": 32,"kindString": "Variable",@@ -1561,7 +1511,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 147,+ "line": 204,"character": 19}],@@ -1569,23 +1519,9 @@"type": "union","types": [{- "type": "reflection",- "declaration": {- "id": 262,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 147,- "character": 20- }- ]- }+ "type": "reference",+ "id": 58,+ "name": "User"},{"type": "intrinsic",@@ -1595,7 +1531,7 @@}},{- "id": 263,+ "id": 293,"name": "error","kind": 32,"kindString": "Variable",@@ -1605,8 +1541,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 147,- "character": 37+ "line": 204,+ "character": 39}],"type": {@@ -1629,15 +1565,15 @@"title": "Variables","kind": 32,"children": [- 261,- 263+ 292,+ 293]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 147,+ "line": 204,"character": 13}]@@ -1651,14 +1587,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 142,- "character": 29+ "line": 199,+ "character": 25}]},{- "id": 235,- "name": "sendMagicLinkEmail",+ "id": 343,+ "name": "refreshAccessToken","kind": 2048,"kindString": "Method","flags": {@@ -1666,45 +1602,41 @@},"signatures": [{- "id": 236,- "name": "sendMagicLinkEmail",+ "id": 344,+ "name": "refreshAccessToken","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Sends a magic login link to an email address."+ "shortText": "Generates a new JWT."},"parameters": [{- "id": 237,- "name": "email",+ "id": 345,+ "name": "refreshToken","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "The email address of the user."+ "text": "A valid refresh token that was returned on login.\n"},"type": {"type": "intrinsic","name": "string"}- },- {- "id": 238,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {"type": "reflection","declaration": {- "id": 239,+ "id": 346,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1713,118 +1645,38 @@},"children": [{- "id": 240,- "name": "redirectTo",+ "id": 347,+ "name": "data","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 97,- "character": 16+ "line": 356,+ "character": 19}],"type": {"type": "union","types": [{- "type": "intrinsic",- "name": "undefined"+ "type": "reference",+ "id": 50,+ "name": "Session"},{"type": "intrinsic",- "name": "string"+ "name": "null"}]}- }- ],- "groups": [+ },{- "title": "Variables",- "kind": 32,- "children": [- 240- ]- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 96,- "character": 12- }- ]- }- },- "defaultValue": "{}"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 241,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 242,- "name": "data",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 99,- "character": 19- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 243,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 99,- "character": 20- }- ]- }- },- {- "type": "intrinsic",- "name": "null"- }- ]- }- },- {- "id": 244,- "name": "error",+ "id": 348,+ "name": "error","kind": 32,"kindString": "Variable","flags": {@@ -1833,8 +1685,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 99,- "character": 37+ "line": 356,+ "character": 42}],"type": {@@ -1857,15 +1709,15 @@"title": "Variables","kind": 32,"children": [- 242,- 244+ 347,+ 348]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 99,+ "line": 356,"character": 13}]@@ -1879,76 +1731,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 94,+ "line": 354,"character": 26}]},{- "id": 309,- "name": "setAuthCookie",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 310,- "name": "setAuthCookie",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."- },- "parameters": [- {- "id": 311,- "name": "req",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "intrinsic",- "name": "any"- }- },- {- "id": 312,- "name": "res",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "intrinsic",- "name": "any"- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 294,- "character": 15- }- ]- },- {- "id": 225,- "name": "signInWithEmail",+ "id": 294,+ "name": "resetPasswordForEmail","kind": 2048,"kindString": "Method","flags": {@@ -1956,19 +1746,19 @@},"signatures": [{- "id": 226,- "name": "signInWithEmail",+ "id": 295,+ "name": "resetPasswordForEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Logs in an existing user using their email address."+ "shortText": "Sends a reset request to an email address."},"parameters": [{- "id": 227,+ "id": 296,"name": "email","kind": 32768,"kindString": "Parameter",@@ -1984,23 +1774,7 @@}},{- "id": 228,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "comment": {- "text": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 229,+ "id": 297,"name": "options","kind": 32768,"kindString": "Parameter",@@ -2010,7 +1784,7 @@"type": {"type": "reflection","declaration": {- "id": 230,+ "id": 298,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2019,7 +1793,7 @@},"children": [{- "id": 231,+ "id": 299,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -2030,7 +1804,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 71,+ "line": 226,"character": 16}],@@ -2054,14 +1828,14 @@"title": "Variables","kind": 32,"children": [- 231+ 299]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 70,+ "line": 225,"character": 12}]@@ -2076,7 +1850,7 @@{"type": "reflection","declaration": {- "id": 232,+ "id": 300,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2085,7 +1859,7 @@},"children": [{- "id": 233,+ "id": 301,"name": "data","kind": 32,"kindString": "Variable",@@ -2095,7 +1869,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 73,+ "line": 228,"character": 19}],@@ -2103,9 +1877,23 @@"type": "union","types": [{- "type": "reference",- "id": 50,- "name": "Session"+ "type": "reflection",+ "declaration": {+ "id": 302,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 228,+ "character": 20+ }+ ]+ }},{"type": "intrinsic",@@ -2115,7 +1903,7 @@}},{- "id": 234,+ "id": 303,"name": "error","kind": 32,"kindString": "Variable",@@ -2125,8 +1913,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 73,- "character": 42+ "line": 228,+ "character": 37}],"type": {@@ -2149,15 +1937,15 @@"title": "Variables","kind": 32,"children": [- 233,- 234+ 301,+ 303]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 73,+ "line": 228,"character": 13}]@@ -2171,14 +1959,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 67,- "character": 23+ "line": 223,+ "character": 29}]},{- "id": 268,- "name": "signOut",+ "id": 258,+ "name": "sendMagicLinkEmail","kind": 2048,"kindString": "Method","flags": {@@ -2186,41 +1974,45 @@},"signatures": [{- "id": 269,- "name": "signOut",+ "id": 259,+ "name": "sendMagicLinkEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Removes a logged-in session."+ "shortText": "Sends a magic login link to an email address."},"parameters": [{- "id": 270,- "name": "jwt",+ "id": 260,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "A valid, logged-in JWT.\n"+ "text": "The email address of the user."},"type": {"type": "intrinsic","name": "string"}- }- ],- "type": {- "type": "reference",- "typeArguments": [- {+ },+ {+ "id": 261,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {"type": "reflection","declaration": {- "id": 271,+ "id": 262,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2229,30 +2021,31 @@},"children": [{- "id": 272,- "name": "error",+ "id": 263,+ "name": "redirectTo","kind": 32,"kindString": "Variable","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"sources": [{"fileName": "GoTrueApi.ts",- "line": 176,- "character": 45+ "line": 138,+ "character": 16}],"type": {"type": "union","types": [{- "type": "reference",- "name": "Error"+ "type": "intrinsic",+ "name": "undefined"},{"type": "intrinsic",- "name": "null"+ "name": "string"}]}@@ -2263,150 +2056,15 @@"title": "Variables","kind": 32,"children": [- 272+ 263]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 176,- "character": 38- }- ]- }- }- ],- "name": "Promise"- }- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 176,- "character": 15- }- ]- },- {- "id": 215,- "name": "signUpWithEmail",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 216,- "name": "signUpWithEmail",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Creates a new user using their email address.",- "returns": "A logged-in session if the server has \"autoconfirm\" ON"- },- "parameters": [- {- "id": 217,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "comment": {- "text": "The email address of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 218,- "name": "password",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "comment": {- "text": "The password of the user."- },- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 219,- "name": "options",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "reflection",- "declaration": {- "id": 220,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 221,- "name": "redirectTo",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 43,- "character": 16- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 221- ]- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 42,- "character": 12+ "line": 137,+ "character": 12}]}@@ -2420,7 +2078,7 @@{"type": "reflection","declaration": {- "id": 222,+ "id": 264,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2429,7 +2087,7 @@},"children": [{- "id": 223,+ "id": 265,"name": "data","kind": 32,"kindString": "Variable",@@ -2439,7 +2097,7 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 45,+ "line": 140,"character": 19}],@@ -2447,14 +2105,23 @@"type": "union","types": [{- "type": "reference",- "id": 50,- "name": "Session"- },- {- "type": "reference",- "id": 58,- "name": "User"+ "type": "reflection",+ "declaration": {+ "id": 266,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 140,+ "character": 20+ }+ ]+ }},{"type": "intrinsic",@@ -2464,7 +2131,7 @@}},{- "id": 224,+ "id": 267,"name": "error","kind": 32,"kindString": "Variable",@@ -2474,8 +2141,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 45,- "character": 49+ "line": 140,+ "character": 37}],"type": {@@ -2498,15 +2165,15 @@"title": "Variables","kind": 32,"children": [- 223,- 224+ 265,+ 267]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 45,+ "line": 140,"character": 13}]@@ -2520,14 +2187,14 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 39,- "character": 23+ "line": 135,+ "character": 26}]},{- "id": 287,- "name": "updateUser",+ "id": 268,+ "name": "sendMobileOTP","kind": 2048,"kindString": "Method","flags": {@@ -2535,49 +2202,32 @@},"signatures": [{- "id": 288,- "name": "updateUser",+ "id": 269,+ "name": "sendMobileOTP","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Updates the user data."+ "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist"},"parameters": [{- "id": 289,- "name": "jwt",+ "id": 270,+ "name": "phone","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "A valid, logged-in JWT."+ "text": "The user's phone number WITH international prefix\n"},"type": {"type": "intrinsic","name": "string"}- },- {- "id": 290,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "comment": {- "text": "The data you want to update.\n"- },- "type": {- "type": "reference",- "id": 77,- "name": "UserAttributes"- }}],"type": {@@ -2586,7 +2236,7 @@{"type": "reflection","declaration": {- "id": 291,+ "id": 271,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2595,7 +2245,7 @@},"children": [{- "id": 293,+ "id": 272,"name": "data","kind": 32,"kindString": "Variable",@@ -2605,17 +2255,31 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 235,- "character": 38+ "line": 158,+ "character": 52}],"type": {"type": "union","types": [{- "type": "reference",- "id": 58,- "name": "User"+ "type": "reflection",+ "declaration": {+ "id": 273,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 158,+ "character": 53+ }+ ]+ }},{"type": "intrinsic",@@ -2625,7 +2289,7 @@}},{- "id": 294,+ "id": 274,"name": "error","kind": 32,"kindString": "Variable",@@ -2635,8 +2299,8 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 235,- "character": 58+ "line": 158,+ "character": 70}],"type": {@@ -2652,36 +2316,6 @@}]}- },- {- "id": 292,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 235,- "character": 19- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 58,- "name": "User"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }}],"groups": [@@ -2689,17 +2323,16 @@"title": "Variables","kind": 32,"children": [- 293,- 294,- 292+ 272,+ 274]}],"sources": [{"fileName": "GoTrueApi.ts",- "line": 235,- "character": 13+ "line": 158,+ "character": 46}]}@@ -2712,121 +2345,128 @@"sources": [{"fileName": "GoTrueApi.ts",- "line": 232,- "character": 18+ "line": 158,+ "character": 21}]- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 205- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 204,- 200,- 199- ]},{- "title": "Methods",+ "id": 349,+ "name": "setAuthCookie","kind": 2048,- "children": [- 264,- 295,- 273,- 280,- 313,- 245,- 303,- 254,- 235,- 309,- 225,- 268,- 215,- 287- ]- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 7,- "character": 30- }- ]- }- ],- "groups": [- {- "title": "Classes",- "kind": 128,- "children": [- 198- ]- }- ],- "sources": [- {- "fileName": "GoTrueApi.ts",- "line": 1,- "character": 0- }- ]- },- {- "id": 323,- "name": "\"GoTrueClient\"",- "kind": 1,- "kindString": "Module",- "flags": {- "isExported": true- },- "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",- "children": [- {- "id": 324,- "name": "GoTrueClient",- "kind": 128,- "kindString": "Class",- "flags": {- "isExported": true- },- "children": [- {- "id": 333,- "name": "constructor",- "kind": 512,- "kindString": "Constructor",+ "kindString": "Method","flags": {"isExported": true},- "comment": {- "shortText": "Create a new client for use in the browser."+ "signatures": [+ {+ "id": 350,+ "name": "setAuthCookie",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."+ },+ "parameters": [+ {+ "id": 351,+ "name": "req",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ },+ {+ "id": 352,+ "name": "res",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 375,+ "character": 15+ }+ ]+ },+ {+ "id": 234,+ "name": "signInWithEmail",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true},"signatures": [{- "id": 334,- "name": "new GoTrueClient",- "kind": 16384,- "kindString": "Constructor signature",+ "id": 235,+ "name": "signInWithEmail",+ "kind": 4096,+ "kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Create a new client for use in the browser."+ "shortText": "Logs in an existing user using their email address."},"parameters": [{- "id": 335,+ "id": 236,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The email address of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 237,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The password of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 238,"name": "options","kind": 32768,"kindString": "Parameter",@@ -2836,7 +2476,7 @@"type": {"type": "reflection","declaration": {- "id": 336,+ "id": 239,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2845,22 +2485,19 @@},"children": [{- "id": 343,- "name": "autoRefreshToken",+ "id": 240,+ "name": "redirectTo","kind": 32,"kindString": "Variable","flags": {"isExported": true,"isOptional": true},- "comment": {- "text": "Set to \"true\" if you want to automatically refresh the token before expiring."- },"sources": [{- "fileName": "GoTrueClient.ts",- "line": 60,- "character": 20+ "fileName": "GoTrueApi.ts",+ "line": 71,+ "character": 16}],"type": {@@ -2872,235 +2509,262 @@},{"type": "intrinsic",- "name": "false"- },- {- "type": "intrinsic",- "name": "true"+ "name": "string"}]}- },+ }+ ],+ "groups": [{- "id": 346,- "name": "cookieOptions",+ "title": "Variables","kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 63,- "character": 17- }- ],- "type": {- "type": "reference",- "id": 92,- "name": "CookieOptions"- }- },+ "children": [+ 240+ ]+ }+ ],+ "sources": [{- "id": 342,- "name": "detectSessionInUrl",+ "fileName": "GoTrueApi.ts",+ "line": 70,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 241,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 242,+ "name": "data","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true- },- "comment": {- "text": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."+ "isExported": true},"sources": [{- "fileName": "GoTrueClient.ts",- "line": 59,- "character": 22+ "fileName": "GoTrueApi.ts",+ "line": 73,+ "character": 19}],"type": {"type": "union","types": [{- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "false"+ "type": "reference",+ "id": 50,+ "name": "Session"},{"type": "intrinsic",- "name": "true"+ "name": "null"}]}},{- "id": 338,- "name": "headers",+ "id": 243,+ "name": "error","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true- },- "comment": {- "text": "Any additional headers to send to the GoTrue server."+ "isExported": true},"sources": [{- "fileName": "GoTrueClient.ts",- "line": 58,- "character": 11+ "fileName": "GoTrueApi.ts",+ "line": 73,+ "character": 42}],"type": {"type": "union","types": [{- "type": "intrinsic",- "name": "undefined"+ "type": "reference",+ "name": "Error"},{- "type": "reflection",- "declaration": {- "id": 339,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "indexSignature": [- {- "id": 340,- "name": "__index",- "kind": 8192,- "kindString": "Index signature",- "flags": {- "isExported": true- },- "parameters": [- {- "id": 341,- "name": "key",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "intrinsic",- "name": "string"- }- }- ]- }+ "type": "intrinsic",+ "name": "null"}]}- },+ }+ ],+ "groups": [{- "id": 345,- "name": "localStorage",+ "title": "Variables","kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "comment": {- "text": "\n"- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 62,- "character": 16- }- ],- "type": {- "type": "reference",- "name": "Storage"- }- },+ "children": [+ 242,+ 243+ ]+ }+ ],+ "sources": [{- "id": 344,- "name": "persistSession",+ "fileName": "GoTrueApi.ts",+ "line": 73,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 67,+ "character": 23+ }+ ]+ },+ {+ "id": 251,+ "name": "signInWithPhone",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 252,+ "name": "signInWithPhone",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Logs in an existing user using their phone number and password."+ },+ "parameters": [+ {+ "id": 253,+ "name": "phone",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The phone number of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 254,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The password of the user.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 255,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 256,+ "name": "data","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true- },- "comment": {- "text": "Set to \"true\" if you want to automatically save the user session into local storage."+ "isExported": true},"sources": [{- "fileName": "GoTrueClient.ts",- "line": 61,- "character": 18+ "fileName": "GoTrueApi.ts",+ "line": 117,+ "character": 19}],"type": {"type": "union","types": [{- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "false"+ "type": "reference",+ "id": 50,+ "name": "Session"},{"type": "intrinsic",- "name": "true"+ "name": "null"}]}},{- "id": 337,- "name": "url",+ "id": 257,+ "name": "error","kind": 32,"kindString": "Variable","flags": {- "isExported": true,- "isOptional": true- },- "comment": {- "text": "The URL of the GoTrue server."+ "isExported": true},"sources": [{- "fileName": "GoTrueClient.ts",- "line": 57,- "character": 7+ "fileName": "GoTrueApi.ts",+ "line": 117,+ "character": 42}],"type": {"type": "union","types": [{- "type": "intrinsic",- "name": "undefined"+ "type": "reference",+ "name": "Error"},{"type": "intrinsic",- "name": "string"+ "name": "null"}]}@@ -3111,482 +2775,178 @@"title": "Variables","kind": 32,"children": [- 343,- 346,- 342,- 338,- 345,- 344,- 337+ 256,+ 257]}],"sources": [{- "fileName": "GoTrueClient.ts",- "line": 56,- "character": 22+ "fileName": "GoTrueApi.ts",+ "line": 117,+ "character": 13}]}}- }- ],- "type": {- "type": "reference",- "id": 324,- "name": "GoTrueClient"+ ],+ "name": "Promise"}}],"sources": [{- "fileName": "GoTrueClient.ts",- "line": 45,- "character": 61+ "fileName": "GoTrueApi.ts",+ "line": 114,+ "character": 23}]},{- "id": 325,- "name": "api",- "kind": 1024,- "kindString": "Property",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 31,- "character": 5- }- ],- "type": {- "type": "reference",- "id": 198,- "name": "GoTrueApi"- }- },- {- "id": 328,- "name": "autoRefreshToken",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 41,- "character": 28- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 327,- "name": "currentSession",- "kind": 1024,- "kindString": "Property",+ "id": 308,+ "name": "signOut",+ "kind": 2048,+ "kindString": "Method","flags": {- "isProtected": true,"isExported": true},- "comment": {- "shortText": "The session object for the currently logged in user or null."- },- "sources": [+ "signatures": [{- "fileName": "GoTrueClient.ts",- "line": 39,- "character": 26- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 50,- "name": "Session"+ "id": 309,+ "name": "signOut",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true},- {- "type": "intrinsic",- "name": "null"- }- ]- }- },- {- "id": 326,- "name": "currentUser",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isExported": true- },- "comment": {- "shortText": "The currently logged in user or null."- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 35,- "character": 23- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 58,- "name": "User"+ "comment": {+ "shortText": "Removes a logged-in session."},- {- "type": "intrinsic",- "name": "null"+ "parameters": [+ {+ "id": 310,+ "name": "jwt",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "A valid, logged-in JWT.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 311,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 312,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 257,+ "character": 45+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 312+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 257,+ "character": 38+ }+ ]+ }+ }+ ],+ "name": "Promise"}- ]- }- },- {- "id": 330,- "name": "localStorage",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 43,- "character": 24- }- ],- "type": {- "type": "reference",- "name": "Storage"- }- },- {- "id": 329,- "name": "persistSession",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 42,- "character": 26- }- ],- "type": {- "type": "intrinsic",- "name": "boolean"- }- },- {- "id": 332,- "name": "refreshTokenTimer",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 45,- "character": 29}],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "query",- "queryType": {- "type": "reference",- "name": "setTimeout"- }- }- ],- "name": "ReturnType"- }- },- {- "id": 331,- "name": "stateChangeEmitters",- "kind": 1024,- "kindString": "Property",- "flags": {- "isProtected": true,- "isExported": true- },"sources": [{- "fileName": "GoTrueClient.ts",- "line": 44,- "character": 31+ "fileName": "GoTrueApi.ts",+ "line": 257,+ "character": 15}- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "reference",- "id": 82,- "name": "Subscription"- }- ],- "name": "Map"- },- "defaultValue": "new Map()"+ ]},{- "id": 468,- "name": "_callRefreshToken",+ "id": 224,+ "name": "signUpWithEmail","kind": 2048,"kindString": "Method","flags": {- "isPrivate": true,"isExported": true},"signatures": [{- "id": 469,- "name": "_callRefreshToken",+ "id": 225,+ "name": "signUpWithEmail","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},+ "comment": {+ "shortText": "Creates a new user using their email address.",+ "returns": "A logged-in session if the server has \"autoconfirm\" ON"+ },"parameters": [{- "id": 470,- "name": "refresh_token",+ "id": 226,+ "name": "email","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]- },- "defaultValue": "this.currentSession?.refresh_token"- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 471,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 472,- "name": "data",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 532,- "character": 19- }- ],- "type": {- "type": "reference",- "id": 50,- "name": "Session"- }- },- {- "id": 473,- "name": "error",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 532,- "character": 26- }- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 472,- 473- ]- }- ]- }- },- {- "type": "reflection",- "declaration": {- "id": 474,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 475,- "name": "data",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 534,- "character": 19- }- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"- },- {- "id": 476,- "name": "error",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 534,- "character": 32- }- ],- "type": {- "type": "intrinsic",- "name": "any"- }- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 475,- 476- ]- }- ]- }- }- ]- }- ],- "name": "Promise"- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 520,- "character": 33- }- ]- },- {- "id": 428,- "name": "_handleEmailSignIn",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true,- "isExported": true- },- "signatures": [- {- "id": 429,- "name": "_handleEmailSignIn",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "parameters": [- {- "id": 430,- "name": "email",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true+ "comment": {+ "text": "The email address of the user."},"type": {"type": "intrinsic",@@ -3594,20 +2954,23 @@}},{- "id": 431,+ "id": 227,"name": "password","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},+ "comment": {+ "text": "The password of the user."+ },"type": {"type": "intrinsic","name": "string"}},{- "id": 432,+ "id": 228,"name": "options","kind": 32768,"kindString": "Parameter",@@ -3617,7 +2980,7 @@"type": {"type": "reflection","declaration": {- "id": 433,+ "id": 229,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3626,7 +2989,7 @@},"children": [{- "id": 434,+ "id": 230,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -3636,8 +2999,8 @@},"sources": [{- "fileName": "GoTrueClient.ts",- "line": 411,+ "fileName": "GoTrueApi.ts",+ "line": 43,"character": 16}],@@ -3661,14 +3024,14 @@"title": "Variables","kind": 32,"children": [- 434+ 230]}],"sources": [{- "fileName": "GoTrueClient.ts",- "line": 410,+ "fileName": "GoTrueApi.ts",+ "line": 42,"character": 12}]@@ -3681,239 +3044,2844 @@"type": "reference","typeArguments": [{- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 435,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "type": "reflection",+ "declaration": {+ "id": 231,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 232,+ "name": "data",+ "kind": 32,+ "kindString": "Variable","flags": {"isExported": true},- "children": [+ "sources": [{- "id": 436,- "name": "data",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 425,- "character": 19- }- ],- "type": {+ "fileName": "GoTrueApi.ts",+ "line": 45,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {"type": "reference","id": 50,"name": "Session"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"}- },+ ]+ }+ },+ {+ "id": 233,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [{- "id": 439,- "name": "error",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true+ "fileName": "GoTrueApi.ts",+ "line": 45,+ "character": 49+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"},- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 425,- "character": 58- }- ],- "type": {+ {"type": "intrinsic","name": "null"- },- "defaultValue": "null"- },- {- "id": 438,- "name": "session",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 425,- "character": 45- }- ],- "type": {- "type": "reference",- "id": 50,- "name": "Session"- },- "defaultValue": "data"- },- {- "id": 437,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 425,- "character": 25- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "null"- },- {- "type": "reference",- "id": 58,- "name": "User"- }- ]- },- "defaultValue": "data.user"- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 436,- 439,- 438,- 437- ]- }+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 232,+ 233]}+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 45,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 39,+ "character": 23+ }+ ]+ },+ {+ "id": 244,+ "name": "signUpWithPhone",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 245,+ "name": "signUpWithPhone",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Signs up a new user using their phone number and a password."+ },+ "parameters": [+ {+ "id": 246,+ "name": "phone",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The phone number of the user."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 247,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The password of the user.\n"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 248,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true},- {- "type": "reflection",- "declaration": {- "id": 440,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "children": [+ {+ "id": 249,+ "name": "data",+ "kind": 32,+ "kindString": "Variable","flags": {"isExported": true},- "children": [+ "sources": [{- "id": 441,- "name": "data",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 427,- "character": 19- }- ],- "type": {- "type": "intrinsic",- "name": "null"+ "fileName": "GoTrueApi.ts",+ "line": 97,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"},- "defaultValue": "null"- },- {- "id": 444,- "name": "error",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true+ {+ "type": "reference",+ "id": 58,+ "name": "User"},- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 427,- "character": 59- }- ],- "type": {+ {"type": "intrinsic",- "name": "any"+ "name": "null"}- },+ ]+ }+ },+ {+ "id": 250,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [{- "id": 443,- "name": "session",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true+ "fileName": "GoTrueApi.ts",+ "line": 97,+ "character": 49+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"},- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 427,- "character": 46- }- ],- "type": {+ {"type": "intrinsic","name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 249,+ 250+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 97,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 94,+ "character": 23+ }+ ]+ },+ {+ "id": 327,+ "name": "updateUser",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 328,+ "name": "updateUser",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Updates the user data."+ },+ "parameters": [+ {+ "id": 329,+ "name": "jwt",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "A valid, logged-in JWT."+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 330,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The data you want to update.\n"+ },+ "type": {+ "type": "reference",+ "id": 82,+ "name": "UserAttributes"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 331,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 333,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 316,+ "character": 38+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"},- "defaultValue": "null"- },- {- "id": 442,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 427,- "character": 31- }- ],- "type": {+ {"type": "intrinsic","name": "null"- },- "defaultValue": "null"+ }+ ]+ }+ },+ {+ "id": 334,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 316,+ "character": 58}],- "groups": [+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 332,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [{- "title": "Variables",- "kind": 32,- "children": [- 441,- 444,- 443,- 442- ]+ "fileName": "GoTrueApi.ts",+ "line": 316,+ "character": 19}+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 333,+ 334,+ 332]}- }- ]+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 316,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 313,+ "character": 18+ }+ ]+ },+ {+ "id": 275,+ "name": "verifyMobileOTP",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 276,+ "name": "verifyMobileOTP",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Send User supplied Mobile OTP to be verified"+ },+ "parameters": [+ {+ "id": 277,+ "name": "phone",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's phone number WITH international prefix"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 278,+ "name": "token",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "token that user was sent to their mobile phone"+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 279,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 280,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 281,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 178,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 281+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 177,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 282,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 283,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 180,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 284,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 180,+ "character": 49+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 283,+ 284+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 180,+ "character": 13+ }+ ]+ }+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 174,+ "character": 23+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 214+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 213,+ 209,+ 208+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 304,+ 335,+ 360,+ 313,+ 320,+ 353,+ 285,+ 343,+ 294,+ 258,+ 268,+ 349,+ 234,+ 251,+ 308,+ 224,+ 244,+ 327,+ 275+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 7,+ "character": 30+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Classes",+ "kind": 128,+ "children": [+ 207+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueApi.ts",+ "line": 1,+ "character": 0+ }+ ]+ },+ {+ "id": 375,+ "name": "\"GoTrueClient\"",+ "kind": 1,+ "kindString": "Module",+ "flags": {+ "isExported": true+ },+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",+ "children": [+ {+ "id": 376,+ "name": "GoTrueClient",+ "kind": 128,+ "kindString": "Class",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 385,+ "name": "constructor",+ "kind": 512,+ "kindString": "Constructor",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Create a new client for use in the browser."+ },+ "signatures": [+ {+ "id": 386,+ "name": "new GoTrueClient",+ "kind": 16384,+ "kindString": "Constructor signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Create a new client for use in the browser."+ },+ "parameters": [+ {+ "id": 387,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 388,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 395,+ "name": "autoRefreshToken",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "Set to \"true\" if you want to automatically refresh the token before expiring."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 61,+ "character": 20+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "false"+ },+ {+ "type": "intrinsic",+ "name": "true"+ }+ ]+ }+ },+ {+ "id": 398,+ "name": "cookieOptions",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 64,+ "character": 17+ }+ ],+ "type": {+ "type": "reference",+ "id": 97,+ "name": "CookieOptions"+ }+ },+ {+ "id": 394,+ "name": "detectSessionInUrl",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 60,+ "character": 22+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "false"+ },+ {+ "type": "intrinsic",+ "name": "true"+ }+ ]+ }+ },+ {+ "id": 390,+ "name": "headers",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "Any additional headers to send to the GoTrue server."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 59,+ "character": 11+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 391,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "indexSignature": [+ {+ "id": 392,+ "name": "__index",+ "kind": 8192,+ "kindString": "Index signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 393,+ "name": "key",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ]+ }+ }+ ]+ }+ },+ {+ "id": 397,+ "name": "localStorage",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "\n"+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 63,+ "character": 16+ }+ ],+ "type": {+ "type": "reference",+ "name": "Storage"+ }+ },+ {+ "id": 396,+ "name": "persistSession",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "Set to \"true\" if you want to automatically save the user session into local storage."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 62,+ "character": 18+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "false"+ },+ {+ "type": "intrinsic",+ "name": "true"+ }+ ]+ }+ },+ {+ "id": 389,+ "name": "url",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "The URL of the GoTrue server."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 58,+ "character": 7+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 395,+ 398,+ 394,+ 390,+ 397,+ 396,+ 389+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 57,+ "character": 22+ }+ ]+ }+ }+ }+ ],+ "type": {+ "type": "reference",+ "id": 376,+ "name": "GoTrueClient"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 46,+ "character": 61+ }+ ]+ },+ {+ "id": 377,+ "name": "api",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 32,+ "character": 5+ }+ ],+ "type": {+ "type": "reference",+ "id": 207,+ "name": "GoTrueApi"+ }+ },+ {+ "id": 380,+ "name": "autoRefreshToken",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true,+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 42,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 379,+ "name": "currentSession",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true,+ "isExported": true+ },+ "comment": {+ "shortText": "The session object for the currently logged in user or null."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 40,+ "character": 26+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 378,+ "name": "currentUser",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true,+ "isExported": true+ },+ "comment": {+ "shortText": "The currently logged in user or null."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 36,+ "character": 23+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 382,+ "name": "localStorage",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true,+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 44,+ "character": 24+ }+ ],+ "type": {+ "type": "reference",+ "name": "Storage"+ }+ },+ {+ "id": 381,+ "name": "persistSession",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true,+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 43,+ "character": 26+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "boolean"+ }+ },+ {+ "id": 384,+ "name": "refreshTokenTimer",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true,+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 46,+ "character": 29+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "query",+ "queryType": {+ "type": "reference",+ "name": "setTimeout"+ }+ }+ ],+ "name": "ReturnType"+ }+ },+ {+ "id": 383,+ "name": "stateChangeEmitters",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isProtected": true,+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 45,+ "character": 31+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "intrinsic",+ "name": "string"+ },+ {+ "type": "reference",+ "id": 87,+ "name": "Subscription"+ }+ ],+ "name": "Map"+ },+ "defaultValue": "new Map()"+ },+ {+ "id": 550,+ "name": "_callRefreshToken",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 551,+ "name": "_callRefreshToken",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 552,+ "name": "refresh_token",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ },+ "defaultValue": "this.currentSession?.refresh_token"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 553,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 554,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 610,+ "character": 19+ }+ ],+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ }+ },+ {+ "id": 555,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 610,+ "character": 26+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 554,+ 555+ ]+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 556,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 557,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 612,+ "character": 19+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 558,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 612,+ "character": 32+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 557,+ 558+ ]+ }+ ]+ }+ }+ ]+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 598,+ "character": 33+ }+ ]+ },+ {+ "id": 496,+ "name": "_handleEmailSignIn",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 497,+ "name": "_handleEmailSignIn",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 498,+ "name": "email",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 499,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 500,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 501,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 502,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 473,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 502+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 472,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 503,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 504,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 487,+ "character": 19+ }+ ],+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ }+ },+ {+ "id": 507,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 487,+ "character": 58+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 506,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 487,+ "character": 45+ }+ ],+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ "defaultValue": "data"+ },+ {+ "id": 505,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 487,+ "character": 25+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "null"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ }+ ]+ },+ "defaultValue": "data.user"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 504,+ 507,+ 506,+ 505+ ]+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 508,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 509,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 489,+ "character": 19+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 512,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 489,+ "character": 59+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ },+ {+ "id": 511,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 489,+ "character": 46+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 510,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 489,+ "character": 31+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 509,+ 512,+ 511,+ 510+ ]+ }+ ]+ }+ }+ ]+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 469,+ "character": 34+ }+ ]+ },+ {+ "id": 513,+ "name": "_handlePhoneSignIn",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 514,+ "name": "_handlePhoneSignIn",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 515,+ "name": "phone",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 516,+ "name": "password",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 517,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 518,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 503,+ "character": 19+ }+ ],+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ }+ },+ {+ "id": 521,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 503,+ "character": 58+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 520,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 503,+ "character": 45+ }+ ],+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ "defaultValue": "data"+ },+ {+ "id": 519,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 503,+ "character": 25+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "null"+ },+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ }+ ]+ },+ "defaultValue": "data.user"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 518,+ 521,+ 520,+ 519+ ]+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 522,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 523,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 505,+ "character": 19+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 526,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 505,+ "character": 59+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ },+ {+ "id": 525,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 505,+ "character": 46+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 524,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 505,+ "character": 31+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 523,+ 526,+ 525,+ 524+ ]+ }+ ]+ }+ }+ ]+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 493,+ "character": 34+ }+ ]+ },+ {+ "id": 527,+ "name": "_handleProviderSignIn",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 528,+ "name": "_handleProviderSignIn",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 529,+ "name": "provider",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reference",+ "id": 112,+ "name": "Provider"+ }+ },+ {+ "id": 530,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 531,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 532,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 512,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 533,+ "name": "scopes",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 513,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 532,+ 533+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 511,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reflection",+ "declaration": {+ "id": 534,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 537,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 526,+ "character": 34+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 540,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 526,+ "character": 74+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 535,+ "name": "provider",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 526,+ "character": 23+ }+ ],+ "type": {+ "type": "reference",+ "id": 112,+ "name": "Provider"+ }+ },+ {+ "id": 538,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 526,+ "character": 49+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 536,+ "name": "url",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 526,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 539,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 526,+ "character": 61+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 537,+ 540,+ 535,+ 538,+ 536,+ 539+ ]+ }+ ]+ }+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 541,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 542,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 530,+ "character": 19+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 545,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 530,+ "character": 59+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "any"+ }+ },+ {+ "id": 544,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 530,+ "character": 46+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ },+ {+ "id": 543,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 530,+ "character": 31+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "null"+ },+ "defaultValue": "null"+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 542,+ 545,+ 544,+ 543+ ]+ }+ ]+ }+ }+ ]+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 509,+ "character": 31+ }+ ]+ },+ {+ "id": 559,+ "name": "_notifyAllSubscribers",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 560,+ "name": "_notifyAllSubscribers",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 561,+ "name": "event",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reference",+ "id": 113,+ "name": "AuthChangeEvent"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 616,+ "character": 31+ }+ ]+ },+ {+ "id": 565,+ "name": "_persistSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 566,+ "name": "_persistSession",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 567,+ "name": "currentSession",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reference",+ "id": 50,+ "name": "Session"+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 643,+ "character": 25+ }+ ]+ },+ {+ "id": 548,+ "name": "_recoverAndRefresh",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 549,+ "name": "_recoverAndRefresh",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ ],+ "name": "Promise"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 562,+ "character": 34+ }+ ]+ },+ {+ "id": 546,+ "name": "_recoverSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 547,+ "name": "_recoverSession",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Attempts to get the session from LocalStorage\nNote: this should never be async (even for React Native), as we need it to return immediately in the constructor."+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 538,+ "character": 25+ }+ ]+ },+ {+ "id": 568,+ "name": "_removeSession",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 569,+ "name": "_removeSession",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "intrinsic",+ "name": "void"}],"name": "Promise"@@ -3923,14 +5891,14 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 407,- "character": 34+ "line": 648,+ "character": 30}]},{- "id": 445,- "name": "_handleProviderSignIn",+ "id": 562,+ "name": "_saveSession","kind": 2048,"kindString": "Method","flags": {@@ -3939,17 +5907,20 @@},"signatures": [{- "id": 446,- "name": "_handleProviderSignIn",+ "id": 563,+ "name": "_saveSession","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},+ "comment": {+ "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"+ },"parameters": [{- "id": 447,- "name": "provider",+ "id": 564,+ "name": "session","kind": 32768,"kindString": "Parameter","flags": {@@ -3957,272 +5928,186 @@},"type": {"type": "reference",- "id": 103,- "name": "Provider"+ "id": 50,+ "name": "Session"}- },+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 624,+ "character": 22+ }+ ]+ },+ {+ "id": 570,+ "name": "_startAutoRefreshToken",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isPrivate": true,+ "isExported": true+ },+ "signatures": [+ {+ "id": 571,+ "name": "_startAutoRefreshToken",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Clear and re-create refresh token timer"+ },+ "parameters": [{- "id": 448,- "name": "options",+ "id": 572,+ "name": "value","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},- "type": {- "type": "reflection",- "declaration": {- "id": 449,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 450,- "name": "redirectTo",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 434,- "character": 16- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- },- {- "id": 451,- "name": "scopes",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 435,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]- }- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 450,- 451- ]- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 433,- "character": 12- }- ]- }+ "comment": {+ "text": "time intervals in milliseconds\n"},- "defaultValue": "{}"+ "type": {+ "type": "intrinsic",+ "name": "number"+ }}],"type": {- "type": "union",- "types": [- {- "type": "reflection",- "declaration": {- "id": 452,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 659,+ "character": 32+ }+ ]+ },+ {+ "id": 474,+ "name": "getSessionFromUrl",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 475,+ "name": "getSessionFromUrl",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Gets the session data from a URL string"+ },+ "parameters": [+ {+ "id": 476,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"},- "children": [- {- "id": 455,- "name": "data",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 448,- "character": 34- }- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"- },- {- "id": 458,- "name": "error",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 448,- "character": 74- }- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"- },- {- "id": 453,- "name": "provider",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 448,- "character": 23- }- ],- "type": {- "type": "reference",- "id": 103,- "name": "Provider"- }- },- {- "id": 456,- "name": "session",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 448,- "character": 49- }- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"- },- {- "id": 454,- "name": "url",- "kind": 32,- "kindString": "Variable",+ {+ "type": "reflection",+ "declaration": {+ "id": 477,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {"isExported": true},- "sources": [+ "children": [{- "fileName": "GoTrueClient.ts",- "line": 448,- "character": 28+ "id": 478,+ "name": "storeSession",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "comment": {+ "text": "Optionally store the session in the browser\n"+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 379,+ "character": 16+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "false"+ },+ {+ "type": "intrinsic",+ "name": "true"+ }+ ]+ }}],- "type": {- "type": "intrinsic",- "name": "string"- }- },- {- "id": 457,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [+ "groups": [{- "fileName": "GoTrueClient.ts",- "line": 448,- "character": 61+ "title": "Variables",+ "kind": 32,+ "children": [+ 478+ ]}- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 455,- 458,- 453,- 456,- 454,- 457]}- ]- }- },+ }+ ]+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [{"type": "reflection","declaration": {- "id": 459,+ "id": 479,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4231,7 +6116,7 @@},"children": [{- "id": 460,+ "id": 480,"name": "data","kind": 32,"kindString": "Variable",@@ -4241,18 +6126,27 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 452,- "character": 19+ "line": 380,+ "character": 20}],"type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }},{- "id": 463,+ "id": 481,"name": "error","kind": 32,"kindString": "Variable",@@ -4262,56 +6156,23 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 452,- "character": 59+ "line": 380,+ "character": 43}],"type": {- "type": "intrinsic",- "name": "any"+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]}- },- {- "id": 462,- "name": "session",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 452,- "character": 46- }- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"- },- {- "id": 461,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 452,- "character": 31- }- ],- "type": {- "type": "intrinsic",- "name": "null"- },- "defaultValue": "null"}],"groups": [@@ -4319,362 +6180,639 @@"title": "Variables","kind": 32,"children": [- 460,- 463,- 462,- 461+ 480,+ 481]}+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 380,+ "character": 14+ }]}}- ]+ ],+ "name": "Promise"}}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 431,- "character": 31+ "line": 378,+ "character": 25}]},{- "id": 477,- "name": "_notifyAllSubscribers",+ "id": 486,+ "name": "onAuthStateChange","kind": 2048,"kindString": "Method","flags": {- "isPrivate": true,"isExported": true},"signatures": [{- "id": 478,- "name": "_notifyAllSubscribers",+ "id": 487,+ "name": "onAuthStateChange","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},+ "comment": {+ "shortText": "Receive a notification every time an auth event happens.",+ "returns": "A subscription object which can be used to unsubscribe itself.\n"+ },"parameters": [{- "id": 479,- "name": "event",+ "id": 488,+ "name": "callback","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"type": {- "type": "reference",- "id": 104,- "name": "AuthChangeEvent"+ "type": "reflection",+ "declaration": {+ "id": 489,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 490,+ "name": "__call",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "parameters": [+ {+ "id": 491,+ "name": "event",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reference",+ "id": 113,+ "name": "AuthChangeEvent"+ }+ },+ {+ "id": 492,+ "name": "session",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 450,+ "character": 13+ }+ ]+ }}}],"type": {- "type": "intrinsic",- "name": "void"- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 538,- "character": 31- }- ]- },- {- "id": 483,- "name": "_persistSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true,- "isExported": true- },- "signatures": [- {- "id": 484,- "name": "_persistSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "parameters": [- {- "id": 485,- "name": "currentSession",- "kind": 32768,- "kindString": "Parameter",+ "type": "reflection",+ "declaration": {+ "id": 493,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal","flags": {"isExported": true},- "type": {- "type": "reference",- "id": 50,- "name": "Session"- }- }- ],- "type": {- "type": "intrinsic",- "name": "void"- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 565,- "character": 25- }- ]- },- {- "id": 466,- "name": "_recoverAndRefresh",- "kind": 2048,- "kindString": "Method",- "flags": {- "isPrivate": true,- "isExported": true- },- "signatures": [- {- "id": 467,- "name": "_recoverAndRefresh",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native."- },- "type": {- "type": "reference",- "typeArguments": [- {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"+ "children": [+ {+ "id": 494,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true},- {- "type": "intrinsic",- "name": "null"+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 451,+ "character": 11+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 87,+ "name": "Subscription"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]}- ]- }- ],- "name": "Promise"+ },+ {+ "id": 495,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 451,+ "character": 39+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 494,+ 495+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 451,+ "character": 4+ }+ ]+ }}}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 484,- "character": 34+ "line": 449,+ "character": 19}]},{- "id": 464,- "name": "_recoverSession",+ "id": 452,+ "name": "refreshSession","kind": 2048,"kindString": "Method","flags": {- "isPrivate": true,"isExported": true},"signatures": [{- "id": 465,- "name": "_recoverSession",+ "id": 453,+ "name": "refreshSession","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Attempts to get the session from LocalStorage\nNote: this should never be async (even for React Native), as we need it to return immediately in the constructor."+ "shortText": "Force refreshes the session including the user data in case it was updated in a different session."},"type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },+ "type": "reference",+ "typeArguments": [{- "type": "intrinsic",- "name": "null"+ "type": "reflection",+ "declaration": {+ "id": 454,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 455,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 286,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 457,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 288,+ "character": 9+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 456,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 287,+ "character": 8+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 455,+ 457,+ 456+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 285,+ "character": 34+ }+ ]+ }}- ]+ ],+ "name": "Promise"}}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 460,- "character": 25+ "line": 285,+ "character": 22}]},{- "id": 486,- "name": "_removeSession",+ "id": 450,+ "name": "session","kind": 2048,"kindString": "Method","flags": {- "isPrivate": true,"isExported": true},"signatures": [{- "id": 487,- "name": "_removeSession",+ "id": 451,+ "name": "session","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},+ "comment": {+ "shortText": "Returns the session data, if there is an active session."+ },"type": {- "type": "reference",- "typeArguments": [+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },{"type": "intrinsic",- "name": "void"+ "name": "null"}- ],- "name": "Promise"+ ]}}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 570,- "character": 30+ "line": 278,+ "character": 9}]},{- "id": 480,- "name": "_saveSession",+ "id": 471,+ "name": "setAuth","kind": 2048,"kindString": "Method","flags": {- "isPrivate": true,"isExported": true},"signatures": [{- "id": 481,- "name": "_saveSession",+ "id": 472,+ "name": "setAuth","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible"+ "shortText": "Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests."},"parameters": [{- "id": 482,- "name": "session",+ "id": 473,+ "name": "access_token","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},+ "comment": {+ "text": "a jwt access token\n"+ },"type": {- "type": "reference",- "id": 50,- "name": "Session"+ "type": "intrinsic",+ "name": "string"}}],"type": {- "type": "intrinsic",- "name": "void"+ "type": "reference",+ "id": 50,+ "name": "Session"}}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 546,- "character": 22+ "line": 363,+ "character": 9}]},{- "id": 488,- "name": "_startAutoRefreshToken",+ "id": 465,+ "name": "setSession","kind": 2048,"kindString": "Method","flags": {- "isPrivate": true,"isExported": true},"signatures": [{- "id": 489,- "name": "_startAutoRefreshToken",+ "id": 466,+ "name": "setSession","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Clear and re-create refresh token timer"+ "shortText": "Sets the session data from refresh_token and returns current Session and Error"},"parameters": [{- "id": 490,- "name": "value",+ "id": 467,+ "name": "refresh_token","kind": 32768,"kindString": "Parameter","flags": {"isExported": true},"comment": {- "text": "time intervals in milliseconds\n"+ "text": "a JWT token\n"},"type": {"type": "intrinsic",- "name": "number"+ "name": "string"+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 468,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 470,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 335,+ "character": 45+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 469,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 335,+ "character": 22+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 470,+ 469+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 335,+ "character": 13+ }+ ]+ }}- }- ],- "type": {- "type": "intrinsic",- "name": "void"+ ],+ "name": "Promise"}}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 581,- "character": 32+ "line": 333,+ "character": 18}]},{- "id": 406,- "name": "getSessionFromUrl",+ "id": 414,+ "name": "signIn","kind": 2048,"kindString": "Method","flags": {@@ -4682,166 +6820,226 @@},"signatures": [{- "id": 407,- "name": "getSessionFromUrl",+ "id": 415,+ "name": "signIn","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Gets the session data from a URL string"+ "shortText": "Log in an existing user, or login via a third-party provider."},"parameters": [{- "id": 408,- "name": "options",+ "id": 416,+ "name": "__namedParameters","kind": 32768,"kindString": "Parameter","flags": {- "isExported": true,- "isOptional": true+ "isExported": true},+ "originalName": "__0","type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"+ "type": "reflection",+ "declaration": {+ "id": 417,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true},- {- "type": "reflection",- "declaration": {- "id": 409,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",+ "children": [+ {+ "id": 418,+ "name": "email",+ "kind": 32,+ "kindString": "Variable","flags": {"isExported": true},- "children": [+ "comment": {+ "text": "The user's email address."+ },+ "sources": [{- "id": 410,- "name": "storeSession",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "comment": {- "text": "Optionally store the session in the browser\n"+ "fileName": "GoTrueClient.ts",+ "line": 158,+ "character": 11+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"},- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 317,- "character": 16- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "false"- },- {- "type": "intrinsic",- "name": "true"- }- ]+ {+ "type": "intrinsic",+ "name": "string"}+ ]+ }+ },+ {+ "id": 420,+ "name": "password",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's password."+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 158,+ "character": 28}],- "groups": [+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 419,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [{- "title": "Variables",- "kind": 32,- "children": [- 410- ]+ "fileName": "GoTrueClient.ts",+ "line": 158,+ "character": 18}- ]- }- }- ]- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 411,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },{- "id": 412,- "name": "data",+ "id": 422,+ "name": "provider","kind": 32,"kindString": "Variable","flags": {"isExported": true},+ "comment": {+ "text": "One of the providers supported by GoTrue."+ },"sources": [{"fileName": "GoTrueClient.ts",- "line": 318,- "character": 20+ "line": 158,+ "character": 52}],"type": {"type": "union","types": [{- "type": "reference",- "id": 50,- "name": "Session"+ "type": "intrinsic",+ "name": "undefined"},{- "type": "intrinsic",- "name": "null"+ "type": "stringLiteral",+ "value": "azure"+ },+ {+ "type": "stringLiteral",+ "value": "bitbucket"+ },+ {+ "type": "stringLiteral",+ "value": "facebook"+ },+ {+ "type": "stringLiteral",+ "value": "github"+ },+ {+ "type": "stringLiteral",+ "value": "gitlab"+ },+ {+ "type": "stringLiteral",+ "value": "google"+ },+ {+ "type": "stringLiteral",+ "value": "twitter"+ },+ {+ "type": "stringLiteral",+ "value": "apple"+ },+ {+ "type": "stringLiteral",+ "value": "discord"+ },+ {+ "type": "stringLiteral",+ "value": "twitch"}]}},{- "id": 413,- "name": "error",+ "id": 421,+ "name": "refreshToken","kind": 32,"kindString": "Variable","flags": {"isExported": true},+ "comment": {+ "text": "A valid refresh token that was returned on login."+ },"sources": [{"fileName": "GoTrueClient.ts",- "line": 318,- "character": 43+ "line": 158,+ "character": 42}],"type": {"type": "union","types": [{- "type": "reference",- "name": "Error"+ "type": "intrinsic",+ "name": "undefined"},{"type": "intrinsic",- "name": "null"+ "name": "string"}]}@@ -4852,58 +7050,27 @@"title": "Variables","kind": 32,"children": [- 412,- 413+ 418,+ 420,+ 419,+ 422,+ 421]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 318,- "character": 14+ "line": 157,+ "character": 15}]}}- ],- "name": "Promise"- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 316,- "character": 25- }- ]- },- {- "id": 418,- "name": "onAuthStateChange",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 419,- "name": "onAuthStateChange",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Receive a notification every time an auth event happens.",- "returns": "A subscription object which can be used to unsubscribe itself.\n"- },- "parameters": [+ },{- "id": 420,- "name": "callback",+ "id": 423,+ "name": "options","kind": 32768,"kindString": "Parameter","flags": {@@ -4912,205 +7079,104 @@"type": {"type": "reflection","declaration": {- "id": 421,+ "id": 424,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {"isExported": true},- "signatures": [+ "children": [{- "id": 422,- "name": "__call",- "kind": 4096,- "kindString": "Call signature",+ "id": 425,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},- "parameters": [- {- "id": 423,- "name": "event",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "reference",- "id": 104,- "name": "AuthChangeEvent"- }- },+ "sources": [{- "id": 424,- "name": "session",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 50,- "name": "Session"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }+ "fileName": "GoTrueClient.ts",+ "line": 160,+ "character": 16}],"type": {- "type": "intrinsic",- "name": "void"- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 388,- "character": 13- }- ]- }- }- }- ],- "type": {- "type": "reflection",- "declaration": {- "id": 425,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [- {- "id": 426,- "name": "data",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 389,- "character": 11- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 82,- "name": "Subscription"- },- {- "type": "intrinsic",- "name": "null"+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]}- ]- }- },- {- "id": 427,- "name": "error",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [+ },{- "fileName": "GoTrueClient.ts",- "line": 389,- "character": 39- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "name": "Error"+ "id": 426,+ "name": "scopes",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true},- {- "type": "intrinsic",- "name": "null"+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 161,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]}- ]- }- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 426,- 427- ]- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 389,- "character": 4- }- ]- }- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 387,- "character": 19- }- ]- },- {- "id": 384,- "name": "refreshSession",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 385,- "name": "refreshSession",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Force refreshes the session including the user data in case it was updated in a different session."- },+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 425,+ 426+ ]+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 159,+ "character": 12+ }+ ]+ }+ },+ "defaultValue": "{}"+ }+ ],"type": {"type": "reference","typeArguments": [{"type": "reflection","declaration": {- "id": 386,+ "id": 427,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5119,7 +7185,7 @@},"children": [{- "id": 387,+ "id": 433,"name": "data","kind": 32,"kindString": "Variable",@@ -5129,7 +7195,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 224,+ "line": 169,"character": 8}],@@ -5149,7 +7215,7 @@}},{- "id": 389,+ "id": 432,"name": "error","kind": 32,"kindString": "Variable",@@ -5159,7 +7225,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 226,+ "line": 168,"character": 9}],@@ -5178,7 +7244,89 @@}},{- "id": 388,+ "id": 430,+ "name": "provider",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 166,+ "character": 12+ }+ ],+ "type": {+ "type": "reference",+ "id": 112,+ "name": "Provider"+ }+ },+ {+ "id": 428,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 164,+ "character": 11+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 50,+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 431,+ "name": "url",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 167,+ "character": 7+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "string"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 429,"name": "user","kind": 32,"kindString": "Variable",@@ -5188,7 +7336,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 225,+ "line": 165,"character": 8}],@@ -5213,17 +7361,20 @@"title": "Variables","kind": 32,"children": [- 387,- 389,- 388+ 433,+ 432,+ 430,+ 428,+ 431,+ 429]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 223,- "character": 34+ "line": 163,+ "character": 13}]}@@ -5236,111 +7387,14 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 223,- "character": 22- }- ]- },- {- "id": 382,- "name": "session",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 383,- "name": "session",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Returns the session data, if there is an active session."- },- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 50,- "name": "Session"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 216,- "character": 9- }- ]- },- {- "id": 403,- "name": "setAuth",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 404,- "name": "setAuth",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests."- },- "parameters": [- {- "id": 405,- "name": "access_token",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "comment": {- "text": "a jwt access token\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],- "type": {- "type": "reference",- "id": 50,- "name": "Session"- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 301,- "character": 9+ "line": 157,+ "character": 14}]},{- "id": 397,- "name": "setSession",+ "id": 482,+ "name": "signOut","kind": 2048,"kindString": "Method","flags": {@@ -5348,41 +7402,24 @@},"signatures": [{- "id": 398,- "name": "setSession",+ "id": 483,+ "name": "signOut","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Sets the session data from refresh_token and returns current Session and Error"+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",+ "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"},- "parameters": [- {- "id": 399,- "name": "refresh_token",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "comment": {- "text": "a JWT token\n"- },- "type": {- "type": "intrinsic",- "name": "string"- }- }- ],"type": {"type": "reference","typeArguments": [{"type": "reflection","declaration": {- "id": 400,+ "id": 484,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5391,7 +7428,7 @@},"children": [{- "id": 402,+ "id": 485,"name": "error","kind": 32,"kindString": "Variable",@@ -5401,8 +7438,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 273,- "character": 45+ "line": 434,+ "character": 34}],"type": {@@ -5418,36 +7455,6 @@}]}- },- {- "id": 401,- "name": "session",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 273,- "character": 22- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 50,- "name": "Session"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }}],"groups": [@@ -5455,16 +7462,15 @@"title": "Variables","kind": 32,"children": [- 402,- 401+ 485]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 273,- "character": 13+ "line": 434,+ "character": 27}]}@@ -5476,15 +7482,15 @@],"sources": [{- "fileName": "GoTrueClient.ts",- "line": 271,- "character": 18+ "fileName": "GoTrueClient.ts",+ "line": 434,+ "character": 15}]},{- "id": 361,- "name": "signIn",+ "id": 399,+ "name": "signUp","kind": 2048,"kindString": "Method","flags": {@@ -5492,19 +7498,19 @@},"signatures": [{- "id": 362,- "name": "signIn",+ "id": 400,+ "name": "signUp","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Log in an existing user, or login via a third-party provider."+ "shortText": "Creates a new user."},"parameters": [{- "id": 363,+ "id": 401,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -5515,7 +7521,7 @@"type": {"type": "reflection","declaration": {- "id": 364,+ "id": 402,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5524,7 +7530,7 @@},"children": [{- "id": 365,+ "id": 403,"name": "email","kind": 32,"kindString": "Variable",@@ -5537,7 +7543,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 153,+ "line": 99,"character": 11}],@@ -5556,7 +7562,7 @@}},{- "id": 366,+ "id": 404,"name": "password","kind": 32,"kindString": "Variable",@@ -5569,7 +7575,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 153,+ "line": 99,"character": 21}],@@ -5588,85 +7594,21 @@}},{- "id": 368,- "name": "provider",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "comment": {- "text": "One of the providers supported by GoTrue."- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 153,- "character": 45- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "stringLiteral",- "value": "azure"- },- {- "type": "stringLiteral",- "value": "bitbucket"- },- {- "type": "stringLiteral",- "value": "facebook"- },- {- "type": "stringLiteral",- "value": "github"- },- {- "type": "stringLiteral",- "value": "gitlab"- },- {- "type": "stringLiteral",- "value": "google"- },- {- "type": "stringLiteral",- "value": "twitter"- },- {- "type": "stringLiteral",- "value": "apple"- },- {- "type": "stringLiteral",- "value": "discord"- }- ]- }- },- {- "id": 367,- "name": "refreshToken",+ "id": 405,+ "name": "phone","kind": 32,"kindString": "Variable","flags": {"isExported": true},"comment": {- "text": "A valid refresh token that was returned on login."+ "text": "The user's phone number."},"sources": [{"fileName": "GoTrueClient.ts",- "line": 153,- "character": 35+ "line": 99,+ "character": 28}],"type": {@@ -5689,17 +7631,16 @@"title": "Variables","kind": 32,"children": [- 365,- 366,- 368,- 367+ 403,+ 404,+ 405]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 152,+ "line": 98,"character": 15}]@@ -5707,7 +7648,7 @@}},{- "id": 369,+ "id": 406,"name": "options","kind": 32768,"kindString": "Parameter",@@ -5717,7 +7658,7 @@"type": {"type": "reflection","declaration": {- "id": 370,+ "id": 407,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5726,7 +7667,7 @@},"children": [{- "id": 371,+ "id": 408,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -5737,7 +7678,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 155,+ "line": 101,"character": 16}],@@ -5754,36 +7695,6 @@}]}- },- {- "id": 372,- "name": "scopes",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 156,- "character": 12- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]- }}],"groups": [@@ -5791,15 +7702,14 @@"title": "Variables","kind": 32,"children": [- 371,- 372+ 408]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 154,+ "line": 100,"character": 12}]@@ -5814,7 +7724,7 @@{"type": "reflection","declaration": {- "id": 373,+ "id": 409,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5823,7 +7733,7 @@},"children": [{- "id": 379,+ "id": 413,"name": "data","kind": 32,"kindString": "Variable",@@ -5833,7 +7743,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 164,+ "line": 107,"character": 8}],@@ -5845,6 +7755,11 @@"id": 50,"name": "Session"},+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },{"type": "intrinsic","name": "null"@@ -5853,7 +7768,7 @@}},{- "id": 378,+ "id": 412,"name": "error","kind": 32,"kindString": "Variable",@@ -5863,7 +7778,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 163,+ "line": 106,"character": 9}],@@ -5882,29 +7797,7 @@}},{- "id": 376,- "name": "provider",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 161,- "character": 12- }- ],- "type": {- "type": "reference",- "id": 103,- "name": "Provider"- }- },- {- "id": 374,+ "id": 411,"name": "session","kind": 32,"kindString": "Variable",@@ -5914,7 +7807,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 159,+ "line": 105,"character": 11}],@@ -5934,37 +7827,7 @@}},{- "id": 377,- "name": "url",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true,- "isOptional": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 162,- "character": 7- }- ],- "type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "string"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }- },- {- "id": 375,+ "id": 410,"name": "user","kind": 32,"kindString": "Variable",@@ -5974,7 +7837,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 160,+ "line": 104,"character": 8}],@@ -5999,19 +7862,17 @@"title": "Variables","kind": 32,"children": [- 379,- 378,- 376,- 374,- 377,- 375+ 413,+ 412,+ 411,+ 410]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 158,+ "line": 103,"character": 13}]@@ -6025,14 +7886,14 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 152,+ "line": 98,"character": 14}]},{- "id": 414,- "name": "signOut",+ "id": 458,+ "name": "update","kind": 2048,"kindString": "Method","flags": {@@ -6040,24 +7901,39 @@},"signatures": [{- "id": 415,- "name": "signOut",+ "id": 459,+ "name": "update","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",- "text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"+ "shortText": "Updates user data, if there is a logged in user."},+ "parameters": [+ {+ "id": 460,+ "name": "attributes",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "reference",+ "id": 82,+ "name": "UserAttributes"+ }+ }+ ],"type": {"type": "reference","typeArguments": [{"type": "reflection","declaration": {- "id": 416,+ "id": 461,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6066,7 +7942,37 @@},"children": [{- "id": 417,+ "id": 462,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 308,+ "character": 19+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 464,"name": "error","kind": 32,"kindString": "Variable",@@ -6076,8 +7982,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 372,- "character": 34+ "line": 308,+ "character": 58}],"type": {@@ -6093,6 +7999,36 @@}]}+ },+ {+ "id": 463,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 308,+ "character": 38+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }}],"groups": [@@ -6100,15 +8036,17 @@"title": "Variables","kind": 32,"children": [- 417+ 462,+ 464,+ 463]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 372,- "character": 27+ "line": 308,+ "character": 13}]}@@ -6121,14 +8059,14 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 372,- "character": 15+ "line": 306,+ "character": 14}]},{- "id": 347,- "name": "signUp",+ "id": 448,+ "name": "user","kind": 2048,"kindString": "Method","flags": {@@ -6136,19 +8074,64 @@},"signatures": [{- "id": 348,- "name": "signUp",+ "id": 449,+ "name": "user","kind": 4096,"kindString": "Call signature","flags": {"isExported": true},"comment": {- "shortText": "Creates a new user."+ "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.",+ "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n"+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "id": 58,+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "sources": [+ {+ "fileName": "GoTrueClient.ts",+ "line": 271,+ "character": 6+ }+ ]+ },+ {+ "id": 434,+ "name": "verifyOTP",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 435,+ "name": "verifyOTP",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Log in a user given a User supplied OTP received via mobile."},"parameters": [{- "id": 349,+ "id": 436,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -6159,7 +8142,7 @@"type": {"type": "reflection","declaration": {- "id": 350,+ "id": 437,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6168,40 +8151,31 @@},"children": [{- "id": 351,- "name": "email",+ "id": 438,+ "name": "phone","kind": 32,"kindString": "Variable","flags": {"isExported": true},"comment": {- "text": "The user's email address."+ "text": "The user's phone number."},"sources": [{"fileName": "GoTrueClient.ts",- "line": 97,+ "line": 223,"character": 11}],"type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]+ "type": "intrinsic",+ "name": "string"}},{- "id": 352,- "name": "password",+ "id": 439,+ "name": "token","kind": 32,"kindString": "Variable","flags": {@@ -6213,22 +8187,13 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 97,- "character": 21+ "line": 223,+ "character": 18}],"type": {- "type": "union",- "types": [- {- "type": "intrinsic",- "name": "undefined"- },- {- "type": "intrinsic",- "name": "string"- }- ]+ "type": "intrinsic",+ "name": "string"}}],@@ -6237,23 +8202,23 @@"title": "Variables","kind": 32,"children": [- 351,- 352+ 438,+ 439]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 96,- "character": 15+ "line": 222,+ "character": 18}]}}},{- "id": 353,+ "id": 440,"name": "options","kind": 32768,"kindString": "Parameter",@@ -6263,7 +8228,7 @@"type": {"type": "reflection","declaration": {- "id": 354,+ "id": 441,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6272,7 +8237,7 @@},"children": [{- "id": 355,+ "id": 442,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -6283,7 +8248,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 99,+ "line": 225,"character": 16}],@@ -6307,14 +8272,14 @@"title": "Variables","kind": 32,"children": [- 355+ 442]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 98,+ "line": 224,"character": 12}]@@ -6329,7 +8294,7 @@{"type": "reflection","declaration": {- "id": 356,+ "id": 443,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6338,7 +8303,7 @@},"children": [{- "id": 360,+ "id": 447,"name": "data","kind": 32,"kindString": "Variable",@@ -6348,7 +8313,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 105,+ "line": 231,"character": 8}],@@ -6369,186 +8334,12 @@"type": "intrinsic","name": "null"}- ]- }- },- {- "id": 359,- "name": "error",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 104,- "character": 9- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "name": "Error"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }- },- {- "id": 358,- "name": "session",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 103,- "character": 11- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 50,- "name": "Session"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }- },- {- "id": 357,- "name": "user",- "kind": 32,- "kindString": "Variable",- "flags": {- "isExported": true- },- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 102,- "character": 8- }- ],- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 58,- "name": "User"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }- }- ],- "groups": [- {- "title": "Variables",- "kind": 32,- "children": [- 360,- 359,- 358,- 357- ]- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 101,- "character": 13- }- ]- }- }- ],- "name": "Promise"- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 96,- "character": 14- }- ]- },- {- "id": 390,- "name": "update",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 391,- "name": "update",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Updates user data, if there is a logged in user."- },- "parameters": [- {- "id": 392,- "name": "attributes",- "kind": 32768,- "kindString": "Parameter",- "flags": {- "isExported": true- },- "type": {- "type": "reference",- "id": 77,- "name": "UserAttributes"- }- }- ],- "type": {- "type": "reference",- "typeArguments": [- {- "type": "reflection",- "declaration": {- "id": 393,- "name": "__type",- "kind": 65536,- "kindString": "Type literal",- "flags": {- "isExported": true- },- "children": [+ ]+ }+ },{- "id": 394,- "name": "data",+ "id": 446,+ "name": "error","kind": 32,"kindString": "Variable","flags": {@@ -6557,8 +8348,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,- "character": 19+ "line": 230,+ "character": 9}],"type": {@@ -6566,8 +8357,7 @@"types": [{"type": "reference",- "id": 58,- "name": "User"+ "name": "Error"},{"type": "intrinsic",@@ -6577,8 +8367,8 @@}},{- "id": 396,- "name": "error",+ "id": 445,+ "name": "session","kind": 32,"kindString": "Variable","flags": {@@ -6587,8 +8377,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,- "character": 58+ "line": 229,+ "character": 11}],"type": {@@ -6596,7 +8386,8 @@"types": [{"type": "reference",- "name": "Error"+ "id": 50,+ "name": "Session"},{"type": "intrinsic",@@ -6606,7 +8397,7 @@}},{- "id": 395,+ "id": 444,"name": "user","kind": 32,"kindString": "Variable",@@ -6616,8 +8407,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,- "character": 38+ "line": 228,+ "character": 8}],"type": {@@ -6641,16 +8432,17 @@"title": "Variables","kind": 32,"children": [- 394,- 396,- 395+ 447,+ 446,+ 445,+ 444]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 246,+ "line": 227,"character": 13}]@@ -6664,53 +8456,8 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 244,- "character": 14- }- ]- },- {- "id": 380,- "name": "user",- "kind": 2048,- "kindString": "Method",- "flags": {- "isExported": true- },- "signatures": [- {- "id": 381,- "name": "user",- "kind": 4096,- "kindString": "Call signature",- "flags": {- "isExported": true- },- "comment": {- "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.",- "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n"- },- "type": {- "type": "union",- "types": [- {- "type": "reference",- "id": 58,- "name": "User"- },- {- "type": "intrinsic",- "name": "null"- }- ]- }- }- ],- "sources": [- {- "fileName": "GoTrueClient.ts",- "line": 209,- "character": 6+ "line": 222,+ "character": 17}]}@@ -6720,61 +8467,63 @@"title": "Constructors","kind": 512,"children": [- 333+ 385]},{"title": "Properties","kind": 1024,"children": [- 325,- 328,- 327,- 326,- 330,- 329,- 332,- 331+ 377,+ 380,+ 379,+ 378,+ 382,+ 381,+ 384,+ 383]},{"title": "Methods","kind": 2048,"children": [- 468,- 428,- 445,- 477,- 483,- 466,- 464,+ 550,+ 496,+ 513,+ 527,+ 559,+ 565,+ 548,+ 546,+ 568,+ 562,+ 570,+ 474,486,- 480,- 488,- 406,- 418,- 384,- 382,- 403,- 397,- 361,+ 452,+ 450,+ 471,+ 465,414,- 347,- 390,- 380+ 482,+ 399,+ 458,+ 448,+ 434]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 26,+ "line": 27,"character": 33}]},{- "id": 491,+ "id": 573,"name": "DEFAULT_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -6783,7 +8532,7 @@},"children": [{- "id": 493,+ "id": 575,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -6791,7 +8540,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 20,+ "line": 21,"character": 18}],@@ -6802,7 +8551,7 @@"defaultValue": "true"},{- "id": 496,+ "id": 578,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -6810,7 +8559,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 23,+ "line": 24,"character": 20}],@@ -6821,7 +8570,7 @@"defaultValue": "true"},{- "id": 497,+ "id": 579,"name": "headers","kind": 32,"kindString": "Variable",@@ -6829,14 +8578,14 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 24,+ "line": 25,"character": 9}],"type": {"type": "reflection","declaration": {- "id": 498,+ "id": 580,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6846,7 +8595,7 @@"defaultValue": "DEFAULT_HEADERS"},{- "id": 495,+ "id": 577,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -6854,7 +8603,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 22,+ "line": 23,"character": 14}],@@ -6865,7 +8614,7 @@"defaultValue": "globalThis.localStorage"},{- "id": 494,+ "id": 576,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -6873,7 +8622,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 21,+ "line": 22,"character": 16}],@@ -6884,7 +8633,7 @@"defaultValue": "true"},{- "id": 492,+ "id": 574,"name": "url","kind": 32,"kindString": "Variable",@@ -6892,7 +8641,7 @@"sources": [{"fileName": "GoTrueClient.ts",- "line": 19,+ "line": 20,"character": 5}],@@ -6908,19 +8657,19 @@"title": "Variables","kind": 32,"children": [- 493,- 496,- 497,- 495,- 494,- 492+ 575,+ 578,+ 579,+ 577,+ 576,+ 574]}],"sources": [{"fileName": "GoTrueClient.ts",- "line": 18,+ "line": 19,"character": 21}],@@ -6935,14 +8684,14 @@"title": "Classes","kind": 128,"children": [- 324+ 376]},{"title": "Object literals","kind": 2097152,"children": [- 491+ 573]}],@@ -6955,7 +8704,7 @@]},{- "id": 499,+ "id": 581,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -6965,37 +8714,37 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts","children": [{- "id": 501,+ "id": 583,"name": "AuthChangeEvent","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 104+ "target": 113},{- "id": 506,+ "id": 588,"name": "CookieOptions","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 92+ "target": 97},{- "id": 500,+ "id": 582,"name": "Provider","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 103+ "target": 112},{- "id": 502,+ "id": 584,"name": "Session","kind": 16777216,"kindString": "Reference",@@ -7005,17 +8754,17 @@"target": 50},{- "id": 505,+ "id": 587,"name": "Subscription","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 82+ "target": 87},{- "id": 503,+ "id": 585,"name": "User","kind": 16777216,"kindString": "Reference",@@ -7025,24 +8774,34 @@"target": 58},{- "id": 504,+ "id": 586,"name": "UserAttributes","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 77+ "target": 82},{- "id": 507,+ "id": 589,"name": "UserCredentials","kind": 16777216,"kindString": "Reference","flags": {"isExported": true},- "target": 98+ "target": 103+ },+ {+ "id": 590,+ "name": "VerifyOTPParams",+ "kind": 16777216,+ "kindString": "Reference",+ "flags": {+ "isExported": true+ },+ "target": 109}],"groups": [@@ -7050,14 +8809,15 @@"title": "References","kind": 16777216,"children": [- 501,- 506,- 500,- 502,- 505,- 503,- 504,- 507+ 583,+ 588,+ 582,+ 584,+ 587,+ 585,+ 586,+ 589,+ 590]}],@@ -7070,7 +8830,7 @@]},{- "id": 105,+ "id": 114,"name": "\"lib/constants\"","kind": 1,"kindString": "Module",@@ -7080,7 +8840,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts","children": [{- "id": 107,+ "id": 116,"name": "AUDIENCE","kind": 32,"kindString": "Variable",@@ -7102,7 +8862,7 @@"defaultValue": "\"\""},{- "id": 108,+ "id": 117,"name": "DEFAULT_HEADERS","kind": 32,"kindString": "Variable",@@ -7120,7 +8880,7 @@"type": {"type": "reflection","declaration": {- "id": 109,+ "id": 118,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7131,7 +8891,7 @@}},{- "id": 110,+ "id": 119,"name": "EXPIRY_MARGIN","kind": 32,"kindString": "Variable",@@ -7153,7 +8913,7 @@"defaultValue": "60 * 1000"},{- "id": 106,+ "id": 115,"name": "GOTRUE_URL","kind": 32,"kindString": "Variable",@@ -7175,7 +8935,7 @@"defaultValue": "\"http://localhost:9999\""},{- "id": 111,+ "id": 120,"name": "STORAGE_KEY","kind": 32,"kindString": "Variable",@@ -7197,7 +8957,7 @@"defaultValue": "\"supabase.auth.token\""},{- "id": 112,+ "id": 121,"name": "COOKIE_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -7207,7 +8967,7 @@},"children": [{- "id": 115,+ "id": 124,"name": "domain","kind": 32,"kindString": "Variable",@@ -7228,7 +8988,7 @@"defaultValue": "\"\""},{- "id": 114,+ "id": 123,"name": "lifetime","kind": 32,"kindString": "Variable",@@ -7249,7 +9009,7 @@"defaultValue": "60 * 60 * 8"},{- "id": 113,+ "id": 122,"name": "name","kind": 32,"kindString": "Variable",@@ -7270,7 +9030,7 @@"defaultValue": "\"sb:token\""},{- "id": 116,+ "id": 125,"name": "path","kind": 32,"kindString": "Variable",@@ -7291,7 +9051,7 @@"defaultValue": "\"/\""},{- "id": 117,+ "id": 126,"name": "sameSite","kind": 32,"kindString": "Variable",@@ -7317,11 +9077,11 @@"title": "Variables","kind": 32,"children": [- 115,- 114,- 113,- 116,- 117+ 124,+ 123,+ 122,+ 125,+ 126]}],@@ -7343,18 +9103,18 @@"title": "Variables","kind": 32,"children": [- 107,- 108,- 110,- 106,- 111+ 116,+ 117,+ 119,+ 115,+ 120]},{"title": "Object literals","kind": 2097152,"children": [- 112+ 121]}],@@ -7367,7 +9127,7 @@]},{- "id": 118,+ "id": 127,"name": "\"lib/cookies\"","kind": 1,"kindString": "Module",@@ -7377,7 +9137,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts","children": [{- "id": 119,+ "id": 128,"name": "Cookie","kind": 4194304,"kindString": "Type alias",@@ -7392,14 +9152,14 @@"type": {"type": "reflection","declaration": {- "id": 120,+ "id": 129,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 124,+ "id": 133,"name": "domain","kind": 32,"kindString": "Variable",@@ -7428,7 +9188,7 @@}},{- "id": 123,+ "id": 132,"name": "maxAge","kind": 32,"kindString": "Variable",@@ -7446,7 +9206,7 @@}},{- "id": 121,+ "id": 130,"name": "name","kind": 32,"kindString": "Variable",@@ -7464,7 +9224,7 @@}},{- "id": 125,+ "id": 134,"name": "path","kind": 32,"kindString": "Variable",@@ -7493,7 +9253,7 @@}},{- "id": 126,+ "id": 135,"name": "sameSite","kind": 32,"kindString": "Variable",@@ -7522,7 +9282,7 @@}},{- "id": 122,+ "id": 131,"name": "value","kind": 32,"kindString": "Variable",@@ -7545,12 +9305,12 @@"title": "Variables","kind": 32,"children": [- 124,- 123,- 121,- 125,- 126,- 122+ 133,+ 132,+ 130,+ 134,+ 135,+ 131]}],@@ -7565,7 +9325,7 @@}},{- "id": 157,+ "id": 166,"name": "deleteCookie","kind": 64,"kindString": "Function",@@ -7574,7 +9334,7 @@},"signatures": [{- "id": 158,+ "id": 167,"name": "deleteCookie","kind": 4096,"kindString": "Call signature",@@ -7583,7 +9343,7 @@},"parameters": [{- "id": 159,+ "id": 168,"name": "req","kind": 32768,"kindString": "Parameter",@@ -7596,7 +9356,7 @@}},{- "id": 160,+ "id": 169,"name": "res","kind": 32768,"kindString": "Parameter",@@ -7609,7 +9369,7 @@}},{- "id": 161,+ "id": 170,"name": "name","kind": 32768,"kindString": "Parameter",@@ -7637,14 +9397,14 @@]},{- "id": 140,+ "id": 149,"name": "isSecureEnvironment","kind": 64,"kindString": "Function","flags": {},"signatures": [{- "id": 141,+ "id": 150,"name": "isSecureEnvironment","kind": 4096,"kindString": "Call signature",@@ -7654,7 +9414,7 @@},"parameters": [{- "id": 142,+ "id": 151,"name": "req","kind": 32768,"kindString": "Parameter",@@ -7680,14 +9440,14 @@]},{- "id": 127,+ "id": 136,"name": "serialize","kind": 64,"kindString": "Function","flags": {},"signatures": [{- "id": 128,+ "id": 137,"name": "serialize","kind": 4096,"kindString": "Call signature",@@ -7697,7 +9457,7 @@},"parameters": [{- "id": 129,+ "id": 138,"name": "name","kind": 32768,"kindString": "Parameter",@@ -7708,7 +9468,7 @@}},{- "id": 130,+ "id": 139,"name": "val","kind": 32768,"kindString": "Parameter",@@ -7719,7 +9479,7 @@}},{- "id": 131,+ "id": 140,"name": "options","kind": 32768,"kindString": "Parameter",@@ -7727,14 +9487,14 @@"type": {"type": "reflection","declaration": {- "id": 132,+ "id": 141,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 134,+ "id": 143,"name": "domain","kind": 32,"kindString": "Variable",@@ -7752,7 +9512,7 @@}},{- "id": 136,+ "id": 145,"name": "expires","kind": 32,"kindString": "Variable",@@ -7770,7 +9530,7 @@}},{- "id": 137,+ "id": 146,"name": "httpOnly","kind": 32,"kindString": "Variable",@@ -7788,7 +9548,7 @@}},{- "id": 133,+ "id": 142,"name": "maxAge","kind": 32,"kindString": "Variable",@@ -7806,7 +9566,7 @@}},{- "id": 135,+ "id": 144,"name": "path","kind": 32,"kindString": "Variable",@@ -7824,7 +9584,7 @@}},{- "id": 139,+ "id": 148,"name": "sameSite","kind": 32,"kindString": "Variable",@@ -7842,7 +9602,7 @@}},{- "id": 138,+ "id": 147,"name": "secure","kind": 32,"kindString": "Variable",@@ -7865,13 +9625,13 @@"title": "Variables","kind": 32,"children": [- 134,- 136,- 137,- 133,- 135,- 139,- 138+ 143,+ 145,+ 146,+ 142,+ 144,+ 148,+ 147]}],@@ -7901,14 +9661,14 @@]},{- "id": 143,+ "id": 152,"name": "serializeCookie","kind": 64,"kindString": "Function","flags": {},"signatures": [{- "id": 144,+ "id": 153,"name": "serializeCookie","kind": 4096,"kindString": "Call signature",@@ -7918,19 +9678,19 @@},"parameters": [{- "id": 145,+ "id": 154,"name": "cookie","kind": 32768,"kindString": "Parameter","flags": {},"type": {"type": "reference",- "id": 119,+ "id": 128,"name": "Cookie"}},{- "id": 146,+ "id": 155,"name": "secure","kind": 32768,"kindString": "Parameter",@@ -7956,7 +9716,7 @@]},{- "id": 152,+ "id": 161,"name": "setCookie","kind": 64,"kindString": "Function",@@ -7965,7 +9725,7 @@},"signatures": [{- "id": 153,+ "id": 162,"name": "setCookie","kind": 4096,"kindString": "Call signature",@@ -7977,7 +9737,7 @@},"parameters": [{- "id": 154,+ "id": 163,"name": "req","kind": 32768,"kindString": "Parameter",@@ -7990,7 +9750,7 @@}},{- "id": 155,+ "id": 164,"name": "res","kind": 32768,"kindString": "Parameter",@@ -8003,7 +9763,7 @@}},{- "id": 156,+ "id": 165,"name": "cookie","kind": 32768,"kindString": "Parameter",@@ -8012,7 +9772,7 @@},"type": {"type": "reference",- "id": 119,+ "id": 128,"name": "Cookie"}}@@ -8032,7 +9792,7 @@]},{- "id": 147,+ "id": 156,"name": "setCookies","kind": 64,"kindString": "Function",@@ -8041,7 +9801,7 @@},"signatures": [{- "id": 148,+ "id": 157,"name": "setCookies","kind": 4096,"kindString": "Call signature",@@ -8053,7 +9813,7 @@},"parameters": [{- "id": 149,+ "id": 158,"name": "req","kind": 32768,"kindString": "Parameter",@@ -8066,7 +9826,7 @@}},{- "id": 150,+ "id": 159,"name": "res","kind": 32768,"kindString": "Parameter",@@ -8079,7 +9839,7 @@}},{- "id": 151,+ "id": 160,"name": "cookies","kind": 32768,"kindString": "Parameter",@@ -8091,7 +9851,7 @@"typeArguments": [{"type": "reference",- "id": 119,+ "id": 128,"name": "Cookie"}],@@ -8119,19 +9879,19 @@"title": "Type aliases","kind": 4194304,"children": [- 119+ 128]},{"title": "Functions","kind": 64,"children": [- 157,- 140,- 127,- 143,+ 166,+ 149,+ 136,152,- 147+ 161,+ 156]}],@@ -8971,7 +10731,7 @@]},{- "id": 162,+ "id": 171,"name": "\"lib/helpers\"","kind": 1,"kindString": "Module",@@ -8981,7 +10741,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts","children": [{- "id": 163,+ "id": 172,"name": "LocalStorage","kind": 128,"kindString": "Class",@@ -8990,7 +10750,7 @@},"indexSignature": [{- "id": 165,+ "id": 174,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -8999,7 +10759,7 @@},"parameters": [{- "id": 166,+ "id": 175,"name": "name","kind": 32768,"kindString": "Parameter",@@ -9020,7 +10780,7 @@],"children": [{- "id": 168,+ "id": 177,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -9029,7 +10789,7 @@},"signatures": [{- "id": 169,+ "id": 178,"name": "new LocalStorage","kind": 16384,"kindString": "Constructor signature",@@ -9038,7 +10798,7 @@},"parameters": [{- "id": 170,+ "id": 179,"name": "localStorage","kind": 32768,"kindString": "Parameter",@@ -9053,7 +10813,7 @@],"type": {"type": "reference",- "id": 163,+ "id": 172,"name": "LocalStorage"}}@@ -9067,7 +10827,7 @@]},{- "id": 167,+ "id": 176,"name": "length","kind": 1024,"kindString": "Property",@@ -9087,7 +10847,7 @@}},{- "id": 164,+ "id": 173,"name": "localStorage","kind": 1024,"kindString": "Property",@@ -9107,7 +10867,7 @@}},{- "id": 171,+ "id": 180,"name": "clear","kind": 2048,"kindString": "Method",@@ -9116,7 +10876,7 @@},"signatures": [{- "id": 172,+ "id": 181,"name": "clear","kind": 4096,"kindString": "Call signature",@@ -9138,7 +10898,7 @@]},{- "id": 180,+ "id": 189,"name": "getItem","kind": 2048,"kindString": "Method",@@ -9147,7 +10907,7 @@},"signatures": [{- "id": 181,+ "id": 190,"name": "getItem","kind": 4096,"kindString": "Call signature",@@ -9156,7 +10916,7 @@},"parameters": [{- "id": 182,+ "id": 191,"name": "key","kind": 32768,"kindString": "Parameter",@@ -9193,7 +10953,7 @@]},{- "id": 173,+ "id": 182,"name": "key","kind": 2048,"kindString": "Method",@@ -9202,7 +10962,7 @@},"signatures": [{- "id": 174,+ "id": 183,"name": "key","kind": 4096,"kindString": "Call signature",@@ -9211,7 +10971,7 @@},"parameters": [{- "id": 175,+ "id": 184,"name": "index","kind": 32768,"kindString": "Parameter",@@ -9248,7 +11008,7 @@]},{- "id": 183,+ "id": 192,"name": "removeItem","kind": 2048,"kindString": "Method",@@ -9257,7 +11017,7 @@},"signatures": [{- "id": 184,+ "id": 193,"name": "removeItem","kind": 4096,"kindString": "Call signature",@@ -9266,7 +11026,7 @@},"parameters": [{- "id": 185,+ "id": 194,"name": "key","kind": 32768,"kindString": "Parameter",@@ -9294,7 +11054,7 @@]},{- "id": 176,+ "id": 185,"name": "setItem","kind": 2048,"kindString": "Method",@@ -9303,7 +11063,7 @@},"signatures": [{- "id": 177,+ "id": 186,"name": "setItem","kind": 4096,"kindString": "Call signature",@@ -9312,7 +11072,7 @@},"parameters": [{- "id": 178,+ "id": 187,"name": "key","kind": 32768,"kindString": "Parameter",@@ -9325,7 +11085,7 @@}},{- "id": 179,+ "id": 188,"name": "value","kind": 32768,"kindString": "Parameter",@@ -9358,26 +11118,26 @@"title": "Constructors","kind": 512,"children": [- 168+ 177]},{"title": "Properties","kind": 1024,"children": [- 167,- 164+ 176,+ 173]},{"title": "Methods","kind": 2048,"children": [- 171,180,- 173,- 183,- 176+ 189,+ 182,+ 192,+ 185]}],@@ -9396,7 +11156,7 @@]},{- "id": 186,+ "id": 195,"name": "expiresAt","kind": 64,"kindString": "Function",@@ -9405,7 +11165,7 @@},"signatures": [{- "id": 187,+ "id": 196,"name": "expiresAt","kind": 4096,"kindString": "Call signature",@@ -9414,7 +11174,7 @@},"parameters": [{- "id": 188,+ "id": 197,"name": "expiresIn","kind": 32768,"kindString": "Parameter",@@ -9442,7 +11202,7 @@]},{- "id": 193,+ "id": 202,"name": "getParameterByName","kind": 64,"kindString": "Function",@@ -9451,7 +11211,7 @@},"signatures": [{- "id": 194,+ "id": 203,"name": "getParameterByName","kind": 4096,"kindString": "Call signature",@@ -9460,7 +11220,7 @@},"parameters": [{- "id": 195,+ "id": 204,"name": "name","kind": 32768,"kindString": "Parameter",@@ -9473,7 +11233,7 @@}},{- "id": 196,+ "id": 205,"name": "url","kind": 32768,"kindString": "Parameter",@@ -9520,7 +11280,7 @@]},{- "id": 191,+ "id": 200,"name": "isBrowser","kind": 64,"kindString": "Function",@@ -9530,7 +11290,7 @@},"signatures": [{- "id": 192,+ "id": 201,"name": "isBrowser","kind": 4096,"kindString": "Call signature",@@ -9552,7 +11312,7 @@]},{- "id": 189,+ "id": 198,"name": "uuid","kind": 64,"kindString": "Function",@@ -9561,7 +11321,7 @@},"signatures": [{- "id": 190,+ "id": 199,"name": "uuid","kind": 4096,"kindString": "Call signature",@@ -9588,17 +11348,17 @@"title": "Classes","kind": 128,"children": [- 163+ 172]},{"title": "Functions","kind": 64,"children": [- 186,- 193,- 191,- 189+ 195,+ 202,+ 200,+ 198]}],@@ -9611,7 +11371,7 @@]},{- "id": 320,+ "id": 372,"name": "\"lib/polyfills\"","kind": 1,"kindString": "Module",@@ -9621,7 +11381,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts","children": [{- "id": 321,+ "id": 373,"name": "polyfillGlobalThis","kind": 64,"kindString": "Function",@@ -9630,7 +11390,7 @@},"signatures": [{- "id": 322,+ "id": 374,"name": "polyfillGlobalThis","kind": 4096,"kindString": "Call signature",@@ -9660,7 +11420,7 @@"title": "Functions","kind": 64,"children": [- 321+ 373]}],@@ -9683,7 +11443,7 @@"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts","children": [{- "id": 92,+ "id": 97,"name": "CookieOptions","kind": 256,"kindString": "Interface",@@ -9692,7 +11452,7 @@},"children": [{- "id": 95,+ "id": 100,"name": "domain","kind": 1024,"kindString": "Property",@@ -9703,7 +11463,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 85,+ "line": 100,"character": 8}],@@ -9722,7 +11482,7 @@}},{- "id": 94,+ "id": 99,"name": "lifetime","kind": 1024,"kindString": "Property",@@ -9733,7 +11493,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 83,+ "line": 98,"character": 10}],@@ -9752,7 +11512,7 @@}},{- "id": 93,+ "id": 98,"name": "name","kind": 1024,"kindString": "Property",@@ -9763,7 +11523,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 81,+ "line": 96,"character": 6}],@@ -9782,7 +11542,7 @@}},{- "id": 96,+ "id": 101,"name": "path","kind": 1024,"kindString": "Property",@@ -9793,7 +11553,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 86,+ "line": 101,"character": 6}],@@ -9812,7 +11572,7 @@}},{- "id": 97,+ "id": 102,"name": "sameSite","kind": 1024,"kindString": "Property",@@ -9823,7 +11583,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 88,+ "line": 103,"character": 10}],@@ -9847,18 +11607,18 @@"title": "Properties","kind": 1024,"children": [- 95,- 94,- 93,- 96,- 97+ 100,+ 99,+ 98,+ 101,+ 102]}],"sources": [{"fileName": "lib/types.ts",- "line": 79,+ "line": 94,"character": 30}]@@ -9883,7 +11643,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 12,+ "line": 22,"character": 14}],@@ -9907,7 +11667,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 20,+ "line": 30,"character": 12}],@@ -9940,7 +11700,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 16,+ "line": 26,"character": 12}],@@ -9970,7 +11730,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 11,+ "line": 21,"character": 16}],@@ -10000,7 +11760,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 21,+ "line": 31,"character": 15}],@@ -10029,7 +11789,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 22,+ "line": 32,"character": 12}],@@ -10049,7 +11809,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 23,+ "line": 33,"character": 6}],@@ -10087,13 +11847,13 @@"sources": [{"fileName": "lib/types.ts",- "line": 10,+ "line": 20,"character": 24}]},{- "id": 82,+ "id": 87,"name": "Subscription","kind": 256,"kindString": "Interface",@@ -10102,7 +11862,7 @@},"children": [{- "id": 84,+ "id": 89,"name": "callback","kind": 1024,"kindString": "Property",@@ -10115,14 +11875,14 @@"sources": [{"fileName": "lib/types.ts",- "line": 72,+ "line": 87,"character": 10}],"type": {"type": "reflection","declaration": {- "id": 85,+ "id": 90,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10131,7 +11891,7 @@},"signatures": [{- "id": 86,+ "id": 91,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -10140,7 +11900,7 @@},"parameters": [{- "id": 87,+ "id": 92,"name": "event","kind": 32768,"kindString": "Parameter",@@ -10149,12 +11909,12 @@},"type": {"type": "reference",- "id": 104,+ "id": 113,"name": "AuthChangeEvent"}},{- "id": 88,+ "id": 93,"name": "session","kind": 32768,"kindString": "Parameter",@@ -10186,7 +11946,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 72,+ "line": 87,"character": 11}]@@ -10194,7 +11954,7 @@}},{- "id": 83,+ "id": 88,"name": "id","kind": 1024,"kindString": "Property",@@ -10207,7 +11967,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 68,+ "line": 83,"character": 4}],@@ -10217,7 +11977,7 @@}},{- "id": 89,+ "id": 94,"name": "unsubscribe","kind": 1024,"kindString": "Property",@@ -10230,14 +11990,14 @@"sources": [{"fileName": "lib/types.ts",- "line": 76,+ "line": 91,"character": 13}],"type": {"type": "reflection","declaration": {- "id": 90,+ "id": 95,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -10246,7 +12006,7 @@},"signatures": [{- "id": 91,+ "id": 96,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -10262,7 +12022,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 76,+ "line": 91,"character": 14}]@@ -10275,16 +12035,16 @@"title": "Properties","kind": 1024,"children": [- 84,- 83,- 89+ 89,+ 88,+ 94]}],"sources": [{"fileName": "lib/types.ts",- "line": 64,+ "line": 79,"character": 29}]@@ -10298,6 +12058,36 @@"isExported": true},"children": [+ {+ "id": 72,+ "name": "action_link",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 47,+ "character": 13+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },{"id": 60,"name": "app_metadata",@@ -10309,7 +12099,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 27,+ "line": 37,"character": 14}],@@ -10366,7 +12156,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 28,+ "line": 38,"character": 12}],@@ -10397,7 +12187,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 27,+ "line": 37,"character": 15}]@@ -10405,8 +12195,88 @@}},{- "id": 69,- "name": "aud",+ "id": 69,+ "name": "aud",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 44,+ "character": 5+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 70,+ "name": "confirmation_sent_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 45,+ "character": 22+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 76,+ "name": "confirmed_at",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 51,+ "character": 14+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 75,+ "name": "created_at","kind": 1024,"kindString": "Property","flags": {@@ -10415,8 +12285,8 @@"sources": [{"fileName": "lib/types.ts",- "line": 34,- "character": 5+ "line": 50,+ "character": 12}],"type": {@@ -10425,8 +12295,8 @@}},{- "id": 70,- "name": "confirmation_sent_at",+ "id": 73,+ "name": "email","kind": 1024,"kindString": "Property","flags": {@@ -10436,8 +12306,8 @@"sources": [{"fileName": "lib/types.ts",- "line": 35,- "character": 22+ "line": 48,+ "character": 7}],"type": {@@ -10455,8 +12325,8 @@}},{- "id": 73,- "name": "confirmed_at",+ "id": 77,+ "name": "email_confirmed_at","kind": 1024,"kindString": "Property","flags": {@@ -10466,8 +12336,8 @@"sources": [{"fileName": "lib/types.ts",- "line": 38,- "character": 14+ "line": 52,+ "character": 20}],"type": {@@ -10485,8 +12355,8 @@}},{- "id": 72,- "name": "created_at",+ "id": 59,+ "name": "id","kind": 1024,"kindString": "Property","flags": {@@ -10495,8 +12365,8 @@"sources": [{"fileName": "lib/types.ts",- "line": 37,- "character": 12+ "line": 36,+ "character": 4}],"type": {@@ -10505,8 +12375,8 @@}},{- "id": 71,- "name": "email",+ "id": 79,+ "name": "last_sign_in_at","kind": 1024,"kindString": "Property","flags": {@@ -10516,7 +12386,37 @@"sources": [{"fileName": "lib/types.ts",- "line": 36,+ "line": 54,+ "character": 17+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 74,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 49,"character": 7}],@@ -10535,28 +12435,38 @@}},{- "id": 59,- "name": "id",+ "id": 78,+ "name": "phone_confirmed_at","kind": 1024,"kindString": "Property","flags": {- "isExported": true+ "isExported": true,+ "isOptional": true},"sources": [{"fileName": "lib/types.ts",- "line": 26,- "character": 4+ "line": 53,+ "character": 20}],"type": {- "type": "intrinsic",- "name": "string"+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]}},{- "id": 74,- "name": "last_sign_in_at",+ "id": 71,+ "name": "recovery_sent_at","kind": 1024,"kindString": "Property","flags": {@@ -10566,8 +12476,8 @@"sources": [{"fileName": "lib/types.ts",- "line": 39,- "character": 17+ "line": 46,+ "character": 18}],"type": {@@ -10585,7 +12495,7 @@}},{- "id": 75,+ "id": 80,"name": "role","kind": 1024,"kindString": "Property",@@ -10596,7 +12506,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 40,+ "line": 55,"character": 6}],@@ -10615,7 +12525,7 @@}},{- "id": 76,+ "id": 81,"name": "updated_at","kind": 1024,"kindString": "Property",@@ -10626,7 +12536,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 41,+ "line": 56,"character": 12}],@@ -10655,7 +12565,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 31,+ "line": 41,"character": 15}],@@ -10702,7 +12612,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 31,+ "line": 41,"character": 16}]@@ -10715,16 +12625,21 @@"title": "Properties","kind": 1024,"children": [+ 72,60,69,70,+ 76,+ 75,73,- 72,- 71,+ 77,59,+ 79,74,- 75,- 76,+ 78,+ 71,+ 80,+ 81,65]}@@ -10732,13 +12647,13 @@"sources": [{"fileName": "lib/types.ts",- "line": 25,+ "line": 35,"character": 21}]},{- "id": 77,+ "id": 82,"name": "UserAttributes","kind": 256,"kindString": "Interface",@@ -10747,7 +12662,7 @@},"children": [{- "id": 81,+ "id": 86,"name": "data","kind": 1024,"kindString": "Property",@@ -10761,7 +12676,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 61,+ "line": 76,"character": 6}],@@ -10780,7 +12695,7 @@}},{- "id": 78,+ "id": 83,"name": "email","kind": 1024,"kindString": "Property",@@ -10794,7 +12709,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 48,+ "line": 63,"character": 7}],@@ -10813,7 +12728,7 @@}},{- "id": 80,+ "id": 85,"name": "email_change_token","kind": 1024,"kindString": "Property",@@ -10827,7 +12742,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 56,+ "line": 71,"character": 20}],@@ -10846,7 +12761,7 @@}},{- "id": 79,+ "id": 84,"name": "password","kind": 1024,"kindString": "Property",@@ -10860,7 +12775,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 52,+ "line": 67,"character": 10}],@@ -10884,23 +12799,23 @@"title": "Properties","kind": 1024,"children": [- 81,- 78,- 80,- 79+ 86,+ 83,+ 85,+ 84]}],"sources": [{"fileName": "lib/types.ts",- "line": 44,+ "line": 59,"character": 31}]},{- "id": 98,+ "id": 103,"name": "UserCredentials","kind": 256,"kindString": "Interface",@@ -10909,7 +12824,7 @@},"children": [{- "id": 99,+ "id": 104,"name": "email","kind": 1024,"kindString": "Property",@@ -10920,7 +12835,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 92,+ "line": 107,"character": 7}],@@ -10939,7 +12854,7 @@}},{- "id": 100,+ "id": 106,"name": "password","kind": 1024,"kindString": "Property",@@ -10950,7 +12865,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 93,+ "line": 109,"character": 10}],@@ -10969,7 +12884,37 @@}},{- "id": 102,+ "id": 105,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 108,+ "character": 7+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 108,"name": "provider","kind": 1024,"kindString": "Property",@@ -10980,18 +12925,18 @@"sources": [{"fileName": "lib/types.ts",- "line": 96,+ "line": 112,"character": 10}],"type": {"type": "reference",- "id": 103,+ "id": 112,"name": "Provider"}},{- "id": 101,+ "id": 107,"name": "refreshToken","kind": 1024,"kindString": "Property",@@ -11002,7 +12947,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 94,+ "line": 110,"character": 14}],@@ -11026,23 +12971,92 @@"title": "Properties","kind": 1024,"children": [- 99,- 100,- 102,- 101+ 104,+ 106,+ 105,+ 108,+ 107+ ]+ }+ ],+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 106,+ "character": 32+ }+ ]+ },+ {+ "id": 109,+ "name": "VerifyOTPParams",+ "kind": 256,+ "kindString": "Interface",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 110,+ "name": "phone",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 116,+ "character": 7+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 111,+ "name": "token",+ "kind": 1024,+ "kindString": "Property",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "lib/types.ts",+ "line": 117,+ "character": 7+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 110,+ 111]}],"sources": [{"fileName": "lib/types.ts",- "line": 91,+ "line": 115,"character": 32}]},{- "id": 104,+ "id": 113,"name": "AuthChangeEvent","kind": 4194304,"kindString": "Type alias",@@ -11052,7 +13066,7 @@"sources": [{"fileName": "lib/types.ts",- "line": 3,+ "line": 13,"character": 27}],@@ -11083,7 +13097,7 @@}},{- "id": 103,+ "id": 112,"name": "Provider","kind": 4194304,"kindString": "Type alias",@@ -11135,6 +13149,10 @@{"type": "stringLiteral","value": "discord"+ },+ {+ "type": "stringLiteral",+ "value": "twitch"}]}@@ -11145,20 +13163,21 @@"title": "Interfaces","kind": 256,"children": [- 92,+ 97,50,- 82,+ 87,58,- 77,- 98+ 82,+ 103,+ 109]},{"title": "Type aliases","kind": 4194304,"children": [- 104,- 103+ 113,+ 112]}],@@ -11176,14 +13195,14 @@"title": "Modules","kind": 1,"children": [- 197,- 323,- 499,- 105,- 118,+ 206,+ 375,+ 581,+ 114,+ 127,1,- 162,- 320,+ 171,+ 372,49]}diff --git a/web/spec/realtime.json b/web/spec/realtime.jsonindex 51a0bb36f6b..a204988b1d8 100644--- a/web/spec/realtime.json+++ b/web/spec/realtime.json@@ -6,7 +6,7 @@"originalName": "","children": [{- "id": 194,+ "id": 196,"name": "\"RealtimeClient\"","kind": 1,"kindString": "Module",@@ -16,7 +16,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts","children": [{- "id": 195,+ "id": 197,"name": "RealtimeClient","kind": 128,"kindString": "Class",@@ -25,7 +25,7 @@},"children": [{- "id": 226,+ "id": 228,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -37,7 +37,7 @@},"signatures": [{- "id": 227,+ "id": 229,"name": "new RealtimeClient","kind": 16384,"kindString": "Constructor signature",@@ -49,7 +49,7 @@},"parameters": [{- "id": 228,+ "id": 230,"name": "endPoint","kind": 32768,"kindString": "Parameter",@@ -65,7 +65,7 @@}},{- "id": 229,+ "id": 231,"name": "options","kind": 32768,"kindString": "Parameter",@@ -75,14 +75,14 @@},"type": {"type": "reference",- "id": 301,+ "id": 303,"name": "Options"}}],"type": {"type": "reference",- "id": 195,+ "id": 197,"name": "RealtimeClient"}}@@ -96,7 +96,7 @@]},{- "id": 196,+ "id": 198,"name": "channels","kind": 1024,"kindString": "Property",@@ -114,14 +114,14 @@"type": "array","elementType": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}},"defaultValue": "[]"},{- "id": 218,+ "id": 220,"name": "conn","kind": 1024,"kindString": "Property",@@ -151,7 +151,7 @@"defaultValue": "null"},{- "id": 216,+ "id": 218,"name": "decode","kind": 1024,"kindString": "Property",@@ -171,7 +171,7 @@}},{- "id": 215,+ "id": 217,"name": "encode","kind": 1024,"kindString": "Property",@@ -191,7 +191,7 @@}},{- "id": 197,+ "id": 199,"name": "endPoint","kind": 1024,"kindString": "Property",@@ -212,7 +212,7 @@"defaultValue": "\"\""},{- "id": 198,+ "id": 200,"name": "headers","kind": 1024,"kindString": "Property",@@ -237,7 +237,7 @@{"type": "reflection","declaration": {- "id": 199,+ "id": 201,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -246,7 +246,7 @@},"indexSignature": [{- "id": 200,+ "id": 202,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -255,7 +255,7 @@},"parameters": [{- "id": 201,+ "id": 203,"name": "key","kind": 32768,"kindString": "Parameter",@@ -280,7 +280,7 @@}},{- "id": 208,+ "id": 210,"name": "heartbeatIntervalMs","kind": 1024,"kindString": "Property",@@ -301,7 +301,7 @@"defaultValue": "30000"},{- "id": 210,+ "id": 212,"name": "heartbeatTimer","kind": 1024,"kindString": "Property",@@ -340,7 +340,7 @@"defaultValue": "undefined"},{- "id": 214,+ "id": 216,"name": "logger","kind": 1024,"kindString": "Property",@@ -361,7 +361,7 @@"defaultValue": "noop"},{- "id": 209,+ "id": 211,"name": "longpollerTimeout","kind": 1024,"kindString": "Property",@@ -382,7 +382,7 @@"defaultValue": "20000"},{- "id": 202,+ "id": 204,"name": "params","kind": 1024,"kindString": "Property",@@ -407,7 +407,7 @@{"type": "reflection","declaration": {- "id": 203,+ "id": 205,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -416,7 +416,7 @@},"indexSignature": [{- "id": 204,+ "id": 206,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -425,7 +425,7 @@},"parameters": [{- "id": 205,+ "id": 207,"name": "key","kind": 32768,"kindString": "Parameter",@@ -450,7 +450,7 @@}},{- "id": 211,+ "id": 213,"name": "pendingHeartbeatRef","kind": 1024,"kindString": "Property",@@ -480,7 +480,7 @@"defaultValue": "null"},{- "id": 217,+ "id": 219,"name": "reconnectAfterMs","kind": 1024,"kindString": "Property",@@ -500,7 +500,7 @@}},{- "id": 213,+ "id": 215,"name": "reconnectTimer","kind": 1024,"kindString": "Property",@@ -521,7 +521,7 @@}},{- "id": 212,+ "id": 214,"name": "ref","kind": 1024,"kindString": "Property",@@ -542,7 +542,7 @@"defaultValue": "0"},{- "id": 219,+ "id": 221,"name": "sendBuffer","kind": 1024,"kindString": "Property",@@ -566,7 +566,7 @@"defaultValue": "[]"},{- "id": 220,+ "id": 222,"name": "serializer","kind": 1024,"kindString": "Property",@@ -582,13 +582,13 @@],"type": {"type": "reference",- "id": 170,+ "id": 172,"name": "Serializer"},"defaultValue": "new Serializer()"},{- "id": 206,+ "id": 208,"name": "timeout","kind": 1024,"kindString": "Property",@@ -609,7 +609,7 @@"defaultValue": "DEFAULT_TIMEOUT"},{- "id": 207,+ "id": 209,"name": "transport","kind": 1024,"kindString": "Property",@@ -630,7 +630,7 @@"defaultValue": "WebSocket"},{- "id": 288,+ "id": 290,"name": "_appendParams","kind": 2048,"kindString": "Method",@@ -640,7 +640,7 @@},"signatures": [{- "id": 289,+ "id": 291,"name": "_appendParams","kind": 4096,"kindString": "Call signature",@@ -649,7 +649,7 @@},"parameters": [{- "id": 290,+ "id": 292,"name": "url","kind": 32768,"kindString": "Parameter",@@ -662,7 +662,7 @@}},{- "id": 291,+ "id": 293,"name": "params","kind": 32768,"kindString": "Parameter",@@ -672,7 +672,7 @@"type": {"type": "reflection","declaration": {- "id": 292,+ "id": 294,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -681,7 +681,7 @@},"indexSignature": [{- "id": 293,+ "id": 295,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -690,7 +690,7 @@},"parameters": [{- "id": 294,+ "id": 296,"name": "key","kind": 32768,"kindString": "Parameter",@@ -712,7 +712,7 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 344,+ "line": 347,"character": 44}]@@ -729,13 +729,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 344,+ "line": 347,"character": 23}]},{- "id": 295,+ "id": 297,"name": "_flushSendBuffer","kind": 2048,"kindString": "Method",@@ -745,7 +745,7 @@},"signatures": [{- "id": 296,+ "id": 298,"name": "_flushSendBuffer","kind": 4096,"kindString": "Call signature",@@ -761,13 +761,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 354,+ "line": 357,"character": 26}]},{- "id": 280,+ "id": 282,"name": "_onConnClose","kind": 2048,"kindString": "Method",@@ -777,7 +777,7 @@},"signatures": [{- "id": 281,+ "id": 283,"name": "_onConnClose","kind": 4096,"kindString": "Call signature",@@ -786,7 +786,7 @@},"parameters": [{- "id": 282,+ "id": 284,"name": "event","kind": 32768,"kindString": "Parameter",@@ -808,13 +808,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 324,+ "line": 327,"character": 22}]},{- "id": 283,+ "id": 285,"name": "_onConnError","kind": 2048,"kindString": "Method",@@ -824,7 +824,7 @@},"signatures": [{- "id": 284,+ "id": 286,"name": "_onConnError","kind": 4096,"kindString": "Call signature",@@ -833,7 +833,7 @@},"parameters": [{- "id": 285,+ "id": 287,"name": "error","kind": 32768,"kindString": "Parameter",@@ -855,13 +855,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 332,+ "line": 335,"character": 22}]},{- "id": 278,+ "id": 280,"name": "_onConnOpen","kind": 2048,"kindString": "Method",@@ -871,7 +871,7 @@},"signatures": [{- "id": 279,+ "id": 281,"name": "_onConnOpen","kind": 4096,"kindString": "Call signature",@@ -887,13 +887,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 316,+ "line": 319,"character": 21}]},{- "id": 297,+ "id": 299,"name": "_resetHeartbeat","kind": 2048,"kindString": "Method",@@ -903,7 +903,7 @@},"signatures": [{- "id": 298,+ "id": 300,"name": "_resetHeartbeat","kind": 4096,"kindString": "Call signature",@@ -919,13 +919,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 361,+ "line": 364,"character": 25}]},{- "id": 299,+ "id": 301,"name": "_sendHeartbeat","kind": 2048,"kindString": "Method",@@ -935,7 +935,7 @@},"signatures": [{- "id": 300,+ "id": 302,"name": "_sendHeartbeat","kind": 4096,"kindString": "Call signature",@@ -951,13 +951,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 370,+ "line": 373,"character": 24}]},{- "id": 286,+ "id": 288,"name": "_triggerChanError","kind": 2048,"kindString": "Method",@@ -967,7 +967,7 @@},"signatures": [{- "id": 287,+ "id": 289,"name": "_triggerChanError","kind": 4096,"kindString": "Call signature",@@ -983,13 +983,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 338,+ "line": 341,"character": 27}]},{- "id": 263,+ "id": 265,"name": "channel","kind": 2048,"kindString": "Method",@@ -998,7 +998,7 @@},"signatures": [{- "id": 264,+ "id": 266,"name": "channel","kind": 4096,"kindString": "Call signature",@@ -1007,7 +1007,7 @@},"parameters": [{- "id": 265,+ "id": 267,"name": "topic","kind": 32768,"kindString": "Parameter",@@ -1020,7 +1020,7 @@}},{- "id": 266,+ "id": 268,"name": "chanParams","kind": 32768,"kindString": "Parameter",@@ -1030,7 +1030,7 @@"type": {"type": "reflection","declaration": {- "id": 267,+ "id": 269,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1044,7 +1044,7 @@],"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}}@@ -1052,13 +1052,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 246,+ "line": 249,"character": 9}]},{- "id": 230,+ "id": 232,"name": "connect","kind": 2048,"kindString": "Method",@@ -1067,7 +1067,7 @@},"signatures": [{- "id": 231,+ "id": 233,"name": "connect","kind": 4096,"kindString": "Call signature",@@ -1092,7 +1092,7 @@]},{- "id": 256,+ "id": 258,"name": "connectionState","kind": 2048,"kindString": "Method",@@ -1101,7 +1101,7 @@},"signatures": [{- "id": 257,+ "id": 259,"name": "connectionState","kind": 4096,"kindString": "Call signature",@@ -1137,13 +1137,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 215,+ "line": 218,"character": 17}]},{- "id": 232,+ "id": 234,"name": "disconnect","kind": 2048,"kindString": "Method",@@ -1152,7 +1152,7 @@},"signatures": [{- "id": 233,+ "id": 235,"name": "disconnect","kind": 4096,"kindString": "Call signature",@@ -1164,7 +1164,7 @@},"parameters": [{- "id": 234,+ "id": 236,"name": "code","kind": 32768,"kindString": "Parameter",@@ -1190,7 +1190,7 @@}},{- "id": 235,+ "id": 237,"name": "reason","kind": 32768,"kindString": "Parameter",@@ -1222,7 +1222,7 @@{"type": "reflection","declaration": {- "id": 236,+ "id": 238,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1231,7 +1231,7 @@},"children": [{- "id": 238,+ "id": 240,"name": "data","kind": 32,"kindString": "Variable",@@ -1251,7 +1251,7 @@}},{- "id": 237,+ "id": 239,"name": "error","kind": 32,"kindString": "Variable",@@ -1285,8 +1285,8 @@"title": "Variables","kind": 32,"children": [- 238,- 237+ 240,+ 239]}],@@ -1313,7 +1313,7 @@]},{- "id": 274,+ "id": 276,"name": "endPointURL","kind": 2048,"kindString": "Method",@@ -1322,7 +1322,7 @@},"signatures": [{- "id": 275,+ "id": 277,"name": "endPointURL","kind": 4096,"kindString": "Call signature",@@ -1341,13 +1341,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 295,+ "line": 298,"character": 13}]},{- "id": 258,+ "id": 260,"name": "isConnected","kind": 2048,"kindString": "Method",@@ -1356,7 +1356,7 @@},"signatures": [{- "id": 259,+ "id": 261,"name": "isConnected","kind": 4096,"kindString": "Call signature",@@ -1375,13 +1375,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 231,+ "line": 234,"character": 13}]},{- "id": 239,+ "id": 241,"name": "log","kind": 2048,"kindString": "Method",@@ -1390,7 +1390,7 @@},"signatures": [{- "id": 240,+ "id": 242,"name": "log","kind": 4096,"kindString": "Call signature",@@ -1402,7 +1402,7 @@},"parameters": [{- "id": 241,+ "id": 243,"name": "kind","kind": 32768,"kindString": "Parameter",@@ -1415,7 +1415,7 @@}},{- "id": 242,+ "id": 244,"name": "msg","kind": 32768,"kindString": "Parameter",@@ -1428,7 +1428,7 @@}},{- "id": 243,+ "id": 245,"name": "data","kind": 32768,"kindString": "Parameter",@@ -1451,13 +1451,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 164,+ "line": 167,"character": 5}]},{- "id": 276,+ "id": 278,"name": "makeRef","kind": 2048,"kindString": "Method",@@ -1466,7 +1466,7 @@},"signatures": [{- "id": 277,+ "id": 279,"name": "makeRef","kind": 4096,"kindString": "Call signature",@@ -1485,13 +1485,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 305,+ "line": 308,"character": 9}]},{- "id": 247,+ "id": 249,"name": "onClose","kind": 2048,"kindString": "Method",@@ -1500,7 +1500,7 @@},"signatures": [{- "id": 248,+ "id": 250,"name": "onClose","kind": 4096,"kindString": "Call signature",@@ -1518,7 +1518,7 @@},"parameters": [{- "id": 249,+ "id": 251,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -1543,13 +1543,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 186,+ "line": 189,"character": 9}]},{- "id": 271,+ "id": 273,"name": "onConnMessage","kind": 2048,"kindString": "Method",@@ -1558,7 +1558,7 @@},"signatures": [{- "id": 272,+ "id": 274,"name": "onConnMessage","kind": 4096,"kindString": "Call signature",@@ -1567,7 +1567,7 @@},"parameters": [{- "id": 273,+ "id": 275,"name": "rawMessage","kind": 32768,"kindString": "Parameter",@@ -1589,13 +1589,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 267,+ "line": 270,"character": 15}]},{- "id": 250,+ "id": 252,"name": "onError","kind": 2048,"kindString": "Method",@@ -1604,7 +1604,7 @@},"signatures": [{- "id": 251,+ "id": 253,"name": "onError","kind": 4096,"kindString": "Call signature",@@ -1622,7 +1622,7 @@},"parameters": [{- "id": 252,+ "id": 254,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -1647,13 +1647,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 197,+ "line": 200,"character": 9}]},{- "id": 253,+ "id": 255,"name": "onMessage","kind": 2048,"kindString": "Method",@@ -1662,7 +1662,7 @@},"signatures": [{- "id": 254,+ "id": 256,"name": "onMessage","kind": 4096,"kindString": "Call signature",@@ -1680,7 +1680,7 @@},"parameters": [{- "id": 255,+ "id": 257,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -1705,13 +1705,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 208,+ "line": 211,"character": 11}]},{- "id": 244,+ "id": 246,"name": "onOpen","kind": 2048,"kindString": "Method",@@ -1720,7 +1720,7 @@},"signatures": [{- "id": 245,+ "id": 247,"name": "onOpen","kind": 4096,"kindString": "Call signature",@@ -1738,7 +1738,7 @@},"parameters": [{- "id": 246,+ "id": 248,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -1763,13 +1763,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 175,+ "line": 178,"character": 8}]},{- "id": 268,+ "id": 270,"name": "push","kind": 2048,"kindString": "Method",@@ -1778,7 +1778,7 @@},"signatures": [{- "id": 269,+ "id": 271,"name": "push","kind": 4096,"kindString": "Call signature",@@ -1787,7 +1787,7 @@},"parameters": [{- "id": 270,+ "id": 272,"name": "data","kind": 32768,"kindString": "Parameter",@@ -1796,7 +1796,7 @@},"type": {"type": "reference",- "id": 319,+ "id": 321,"name": "Message"}}@@ -1810,13 +1810,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 252,+ "line": 255,"character": 6}]},{- "id": 260,+ "id": 262,"name": "remove","kind": 2048,"kindString": "Method",@@ -1825,7 +1825,7 @@},"signatures": [{- "id": 261,+ "id": 263,"name": "remove","kind": 4096,"kindString": "Call signature",@@ -1837,7 +1837,7 @@},"parameters": [{- "id": 262,+ "id": 264,"name": "channel","kind": 32768,"kindString": "Parameter",@@ -1849,7 +1849,7 @@},"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}}@@ -1863,13 +1863,13 @@"sources": [{"fileName": "RealtimeClient.ts",- "line": 240,+ "line": 243,"character": 8}]},{- "id": 221,+ "id": 223,"name": "stateChangeCallbacks","kind": 2097152,"kindString": "Object literal",@@ -1878,7 +1878,7 @@},"children": [{- "id": 223,+ "id": 225,"name": "close","kind": 32,"kindString": "Variable",@@ -1902,7 +1902,7 @@"defaultValue": "[]"},{- "id": 224,+ "id": 226,"name": "error","kind": 32,"kindString": "Variable",@@ -1926,7 +1926,7 @@"defaultValue": "[]"},{- "id": 225,+ "id": 227,"name": "message","kind": 32,"kindString": "Variable",@@ -1950,7 +1950,7 @@"defaultValue": "[]"},{- "id": 222,+ "id": 224,"name": "open","kind": 32,"kindString": "Variable",@@ -1979,10 +1979,10 @@"title": "Variables","kind": 32,"children": [- 223,- 224,225,- 222+ 226,+ 227,+ 224]}],@@ -2004,68 +2004,68 @@"title": "Constructors","kind": 512,"children": [- 226+ 228]},{"title": "Properties","kind": 1024,"children": [- 196,- 218,- 216,- 215,- 197,198,- 208,+ 220,+ 218,+ 217,+ 199,+ 200,210,- 214,- 209,- 202,+ 212,+ 216,211,- 217,+ 204,213,- 212,219,- 220,- 206,- 207+ 215,+ 214,+ 221,+ 222,+ 208,+ 209]},{"title": "Methods","kind": 2048,"children": [- 288,- 295,- 280,- 283,- 278,+ 290,297,+ 282,+ 285,+ 280,299,- 286,- 263,- 230,- 256,+ 301,+ 288,+ 265,232,- 274,258,- 239,+ 234,276,- 247,- 271,- 250,- 253,- 244,- 268,- 260+ 260,+ 241,+ 278,+ 249,+ 273,+ 252,+ 255,+ 246,+ 270,+ 262]},{"title": "Object literals","kind": 2097152,"children": [- 221+ 223]}],@@ -2078,7 +2078,7 @@]},{- "id": 319,+ "id": 321,"name": "Message","kind": 4194304,"kindString": "Type alias",@@ -2093,14 +2093,14 @@"type": {"type": "reflection","declaration": {- "id": 320,+ "id": 322,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 322,+ "id": 324,"name": "event","kind": 32,"kindString": "Variable",@@ -2118,7 +2118,7 @@}},{- "id": 323,+ "id": 325,"name": "payload","kind": 32,"kindString": "Variable",@@ -2136,7 +2136,7 @@}},{- "id": 324,+ "id": 326,"name": "ref","kind": 32,"kindString": "Variable",@@ -2154,7 +2154,7 @@}},{- "id": 321,+ "id": 323,"name": "topic","kind": 32,"kindString": "Variable",@@ -2177,10 +2177,10 @@"title": "Variables","kind": 32,"children": [- 322,- 323,324,- 321+ 325,+ 326,+ 323]}],@@ -2195,7 +2195,7 @@}},{- "id": 301,+ "id": 303,"name": "Options","kind": 4194304,"kindString": "Type alias",@@ -2212,7 +2212,7 @@"type": {"type": "reflection","declaration": {- "id": 302,+ "id": 304,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2221,7 +2221,7 @@},"children": [{- "id": 309,+ "id": 311,"name": "decode","kind": 32,"kindString": "Variable",@@ -2242,7 +2242,7 @@}},{- "id": 308,+ "id": 310,"name": "encode","kind": 32,"kindString": "Variable",@@ -2263,7 +2263,7 @@}},{- "id": 311,+ "id": 313,"name": "headers","kind": 32,"kindString": "Variable",@@ -2288,7 +2288,7 @@{"type": "reflection","declaration": {- "id": 312,+ "id": 314,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2297,7 +2297,7 @@},"indexSignature": [{- "id": 313,+ "id": 315,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -2306,7 +2306,7 @@},"parameters": [{- "id": 314,+ "id": 316,"name": "key","kind": 32768,"kindString": "Parameter",@@ -2331,7 +2331,7 @@}},{- "id": 305,+ "id": 307,"name": "heartbeatIntervalMs","kind": 32,"kindString": "Variable",@@ -2361,7 +2361,7 @@}},{- "id": 307,+ "id": 309,"name": "logger","kind": 32,"kindString": "Variable",@@ -2382,7 +2382,7 @@}},{- "id": 306,+ "id": 308,"name": "longpollerTimeout","kind": 32,"kindString": "Variable",@@ -2412,7 +2412,7 @@}},{- "id": 315,+ "id": 317,"name": "params","kind": 32,"kindString": "Variable",@@ -2437,7 +2437,7 @@{"type": "reflection","declaration": {- "id": 316,+ "id": 318,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2446,7 +2446,7 @@},"indexSignature": [{- "id": 317,+ "id": 319,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -2455,7 +2455,7 @@},"parameters": [{- "id": 318,+ "id": 320,"name": "key","kind": 32768,"kindString": "Parameter",@@ -2480,7 +2480,7 @@}},{- "id": 310,+ "id": 312,"name": "reconnectAfterMs","kind": 32,"kindString": "Variable",@@ -2501,7 +2501,7 @@}},{- "id": 304,+ "id": 306,"name": "timeout","kind": 32,"kindString": "Variable",@@ -2531,7 +2531,7 @@}},{- "id": 303,+ "id": 305,"name": "transport","kind": 32,"kindString": "Variable",@@ -2557,16 +2557,16 @@"title": "Variables","kind": 32,"children": [- 309,- 308,311,- 305,+ 310,+ 313,307,+ 309,+ 308,+ 317,+ 312,306,- 315,- 310,- 304,- 303+ 305]}],@@ -2581,7 +2581,7 @@}},{- "id": 325,+ "id": 327,"name": "noop","kind": 64,"kindString": "Function",@@ -2590,7 +2590,7 @@},"signatures": [{- "id": 326,+ "id": 328,"name": "noop","kind": 4096,"kindString": "Call signature",@@ -2615,22 +2615,22 @@"title": "Classes","kind": 128,"children": [- 195+ 197]},{"title": "Type aliases","kind": 4194304,"children": [- 319,- 301+ 321,+ 303]},{"title": "Functions","kind": 64,"children": [- 325+ 327]}],@@ -2643,7 +2643,7 @@]},{- "id": 90,+ "id": 92,"name": "\"RealtimeSubscription\"","kind": 1,"kindString": "Module",@@ -2653,7 +2653,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts","children": [{- "id": 91,+ "id": 93,"name": "RealtimeSubscription","kind": 128,"kindString": "Class",@@ -2662,7 +2662,7 @@},"children": [{- "id": 99,+ "id": 101,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -2671,7 +2671,7 @@},"signatures": [{- "id": 103,+ "id": 105,"name": "new RealtimeSubscription","kind": 16384,"kindString": "Constructor signature",@@ -2680,7 +2680,7 @@},"parameters": [{- "id": 104,+ "id": 106,"name": "topic","kind": 32768,"kindString": "Parameter",@@ -2693,7 +2693,7 @@}},{- "id": 105,+ "id": 107,"name": "params","kind": 32768,"kindString": "Parameter",@@ -2707,7 +2707,7 @@"defaultValue": "{}"},{- "id": 106,+ "id": 108,"name": "socket","kind": 32768,"kindString": "Parameter",@@ -2716,14 +2716,14 @@},"type": {"type": "reference",- "id": 195,+ "id": 197,"name": "RealtimeClient"}}],"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}}@@ -2737,7 +2737,7 @@]},{- "id": 92,+ "id": 94,"name": "bindings","kind": 1024,"kindString": "Property",@@ -2761,7 +2761,7 @@"defaultValue": "[]"},{- "id": 96,+ "id": 98,"name": "joinPush","kind": 1024,"kindString": "Property",@@ -2782,7 +2782,7 @@}},{- "id": 95,+ "id": 97,"name": "joinedOnce","kind": 1024,"kindString": "Property",@@ -2803,7 +2803,7 @@"defaultValue": "false"},{- "id": 101,+ "id": 103,"name": "params","kind": 1024,"kindString": "Property",@@ -2825,7 +2825,7 @@}},{- "id": 98,+ "id": 100,"name": "pushBuffer","kind": 1024,"kindString": "Property",@@ -2850,7 +2850,7 @@"defaultValue": "[]"},{- "id": 97,+ "id": 99,"name": "rejoinTimer","kind": 1024,"kindString": "Property",@@ -2871,7 +2871,7 @@}},{- "id": 102,+ "id": 104,"name": "socket","kind": 1024,"kindString": "Property",@@ -2889,12 +2889,12 @@],"type": {"type": "reference",- "id": 195,+ "id": 197,"name": "RealtimeClient"}},{- "id": 94,+ "id": 96,"name": "state","kind": 1024,"kindString": "Property",@@ -2916,7 +2916,7 @@"defaultValue": "CHANNEL_STATES.closed"},{- "id": 93,+ "id": 95,"name": "timeout","kind": 1024,"kindString": "Property",@@ -2936,7 +2936,7 @@}},{- "id": 100,+ "id": 102,"name": "topic","kind": 1024,"kindString": "Property",@@ -2958,7 +2958,7 @@}},{- "id": 125,+ "id": 127,"name": "canPush","kind": 2048,"kindString": "Method",@@ -2967,7 +2967,7 @@},"signatures": [{- "id": 126,+ "id": 128,"name": "canPush","kind": 4096,"kindString": "Call signature",@@ -2989,7 +2989,7 @@]},{- "id": 159,+ "id": 161,"name": "isClosed","kind": 2048,"kindString": "Method",@@ -2998,7 +2998,7 @@},"signatures": [{- "id": 160,+ "id": 162,"name": "isClosed","kind": 4096,"kindString": "Call signature",@@ -3014,13 +3014,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 198,+ "line": 201,"character": 10}]},{- "id": 161,+ "id": 163,"name": "isErrored","kind": 2048,"kindString": "Method",@@ -3029,7 +3029,7 @@},"signatures": [{- "id": 162,+ "id": 164,"name": "isErrored","kind": 4096,"kindString": "Call signature",@@ -3045,13 +3045,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 201,+ "line": 204,"character": 11}]},{- "id": 163,+ "id": 165,"name": "isJoined","kind": 2048,"kindString": "Method",@@ -3060,7 +3060,7 @@},"signatures": [{- "id": 164,+ "id": 166,"name": "isJoined","kind": 4096,"kindString": "Call signature",@@ -3076,13 +3076,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 204,+ "line": 207,"character": 10}]},{- "id": 165,+ "id": 167,"name": "isJoining","kind": 2048,"kindString": "Method",@@ -3091,7 +3091,7 @@},"signatures": [{- "id": 166,+ "id": 168,"name": "isJoining","kind": 4096,"kindString": "Call signature",@@ -3107,13 +3107,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 207,+ "line": 210,"character": 11}]},{- "id": 167,+ "id": 169,"name": "isLeaving","kind": 2048,"kindString": "Method",@@ -3122,7 +3122,7 @@},"signatures": [{- "id": 168,+ "id": 170,"name": "isLeaving","kind": 4096,"kindString": "Call signature",@@ -3138,13 +3138,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 210,+ "line": 213,"character": 11}]},{- "id": 140,+ "id": 142,"name": "isMember","kind": 2048,"kindString": "Method",@@ -3153,7 +3153,7 @@},"signatures": [{- "id": 141,+ "id": 143,"name": "isMember","kind": 4096,"kindString": "Call signature",@@ -3162,7 +3162,7 @@},"parameters": [{- "id": 142,+ "id": 144,"name": "topic","kind": 32768,"kindString": "Parameter",@@ -3184,13 +3184,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 151,+ "line": 154,"character": 10}]},{- "id": 143,+ "id": 145,"name": "joinRef","kind": 2048,"kindString": "Method",@@ -3199,7 +3199,7 @@},"signatures": [{- "id": 144,+ "id": 146,"name": "joinRef","kind": 4096,"kindString": "Call signature",@@ -3215,13 +3215,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 155,+ "line": 158,"character": 9}]},{- "id": 122,+ "id": 124,"name": "off","kind": 2048,"kindString": "Method",@@ -3230,7 +3230,7 @@},"signatures": [{- "id": 123,+ "id": 125,"name": "off","kind": 4096,"kindString": "Call signature",@@ -3239,7 +3239,7 @@},"parameters": [{- "id": 124,+ "id": 126,"name": "event","kind": 32768,"kindString": "Parameter",@@ -3267,7 +3267,7 @@]},{- "id": 118,+ "id": 120,"name": "on","kind": 2048,"kindString": "Method",@@ -3276,7 +3276,7 @@},"signatures": [{- "id": 119,+ "id": 121,"name": "on","kind": 4096,"kindString": "Call signature",@@ -3285,7 +3285,7 @@},"parameters": [{- "id": 120,+ "id": 122,"name": "event","kind": 32768,"kindString": "Parameter",@@ -3298,7 +3298,7 @@}},{- "id": 121,+ "id": 123,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -3326,7 +3326,7 @@]},{- "id": 112,+ "id": 114,"name": "onClose","kind": 2048,"kindString": "Method",@@ -3335,7 +3335,7 @@},"signatures": [{- "id": 113,+ "id": 115,"name": "onClose","kind": 4096,"kindString": "Call signature",@@ -3344,7 +3344,7 @@},"parameters": [{- "id": 114,+ "id": 116,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -3372,7 +3372,7 @@]},{- "id": 115,+ "id": 117,"name": "onError","kind": 2048,"kindString": "Method",@@ -3381,7 +3381,7 @@},"signatures": [{- "id": 116,+ "id": 118,"name": "onError","kind": 4096,"kindString": "Call signature",@@ -3390,7 +3390,7 @@},"parameters": [{- "id": 117,+ "id": 119,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -3418,7 +3418,7 @@]},{- "id": 135,+ "id": 137,"name": "onMessage","kind": 2048,"kindString": "Method",@@ -3427,7 +3427,7 @@},"signatures": [{- "id": 136,+ "id": 138,"name": "onMessage","kind": 4096,"kindString": "Call signature",@@ -3440,7 +3440,7 @@},"parameters": [{- "id": 137,+ "id": 139,"name": "event","kind": 32768,"kindString": "Parameter",@@ -3453,7 +3453,7 @@}},{- "id": 138,+ "id": 140,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -3466,7 +3466,7 @@}},{- "id": 139,+ "id": 141,"name": "ref","kind": 32768,"kindString": "Parameter",@@ -3498,13 +3498,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 147,+ "line": 150,"character": 11}]},{- "id": 127,+ "id": 129,"name": "push","kind": 2048,"kindString": "Method",@@ -3513,7 +3513,7 @@},"signatures": [{- "id": 128,+ "id": 130,"name": "push","kind": 4096,"kindString": "Call signature",@@ -3522,7 +3522,7 @@},"parameters": [{- "id": 129,+ "id": 131,"name": "event","kind": 32768,"kindString": "Parameter",@@ -3536,7 +3536,7 @@}},{- "id": 130,+ "id": 132,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -3549,7 +3549,7 @@}},{- "id": 131,+ "id": 133,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -3579,7 +3579,7 @@]},{- "id": 148,+ "id": 150,"name": "rejoin","kind": 2048,"kindString": "Method",@@ -3588,7 +3588,7 @@},"signatures": [{- "id": 149,+ "id": 151,"name": "rejoin","kind": 4096,"kindString": "Call signature",@@ -3597,7 +3597,7 @@},"parameters": [{- "id": 150,+ "id": 152,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -3620,13 +3620,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 164,+ "line": 167,"character": 8}]},{- "id": 107,+ "id": 109,"name": "rejoinUntilConnected","kind": 2048,"kindString": "Method",@@ -3635,7 +3635,7 @@},"signatures": [{- "id": 108,+ "id": 110,"name": "rejoinUntilConnected","kind": 4096,"kindString": "Call signature",@@ -3657,7 +3657,7 @@]},{- "id": 156,+ "id": 158,"name": "replyEventName","kind": 2048,"kindString": "Method",@@ -3666,7 +3666,7 @@},"signatures": [{- "id": 157,+ "id": 159,"name": "replyEventName","kind": 4096,"kindString": "Call signature",@@ -3675,7 +3675,7 @@},"parameters": [{- "id": 158,+ "id": 160,"name": "ref","kind": 32768,"kindString": "Parameter",@@ -3697,13 +3697,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 194,+ "line": 197,"character": 16}]},{- "id": 145,+ "id": 147,"name": "sendJoin","kind": 2048,"kindString": "Method",@@ -3712,7 +3712,7 @@},"signatures": [{- "id": 146,+ "id": 148,"name": "sendJoin","kind": 4096,"kindString": "Call signature",@@ -3721,7 +3721,7 @@},"parameters": [{- "id": 147,+ "id": 149,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -3743,13 +3743,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 159,+ "line": 162,"character": 10}]},{- "id": 109,+ "id": 111,"name": "subscribe","kind": 2048,"kindString": "Method",@@ -3758,7 +3758,7 @@},"signatures": [{- "id": 110,+ "id": 112,"name": "subscribe","kind": 4096,"kindString": "Call signature",@@ -3767,7 +3767,7 @@},"parameters": [{- "id": 111,+ "id": 113,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -3797,7 +3797,7 @@]},{- "id": 151,+ "id": 153,"name": "trigger","kind": 2048,"kindString": "Method",@@ -3806,7 +3806,7 @@},"signatures": [{- "id": 152,+ "id": 154,"name": "trigger","kind": 4096,"kindString": "Call signature",@@ -3815,7 +3815,7 @@},"parameters": [{- "id": 153,+ "id": 155,"name": "event","kind": 32768,"kindString": "Parameter",@@ -3828,7 +3828,7 @@}},{- "id": 154,+ "id": 156,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -3842,7 +3842,7 @@}},{- "id": 155,+ "id": 157,"name": "ref","kind": 32768,"kindString": "Parameter",@@ -3874,13 +3874,13 @@"sources": [{"fileName": "RealtimeSubscription.ts",- "line": 171,+ "line": 174,"character": 9}]},{- "id": 132,+ "id": 134,"name": "unsubscribe","kind": 2048,"kindString": "Method",@@ -3889,7 +3889,7 @@},"signatures": [{- "id": 133,+ "id": 135,"name": "unsubscribe","kind": 4096,"kindString": "Call signature",@@ -3902,7 +3902,7 @@},"parameters": [{- "id": 134,+ "id": 136,"name": "timeout","kind": 32768,"kindString": "Parameter",@@ -3937,50 +3937,50 @@"title": "Constructors","kind": 512,"children": [- 99+ 101]},{"title": "Properties","kind": 1024,"children": [- 92,- 96,- 95,- 101,+ 94,98,97,- 102,- 94,- 93,- 100+ 103,+ 100,+ 99,+ 104,+ 96,+ 95,+ 102]},{"title": "Methods","kind": 2048,"children": [- 125,- 159,+ 127,161,163,165,167,- 140,- 143,- 122,- 118,- 112,- 115,- 135,- 127,- 148,- 107,- 156,+ 169,+ 142,145,+ 124,+ 120,+ 114,+ 117,+ 137,+ 129,+ 150,109,- 151,- 132+ 158,+ 147,+ 111,+ 153,+ 134]}],@@ -3998,7 +3998,7 @@"title": "Classes","kind": 128,"children": [- 91+ 93]}],@@ -4011,7 +4011,7 @@]},{- "id": 413,+ "id": 415,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -4563,7 +4563,7 @@},"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}},@@ -4655,7 +4655,7 @@],"type": {"type": "reference",- "id": 91,+ "id": 93,"name": "RealtimeSubscription"}},@@ -5025,7 +5025,7 @@"defaultValue": "undefined"},{- "id": 77,+ "id": 79,"name": "_cancelRefEvent","kind": 2048,"kindString": "Method",@@ -5035,7 +5035,7 @@},"signatures": [{- "id": 78,+ "id": 80,"name": "_cancelRefEvent","kind": 4096,"kindString": "Call signature",@@ -5051,13 +5051,13 @@"sources": [{"fileName": "lib/push.ts",- "line": 89,+ "line": 94,"character": 25}]},{- "id": 79,+ "id": 81,"name": "_cancelTimeout","kind": 2048,"kindString": "Method",@@ -5067,7 +5067,7 @@},"signatures": [{- "id": 80,+ "id": 82,"name": "_cancelTimeout","kind": 4096,"kindString": "Call signature",@@ -5083,13 +5083,13 @@"sources": [{"fileName": "lib/push.ts",- "line": 96,+ "line": 101,"character": 24}]},{- "id": 87,+ "id": 89,"name": "_hasReceived","kind": 2048,"kindString": "Method",@@ -5099,7 +5099,7 @@},"signatures": [{- "id": 88,+ "id": 90,"name": "_hasReceived","kind": 4096,"kindString": "Call signature",@@ -5108,7 +5108,7 @@},"parameters": [{- "id": 89,+ "id": 91,"name": "status","kind": 32768,"kindString": "Parameter",@@ -5143,13 +5143,13 @@"sources": [{"fileName": "lib/push.ts",- "line": 113,+ "line": 118,"character": 22}]},{- "id": 81,+ "id": 83,"name": "_matchReceive","kind": 2048,"kindString": "Method",@@ -5159,7 +5159,7 @@},"signatures": [{- "id": 82,+ "id": 84,"name": "_matchReceive","kind": 4096,"kindString": "Call signature",@@ -5168,7 +5168,7 @@},"parameters": [{- "id": 83,+ "id": 85,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -5179,7 +5179,7 @@"type": {"type": "reflection","declaration": {- "id": 84,+ "id": 86,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5188,7 +5188,7 @@},"children": [{- "id": 86,+ "id": 88,"name": "response","kind": 32,"kindString": "Variable",@@ -5198,7 +5198,7 @@"sources": [{"fileName": "lib/push.ts",- "line": 103,+ "line": 108,"character": 12}],@@ -5208,7 +5208,7 @@}},{- "id": 85,+ "id": 87,"name": "status","kind": 32,"kindString": "Variable",@@ -5218,7 +5218,7 @@"sources": [{"fileName": "lib/push.ts",- "line": 102,+ "line": 107,"character": 10}],@@ -5233,15 +5233,15 @@"title": "Variables","kind": 32,"children": [- 86,- 85+ 88,+ 87]}],"sources": [{"fileName": "lib/push.ts",- "line": 101,+ "line": 106,"character": 24}]@@ -5258,11 +5258,42 @@"sources": [{"fileName": "lib/push.ts",- "line": 101,+ "line": 106,"character": 23}]},+ {+ "id": 77,+ "name": "destroy",+ "kind": 2048,+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 78,+ "name": "destroy",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "type": {+ "type": "intrinsic",+ "name": "void"+ }+ }+ ],+ "sources": [+ {+ "fileName": "lib/push.ts",+ "line": 89,+ "character": 9+ }+ ]+ },{"id": 67,"name": "receive",@@ -5518,10 +5549,11 @@"title": "Methods","kind": 2048,"children": [- 77,79,- 87,81,+ 89,+ 83,+ 77,67,62,65,@@ -5557,7 +5589,7 @@]},{- "id": 169,+ "id": 171,"name": "\"lib/serializer\"","kind": 1,"kindString": "Module",@@ -5567,7 +5599,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts","children": [{- "id": 170,+ "id": 172,"name": "Serializer","kind": 128,"kindString": "Class",@@ -5576,7 +5608,7 @@},"children": [{- "id": 171,+ "id": 173,"name": "HEADER_LENGTH","kind": 1024,"kindString": "Property",@@ -5597,7 +5629,7 @@"defaultValue": "1"},{- "id": 176,+ "id": 178,"name": "_binaryDecode","kind": 2048,"kindString": "Method",@@ -5607,7 +5639,7 @@},"signatures": [{- "id": 177,+ "id": 179,"name": "_binaryDecode","kind": 4096,"kindString": "Call signature",@@ -5616,7 +5648,7 @@},"parameters": [{- "id": 178,+ "id": 180,"name": "buffer","kind": 32768,"kindString": "Parameter",@@ -5632,7 +5664,7 @@"type": {"type": "reflection","declaration": {- "id": 179,+ "id": 181,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5641,7 +5673,7 @@},"children": [{- "id": 182,+ "id": 184,"name": "event","kind": 32,"kindString": "Variable",@@ -5661,7 +5693,7 @@}},{- "id": 183,+ "id": 185,"name": "payload","kind": 32,"kindString": "Variable",@@ -5681,7 +5713,7 @@}},{- "id": 180,+ "id": 182,"name": "ref","kind": 32,"kindString": "Variable",@@ -5701,7 +5733,7 @@}},{- "id": 181,+ "id": 183,"name": "topic","kind": 32,"kindString": "Variable",@@ -5726,10 +5758,10 @@"title": "Variables","kind": 32,"children": [+ 184,+ 185,182,- 183,- 180,- 181+ 183]}]@@ -5746,7 +5778,7 @@]},{- "id": 184,+ "id": 186,"name": "_decodeBroadcast","kind": 2048,"kindString": "Method",@@ -5756,7 +5788,7 @@},"signatures": [{- "id": 185,+ "id": 187,"name": "_decodeBroadcast","kind": 4096,"kindString": "Call signature",@@ -5765,7 +5797,7 @@},"parameters": [{- "id": 186,+ "id": 188,"name": "buffer","kind": 32768,"kindString": "Parameter",@@ -5778,7 +5810,7 @@}},{- "id": 187,+ "id": 189,"name": "view","kind": 32768,"kindString": "Parameter",@@ -5791,7 +5823,7 @@}},{- "id": 188,+ "id": 190,"name": "decoder","kind": 32768,"kindString": "Parameter",@@ -5807,7 +5839,7 @@"type": {"type": "reflection","declaration": {- "id": 189,+ "id": 191,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5816,7 +5848,7 @@},"children": [{- "id": 192,+ "id": 194,"name": "event","kind": 32,"kindString": "Variable",@@ -5836,7 +5868,7 @@}},{- "id": 193,+ "id": 195,"name": "payload","kind": 32,"kindString": "Variable",@@ -5856,7 +5888,7 @@}},{- "id": 190,+ "id": 192,"name": "ref","kind": 32,"kindString": "Variable",@@ -5876,7 +5908,7 @@}},{- "id": 191,+ "id": 193,"name": "topic","kind": 32,"kindString": "Variable",@@ -5901,10 +5933,10 @@"title": "Variables","kind": 32,"children": [+ 194,+ 195,192,- 193,- 190,- 191+ 193]}],@@ -5928,7 +5960,7 @@]},{- "id": 172,+ "id": 174,"name": "decode","kind": 2048,"kindString": "Method",@@ -5937,7 +5969,7 @@},"signatures": [{- "id": 173,+ "id": 175,"name": "decode","kind": 4096,"kindString": "Call signature",@@ -5946,7 +5978,7 @@},"parameters": [{- "id": 174,+ "id": 176,"name": "rawPayload","kind": 32768,"kindString": "Parameter",@@ -5968,7 +6000,7 @@}},{- "id": 175,+ "id": 177,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -6001,16 +6033,16 @@"title": "Properties","kind": 1024,"children": [- 171+ 173]},{"title": "Methods","kind": 2048,"children": [- 176,- 184,- 172+ 178,+ 186,+ 174]}],@@ -6028,7 +6060,7 @@"title": "Classes","kind": 128,"children": [- 170+ 172]}],@@ -6340,7 +6372,7 @@]},{- "id": 327,+ "id": 329,"name": "\"lib/transformers\"","kind": 1,"kindString": "Module",@@ -6350,7 +6382,7 @@"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts","children": [{- "id": 328,+ "id": 330,"name": "PostgresTypes","kind": 4,"kindString": "Enumeration",@@ -6362,7 +6394,7 @@},"children": [{- "id": 329,+ "id": 331,"name": "abstime","kind": 16,"kindString": "Enumeration member",@@ -6379,7 +6411,7 @@"defaultValue": "\"abstime\""},{- "id": 330,+ "id": 332,"name": "bool","kind": 16,"kindString": "Enumeration member",@@ -6396,7 +6428,7 @@"defaultValue": "\"bool\""},{- "id": 331,+ "id": 333,"name": "date","kind": 16,"kindString": "Enumeration member",@@ -6413,7 +6445,7 @@"defaultValue": "\"date\""},{- "id": 332,+ "id": 334,"name": "daterange","kind": 16,"kindString": "Enumeration member",@@ -6430,7 +6462,7 @@"defaultValue": "\"daterange\""},{- "id": 333,+ "id": 335,"name": "float4","kind": 16,"kindString": "Enumeration member",@@ -6447,7 +6479,7 @@"defaultValue": "\"float4\""},{- "id": 334,+ "id": 336,"name": "float8","kind": 16,"kindString": "Enumeration member",@@ -6464,7 +6496,7 @@"defaultValue": "\"float8\""},{- "id": 335,+ "id": 337,"name": "int2","kind": 16,"kindString": "Enumeration member",@@ -6481,7 +6513,7 @@"defaultValue": "\"int2\""},{- "id": 336,+ "id": 338,"name": "int4","kind": 16,"kindString": "Enumeration member",@@ -6498,7 +6530,7 @@"defaultValue": "\"int4\""},{- "id": 337,+ "id": 339,"name": "int4range","kind": 16,"kindString": "Enumeration member",@@ -6515,7 +6547,7 @@"defaultValue": "\"int4range\""},{- "id": 338,+ "id": 340,"name": "int8","kind": 16,"kindString": "Enumeration member",@@ -6532,7 +6564,7 @@"defaultValue": "\"int8\""},{- "id": 339,+ "id": 341,"name": "int8range","kind": 16,"kindString": "Enumeration member",@@ -6549,7 +6581,7 @@"defaultValue": "\"int8range\""},{- "id": 340,+ "id": 342,"name": "json","kind": 16,"kindString": "Enumeration member",@@ -6566,7 +6598,7 @@"defaultValue": "\"json\""},{- "id": 341,+ "id": 343,"name": "jsonb","kind": 16,"kindString": "Enumeration member",@@ -6583,7 +6615,7 @@"defaultValue": "\"jsonb\""},{- "id": 342,+ "id": 344,"name": "money","kind": 16,"kindString": "Enumeration member",@@ -6600,7 +6632,7 @@"defaultValue": "\"money\""},{- "id": 343,+ "id": 345,"name": "numeric","kind": 16,"kindString": "Enumeration member",@@ -6617,7 +6649,7 @@"defaultValue": "\"numeric\""},{- "id": 344,+ "id": 346,"name": "oid","kind": 16,"kindString": "Enumeration member",@@ -6634,7 +6666,7 @@"defaultValue": "\"oid\""},{- "id": 345,+ "id": 347,"name": "reltime","kind": 16,"kindString": "Enumeration member",@@ -6651,7 +6683,7 @@"defaultValue": "\"reltime\""},{- "id": 346,+ "id": 348,"name": "time","kind": 16,"kindString": "Enumeration member",@@ -6668,7 +6700,7 @@"defaultValue": "\"time\""},{- "id": 347,+ "id": 349,"name": "timestamp","kind": 16,"kindString": "Enumeration member",@@ -6685,7 +6717,7 @@"defaultValue": "\"timestamp\""},{- "id": 348,+ "id": 350,"name": "timestamptz","kind": 16,"kindString": "Enumeration member",@@ -6702,7 +6734,7 @@"defaultValue": "\"timestamptz\""},{- "id": 349,+ "id": 351,"name": "timetz","kind": 16,"kindString": "Enumeration member",@@ -6719,7 +6751,7 @@"defaultValue": "\"timetz\""},{- "id": 350,+ "id": 352,"name": "tsrange","kind": 16,"kindString": "Enumeration member",@@ -6736,7 +6768,7 @@"defaultValue": "\"tsrange\""},{- "id": 351,+ "id": 353,"name": "tstzrange","kind": 16,"kindString": "Enumeration member",@@ -6758,8 +6790,6 @@"title": "Enumeration members","kind": 16,"children": [- 329,- 330,331,332,333,@@ -6780,7 +6810,9 @@348,349,350,- 351+ 351,+ 352,+ 353]}],@@ -6793,7 +6825,7 @@]},{- "id": 352,+ "id": 354,"name": "Column","kind": 4194304,"kindString": "Type alias",@@ -6808,14 +6840,14 @@"type": {"type": "reflection","declaration": {- "id": 353,+ "id": 355,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"children": [{- "id": 354,+ "id": 356,"name": "flags","kind": 32,"kindString": "Variable",@@ -6836,7 +6868,7 @@}},{- "id": 355,+ "id": 357,"name": "name","kind": 32,"kindString": "Variable",@@ -6854,7 +6886,7 @@}},{- "id": 356,+ "id": 358,"name": "type","kind": 32,"kindString": "Variable",@@ -6872,7 +6904,7 @@}},{- "id": 357,+ "id": 359,"name": "type_modifier","kind": 32,"kindString": "Variable",@@ -6895,10 +6927,10 @@"title": "Variables","kind": 32,"children": [- 354,- 355,356,- 357+ 357,+ 358,+ 359]}],@@ -6913,7 +6945,7 @@}},{- "id": 358,+ "id": 360,"name": "Records","kind": 4194304,"kindString": "Type alias",@@ -6928,21 +6960,21 @@"type": {"type": "reflection","declaration": {- "id": 359,+ "id": 361,"name": "__type","kind": 65536,"kindString": "Type literal","flags": {},"indexSignature": [{- "id": 360,+ "id": 362,"name": "__index","kind": 8192,"kindString": "Index signature","flags": {},"parameters": [{- "id": 361,+ "id": 363,"name": "key","kind": 32768,"kindString": "Parameter",@@ -6970,7 +7002,7 @@}},{- "id": 378,+ "id": 380,"name": "convertCell","kind": 64,"kindString": "Function",@@ -6983,7 +7015,7 @@"tags": [{"tag": "example",- "text": "convertCell('bool', 'true')\n//=> true"+ "text": "convertCell('bool', 't')\n//=> true"},{"tag": "example",@@ -6997,7 +7029,7 @@},"signatures": [{- "id": 379,+ "id": 381,"name": "convertCell","kind": 4096,"kindString": "Call signature",@@ -7009,7 +7041,7 @@"tags": [{"tag": "example",- "text": "convertCell('bool', 'true')\n//=> true"+ "text": "convertCell('bool', 't')\n//=> true"},{"tag": "example",@@ -7023,7 +7055,7 @@},"parameters": [{- "id": 380,+ "id": 382,"name": "type","kind": 32768,"kindString": "Parameter",@@ -7039,7 +7071,7 @@}},{- "id": 381,+ "id": 383,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7070,7 +7102,7 @@]},{- "id": 362,+ "id": 364,"name": "convertChangeData","kind": 64,"kindString": "Function",@@ -7089,7 +7121,7 @@},"signatures": [{- "id": 363,+ "id": 365,"name": "convertChangeData","kind": 4096,"kindString": "Call signature",@@ -7107,7 +7139,7 @@},"parameters": [{- "id": 364,+ "id": 366,"name": "columns","kind": 32768,"kindString": "Parameter",@@ -7118,13 +7150,13 @@"type": "array","elementType": {"type": "reference",- "id": 352,+ "id": 354,"name": "Column"}}},{- "id": 365,+ "id": 367,"name": "records","kind": 32768,"kindString": "Parameter",@@ -7134,12 +7166,12 @@"comment": {},"type": {"type": "reference",- "id": 358,+ "id": 360,"name": "Records"}},{- "id": 366,+ "id": 368,"name": "options","kind": 32768,"kindString": "Parameter",@@ -7152,7 +7184,7 @@"type": {"type": "reflection","declaration": {- "id": 367,+ "id": 369,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7161,7 +7193,7 @@},"children": [{- "id": 368,+ "id": 370,"name": "skipTypes","kind": 32,"kindString": "Variable",@@ -7190,7 +7222,7 @@"title": "Variables","kind": 32,"children": [- 368+ 370]}],@@ -7209,7 +7241,7 @@"type": {"type": "reflection","declaration": {- "id": 369,+ "id": 371,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -7218,7 +7250,7 @@},"indexSignature": [{- "id": 370,+ "id": 372,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -7227,7 +7259,7 @@},"parameters": [{- "id": 371,+ "id": 373,"name": "key","kind": 32768,"kindString": "Parameter",@@ -7259,7 +7291,7 @@]},{- "id": 372,+ "id": 374,"name": "convertColumn","kind": 64,"kindString": "Function",@@ -7273,17 +7305,17 @@"tags": [{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], [])\n//=> 33"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"},{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"}]},"signatures": [{- "id": 373,+ "id": 375,"name": "convertColumn","kind": 4096,"kindString": "Call signature",@@ -7296,17 +7328,17 @@"tags": [{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], [])\n//=> 33"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33"},{"tag": "example",- "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n"}]},"parameters": [{- "id": 374,+ "id": 376,"name": "columnName","kind": 32768,"kindString": "Parameter",@@ -7322,7 +7354,7 @@}},{- "id": 375,+ "id": 377,"name": "columns","kind": 32768,"kindString": "Parameter",@@ -7333,13 +7365,13 @@"type": "array","elementType": {"type": "reference",- "id": 352,+ "id": 354,"name": "Column"}}},{- "id": 376,+ "id": 378,"name": "records","kind": 32768,"kindString": "Parameter",@@ -7351,12 +7383,12 @@},"type": {"type": "reference",- "id": 358,+ "id": 360,"name": "Records"}},{- "id": 377,+ "id": 379,"name": "skipTypes","kind": 32768,"kindString": "Parameter",@@ -7390,7 +7422,7 @@]},{- "id": 382,+ "id": 384,"name": "noop","kind": 64,"kindString": "Function",@@ -7399,14 +7431,14 @@},"signatures": [{- "id": 383,+ "id": 385,"name": "noop","kind": 4096,"kindString": "Call signature","flags": {},"parameters": [{- "id": 384,+ "id": 386,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7432,7 +7464,7 @@]},{- "id": 406,+ "id": 408,"name": "toArray","kind": 64,"kindString": "Function",@@ -7455,7 +7487,7 @@},"signatures": [{- "id": 407,+ "id": 409,"name": "toArray","kind": 4096,"kindString": "Call signature",@@ -7477,7 +7509,7 @@},"parameters": [{- "id": 408,+ "id": 410,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7490,7 +7522,7 @@}},{- "id": 409,+ "id": 411,"name": "type","kind": 32768,"kindString": "Parameter",@@ -7521,7 +7553,7 @@]},{- "id": 385,+ "id": 387,"name": "toBoolean","kind": 64,"kindString": "Function",@@ -7531,7 +7563,7 @@},"signatures": [{- "id": 386,+ "id": 388,"name": "toBoolean","kind": 4096,"kindString": "Call signature",@@ -7540,7 +7572,7 @@},"parameters": [{- "id": 387,+ "id": 389,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7581,7 +7613,7 @@]},{- "id": 388,+ "id": 390,"name": "toDate","kind": 64,"kindString": "Function",@@ -7591,7 +7623,7 @@},"signatures": [{- "id": 389,+ "id": 391,"name": "toDate","kind": 4096,"kindString": "Call signature",@@ -7600,7 +7632,7 @@},"parameters": [{- "id": 390,+ "id": 392,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7628,7 +7660,7 @@]},{- "id": 391,+ "id": 393,"name": "toDateRange","kind": 64,"kindString": "Function",@@ -7638,7 +7670,7 @@},"signatures": [{- "id": 392,+ "id": 394,"name": "toDateRange","kind": 4096,"kindString": "Call signature",@@ -7647,7 +7679,7 @@},"parameters": [{- "id": 393,+ "id": 395,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7678,7 +7710,7 @@]},{- "id": 394,+ "id": 396,"name": "toFloat","kind": 64,"kindString": "Function",@@ -7688,7 +7720,7 @@},"signatures": [{- "id": 395,+ "id": 397,"name": "toFloat","kind": 4096,"kindString": "Call signature",@@ -7697,7 +7729,7 @@},"parameters": [{- "id": 396,+ "id": 398,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7725,7 +7757,7 @@]},{- "id": 397,+ "id": 399,"name": "toInt","kind": 64,"kindString": "Function",@@ -7735,7 +7767,7 @@},"signatures": [{- "id": 398,+ "id": 400,"name": "toInt","kind": 4096,"kindString": "Call signature",@@ -7744,7 +7776,7 @@},"parameters": [{- "id": 399,+ "id": 401,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7772,7 +7804,7 @@]},{- "id": 400,+ "id": 402,"name": "toIntRange","kind": 64,"kindString": "Function",@@ -7782,7 +7814,7 @@},"signatures": [{- "id": 401,+ "id": 403,"name": "toIntRange","kind": 4096,"kindString": "Call signature",@@ -7791,7 +7823,7 @@},"parameters": [{- "id": 402,+ "id": 404,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7822,7 +7854,7 @@]},{- "id": 403,+ "id": 405,"name": "toJson","kind": 64,"kindString": "Function",@@ -7832,7 +7864,7 @@},"signatures": [{- "id": 404,+ "id": 406,"name": "toJson","kind": 4096,"kindString": "Call signature",@@ -7841,7 +7873,7 @@},"parameters": [{- "id": 405,+ "id": 407,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7869,7 +7901,7 @@]},{- "id": 410,+ "id": 412,"name": "toTimestampString","kind": 64,"kindString": "Function",@@ -7888,7 +7920,7 @@},"signatures": [{- "id": 411,+ "id": 413,"name": "toTimestampString","kind": 4096,"kindString": "Call signature",@@ -7906,7 +7938,7 @@},"parameters": [{- "id": 412,+ "id": 414,"name": "stringValue","kind": 32768,"kindString": "Parameter",@@ -7939,34 +7971,34 @@"title": "Enumerations","kind": 4,"children": [- 328+ 330]},{"title": "Type aliases","kind": 4194304,"children": [- 352,- 358+ 354,+ 360]},{"title": "Functions","kind": 64,"children": [- 378,- 362,- 372,- 382,- 406,- 385,- 388,- 391,- 394,- 397,- 400,- 403,- 410+ 380,+ 364,+ 374,+ 384,+ 408,+ 387,+ 390,+ 393,+ 396,+ 399,+ 402,+ 405,+ 412]}],@@ -7984,14 +8016,14 @@"title": "Modules","kind": 1,"children": [- 194,- 90,- 413,+ 196,+ 92,+ 415,1,38,- 169,+ 171,24,- 327+ 329]}]diff --git a/web/spec/supabase.json b/web/spec/supabase.jsonindex 13acb57dfd6..7cd40b7b0c9 100644--- a/web/spec/supabase.json+++ b/web/spec/supabase.json@@ -6,7 +6,7 @@"originalName": "","children": [{- "id": 248,+ "id": 264,"name": "\"SupabaseClient\"","kind": 1,"kindString": "Module",@@ -16,7 +16,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts","children": [{- "id": 249,+ "id": 265,"name": "SupabaseClient","kind": 128,"kindString": "Class",@@ -29,7 +29,7 @@},"children": [{- "id": 257,+ "id": 273,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -41,7 +41,7 @@},"signatures": [{- "id": 260,+ "id": 276,"name": "new SupabaseClient","kind": 16384,"kindString": "Constructor signature",@@ -53,7 +53,7 @@},"parameters": [{- "id": 261,+ "id": 277,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -69,7 +69,7 @@}},{- "id": 262,+ "id": 278,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -85,7 +85,7 @@}},{- "id": 263,+ "id": 279,"name": "options","kind": 32768,"kindString": "Parameter",@@ -102,7 +102,7 @@],"type": {"type": "reference",- "id": 249,+ "id": 265,"name": "SupabaseClient"}}@@ -116,7 +116,7 @@]},{- "id": 250,+ "id": 266,"name": "auth","kind": 1024,"kindString": "Property",@@ -140,7 +140,7 @@}},{- "id": 254,+ "id": 270,"name": "authUrl","kind": 1024,"kindString": "Property",@@ -161,7 +161,7 @@}},{- "id": 256,+ "id": 272,"name": "realtime","kind": 1024,"kindString": "Property",@@ -182,7 +182,7 @@}},{- "id": 253,+ "id": 269,"name": "realtimeUrl","kind": 1024,"kindString": "Property",@@ -203,7 +203,7 @@}},{- "id": 252,+ "id": 268,"name": "restUrl","kind": 1024,"kindString": "Property",@@ -224,7 +224,7 @@}},{- "id": 251,+ "id": 267,"name": "schema","kind": 1024,"kindString": "Property",@@ -245,7 +245,7 @@}},{- "id": 255,+ "id": 271,"name": "storageUrl","kind": 1024,"kindString": "Property",@@ -266,7 +266,7 @@}},{- "id": 259,+ "id": 275,"name": "supabaseKey","kind": 1024,"kindString": "Property",@@ -291,7 +291,7 @@}},{- "id": 258,+ "id": 274,"name": "supabaseUrl","kind": 1024,"kindString": "Property",@@ -316,7 +316,7 @@}},{- "id": 264,+ "id": 280,"name": "storage","kind": 262144,"kindString": "Accessor",@@ -328,7 +328,7 @@},"getSignature": [{- "id": 265,+ "id": 281,"name": "__get","kind": 524288,"kindString": "Get signature",@@ -353,7 +353,7 @@]},{- "id": 301,+ "id": 317,"name": "_closeChannel","kind": 2048,"kindString": "Method",@@ -363,7 +363,7 @@},"signatures": [{- "id": 302,+ "id": 318,"name": "_closeChannel","kind": 4096,"kindString": "Call signature",@@ -372,7 +372,7 @@},"parameters": [{- "id": 303,+ "id": 319,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -406,7 +406,7 @@]},{- "id": 278,+ "id": 294,"name": "_closeSubscription","kind": 2048,"kindString": "Method",@@ -416,7 +416,7 @@},"signatures": [{- "id": 279,+ "id": 295,"name": "_closeSubscription","kind": 4096,"kindString": "Call signature",@@ -425,7 +425,7 @@},"parameters": [{- "id": 280,+ "id": 296,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -459,7 +459,7 @@]},{- "id": 296,+ "id": 312,"name": "_getAuthHeaders","kind": 2048,"kindString": "Method",@@ -469,7 +469,7 @@},"signatures": [{- "id": 297,+ "id": 313,"name": "_getAuthHeaders","kind": 4096,"kindString": "Call signature",@@ -479,7 +479,7 @@"type": {"type": "reflection","declaration": {- "id": 298,+ "id": 314,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -488,7 +488,7 @@},"indexSignature": [{- "id": 299,+ "id": 315,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -497,7 +497,7 @@},"parameters": [{- "id": 300,+ "id": 316,"name": "key","kind": 32768,"kindString": "Parameter",@@ -536,7 +536,7 @@]},{- "id": 294,+ "id": 310,"name": "_initPostgRESTClient","kind": 2048,"kindString": "Method",@@ -546,7 +546,7 @@},"signatures": [{- "id": 295,+ "id": 311,"name": "_initPostgRESTClient","kind": 4096,"kindString": "Call signature",@@ -568,7 +568,7 @@]},{- "id": 291,+ "id": 307,"name": "_initRealtimeClient","kind": 2048,"kindString": "Method",@@ -578,7 +578,7 @@},"signatures": [{- "id": 292,+ "id": 308,"name": "_initRealtimeClient","kind": 4096,"kindString": "Call signature",@@ -587,7 +587,7 @@},"parameters": [{- "id": 293,+ "id": 309,"name": "options","kind": 32768,"kindString": "Parameter",@@ -616,7 +616,7 @@]},{- "id": 283,+ "id": 299,"name": "_initSupabaseAuthClient","kind": 2048,"kindString": "Method",@@ -626,7 +626,7 @@},"signatures": [{- "id": 284,+ "id": 300,"name": "_initSupabaseAuthClient","kind": 4096,"kindString": "Call signature",@@ -635,7 +635,7 @@},"parameters": [{- "id": 285,+ "id": 301,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -646,7 +646,7 @@"type": {"type": "reflection","declaration": {- "id": 286,+ "id": 302,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -655,7 +655,7 @@},"children": [{- "id": 287,+ "id": 303,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -688,7 +688,7 @@}},{- "id": 289,+ "id": 305,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -721,7 +721,7 @@}},{- "id": 290,+ "id": 306,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -750,7 +750,7 @@}},{- "id": 288,+ "id": 304,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -788,10 +788,10 @@"title": "Variables","kind": 32,"children": [- 287,- 289,- 290,- 288+ 303,+ 305,+ 306,+ 304]}],@@ -822,7 +822,7 @@]},{- "id": 266,+ "id": 282,"name": "from","kind": 2048,"kindString": "Method",@@ -831,7 +831,7 @@},"signatures": [{- "id": 267,+ "id": 283,"name": "from","kind": 4096,"kindString": "Call signature",@@ -843,7 +843,7 @@},"typeParameter": [{- "id": 268,+ "id": 284,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -854,7 +854,7 @@],"parameters": [{- "id": 269,+ "id": 285,"name": "table","kind": 32768,"kindString": "Parameter",@@ -872,7 +872,7 @@],"type": {"type": "reference",- "id": 158,+ "id": 174,"typeArguments": [{"type": "typeParameter",@@ -896,7 +896,7 @@]},{- "id": 281,+ "id": 297,"name": "getSubscriptions","kind": 2048,"kindString": "Method",@@ -905,7 +905,7 @@},"signatures": [{- "id": 282,+ "id": 298,"name": "getSubscriptions","kind": 4096,"kindString": "Call signature",@@ -933,7 +933,7 @@]},{- "id": 275,+ "id": 291,"name": "removeSubscription","kind": 2048,"kindString": "Method",@@ -942,7 +942,7 @@},"signatures": [{- "id": 276,+ "id": 292,"name": "removeSubscription","kind": 4096,"kindString": "Call signature",@@ -954,7 +954,7 @@},"parameters": [{- "id": 277,+ "id": 293,"name": "subscription","kind": 32768,"kindString": "Parameter",@@ -991,7 +991,7 @@]},{- "id": 270,+ "id": 286,"name": "rpc","kind": 2048,"kindString": "Method",@@ -1000,7 +1000,7 @@},"signatures": [{- "id": 271,+ "id": 287,"name": "rpc","kind": 4096,"kindString": "Call signature",@@ -1012,7 +1012,7 @@},"typeParameter": [{- "id": 272,+ "id": 288,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -1023,7 +1023,7 @@],"parameters": [{- "id": 273,+ "id": 289,"name": "fn","kind": 32768,"kindString": "Parameter",@@ -1039,7 +1039,7 @@}},{- "id": 274,+ "id": 290,"name": "params","kind": 32768,"kindString": "Parameter",@@ -1091,45 +1091,45 @@"title": "Constructors","kind": 512,"children": [- 257+ 273]},{"title": "Properties","kind": 1024,"children": [- 250,- 254,- 256,- 253,- 252,- 251,- 255,- 259,- 258+ 266,+ 270,+ 272,+ 269,+ 268,+ 267,+ 271,+ 275,+ 274]},{"title": "Accessors","kind": 262144,"children": [- 264+ 280]},{"title": "Methods","kind": 2048,"children": [- 301,- 278,- 296,+ 317,294,+ 312,+ 310,+ 307,+ 299,+ 282,+ 297,291,- 283,- 266,- 281,- 275,- 270+ 286]}],@@ -1142,7 +1142,7 @@]},{- "id": 304,+ "id": 320,"name": "DEFAULT_OPTIONS","kind": 2097152,"kindString": "Object literal",@@ -1151,7 +1151,7 @@},"children": [{- "id": 306,+ "id": 322,"name": "autoRefreshToken","kind": 32,"kindString": "Variable",@@ -1170,7 +1170,7 @@"defaultValue": "true"},{- "id": 308,+ "id": 324,"name": "detectSessionInUrl","kind": 32,"kindString": "Variable",@@ -1189,7 +1189,7 @@"defaultValue": "true"},{- "id": 310,+ "id": 326,"name": "headers","kind": 32,"kindString": "Variable",@@ -1204,7 +1204,7 @@"type": {"type": "reflection","declaration": {- "id": 311,+ "id": 327,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -1214,7 +1214,7 @@"defaultValue": "DEFAULT_HEADERS"},{- "id": 309,+ "id": 325,"name": "localStorage","kind": 32,"kindString": "Variable",@@ -1233,7 +1233,7 @@"defaultValue": "globalThis.localStorage"},{- "id": 307,+ "id": 323,"name": "persistSession","kind": 32,"kindString": "Variable",@@ -1252,7 +1252,7 @@"defaultValue": "true"},{- "id": 305,+ "id": 321,"name": "schema","kind": 32,"kindString": "Variable",@@ -1276,12 +1276,12 @@"title": "Variables","kind": 32,"children": [- 306,- 308,- 310,- 309,- 307,- 305+ 322,+ 324,+ 326,+ 325,+ 323,+ 321]}],@@ -1303,14 +1303,14 @@"title": "Classes","kind": 128,"children": [- 249+ 265]},{"title": "Object literals","kind": 2097152,"children": [- 304+ 320]}],@@ -1323,7 +1323,7 @@]},{- "id": 312,+ "id": 328,"name": "\"index\"","kind": 1,"kindString": "Module",@@ -1333,7 +1333,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts","children": [{- "id": 313,+ "id": 329,"name": "createClient","kind": 64,"kindString": "Function",@@ -1346,7 +1346,7 @@},"signatures": [{- "id": 314,+ "id": 330,"name": "createClient","kind": 4096,"kindString": "Call signature",@@ -1358,7 +1358,7 @@},"parameters": [{- "id": 315,+ "id": 331,"name": "supabaseUrl","kind": 32768,"kindString": "Parameter",@@ -1371,7 +1371,7 @@}},{- "id": 316,+ "id": 332,"name": "supabaseKey","kind": 32768,"kindString": "Parameter",@@ -1384,7 +1384,7 @@}},{- "id": 317,+ "id": 333,"name": "options","kind": 32768,"kindString": "Parameter",@@ -1401,7 +1401,7 @@],"type": {"type": "reference",- "id": 249,+ "id": 265,"name": "SupabaseClient"}}@@ -1420,7 +1420,7 @@"title": "Functions","kind": 64,"children": [- 313+ 329]}],@@ -2013,7 +2013,7 @@}},{- "id": 109,+ "id": 125,"name": "getSessionFromUrl","kind": 2048,"kindString": "Method",@@ -2022,7 +2022,7 @@},"signatures": [{- "id": 110,+ "id": 126,"name": "getSessionFromUrl","kind": 4096,"kindString": "Call signature",@@ -2034,7 +2034,7 @@},"parameters": [{- "id": 111,+ "id": 127,"name": "options","kind": 32768,"kindString": "Parameter",@@ -2052,7 +2052,7 @@{"type": "reflection","declaration": {- "id": 112,+ "id": 128,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2061,7 +2061,7 @@},"children": [{- "id": 113,+ "id": 129,"name": "storeSession","kind": 32,"kindString": "Variable",@@ -2075,7 +2075,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 122,+ "line": 137,"character": 20}],@@ -2103,7 +2103,7 @@"title": "Variables","kind": 32,"children": [- 113+ 129]}]@@ -2119,7 +2119,7 @@{"type": "reflection","declaration": {- "id": 114,+ "id": 130,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2128,7 +2128,7 @@},"children": [{- "id": 115,+ "id": 131,"name": "data","kind": 32,"kindString": "Variable",@@ -2138,7 +2138,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 124,+ "line": 139,"character": 12}],@@ -2157,7 +2157,7 @@}},{- "id": 116,+ "id": 132,"name": "error","kind": 32,"kindString": "Variable",@@ -2167,7 +2167,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 125,+ "line": 140,"character": 13}],@@ -2191,15 +2191,15 @@"title": "Variables","kind": 32,"children": [- 115,- 116+ 131,+ 132]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 123,+ "line": 138,"character": 16}]@@ -2210,7 +2210,7 @@},"inheritedFrom": {"type": "reference",- "id": 109,+ "id": 125,"name": "GoTrueClient.getSessionFromUrl"}}@@ -2218,18 +2218,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 121,+ "line": 136,"character": 21}],"inheritedFrom": {"type": "reference",- "id": 109,+ "id": 125,"name": "GoTrueClient.getSessionFromUrl"}},{- "id": 121,+ "id": 137,"name": "onAuthStateChange","kind": 2048,"kindString": "Method",@@ -2238,7 +2238,7 @@},"signatures": [{- "id": 122,+ "id": 138,"name": "onAuthStateChange","kind": 4096,"kindString": "Call signature",@@ -2251,7 +2251,7 @@},"parameters": [{- "id": 123,+ "id": 139,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -2261,7 +2261,7 @@"type": {"type": "reflection","declaration": {- "id": 124,+ "id": 140,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2270,7 +2270,7 @@},"signatures": [{- "id": 125,+ "id": 141,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -2279,7 +2279,7 @@},"parameters": [{- "id": 126,+ "id": 142,"name": "event","kind": 32768,"kindString": "Parameter",@@ -2292,7 +2292,7 @@}},{- "id": 127,+ "id": 143,"name": "session","kind": 32768,"kindString": "Parameter",@@ -2323,7 +2323,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 140,+ "line": 155,"character": 31}]@@ -2334,7 +2334,7 @@"type": {"type": "reflection","declaration": {- "id": 128,+ "id": 144,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2343,7 +2343,7 @@},"children": [{- "id": 129,+ "id": 145,"name": "data","kind": 32,"kindString": "Variable",@@ -2353,7 +2353,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 141,+ "line": 156,"character": 12}],@@ -2372,7 +2372,7 @@}},{- "id": 130,+ "id": 146,"name": "error","kind": 32,"kindString": "Variable",@@ -2382,7 +2382,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 142,+ "line": 157,"character": 13}],@@ -2406,15 +2406,15 @@"title": "Variables","kind": 32,"children": [- 129,- 130+ 145,+ 146]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 140,+ "line": 155,"character": 91}]@@ -2422,7 +2422,7 @@},"inheritedFrom": {"type": "reference",- "id": 121,+ "id": 137,"name": "GoTrueClient.onAuthStateChange"}}@@ -2430,18 +2430,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 140,+ "line": 155,"character": 21}],"inheritedFrom": {"type": "reference",- "id": 121,+ "id": 137,"name": "GoTrueClient.onAuthStateChange"}},{- "id": 87,+ "id": 103,"name": "refreshSession","kind": 2048,"kindString": "Method",@@ -2450,7 +2450,7 @@},"signatures": [{- "id": 88,+ "id": 104,"name": "refreshSession","kind": 4096,"kindString": "Call signature",@@ -2466,7 +2466,7 @@{"type": "reflection","declaration": {- "id": 89,+ "id": 105,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2475,7 +2475,7 @@},"children": [{- "id": 90,+ "id": 106,"name": "data","kind": 32,"kindString": "Variable",@@ -2485,7 +2485,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 92,+ "line": 107,"character": 12}],@@ -2504,7 +2504,7 @@}},{- "id": 92,+ "id": 108,"name": "error","kind": 32,"kindString": "Variable",@@ -2514,7 +2514,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 94,+ "line": 109,"character": 13}],@@ -2533,7 +2533,7 @@}},{- "id": 91,+ "id": 107,"name": "user","kind": 32,"kindString": "Variable",@@ -2543,7 +2543,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 93,+ "line": 108,"character": 12}],@@ -2567,16 +2567,16 @@"title": "Variables","kind": 32,"children": [- 90,- 92,- 91+ 106,+ 108,+ 107]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 91,+ "line": 106,"character": 30}]@@ -2587,7 +2587,7 @@},"inheritedFrom": {"type": "reference",- "id": 87,+ "id": 103,"name": "GoTrueClient.refreshSession"}}@@ -2595,18 +2595,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 91,+ "line": 106,"character": 18}],"inheritedFrom": {"type": "reference",- "id": 87,+ "id": 103,"name": "GoTrueClient.refreshSession"}},{- "id": 85,+ "id": 101,"name": "session","kind": 2048,"kindString": "Method",@@ -2615,7 +2615,7 @@},"signatures": [{- "id": 86,+ "id": 102,"name": "session","kind": 4096,"kindString": "Call signature",@@ -2640,7 +2640,7 @@},"inheritedFrom": {"type": "reference",- "id": 85,+ "id": 101,"name": "GoTrueClient.session"}}@@ -2648,18 +2648,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 87,+ "line": 102,"character": 11}],"inheritedFrom": {"type": "reference",- "id": 85,+ "id": 101,"name": "GoTrueClient.session"}},{- "id": 106,+ "id": 122,"name": "setAuth","kind": 2048,"kindString": "Method",@@ -2668,7 +2668,7 @@},"signatures": [{- "id": 107,+ "id": 123,"name": "setAuth","kind": 4096,"kindString": "Call signature",@@ -2680,7 +2680,7 @@},"parameters": [{- "id": 108,+ "id": 124,"name": "access_token","kind": 32768,"kindString": "Parameter",@@ -2702,7 +2702,7 @@},"inheritedFrom": {"type": "reference",- "id": 106,+ "id": 122,"name": "GoTrueClient.setAuth"}}@@ -2710,18 +2710,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 116,+ "line": 131,"character": 11}],"inheritedFrom": {"type": "reference",- "id": 106,+ "id": 122,"name": "GoTrueClient.setAuth"}},{- "id": 100,+ "id": 116,"name": "setSession","kind": 2048,"kindString": "Method",@@ -2730,7 +2730,7 @@},"signatures": [{- "id": 101,+ "id": 117,"name": "setSession","kind": 4096,"kindString": "Call signature",@@ -2742,7 +2742,7 @@},"parameters": [{- "id": 102,+ "id": 118,"name": "refresh_token","kind": 32768,"kindString": "Parameter",@@ -2764,7 +2764,7 @@{"type": "reflection","declaration": {- "id": 103,+ "id": 119,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2773,7 +2773,7 @@},"children": [{- "id": 105,+ "id": 121,"name": "error","kind": 32,"kindString": "Variable",@@ -2783,7 +2783,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 110,+ "line": 125,"character": 13}],@@ -2802,7 +2802,7 @@}},{- "id": 104,+ "id": 120,"name": "session","kind": 32,"kindString": "Variable",@@ -2812,7 +2812,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 109,+ "line": 124,"character": 15}],@@ -2836,15 +2836,15 @@"title": "Variables","kind": 32,"children": [- 105,- 104+ 121,+ 120]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 108,+ "line": 123,"character": 47}]@@ -2855,7 +2855,7 @@},"inheritedFrom": {"type": "reference",- "id": 100,+ "id": 116,"name": "GoTrueClient.setSession"}}@@ -2863,18 +2863,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 108,+ "line": 123,"character": 14}],"inheritedFrom": {"type": "reference",- "id": 100,+ "id": 116,"name": "GoTrueClient.setSession"}},{- "id": 64,+ "id": 65,"name": "signIn","kind": 2048,"kindString": "Method",@@ -2883,7 +2883,7 @@},"signatures": [{- "id": 65,+ "id": 66,"name": "signIn","kind": 4096,"kindString": "Call signature",@@ -2895,7 +2895,7 @@},"parameters": [{- "id": 66,+ "id": 67,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -2906,7 +2906,7 @@"type": {"type": "reflection","declaration": {- "id": 67,+ "id": 68,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -2915,7 +2915,7 @@},"children": [{- "id": 68,+ "id": 69,"name": "email","kind": 32,"kindString": "Variable",@@ -2928,7 +2928,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,+ "line": 68,"character": 18}],@@ -2947,7 +2947,7 @@}},{- "id": 69,+ "id": 71,"name": "password","kind": 32,"kindString": "Variable",@@ -2960,8 +2960,8 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,- "character": 28+ "line": 68,+ "character": 35}],"type": {@@ -2979,7 +2979,36 @@}},{- "id": 71,+ "id": 70,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 68,+ "character": 25+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ },+ {+ "id": 73,"name": "provider","kind": 32,"kindString": "Variable",@@ -2992,8 +3021,8 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,- "character": 52+ "line": 68,+ "character": 59}],"type": {@@ -3038,12 +3067,16 @@{"type": "stringLiteral","value": "discord"+ },+ {+ "type": "stringLiteral",+ "value": "twitch"}]}},{- "id": 70,+ "id": 72,"name": "refreshToken","kind": 32,"kindString": "Variable",@@ -3056,8 +3089,8 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,- "character": 42+ "line": 68,+ "character": 49}],"type": {@@ -3080,17 +3113,18 @@"title": "Variables","kind": 32,"children": [- 68,69,71,- 70+ 70,+ 73,+ 72]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,+ "line": 68,"character": 11}]@@ -3098,7 +3132,7 @@}},{- "id": 72,+ "id": 74,"name": "options","kind": 32768,"kindString": "Parameter",@@ -3116,7 +3150,7 @@{"type": "reflection","declaration": {- "id": 73,+ "id": 75,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3125,7 +3159,7 @@},"children": [{- "id": 74,+ "id": 76,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -3136,7 +3170,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 68,+ "line": 69,"character": 18}],@@ -3155,7 +3189,7 @@}},{- "id": 75,+ "id": 77,"name": "scopes","kind": 32,"kindString": "Variable",@@ -3166,7 +3200,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 69,+ "line": 70,"character": 14}],@@ -3190,8 +3224,8 @@"title": "Variables","kind": 32,"children": [- 74,- 75+ 76,+ 77]}]@@ -3207,7 +3241,7 @@{"type": "reflection","declaration": {- "id": 76,+ "id": 78,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3216,7 +3250,7 @@},"children": [{- "id": 82,+ "id": 84,"name": "data","kind": 32,"kindString": "Variable",@@ -3226,7 +3260,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 76,+ "line": 77,"character": 12}],@@ -3245,7 +3279,7 @@}},{- "id": 81,+ "id": 83,"name": "error","kind": 32,"kindString": "Variable",@@ -3255,7 +3289,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 75,+ "line": 76,"character": 13}],@@ -3274,7 +3308,7 @@}},{- "id": 79,+ "id": 81,"name": "provider","kind": 32,"kindString": "Variable",@@ -3285,7 +3319,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 73,+ "line": 74,"character": 16}],@@ -3295,7 +3329,7 @@}},{- "id": 77,+ "id": 79,"name": "session","kind": 32,"kindString": "Variable",@@ -3305,7 +3339,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 71,+ "line": 72,"character": 15}],@@ -3324,7 +3358,7 @@}},{- "id": 80,+ "id": 82,"name": "url","kind": 32,"kindString": "Variable",@@ -3335,7 +3369,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 74,+ "line": 75,"character": 11}],@@ -3354,7 +3388,7 @@}},{- "id": 78,+ "id": 80,"name": "user","kind": 32,"kindString": "Variable",@@ -3364,7 +3398,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 72,+ "line": 73,"character": 12}],@@ -3388,19 +3422,19 @@"title": "Variables","kind": 32,"children": [- 82,+ 84,+ 83,81,79,- 77,- 80,- 78+ 82,+ 80]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 70,+ "line": 71,"character": 16}]@@ -3411,7 +3445,7 @@},"inheritedFrom": {"type": "reference",- "id": 64,+ "id": 65,"name": "GoTrueClient.signIn"}}@@ -3419,18 +3453,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 67,+ "line": 68,"character": 10}],"inheritedFrom": {"type": "reference",- "id": 64,+ "id": 65,"name": "GoTrueClient.signIn"}},{- "id": 117,+ "id": 133,"name": "signOut","kind": 2048,"kindString": "Method",@@ -3439,7 +3473,7 @@},"signatures": [{- "id": 118,+ "id": 134,"name": "signOut","kind": 4096,"kindString": "Call signature",@@ -3456,7 +3490,7 @@{"type": "reflection","declaration": {- "id": 119,+ "id": 135,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3465,7 +3499,7 @@},"children": [{- "id": 120,+ "id": 136,"name": "error","kind": 32,"kindString": "Variable",@@ -3475,7 +3509,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 134,+ "line": 149,"character": 13}],@@ -3499,14 +3533,14 @@"title": "Variables","kind": 32,"children": [- 120+ 136]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 133,+ "line": 148,"character": 23}]@@ -3517,7 +3551,7 @@},"inheritedFrom": {"type": "reference",- "id": 117,+ "id": 133,"name": "GoTrueClient.signOut"}}@@ -3525,13 +3559,13 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 133,+ "line": 148,"character": 11}],"inheritedFrom": {"type": "reference",- "id": 117,+ "id": 133,"name": "GoTrueClient.signOut"}},@@ -3590,7 +3624,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 18}],@@ -3622,7 +3656,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 28}],@@ -3639,6 +3673,38 @@}]}+ },+ {+ "id": 56,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 50,+ "character": 35+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }}],"groups": [@@ -3647,14 +3713,15 @@"kind": 32,"children": [54,- 55+ 55,+ 56]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 11}]@@ -3662,7 +3729,7 @@}},{- "id": 56,+ "id": 57,"name": "options","kind": 32768,"kindString": "Parameter",@@ -3680,7 +3747,7 @@{"type": "reflection","declaration": {- "id": 57,+ "id": 58,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3689,7 +3756,7 @@},"children": [{- "id": 58,+ "id": 59,"name": "redirectTo","kind": 32,"kindString": "Variable",@@ -3700,7 +3767,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 50,+ "line": 51,"character": 18}],@@ -3724,7 +3791,7 @@"title": "Variables","kind": 32,"children": [- 58+ 59]}]@@ -3740,7 +3807,7 @@{"type": "reflection","declaration": {- "id": 59,+ "id": 60,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3749,7 +3816,7 @@},"children": [{- "id": 63,+ "id": 64,"name": "data","kind": 32,"kindString": "Variable",@@ -3759,7 +3826,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 55,+ "line": 56,"character": 12}],@@ -3782,7 +3849,7 @@}},{- "id": 62,+ "id": 63,"name": "error","kind": 32,"kindString": "Variable",@@ -3792,7 +3859,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 54,+ "line": 55,"character": 13}],@@ -3811,7 +3878,7 @@}},{- "id": 61,+ "id": 62,"name": "session","kind": 32,"kindString": "Variable",@@ -3821,7 +3888,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 53,+ "line": 54,"character": 15}],@@ -3840,7 +3907,7 @@}},{- "id": 60,+ "id": 61,"name": "user","kind": 32,"kindString": "Variable",@@ -3850,7 +3917,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 52,+ "line": 53,"character": 12}],@@ -3874,17 +3941,17 @@"title": "Variables","kind": 32,"children": [+ 64,63,62,- 61,- 60+ 61]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 51,+ "line": 52,"character": 16}]@@ -3903,7 +3970,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 49,+ "line": 50,"character": 10}],@@ -3914,7 +3981,7 @@}},{- "id": 93,+ "id": 109,"name": "update","kind": 2048,"kindString": "Method",@@ -3923,7 +3990,7 @@},"signatures": [{- "id": 94,+ "id": 110,"name": "update","kind": 4096,"kindString": "Call signature",@@ -3935,7 +4002,7 @@},"parameters": [{- "id": 95,+ "id": 111,"name": "attributes","kind": 32768,"kindString": "Parameter",@@ -3954,7 +4021,7 @@{"type": "reflection","declaration": {- "id": 96,+ "id": 112,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -3963,7 +4030,7 @@},"children": [{- "id": 97,+ "id": 113,"name": "data","kind": 32,"kindString": "Variable",@@ -3973,7 +4040,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 100,+ "line": 115,"character": 12}],@@ -3992,7 +4059,7 @@}},{- "id": 99,+ "id": 115,"name": "error","kind": 32,"kindString": "Variable",@@ -4002,7 +4069,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 102,+ "line": 117,"character": 13}],@@ -4021,7 +4088,7 @@}},{- "id": 98,+ "id": 114,"name": "user","kind": 32,"kindString": "Variable",@@ -4031,7 +4098,7 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 101,+ "line": 116,"character": 12}],@@ -4055,16 +4122,16 @@"title": "Variables","kind": 32,"children": [- 97,- 99,- 98+ 113,+ 115,+ 114]}],"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 99,+ "line": 114,"character": 48}]@@ -4075,7 +4142,7 @@},"inheritedFrom": {"type": "reference",- "id": 93,+ "id": 109,"name": "GoTrueClient.update"}}@@ -4083,18 +4150,18 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 99,+ "line": 114,"character": 10}],"inheritedFrom": {"type": "reference",- "id": 93,+ "id": 109,"name": "GoTrueClient.update"}},{- "id": 83,+ "id": 99,"name": "user","kind": 2048,"kindString": "Method",@@ -4103,7 +4170,7 @@},"signatures": [{- "id": 84,+ "id": 100,"name": "user","kind": 4096,"kindString": "Call signature",@@ -4129,7 +4196,7 @@},"inheritedFrom": {"type": "reference",- "id": 83,+ "id": 99,"name": "GoTrueClient.user"}}@@ -4137,91 +4204,452 @@"sources": [{"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",- "line": 83,+ "line": 98,"character": 8}],"inheritedFrom": {"type": "reference",- "id": 83,+ "id": 99,"name": "GoTrueClient.user"}- }- ],- "groups": [- {- "title": "Constructors",- "kind": 512,- "children": [- 29- ]- },- {- "title": "Properties",- "kind": 1024,- "children": [- 42,- 45,- 44,- 43,- 47,- 46,- 49,- 48- ]},{- "title": "Methods",+ "id": 85,+ "name": "verifyOTP","kind": 2048,- "children": [- 109,- 121,- 87,- 85,- 106,- 100,- 64,- 117,- 50,- 93,- 83- ]- }- ],- "sources": [- {- "fileName": "src/lib/SupabaseAuthClient.ts",- "line": 3,- "character": 31- }- ],- "extendedTypes": [- {- "type": "reference",- "name": "GoTrueClient"- }- ]- }- ],- "groups": [- {- "title": "Classes",- "kind": 128,- "children": [- 28- ]- }- ],- "sources": [- {- "fileName": "src/lib/SupabaseAuthClient.ts",- "line": 1,- "character": 0- }- ]- },+ "kindString": "Method",+ "flags": {+ "isExported": true+ },+ "signatures": [+ {+ "id": 86,+ "name": "verifyOTP",+ "kind": 4096,+ "kindString": "Call signature",+ "flags": {+ "isExported": true+ },+ "comment": {+ "shortText": "Log in a user given a User supplied OTP received via mobile."+ },+ "parameters": [+ {+ "id": 87,+ "name": "__namedParameters",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true+ },+ "originalName": "__0",+ "type": {+ "type": "reflection",+ "declaration": {+ "id": 88,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 89,+ "name": "phone",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's phone number."+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 21+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ },+ {+ "id": 90,+ "name": "token",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "comment": {+ "text": "The user's password."+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 28+ }+ ],+ "type": {+ "type": "intrinsic",+ "name": "string"+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 89,+ 90+ ]+ }+ ],+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 14+ }+ ]+ }+ }+ },+ {+ "id": 91,+ "name": "options",+ "kind": 32768,+ "kindString": "Parameter",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "reflection",+ "declaration": {+ "id": 92,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 93,+ "name": "redirectTo",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true,+ "isOptional": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 86,+ "character": 18+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "intrinsic",+ "name": "undefined"+ },+ {+ "type": "intrinsic",+ "name": "string"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 93+ ]+ }+ ]+ }+ }+ ]+ }+ }+ ],+ "type": {+ "type": "reference",+ "typeArguments": [+ {+ "type": "reflection",+ "declaration": {+ "id": 94,+ "name": "__type",+ "kind": 65536,+ "kindString": "Type literal",+ "flags": {+ "isExported": true+ },+ "children": [+ {+ "id": 98,+ "name": "data",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 91,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Session"+ },+ {+ "type": "reference",+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 97,+ "name": "error",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 90,+ "character": 13+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Error"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 96,+ "name": "session",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 89,+ "character": 15+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "Session"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ },+ {+ "id": 95,+ "name": "user",+ "kind": 32,+ "kindString": "Variable",+ "flags": {+ "isExported": true+ },+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 88,+ "character": 12+ }+ ],+ "type": {+ "type": "union",+ "types": [+ {+ "type": "reference",+ "name": "User"+ },+ {+ "type": "intrinsic",+ "name": "null"+ }+ ]+ }+ }+ ],+ "groups": [+ {+ "title": "Variables",+ "kind": 32,+ "children": [+ 98,+ 97,+ 96,+ 95+ ]+ }+ ],+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 87,+ "character": 16+ }+ ]+ }+ }+ ],+ "name": "Promise"+ },+ "inheritedFrom": {+ "type": "reference",+ "id": 85,+ "name": "GoTrueClient.verifyOTP"+ }+ }+ ],+ "sources": [+ {+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",+ "line": 85,+ "character": 13+ }+ ],+ "inheritedFrom": {+ "type": "reference",+ "id": 85,+ "name": "GoTrueClient.verifyOTP"+ }+ }+ ],+ "groups": [+ {+ "title": "Constructors",+ "kind": 512,+ "children": [+ 29+ ]+ },+ {+ "title": "Properties",+ "kind": 1024,+ "children": [+ 42,+ 45,+ 44,+ 43,+ 47,+ 46,+ 49,+ 48+ ]+ },+ {+ "title": "Methods",+ "kind": 2048,+ "children": [+ 125,+ 137,+ 103,+ 101,+ 122,+ 116,+ 65,+ 133,+ 50,+ 109,+ 99,+ 85+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/SupabaseAuthClient.ts",+ "line": 3,+ "character": 31+ }+ ],+ "extendedTypes": [+ {+ "type": "reference",+ "name": "GoTrueClient"+ }+ ]+ }+ ],+ "groups": [+ {+ "title": "Classes",+ "kind": 128,+ "children": [+ 28+ ]+ }+ ],+ "sources": [+ {+ "fileName": "src/lib/SupabaseAuthClient.ts",+ "line": 1,+ "character": 0+ }+ ]+ },{- "id": 157,+ "id": 173,"name": "\"lib/SupabaseQueryBuilder\"","kind": 1,"kindString": "Module",@@ -4231,7 +4659,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts","children": [{- "id": 158,+ "id": 174,"name": "SupabaseQueryBuilder","kind": 128,"kindString": "Class",@@ -4240,7 +4668,7 @@},"typeParameter": [{- "id": 159,+ "id": 175,"name": "T","kind": 131072,"kindString": "Type parameter",@@ -4251,7 +4679,7 @@],"children": [{- "id": 162,+ "id": 178,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -4260,7 +4688,7 @@},"signatures": [{- "id": 163,+ "id": 179,"name": "new SupabaseQueryBuilder","kind": 16384,"kindString": "Constructor signature",@@ -4269,7 +4697,7 @@},"parameters": [{- "id": 164,+ "id": 180,"name": "url","kind": 32768,"kindString": "Parameter",@@ -4282,7 +4710,7 @@}},{- "id": 165,+ "id": 181,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -4293,7 +4721,7 @@"type": {"type": "reflection","declaration": {- "id": 166,+ "id": 182,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4302,7 +4730,7 @@},"children": [{- "id": 167,+ "id": 183,"name": "headers","kind": 32,"kindString": "Variable",@@ -4319,7 +4747,7 @@"type": {"type": "reflection","declaration": {- "id": 168,+ "id": 184,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4328,7 +4756,7 @@},"indexSignature": [{- "id": 169,+ "id": 185,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -4337,7 +4765,7 @@},"parameters": [{- "id": 170,+ "id": 186,"name": "key","kind": 32768,"kindString": "Parameter",@@ -4360,7 +4788,7 @@}},{- "id": 172,+ "id": 188,"name": "realtime","kind": 32,"kindString": "Variable",@@ -4380,7 +4808,7 @@}},{- "id": 171,+ "id": 187,"name": "schema","kind": 32,"kindString": "Variable",@@ -4400,7 +4828,7 @@}},{- "id": 173,+ "id": 189,"name": "table","kind": 32,"kindString": "Variable",@@ -4425,10 +4853,10 @@"title": "Variables","kind": 32,"children": [- 167,- 172,- 171,- 173+ 183,+ 188,+ 187,+ 189]}],@@ -4445,7 +4873,7 @@],"type": {"type": "reference",- "id": 158,+ "id": 174,"name": "SupabaseQueryBuilder"},"overwrites": {@@ -4467,7 +4895,7 @@}},{- "id": 161,+ "id": 177,"name": "_realtime","kind": 1024,"kindString": "Property",@@ -4488,7 +4916,7 @@}},{- "id": 160,+ "id": 176,"name": "_subscription","kind": 1024,"kindString": "Property",@@ -4505,12 +4933,12 @@],"type": {"type": "reference",- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient"}},{- "id": 232,+ "id": 248,"name": "body","kind": 1024,"kindString": "Property",@@ -4556,12 +4984,12 @@},"inheritedFrom": {"type": "reference",- "id": 232,+ "id": 248,"name": "PostgrestBuilder.body"}},{- "id": 227,+ "id": 243,"name": "headers","kind": 1024,"kindString": "Property",@@ -4579,7 +5007,7 @@"type": {"type": "reflection","declaration": {- "id": 228,+ "id": 244,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4588,7 +5016,7 @@},"indexSignature": [{- "id": 229,+ "id": 245,"name": "__index","kind": 8192,"kindString": "Index signature",@@ -4597,7 +5025,7 @@},"parameters": [{- "id": 230,+ "id": 246,"name": "key","kind": 32768,"kindString": "Parameter",@@ -4627,12 +5055,12 @@},"inheritedFrom": {"type": "reference",- "id": 227,+ "id": 243,"name": "PostgrestBuilder.headers"}},{- "id": 225,+ "id": 241,"name": "method","kind": 1024,"kindString": "Property",@@ -4674,12 +5102,12 @@},"inheritedFrom": {"type": "reference",- "id": 225,+ "id": 241,"name": "PostgrestBuilder.method"}},{- "id": 231,+ "id": 247,"name": "schema","kind": 1024,"kindString": "Property",@@ -4710,12 +5138,12 @@},"inheritedFrom": {"type": "reference",- "id": 231,+ "id": 247,"name": "PostgrestBuilder.schema"}},{- "id": 233,+ "id": 249,"name": "shouldThrowOnError","kind": 1024,"kindString": "Property",@@ -4750,12 +5178,12 @@},"inheritedFrom": {"type": "reference",- "id": 233,+ "id": 249,"name": "PostgrestBuilder.shouldThrowOnError"}},{- "id": 226,+ "id": 242,"name": "url","kind": 1024,"kindString": "Property",@@ -4776,12 +5204,12 @@},"inheritedFrom": {"type": "reference",- "id": 226,+ "id": 242,"name": "PostgrestBuilder.url"}},{- "id": 219,+ "id": 235,"name": "delete","kind": 2048,"kindString": "Method",@@ -4790,7 +5218,7 @@},"signatures": [{- "id": 220,+ "id": 236,"name": "delete","kind": 4096,"kindString": "Call signature",@@ -4802,7 +5230,7 @@},"parameters": [{- "id": 221,+ "id": 237,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -4814,7 +5242,7 @@"type": {"type": "reflection","declaration": {- "id": 222,+ "id": 238,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -4823,7 +5251,7 @@},"children": [{- "id": 224,+ "id": 240,"name": "count","kind": 32,"kindString": "Variable",@@ -4867,7 +5295,7 @@}},{- "id": 223,+ "id": 239,"name": "returning","kind": 32,"kindString": "Variable",@@ -4908,8 +5336,8 @@"title": "Variables","kind": 32,"children": [- 224,- 223+ 240,+ 239]}],@@ -4936,7 +5364,7 @@},"inheritedFrom": {"type": "reference",- "id": 219,+ "id": 235,"name": "PostgrestQueryBuilder.delete"}}@@ -4950,12 +5378,12 @@],"inheritedFrom": {"type": "reference",- "id": 219,+ "id": 235,"name": "PostgrestQueryBuilder.delete"}},{- "id": 188,+ "id": 204,"name": "insert","kind": 2048,"kindString": "Method",@@ -4964,7 +5392,7 @@},"signatures": [{- "id": 189,+ "id": 205,"name": "insert","kind": 4096,"kindString": "Call signature",@@ -4976,7 +5404,7 @@},"parameters": [{- "id": 190,+ "id": 206,"name": "values","kind": 32768,"kindString": "Parameter",@@ -5016,7 +5444,7 @@}},{- "id": 191,+ "id": 207,"name": "options","kind": 32768,"kindString": "Parameter",@@ -5034,7 +5462,7 @@{"type": "reflection","declaration": {- "id": 192,+ "id": 208,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5043,7 +5471,7 @@},"children": [{- "id": 194,+ "id": 210,"name": "count","kind": 32,"kindString": "Variable",@@ -5081,7 +5509,7 @@}},{- "id": 193,+ "id": 209,"name": "returning","kind": 32,"kindString": "Variable",@@ -5116,8 +5544,8 @@"title": "Variables","kind": 32,"children": [- 194,- 193+ 210,+ 209]}]@@ -5139,12 +5567,12 @@},"inheritedFrom": {"type": "reference",- "id": 188,+ "id": 204,"name": "PostgrestQueryBuilder.insert"}},{- "id": 195,+ "id": 211,"name": "insert","kind": 4096,"kindString": "Call signature",@@ -5161,7 +5589,7 @@},"parameters": [{- "id": 196,+ "id": 212,"name": "values","kind": 32768,"kindString": "Parameter",@@ -5198,7 +5626,7 @@}},{- "id": 197,+ "id": 213,"name": "options","kind": 32768,"kindString": "Parameter",@@ -5216,7 +5644,7 @@{"type": "reflection","declaration": {- "id": 198,+ "id": 214,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5225,7 +5653,7 @@},"children": [{- "id": 202,+ "id": 218,"name": "count","kind": 32,"kindString": "Variable",@@ -5263,7 +5691,7 @@}},{- "id": 200,+ "id": 216,"name": "onConflict","kind": 32,"kindString": "Variable",@@ -5293,7 +5721,7 @@}},{- "id": 201,+ "id": 217,"name": "returning","kind": 32,"kindString": "Variable",@@ -5323,7 +5751,7 @@}},{- "id": 199,+ "id": 215,"name": "upsert","kind": 32,"kindString": "Variable",@@ -5362,10 +5790,10 @@"title": "Variables","kind": 32,"children": [- 202,- 200,- 201,- 199+ 218,+ 216,+ 217,+ 215]}]@@ -5387,7 +5815,7 @@},"inheritedFrom": {"type": "reference",- "id": 188,+ "id": 204,"name": "PostgrestQueryBuilder.insert"}}@@ -5406,12 +5834,12 @@],"inheritedFrom": {"type": "reference",- "id": 188,+ "id": 204,"name": "PostgrestQueryBuilder.insert"}},{- "id": 174,+ "id": 190,"name": "on","kind": 2048,"kindString": "Method",@@ -5420,7 +5848,7 @@},"signatures": [{- "id": 175,+ "id": 191,"name": "on","kind": 4096,"kindString": "Call signature",@@ -5432,7 +5860,7 @@},"parameters": [{- "id": 176,+ "id": 192,"name": "event","kind": 32768,"kindString": "Parameter",@@ -5449,7 +5877,7 @@}},{- "id": 177,+ "id": 193,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -5462,7 +5890,7 @@"type": {"type": "reflection","declaration": {- "id": 178,+ "id": 194,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5471,7 +5899,7 @@},"signatures": [{- "id": 179,+ "id": 195,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -5480,7 +5908,7 @@},"parameters": [{- "id": 180,+ "id": 196,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -5519,7 +5947,7 @@],"type": {"type": "reference",- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient"}}@@ -5533,7 +5961,7 @@]},{- "id": 181,+ "id": 197,"name": "select","kind": 2048,"kindString": "Method",@@ -5542,7 +5970,7 @@},"signatures": [{- "id": 182,+ "id": 198,"name": "select","kind": 4096,"kindString": "Call signature",@@ -5554,7 +5982,7 @@},"parameters": [{- "id": 183,+ "id": 199,"name": "columns","kind": 32768,"kindString": "Parameter",@@ -5580,7 +6008,7 @@}},{- "id": 184,+ "id": 200,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -5592,7 +6020,7 @@"type": {"type": "reflection","declaration": {- "id": 185,+ "id": 201,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5601,7 +6029,7 @@},"children": [{- "id": 187,+ "id": 203,"name": "count","kind": 32,"kindString": "Variable",@@ -5645,7 +6073,7 @@}},{- "id": 186,+ "id": 202,"name": "head","kind": 32,"kindString": "Variable",@@ -5686,8 +6114,8 @@"title": "Variables","kind": 32,"children": [- 187,- 186+ 203,+ 202]}],@@ -5714,7 +6142,7 @@},"inheritedFrom": {"type": "reference",- "id": 181,+ "id": 197,"name": "PostgrestQueryBuilder.select"}}@@ -5728,12 +6156,12 @@],"inheritedFrom": {"type": "reference",- "id": 181,+ "id": 197,"name": "PostgrestQueryBuilder.select"}},{- "id": 236,+ "id": 252,"name": "then","kind": 2048,"kindString": "Method",@@ -5742,7 +6170,7 @@},"signatures": [{- "id": 237,+ "id": 253,"name": "then","kind": 4096,"kindString": "Call signature",@@ -5751,7 +6179,7 @@},"typeParameter": [{- "id": 238,+ "id": 254,"name": "TResult1","kind": 131072,"kindString": "Type parameter",@@ -5760,7 +6188,7 @@}},{- "id": 239,+ "id": 255,"name": "TResult2","kind": 131072,"kindString": "Type parameter",@@ -5771,7 +6199,7 @@],"parameters": [{- "id": 240,+ "id": 256,"name": "onfulfilled","kind": 32768,"kindString": "Parameter",@@ -5785,7 +6213,7 @@{"type": "reflection","declaration": {- "id": 241,+ "id": 257,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5794,7 +6222,7 @@},"signatures": [{- "id": 242,+ "id": 258,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -5803,7 +6231,7 @@},"parameters": [{- "id": 243,+ "id": 259,"name": "value","kind": 32768,"kindString": "Parameter",@@ -5884,7 +6312,7 @@}},{- "id": 244,+ "id": 260,"name": "onrejected","kind": 32768,"kindString": "Parameter",@@ -5898,7 +6326,7 @@{"type": "reflection","declaration": {- "id": 245,+ "id": 261,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -5907,7 +6335,7 @@},"signatures": [{- "id": 246,+ "id": 262,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -5916,7 +6344,7 @@},"parameters": [{- "id": 247,+ "id": 263,"name": "reason","kind": 32768,"kindString": "Parameter",@@ -6014,7 +6442,7 @@},"inheritedFrom": {"type": "reference",- "id": 236,+ "id": 252,"name": "PostgrestBuilder.then"}}@@ -6028,12 +6456,12 @@],"inheritedFrom": {"type": "reference",- "id": 236,+ "id": 252,"name": "PostgrestBuilder.then"}},{- "id": 234,+ "id": 250,"name": "throwOnError","kind": 2048,"kindString": "Method",@@ -6042,7 +6470,7 @@},"signatures": [{- "id": 235,+ "id": 251,"name": "throwOnError","kind": 4096,"kindString": "Call signature",@@ -6065,7 +6493,7 @@},"inheritedFrom": {"type": "reference",- "id": 234,+ "id": 250,"name": "PostgrestBuilder.throwOnError"}}@@ -6079,12 +6507,12 @@],"inheritedFrom": {"type": "reference",- "id": 234,+ "id": 250,"name": "PostgrestBuilder.throwOnError"}},{- "id": 212,+ "id": 228,"name": "update","kind": 2048,"kindString": "Method",@@ -6093,7 +6521,7 @@},"signatures": [{- "id": 213,+ "id": 229,"name": "update","kind": 4096,"kindString": "Call signature",@@ -6105,7 +6533,7 @@},"parameters": [{- "id": 214,+ "id": 230,"name": "values","kind": 32768,"kindString": "Parameter",@@ -6127,7 +6555,7 @@}},{- "id": 215,+ "id": 231,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -6139,7 +6567,7 @@"type": {"type": "reflection","declaration": {- "id": 216,+ "id": 232,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6148,7 +6576,7 @@},"children": [{- "id": 218,+ "id": 234,"name": "count","kind": 32,"kindString": "Variable",@@ -6192,7 +6620,7 @@}},{- "id": 217,+ "id": 233,"name": "returning","kind": 32,"kindString": "Variable",@@ -6233,8 +6661,8 @@"title": "Variables","kind": 32,"children": [- 218,- 217+ 234,+ 233]}],@@ -6261,7 +6689,7 @@},"inheritedFrom": {"type": "reference",- "id": 212,+ "id": 228,"name": "PostgrestQueryBuilder.update"}}@@ -6275,12 +6703,12 @@],"inheritedFrom": {"type": "reference",- "id": 212,+ "id": 228,"name": "PostgrestQueryBuilder.update"}},{- "id": 203,+ "id": 219,"name": "upsert","kind": 2048,"kindString": "Method",@@ -6289,7 +6717,7 @@},"signatures": [{- "id": 204,+ "id": 220,"name": "upsert","kind": 4096,"kindString": "Call signature",@@ -6301,7 +6729,7 @@},"parameters": [{- "id": 205,+ "id": 221,"name": "values","kind": 32768,"kindString": "Parameter",@@ -6341,7 +6769,7 @@}},{- "id": 206,+ "id": 222,"name": "__namedParameters","kind": 32768,"kindString": "Parameter",@@ -6353,7 +6781,7 @@"type": {"type": "reflection","declaration": {- "id": 207,+ "id": 223,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6362,7 +6790,7 @@},"children": [{- "id": 210,+ "id": 226,"name": "count","kind": 32,"kindString": "Variable",@@ -6406,7 +6834,7 @@}},{- "id": 211,+ "id": 227,"name": "ignoreDuplicates","kind": 32,"kindString": "Variable",@@ -6442,7 +6870,7 @@}},{- "id": 208,+ "id": 224,"name": "onConflict","kind": 32,"kindString": "Variable",@@ -6474,7 +6902,7 @@}},{- "id": 209,+ "id": 225,"name": "returning","kind": 32,"kindString": "Variable",@@ -6515,10 +6943,10 @@"title": "Variables","kind": 32,"children": [- 210,- 211,- 208,- 209+ 226,+ 227,+ 224,+ 225]}],@@ -6545,7 +6973,7 @@},"inheritedFrom": {"type": "reference",- "id": 203,+ "id": 219,"name": "PostgrestQueryBuilder.upsert"}}@@ -6559,7 +6987,7 @@],"inheritedFrom": {"type": "reference",- "id": 203,+ "id": 219,"name": "PostgrestQueryBuilder.upsert"}}@@ -6569,35 +6997,35 @@"title": "Constructors","kind": 512,"children": [- 162+ 178]},{"title": "Properties","kind": 1024,"children": [- 161,- 160,- 232,- 227,- 225,- 231,- 233,- 226+ 177,+ 176,+ 248,+ 243,+ 241,+ 247,+ 249,+ 242]},{"title": "Methods","kind": 2048,"children": [- 219,- 188,- 174,- 181,- 236,- 234,- 212,- 203+ 235,+ 204,+ 190,+ 197,+ 252,+ 250,+ 228,+ 219]}],@@ -6645,7 +7073,7 @@"title": "Classes","kind": 128,"children": [- 158+ 174]}],@@ -6658,7 +7086,7 @@]},{- "id": 131,+ "id": 147,"name": "\"lib/SupabaseRealtimeClient\"","kind": 1,"kindString": "Module",@@ -6668,7 +7096,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts","children": [{- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient","kind": 128,"kindString": "Class",@@ -6677,7 +7105,7 @@},"children": [{- "id": 134,+ "id": 150,"name": "constructor","kind": 512,"kindString": "Constructor",@@ -6686,7 +7114,7 @@},"signatures": [{- "id": 135,+ "id": 151,"name": "new SupabaseRealtimeClient","kind": 16384,"kindString": "Constructor signature",@@ -6695,7 +7123,7 @@},"parameters": [{- "id": 136,+ "id": 152,"name": "socket","kind": 32768,"kindString": "Parameter",@@ -6708,7 +7136,7 @@}},{- "id": 137,+ "id": 153,"name": "schema","kind": 32768,"kindString": "Parameter",@@ -6721,7 +7149,7 @@}},{- "id": 138,+ "id": 154,"name": "tableName","kind": 32768,"kindString": "Parameter",@@ -6736,7 +7164,7 @@],"type": {"type": "reference",- "id": 132,+ "id": 148,"name": "SupabaseRealtimeClient"}}@@ -6750,7 +7178,7 @@]},{- "id": 133,+ "id": 149,"name": "subscription","kind": 1024,"kindString": "Property",@@ -6770,7 +7198,7 @@}},{- "id": 139,+ "id": 155,"name": "getPayloadRecords","kind": 2048,"kindString": "Method",@@ -6780,7 +7208,7 @@},"signatures": [{- "id": 140,+ "id": 156,"name": "getPayloadRecords","kind": 4096,"kindString": "Call signature",@@ -6789,7 +7217,7 @@},"parameters": [{- "id": 141,+ "id": 157,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -6805,7 +7233,7 @@"type": {"type": "reflection","declaration": {- "id": 142,+ "id": 158,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6814,7 +7242,7 @@},"children": [{- "id": 143,+ "id": 159,"name": "new","kind": 32,"kindString": "Variable",@@ -6831,7 +7259,7 @@"type": {"type": "reflection","declaration": {- "id": 144,+ "id": 160,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6842,7 +7270,7 @@}},{- "id": 145,+ "id": 161,"name": "old","kind": 32,"kindString": "Variable",@@ -6859,7 +7287,7 @@"type": {"type": "reflection","declaration": {- "id": 146,+ "id": 162,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6875,8 +7303,8 @@"title": "Variables","kind": 32,"children": [- 143,- 145+ 159,+ 161]}]@@ -6893,7 +7321,7 @@]},{- "id": 147,+ "id": 163,"name": "on","kind": 2048,"kindString": "Method",@@ -6902,7 +7330,7 @@},"signatures": [{- "id": 148,+ "id": 164,"name": "on","kind": 4096,"kindString": "Call signature",@@ -6914,7 +7342,7 @@},"parameters": [{- "id": 149,+ "id": 165,"name": "event","kind": 32768,"kindString": "Parameter",@@ -6931,7 +7359,7 @@}},{- "id": 150,+ "id": 166,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -6944,7 +7372,7 @@"type": {"type": "reflection","declaration": {- "id": 151,+ "id": 167,"name": "__type","kind": 65536,"kindString": "Type literal",@@ -6953,7 +7381,7 @@},"signatures": [{- "id": 152,+ "id": 168,"name": "__call","kind": 4096,"kindString": "Call signature",@@ -6962,7 +7390,7 @@},"parameters": [{- "id": 153,+ "id": 169,"name": "payload","kind": 32768,"kindString": "Parameter",@@ -7014,7 +7442,7 @@]},{- "id": 154,+ "id": 170,"name": "subscribe","kind": 2048,"kindString": "Method",@@ -7023,7 +7451,7 @@},"signatures": [{- "id": 155,+ "id": 171,"name": "subscribe","kind": 4096,"kindString": "Call signature",@@ -7035,7 +7463,7 @@},"parameters": [{- "id": 156,+ "id": 172,"name": "callback","kind": 32768,"kindString": "Parameter",@@ -7069,23 +7497,23 @@"title": "Constructors","kind": 512,"children": [- 134+ 150]},{"title": "Properties","kind": 1024,"children": [- 133+ 149]},{"title": "Methods","kind": 2048,"children": [- 139,- 147,- 154+ 155,+ 163,+ 170]}],@@ -7103,7 +7531,7 @@"title": "Classes","kind": 128,"children": [- 132+ 148]}],@@ -7173,7 +7601,7 @@]},{- "id": 318,+ "id": 334,"name": "\"lib/helpers\"","kind": 1,"kindString": "Module",@@ -7183,7 +7611,7 @@"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts","children": [{- "id": 319,+ "id": 335,"name": "uuid","kind": 64,"kindString": "Function",@@ -7192,7 +7620,7 @@},"signatures": [{- "id": 320,+ "id": 336,"name": "uuid","kind": 4096,"kindString": "Call signature",@@ -7219,7 +7647,7 @@"title": "Functions","kind": 64,"children": [- 319+ 335]}],@@ -7820,13 +8248,13 @@"title": "Modules","kind": 1,"children": [- 248,- 312,+ 264,+ 328,27,- 157,- 131,+ 173,+ 147,1,- 318,+ 334,4]}