From 8c3b90f15bca894f416b0cad2906933f404db057 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 09:44:47 +0900 Subject: [PATCH 01/15] feat: Done until magic link --- web/spec/combined.json | 6967 +++++++++++++++++++++++++++------------- web/spec/dart.yml | 310 +- web/spec/gotrue.json | 4423 ++++++++++++++++++------- web/spec/realtime.json | 1134 +++---- web/spec/supabase.json | 1410 +++++--- 5 files changed, 9747 insertions(+), 4497 deletions(-) diff --git a/web/spec/combined.json b/web/spec/combined.json index 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,7 @@ }, "children": [ { - "id": 301, + "id": 341, "name": "data", "kind": 32, "kindString": "Variable", @@ -8295,7 +8723,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 254, + "line": 335, "character": 38 } ], @@ -8315,7 +8743,7 @@ } }, { - "id": 302, + "id": 342, "name": "error", "kind": 32, "kindString": "Variable", @@ -8325,7 +8753,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 254, + "line": 335, "character": 58 } ], @@ -8344,7 +8772,7 @@ } }, { - "id": 300, + "id": 340, "name": "user", "kind": 32, "kindString": "Variable", @@ -8354,7 +8782,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 254, + "line": 335, "character": 19 } ], @@ -8379,16 +8807,16 @@ "title": "Variables", "kind": 32, "children": [ - 301, - 302, - 300 + 341, + 342, + 340 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 254, + "line": 335, "character": 13 } ] @@ -8402,13 +8830,321 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 251, + "line": 332, "character": 18 } ] }, { - "id": 273, + "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", @@ -8417,7 +9153,7 @@ }, "signatures": [ { - "id": 274, + "id": 314, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -8429,7 +9165,7 @@ }, "parameters": [ { - "id": 275, + "id": 315, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -8441,12 +9177,12 @@ }, "type": { "type": "reference", - "id": 103, + "id": 112, "name": "Provider" } }, { - "id": 276, + "id": 316, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8456,7 +9192,7 @@ "type": { "type": "reflection", "declaration": { - "id": 277, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8465,7 +9201,7 @@ }, "children": [ { - "id": 278, + "id": 318, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -8476,7 +9212,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 198, + "line": 279, "character": 16 } ], @@ -8495,7 +9231,7 @@ } }, { - "id": 279, + "id": 319, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -8506,7 +9242,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 199, + "line": 280, "character": 12 } ], @@ -8530,15 +9266,15 @@ "title": "Variables", "kind": 32, "children": [ - 278, - 279 + 318, + 319 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 197, + "line": 278, "character": 12 } ] @@ -8555,13 +9291,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 195, + "line": 276, "character": 19 } ] }, { - "id": 280, + "id": 320, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -8570,7 +9306,7 @@ }, "signatures": [ { - "id": 281, + "id": 321, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -8582,7 +9318,7 @@ }, "parameters": [ { - "id": 282, + "id": 322, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8604,7 +9340,7 @@ { "type": "reflection", "declaration": { - "id": 283, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8613,7 +9349,7 @@ }, "children": [ { - "id": 285, + "id": 325, "name": "data", "kind": 32, "kindString": "Variable", @@ -8623,7 +9359,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 38 } ], @@ -8643,7 +9379,7 @@ } }, { - "id": 286, + "id": 326, "name": "error", "kind": 32, "kindString": "Variable", @@ -8653,7 +9389,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 58 } ], @@ -8672,7 +9408,7 @@ } }, { - "id": 284, + "id": 324, "name": "user", "kind": 32, "kindString": "Variable", @@ -8682,7 +9418,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 19 } ], @@ -8707,16 +9443,16 @@ "title": "Variables", "kind": 32, "children": [ - 285, - 286, - 284 + 325, + 326, + 324 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 13 } ] @@ -8730,13 +9466,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 216, + "line": 297, "character": 15 } ] }, { - "id": 313, + "id": 353, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -8745,7 +9481,7 @@ }, "signatures": [ { - "id": 314, + "id": 354, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -8757,7 +9493,7 @@ }, "parameters": [ { - "id": 315, + "id": 355, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -8776,7 +9512,7 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8785,7 +9521,7 @@ }, "children": [ { - "id": 318, + "id": 358, "name": "data", "kind": 32, "kindString": "Variable", @@ -8795,7 +9531,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 38 } ], @@ -8815,7 +9551,7 @@ } }, { - "id": 319, + "id": 359, "name": "error", "kind": 32, "kindString": "Variable", @@ -8825,7 +9561,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 58 } ], @@ -8844,7 +9580,7 @@ } }, { - "id": 317, + "id": 357, "name": "user", "kind": 32, "kindString": "Variable", @@ -8854,7 +9590,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 19 } ], @@ -8879,16 +9615,16 @@ "title": "Variables", "kind": 32, "children": [ - 318, - 319, - 317 + 358, + 359, + 357 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 13 } ] @@ -8902,13 +9638,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 320, + "line": 401, "character": 23 } ] }, { - "id": 245, + "id": 285, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -8917,7 +9653,7 @@ }, "signatures": [ { - "id": 246, + "id": 286, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -8929,7 +9665,7 @@ }, "parameters": [ { - "id": 247, + "id": 287, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -8945,7 +9681,7 @@ } }, { - "id": 248, + "id": 288, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8955,7 +9691,7 @@ "type": { "type": "reflection", "declaration": { - "id": 249, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8964,7 +9700,7 @@ }, "children": [ { - "id": 250, + "id": 290, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -8975,7 +9711,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 121, + "line": 202, "character": 16 } ], @@ -8999,14 +9735,14 @@ "title": "Variables", "kind": 32, "children": [ - 250 + 290 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 120, + "line": 201, "character": 12 } ] @@ -9021,7 +9757,7 @@ { "type": "reflection", "declaration": { - "id": 251, + "id": 291, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9030,7 +9766,7 @@ }, "children": [ { - "id": 252, + "id": 292, "name": "data", "kind": 32, "kindString": "Variable", @@ -9040,7 +9776,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 123, + "line": 204, "character": 19 } ], @@ -9060,7 +9796,7 @@ } }, { - "id": 253, + "id": 293, "name": "error", "kind": 32, "kindString": "Variable", @@ -9070,7 +9806,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 123, + "line": 204, "character": 39 } ], @@ -9094,15 +9830,15 @@ "title": "Variables", "kind": 32, "children": [ - 252, - 253 + 292, + 293 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 123, + "line": 204, "character": 13 } ] @@ -9116,13 +9852,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 118, + "line": 199, "character": 25 } ] }, { - "id": 303, + "id": 343, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -9131,7 +9867,7 @@ }, "signatures": [ { - "id": 304, + "id": 344, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -9143,7 +9879,7 @@ }, "parameters": [ { - "id": 305, + "id": 345, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -9165,7 +9901,7 @@ { "type": "reflection", "declaration": { - "id": 306, + "id": 346, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9174,7 +9910,7 @@ }, "children": [ { - "id": 307, + "id": 347, "name": "data", "kind": 32, "kindString": "Variable", @@ -9184,7 +9920,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 275, + "line": 356, "character": 19 } ], @@ -9204,7 +9940,7 @@ } }, { - "id": 308, + "id": 348, "name": "error", "kind": 32, "kindString": "Variable", @@ -9214,7 +9950,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 275, + "line": 356, "character": 42 } ], @@ -9238,15 +9974,15 @@ "title": "Variables", "kind": 32, "children": [ - 307, - 308 + 347, + 348 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 275, + "line": 356, "character": 13 } ] @@ -9260,13 +9996,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 273, + "line": 354, "character": 26 } ] }, { - "id": 254, + "id": 294, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -9275,7 +10011,7 @@ }, "signatures": [ { - "id": 255, + "id": 295, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -9287,7 +10023,7 @@ }, "parameters": [ { - "id": 256, + "id": 296, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9303,7 +10039,7 @@ } }, { - "id": 257, + "id": 297, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9313,7 +10049,7 @@ "type": { "type": "reflection", "declaration": { - "id": 258, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9322,7 +10058,7 @@ }, "children": [ { - "id": 259, + "id": 299, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9333,7 +10069,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 145, + "line": 226, "character": 16 } ], @@ -9357,14 +10093,14 @@ "title": "Variables", "kind": 32, "children": [ - 259 + 299 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 144, + "line": 225, "character": 12 } ] @@ -9379,7 +10115,7 @@ { "type": "reflection", "declaration": { - "id": 260, + "id": 300, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9388,7 +10124,7 @@ }, "children": [ { - "id": 261, + "id": 301, "name": "data", "kind": 32, "kindString": "Variable", @@ -9398,7 +10134,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 19 } ], @@ -9408,7 +10144,7 @@ { "type": "reflection", "declaration": { - "id": 262, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9418,7 +10154,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 20 } ] @@ -9432,7 +10168,7 @@ } }, { - "id": 263, + "id": 303, "name": "error", "kind": 32, "kindString": "Variable", @@ -9442,7 +10178,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 37 } ], @@ -9466,15 +10202,15 @@ "title": "Variables", "kind": 32, "children": [ - 261, - 263 + 301, + 303 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 13 } ] @@ -9488,13 +10224,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 142, + "line": 223, "character": 29 } ] }, { - "id": 235, + "id": 258, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -9503,7 +10239,7 @@ }, "signatures": [ { - "id": 236, + "id": 259, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -9515,7 +10251,7 @@ }, "parameters": [ { - "id": 237, + "id": 260, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9530,6 +10266,470 @@ "name": "string" } }, + { + "id": 261, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 262, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 263, + "name": "redirectTo", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 138, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 263 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 137, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 264, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 265, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "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", + "name": "null" + } + ] + } + }, + { + "id": 267, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 37 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 265, + 267 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 135, + "character": 26 + } + ] + }, + { + "id": 268, + "name": "sendMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 269, + "name": "sendMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" + }, + "parameters": [ + { + "id": 270, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's phone number WITH international prefix\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 271, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 272, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 52 + } + ], + "type": { + "type": "union", + "types": [ + { + "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", + "name": "null" + } + ] + } + }, + { + "id": 274, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 70 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 272, + 274 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 46 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 21 + } + ] + }, + { + "id": 349, + "name": "setAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "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": 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", + "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", @@ -9561,7 +10761,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 97, + "line": 71, "character": 16 } ], @@ -9592,7 +10792,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 96, + "line": 70, "character": 12 } ] @@ -9623,312 +10823,6 @@ "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", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 99, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 242, - 244 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 99, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 94, - "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", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 226, - "name": "signInWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Logs in an existing user using their email address." - }, - "parameters": [ - { - "id": 227, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "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, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 230, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 231, - "name": "redirectTo", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 71, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 231 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 70, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 232, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 233, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "GoTrueApi.ts", @@ -9952,7 +10846,7 @@ } }, { - "id": 234, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -9986,8 +10880,8 @@ "title": "Variables", "kind": 32, "children": [ - 233, - 234 + 242, + 243 ] } ], @@ -10014,7 +10908,167 @@ ] }, { - "id": 268, + "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 + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 257, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 42 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 256, + 257 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 114, + "character": 23 + } + ] + }, + { + "id": 308, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -10023,7 +11077,7 @@ }, "signatures": [ { - "id": 269, + "id": 309, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -10035,7 +11089,7 @@ }, "parameters": [ { - "id": 270, + "id": 310, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -10057,7 +11111,7 @@ { "type": "reflection", "declaration": { - "id": 271, + "id": 311, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10066,7 +11120,7 @@ }, "children": [ { - "id": 272, + "id": 312, "name": "error", "kind": 32, "kindString": "Variable", @@ -10076,7 +11130,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 176, + "line": 257, "character": 45 } ], @@ -10100,14 +11154,14 @@ "title": "Variables", "kind": 32, "children": [ - 272 + 312 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 176, + "line": 257, "character": 38 } ] @@ -10121,13 +11175,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 176, + "line": 257, "character": 15 } ] }, { - "id": 215, + "id": 224, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -10136,7 +11190,7 @@ }, "signatures": [ { - "id": 216, + "id": 225, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -10149,7 +11203,7 @@ }, "parameters": [ { - "id": 217, + "id": 226, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10165,7 +11219,7 @@ } }, { - "id": 218, + "id": 227, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -10181,7 +11235,7 @@ } }, { - "id": 219, + "id": 228, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10191,7 +11245,7 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10200,7 +11254,7 @@ }, "children": [ { - "id": 221, + "id": 230, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10235,7 +11289,7 @@ "title": "Variables", "kind": 32, "children": [ - 221 + 230 ] } ], @@ -10257,7 +11311,7 @@ { "type": "reflection", "declaration": { - "id": 222, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10266,7 +11320,7 @@ }, "children": [ { - "id": 223, + "id": 232, "name": "data", "kind": 32, "kindString": "Variable", @@ -10301,7 +11355,7 @@ } }, { - "id": 224, + "id": 233, "name": "error", "kind": 32, "kindString": "Variable", @@ -10335,8 +11389,8 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 224 + 232, + 233 ] } ], @@ -10363,7 +11417,172 @@ ] }, { - "id": 287, + "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 + }, + "children": [ + { + "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", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 97, + "character": 49 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "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", @@ -10372,7 +11591,7 @@ }, "signatures": [ { - "id": 288, + "id": 328, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -10384,7 +11603,7 @@ }, "parameters": [ { - "id": 289, + "id": 329, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -10400,7 +11619,7 @@ } }, { - "id": 290, + "id": 330, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -10412,7 +11631,7 @@ }, "type": { "type": "reference", - "id": 77, + "id": 82, "name": "UserAttributes" } } @@ -10423,7 +11642,7 @@ { "type": "reflection", "declaration": { - "id": 291, + "id": 331, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10432,7 +11651,7 @@ }, "children": [ { - "id": 293, + "id": 333, "name": "data", "kind": 32, "kindString": "Variable", @@ -10442,7 +11661,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 38 } ], @@ -10462,7 +11681,7 @@ } }, { - "id": 294, + "id": 334, "name": "error", "kind": 32, "kindString": "Variable", @@ -10472,7 +11691,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 58 } ], @@ -10491,7 +11710,7 @@ } }, { - "id": 292, + "id": 332, "name": "user", "kind": 32, "kindString": "Variable", @@ -10501,7 +11720,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 19 } ], @@ -10526,16 +11745,16 @@ "title": "Variables", "kind": 32, "children": [ - 293, - 294, - 292 + 333, + 334, + 332 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 13 } ] @@ -10549,10 +11768,245 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 232, + "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": [ @@ -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,7 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 553, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11264,7 +12723,7 @@ }, "children": [ { - "id": 472, + "id": 554, "name": "data", "kind": 32, "kindString": "Variable", @@ -11274,7 +12733,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 532, + "line": 610, "character": 19 } ], @@ -11285,7 +12744,7 @@ } }, { - "id": 473, + "id": 555, "name": "error", "kind": 32, "kindString": "Variable", @@ -11295,7 +12754,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 532, + "line": 610, "character": 26 } ], @@ -11311,8 +12770,8 @@ "title": "Variables", "kind": 32, "children": [ - 472, - 473 + 554, + 555 ] } ] @@ -11321,7 +12780,7 @@ { "type": "reflection", "declaration": { - "id": 474, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11330,7 +12789,7 @@ }, "children": [ { - "id": 475, + "id": 557, "name": "data", "kind": 32, "kindString": "Variable", @@ -11340,7 +12799,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 534, + "line": 612, "character": 19 } ], @@ -11351,7 +12810,7 @@ "defaultValue": "null" }, { - "id": 476, + "id": 558, "name": "error", "kind": 32, "kindString": "Variable", @@ -11361,7 +12820,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 534, + "line": 612, "character": 32 } ], @@ -11376,8 +12835,8 @@ "title": "Variables", "kind": 32, "children": [ - 475, - 476 + 557, + 558 ] } ] @@ -11393,13 +12852,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 520, + "line": 598, "character": 33 } ] }, { - "id": 428, + "id": 496, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -11409,7 +12868,7 @@ }, "signatures": [ { - "id": 429, + "id": 497, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -11418,7 +12877,7 @@ }, "parameters": [ { - "id": 430, + "id": 498, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -11431,7 +12890,7 @@ } }, { - "id": 431, + "id": 499, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11444,7 +12903,7 @@ } }, { - "id": 432, + "id": 500, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11454,7 +12913,7 @@ "type": { "type": "reflection", "declaration": { - "id": 433, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11463,7 +12922,7 @@ }, "children": [ { - "id": 434, + "id": 502, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -11474,7 +12933,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 411, + "line": 473, "character": 16 } ], @@ -11498,14 +12957,14 @@ "title": "Variables", "kind": 32, "children": [ - 434 + 502 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 410, + "line": 472, "character": 12 } ] @@ -11523,7 +12982,7 @@ { "type": "reflection", "declaration": { - "id": 435, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11532,7 +12991,7 @@ }, "children": [ { - "id": 436, + "id": 504, "name": "data", "kind": 32, "kindString": "Variable", @@ -11542,7 +13001,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 19 } ], @@ -11553,7 +13012,7 @@ } }, { - "id": 439, + "id": 507, "name": "error", "kind": 32, "kindString": "Variable", @@ -11563,7 +13022,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 58 } ], @@ -11574,7 +13033,7 @@ "defaultValue": "null" }, { - "id": 438, + "id": 506, "name": "session", "kind": 32, "kindString": "Variable", @@ -11584,7 +13043,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 45 } ], @@ -11596,7 +13055,7 @@ "defaultValue": "data" }, { - "id": 437, + "id": 505, "name": "user", "kind": 32, "kindString": "Variable", @@ -11606,7 +13065,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 25 } ], @@ -11632,10 +13091,10 @@ "title": "Variables", "kind": 32, "children": [ - 436, - 439, - 438, - 437 + 504, + 507, + 506, + 505 ] } ] @@ -11644,7 +13103,7 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 508, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11653,7 +13112,7 @@ }, "children": [ { - "id": 441, + "id": 509, "name": "data", "kind": 32, "kindString": "Variable", @@ -11663,7 +13122,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 19 } ], @@ -11674,7 +13133,7 @@ "defaultValue": "null" }, { - "id": 444, + "id": 512, "name": "error", "kind": 32, "kindString": "Variable", @@ -11684,7 +13143,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 59 } ], @@ -11694,7 +13153,7 @@ } }, { - "id": 443, + "id": 511, "name": "session", "kind": 32, "kindString": "Variable", @@ -11704,7 +13163,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 46 } ], @@ -11715,7 +13174,7 @@ "defaultValue": "null" }, { - "id": 442, + "id": 510, "name": "user", "kind": 32, "kindString": "Variable", @@ -11725,7 +13184,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 31 } ], @@ -11741,10 +13200,10 @@ "title": "Variables", "kind": 32, "children": [ - 441, - 444, - 443, - 442 + 509, + 512, + 511, + 510 ] } ] @@ -11760,13 +13219,310 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 407, + "line": 469, "character": 34 } ] }, { - "id": 445, + "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", @@ -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, - 73, - 72, - 71, - 59, - 74, - 75, 76, + 75, + 73, + 77, + 59, + 79, + 74, + 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": 91, + "line": 106, "character": 32 } ] }, { - "id": 104, + "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": 115, + "character": 32 + } + ] + }, + { + "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, - 210, - 214, - 209, - 202, - 211, - 217, - 213, - 212, - 219, 220, - 206, - 207 + 218, + 217, + 199, + 200, + 210, + 212, + 216, + 211, + 204, + 213, + 219, + 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": [ + 311, + 310, + 313, + 307, 309, 308, - 311, - 305, - 307, + 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,54 +36102,23 @@ "sources": [ { "fileName": "RealtimeSubscription.ts", - "line": 204, + "line": 207, "character": 10 } ] }, { - "id": 165, + "id": 167, "name": "isJoining", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, - "signatures": [ - { - "id": 166, - "name": "isJoining", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "sources": [ - { - "fileName": "RealtimeSubscription.ts", - "line": 207, - "character": 11 - } - ] - }, - { - "id": 167, - "name": "isLeaving", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, "signatures": [ { "id": 168, - "name": "isLeaving", + "name": "isJoining", "kind": 4096, "kindString": "Call signature", "flags": { @@ -33723,7 +36139,38 @@ ] }, { - "id": 140, + "id": 169, + "name": "isLeaving", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 170, + "name": "isLeaving", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeSubscription.ts", + "line": 213, + "character": 11 + } + ] + }, + { + "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.yml index 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 functionality and 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: example() + - name: Dart SupabaseClient() dart: | ```dart - TODO + final supabase = SupabaseClient('https://xyzcompany.supabase.co', 'public-anon-key'); ``` - - name: example() + - name: Flutter initialize() dart: | ```dart - TODO + Future 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('example@email.com', '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: Sign in with email. + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.signIn(email: 'example@email.com', 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 + final res = await supabase.auth.signIn(email: 'example@email.com'); + + final user = res.data?user; + final session = res.data?.session; + final error = res.error; + ``` + - name: Sign in using third-party providers. + description: | + Supabase supports OAuth logins. + dart: | + ```dart + 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: + + `#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('user@email.com') + ``` + + 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.json index 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,13 +565,321 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 251, + "line": 332, "character": 18 } ] }, { - "id": 273, + "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", @@ -580,7 +888,7 @@ }, "signatures": [ { - "id": 274, + "id": 314, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -592,7 +900,7 @@ }, "parameters": [ { - "id": 275, + "id": 315, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -604,12 +912,12 @@ }, "type": { "type": "reference", - "id": 103, + "id": 112, "name": "Provider" } }, { - "id": 276, + "id": 316, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -619,7 +927,7 @@ "type": { "type": "reflection", "declaration": { - "id": 277, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -628,7 +936,7 @@ }, "children": [ { - "id": 278, + "id": 318, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -639,7 +947,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 198, + "line": 279, "character": 16 } ], @@ -658,7 +966,7 @@ } }, { - "id": 279, + "id": 319, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -669,7 +977,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 199, + "line": 280, "character": 12 } ], @@ -693,15 +1001,15 @@ "title": "Variables", "kind": 32, "children": [ - 278, - 279 + 318, + 319 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 197, + "line": 278, "character": 12 } ] @@ -718,13 +1026,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 195, + "line": 276, "character": 19 } ] }, { - "id": 280, + "id": 320, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -733,7 +1041,7 @@ }, "signatures": [ { - "id": 281, + "id": 321, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -745,7 +1053,7 @@ }, "parameters": [ { - "id": 282, + "id": 322, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -767,7 +1075,7 @@ { "type": "reflection", "declaration": { - "id": 283, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -776,7 +1084,7 @@ }, "children": [ { - "id": 285, + "id": 325, "name": "data", "kind": 32, "kindString": "Variable", @@ -786,7 +1094,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 38 } ], @@ -806,7 +1114,7 @@ } }, { - "id": 286, + "id": 326, "name": "error", "kind": 32, "kindString": "Variable", @@ -816,7 +1124,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 58 } ], @@ -835,7 +1143,7 @@ } }, { - "id": 284, + "id": 324, "name": "user", "kind": 32, "kindString": "Variable", @@ -845,7 +1153,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 19 } ], @@ -870,16 +1178,16 @@ "title": "Variables", "kind": 32, "children": [ - 285, - 286, - 284 + 325, + 326, + 324 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 218, + "line": 299, "character": 13 } ] @@ -893,13 +1201,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 216, + "line": 297, "character": 15 } ] }, { - "id": 313, + "id": 353, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -908,7 +1216,7 @@ }, "signatures": [ { - "id": 314, + "id": 354, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -920,7 +1228,7 @@ }, "parameters": [ { - "id": 315, + "id": 355, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -939,7 +1247,7 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -948,7 +1256,7 @@ }, "children": [ { - "id": 318, + "id": 358, "name": "data", "kind": 32, "kindString": "Variable", @@ -958,7 +1266,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 38 } ], @@ -978,7 +1286,7 @@ } }, { - "id": 319, + "id": 359, "name": "error", "kind": 32, "kindString": "Variable", @@ -988,7 +1296,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 58 } ], @@ -1007,7 +1315,7 @@ } }, { - "id": 317, + "id": 357, "name": "user", "kind": 32, "kindString": "Variable", @@ -1017,7 +1325,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 19 } ], @@ -1042,16 +1350,16 @@ "title": "Variables", "kind": 32, "children": [ - 318, - 319, - 317 + 358, + 359, + 357 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 322, + "line": 403, "character": 13 } ] @@ -1065,13 +1373,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 320, + "line": 401, "character": 23 } ] }, { - "id": 245, + "id": 285, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -1080,7 +1388,7 @@ }, "signatures": [ { - "id": 246, + "id": 286, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -1092,7 +1400,7 @@ }, "parameters": [ { - "id": 247, + "id": 287, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1108,7 +1416,7 @@ } }, { - "id": 248, + "id": 288, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1118,7 +1426,7 @@ "type": { "type": "reflection", "declaration": { - "id": 249, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1127,7 +1435,7 @@ }, "children": [ { - "id": 250, + "id": 290, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1138,7 +1446,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 121, + "line": 202, "character": 16 } ], @@ -1162,14 +1470,14 @@ "title": "Variables", "kind": 32, "children": [ - 250 + 290 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 120, + "line": 201, "character": 12 } ] @@ -1184,7 +1492,7 @@ { "type": "reflection", "declaration": { - "id": 251, + "id": 291, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1193,7 +1501,7 @@ }, "children": [ { - "id": 252, + "id": 292, "name": "data", "kind": 32, "kindString": "Variable", @@ -1203,7 +1511,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 123, + "line": 204, "character": 19 } ], @@ -1223,7 +1531,7 @@ } }, { - "id": 253, + "id": 293, "name": "error", "kind": 32, "kindString": "Variable", @@ -1233,7 +1541,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 123, + "line": 204, "character": 39 } ], @@ -1257,15 +1565,15 @@ "title": "Variables", "kind": 32, "children": [ - 252, - 253 + 292, + 293 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 123, + "line": 204, "character": 13 } ] @@ -1279,13 +1587,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 118, + "line": 199, "character": 25 } ] }, { - "id": 303, + "id": 343, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -1294,7 +1602,7 @@ }, "signatures": [ { - "id": 304, + "id": 344, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -1306,7 +1614,7 @@ }, "parameters": [ { - "id": 305, + "id": 345, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -1328,7 +1636,7 @@ { "type": "reflection", "declaration": { - "id": 306, + "id": 346, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1337,7 +1645,7 @@ }, "children": [ { - "id": 307, + "id": 347, "name": "data", "kind": 32, "kindString": "Variable", @@ -1347,7 +1655,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 275, + "line": 356, "character": 19 } ], @@ -1367,7 +1675,7 @@ } }, { - "id": 308, + "id": 348, "name": "error", "kind": 32, "kindString": "Variable", @@ -1377,7 +1685,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 275, + "line": 356, "character": 42 } ], @@ -1401,15 +1709,15 @@ "title": "Variables", "kind": 32, "children": [ - 307, - 308 + 347, + 348 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 275, + "line": 356, "character": 13 } ] @@ -1423,13 +1731,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 273, + "line": 354, "character": 26 } ] }, { - "id": 254, + "id": 294, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -1438,7 +1746,7 @@ }, "signatures": [ { - "id": 255, + "id": 295, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -1450,7 +1758,7 @@ }, "parameters": [ { - "id": 256, + "id": 296, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1466,7 +1774,7 @@ } }, { - "id": 257, + "id": 297, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1476,7 +1784,7 @@ "type": { "type": "reflection", "declaration": { - "id": 258, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1485,7 +1793,7 @@ }, "children": [ { - "id": 259, + "id": 299, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1496,7 +1804,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 145, + "line": 226, "character": 16 } ], @@ -1520,14 +1828,14 @@ "title": "Variables", "kind": 32, "children": [ - 259 + 299 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 144, + "line": 225, "character": 12 } ] @@ -1542,7 +1850,7 @@ { "type": "reflection", "declaration": { - "id": 260, + "id": 300, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1551,7 +1859,7 @@ }, "children": [ { - "id": 261, + "id": 301, "name": "data", "kind": 32, "kindString": "Variable", @@ -1561,7 +1869,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 19 } ], @@ -1571,7 +1879,7 @@ { "type": "reflection", "declaration": { - "id": 262, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1581,7 +1889,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 20 } ] @@ -1595,7 +1903,7 @@ } }, { - "id": 263, + "id": 303, "name": "error", "kind": 32, "kindString": "Variable", @@ -1605,7 +1913,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 37 } ], @@ -1629,15 +1937,15 @@ "title": "Variables", "kind": 32, "children": [ - 261, - 263 + 301, + 303 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 147, + "line": 228, "character": 13 } ] @@ -1651,13 +1959,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 142, + "line": 223, "character": 29 } ] }, { - "id": 235, + "id": 258, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -1666,7 +1974,7 @@ }, "signatures": [ { - "id": 236, + "id": 259, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -1678,7 +1986,7 @@ }, "parameters": [ { - "id": 237, + "id": 260, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1693,6 +2001,470 @@ "name": "string" } }, + { + "id": 261, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 262, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 263, + "name": "redirectTo", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 138, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 263 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 137, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 264, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 265, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "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", + "name": "null" + } + ] + } + }, + { + "id": 267, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 37 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 265, + 267 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 135, + "character": 26 + } + ] + }, + { + "id": 268, + "name": "sendMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 269, + "name": "sendMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" + }, + "parameters": [ + { + "id": 270, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's phone number WITH international prefix\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 271, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 272, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 52 + } + ], + "type": { + "type": "union", + "types": [ + { + "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", + "name": "null" + } + ] + } + }, + { + "id": 274, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 70 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 272, + 274 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 46 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 21 + } + ] + }, + { + "id": 349, + "name": "setAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "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": 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", + "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", @@ -1724,7 +2496,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 97, + "line": 71, "character": 16 } ], @@ -1755,7 +2527,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 96, + "line": 70, "character": 12 } ] @@ -1786,312 +2558,6 @@ "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", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 99, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 242, - 244 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 99, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 94, - "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", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 226, - "name": "signInWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Logs in an existing user using their email address." - }, - "parameters": [ - { - "id": 227, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "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, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 230, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 231, - "name": "redirectTo", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 71, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 231 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 70, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 232, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 233, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "GoTrueApi.ts", @@ -2115,7 +2581,7 @@ } }, { - "id": 234, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -2149,8 +2615,8 @@ "title": "Variables", "kind": 32, "children": [ - 233, - 234 + 242, + 243 ] } ], @@ -2177,7 +2643,167 @@ ] }, { - "id": 268, + "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 + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 257, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 42 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 256, + 257 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 114, + "character": 23 + } + ] + }, + { + "id": 308, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -2186,7 +2812,7 @@ }, "signatures": [ { - "id": 269, + "id": 309, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -2198,7 +2824,7 @@ }, "parameters": [ { - "id": 270, + "id": 310, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -2220,7 +2846,7 @@ { "type": "reflection", "declaration": { - "id": 271, + "id": 311, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2229,7 +2855,7 @@ }, "children": [ { - "id": 272, + "id": 312, "name": "error", "kind": 32, "kindString": "Variable", @@ -2239,7 +2865,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 176, + "line": 257, "character": 45 } ], @@ -2263,14 +2889,14 @@ "title": "Variables", "kind": 32, "children": [ - 272 + 312 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 176, + "line": 257, "character": 38 } ] @@ -2284,13 +2910,13 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 176, + "line": 257, "character": 15 } ] }, { - "id": 215, + "id": 224, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -2299,7 +2925,7 @@ }, "signatures": [ { - "id": 216, + "id": 225, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2312,7 +2938,7 @@ }, "parameters": [ { - "id": 217, + "id": 226, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2328,7 +2954,7 @@ } }, { - "id": 218, + "id": 227, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2344,7 +2970,7 @@ } }, { - "id": 219, + "id": 228, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2354,7 +2980,7 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2363,7 +2989,7 @@ }, "children": [ { - "id": 221, + "id": 230, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2398,7 +3024,7 @@ "title": "Variables", "kind": 32, "children": [ - 221 + 230 ] } ], @@ -2420,7 +3046,7 @@ { "type": "reflection", "declaration": { - "id": 222, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2429,7 +3055,7 @@ }, "children": [ { - "id": 223, + "id": 232, "name": "data", "kind": 32, "kindString": "Variable", @@ -2464,7 +3090,7 @@ } }, { - "id": 224, + "id": 233, "name": "error", "kind": 32, "kindString": "Variable", @@ -2498,8 +3124,8 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 224 + 232, + 233 ] } ], @@ -2526,7 +3152,172 @@ ] }, { - "id": 287, + "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 + }, + "children": [ + { + "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", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 97, + "character": 49 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "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", @@ -2535,7 +3326,7 @@ }, "signatures": [ { - "id": 288, + "id": 328, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -2547,7 +3338,7 @@ }, "parameters": [ { - "id": 289, + "id": 329, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -2563,7 +3354,7 @@ } }, { - "id": 290, + "id": 330, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -2575,7 +3366,7 @@ }, "type": { "type": "reference", - "id": 77, + "id": 82, "name": "UserAttributes" } } @@ -2586,7 +3377,7 @@ { "type": "reflection", "declaration": { - "id": 291, + "id": 331, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2595,7 +3386,7 @@ }, "children": [ { - "id": 293, + "id": 333, "name": "data", "kind": 32, "kindString": "Variable", @@ -2605,7 +3396,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 38 } ], @@ -2625,7 +3416,7 @@ } }, { - "id": 294, + "id": 334, "name": "error", "kind": 32, "kindString": "Variable", @@ -2635,7 +3426,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 58 } ], @@ -2654,7 +3445,7 @@ } }, { - "id": 292, + "id": 332, "name": "user", "kind": 32, "kindString": "Variable", @@ -2664,7 +3455,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 19 } ], @@ -2689,16 +3480,16 @@ "title": "Variables", "kind": 32, "children": [ - 293, - 294, - 292 + 333, + 334, + 332 ] } ], "sources": [ { "fileName": "GoTrueApi.ts", - "line": 235, + "line": 316, "character": 13 } ] @@ -2712,10 +3503,245 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 232, + "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": [ @@ -2723,36 +3749,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 ] } ], @@ -2770,7 +3801,7 @@ "title": "Classes", "kind": 128, "children": [ - 198 + 207 ] } ], @@ -2783,7 +3814,7 @@ ] }, { - "id": 323, + "id": 375, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -2793,7 +3824,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 324, + "id": 376, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -2802,7 +3833,7 @@ }, "children": [ { - "id": 333, + "id": 385, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2814,7 +3845,7 @@ }, "signatures": [ { - "id": 334, + "id": 386, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -2826,7 +3857,7 @@ }, "parameters": [ { - "id": 335, + "id": 387, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2836,7 +3867,7 @@ "type": { "type": "reflection", "declaration": { - "id": 336, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2845,7 +3876,7 @@ }, "children": [ { - "id": 343, + "id": 395, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -2859,7 +3890,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 60, + "line": 61, "character": 20 } ], @@ -2882,7 +3913,7 @@ } }, { - "id": 346, + "id": 398, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -2893,18 +3924,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", @@ -2918,7 +3949,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 59, + "line": 60, "character": 22 } ], @@ -2941,7 +3972,7 @@ } }, { - "id": 338, + "id": 390, "name": "headers", "kind": 32, "kindString": "Variable", @@ -2955,7 +3986,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 58, + "line": 59, "character": 11 } ], @@ -2969,7 +4000,7 @@ { "type": "reflection", "declaration": { - "id": 339, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2978,7 +4009,7 @@ }, "indexSignature": [ { - "id": 340, + "id": 392, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -2987,7 +4018,7 @@ }, "parameters": [ { - "id": 341, + "id": 393, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -3012,7 +4043,7 @@ } }, { - "id": 345, + "id": 397, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -3026,7 +4057,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 62, + "line": 63, "character": 16 } ], @@ -3036,7 +4067,7 @@ } }, { - "id": 344, + "id": 396, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -3050,7 +4081,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 61, + "line": 62, "character": 18 } ], @@ -3073,7 +4104,7 @@ } }, { - "id": 337, + "id": 389, "name": "url", "kind": 32, "kindString": "Variable", @@ -3087,7 +4118,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 57, + "line": 58, "character": 7 } ], @@ -3111,20 +4142,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 } ] @@ -3134,7 +4165,7 @@ ], "type": { "type": "reference", - "id": 324, + "id": 376, "name": "GoTrueClient" } } @@ -3142,13 +4173,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 45, + "line": 46, "character": 61 } ] }, { - "id": 325, + "id": 377, "name": "api", "kind": 1024, "kindString": "Property", @@ -3161,18 +4192,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", @@ -3183,7 +4214,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 41, + "line": 42, "character": 28 } ], @@ -3193,7 +4224,7 @@ } }, { - "id": 327, + "id": 379, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -3207,7 +4238,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 39, + "line": 40, "character": 26 } ], @@ -3227,7 +4258,7 @@ } }, { - "id": 326, + "id": 378, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -3241,7 +4272,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 35, + "line": 36, "character": 23 } ], @@ -3261,7 +4292,7 @@ } }, { - "id": 330, + "id": 382, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -3272,7 +4303,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 43, + "line": 44, "character": 24 } ], @@ -3282,7 +4313,7 @@ } }, { - "id": 329, + "id": 381, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -3293,7 +4324,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 42, + "line": 43, "character": 26 } ], @@ -3303,7 +4334,7 @@ } }, { - "id": 332, + "id": 384, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -3315,7 +4346,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 45, + "line": 46, "character": 29 } ], @@ -3334,7 +4365,7 @@ } }, { - "id": 331, + "id": 383, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -3345,7 +4376,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 44, + "line": 45, "character": 31 } ], @@ -3358,7 +4389,7 @@ }, { "type": "reference", - "id": 82, + "id": 87, "name": "Subscription" } ], @@ -3367,7 +4398,7 @@ "defaultValue": "new Map()" }, { - "id": 468, + "id": 550, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -3377,7 +4408,7 @@ }, "signatures": [ { - "id": 469, + "id": 551, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -3386,7 +4417,7 @@ }, "parameters": [ { - "id": 470, + "id": 552, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -3418,7 +4449,7 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 553, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3427,7 +4458,7 @@ }, "children": [ { - "id": 472, + "id": 554, "name": "data", "kind": 32, "kindString": "Variable", @@ -3437,7 +4468,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 532, + "line": 610, "character": 19 } ], @@ -3448,7 +4479,7 @@ } }, { - "id": 473, + "id": 555, "name": "error", "kind": 32, "kindString": "Variable", @@ -3458,7 +4489,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 532, + "line": 610, "character": 26 } ], @@ -3474,8 +4505,8 @@ "title": "Variables", "kind": 32, "children": [ - 472, - 473 + 554, + 555 ] } ] @@ -3484,7 +4515,7 @@ { "type": "reflection", "declaration": { - "id": 474, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3493,7 +4524,7 @@ }, "children": [ { - "id": 475, + "id": 557, "name": "data", "kind": 32, "kindString": "Variable", @@ -3503,7 +4534,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 534, + "line": 612, "character": 19 } ], @@ -3514,7 +4545,7 @@ "defaultValue": "null" }, { - "id": 476, + "id": 558, "name": "error", "kind": 32, "kindString": "Variable", @@ -3524,7 +4555,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 534, + "line": 612, "character": 32 } ], @@ -3539,8 +4570,8 @@ "title": "Variables", "kind": 32, "children": [ - 475, - 476 + 557, + 558 ] } ] @@ -3556,13 +4587,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 520, + "line": 598, "character": 33 } ] }, { - "id": 428, + "id": 496, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -3572,7 +4603,7 @@ }, "signatures": [ { - "id": 429, + "id": 497, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -3581,7 +4612,7 @@ }, "parameters": [ { - "id": 430, + "id": 498, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -3594,7 +4625,7 @@ } }, { - "id": 431, + "id": 499, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -3607,7 +4638,7 @@ } }, { - "id": 432, + "id": 500, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3617,7 +4648,7 @@ "type": { "type": "reflection", "declaration": { - "id": 433, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3626,7 +4657,7 @@ }, "children": [ { - "id": 434, + "id": 502, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3637,7 +4668,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 411, + "line": 473, "character": 16 } ], @@ -3661,14 +4692,14 @@ "title": "Variables", "kind": 32, "children": [ - 434 + 502 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 410, + "line": 472, "character": 12 } ] @@ -3686,7 +4717,7 @@ { "type": "reflection", "declaration": { - "id": 435, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3695,7 +4726,7 @@ }, "children": [ { - "id": 436, + "id": 504, "name": "data", "kind": 32, "kindString": "Variable", @@ -3705,7 +4736,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 19 } ], @@ -3716,7 +4747,7 @@ } }, { - "id": 439, + "id": 507, "name": "error", "kind": 32, "kindString": "Variable", @@ -3726,7 +4757,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 58 } ], @@ -3737,7 +4768,7 @@ "defaultValue": "null" }, { - "id": 438, + "id": 506, "name": "session", "kind": 32, "kindString": "Variable", @@ -3747,7 +4778,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 45 } ], @@ -3759,7 +4790,7 @@ "defaultValue": "data" }, { - "id": 437, + "id": 505, "name": "user", "kind": 32, "kindString": "Variable", @@ -3769,7 +4800,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 425, + "line": 487, "character": 25 } ], @@ -3795,10 +4826,10 @@ "title": "Variables", "kind": 32, "children": [ - 436, - 439, - 438, - 437 + 504, + 507, + 506, + 505 ] } ] @@ -3807,7 +4838,7 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 508, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3816,7 +4847,7 @@ }, "children": [ { - "id": 441, + "id": 509, "name": "data", "kind": 32, "kindString": "Variable", @@ -3826,7 +4857,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 19 } ], @@ -3837,7 +4868,7 @@ "defaultValue": "null" }, { - "id": 444, + "id": 512, "name": "error", "kind": 32, "kindString": "Variable", @@ -3847,7 +4878,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 59 } ], @@ -3857,7 +4888,7 @@ } }, { - "id": 443, + "id": 511, "name": "session", "kind": 32, "kindString": "Variable", @@ -3867,7 +4898,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 46 } ], @@ -3878,7 +4909,7 @@ "defaultValue": "null" }, { - "id": 442, + "id": 510, "name": "user", "kind": 32, "kindString": "Variable", @@ -3888,7 +4919,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 427, + "line": 489, "character": 31 } ], @@ -3904,10 +4935,10 @@ "title": "Variables", "kind": 32, "children": [ - 441, - 444, - 443, - 442 + 509, + 512, + 511, + 510 ] } ] @@ -3923,13 +4954,310 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 407, + "line": 469, "character": 34 } ] }, { - "id": 445, + "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", @@ -3939,7 +5267,7 @@ }, "signatures": [ { - "id": 446, + "id": 528, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -3948,7 +5276,7 @@ }, "parameters": [ { - "id": 447, + "id": 529, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -3957,12 +5285,12 @@ }, "type": { "type": "reference", - "id": 103, + "id": 112, "name": "Provider" } }, { - "id": 448, + "id": 530, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3972,7 +5300,7 @@ "type": { "type": "reflection", "declaration": { - "id": 449, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3981,7 +5309,7 @@ }, "children": [ { - "id": 450, + "id": 532, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3992,7 +5320,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 434, + "line": 512, "character": 16 } ], @@ -4011,7 +5339,7 @@ } }, { - "id": 451, + "id": 533, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -4022,7 +5350,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 435, + "line": 513, "character": 12 } ], @@ -4046,15 +5374,15 @@ "title": "Variables", "kind": 32, "children": [ - 450, - 451 + 532, + 533 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 433, + "line": 511, "character": 12 } ] @@ -4069,7 +5397,7 @@ { "type": "reflection", "declaration": { - "id": 452, + "id": 534, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4078,7 +5406,7 @@ }, "children": [ { - "id": 455, + "id": 537, "name": "data", "kind": 32, "kindString": "Variable", @@ -4088,7 +5416,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 448, + "line": 526, "character": 34 } ], @@ -4099,7 +5427,7 @@ "defaultValue": "null" }, { - "id": 458, + "id": 540, "name": "error", "kind": 32, "kindString": "Variable", @@ -4109,7 +5437,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 448, + "line": 526, "character": 74 } ], @@ -4120,7 +5448,7 @@ "defaultValue": "null" }, { - "id": 453, + "id": 535, "name": "provider", "kind": 32, "kindString": "Variable", @@ -4130,18 +5458,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", @@ -4151,7 +5479,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 448, + "line": 526, "character": 49 } ], @@ -4162,7 +5490,7 @@ "defaultValue": "null" }, { - "id": 454, + "id": 536, "name": "url", "kind": 32, "kindString": "Variable", @@ -4172,7 +5500,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 448, + "line": 526, "character": 28 } ], @@ -4182,7 +5510,7 @@ } }, { - "id": 457, + "id": 539, "name": "user", "kind": 32, "kindString": "Variable", @@ -4192,7 +5520,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 448, + "line": 526, "character": 61 } ], @@ -4208,12 +5536,12 @@ "title": "Variables", "kind": 32, "children": [ - 455, - 458, - 453, - 456, - 454, - 457 + 537, + 540, + 535, + 538, + 536, + 539 ] } ] @@ -4222,7 +5550,7 @@ { "type": "reflection", "declaration": { - "id": 459, + "id": 541, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4231,7 +5559,7 @@ }, "children": [ { - "id": 460, + "id": 542, "name": "data", "kind": 32, "kindString": "Variable", @@ -4241,7 +5569,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 452, + "line": 530, "character": 19 } ], @@ -4252,7 +5580,7 @@ "defaultValue": "null" }, { - "id": 463, + "id": 545, "name": "error", "kind": 32, "kindString": "Variable", @@ -4262,7 +5590,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 452, + "line": 530, "character": 59 } ], @@ -4272,7 +5600,7 @@ } }, { - "id": 462, + "id": 544, "name": "session", "kind": 32, "kindString": "Variable", @@ -4282,7 +5610,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 452, + "line": 530, "character": 46 } ], @@ -4293,7 +5621,7 @@ "defaultValue": "null" }, { - "id": 461, + "id": 543, "name": "user", "kind": 32, "kindString": "Variable", @@ -4303,7 +5631,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 452, + "line": 530, "character": 31 } ], @@ -4319,10 +5647,10 @@ "title": "Variables", "kind": 32, "children": [ - 460, - 463, - 462, - 461 + 542, + 545, + 544, + 543 ] } ] @@ -4335,13 +5663,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 431, + "line": 509, "character": 31 } ] }, { - "id": 477, + "id": 559, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -4351,7 +5679,7 @@ }, "signatures": [ { - "id": 478, + "id": 560, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -4360,7 +5688,7 @@ }, "parameters": [ { - "id": 479, + "id": 561, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -4369,7 +5697,7 @@ }, "type": { "type": "reference", - "id": 104, + "id": 113, "name": "AuthChangeEvent" } } @@ -4383,13 +5711,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 538, + "line": 616, "character": 31 } ] }, { - "id": 483, + "id": 565, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -4399,7 +5727,7 @@ }, "signatures": [ { - "id": 484, + "id": 566, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -4408,7 +5736,7 @@ }, "parameters": [ { - "id": 485, + "id": 567, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -4431,13 +5759,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 565, + "line": 643, "character": 25 } ] }, { - "id": 466, + "id": 548, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -4447,7 +5775,7 @@ }, "signatures": [ { - "id": 467, + "id": 549, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -4481,13 +5809,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 484, + "line": 562, "character": 34 } ] }, { - "id": 464, + "id": 546, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -4497,7 +5825,7 @@ }, "signatures": [ { - "id": 465, + "id": 547, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -4525,13 +5853,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 460, + "line": 538, "character": 25 } ] }, { - "id": 486, + "id": 568, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -4541,7 +5869,7 @@ }, "signatures": [ { - "id": 487, + "id": 569, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -4563,13 +5891,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 570, + "line": 648, "character": 30 } ] }, { - "id": 480, + "id": 562, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -4579,7 +5907,7 @@ }, "signatures": [ { - "id": 481, + "id": 563, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -4591,7 +5919,7 @@ }, "parameters": [ { - "id": 482, + "id": 564, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -4614,13 +5942,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 546, + "line": 624, "character": 22 } ] }, { - "id": 488, + "id": 570, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -4630,7 +5958,7 @@ }, "signatures": [ { - "id": 489, + "id": 571, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -4642,7 +5970,7 @@ }, "parameters": [ { - "id": 490, + "id": 572, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4667,13 +5995,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 581, + "line": 659, "character": 32 } ] }, { - "id": 406, + "id": 474, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -4682,7 +6010,7 @@ }, "signatures": [ { - "id": 407, + "id": 475, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -4694,7 +6022,7 @@ }, "parameters": [ { - "id": 408, + "id": 476, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4712,7 +6040,7 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4721,7 +6049,7 @@ }, "children": [ { - "id": 410, + "id": 478, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -4735,7 +6063,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 317, + "line": 379, "character": 16 } ], @@ -4763,7 +6091,7 @@ "title": "Variables", "kind": 32, "children": [ - 410 + 478 ] } ] @@ -4779,7 +6107,7 @@ { "type": "reflection", "declaration": { - "id": 411, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4788,7 +6116,7 @@ }, "children": [ { - "id": 412, + "id": 480, "name": "data", "kind": 32, "kindString": "Variable", @@ -4798,7 +6126,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 318, + "line": 380, "character": 20 } ], @@ -4818,7 +6146,7 @@ } }, { - "id": 413, + "id": 481, "name": "error", "kind": 32, "kindString": "Variable", @@ -4828,7 +6156,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 318, + "line": 380, "character": 43 } ], @@ -4852,15 +6180,15 @@ "title": "Variables", "kind": 32, "children": [ - 412, - 413 + 480, + 481 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 318, + "line": 380, "character": 14 } ] @@ -4874,13 +6202,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 316, + "line": 378, "character": 25 } ] }, { - "id": 418, + "id": 486, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -4889,7 +6217,7 @@ }, "signatures": [ { - "id": 419, + "id": 487, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -4902,7 +6230,7 @@ }, "parameters": [ { - "id": 420, + "id": 488, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -4912,7 +6240,7 @@ "type": { "type": "reflection", "declaration": { - "id": 421, + "id": 489, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4921,7 +6249,7 @@ }, "signatures": [ { - "id": 422, + "id": 490, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4930,7 +6258,7 @@ }, "parameters": [ { - "id": 423, + "id": 491, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -4939,12 +6267,12 @@ }, "type": { "type": "reference", - "id": 104, + "id": 113, "name": "AuthChangeEvent" } }, { - "id": 424, + "id": 492, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -4976,7 +6304,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 388, + "line": 450, "character": 13 } ] @@ -4987,7 +6315,7 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 493, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4996,7 +6324,7 @@ }, "children": [ { - "id": 426, + "id": 494, "name": "data", "kind": 32, "kindString": "Variable", @@ -5006,7 +6334,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 389, + "line": 451, "character": 11 } ], @@ -5015,7 +6343,7 @@ "types": [ { "type": "reference", - "id": 82, + "id": 87, "name": "Subscription" }, { @@ -5026,7 +6354,7 @@ } }, { - "id": 427, + "id": 495, "name": "error", "kind": 32, "kindString": "Variable", @@ -5036,7 +6364,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 389, + "line": 451, "character": 39 } ], @@ -5060,15 +6388,15 @@ "title": "Variables", "kind": 32, "children": [ - 426, - 427 + 494, + 495 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 389, + "line": 451, "character": 4 } ] @@ -5079,13 +6407,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 387, + "line": 449, "character": 19 } ] }, { - "id": 384, + "id": 452, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -5094,7 +6422,7 @@ }, "signatures": [ { - "id": 385, + "id": 453, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -5110,7 +6438,7 @@ { "type": "reflection", "declaration": { - "id": 386, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5119,7 +6447,7 @@ }, "children": [ { - "id": 387, + "id": 455, "name": "data", "kind": 32, "kindString": "Variable", @@ -5129,7 +6457,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 224, + "line": 286, "character": 8 } ], @@ -5149,7 +6477,7 @@ } }, { - "id": 389, + "id": 457, "name": "error", "kind": 32, "kindString": "Variable", @@ -5159,7 +6487,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 226, + "line": 288, "character": 9 } ], @@ -5178,7 +6506,7 @@ } }, { - "id": 388, + "id": 456, "name": "user", "kind": 32, "kindString": "Variable", @@ -5188,7 +6516,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 225, + "line": 287, "character": 8 } ], @@ -5213,16 +6541,16 @@ "title": "Variables", "kind": 32, "children": [ - 387, - 389, - 388 + 455, + 457, + 456 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 285, "character": 34 } ] @@ -5236,13 +6564,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 285, "character": 22 } ] }, { - "id": 382, + "id": 450, "name": "session", "kind": 2048, "kindString": "Method", @@ -5251,7 +6579,7 @@ }, "signatures": [ { - "id": 383, + "id": 451, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -5280,13 +6608,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 216, + "line": 278, "character": 9 } ] }, { - "id": 403, + "id": 471, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -5295,7 +6623,7 @@ }, "signatures": [ { - "id": 404, + "id": 472, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -5307,7 +6635,7 @@ }, "parameters": [ { - "id": 405, + "id": 473, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -5333,13 +6661,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 301, + "line": 363, "character": 9 } ] }, { - "id": 397, + "id": 465, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -5348,7 +6676,7 @@ }, "signatures": [ { - "id": 398, + "id": 466, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -5360,7 +6688,7 @@ }, "parameters": [ { - "id": 399, + "id": 467, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -5382,7 +6710,7 @@ { "type": "reflection", "declaration": { - "id": 400, + "id": 468, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5391,7 +6719,7 @@ }, "children": [ { - "id": 402, + "id": 470, "name": "error", "kind": 32, "kindString": "Variable", @@ -5401,7 +6729,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 273, + "line": 335, "character": 45 } ], @@ -5420,7 +6748,7 @@ } }, { - "id": 401, + "id": 469, "name": "session", "kind": 32, "kindString": "Variable", @@ -5430,7 +6758,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 273, + "line": 335, "character": 22 } ], @@ -5455,15 +6783,15 @@ "title": "Variables", "kind": 32, "children": [ - 402, - 401 + 470, + 469 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 273, + "line": 335, "character": 13 } ] @@ -5477,13 +6805,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 271, + "line": 333, "character": 18 } ] }, { - "id": 361, + "id": 414, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -5492,7 +6820,7 @@ }, "signatures": [ { - "id": 362, + "id": 415, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -5504,7 +6832,7 @@ }, "parameters": [ { - "id": 363, + "id": 416, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5515,7 +6843,7 @@ "type": { "type": "reflection", "declaration": { - "id": 364, + "id": 417, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5524,7 +6852,7 @@ }, "children": [ { - "id": 365, + "id": 418, "name": "email", "kind": 32, "kindString": "Variable", @@ -5537,7 +6865,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 153, + "line": 158, "character": 11 } ], @@ -5556,7 +6884,7 @@ } }, { - "id": 366, + "id": 420, "name": "password", "kind": 32, "kindString": "Variable", @@ -5569,8 +6897,8 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 153, - "character": 21 + "line": 158, + "character": 28 } ], "type": { @@ -5588,7 +6916,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", @@ -5601,8 +6958,8 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 153, - "character": 45 + "line": 158, + "character": 52 } ], "type": { @@ -5647,12 +7004,16 @@ { "type": "stringLiteral", "value": "discord" + }, + { + "type": "stringLiteral", + "value": "twitch" } ] } }, { - "id": 367, + "id": 421, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -5665,8 +7026,8 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 153, - "character": 35 + "line": 158, + "character": 42 } ], "type": { @@ -5689,17 +7050,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 } ] @@ -5707,7 +7069,7 @@ } }, { - "id": 369, + "id": 423, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5717,7 +7079,7 @@ "type": { "type": "reflection", "declaration": { - "id": 370, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5726,7 +7088,7 @@ }, "children": [ { - "id": 371, + "id": 425, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -5737,7 +7099,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 155, + "line": 160, "character": 16 } ], @@ -5756,7 +7118,7 @@ } }, { - "id": 372, + "id": 426, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -5767,7 +7129,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 156, + "line": 161, "character": 12 } ], @@ -5791,15 +7153,15 @@ "title": "Variables", "kind": 32, "children": [ - 371, - 372 + 425, + 426 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 154, + "line": 159, "character": 12 } ] @@ -5814,7 +7176,7 @@ { "type": "reflection", "declaration": { - "id": 373, + "id": 427, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5823,7 +7185,7 @@ }, "children": [ { - "id": 379, + "id": 433, "name": "data", "kind": 32, "kindString": "Variable", @@ -5833,7 +7195,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 164, + "line": 169, "character": 8 } ], @@ -5853,7 +7215,7 @@ } }, { - "id": 378, + "id": 432, "name": "error", "kind": 32, "kindString": "Variable", @@ -5863,7 +7225,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 163, + "line": 168, "character": 9 } ], @@ -5882,7 +7244,7 @@ } }, { - "id": 376, + "id": 430, "name": "provider", "kind": 32, "kindString": "Variable", @@ -5893,18 +7255,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", @@ -5914,7 +7276,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 159, + "line": 164, "character": 11 } ], @@ -5934,7 +7296,7 @@ } }, { - "id": 377, + "id": 431, "name": "url", "kind": 32, "kindString": "Variable", @@ -5945,7 +7307,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 162, + "line": 167, "character": 7 } ], @@ -5964,7 +7326,7 @@ } }, { - "id": 375, + "id": 429, "name": "user", "kind": 32, "kindString": "Variable", @@ -5974,7 +7336,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 160, + "line": 165, "character": 8 } ], @@ -5999,19 +7361,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 } ] @@ -6025,13 +7387,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 152, + "line": 157, "character": 14 } ] }, { - "id": 414, + "id": 482, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -6040,7 +7402,7 @@ }, "signatures": [ { - "id": 415, + "id": 483, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -6048,7 +7410,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": { @@ -6057,7 +7419,7 @@ { "type": "reflection", "declaration": { - "id": 416, + "id": 484, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6066,7 +7428,7 @@ }, "children": [ { - "id": 417, + "id": 485, "name": "error", "kind": 32, "kindString": "Variable", @@ -6076,7 +7438,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 372, + "line": 434, "character": 34 } ], @@ -6100,14 +7462,14 @@ "title": "Variables", "kind": 32, "children": [ - 417 + 485 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 372, + "line": 434, "character": 27 } ] @@ -6121,13 +7483,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 372, + "line": 434, "character": 15 } ] }, { - "id": 347, + "id": 399, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -6136,7 +7498,7 @@ }, "signatures": [ { - "id": 348, + "id": 400, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -6148,7 +7510,7 @@ }, "parameters": [ { - "id": 349, + "id": 401, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6159,7 +7521,7 @@ "type": { "type": "reflection", "declaration": { - "id": 350, + "id": 402, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6168,7 +7530,7 @@ }, "children": [ { - "id": 351, + "id": 403, "name": "email", "kind": 32, "kindString": "Variable", @@ -6181,7 +7543,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 97, + "line": 99, "character": 11 } ], @@ -6200,7 +7562,7 @@ } }, { - "id": 352, + "id": 404, "name": "password", "kind": 32, "kindString": "Variable", @@ -6213,7 +7575,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 97, + "line": 99, "character": 21 } ], @@ -6230,6 +7592,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": [ @@ -6237,15 +7631,16 @@ "title": "Variables", "kind": 32, "children": [ - 351, - 352 + 403, + 404, + 405 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 96, + "line": 98, "character": 15 } ] @@ -6253,7 +7648,7 @@ } }, { - "id": 353, + "id": 406, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6263,7 +7658,7 @@ "type": { "type": "reflection", "declaration": { - "id": 354, + "id": 407, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6272,7 +7667,7 @@ }, "children": [ { - "id": 355, + "id": 408, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -6283,7 +7678,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 99, + "line": 101, "character": 16 } ], @@ -6307,14 +7702,14 @@ "title": "Variables", "kind": 32, "children": [ - 355 + 408 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 100, "character": 12 } ] @@ -6329,7 +7724,7 @@ { "type": "reflection", "declaration": { - "id": 356, + "id": 409, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6338,7 +7733,7 @@ }, "children": [ { - "id": 360, + "id": 413, "name": "data", "kind": 32, "kindString": "Variable", @@ -6348,7 +7743,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 105, + "line": 107, "character": 8 } ], @@ -6373,7 +7768,7 @@ } }, { - "id": 359, + "id": 412, "name": "error", "kind": 32, "kindString": "Variable", @@ -6383,7 +7778,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 104, + "line": 106, "character": 9 } ], @@ -6402,7 +7797,7 @@ } }, { - "id": 358, + "id": 411, "name": "session", "kind": 32, "kindString": "Variable", @@ -6412,7 +7807,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 103, + "line": 105, "character": 11 } ], @@ -6432,7 +7827,7 @@ } }, { - "id": 357, + "id": 410, "name": "user", "kind": 32, "kindString": "Variable", @@ -6442,7 +7837,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 102, + "line": 104, "character": 8 } ], @@ -6467,17 +7862,17 @@ "title": "Variables", "kind": 32, "children": [ - 360, - 359, - 358, - 357 + 413, + 412, + 411, + 410 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 101, + "line": 103, "character": 13 } ] @@ -6491,13 +7886,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 96, + "line": 98, "character": 14 } ] }, { - "id": 390, + "id": 458, "name": "update", "kind": 2048, "kindString": "Method", @@ -6506,7 +7901,7 @@ }, "signatures": [ { - "id": 391, + "id": 459, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6518,7 +7913,7 @@ }, "parameters": [ { - "id": 392, + "id": 460, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -6527,7 +7922,7 @@ }, "type": { "type": "reference", - "id": 77, + "id": 82, "name": "UserAttributes" } } @@ -6538,7 +7933,7 @@ { "type": "reflection", "declaration": { - "id": 393, + "id": 461, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6547,7 +7942,7 @@ }, "children": [ { - "id": 394, + "id": 462, "name": "data", "kind": 32, "kindString": "Variable", @@ -6557,7 +7952,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 246, + "line": 308, "character": 19 } ], @@ -6577,7 +7972,7 @@ } }, { - "id": 396, + "id": 464, "name": "error", "kind": 32, "kindString": "Variable", @@ -6587,7 +7982,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 246, + "line": 308, "character": 58 } ], @@ -6606,7 +8001,7 @@ } }, { - "id": 395, + "id": 463, "name": "user", "kind": 32, "kindString": "Variable", @@ -6616,7 +8011,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 246, + "line": 308, "character": 38 } ], @@ -6641,16 +8036,16 @@ "title": "Variables", "kind": 32, "children": [ - 394, - 396, - 395 + 462, + 464, + 463 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 246, + "line": 308, "character": 13 } ] @@ -6664,13 +8059,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 244, + "line": 306, "character": 14 } ] }, { - "id": 380, + "id": 448, "name": "user", "kind": 2048, "kindString": "Method", @@ -6679,7 +8074,7 @@ }, "signatures": [ { - "id": 381, + "id": 449, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -6709,10 +8104,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": [ @@ -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 } ] @@ -10415,7 +12205,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 34, + "line": 44, "character": 5 } ], @@ -10436,7 +12226,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 35, + "line": 45, "character": 22 } ], @@ -10455,7 +12245,7 @@ } }, { - "id": 73, + "id": 76, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -10466,7 +12256,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 38, + "line": 51, "character": 14 } ], @@ -10485,7 +12275,7 @@ } }, { - "id": 72, + "id": 75, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -10495,7 +12285,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 37, + "line": 50, "character": 12 } ], @@ -10505,7 +12295,7 @@ } }, { - "id": 71, + "id": 73, "name": "email", "kind": 1024, "kindString": "Property", @@ -10516,7 +12306,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 36, + "line": 48, "character": 7 } ], @@ -10534,6 +12324,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", @@ -10545,7 +12365,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 26, + "line": 36, "character": 4 } ], @@ -10555,7 +12375,7 @@ } }, { - "id": 74, + "id": 79, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -10566,7 +12386,7 @@ "sources": [ { "fileName": "lib/types.ts", - "line": 39, + "line": 54, "character": 17 } ], @@ -10585,7 +12405,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", @@ -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, - 73, - 72, - 71, - 59, - 74, - 75, 76, + 75, + 73, + 77, + 59, + 79, + 74, + 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": 91, + "line": 106, "character": 32 } ] }, { - "id": 104, + "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": 115, + "character": 32 + } + ] + }, + { + "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.json index 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, - 210, - 214, - 209, - 202, - 211, - 217, - 213, - 212, - 219, 220, - 206, - 207 + 218, + 217, + 199, + 200, + 210, + 212, + 216, + 211, + 204, + 213, + 219, + 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": [ + 311, + 310, + 313, + 307, 309, 308, - 311, - 305, - 307, + 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,54 +3076,23 @@ "sources": [ { "fileName": "RealtimeSubscription.ts", - "line": 204, + "line": 207, "character": 10 } ] }, { - "id": 165, + "id": 167, "name": "isJoining", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, - "signatures": [ - { - "id": 166, - "name": "isJoining", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "sources": [ - { - "fileName": "RealtimeSubscription.ts", - "line": 207, - "character": 11 - } - ] - }, - { - "id": 167, - "name": "isLeaving", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, "signatures": [ { "id": 168, - "name": "isLeaving", + "name": "isJoining", "kind": 4096, "kindString": "Call signature", "flags": { @@ -3144,7 +3113,38 @@ ] }, { - "id": 140, + "id": 169, + "name": "isLeaving", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 170, + "name": "isLeaving", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeSubscription.ts", + "line": 213, + "character": 11 + } + ] + }, + { + "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.json index 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,15 +4204,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": [ @@ -4174,17 +4601,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 ] } ], @@ -4221,7 +4649,7 @@ ] }, { - "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 ] } From 2d067268e3b780e615af23cf91f9dc265dfab7da Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 09:45:36 +0900 Subject: [PATCH 02/15] feat: spec generation will generate dart pages --- web/package.json | 4 ++-- web/sidebar_spec_dart.js | 8 +++++++- web/sidebar_spec_postgres.js | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/web/package.json b/web/package.json index 671571b7d7d..54e42e1e240 100644 --- a/web/package.json +++ b/web/package.json @@ -7,7 +7,7 @@ "build": "npm run gen:all && docusaurus build", "swizzle": "docusaurus swizzle", "traction": "node traction.js", - "gen:all": "npm run gen:supabase && npm run gen:gotrue && npm run gen:postgrest && npm run gen:realtime && npm run gen:postgres && npm run gen:cli", + "gen:all": "npm run gen:supabase && npm run gen:dart && npm run gen:gotrue && npm run gen:postgrest && npm run gen:realtime && npm run gen:postgres && npm run gen:cli", "gen:dart": "ts-node ReferenceGenerator.ts -o docs/reference/dart spec/dart.yml", "gen:gotrue": "ts-node ReferenceGenerator.ts -o docs/gotrue/client spec/gotrue.yml", "gen:postgrest": "ts-node ReferenceGenerator.ts -o docs/postgrest/client spec/postgrest.yml", @@ -48,4 +48,4 @@ "ts-node": "^9.0.0", "typescript": "^4.1.3" } -} +} \ No newline at end of file diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js index 0a145370861..d9a1c245a73 100644 --- a/web/sidebar_spec_dart.js +++ b/web/sidebar_spec_dart.js @@ -3,7 +3,13 @@ module.exports = { { type: 'category', label: 'About', - items: ['reference/dart/index', 'reference/dart/installing', 'reference/dart/initializing'], + items: ['reference/dart/installing', 'reference/dart/initializing'], + collapsed: true, + }, + { + type: 'category', + label: 'Auth', + items: ['reference/dart/auth-signup', 'reference/dart/auth-signin', 'reference/dart/auth-signout', 'reference/dart/auth-session', 'reference/dart/auth-user', 'reference/dart/auth-update', 'reference/dart/auth-onauthstatechange', 'reference/dart/reset-password-email', 'reference/dart/delete-user'], collapsed: true, } ], diff --git a/web/sidebar_spec_postgres.js b/web/sidebar_spec_postgres.js index d45dcbdcd95..a33d3af5072 100644 --- a/web/sidebar_spec_postgres.js +++ b/web/sidebar_spec_postgres.js @@ -23,6 +23,6 @@ module.exports = { label: 'Database Configuration', items: ['reference/postgres/database-passwords', 'reference/postgres/changing-timezones'], collapsed: true, - }, + } ], } \ No newline at end of file From 0033df405c87187ba837d9edf52841dd3ba52780 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 19:40:13 +0900 Subject: [PATCH 03/15] feat: done with auth docs --- web/spec/dart.yml | 178 +++++++++++++++++++++++----------------------- 1 file changed, 88 insertions(+), 90 deletions(-) diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 6459162aff5..53e0246bb29 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -23,13 +23,13 @@ info: items: - auth.signUp() - auth.signIn() + - auth.signInWithProvider() - auth.signOut() - auth.session() - auth.user() - auth.update() - auth.onAuthStateChange() - Reset Password (Email) - - Delete User # - name: 'Data' # items: # - select() @@ -117,7 +117,7 @@ pages: `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. + For the most part `supabase-flutter` are share the same API `supabase` with few exceptions such as initialization or OAuth sign in. Initializing: description: | @@ -140,7 +140,7 @@ pages: ``` - name: Flutter initialize() dart: | - ```dart + ```dart title="main.dart" Future main() async { await Supabase.initialize(url: 'https://xyzcompany.supabase.co', anonKey: 'public-anon-key'); runApp(MyApp()); @@ -161,20 +161,20 @@ pages: final res = await supabase.auth.signUp('example@email.com', '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. + If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase-flutter`. auth.signIn(): notes: | - - A user can sign up either via email or OAuth. + - A user can sign up via email, phone number. - 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. + - Similary, if you provide `phone` without a `password`, the user will be sent a one time password. + - If you are looking to sign users in with OAuth in Flutter apps, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider). examples: - name: Sign in with email. isSpotlight: true @@ -182,44 +182,58 @@ pages: ```dart final res = await supabase.auth.signIn(email: 'example@email.com', password: 'example-password'); - final user = res.data?user; - final session = res.data?.session; + final user = res.data?.user; 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. + description: If email is provided, but 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 final res = await supabase.auth.signIn(email: 'example@email.com'); - final user = res.data?user; - final session = res.data?.session; final error = res.error; ``` - - name: Sign in using third-party providers. + - name: Get OAuth sign in URL. description: | - Supabase supports OAuth logins. + Passing provider parameter to `signIn()` will return a URL to sign your user in via OAuth. + If you are looking to sign in a user via OAuth on Flutter app, go to [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider). dart: | ```dart final res = await supabase.auth.signIn(provider: Provider.github); - final user = res.data?user; - final session = res.data?.session; + final url = res.data?.url; 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' - }) + auth.signInWithProvider(): + notes: | + - `auth.signInWithProvider()` is only available on `supabase-flutter` + - It will open the browser to the relevant login page. + examples: + - name: Sign in with provider. + isSpotlight: true + dart: | + ```dart + final res = await supabase.auth.signInWithProvider(Provider.github); + + final error = res.error; ``` - - name: Sign in with scopes. + - name: With `redirectTo` + description: | + Specify the redirect link to bring back the user via deeplink. + Note that `redirectTo` should be null for Flutter Web. + dart: | + ```dart + final res = await supabase.auth.signInWithProvider( + Provider.github, + options: AuthOptions( + redirectTo: kIsWeb + ? null + : 'io.supabase.flutter://reset-callback/'), + ); + + final error = res.error; + ``` + - name: 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. @@ -232,85 +246,64 @@ pages: }) 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() + dart: | + ```dart + final res = await supabase.auth.signOut(); + + final error = res.error; ``` auth.session(): - $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.session' examples: - name: Get the session data isSpotlight: true - js: | - ```js - const session = supabase.auth.session() + dart: | + ```dart + final 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() + dart: | + ```dart + final 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' } - }) + dart: | + ```dart + final res = await supabase.auth.update( + UserAttributes(data: {'hello': 'world'}) + ); + + final error = res.error; ``` 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) - }) + dart: | + ```dart + final subscription = supabase.auth.onAuthStateChange((event, session) { + print(session?.user?.id); + // handle auth state change + }); ``` Reset Password (Email): - $ref: '@supabase/gotrue-js."GoTrueApi".GoTrueApi.resetPasswordForEmail' notes: | Sends a reset request to an email address. @@ -322,27 +315,32 @@ pages: 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 }) + ```dart + final res = await supabase.auth.api.updateUser( + accessToken, + UserAttributes(password: 'NEW_PASSWORD'), + ); ``` examples: - name: Reset password isSpotlight: true - js: | - ```js - const { data, error } = supabase.auth.api.resetPasswordForEmail('user@email.com') - ``` + dart: | + ```dart + final res = await supabase.auth.api.resetPasswordForEmail('user@example.com'); - Delete User: - $ref: '@supabase/gotrue-js."GoTrueApi".GoTrueApi.deleteUser' - examples: - - name: Remove a user completely. + final error = res.error; + ``` + - name: Reset password for Flutter isSpotlight: true - js: | - ```js - const { user, error } = await supabase.auth.api.deleteUser( - '715ed5db-f090-4b8c-a067-640ecee36aa0', - 'YOUR_SERVICE_ROLE_KEY' - ) + dart: | + You can pass `redirectTo` to open the app via deeplink when user opens the password reset email. + ```dart + final res = await supabase.auth.api.resetPasswordForEmail( + 'user@example.com', + options: AuthOptions(redirectTo: kIsWeb + ? null + : 'io.supabase.flutter://reset-callback/'), + ); + + final error = res.error; ``` From 05ca6c93726a969d391850c1cb1f1e1f67df0abd Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 20:39:07 +0900 Subject: [PATCH 04/15] feat: Done with postgrest --- web/spec/dart.yml | 283 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 273 insertions(+), 10 deletions(-) diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 53e0246bb29..85c366500c0 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -30,14 +30,14 @@ info: - auth.update() - auth.onAuthStateChange() - Reset Password (Email) - # - name: 'Data' - # items: - # - select() - # - insert() - # - update() - # - upsert() - # - delete() - # - rpc() + - name: 'Data' + items: + - select() + - insert() + - update() + - upsert() + - delete() + - rpc() # - name: 'Realtime' # items: # - subscribe() @@ -237,8 +237,8 @@ pages: 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 + dart: | + ```dart const { user, session, error } = await supabase.auth.signIn({ provider: 'github' }, { @@ -344,3 +344,266 @@ pages: final error = res.error; ``` + select(): + title: 'Fetch data: select()' + notes: | + - By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data. + TODO change the followinng links to dart + - `select()` can be combined with [Modifiers](/docs/reference/javascript/using-modifiers) + - `select()` can be combined with [Filters](/docs/reference/javascript/using-filters) + examples: + - name: Getting your data + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select() + .execute(); + + final data = res.data; + final error = res.error; + ``` + - name: Selecting specific columns + description: You can select specific fields from your tables. + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name') + .execute(); + ``` + - name: Query foreign tables + description: If your database has relationships, you can query related tables too. + dart: | + ```dart + final res = await supabase + .from('countries') + .select(''' + name, + cities ( + name + ) + ''') + .execute(); + ``` + - name: Query the same foreign table multiple times + description: | + Sometimes you will need to query the same foreign table twice. + In this case, you can use the name of the joined column to identify + which join you intend to use. For convenience, you can also give an + alias for each column. For example, if we had a shop of products, + and we wanted to get the supplier and the purchaser at the same time + (both in the users) table: + dart: | + ```dart + final res = await supabase + .from('products') + .select(''' + id, + supplier:supplier_id ( name ), + purchaser:purchaser_id ( name ) + ''') + .execute(); + ``` + - name: Querying with count option + description: | + You can get the number of rows by using the count option. + Allowed values for count option are [exact](https://postgrest.org/en/stable/api.html#exact-count), [planned](https://postgrest.org/en/stable/api.html#planned-count) and [estimated](https://postgrest.org/en/stable/api.html#estimated-count). + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name') + .execute(count: CountOption.exact); + + final count = res.count; + ``` + - name: Querying JSON data + description: | + If you have data inside of a JSONB column, you can apply select + and query filters to the data values. Postgres offers a + [number of operators](https://www.postgresql.org/docs/current/functions-json.html) + for querying JSON data. Also see + [PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details. + dart: | + ```dart + final res = await supabase + .from('users') + .select(''' + id, name, + address->street + ''') + .eq('address->postcode', 90210) + .execute(); + ``` + - name: Return data as CSV + description: | + By default the data is returned in JSON format, however you can also request for it to be returned as Comma Separated Values. + dart: | + ```dart + fianl res = await supabase + .from('users') + .select() + .csv() + .execute(); + ``` + + insert(): + title: 'Create data: insert()' + notes: | + - By default, every time you run `insert()`, the client library will make a `select` to return the full record. + This is convenient, but it can also cause problems if your Policies are not configured to allow the `select` operation. + If you are using Row Level Security and you are encountering problems, try setting the `returning` param to `minimal`. + examples: + - name: Create a record + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .insert([ + {'name': 'The Shire', 'country_id': 554} + ]).execute(); + ``` + - name: Bulk create + dart: | + ```dart + final res = await supabase + .from('cities') + .insert([ + {'name': 'The Shire', 'country_id': 554}, + {'name': 'Rohan', 'country_id': 555}, + ]).execute(); + ``` + + update(): + title: 'Modify data: update()' + notes: | + TODO update the link to dart + - `update()` should always be combined with [Filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to update. + examples: + - name: Updating your data + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Middle Earth' }) + .match({ 'name': 'Auckland' }) + .execute(); + ``` + - name: Updating JSON data + description: | + Postgres offers a + [number of operators](https://www.postgresql.org/docs/current/functions-json.html) + for working with JSON data. Right now it is only possible to update an entire JSON document, + but we are [working on ideas](https://github.com/PostgREST/postgrest/issues/465) for updating individual keys. + dart: | + ```dart + final res = await supabase + .from('users') + .update({ + 'address': { + 'street': 'Melrose Place', + 'postcode': 90210 + } + }) + .eq('address->postcode', 90210) + .execute(); + ``` + + upsert(): + title: 'Upsert data: upsert()' + notes: | + - Primary keys should to be included in the data payload in order for an update to work correctly. + - Primary keys must be natural, not surrogate. There are however, [workarounds](https://github.com/PostgREST/postgrest/issues/1118) for surrogate primary keys. + examples: + - name: Upsert your data + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('messages') + .upsert({ 'id': 3, 'message': 'foo', 'username': 'supabot' }) + .execute(); + ``` + - name: Upserting into tables with constraints + description: | + Running the following will cause supabase to upsert data into the `users` table. + If the username 'supabot' already exists, the `onConflict` argument tells supabase to overwrite that row + based on the column passed into `onConflict`. + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('users') + .upsert({ 'username': 'supabot' }, { 'onConflict': 'username' }) + .execute(); + ``` + - name: Return the exact number of rows + description: | + Allowed values for count option are `exact`, `planned` and `estimated`. + dart: | + ```dart + final res = await supabase + .from('users') + .upsert({ + 'id': 3, + 'message': 'foo', + 'username': 'supabot' + }) + .execute(count: CountOption.exact); + ``` + + delete(): + title: 'Delete data: delete()' + notes: | + TODO update link to dart + - `delete()` should always be combined with [Filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to delete. + examples: + - name: Delete records + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .match({ 'id': 666 }) + .execute(); + ``` + + rpc(): + title: 'Stored Procedures: rpc()' + description: | + You can call stored procedures as a "Remote Procedure Call". + + That's a fancy way of saying that you can put some logic into your database then call it from anywhere. + It's especially useful when the logic rarely changes - like password resets and updates. + examples: + - name: Call a stored procedure + isSpotlight: true + description: This is an example invoking a stored procedure. + dart: | + ```dart + final res = await supabase + .rpc('hello_world') + .execute(); + ``` + - name: With Parameters + dart: | + ```dart + final res = await supabase + .rpc('echo_city', params: { 'name': 'The Shire' }) + .execute(); + ``` + - name: With count option + description: | + You can specify a count option to get the row count along with your data. + Allowed values for count option are `exact`, `planned` and `estimated`. + dart: | + ```dart + final res = await supabase + .rpc('hello_world') + .execute(count: CountOption.exact); + ``` From ed637bb149b42e76e35851f232c5efe269d7bafd Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 21:11:11 +0900 Subject: [PATCH 05/15] feat: dart docs done with realtime and storage --- web/spec/dart.yml | 400 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 379 insertions(+), 21 deletions(-) diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 85c366500c0..031fde66071 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -38,27 +38,27 @@ info: - 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: '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 @@ -607,3 +607,361 @@ pages: .rpc('hello_world') .execute(count: CountOption.exact); ``` + + subscribe(): + title: 'on().subscribe()' + notes: | + - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime). + - If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;` + examples: + - name: Listen to all database changes + isSpotlight: true + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.all, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to a specific table + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.all, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to inserts + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.insert, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to updates + description: | + By default, Supabase will send only the updated record. If you want to receive the previous values as well you can + enable full replication for the table you are listening too: + + ```sql + alter table "your_table" replica identity full; + ``` + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.update, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to deletes + description: | + By default, Supabase does not send deleted records. If you want to receive the deleted record you can + enable full replication for the table you are listening too: + + ```sql + alter table "your_table" replica identity full; + ``` + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.delete, (payload) { + // Handle realtime payload + }) + .subscribe(); + ``` + - name: Listening to multiple events + description: You can chain listeners if you want to listen to multiple events for each table. + dart: | + ```dart + final mySubscription = supabase + .from('countries') + .on(SupabaseEventTypes.insert, handleInsert) + .on(SupabaseEventTypes.delete, handleDelete) + .subscribe(); + ``` + - name: Listening to row level changes + description: You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match. + dart: | + ```dart + final mySubscription = supabase + .from('countries:id=eq.200') + .on(SupabaseEventTypes.update, handleRecordUpdated) + .subscribe(); + ``` + + removeSubscription(): + title: 'removeSubscription()' + notes: | + - Removing subscriptions is a great way to maintain the performance of your project's database. Supabase will automatically handle cleanup 30 seconds after a user is disconnected, but unused subscriptions may cause degradation as more users are simultaneously subscribed. + examples: + - name: Remove a subscription + isSpotlight: true + dart: | + ```dart + supabase.removeSubscription(mySubscription); + ``` + + getSubscriptions(): + title: 'getSubscriptions()' + examples: + - name: Get all subscriptions + isSpotlight: true + dart: | + ```dart + final subscriptions = supabase.getSubscriptions(); + ``` + storage.listBuckets(): + title: 'listBuckets()' + $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.listBuckets' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` + - `objects` permissions: none + examples: + - name: List buckets + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .listBuckets() + ``` + + storage.getBucket(): + title: 'getBucket()' + $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.getBucket' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` + - `objects` permissions: none + examples: + - name: Get bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .getBucket('avatars') + ``` + + storage.createBucket(): + title: 'createBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `insert` + - `objects` permissions: none + examples: + - name: Create bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .createBucket('avatars'); + ``` + + storage.emptyBucket(): + title: 'emptyBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` + - `objects` permissions: `select` and `delete` + examples: + - name: Empty bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .emptyBucket('avatars'); + ``` + storage.updateBucket(): + title: 'updateBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `update` + - `objects` permissions: none + examples: + - name: Update bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .updateBucket('avatars', { public: false }); + ``` + + storage.deleteBucket(): + title: 'deleteBucket()' + notes: | + - Policy permissions required: + - `buckets` permissions: `select` and `delete` + - `objects` permissions: none + examples: + - name: Delete bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .deleteBucket('avatars'); + ``` + + storage.from.upload(): + title: 'from.upload()' + $ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.upload' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `insert` + examples: + - name: Upload file + isSpotlight: true + dart: | + ```dart + final avatarFile = File('path/to/file'); + final res = await supabase + .storage + .from('avatars') + .upload('public/avatar1.png', avatarFile, fileOptions: FileOptions( + cacheControl: '3600', + upsert: false + )); + ``` + + storage.from.update(): + title: 'from.update()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `update` and `select` + examples: + - name: Update file + isSpotlight: true + dart: | + ```dart + final avatarFile = File('path/to/file'); + final res = await supabase + .storage + .from('avatars') + .update('public/avatar1.png', avatarFile, fileOptions: FileOptions( + cacheControl: '3600', + upsert: false + )); + ``` + + storage.from.move(): + title: 'from.move()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `update` and `select` + examples: + - name: Move file + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .move('public/avatar1.png', 'private/avatar2.png'); + ``` + + storage.from.createSignedUrl(): + title: 'from.createSignedUrl()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `select` + examples: + - name: Create Signed URL + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .createSignedUrl('avatar1.png', 60); + + final signedURL = res.data; + ``` + + storage.from.getPublicUrl(): + title: 'from.getPublicUrl()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: none + examples: + - name: Returns the URL for an asset in a public bucket + isSpotlight: true + dart: | + ```dart + final res = supabase + .storage + .from('public-bucket') + .getPublicUrl('avatar1.png'); + + final publicURL = res.data; + ``` + + storage.from.download(): + title: 'from.download()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `select` + examples: + - name: Download file + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .download('avatar1.png'); + ``` + + storage.from.remove(): + title: 'from.remove()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `delete` and `select` + examples: + - name: Delete file + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .remove(['avatar1.png']); + ``` + + storage.from.list(): + title: 'from.list()' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: `select` + examples: + - name: List files in a bucket + isSpotlight: true + dart: | + ```dart + final res = await supabase + .storage + .from('avatars') + .list(); + ``` From 03ef555f53ada826423d32704016be500fc840a7 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 22:15:50 +0900 Subject: [PATCH 06/15] feat: dart doc done with modifiers --- web/spec/dart.yml | 92 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 85 insertions(+), 7 deletions(-) diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 031fde66071..207a40cc788 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -59,13 +59,13 @@ info: - storage.from.remove() - storage.from.createSignedUrl() - storage.from.getPublicUrl() - # - name: 'Modifiers' - # items: - # - Using Modifiers - # - limit() - # - order() - # - range() - # - single() + - name: 'Modifiers' + items: + - Using Modifiers + - limit() + - order() + - range() + - single() # - name: 'Filters' # items: # - Using Filters @@ -965,3 +965,81 @@ pages: .from('avatars') .list(); ``` + Using Modifiers: + description: | + Modifiers can be used on `select()` queries. + + If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function. + + limit(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .limit(1) + .execute(); + ``` + - name: With embedded resources + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, cities(name)') + .eq('name', 'United States') + .limit(1, foreignTable: 'cities' ) + .execute(); + ``` + + order(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .order('id', ascending: false ) + .execute(); + ``` + - name: With embedded resources + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, cities(name)') + .eq('name', 'United States') + .order('name', foreignTable: 'cities') + .execute(); + ``` + + range(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .range(0,3) + .execute(); + ``` + + single(): + $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.single' + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .single() + .execute(); + ``` From f2efee9d631d2cba376d7faa1ad21050ab4d0e01 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 23:12:58 +0900 Subject: [PATCH 07/15] feat: done with filter --- web/spec/dart.yml | 1052 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 1025 insertions(+), 27 deletions(-) diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 207a40cc788..28d732cbfe7 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -66,32 +66,32 @@ info: - 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() + - 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: | @@ -1031,7 +1031,6 @@ pages: ``` single(): - $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.single' examples: - name: With `select()` isSpotlight: true @@ -1043,3 +1042,1002 @@ pages: .single() .execute(); ``` + + Using Filters: + description: | + Filters can be used on `select()`, `update()`, and `delete()` queries. + + If a Stored Procedure returns a table response, you can also apply filters. + + ### Applying Filters + + You must apply your filters to the end of your query. For example: + + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .eq('name', 'The Shire') // Correct + .execute(); + + final res = await supabase + .from('cities') + .eq('name', 'The Shire') // Incorrect + .select('name, country_id') + .execute(); + ``` + + ### Chaining + + Filters can be chained together to produce advanced queries. For example: + + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .gte('population', 1000) + .lt('population', 10000) + .execute(); + ``` + + .filter(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .filter('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .filter('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .filter('name', 'eq', 'Paris') + .execute(); + ``` + # TODO Not available at the moment, so would have to fix the bug on postgrest-dart first + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .filter('name', 'eq', 'Paris') + # ``` + - name: Filter embedded resources + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, countries ( name )') + .filter('countries.name', 'eq', 'France') + .execute(); + ``` + + .or(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .or('id.eq.20,id.eq.30') + .execute(); + ``` + - name: Use `or` with `and` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)') + .execute(); + ``` + # TODO Not available at the moment, so would have to fix the bug on postgrest-dart first + # - name: Use `or` on foreign tables + # isSpotlight: true + # dart: | + # ```dart + # final res = await supabase + # .from('countries') + # .select('id, cities(*)') + # .or('name.eq.Wellington,name.eq.Paris', { foreignTable: "cities" }) + # ``` + + .not(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .not('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .not('name', 'eq', 'Paris') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .not('name', 'eq', 'Paris') + .execute(); + ``` + # TODO Not available in dart yes, so first fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities) + # .not('name', 'eq', 'Paris') + # ``` + + .match(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .match({'name': 'Beijing', 'country_id': 156}) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .match({'name': 'Beijing', 'country_id': 156}) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .match({'name': 'Beijing', 'country_id': 156}) + .execute(); + ``` + # TODO Not available in postgrest-dart yet, so first fix the bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .match({name: 'Beijing', country_id: 156}) + # ``` + + .eq(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .eq('name', 'The shire') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .eq('name', 'San Francisco') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .eq('name', 'Mordor') + .execute(); + ``` + # TODO Fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .eq('name', 'San Francisco') + # ``` + + .neq(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .neq('name', 'The shire') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .neq('name', 'San Francisco') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .neq('name', 'Mordor') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .neq('name', 'Lagos') + # ``` + + .gt(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .gt('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .gt('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .gt('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .gt('country_id', 250) + # ``` + + .gte(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .gte('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .gte('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .gte('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .gte('country_id', 250) + # ``` + + .lt(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .lt('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .lt('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .lt('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .lt('country_id', 250) + # .execute(); + # ``` + + .lte(): + $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lte' + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .lte('country_id', 250) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .lte('country_id', 250) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .lte('country_id', 250) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .lte('country_id', 250) + # .execute(); + # ``` + + .like(): + $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.like' + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .like('name', '%la%') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .like('name', '%la%') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .like('name', '%la%') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .like('name', '%la%') + # .execute(); + # ``` + + .ilike(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .ilike('name', '%la%') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .ilike('name', '%la%') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .ilike('name', '%la%') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .ilike('name', '%la%') + # .execute(); + # ``` + + # TODO Not available in dart yet, so uncomment when added + # .is(): + # examples: + # - name: With `select()` + # isSpotlight: true + # dart: | + # ```dart + # final res = await supabase + # .from('cities') + # .select('name, country_id') + # .is('name', null) + # .execute(); + # ``` + # - name: With `update()` + # dart: | + # ```dart + # final res = await supabase + # .from('cities') + # .update({ name: 'Mordor' }) + # .is('name', null) + # .execute(); + # ``` + # - name: With `delete()` + # dart: | + # ```dart + # final res = await supabase + # .from('cities') + # .delete() + # .is('name', null) + # .execute(); + # ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .is('name', null) + # .execute(); + # ``` + + # .in(): + # examples: + # - name: With `select()` + # isSpotlight: true + # dart: | + # ```dart + # final res = await supabase + # .from('cities') + # .select('name, country_id') + # .in('name', ['Rio de Janeiro', 'San Francisco']) + # .execute(); + # ``` + # - name: With `update()` + # dart: | + # ```dart + # final res = await supabase + # .from('cities') + # .update({ name: 'Mordor' }) + # .in('name', ['Rio de Janeiro', 'San Francisco']) + # .execute(); + # ``` + # - name: With `delete()` + # dart: | + # ```dart + # final res = await supabase + # .from('cities') + # .delete() + # .in('name', ['Rio de Janeiro', 'San Francisco']) + # .execute(); + # ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_cities') + # .in('name', ['Rio de Janeiro', 'San Francisco']) + # .execute(); + # ``` + + .contains(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, main_exports') + .contains('main_exports', ['oil']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .contains('main_exports', ['oil']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .contains('main_exports', ['oil']) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .contains('main_exports', ['oil']) + # .execute(); + # ``` + + .containedBy(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, main_exports') + .containedBy('main_exports', ['cars', 'food', 'machine']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .containedBy('main_exports', ['orks', 'surveillance', 'evil']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .containedBy('main_exports', ['cars', 'food', 'machine']) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .containedBy('main_exports', ['cars', 'food', 'machine']) + # .execute(); + # ``` + + .rangeLt(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeLt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeLt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeLt('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeLt('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeGt(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeGt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeGt('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeGt('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeGt('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeGte(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeGte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeGte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeGte('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeGte('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeLte(): + $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.nxr' + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeLte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeLte('population_range_millions', '[150, 250]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeLte('population_range_millions', '[150, 250]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeLte('population_range_millions', [150, 250]) + # .execute(); + # ``` + + .rangeAdjacent(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, population_range_millions') + .rangeAdjacent('population_range_millions', '[70, 185]') + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .rangeAdjacent('population_range_millions', '[70, 185]') + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .rangeAdjacent('population_range_millions', '[70, 185]') + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .rangeAdjacent('population_range_millions', [70, 185]) + # .execute(); + # ``` + + .overlaps(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('countries') + .select('name, id, main_exports') + .overlaps('main_exports', ['computers', 'minerals']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('countries') + .update({ 'name': 'Mordor' }) + .overlaps('main_exports', ['computers', 'minerals']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('countries') + .delete() + .overlaps('main_exports', ['computers', 'minerals']) + .execute(); + ``` + # TODO fix bug on postgrest-dart + # - name: With `rpc()` + # dart: | + # ```dart + # // Only valid if the Stored Procedure returns a table type. + # final res = await supabase + # .rpc('echo_all_countries') + # .overlaps('main_exports', ['computers', 'minerals']) + # .execute(); + # ``` + + .textSearch(): + examples: + - name: Text search + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat' & 'cat'", + config: 'english' + ) + .execute(); + ``` + - name: Basic normalization + description: Uses PostgreSQL's `plainto_tsquery` function. + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat' & 'cat'", + type: TextSearchType.plain, + config: 'english' + ) + .execute(); + ``` + - name: Full normalization + description: Uses PostgreSQL's `phraseto_tsquery` function. + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat' & 'cat'", + type: TextSearchType.phrase, + config: 'english' + ) + .execute(); + ``` + - name: Full normalization + description: | + Uses PostgreSQL's `websearch_to_tsquery` function. + This function will never raise syntax errors, which makes it possible to use raw user-supplied input for search, and can be used + with advanced operators. + + - `unquoted text`: text not inside quote marks will be converted to terms separated by & operators, as if processed by plainto_tsquery. + - `"quoted text"`: text inside quote marks will be converted to terms separated by <-> operators, as if processed by phraseto_tsquery. + - `OR`: the word “or” will be converted to the | operator. + - `-`: a dash will be converted to the ! operator. + + dart: | + ```dart + final res = await supabase + .from('quotes') + .select('catchphrase') + .textSearch('catchphrase', "'fat or cat'", + type: TextSearchType.websearch, + config: 'english' + ) + .execute(); + ``` From 123c353dbc42c0ff79000075c0324f706d35d707 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Sun, 15 Aug 2021 23:29:11 +0900 Subject: [PATCH 08/15] chore: ran build --- web/spec/dart.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 28d732cbfe7..913f9e1b94d 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -43,6 +43,9 @@ info: - subscribe() - removeSubscription() - getSubscriptions() + # - name: 'Stream' + # items: + # - stream() - name: 'Storage' items: - storage.createBucket() @@ -81,8 +84,8 @@ info: - .lte() - .like() - .ilike() - - .is() - - .in() + # - .is() + # - .in() - .contains() - .containedBy() - .rangeLt() @@ -148,6 +151,8 @@ pages: ``` auth.signUp(): + description: | + Creates a new user. 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 @@ -348,9 +353,8 @@ pages: title: 'Fetch data: select()' notes: | - By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data. - TODO change the followinng links to dart - - `select()` can be combined with [Modifiers](/docs/reference/javascript/using-modifiers) - - `select()` can be combined with [Filters](/docs/reference/javascript/using-filters) + - `select()` can be combined with [Modifiers](/docs/reference/dart/using-modifiers) + - `select()` can be combined with [Filters](/docs/reference/dart/using-filters) examples: - name: Getting your data isSpotlight: true From d9a71fc609adc4dcdfdf970d9c95f9606645d634 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Mon, 16 Aug 2021 20:25:22 +0900 Subject: [PATCH 09/15] feat: Added docs for stream() --- web/README.md | 2 +- web/sidebar_spec_dart.js | 38 +++++++++++++++++++++++++++- web/spec/dart.yml | 53 +++++++++++++++++++++++++++++++++++++--- 3 files changed, 88 insertions(+), 5 deletions(-) diff --git a/web/README.md b/web/README.md index faaa71bd879..64cfe02ed7a 100644 --- a/web/README.md +++ b/web/README.md @@ -4,7 +4,7 @@ - `cd /web/spec/` - run `make` which will pull the latest TSDoc with your updates -- add your comments to `supabase.yml` | `postgrest.yml` | `gotrue.yml` | `realtime.yml` +- add your comments to `supabase.yml` | `dart.yml` | `postgrest.yml` | `gotrue.yml` | `realtime.yml` - run `npm run gen:supabase` inside the `/spec` folder which will generate the Docusaurus pages - run `npm run build` to make sure the build is working - submit your PR diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js index d9a1c245a73..d360697bb5e 100644 --- a/web/sidebar_spec_dart.js +++ b/web/sidebar_spec_dart.js @@ -9,7 +9,43 @@ module.exports = { { type: 'category', label: 'Auth', - items: ['reference/dart/auth-signup', 'reference/dart/auth-signin', 'reference/dart/auth-signout', 'reference/dart/auth-session', 'reference/dart/auth-user', 'reference/dart/auth-update', 'reference/dart/auth-onauthstatechange', 'reference/dart/reset-password-email', 'reference/dart/delete-user'], + items: ['reference/dart/auth-signup', 'reference/dart/auth-signin', 'reference/dart/auth-signinwithprovider', 'reference/dart/auth-signout', 'reference/dart/auth-session', 'reference/dart/auth-user', 'reference/dart/auth-update', 'reference/dart/auth-onauthstatechange', 'reference/dart/reset-password-email'], + collapsed: true, + }, + { + type: 'category', + label: 'Data', + items: ['reference/dart/select', 'reference/dart/insert', 'reference/dart/update', 'reference/dart/upsert', 'reference/dart/delete', 'reference/dart/rpc'], + collapsed: true, + }, + { + type: 'category', + label: 'Realtime', + items: ['reference/dart/subscribe', 'reference/dart/removesubscription', 'reference/dart/getsubscriptions'], + collapsed: true, + }, + { + type: 'category', + label: 'Stream', + items: ['reference/dart/stream'], + collapsed: true, + }, + { + type: 'category', + label: 'Storage', + items: ['reference/dart/storage-createbucket', 'reference/dart/storage-getbucket', 'reference/dart/storage-listbuckets', 'reference/dart/storage-updatebucket', 'reference/dart/storage-deletebucket', 'reference/dart/storage-emptybucket', 'reference/dart/storage-from-upload', 'reference/dart/storage-from-download', 'reference/dart/storage-from-list', 'reference/dart/storage-from-update', 'reference/dart/storage-from-move', 'reference/dart/storage-from-remove', 'reference/dart/storage-from-createsignedurl', 'reference/dart/storage-from-getpublicurl'], + collapsed: true, + }, + { + type: 'category', + label: 'Modifiers', + items: ['reference/dart/using-modifiers', 'reference/dart/limit', 'reference/dart/order', 'reference/dart/range', 'reference/dart/single'], + collapsed: true, + }, + { + type: 'category', + label: 'Filters', + items: ['reference/dart/using-filters', 'reference/dart/filter', 'reference/dart/or', 'reference/dart/not', 'reference/dart/match', 'reference/dart/eq', 'reference/dart/neq', 'reference/dart/gt', 'reference/dart/gte', 'reference/dart/lt', 'reference/dart/lte', 'reference/dart/like', 'reference/dart/ilike', 'reference/dart/contains', 'reference/dart/containedby', 'reference/dart/rangelt', 'reference/dart/rangegt', 'reference/dart/rangegte', 'reference/dart/rangelte', 'reference/dart/rangeadjacent', 'reference/dart/overlaps', 'reference/dart/textsearch'], collapsed: true, } ], diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 913f9e1b94d..e11acee2d99 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -43,9 +43,9 @@ info: - subscribe() - removeSubscription() - getSubscriptions() - # - name: 'Stream' - # items: - # - stream() + - name: 'Stream' + items: + - stream() - name: 'Storage' items: - storage.createBucket() @@ -724,6 +724,53 @@ pages: ```dart final subscriptions = supabase.getSubscriptions(); ``` + + stream(): + title: 'stream()' + notes: | + - `stream()` will emit the initial data as well as any further change on the database as `Stream` of `List>` by combining Postgrest and Realtime. + - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime). + examples: + - name: Listening to a specific table + isSpotlight: true + dart: | + ```dart + supabase + .from('countries') + .stream() + .execute(); + ``` + - name: Listening to a specific rows within a table + description: | + You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match. + This syntax is the as how you can filter data in Realtime + dart: | + ```dart + supabase + .from('countries:id=eq.120') + .stream() + .execute(); + ``` + - name: With `order()` + dart: | + ```dart + supabase + .from('countries') + .stream() + .order('name', ascending: false) + .execute(); + ``` + - name: With `limit()` + dart: | + ```dart + supabase + .from('countries') + .stream() + .order('name', ascending: false) + .limit(10) + .execute(); + ``` + storage.listBuckets(): title: 'listBuckets()' $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.listBuckets' From 9a9fcdd4a650414d5080156782d00d7e24f0648e Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Tue, 17 Aug 2021 21:40:47 +0900 Subject: [PATCH 10/15] feat: Added is_ and in_ --- web/sidebar_spec_dart.js | 2 +- web/spec/combined.json | 248 ++++++++++++++++++++++++++------------- web/spec/dart.yml | 125 ++++++++++---------- web/spec/supabase.json | 248 ++++++++++++++++++++++++++------------- 4 files changed, 393 insertions(+), 230 deletions(-) diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js index d360697bb5e..c87552a0a64 100644 --- a/web/sidebar_spec_dart.js +++ b/web/sidebar_spec_dart.js @@ -45,7 +45,7 @@ module.exports = { { type: 'category', label: 'Filters', - items: ['reference/dart/using-filters', 'reference/dart/filter', 'reference/dart/or', 'reference/dart/not', 'reference/dart/match', 'reference/dart/eq', 'reference/dart/neq', 'reference/dart/gt', 'reference/dart/gte', 'reference/dart/lt', 'reference/dart/lte', 'reference/dart/like', 'reference/dart/ilike', 'reference/dart/contains', 'reference/dart/containedby', 'reference/dart/rangelt', 'reference/dart/rangegt', 'reference/dart/rangegte', 'reference/dart/rangelte', 'reference/dart/rangeadjacent', 'reference/dart/overlaps', 'reference/dart/textsearch'], + items: ['reference/dart/using-filters', 'reference/dart/filter', 'reference/dart/or', 'reference/dart/not', 'reference/dart/match', 'reference/dart/eq', 'reference/dart/neq', 'reference/dart/gt', 'reference/dart/gte', 'reference/dart/lt', 'reference/dart/lte', 'reference/dart/like', 'reference/dart/ilike', 'reference/dart/is_', 'reference/dart/in_', 'reference/dart/contains', 'reference/dart/containedby', 'reference/dart/rangelt', 'reference/dart/rangegt', 'reference/dart/rangegte', 'reference/dart/rangelte', 'reference/dart/rangeadjacent', 'reference/dart/overlaps', 'reference/dart/textsearch'], collapsed: true, } ], diff --git a/web/spec/combined.json b/web/spec/combined.json index 555d3edefbd..11c785d0ce8 100644 --- a/web/spec/combined.json +++ b/web/spec/combined.json @@ -356,7 +356,7 @@ ] }, { - "id": 317, + "id": 320, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -366,7 +366,7 @@ }, "signatures": [ { - "id": 318, + "id": 321, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -375,7 +375,7 @@ }, "parameters": [ { - "id": 319, + "id": 322, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -403,13 +403,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 180, + "line": 186, "character": 23 } ] }, { - "id": 294, + "id": 297, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -419,7 +419,7 @@ }, "signatures": [ { - "id": 295, + "id": 298, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -428,7 +428,7 @@ }, "parameters": [ { - "id": 296, + "id": 299, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -456,13 +456,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 126, + "line": 132, "character": 34 } ] }, { - "id": 312, + "id": 315, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -472,7 +472,7 @@ }, "signatures": [ { - "id": 313, + "id": 316, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -482,7 +482,7 @@ "type": { "type": "reflection", "declaration": { - "id": 314, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -491,7 +491,7 @@ }, "indexSignature": [ { - "id": 315, + "id": 318, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -500,7 +500,7 @@ }, "parameters": [ { - "id": 316, + "id": 319, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -522,7 +522,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 172, + "line": 178, "character": 28 } ] @@ -533,13 +533,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 172, + "line": 178, "character": 25 } ] }, { - "id": 310, + "id": 313, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -549,7 +549,7 @@ }, "signatures": [ { - "id": 311, + "id": 314, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -565,13 +565,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 165, + "line": 171, "character": 30 } ] }, { - "id": 307, + "id": 310, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -581,7 +581,7 @@ }, "signatures": [ { - "id": 308, + "id": 311, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -590,7 +590,7 @@ }, "parameters": [ { - "id": 309, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -613,13 +613,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 158, + "line": 164, "character": 29 } ] }, { - "id": 299, + "id": 302, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -629,7 +629,7 @@ }, "signatures": [ { - "id": 300, + "id": 303, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -638,7 +638,7 @@ }, "parameters": [ { - "id": 301, + "id": 304, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -649,7 +649,7 @@ "type": { "type": "reflection", "declaration": { - "id": 302, + "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -658,7 +658,7 @@ }, "children": [ { - "id": 303, + "id": 306, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -668,7 +668,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 140, + "line": 146, "character": 20 } ], @@ -691,7 +691,7 @@ } }, { - "id": 305, + "id": 308, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -701,7 +701,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 142, + "line": 148, "character": 22 } ], @@ -724,7 +724,7 @@ } }, { - "id": 306, + "id": 309, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -734,7 +734,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 143, + "line": 149, "character": 16 } ], @@ -753,7 +753,7 @@ } }, { - "id": 304, + "id": 307, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -763,7 +763,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 141, + "line": 147, "character": 18 } ], @@ -791,17 +791,17 @@ "title": "Variables", "kind": 32, "children": [ - 303, - 305, 306, - 304 + 308, + 309, + 307 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 139, + "line": 145, "character": 34 } ] @@ -819,7 +819,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 139, + "line": 145, "character": 33 } ] @@ -899,7 +899,7 @@ ] }, { - "id": 297, + "id": 300, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -908,7 +908,7 @@ }, "signatures": [ { - "id": 298, + "id": 301, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -930,13 +930,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 135, + "line": 141, "character": 18 } ] }, { - "id": 291, + "id": 294, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -945,7 +945,7 @@ }, "signatures": [ { - "id": 292, + "id": 295, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -957,7 +957,7 @@ }, "parameters": [ { - "id": 293, + "id": 296, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -988,7 +988,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 109, + "line": 115, "character": 20 } ] @@ -1051,7 +1051,7 @@ "isOptional": true }, "comment": { - "text": "The parameters to pass to the function call.\n" + "text": "The parameters to pass to the function call." }, "type": { "type": "union", @@ -1066,6 +1066,88 @@ } ] } + }, + { + "id": 291, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 292, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 293, + "name": "count", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "Count algorithm to use to count rows in a table.\n\n" + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 104, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "null" + }, + { + "type": "stringLiteral", + "value": "exact" + }, + { + "type": "stringLiteral", + "value": "planned" + }, + { + "type": "stringLiteral", + "value": "estimated" + } + ] + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 293 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 103, + "character": 20 + } + ] + } + }, + "defaultValue": "{}" } ], "type": { @@ -1083,7 +1165,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 99, + "line": 101, "character": 5 } ] @@ -1123,15 +1205,15 @@ "title": "Methods", "kind": 2048, "children": [ - 317, - 294, - 312, - 310, - 307, - 299, - 282, + 320, 297, - 291, + 315, + 313, + 310, + 302, + 282, + 300, + 294, 286 ] } @@ -1145,7 +1227,7 @@ ] }, { - "id": 320, + "id": 323, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1154,7 +1236,7 @@ }, "children": [ { - "id": 322, + "id": 325, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1173,7 +1255,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 327, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1192,7 +1274,7 @@ "defaultValue": "true" }, { - "id": 326, + "id": 329, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1207,7 +1289,7 @@ "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1217,7 +1299,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 325, + "id": 328, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1236,7 +1318,7 @@ "defaultValue": "globalThis.localStorage" }, { - "id": 323, + "id": 326, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1255,7 +1337,7 @@ "defaultValue": "true" }, { - "id": 321, + "id": 324, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1279,12 +1361,12 @@ "title": "Variables", "kind": 32, "children": [ - 322, - 324, - 326, 325, - 323, - 321 + 327, + 329, + 328, + 326, + 324 ] } ], @@ -1313,7 +1395,7 @@ "title": "Object literals", "kind": 2097152, "children": [ - 320 + 323 ] } ], @@ -1326,7 +1408,7 @@ ] }, { - "id": 328, + "id": 331, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1336,7 +1418,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 329, + "id": 332, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1349,7 +1431,7 @@ }, "signatures": [ { - "id": 330, + "id": 333, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1361,7 +1443,7 @@ }, "parameters": [ { - "id": 331, + "id": 334, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1374,7 +1456,7 @@ } }, { - "id": 332, + "id": 335, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1387,7 +1469,7 @@ } }, { - "id": 333, + "id": 336, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1423,7 +1505,7 @@ "title": "Functions", "kind": 64, "children": [ - 329 + 332 ] } ], @@ -7604,7 +7686,7 @@ ] }, { - "id": 334, + "id": 337, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7614,7 +7696,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 335, + "id": 338, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7623,7 +7705,7 @@ }, "signatures": [ { - "id": 336, + "id": 339, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7650,7 +7732,7 @@ "title": "Functions", "kind": 64, "children": [ - 335 + 338 ] } ], @@ -8252,12 +8334,12 @@ "kind": 1, "children": [ 264, - 328, + 331, 27, 173, 147, 1, - 334, + 337, 4 ] } diff --git a/web/spec/dart.yml b/web/spec/dart.yml index e11acee2d99..50feddf31e9 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -84,8 +84,8 @@ info: - .lte() - .like() - .ilike() - # - .is() - # - .in() + - .is_() + - .in_() - .contains() - .containedBy() - .rangeLt() @@ -1619,37 +1619,36 @@ pages: # .execute(); # ``` - # TODO Not available in dart yet, so uncomment when added - # .is(): - # examples: - # - name: With `select()` - # isSpotlight: true - # dart: | - # ```dart - # final res = await supabase - # .from('cities') - # .select('name, country_id') - # .is('name', null) - # .execute(); - # ``` - # - name: With `update()` - # dart: | - # ```dart - # final res = await supabase - # .from('cities') - # .update({ name: 'Mordor' }) - # .is('name', null) - # .execute(); - # ``` - # - name: With `delete()` - # dart: | - # ```dart - # final res = await supabase - # .from('cities') - # .delete() - # .is('name', null) - # .execute(); - # ``` + .is_(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .is_('name', null) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .is_('name', null) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .is_('name', null) + .execute(); + ``` # TODO fix bug on postgrest-dart # - name: With `rpc()` # dart: | @@ -1661,36 +1660,36 @@ pages: # .execute(); # ``` - # .in(): - # examples: - # - name: With `select()` - # isSpotlight: true - # dart: | - # ```dart - # final res = await supabase - # .from('cities') - # .select('name, country_id') - # .in('name', ['Rio de Janeiro', 'San Francisco']) - # .execute(); - # ``` - # - name: With `update()` - # dart: | - # ```dart - # final res = await supabase - # .from('cities') - # .update({ name: 'Mordor' }) - # .in('name', ['Rio de Janeiro', 'San Francisco']) - # .execute(); - # ``` - # - name: With `delete()` - # dart: | - # ```dart - # final res = await supabase - # .from('cities') - # .delete() - # .in('name', ['Rio de Janeiro', 'San Francisco']) - # .execute(); - # ``` + .in_(): + examples: + - name: With `select()` + isSpotlight: true + dart: | + ```dart + final res = await supabase + .from('cities') + .select('name, country_id') + .in_('name', ['Rio de Janeiro', 'San Francisco']) + .execute(); + ``` + - name: With `update()` + dart: | + ```dart + final res = await supabase + .from('cities') + .update({ 'name': 'Mordor' }) + .in_('name', ['Rio de Janeiro', 'San Francisco']) + .execute(); + ``` + - name: With `delete()` + dart: | + ```dart + final res = await supabase + .from('cities') + .delete() + .in_('name', ['Rio de Janeiro', 'San Francisco']) + .execute(); + ``` # TODO fix bug on postgrest-dart # - name: With `rpc()` # dart: | diff --git a/web/spec/supabase.json b/web/spec/supabase.json index 7cd40b7b0c9..24eb97ca3a1 100644 --- a/web/spec/supabase.json +++ b/web/spec/supabase.json @@ -353,7 +353,7 @@ ] }, { - "id": 317, + "id": 320, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -363,7 +363,7 @@ }, "signatures": [ { - "id": 318, + "id": 321, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -372,7 +372,7 @@ }, "parameters": [ { - "id": 319, + "id": 322, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -400,13 +400,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 180, + "line": 186, "character": 23 } ] }, { - "id": 294, + "id": 297, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -416,7 +416,7 @@ }, "signatures": [ { - "id": 295, + "id": 298, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -425,7 +425,7 @@ }, "parameters": [ { - "id": 296, + "id": 299, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -453,13 +453,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 126, + "line": 132, "character": 34 } ] }, { - "id": 312, + "id": 315, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -469,7 +469,7 @@ }, "signatures": [ { - "id": 313, + "id": 316, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -479,7 +479,7 @@ "type": { "type": "reflection", "declaration": { - "id": 314, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -488,7 +488,7 @@ }, "indexSignature": [ { - "id": 315, + "id": 318, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -497,7 +497,7 @@ }, "parameters": [ { - "id": 316, + "id": 319, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -519,7 +519,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 172, + "line": 178, "character": 28 } ] @@ -530,13 +530,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 172, + "line": 178, "character": 25 } ] }, { - "id": 310, + "id": 313, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -546,7 +546,7 @@ }, "signatures": [ { - "id": 311, + "id": 314, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -562,13 +562,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 165, + "line": 171, "character": 30 } ] }, { - "id": 307, + "id": 310, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -578,7 +578,7 @@ }, "signatures": [ { - "id": 308, + "id": 311, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -587,7 +587,7 @@ }, "parameters": [ { - "id": 309, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -610,13 +610,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 158, + "line": 164, "character": 29 } ] }, { - "id": 299, + "id": 302, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -626,7 +626,7 @@ }, "signatures": [ { - "id": 300, + "id": 303, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -635,7 +635,7 @@ }, "parameters": [ { - "id": 301, + "id": 304, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -646,7 +646,7 @@ "type": { "type": "reflection", "declaration": { - "id": 302, + "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -655,7 +655,7 @@ }, "children": [ { - "id": 303, + "id": 306, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -665,7 +665,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 140, + "line": 146, "character": 20 } ], @@ -688,7 +688,7 @@ } }, { - "id": 305, + "id": 308, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -698,7 +698,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 142, + "line": 148, "character": 22 } ], @@ -721,7 +721,7 @@ } }, { - "id": 306, + "id": 309, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -731,7 +731,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 143, + "line": 149, "character": 16 } ], @@ -750,7 +750,7 @@ } }, { - "id": 304, + "id": 307, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -760,7 +760,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 141, + "line": 147, "character": 18 } ], @@ -788,17 +788,17 @@ "title": "Variables", "kind": 32, "children": [ - 303, - 305, 306, - 304 + 308, + 309, + 307 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 139, + "line": 145, "character": 34 } ] @@ -816,7 +816,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 139, + "line": 145, "character": 33 } ] @@ -896,7 +896,7 @@ ] }, { - "id": 297, + "id": 300, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -905,7 +905,7 @@ }, "signatures": [ { - "id": 298, + "id": 301, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -927,13 +927,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 135, + "line": 141, "character": 18 } ] }, { - "id": 291, + "id": 294, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -942,7 +942,7 @@ }, "signatures": [ { - "id": 292, + "id": 295, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -954,7 +954,7 @@ }, "parameters": [ { - "id": 293, + "id": 296, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -985,7 +985,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 109, + "line": 115, "character": 20 } ] @@ -1048,7 +1048,7 @@ "isOptional": true }, "comment": { - "text": "The parameters to pass to the function call.\n" + "text": "The parameters to pass to the function call." }, "type": { "type": "union", @@ -1063,6 +1063,88 @@ } ] } + }, + { + "id": 291, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 292, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 293, + "name": "count", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "Count algorithm to use to count rows in a table.\n\n" + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 104, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "null" + }, + { + "type": "stringLiteral", + "value": "exact" + }, + { + "type": "stringLiteral", + "value": "planned" + }, + { + "type": "stringLiteral", + "value": "estimated" + } + ] + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 293 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 103, + "character": 20 + } + ] + } + }, + "defaultValue": "{}" } ], "type": { @@ -1080,7 +1162,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 99, + "line": 101, "character": 5 } ] @@ -1120,15 +1202,15 @@ "title": "Methods", "kind": 2048, "children": [ - 317, - 294, - 312, - 310, - 307, - 299, - 282, + 320, 297, - 291, + 315, + 313, + 310, + 302, + 282, + 300, + 294, 286 ] } @@ -1142,7 +1224,7 @@ ] }, { - "id": 320, + "id": 323, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1151,7 +1233,7 @@ }, "children": [ { - "id": 322, + "id": 325, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1170,7 +1252,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 327, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1189,7 +1271,7 @@ "defaultValue": "true" }, { - "id": 326, + "id": 329, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1204,7 +1286,7 @@ "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 330, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1214,7 +1296,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 325, + "id": 328, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1233,7 +1315,7 @@ "defaultValue": "globalThis.localStorage" }, { - "id": 323, + "id": 326, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1252,7 +1334,7 @@ "defaultValue": "true" }, { - "id": 321, + "id": 324, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1276,12 +1358,12 @@ "title": "Variables", "kind": 32, "children": [ - 322, - 324, - 326, 325, - 323, - 321 + 327, + 329, + 328, + 326, + 324 ] } ], @@ -1310,7 +1392,7 @@ "title": "Object literals", "kind": 2097152, "children": [ - 320 + 323 ] } ], @@ -1323,7 +1405,7 @@ ] }, { - "id": 328, + "id": 331, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1333,7 +1415,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 329, + "id": 332, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1346,7 +1428,7 @@ }, "signatures": [ { - "id": 330, + "id": 333, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1358,7 +1440,7 @@ }, "parameters": [ { - "id": 331, + "id": 334, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1371,7 +1453,7 @@ } }, { - "id": 332, + "id": 335, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1384,7 +1466,7 @@ } }, { - "id": 333, + "id": 336, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1420,7 +1502,7 @@ "title": "Functions", "kind": 64, "children": [ - 329 + 332 ] } ], @@ -7601,7 +7683,7 @@ ] }, { - "id": 334, + "id": 337, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7611,7 +7693,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 335, + "id": 338, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7620,7 +7702,7 @@ }, "signatures": [ { - "id": 336, + "id": 339, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7647,7 +7729,7 @@ "title": "Functions", "kind": 64, "children": [ - 335 + 338 ] } ], @@ -8249,12 +8331,12 @@ "kind": 1, "children": [ 264, - 328, + 331, 27, 173, 147, 1, - 334, + 337, 4 ] } From 45a92d4ae298e376292a20ae4678d2bd941d70c2 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Tue, 24 Aug 2021 21:28:52 +0900 Subject: [PATCH 11/15] fix: Added dart folder under web/docs/reference --- web/docs/reference/dart/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 web/docs/reference/dart/.gitkeep diff --git a/web/docs/reference/dart/.gitkeep b/web/docs/reference/dart/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d From fecd78c5c1b72ef485bc31e1f5fdc4a0547bf4fe Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Tue, 24 Aug 2021 22:02:54 +0900 Subject: [PATCH 12/15] feat: Added description for every method --- web/spec/combined.json | 7191 +++++++++++++++++++++------------------ web/spec/dart.yml | 100 + web/spec/gotrue.json | 1589 +++++---- web/spec/postgrest.json | 263 +- web/spec/realtime.json | 2660 ++++++++------- web/spec/storage.json | 1352 ++++---- web/spec/supabase.json | 1327 ++++---- 7 files changed, 7958 insertions(+), 6524 deletions(-) diff --git a/web/spec/combined.json b/web/spec/combined.json index 11c785d0ce8..72aad79b910 100644 --- a/web/spec/combined.json +++ b/web/spec/combined.json @@ -9,7 +9,7 @@ "originalName": "", "children": [ { - "id": 264, + "id": 266, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -19,7 +19,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 265, + "id": 267, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -32,7 +32,7 @@ }, "children": [ { - "id": 273, + "id": 275, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44,7 +44,7 @@ }, "signatures": [ { - "id": 276, + "id": 278, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -56,7 +56,7 @@ }, "parameters": [ { - "id": 277, + "id": 279, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -72,7 +72,7 @@ } }, { - "id": 278, + "id": 280, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -88,7 +88,7 @@ } }, { - "id": 279, + "id": 281, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -98,14 +98,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 7, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 267, "name": "SupabaseClient" } } @@ -119,7 +119,7 @@ ] }, { - "id": 266, + "id": 268, "name": "auth", "kind": 1024, "kindString": "Property", @@ -138,12 +138,12 @@ ], "type": { "type": "reference", - "id": 28, + "id": 30, "name": "SupabaseAuthClient" } }, { - "id": 270, + "id": 272, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -164,7 +164,7 @@ } }, { - "id": 272, + "id": 274, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -185,7 +185,7 @@ } }, { - "id": 269, + "id": 271, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -206,7 +206,7 @@ } }, { - "id": 268, + "id": 270, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -227,7 +227,7 @@ } }, { - "id": 267, + "id": 269, "name": "schema", "kind": 1024, "kindString": "Property", @@ -248,7 +248,7 @@ } }, { - "id": 271, + "id": 273, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -269,7 +269,7 @@ } }, { - "id": 275, + "id": 277, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -294,7 +294,7 @@ } }, { - "id": 274, + "id": 276, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -319,7 +319,7 @@ } }, { - "id": 280, + "id": 282, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -331,7 +331,7 @@ }, "getSignature": [ { - "id": 281, + "id": 283, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -356,7 +356,7 @@ ] }, { - "id": 320, + "id": 326, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -366,7 +366,7 @@ }, "signatures": [ { - "id": 321, + "id": 327, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -375,7 +375,7 @@ }, "parameters": [ { - "id": 322, + "id": 328, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -403,13 +403,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 186, + "line": 188, "character": 23 } ] }, { - "id": 297, + "id": 299, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -419,7 +419,7 @@ }, "signatures": [ { - "id": 298, + "id": 300, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -428,7 +428,7 @@ }, "parameters": [ { - "id": 299, + "id": 301, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -462,7 +462,7 @@ ] }, { - "id": 315, + "id": 321, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -472,7 +472,7 @@ }, "signatures": [ { - "id": 316, + "id": 322, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -482,7 +482,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -491,7 +491,7 @@ }, "indexSignature": [ { - "id": 318, + "id": 324, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -500,7 +500,7 @@ }, "parameters": [ { - "id": 319, + "id": 325, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -522,7 +522,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 180, "character": 28 } ] @@ -533,13 +533,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 180, "character": 25 } ] }, { - "id": 313, + "id": 319, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -549,7 +549,7 @@ }, "signatures": [ { - "id": 314, + "id": 320, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -565,13 +565,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 171, + "line": 173, "character": 30 } ] }, { - "id": 310, + "id": 316, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -581,7 +581,7 @@ }, "signatures": [ { - "id": 311, + "id": 317, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -590,7 +590,7 @@ }, "parameters": [ { - "id": 312, + "id": 318, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -613,13 +613,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 164, + "line": 166, "character": 29 } ] }, { - "id": 302, + "id": 304, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -629,7 +629,7 @@ }, "signatures": [ { - "id": 303, + "id": 305, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -638,7 +638,7 @@ }, "parameters": [ { - "id": 304, + "id": 306, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -649,7 +649,7 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 307, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -658,7 +658,7 @@ }, "children": [ { - "id": 306, + "id": 308, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -691,7 +691,7 @@ } }, { - "id": 308, + "id": 310, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -724,7 +724,74 @@ } }, { - "id": 309, + "id": 312, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 150, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 313, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 314, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 315, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 311, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -753,7 +820,7 @@ } }, { - "id": 307, + "id": 309, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -791,10 +858,11 @@ "title": "Variables", "kind": 32, "children": [ - 306, 308, - 309, - 307 + 310, + 312, + 311, + 309 ] } ], @@ -811,7 +879,7 @@ ], "type": { "type": "reference", - "id": 28, + "id": 30, "name": "SupabaseAuthClient" } } @@ -825,7 +893,7 @@ ] }, { - "id": 282, + "id": 284, "name": "from", "kind": 2048, "kindString": "Method", @@ -834,7 +902,7 @@ }, "signatures": [ { - "id": 283, + "id": 285, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -846,7 +914,7 @@ }, "typeParameter": [ { - "id": 284, + "id": 286, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -857,7 +925,7 @@ ], "parameters": [ { - "id": 285, + "id": 287, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -875,7 +943,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 176, "typeArguments": [ { "type": "typeParameter", @@ -899,7 +967,7 @@ ] }, { - "id": 300, + "id": 302, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -908,7 +976,7 @@ }, "signatures": [ { - "id": 301, + "id": 303, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -936,7 +1004,7 @@ ] }, { - "id": 294, + "id": 296, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -945,7 +1013,7 @@ }, "signatures": [ { - "id": 295, + "id": 297, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -957,7 +1025,7 @@ }, "parameters": [ { - "id": 296, + "id": 298, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -994,7 +1062,7 @@ ] }, { - "id": 286, + "id": 288, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1003,7 +1071,7 @@ }, "signatures": [ { - "id": 287, + "id": 289, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1011,11 +1079,11 @@ "isExported": true }, "comment": { - "shortText": "Perform a stored procedure call." + "shortText": "Perform a function call." }, "typeParameter": [ { - "id": 288, + "id": 290, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1026,7 +1094,7 @@ ], "parameters": [ { - "id": 289, + "id": 291, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1042,7 +1110,7 @@ } }, { - "id": 290, + "id": 292, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1068,7 +1136,7 @@ } }, { - "id": 291, + "id": 293, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1079,7 +1147,7 @@ "type": { "type": "reflection", "declaration": { - "id": 292, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1088,7 +1156,7 @@ }, "children": [ { - "id": 293, + "id": 295, "name": "count", "kind": 32, "kindString": "Variable", @@ -1134,7 +1202,7 @@ "title": "Variables", "kind": 32, "children": [ - 293 + 295 ] } ], @@ -1176,45 +1244,45 @@ "title": "Constructors", "kind": 512, "children": [ - 273 + 275 ] }, { "title": "Properties", "kind": 1024, "children": [ - 266, - 270, - 272, - 269, 268, - 267, + 272, + 274, 271, - 275, - 274 + 270, + 269, + 273, + 277, + 276 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 280 + 282 ] }, { "title": "Methods", "kind": 2048, "children": [ - 320, - 297, - 315, - 313, - 310, + 326, + 299, + 321, + 319, + 316, + 304, + 284, 302, - 282, - 300, - 294, - 286 + 296, + 288 ] } ], @@ -1227,7 +1295,7 @@ ] }, { - "id": 323, + "id": 329, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1236,7 +1304,7 @@ }, "children": [ { - "id": 325, + "id": 331, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1255,7 +1323,7 @@ "defaultValue": "true" }, { - "id": 327, + "id": 333, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1274,7 +1342,7 @@ "defaultValue": "true" }, { - "id": 329, + "id": 335, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1289,17 +1357,47 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 336, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": {} + "flags": {}, + "children": [ + { + "id": 337, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 337 + ] + } + ] } }, "defaultValue": "DEFAULT_HEADERS" }, { - "id": 328, + "id": 334, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1318,7 +1416,7 @@ "defaultValue": "globalThis.localStorage" }, { - "id": 326, + "id": 332, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1337,7 +1435,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 330, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1361,12 +1459,12 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 327, - 329, - 328, - 326, - 324 + 331, + 333, + 335, + 334, + 332, + 330 ] } ], @@ -1388,14 +1486,14 @@ "title": "Classes", "kind": 128, "children": [ - 265 + 267 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 323 + 329 ] } ], @@ -1408,7 +1506,7 @@ ] }, { - "id": 331, + "id": 338, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1418,7 +1516,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 332, + "id": 339, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1431,7 +1529,7 @@ }, "signatures": [ { - "id": 333, + "id": 340, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1443,7 +1541,7 @@ }, "parameters": [ { - "id": 334, + "id": 341, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1456,7 +1554,7 @@ } }, { - "id": 335, + "id": 342, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1469,7 +1567,7 @@ } }, { - "id": 336, + "id": 343, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1479,14 +1577,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 7, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 267, "name": "SupabaseClient" } } @@ -1505,7 +1603,7 @@ "title": "Functions", "kind": 64, "children": [ - 332 + 339 ] } ], @@ -1518,7 +1616,7 @@ ] }, { - "id": 27, + "id": 29, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1528,7 +1626,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 28, + "id": 30, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1537,7 +1635,7 @@ }, "children": [ { - "id": 29, + "id": 31, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1546,7 +1644,7 @@ }, "signatures": [ { - "id": 30, + "id": 32, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1555,7 +1653,7 @@ }, "parameters": [ { - "id": 31, + "id": 33, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1565,7 +1663,7 @@ "type": { "type": "reflection", "declaration": { - "id": 32, + "id": 34, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1574,7 +1672,7 @@ }, "children": [ { - "id": 39, + "id": 41, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1608,7 +1706,7 @@ } }, { - "id": 38, + "id": 40, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1642,7 +1740,7 @@ } }, { - "id": 34, + "id": 36, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1667,7 +1765,7 @@ { "type": "reflection", "declaration": { - "id": 35, + "id": 37, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1676,7 +1774,7 @@ }, "indexSignature": [ { - "id": 36, + "id": 38, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -1685,7 +1783,7 @@ }, "parameters": [ { - "id": 37, + "id": 39, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -1710,7 +1808,7 @@ } }, { - "id": 41, + "id": 43, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1731,7 +1829,7 @@ } }, { - "id": 40, + "id": 42, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1765,7 +1863,7 @@ } }, { - "id": 33, + "id": 35, "name": "url", "kind": 32, "kindString": "Variable", @@ -1800,12 +1898,12 @@ "title": "Variables", "kind": 32, "children": [ - 39, - 38, - 34, 41, 40, - 33 + 36, + 43, + 42, + 35 ] } ], @@ -1822,7 +1920,7 @@ ], "type": { "type": "reference", - "id": 28, + "id": 30, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1844,7 +1942,7 @@ } }, { - "id": 42, + "id": 44, "name": "api", "kind": 1024, "kindString": "Property", @@ -1867,12 +1965,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 42, + "id": 44, "name": "GoTrueClient.api" } }, { - "id": 45, + "id": 47, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1893,12 +1991,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 45, + "id": 47, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 44, + "id": 46, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1931,12 +2029,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 46, "name": "GoTrueClient.currentSession" } }, { - "id": 43, + "id": 45, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1969,12 +2067,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 45, "name": "GoTrueClient.currentUser" } }, { - "id": 47, + "id": 49, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -1995,12 +2093,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 47, + "id": 49, "name": "GoTrueClient.localStorage" } }, { - "id": 46, + "id": 48, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -2021,12 +2119,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 46, + "id": 48, "name": "GoTrueClient.persistSession" } }, { - "id": 49, + "id": 51, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -2057,12 +2155,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 51, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 48, + "id": 50, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -2093,12 +2191,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 50, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 125, + "id": 127, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2107,7 +2205,7 @@ }, "signatures": [ { - "id": 126, + "id": 128, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2119,7 +2217,7 @@ }, "parameters": [ { - "id": 127, + "id": 129, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2137,7 +2235,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2146,7 +2244,7 @@ }, "children": [ { - "id": 129, + "id": 131, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2188,7 +2286,7 @@ "title": "Variables", "kind": 32, "children": [ - 129 + 131 ] } ] @@ -2204,7 +2302,7 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 132, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2213,7 +2311,7 @@ }, "children": [ { - "id": 131, + "id": 133, "name": "data", "kind": 32, "kindString": "Variable", @@ -2242,7 +2340,7 @@ } }, { - "id": 132, + "id": 134, "name": "error", "kind": 32, "kindString": "Variable", @@ -2276,8 +2374,8 @@ "title": "Variables", "kind": 32, "children": [ - 131, - 132 + 133, + 134 ] } ], @@ -2295,7 +2393,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 127, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2309,12 +2407,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 125, + "id": 127, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 137, + "id": 139, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2323,7 +2421,7 @@ }, "signatures": [ { - "id": 138, + "id": 140, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2336,7 +2434,7 @@ }, "parameters": [ { - "id": 139, + "id": 141, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2346,7 +2444,7 @@ "type": { "type": "reflection", "declaration": { - "id": 140, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2355,7 +2453,7 @@ }, "signatures": [ { - "id": 141, + "id": 143, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2364,7 +2462,7 @@ }, "parameters": [ { - "id": 142, + "id": 144, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2377,7 +2475,7 @@ } }, { - "id": 143, + "id": 145, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2419,7 +2517,7 @@ "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 146, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2428,7 +2526,7 @@ }, "children": [ { - "id": 145, + "id": 147, "name": "data", "kind": 32, "kindString": "Variable", @@ -2457,7 +2555,7 @@ } }, { - "id": 146, + "id": 148, "name": "error", "kind": 32, "kindString": "Variable", @@ -2491,8 +2589,8 @@ "title": "Variables", "kind": 32, "children": [ - 145, - 146 + 147, + 148 ] } ], @@ -2507,7 +2605,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 139, "name": "GoTrueClient.onAuthStateChange" } } @@ -2521,12 +2619,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 139, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 103, + "id": 105, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2535,7 +2633,7 @@ }, "signatures": [ { - "id": 104, + "id": 106, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2551,7 +2649,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2560,7 +2658,7 @@ }, "children": [ { - "id": 106, + "id": 108, "name": "data", "kind": 32, "kindString": "Variable", @@ -2589,7 +2687,7 @@ } }, { - "id": 108, + "id": 110, "name": "error", "kind": 32, "kindString": "Variable", @@ -2618,7 +2716,7 @@ } }, { - "id": 107, + "id": 109, "name": "user", "kind": 32, "kindString": "Variable", @@ -2652,9 +2750,9 @@ "title": "Variables", "kind": 32, "children": [ - 106, 108, - 107 + 110, + 109 ] } ], @@ -2672,7 +2770,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 105, "name": "GoTrueClient.refreshSession" } } @@ -2686,12 +2784,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 105, "name": "GoTrueClient.refreshSession" } }, { - "id": 101, + "id": 103, "name": "session", "kind": 2048, "kindString": "Method", @@ -2700,7 +2798,7 @@ }, "signatures": [ { - "id": 102, + "id": 104, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2725,7 +2823,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 101, + "id": 103, "name": "GoTrueClient.session" } } @@ -2739,12 +2837,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 101, + "id": 103, "name": "GoTrueClient.session" } }, { - "id": 122, + "id": 124, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2753,7 +2851,7 @@ }, "signatures": [ { - "id": 123, + "id": 125, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2765,7 +2863,7 @@ }, "parameters": [ { - "id": 124, + "id": 126, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2787,7 +2885,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 122, + "id": 124, "name": "GoTrueClient.setAuth" } } @@ -2801,12 +2899,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 122, + "id": 124, "name": "GoTrueClient.setAuth" } }, { - "id": 116, + "id": 118, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2815,7 +2913,7 @@ }, "signatures": [ { - "id": 117, + "id": 119, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2827,7 +2925,7 @@ }, "parameters": [ { - "id": 118, + "id": 120, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2849,7 +2947,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 121, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2858,7 +2956,7 @@ }, "children": [ { - "id": 121, + "id": 123, "name": "error", "kind": 32, "kindString": "Variable", @@ -2887,7 +2985,7 @@ } }, { - "id": 120, + "id": 122, "name": "session", "kind": 32, "kindString": "Variable", @@ -2921,8 +3019,8 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 120 + 123, + 122 ] } ], @@ -2940,7 +3038,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 118, "name": "GoTrueClient.setSession" } } @@ -2954,12 +3052,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 118, "name": "GoTrueClient.setSession" } }, { - "id": 65, + "id": 67, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2968,7 +3066,7 @@ }, "signatures": [ { - "id": 66, + "id": 68, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -2980,7 +3078,7 @@ }, "parameters": [ { - "id": 67, + "id": 69, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -2991,7 +3089,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 70, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3000,7 +3098,7 @@ }, "children": [ { - "id": 69, + "id": 71, "name": "email", "kind": 32, "kindString": "Variable", @@ -3032,7 +3130,7 @@ } }, { - "id": 71, + "id": 73, "name": "password", "kind": 32, "kindString": "Variable", @@ -3064,7 +3162,7 @@ } }, { - "id": 70, + "id": 72, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3093,7 +3191,7 @@ } }, { - "id": 73, + "id": 75, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3161,7 +3259,7 @@ } }, { - "id": 72, + "id": 74, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3198,11 +3296,11 @@ "title": "Variables", "kind": 32, "children": [ - 69, 71, - 70, 73, - 72 + 72, + 75, + 74 ] } ], @@ -3217,7 +3315,7 @@ } }, { - "id": 74, + "id": 76, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3235,7 +3333,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 77, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3244,7 +3342,7 @@ }, "children": [ { - "id": 76, + "id": 78, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3274,7 +3372,7 @@ } }, { - "id": 77, + "id": 79, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3309,8 +3407,8 @@ "title": "Variables", "kind": 32, "children": [ - 76, - 77 + 78, + 79 ] } ] @@ -3326,7 +3424,7 @@ { "type": "reflection", "declaration": { - "id": 78, + "id": 80, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3335,7 +3433,7 @@ }, "children": [ { - "id": 84, + "id": 86, "name": "data", "kind": 32, "kindString": "Variable", @@ -3364,7 +3462,7 @@ } }, { - "id": 83, + "id": 85, "name": "error", "kind": 32, "kindString": "Variable", @@ -3393,7 +3491,7 @@ } }, { - "id": 81, + "id": 83, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3414,7 +3512,7 @@ } }, { - "id": 79, + "id": 81, "name": "session", "kind": 32, "kindString": "Variable", @@ -3443,7 +3541,7 @@ } }, { - "id": 82, + "id": 84, "name": "url", "kind": 32, "kindString": "Variable", @@ -3473,7 +3571,7 @@ } }, { - "id": 80, + "id": 82, "name": "user", "kind": 32, "kindString": "Variable", @@ -3507,12 +3605,12 @@ "title": "Variables", "kind": 32, "children": [ - 84, + 86, + 85, 83, 81, - 79, - 82, - 80 + 84, + 82 ] } ], @@ -3530,7 +3628,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 67, "name": "GoTrueClient.signIn" } } @@ -3544,12 +3642,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 67, "name": "GoTrueClient.signIn" } }, { - "id": 133, + "id": 135, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3558,7 +3656,7 @@ }, "signatures": [ { - "id": 134, + "id": 136, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3575,7 +3673,7 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3584,7 +3682,7 @@ }, "children": [ { - "id": 136, + "id": 138, "name": "error", "kind": 32, "kindString": "Variable", @@ -3618,7 +3716,7 @@ "title": "Variables", "kind": 32, "children": [ - 136 + 138 ] } ], @@ -3636,7 +3734,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 133, + "id": 135, "name": "GoTrueClient.signOut" } } @@ -3650,12 +3748,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 133, + "id": 135, "name": "GoTrueClient.signOut" } }, { - "id": 50, + "id": 52, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3664,7 +3762,7 @@ }, "signatures": [ { - "id": 51, + "id": 53, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3676,7 +3774,7 @@ }, "parameters": [ { - "id": 52, + "id": 54, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3687,7 +3785,7 @@ "type": { "type": "reflection", "declaration": { - "id": 53, + "id": 55, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3696,7 +3794,7 @@ }, "children": [ { - "id": 54, + "id": 56, "name": "email", "kind": 32, "kindString": "Variable", @@ -3728,7 +3826,7 @@ } }, { - "id": 55, + "id": 57, "name": "password", "kind": 32, "kindString": "Variable", @@ -3760,7 +3858,7 @@ } }, { - "id": 56, + "id": 58, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3797,9 +3895,9 @@ "title": "Variables", "kind": 32, "children": [ - 54, - 55, - 56 + 56, + 57, + 58 ] } ], @@ -3814,7 +3912,7 @@ } }, { - "id": 57, + "id": 59, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3832,7 +3930,7 @@ { "type": "reflection", "declaration": { - "id": 58, + "id": 60, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3841,7 +3939,7 @@ }, "children": [ { - "id": 59, + "id": 61, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3876,7 +3974,7 @@ "title": "Variables", "kind": 32, "children": [ - 59 + 61 ] } ] @@ -3892,7 +3990,7 @@ { "type": "reflection", "declaration": { - "id": 60, + "id": 62, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3901,7 +3999,7 @@ }, "children": [ { - "id": 64, + "id": 66, "name": "data", "kind": 32, "kindString": "Variable", @@ -3934,7 +4032,7 @@ } }, { - "id": 63, + "id": 65, "name": "error", "kind": 32, "kindString": "Variable", @@ -3963,7 +4061,7 @@ } }, { - "id": 62, + "id": 64, "name": "session", "kind": 32, "kindString": "Variable", @@ -3992,7 +4090,7 @@ } }, { - "id": 61, + "id": 63, "name": "user", "kind": 32, "kindString": "Variable", @@ -4026,10 +4124,10 @@ "title": "Variables", "kind": 32, "children": [ + 66, + 65, 64, - 63, - 62, - 61 + 63 ] } ], @@ -4047,7 +4145,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 52, "name": "GoTrueClient.signUp" } } @@ -4061,12 +4159,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 50, + "id": 52, "name": "GoTrueClient.signUp" } }, { - "id": 109, + "id": 111, "name": "update", "kind": 2048, "kindString": "Method", @@ -4075,7 +4173,7 @@ }, "signatures": [ { - "id": 110, + "id": 112, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4087,7 +4185,7 @@ }, "parameters": [ { - "id": 111, + "id": 113, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4106,7 +4204,7 @@ { "type": "reflection", "declaration": { - "id": 112, + "id": 114, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4115,7 +4213,7 @@ }, "children": [ { - "id": 113, + "id": 115, "name": "data", "kind": 32, "kindString": "Variable", @@ -4144,7 +4242,7 @@ } }, { - "id": 115, + "id": 117, "name": "error", "kind": 32, "kindString": "Variable", @@ -4173,7 +4271,7 @@ } }, { - "id": 114, + "id": 116, "name": "user", "kind": 32, "kindString": "Variable", @@ -4207,9 +4305,9 @@ "title": "Variables", "kind": 32, "children": [ - 113, 115, - 114 + 117, + 116 ] } ], @@ -4227,7 +4325,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 111, "name": "GoTrueClient.update" } } @@ -4241,12 +4339,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 109, + "id": 111, "name": "GoTrueClient.update" } }, { - "id": 99, + "id": 101, "name": "user", "kind": 2048, "kindString": "Method", @@ -4255,7 +4353,7 @@ }, "signatures": [ { - "id": 100, + "id": 102, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4281,7 +4379,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 99, + "id": 101, "name": "GoTrueClient.user" } } @@ -4295,12 +4393,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 99, + "id": 101, "name": "GoTrueClient.user" } }, { - "id": 85, + "id": 87, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4309,7 +4407,7 @@ }, "signatures": [ { - "id": 86, + "id": 88, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4321,7 +4419,7 @@ }, "parameters": [ { - "id": 87, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4332,7 +4430,7 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4341,7 +4439,7 @@ }, "children": [ { - "id": 89, + "id": 91, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4364,7 +4462,7 @@ } }, { - "id": 90, + "id": 92, "name": "token", "kind": 32, "kindString": "Variable", @@ -4392,8 +4490,8 @@ "title": "Variables", "kind": 32, "children": [ - 89, - 90 + 91, + 92 ] } ], @@ -4408,7 +4506,7 @@ } }, { - "id": 91, + "id": 93, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4426,7 +4524,7 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4435,7 +4533,7 @@ }, "children": [ { - "id": 93, + "id": 95, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4470,7 +4568,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 95 ] } ] @@ -4486,7 +4584,7 @@ { "type": "reflection", "declaration": { - "id": 94, + "id": 96, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4495,7 +4593,7 @@ }, "children": [ { - "id": 98, + "id": 100, "name": "data", "kind": 32, "kindString": "Variable", @@ -4528,7 +4626,7 @@ } }, { - "id": 97, + "id": 99, "name": "error", "kind": 32, "kindString": "Variable", @@ -4557,7 +4655,7 @@ } }, { - "id": 96, + "id": 98, "name": "session", "kind": 32, "kindString": "Variable", @@ -4586,7 +4684,7 @@ } }, { - "id": 95, + "id": 97, "name": "user", "kind": 32, "kindString": "Variable", @@ -4620,10 +4718,10 @@ "title": "Variables", "kind": 32, "children": [ + 100, + 99, 98, - 97, - 96, - 95 + 97 ] } ], @@ -4641,7 +4739,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 87, "name": "GoTrueClient.verifyOTP" } } @@ -4655,7 +4753,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 85, + "id": 87, "name": "GoTrueClient.verifyOTP" } } @@ -4665,39 +4763,39 @@ "title": "Constructors", "kind": 512, "children": [ - 29 + 31 ] }, { "title": "Properties", "kind": 1024, "children": [ - 42, - 45, 44, - 43, 47, 46, + 45, 49, - 48 + 48, + 51, + 50 ] }, { "title": "Methods", "kind": 2048, "children": [ - 125, - 137, + 127, + 139, + 105, 103, + 124, + 118, + 67, + 135, + 52, + 111, 101, - 122, - 116, - 65, - 133, - 50, - 109, - 99, - 85 + 87 ] } ], @@ -4721,7 +4819,7 @@ "title": "Classes", "kind": 128, "children": [ - 28 + 30 ] } ], @@ -4734,7 +4832,7 @@ ] }, { - "id": 173, + "id": 175, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4744,7 +4842,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 174, + "id": 176, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4753,7 +4851,7 @@ }, "typeParameter": [ { - "id": 175, + "id": 177, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4764,7 +4862,7 @@ ], "children": [ { - "id": 178, + "id": 180, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4773,7 +4871,7 @@ }, "signatures": [ { - "id": 179, + "id": 181, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4782,7 +4880,7 @@ }, "parameters": [ { - "id": 180, + "id": 182, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4795,7 +4893,7 @@ } }, { - "id": 181, + "id": 183, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4806,7 +4904,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4815,7 +4913,7 @@ }, "children": [ { - "id": 183, + "id": 185, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4832,7 +4930,7 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4841,7 +4939,7 @@ }, "indexSignature": [ { - "id": 185, + "id": 187, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4850,7 +4948,7 @@ }, "parameters": [ { - "id": 186, + "id": 188, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4873,7 +4971,7 @@ } }, { - "id": 188, + "id": 190, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4893,7 +4991,7 @@ } }, { - "id": 187, + "id": 189, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4913,7 +5011,7 @@ } }, { - "id": 189, + "id": 191, "name": "table", "kind": 32, "kindString": "Variable", @@ -4938,10 +5036,10 @@ "title": "Variables", "kind": 32, "children": [ - 183, - 188, - 187, - 189 + 185, + 190, + 189, + 191 ] } ], @@ -4958,7 +5056,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 176, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -4980,7 +5078,7 @@ } }, { - "id": 177, + "id": 179, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -5001,7 +5099,7 @@ } }, { - "id": 176, + "id": 178, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5018,12 +5116,12 @@ ], "type": { "type": "reference", - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient" } }, { - "id": 248, + "id": 250, "name": "body", "kind": 1024, "kindString": "Property", @@ -5069,12 +5167,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 248, + "id": 250, "name": "PostgrestBuilder.body" } }, { - "id": 243, + "id": 245, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5092,7 +5190,7 @@ "type": { "type": "reflection", "declaration": { - "id": 244, + "id": 246, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5101,7 +5199,7 @@ }, "indexSignature": [ { - "id": 245, + "id": 247, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5110,7 +5208,7 @@ }, "parameters": [ { - "id": 246, + "id": 248, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5140,12 +5238,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 245, "name": "PostgrestBuilder.headers" } }, { - "id": 241, + "id": 243, "name": "method", "kind": 1024, "kindString": "Property", @@ -5187,12 +5285,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 241, + "id": 243, "name": "PostgrestBuilder.method" } }, { - "id": 247, + "id": 249, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5223,12 +5321,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 247, + "id": 249, "name": "PostgrestBuilder.schema" } }, { - "id": 249, + "id": 251, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -5263,12 +5361,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 249, + "id": 251, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 242, + "id": 244, "name": "url", "kind": 1024, "kindString": "Property", @@ -5289,12 +5387,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 242, + "id": 244, "name": "PostgrestBuilder.url" } }, { - "id": 235, + "id": 237, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5303,7 +5401,7 @@ }, "signatures": [ { - "id": 236, + "id": 238, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5315,7 +5413,7 @@ }, "parameters": [ { - "id": 237, + "id": 239, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5327,7 +5425,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5336,7 +5434,7 @@ }, "children": [ { - "id": 240, + "id": 242, "name": "count", "kind": 32, "kindString": "Variable", @@ -5380,7 +5478,7 @@ } }, { - "id": 239, + "id": 241, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5421,8 +5519,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 242, + 241 ] } ], @@ -5449,7 +5547,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 235, + "id": 237, "name": "PostgrestQueryBuilder.delete" } } @@ -5463,12 +5561,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 235, + "id": 237, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 204, + "id": 206, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5477,7 +5575,7 @@ }, "signatures": [ { - "id": 205, + "id": 207, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5489,7 +5587,7 @@ }, "parameters": [ { - "id": 206, + "id": 208, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5529,7 +5627,7 @@ } }, { - "id": 207, + "id": 209, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5547,7 +5645,7 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5556,7 +5654,7 @@ }, "children": [ { - "id": 210, + "id": 212, "name": "count", "kind": 32, "kindString": "Variable", @@ -5594,7 +5692,7 @@ } }, { - "id": 209, + "id": 211, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5629,8 +5727,8 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 212, + 211 ] } ] @@ -5652,12 +5750,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 206, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 211, + "id": 213, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5674,7 +5772,7 @@ }, "parameters": [ { - "id": 212, + "id": 214, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5711,7 +5809,7 @@ } }, { - "id": 213, + "id": 215, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5729,7 +5827,7 @@ { "type": "reflection", "declaration": { - "id": 214, + "id": 216, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5738,7 +5836,7 @@ }, "children": [ { - "id": 218, + "id": 220, "name": "count", "kind": 32, "kindString": "Variable", @@ -5776,7 +5874,7 @@ } }, { - "id": 216, + "id": 218, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5806,7 +5904,7 @@ } }, { - "id": 217, + "id": 219, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5836,7 +5934,7 @@ } }, { - "id": 215, + "id": 217, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5875,10 +5973,10 @@ "title": "Variables", "kind": 32, "children": [ + 220, 218, - 216, - 217, - 215 + 219, + 217 ] } ] @@ -5900,7 +5998,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 206, "name": "PostgrestQueryBuilder.insert" } } @@ -5919,12 +6017,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 204, + "id": 206, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 190, + "id": 192, "name": "on", "kind": 2048, "kindString": "Method", @@ -5933,7 +6031,7 @@ }, "signatures": [ { - "id": 191, + "id": 193, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5945,7 +6043,7 @@ }, "parameters": [ { - "id": 192, + "id": 194, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5957,12 +6055,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 28, "name": "SupabaseEventTypes" } }, { - "id": 193, + "id": 195, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5975,7 +6073,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 196, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5984,7 +6082,7 @@ }, "signatures": [ { - "id": 195, + "id": 197, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5993,7 +6091,7 @@ }, "parameters": [ { - "id": 196, + "id": 198, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -6002,7 +6100,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 19, "typeArguments": [ { "type": "typeParameter", @@ -6032,7 +6130,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient" } } @@ -6046,7 +6144,7 @@ ] }, { - "id": 197, + "id": 199, "name": "select", "kind": 2048, "kindString": "Method", @@ -6055,7 +6153,7 @@ }, "signatures": [ { - "id": 198, + "id": 200, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6067,7 +6165,7 @@ }, "parameters": [ { - "id": 199, + "id": 201, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6093,7 +6191,7 @@ } }, { - "id": 200, + "id": 202, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6105,7 +6203,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 203, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6114,7 +6212,7 @@ }, "children": [ { - "id": 203, + "id": 205, "name": "count", "kind": 32, "kindString": "Variable", @@ -6158,7 +6256,7 @@ } }, { - "id": 202, + "id": 204, "name": "head", "kind": 32, "kindString": "Variable", @@ -6199,8 +6297,8 @@ "title": "Variables", "kind": 32, "children": [ - 203, - 202 + 205, + 204 ] } ], @@ -6227,7 +6325,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 197, + "id": 199, "name": "PostgrestQueryBuilder.select" } } @@ -6241,12 +6339,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 197, + "id": 199, "name": "PostgrestQueryBuilder.select" } }, { - "id": 252, + "id": 254, "name": "then", "kind": 2048, "kindString": "Method", @@ -6255,7 +6353,7 @@ }, "signatures": [ { - "id": 253, + "id": 255, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6264,7 +6362,7 @@ }, "typeParameter": [ { - "id": 254, + "id": 256, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6273,7 +6371,7 @@ } }, { - "id": 255, + "id": 257, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6284,7 +6382,7 @@ ], "parameters": [ { - "id": 256, + "id": 258, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6298,7 +6396,7 @@ { "type": "reflection", "declaration": { - "id": 257, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6307,7 +6405,7 @@ }, "signatures": [ { - "id": 258, + "id": 260, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6316,7 +6414,7 @@ }, "parameters": [ { - "id": 259, + "id": 261, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6397,7 +6495,7 @@ } }, { - "id": 260, + "id": 262, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6411,7 +6509,7 @@ { "type": "reflection", "declaration": { - "id": 261, + "id": 263, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6420,7 +6518,7 @@ }, "signatures": [ { - "id": 262, + "id": 264, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6429,7 +6527,7 @@ }, "parameters": [ { - "id": 263, + "id": 265, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6527,7 +6625,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 252, + "id": 254, "name": "PostgrestBuilder.then" } } @@ -6541,12 +6639,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 252, + "id": 254, "name": "PostgrestBuilder.then" } }, { - "id": 250, + "id": 252, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6555,7 +6653,7 @@ }, "signatures": [ { - "id": 251, + "id": 253, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6578,7 +6676,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 252, "name": "PostgrestBuilder.throwOnError" } } @@ -6592,12 +6690,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 252, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 228, + "id": 230, "name": "update", "kind": 2048, "kindString": "Method", @@ -6606,7 +6704,7 @@ }, "signatures": [ { - "id": 229, + "id": 231, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6618,7 +6716,7 @@ }, "parameters": [ { - "id": 230, + "id": 232, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6640,7 +6738,7 @@ } }, { - "id": 231, + "id": 233, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6652,7 +6750,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6661,7 +6759,7 @@ }, "children": [ { - "id": 234, + "id": 236, "name": "count", "kind": 32, "kindString": "Variable", @@ -6705,7 +6803,7 @@ } }, { - "id": 233, + "id": 235, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6746,8 +6844,8 @@ "title": "Variables", "kind": 32, "children": [ - 234, - 233 + 236, + 235 ] } ], @@ -6774,7 +6872,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 228, + "id": 230, "name": "PostgrestQueryBuilder.update" } } @@ -6788,12 +6886,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 228, + "id": 230, "name": "PostgrestQueryBuilder.update" } }, { - "id": 219, + "id": 221, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6802,7 +6900,7 @@ }, "signatures": [ { - "id": 220, + "id": 222, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6814,7 +6912,7 @@ }, "parameters": [ { - "id": 221, + "id": 223, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6854,7 +6952,7 @@ } }, { - "id": 222, + "id": 224, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6866,7 +6964,7 @@ "type": { "type": "reflection", "declaration": { - "id": 223, + "id": 225, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6875,7 +6973,7 @@ }, "children": [ { - "id": 226, + "id": 228, "name": "count", "kind": 32, "kindString": "Variable", @@ -6919,7 +7017,7 @@ } }, { - "id": 227, + "id": 229, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -6955,7 +7053,7 @@ } }, { - "id": 224, + "id": 226, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6987,7 +7085,7 @@ } }, { - "id": 225, + "id": 227, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7028,10 +7126,10 @@ "title": "Variables", "kind": 32, "children": [ + 228, + 229, 226, - 227, - 224, - 225 + 227 ] } ], @@ -7058,7 +7156,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 221, "name": "PostgrestQueryBuilder.upsert" } } @@ -7072,7 +7170,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 221, "name": "PostgrestQueryBuilder.upsert" } } @@ -7082,35 +7180,35 @@ "title": "Constructors", "kind": 512, "children": [ - 178 + 180 ] }, { "title": "Properties", "kind": 1024, "children": [ - 177, - 176, - 248, + 179, + 178, + 250, + 245, 243, - 241, - 247, 249, - 242 + 251, + 244 ] }, { "title": "Methods", "kind": 2048, "children": [ - 235, - 204, - 190, - 197, + 237, + 206, + 192, + 199, + 254, 252, - 250, - 228, - 219 + 230, + 221 ] } ], @@ -7158,7 +7256,7 @@ "title": "Classes", "kind": 128, "children": [ - 174 + 176 ] } ], @@ -7171,7 +7269,7 @@ ] }, { - "id": 147, + "id": 149, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7181,7 +7279,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7190,7 +7288,7 @@ }, "children": [ { - "id": 150, + "id": 152, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7199,7 +7297,7 @@ }, "signatures": [ { - "id": 151, + "id": 153, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7208,7 +7306,7 @@ }, "parameters": [ { - "id": 152, + "id": 154, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7221,7 +7319,7 @@ } }, { - "id": 153, + "id": 155, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7234,7 +7332,7 @@ } }, { - "id": 154, + "id": 156, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7249,7 +7347,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient" } } @@ -7263,7 +7361,7 @@ ] }, { - "id": 149, + "id": 151, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7283,7 +7381,7 @@ } }, { - "id": 155, + "id": 157, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7293,7 +7391,7 @@ }, "signatures": [ { - "id": 156, + "id": 158, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7302,7 +7400,7 @@ }, "parameters": [ { - "id": 157, + "id": 159, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7318,7 +7416,7 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7327,7 +7425,7 @@ }, "children": [ { - "id": 159, + "id": 161, "name": "new", "kind": 32, "kindString": "Variable", @@ -7344,7 +7442,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7355,7 +7453,7 @@ } }, { - "id": 161, + "id": 163, "name": "old", "kind": 32, "kindString": "Variable", @@ -7372,7 +7470,7 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 164, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7388,8 +7486,8 @@ "title": "Variables", "kind": 32, "children": [ - 159, - 161 + 161, + 163 ] } ] @@ -7406,7 +7504,7 @@ ] }, { - "id": 163, + "id": 165, "name": "on", "kind": 2048, "kindString": "Method", @@ -7415,7 +7513,7 @@ }, "signatures": [ { - "id": 164, + "id": 166, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7427,7 +7525,7 @@ }, "parameters": [ { - "id": 165, + "id": 167, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7439,12 +7537,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 28, "name": "SupabaseEventTypes" } }, { - "id": 166, + "id": 168, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7457,7 +7555,7 @@ "type": { "type": "reflection", "declaration": { - "id": 167, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7466,7 +7564,7 @@ }, "signatures": [ { - "id": 168, + "id": 170, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7475,7 +7573,7 @@ }, "parameters": [ { - "id": 169, + "id": 171, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7484,7 +7582,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 19, "typeArguments": [ { "type": "intrinsic", @@ -7527,7 +7625,7 @@ ] }, { - "id": 170, + "id": 172, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7536,7 +7634,7 @@ }, "signatures": [ { - "id": 171, + "id": 173, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7548,7 +7646,7 @@ }, "parameters": [ { - "id": 172, + "id": 174, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7582,23 +7680,23 @@ "title": "Constructors", "kind": 512, "children": [ - 150 + 152 ] }, { "title": "Properties", "kind": 1024, "children": [ - 149 + 151 ] }, { "title": "Methods", "kind": 2048, "children": [ - 155, - 163, - 170 + 157, + 165, + 172 ] } ], @@ -7616,7 +7714,7 @@ "title": "Classes", "kind": 128, "children": [ - 148 + 150 ] } ], @@ -7629,7 +7727,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -7639,14 +7737,46 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts", "children": [ { - "id": 2, + "id": 4, "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", + "kind": 2097152, + "kindString": "Object literal", "flags": { "isExported": true, "isConst": true }, + "children": [ + { + "id": 5, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 5 + ] + } + ], "sources": [ { "fileName": "src/lib/constants.ts", @@ -7655,25 +7785,17 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 3, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - } - } + "type": "intrinsic", + "name": "object" } } ], "groups": [ { - "title": "Variables", - "kind": 32, + "title": "Object literals", + "kind": 2097152, "children": [ - 2 + 4 ] } ], @@ -7686,7 +7808,7 @@ ] }, { - "id": 337, + "id": 344, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7696,7 +7818,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 338, + "id": 345, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7705,7 +7827,7 @@ }, "signatures": [ { - "id": 339, + "id": 346, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7732,7 +7854,7 @@ "title": "Functions", "kind": 64, "children": [ - 338 + 345 ] } ], @@ -7745,7 +7867,7 @@ ] }, { - "id": 4, + "id": 6, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", @@ -7755,7 +7877,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts", "children": [ { - "id": 5, + "id": 7, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -7772,7 +7894,7 @@ "type": { "type": "reflection", "declaration": { - "id": 6, + "id": 8, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7781,7 +7903,7 @@ }, "children": [ { - "id": 12, + "id": 14, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7818,7 +7940,7 @@ } }, { - "id": 14, + "id": 16, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -7855,7 +7977,7 @@ } }, { - "id": 8, + "id": 10, "name": "headers", "kind": 32, "kindString": "Variable", @@ -7883,7 +8005,7 @@ { "type": "reflection", "declaration": { - "id": 9, + "id": 11, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7892,7 +8014,7 @@ }, "indexSignature": [ { - "id": 10, + "id": 12, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7901,7 +8023,7 @@ }, "parameters": [ { - "id": 11, + "id": 13, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7926,7 +8048,7 @@ } }, { - "id": 15, + "id": 17, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -7950,7 +8072,7 @@ } }, { - "id": 13, + "id": 15, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -7987,7 +8109,7 @@ } }, { - "id": 16, + "id": 18, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -8011,7 +8133,7 @@ } }, { - "id": 7, + "id": 9, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8049,13 +8171,13 @@ "title": "Variables", "kind": 32, "children": [ - 12, 14, - 8, - 15, - 13, 16, - 7 + 10, + 17, + 15, + 18, + 9 ] } ], @@ -8070,7 +8192,7 @@ } }, { - "id": 26, + "id": 28, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8107,7 +8229,7 @@ } }, { - "id": 17, + "id": 19, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8116,7 +8238,7 @@ }, "typeParameter": [ { - "id": 18, + "id": 20, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8135,7 +8257,7 @@ "type": { "type": "reflection", "declaration": { - "id": 19, + "id": 21, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8144,7 +8266,7 @@ }, "children": [ { - "id": 20, + "id": 22, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8164,7 +8286,7 @@ } }, { - "id": 21, + "id": 23, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8197,7 +8319,7 @@ } }, { - "id": 24, + "id": 26, "name": "new", "kind": 32, "kindString": "Variable", @@ -8220,7 +8342,7 @@ } }, { - "id": 25, + "id": 27, "name": "old", "kind": 32, "kindString": "Variable", @@ -8243,7 +8365,7 @@ } }, { - "id": 22, + "id": 24, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8263,7 +8385,7 @@ } }, { - "id": 23, + "id": 25, "name": "table", "kind": 32, "kindString": "Variable", @@ -8288,12 +8410,12 @@ "title": "Variables", "kind": 32, "children": [ - 20, - 21, - 24, - 25, 22, - 23 + 23, + 26, + 27, + 24, + 25 ] } ], @@ -8313,9 +8435,9 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 5, - 26, - 17 + 7, + 28, + 19 ] } ], @@ -8326,6 +8448,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -8333,14 +8505,15 @@ "title": "Modules", "kind": 1, "children": [ - 264, - 331, - 27, - 173, - 147, - 1, - 337, - 4 + 266, + 338, + 29, + 175, + 149, + 3, + 344, + 6, + 1 ] } ] @@ -8353,7 +8526,7 @@ "originalName": "", "children": [ { - "id": 206, + "id": 208, "name": "\"GoTrueApi\"", "kind": 1, "kindString": "Module", @@ -8363,7 +8536,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 207, + "id": 209, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -8372,7 +8545,7 @@ }, "children": [ { - "id": 214, + "id": 216, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8381,7 +8554,7 @@ }, "signatures": [ { - "id": 215, + "id": 217, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -8390,7 +8563,7 @@ }, "parameters": [ { - "id": 216, + "id": 218, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8401,7 +8574,7 @@ "type": { "type": "reflection", "declaration": { - "id": 217, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8410,7 +8583,7 @@ }, "children": [ { - "id": 223, + "id": 225, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -8440,7 +8613,7 @@ } }, { - "id": 219, + "id": 221, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8457,7 +8630,7 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8466,7 +8639,7 @@ }, "indexSignature": [ { - "id": 221, + "id": 223, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8475,7 +8648,7 @@ }, "parameters": [ { - "id": 222, + "id": 224, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8498,7 +8671,7 @@ } }, { - "id": 218, + "id": 220, "name": "url", "kind": 32, "kindString": "Variable", @@ -8524,9 +8697,9 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 219, - 218 + 225, + 221, + 220 ] } ], @@ -8543,7 +8716,7 @@ ], "type": { "type": "reference", - "id": 207, + "id": 209, "name": "GoTrueApi" } } @@ -8557,7 +8730,7 @@ ] }, { - "id": 213, + "id": 215, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -8579,7 +8752,7 @@ } }, { - "id": 209, + "id": 211, "name": "headers", "kind": 1024, "kindString": "Property", @@ -8597,7 +8770,7 @@ "type": { "type": "reflection", "declaration": { - "id": 210, + "id": 212, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8606,7 +8779,7 @@ }, "indexSignature": [ { - "id": 211, + "id": 213, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8615,7 +8788,7 @@ }, "parameters": [ { - "id": 212, + "id": 214, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8645,7 +8818,7 @@ } }, { - "id": 208, + "id": 210, "name": "url", "kind": 1024, "kindString": "Property", @@ -8666,7 +8839,7 @@ } }, { - "id": 304, + "id": 306, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -8676,7 +8849,7 @@ }, "signatures": [ { - "id": 305, + "id": 307, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -8688,7 +8861,7 @@ }, "parameters": [ { - "id": 306, + "id": 308, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8707,7 +8880,7 @@ "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 309, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8727,7 +8900,7 @@ ] }, { - "id": 335, + "id": 337, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -8736,7 +8909,7 @@ }, "signatures": [ { - "id": 336, + "id": 338, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -8748,7 +8921,7 @@ }, "parameters": [ { - "id": 337, + "id": 339, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -8764,7 +8937,7 @@ } }, { - "id": 338, + "id": 340, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8786,7 +8959,7 @@ { "type": "reflection", "declaration": { - "id": 339, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8795,7 +8968,7 @@ }, "children": [ { - "id": 341, + "id": 343, "name": "data", "kind": 32, "kindString": "Variable", @@ -8825,7 +8998,7 @@ } }, { - "id": 342, + "id": 344, "name": "error", "kind": 32, "kindString": "Variable", @@ -8854,7 +9027,7 @@ } }, { - "id": 340, + "id": 342, "name": "user", "kind": 32, "kindString": "Variable", @@ -8889,9 +9062,9 @@ "title": "Variables", "kind": 32, "children": [ - 341, - 342, - 340 + 343, + 344, + 342 ] } ], @@ -8918,7 +9091,7 @@ ] }, { - "id": 360, + "id": 362, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -8927,7 +9100,7 @@ }, "signatures": [ { - "id": 361, + "id": 363, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -8939,7 +9112,7 @@ }, "parameters": [ { - "id": 362, + "id": 364, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -8972,7 +9145,7 @@ } }, { - "id": 363, + "id": 365, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -8988,7 +9161,7 @@ } }, { - "id": 364, + "id": 366, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8998,7 +9171,7 @@ "type": { "type": "reflection", "declaration": { - "id": 365, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9007,7 +9180,7 @@ }, "children": [ { - "id": 367, + "id": 369, "name": "data", "kind": 32, "kindString": "Variable", @@ -9028,7 +9201,7 @@ } }, { - "id": 366, + "id": 368, "name": "password", "kind": 32, "kindString": "Variable", @@ -9058,7 +9231,7 @@ } }, { - "id": 368, + "id": 370, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9093,9 +9266,9 @@ "title": "Variables", "kind": 32, "children": [ - 367, - 366, - 368 + 369, + 368, + 370 ] } ], @@ -9117,7 +9290,7 @@ { "type": "reflection", "declaration": { - "id": 369, + "id": 371, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9126,7 +9299,7 @@ }, "children": [ { - "id": 370, + "id": 372, "name": "data", "kind": 32, "kindString": "Variable", @@ -9164,7 +9337,7 @@ } }, { - "id": 371, + "id": 373, "name": "error", "kind": 32, "kindString": "Variable", @@ -9198,8 +9371,8 @@ "title": "Variables", "kind": 32, "children": [ - 370, - 371 + 372, + 373 ] } ], @@ -9226,7 +9399,7 @@ ] }, { - "id": 313, + "id": 315, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -9235,7 +9408,7 @@ }, "signatures": [ { - "id": 314, + "id": 316, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -9247,7 +9420,7 @@ }, "parameters": [ { - "id": 315, + "id": 317, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -9264,7 +9437,7 @@ } }, { - "id": 316, + "id": 318, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9274,7 +9447,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9283,7 +9456,7 @@ }, "children": [ { - "id": 318, + "id": 320, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9313,7 +9486,7 @@ } }, { - "id": 319, + "id": 321, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -9348,8 +9521,8 @@ "title": "Variables", "kind": 32, "children": [ - 318, - 319 + 320, + 321 ] } ], @@ -9379,7 +9552,7 @@ ] }, { - "id": 320, + "id": 322, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -9388,7 +9561,7 @@ }, "signatures": [ { - "id": 321, + "id": 323, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -9400,7 +9573,7 @@ }, "parameters": [ { - "id": 322, + "id": 324, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -9422,7 +9595,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9431,7 +9604,7 @@ }, "children": [ { - "id": 325, + "id": 327, "name": "data", "kind": 32, "kindString": "Variable", @@ -9461,7 +9634,7 @@ } }, { - "id": 326, + "id": 328, "name": "error", "kind": 32, "kindString": "Variable", @@ -9490,7 +9663,7 @@ } }, { - "id": 324, + "id": 326, "name": "user", "kind": 32, "kindString": "Variable", @@ -9525,9 +9698,9 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 326, - 324 + 327, + 328, + 326 ] } ], @@ -9554,7 +9727,7 @@ ] }, { - "id": 353, + "id": 355, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -9563,7 +9736,7 @@ }, "signatures": [ { - "id": 354, + "id": 356, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -9575,7 +9748,7 @@ }, "parameters": [ { - "id": 355, + "id": 357, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9594,7 +9767,7 @@ { "type": "reflection", "declaration": { - "id": 356, + "id": 358, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9603,7 +9776,7 @@ }, "children": [ { - "id": 358, + "id": 360, "name": "data", "kind": 32, "kindString": "Variable", @@ -9633,7 +9806,7 @@ } }, { - "id": 359, + "id": 361, "name": "error", "kind": 32, "kindString": "Variable", @@ -9662,7 +9835,7 @@ } }, { - "id": 357, + "id": 359, "name": "user", "kind": 32, "kindString": "Variable", @@ -9697,9 +9870,9 @@ "title": "Variables", "kind": 32, "children": [ - 358, - 359, - 357 + 360, + 361, + 359 ] } ], @@ -9726,7 +9899,7 @@ ] }, { - "id": 285, + "id": 287, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -9735,7 +9908,7 @@ }, "signatures": [ { - "id": 286, + "id": 288, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -9747,7 +9920,7 @@ }, "parameters": [ { - "id": 287, + "id": 289, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9763,7 +9936,7 @@ } }, { - "id": 288, + "id": 290, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9773,7 +9946,7 @@ "type": { "type": "reflection", "declaration": { - "id": 289, + "id": 291, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9782,7 +9955,7 @@ }, "children": [ { - "id": 290, + "id": 292, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9817,7 +9990,7 @@ "title": "Variables", "kind": 32, "children": [ - 290 + 292 ] } ], @@ -9839,7 +10012,7 @@ { "type": "reflection", "declaration": { - "id": 291, + "id": 293, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9848,7 +10021,7 @@ }, "children": [ { - "id": 292, + "id": 294, "name": "data", "kind": 32, "kindString": "Variable", @@ -9878,7 +10051,7 @@ } }, { - "id": 293, + "id": 295, "name": "error", "kind": 32, "kindString": "Variable", @@ -9912,8 +10085,8 @@ "title": "Variables", "kind": 32, "children": [ - 292, - 293 + 294, + 295 ] } ], @@ -9940,7 +10113,7 @@ ] }, { - "id": 343, + "id": 345, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -9949,7 +10122,7 @@ }, "signatures": [ { - "id": 344, + "id": 346, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -9961,7 +10134,7 @@ }, "parameters": [ { - "id": 345, + "id": 347, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -9983,7 +10156,7 @@ { "type": "reflection", "declaration": { - "id": 346, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9992,7 +10165,7 @@ }, "children": [ { - "id": 347, + "id": 349, "name": "data", "kind": 32, "kindString": "Variable", @@ -10022,7 +10195,7 @@ } }, { - "id": 348, + "id": 350, "name": "error", "kind": 32, "kindString": "Variable", @@ -10056,8 +10229,8 @@ "title": "Variables", "kind": 32, "children": [ - 347, - 348 + 349, + 350 ] } ], @@ -10084,7 +10257,7 @@ ] }, { - "id": 294, + "id": 296, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -10093,7 +10266,7 @@ }, "signatures": [ { - "id": 295, + "id": 297, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -10105,7 +10278,7 @@ }, "parameters": [ { - "id": 296, + "id": 298, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10121,7 +10294,7 @@ } }, { - "id": 297, + "id": 299, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10131,7 +10304,7 @@ "type": { "type": "reflection", "declaration": { - "id": 298, + "id": 300, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10140,7 +10313,7 @@ }, "children": [ { - "id": 299, + "id": 301, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10175,7 +10348,7 @@ "title": "Variables", "kind": 32, "children": [ - 299 + 301 ] } ], @@ -10197,7 +10370,7 @@ { "type": "reflection", "declaration": { - "id": 300, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10206,7 +10379,7 @@ }, "children": [ { - "id": 301, + "id": 303, "name": "data", "kind": 32, "kindString": "Variable", @@ -10226,7 +10399,7 @@ { "type": "reflection", "declaration": { - "id": 302, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10250,7 +10423,7 @@ } }, { - "id": 303, + "id": 305, "name": "error", "kind": 32, "kindString": "Variable", @@ -10284,8 +10457,8 @@ "title": "Variables", "kind": 32, "children": [ - 301, - 303 + 303, + 305 ] } ], @@ -10312,7 +10485,7 @@ ] }, { - "id": 258, + "id": 260, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -10321,7 +10494,7 @@ }, "signatures": [ { - "id": 259, + "id": 261, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -10333,7 +10506,7 @@ }, "parameters": [ { - "id": 260, + "id": 262, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10349,7 +10522,7 @@ } }, { - "id": 261, + "id": 263, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10359,7 +10532,7 @@ "type": { "type": "reflection", "declaration": { - "id": 262, + "id": 264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10368,7 +10541,7 @@ }, "children": [ { - "id": 263, + "id": 265, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10403,7 +10576,7 @@ "title": "Variables", "kind": 32, "children": [ - 263 + 265 ] } ], @@ -10425,7 +10598,7 @@ { "type": "reflection", "declaration": { - "id": 264, + "id": 266, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10434,7 +10607,7 @@ }, "children": [ { - "id": 265, + "id": 267, "name": "data", "kind": 32, "kindString": "Variable", @@ -10454,7 +10627,7 @@ { "type": "reflection", "declaration": { - "id": 266, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10478,7 +10651,7 @@ } }, { - "id": 267, + "id": 269, "name": "error", "kind": 32, "kindString": "Variable", @@ -10512,8 +10685,8 @@ "title": "Variables", "kind": 32, "children": [ - 265, - 267 + 267, + 269 ] } ], @@ -10540,7 +10713,7 @@ ] }, { - "id": 268, + "id": 270, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -10549,7 +10722,7 @@ }, "signatures": [ { - "id": 269, + "id": 271, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -10561,7 +10734,7 @@ }, "parameters": [ { - "id": 270, + "id": 272, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -10583,7 +10756,7 @@ { "type": "reflection", "declaration": { - "id": 271, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10592,7 +10765,7 @@ }, "children": [ { - "id": 272, + "id": 274, "name": "data", "kind": 32, "kindString": "Variable", @@ -10612,7 +10785,7 @@ { "type": "reflection", "declaration": { - "id": 273, + "id": 275, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10636,7 +10809,7 @@ } }, { - "id": 274, + "id": 276, "name": "error", "kind": 32, "kindString": "Variable", @@ -10670,8 +10843,8 @@ "title": "Variables", "kind": 32, "children": [ - 272, - 274 + 274, + 276 ] } ], @@ -10698,7 +10871,7 @@ ] }, { - "id": 349, + "id": 351, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -10707,7 +10880,7 @@ }, "signatures": [ { - "id": 350, + "id": 352, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -10719,7 +10892,7 @@ }, "parameters": [ { - "id": 351, + "id": 353, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -10732,7 +10905,7 @@ } }, { - "id": 352, + "id": 354, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -10760,7 +10933,7 @@ ] }, { - "id": 234, + "id": 236, "name": "signInWithEmail", "kind": 2048, "kindString": "Method", @@ -10769,7 +10942,7 @@ }, "signatures": [ { - "id": 235, + "id": 237, "name": "signInWithEmail", "kind": 4096, "kindString": "Call signature", @@ -10781,7 +10954,7 @@ }, "parameters": [ { - "id": 236, + "id": 238, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10797,7 +10970,7 @@ } }, { - "id": 237, + "id": 239, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -10813,7 +10986,7 @@ } }, { - "id": 238, + "id": 240, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10823,7 +10996,7 @@ "type": { "type": "reflection", "declaration": { - "id": 239, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10832,7 +11005,7 @@ }, "children": [ { - "id": 240, + "id": 242, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10867,7 +11040,7 @@ "title": "Variables", "kind": 32, "children": [ - 240 + 242 ] } ], @@ -10889,7 +11062,7 @@ { "type": "reflection", "declaration": { - "id": 241, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10898,7 +11071,7 @@ }, "children": [ { - "id": 242, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -10928,7 +11101,7 @@ } }, { - "id": 243, + "id": 245, "name": "error", "kind": 32, "kindString": "Variable", @@ -10962,8 +11135,8 @@ "title": "Variables", "kind": 32, "children": [ - 242, - 243 + 244, + 245 ] } ], @@ -10990,7 +11163,7 @@ ] }, { - "id": 251, + "id": 253, "name": "signInWithPhone", "kind": 2048, "kindString": "Method", @@ -10999,7 +11172,7 @@ }, "signatures": [ { - "id": 252, + "id": 254, "name": "signInWithPhone", "kind": 4096, "kindString": "Call signature", @@ -11011,7 +11184,7 @@ }, "parameters": [ { - "id": 253, + "id": 255, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11027,7 +11200,7 @@ } }, { - "id": 254, + "id": 256, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11049,7 +11222,7 @@ { "type": "reflection", "declaration": { - "id": 255, + "id": 257, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11058,7 +11231,7 @@ }, "children": [ { - "id": 256, + "id": 258, "name": "data", "kind": 32, "kindString": "Variable", @@ -11088,7 +11261,7 @@ } }, { - "id": 257, + "id": 259, "name": "error", "kind": 32, "kindString": "Variable", @@ -11122,8 +11295,8 @@ "title": "Variables", "kind": 32, "children": [ - 256, - 257 + 258, + 259 ] } ], @@ -11150,7 +11323,7 @@ ] }, { - "id": 308, + "id": 310, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -11159,7 +11332,7 @@ }, "signatures": [ { - "id": 309, + "id": 311, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -11171,7 +11344,7 @@ }, "parameters": [ { - "id": 310, + "id": 312, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11193,7 +11366,7 @@ { "type": "reflection", "declaration": { - "id": 311, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11202,7 +11375,7 @@ }, "children": [ { - "id": 312, + "id": 314, "name": "error", "kind": 32, "kindString": "Variable", @@ -11236,7 +11409,7 @@ "title": "Variables", "kind": 32, "children": [ - 312 + 314 ] } ], @@ -11263,7 +11436,7 @@ ] }, { - "id": 224, + "id": 226, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -11272,7 +11445,7 @@ }, "signatures": [ { - "id": 225, + "id": 227, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -11285,7 +11458,7 @@ }, "parameters": [ { - "id": 226, + "id": 228, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -11301,7 +11474,7 @@ } }, { - "id": 227, + "id": 229, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11317,7 +11490,7 @@ } }, { - "id": 228, + "id": 230, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11327,7 +11500,7 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11336,7 +11509,7 @@ }, "children": [ { - "id": 230, + "id": 232, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -11371,7 +11544,7 @@ "title": "Variables", "kind": 32, "children": [ - 230 + 232 ] } ], @@ -11393,7 +11566,7 @@ { "type": "reflection", "declaration": { - "id": 231, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11402,7 +11575,7 @@ }, "children": [ { - "id": 232, + "id": 234, "name": "data", "kind": 32, "kindString": "Variable", @@ -11437,7 +11610,7 @@ } }, { - "id": 233, + "id": 235, "name": "error", "kind": 32, "kindString": "Variable", @@ -11471,8 +11644,8 @@ "title": "Variables", "kind": 32, "children": [ - 232, - 233 + 234, + 235 ] } ], @@ -11499,7 +11672,7 @@ ] }, { - "id": 244, + "id": 246, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -11508,7 +11681,7 @@ }, "signatures": [ { - "id": 245, + "id": 247, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -11520,7 +11693,7 @@ }, "parameters": [ { - "id": 246, + "id": 248, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11536,7 +11709,7 @@ } }, { - "id": 247, + "id": 249, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11558,7 +11731,7 @@ { "type": "reflection", "declaration": { - "id": 248, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11567,7 +11740,7 @@ }, "children": [ { - "id": 249, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -11602,7 +11775,7 @@ } }, { - "id": 250, + "id": 252, "name": "error", "kind": 32, "kindString": "Variable", @@ -11636,8 +11809,8 @@ "title": "Variables", "kind": 32, "children": [ - 249, - 250 + 251, + 252 ] } ], @@ -11664,7 +11837,7 @@ ] }, { - "id": 327, + "id": 329, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -11673,7 +11846,7 @@ }, "signatures": [ { - "id": 328, + "id": 330, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -11685,7 +11858,7 @@ }, "parameters": [ { - "id": 329, + "id": 331, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11701,7 +11874,7 @@ } }, { - "id": 330, + "id": 332, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -11724,7 +11897,7 @@ { "type": "reflection", "declaration": { - "id": 331, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11733,7 +11906,7 @@ }, "children": [ { - "id": 333, + "id": 335, "name": "data", "kind": 32, "kindString": "Variable", @@ -11763,7 +11936,7 @@ } }, { - "id": 334, + "id": 336, "name": "error", "kind": 32, "kindString": "Variable", @@ -11792,7 +11965,7 @@ } }, { - "id": 332, + "id": 334, "name": "user", "kind": 32, "kindString": "Variable", @@ -11827,9 +12000,9 @@ "title": "Variables", "kind": 32, "children": [ - 333, - 334, - 332 + 335, + 336, + 334 ] } ], @@ -11856,7 +12029,7 @@ ] }, { - "id": 275, + "id": 277, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -11865,7 +12038,7 @@ }, "signatures": [ { - "id": 276, + "id": 278, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -11877,7 +12050,7 @@ }, "parameters": [ { - "id": 277, + "id": 279, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11893,7 +12066,7 @@ } }, { - "id": 278, + "id": 280, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -11909,7 +12082,7 @@ } }, { - "id": 279, + "id": 281, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11919,7 +12092,7 @@ "type": { "type": "reflection", "declaration": { - "id": 280, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11928,7 +12101,7 @@ }, "children": [ { - "id": 281, + "id": 283, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -11963,7 +12136,7 @@ "title": "Variables", "kind": 32, "children": [ - 281 + 283 ] } ], @@ -11985,7 +12158,7 @@ { "type": "reflection", "declaration": { - "id": 282, + "id": 284, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11994,7 +12167,7 @@ }, "children": [ { - "id": 283, + "id": 285, "name": "data", "kind": 32, "kindString": "Variable", @@ -12029,7 +12202,7 @@ } }, { - "id": 284, + "id": 286, "name": "error", "kind": 32, "kindString": "Variable", @@ -12063,8 +12236,8 @@ "title": "Variables", "kind": 32, "children": [ - 283, - 284 + 285, + 286 ] } ], @@ -12096,41 +12269,41 @@ "title": "Constructors", "kind": 512, "children": [ - 214 + 216 ] }, { "title": "Properties", "kind": 1024, "children": [ - 213, - 209, - 208 + 215, + 211, + 210 ] }, { "title": "Methods", "kind": 2048, "children": [ - 304, - 335, - 360, - 313, - 320, - 353, - 285, - 343, - 294, - 258, - 268, - 349, - 234, - 251, - 308, - 224, - 244, - 327, - 275 + 306, + 337, + 362, + 315, + 322, + 355, + 287, + 345, + 296, + 260, + 270, + 351, + 236, + 253, + 310, + 226, + 246, + 329, + 277 ] } ], @@ -12148,7 +12321,7 @@ "title": "Classes", "kind": 128, "children": [ - 207 + 209 ] } ], @@ -12161,7 +12334,7 @@ ] }, { - "id": 375, + "id": 377, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -12171,7 +12344,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 376, + "id": 378, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -12180,7 +12353,7 @@ }, "children": [ { - "id": 385, + "id": 387, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12192,7 +12365,7 @@ }, "signatures": [ { - "id": 386, + "id": 388, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -12204,7 +12377,7 @@ }, "parameters": [ { - "id": 387, + "id": 389, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12214,7 +12387,7 @@ "type": { "type": "reflection", "declaration": { - "id": 388, + "id": 390, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12223,7 +12396,7 @@ }, "children": [ { - "id": 395, + "id": 397, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -12260,7 +12433,7 @@ } }, { - "id": 398, + "id": 400, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -12282,7 +12455,7 @@ } }, { - "id": 394, + "id": 396, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -12319,7 +12492,7 @@ } }, { - "id": 390, + "id": 392, "name": "headers", "kind": 32, "kindString": "Variable", @@ -12347,7 +12520,7 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12356,7 +12529,7 @@ }, "indexSignature": [ { - "id": 392, + "id": 394, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -12365,7 +12538,7 @@ }, "parameters": [ { - "id": 393, + "id": 395, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -12390,7 +12563,7 @@ } }, { - "id": 397, + "id": 399, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -12414,7 +12587,7 @@ } }, { - "id": 396, + "id": 398, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -12451,7 +12624,7 @@ } }, { - "id": 389, + "id": 391, "name": "url", "kind": 32, "kindString": "Variable", @@ -12489,13 +12662,13 @@ "title": "Variables", "kind": 32, "children": [ - 395, - 398, - 394, - 390, 397, + 400, 396, - 389 + 392, + 399, + 398, + 391 ] } ], @@ -12512,7 +12685,7 @@ ], "type": { "type": "reference", - "id": 376, + "id": 378, "name": "GoTrueClient" } } @@ -12526,7 +12699,7 @@ ] }, { - "id": 377, + "id": 379, "name": "api", "kind": 1024, "kindString": "Property", @@ -12545,12 +12718,12 @@ ], "type": { "type": "reference", - "id": 207, + "id": 209, "name": "GoTrueApi" } }, { - "id": 380, + "id": 382, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -12571,7 +12744,7 @@ } }, { - "id": 379, + "id": 381, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -12605,7 +12778,7 @@ } }, { - "id": 378, + "id": 380, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -12639,7 +12812,7 @@ } }, { - "id": 382, + "id": 384, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -12660,7 +12833,7 @@ } }, { - "id": 381, + "id": 383, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -12681,7 +12854,7 @@ } }, { - "id": 384, + "id": 386, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -12712,7 +12885,7 @@ } }, { - "id": 383, + "id": 385, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -12745,7 +12918,7 @@ "defaultValue": "new Map()" }, { - "id": 550, + "id": 552, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -12755,7 +12928,7 @@ }, "signatures": [ { - "id": 551, + "id": 553, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -12764,7 +12937,7 @@ }, "parameters": [ { - "id": 552, + "id": 554, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -12796,7 +12969,7 @@ { "type": "reflection", "declaration": { - "id": 553, + "id": 555, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12805,7 +12978,7 @@ }, "children": [ { - "id": 554, + "id": 556, "name": "data", "kind": 32, "kindString": "Variable", @@ -12826,7 +12999,7 @@ } }, { - "id": 555, + "id": 557, "name": "error", "kind": 32, "kindString": "Variable", @@ -12852,8 +13025,8 @@ "title": "Variables", "kind": 32, "children": [ - 554, - 555 + 556, + 557 ] } ] @@ -12862,7 +13035,7 @@ { "type": "reflection", "declaration": { - "id": 556, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12871,7 +13044,7 @@ }, "children": [ { - "id": 557, + "id": 559, "name": "data", "kind": 32, "kindString": "Variable", @@ -12892,7 +13065,7 @@ "defaultValue": "null" }, { - "id": 558, + "id": 560, "name": "error", "kind": 32, "kindString": "Variable", @@ -12917,8 +13090,8 @@ "title": "Variables", "kind": 32, "children": [ - 557, - 558 + 559, + 560 ] } ] @@ -12940,7 +13113,7 @@ ] }, { - "id": 496, + "id": 498, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -12950,7 +13123,7 @@ }, "signatures": [ { - "id": 497, + "id": 499, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -12959,7 +13132,7 @@ }, "parameters": [ { - "id": 498, + "id": 500, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -12972,7 +13145,7 @@ } }, { - "id": 499, + "id": 501, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -12985,7 +13158,7 @@ } }, { - "id": 500, + "id": 502, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12995,7 +13168,7 @@ "type": { "type": "reflection", "declaration": { - "id": 501, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13004,7 +13177,7 @@ }, "children": [ { - "id": 502, + "id": 504, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -13039,7 +13212,7 @@ "title": "Variables", "kind": 32, "children": [ - 502 + 504 ] } ], @@ -13064,7 +13237,7 @@ { "type": "reflection", "declaration": { - "id": 503, + "id": 505, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13073,7 +13246,7 @@ }, "children": [ { - "id": 504, + "id": 506, "name": "data", "kind": 32, "kindString": "Variable", @@ -13094,7 +13267,7 @@ } }, { - "id": 507, + "id": 509, "name": "error", "kind": 32, "kindString": "Variable", @@ -13115,7 +13288,7 @@ "defaultValue": "null" }, { - "id": 506, + "id": 508, "name": "session", "kind": 32, "kindString": "Variable", @@ -13137,7 +13310,7 @@ "defaultValue": "data" }, { - "id": 505, + "id": 507, "name": "user", "kind": 32, "kindString": "Variable", @@ -13173,10 +13346,10 @@ "title": "Variables", "kind": 32, "children": [ - 504, - 507, 506, - 505 + 509, + 508, + 507 ] } ] @@ -13185,7 +13358,7 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13194,7 +13367,7 @@ }, "children": [ { - "id": 509, + "id": 511, "name": "data", "kind": 32, "kindString": "Variable", @@ -13215,7 +13388,7 @@ "defaultValue": "null" }, { - "id": 512, + "id": 514, "name": "error", "kind": 32, "kindString": "Variable", @@ -13235,7 +13408,7 @@ } }, { - "id": 511, + "id": 513, "name": "session", "kind": 32, "kindString": "Variable", @@ -13256,7 +13429,7 @@ "defaultValue": "null" }, { - "id": 510, + "id": 512, "name": "user", "kind": 32, "kindString": "Variable", @@ -13282,10 +13455,10 @@ "title": "Variables", "kind": 32, "children": [ - 509, - 512, 511, - 510 + 514, + 513, + 512 ] } ] @@ -13307,7 +13480,7 @@ ] }, { - "id": 513, + "id": 515, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -13317,7 +13490,7 @@ }, "signatures": [ { - "id": 514, + "id": 516, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -13326,7 +13499,7 @@ }, "parameters": [ { - "id": 515, + "id": 517, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -13339,7 +13512,7 @@ } }, { - "id": 516, + "id": 518, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -13361,7 +13534,7 @@ { "type": "reflection", "declaration": { - "id": 517, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13370,7 +13543,7 @@ }, "children": [ { - "id": 518, + "id": 520, "name": "data", "kind": 32, "kindString": "Variable", @@ -13391,7 +13564,7 @@ } }, { - "id": 521, + "id": 523, "name": "error", "kind": 32, "kindString": "Variable", @@ -13412,7 +13585,7 @@ "defaultValue": "null" }, { - "id": 520, + "id": 522, "name": "session", "kind": 32, "kindString": "Variable", @@ -13434,7 +13607,7 @@ "defaultValue": "data" }, { - "id": 519, + "id": 521, "name": "user", "kind": 32, "kindString": "Variable", @@ -13470,10 +13643,10 @@ "title": "Variables", "kind": 32, "children": [ - 518, - 521, 520, - 519 + 523, + 522, + 521 ] } ] @@ -13482,7 +13655,7 @@ { "type": "reflection", "declaration": { - "id": 522, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13491,7 +13664,7 @@ }, "children": [ { - "id": 523, + "id": 525, "name": "data", "kind": 32, "kindString": "Variable", @@ -13512,7 +13685,7 @@ "defaultValue": "null" }, { - "id": 526, + "id": 528, "name": "error", "kind": 32, "kindString": "Variable", @@ -13532,7 +13705,7 @@ } }, { - "id": 525, + "id": 527, "name": "session", "kind": 32, "kindString": "Variable", @@ -13553,7 +13726,7 @@ "defaultValue": "null" }, { - "id": 524, + "id": 526, "name": "user", "kind": 32, "kindString": "Variable", @@ -13579,10 +13752,10 @@ "title": "Variables", "kind": 32, "children": [ - 523, - 526, 525, - 524 + 528, + 527, + 526 ] } ] @@ -13604,7 +13777,7 @@ ] }, { - "id": 527, + "id": 529, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -13614,7 +13787,7 @@ }, "signatures": [ { - "id": 528, + "id": 530, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -13623,7 +13796,7 @@ }, "parameters": [ { - "id": 529, + "id": 531, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -13637,7 +13810,7 @@ } }, { - "id": 530, + "id": 532, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13647,7 +13820,7 @@ "type": { "type": "reflection", "declaration": { - "id": 531, + "id": 533, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13656,7 +13829,7 @@ }, "children": [ { - "id": 532, + "id": 534, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -13686,7 +13859,7 @@ } }, { - "id": 533, + "id": 535, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -13721,8 +13894,8 @@ "title": "Variables", "kind": 32, "children": [ - 532, - 533 + 534, + 535 ] } ], @@ -13744,7 +13917,7 @@ { "type": "reflection", "declaration": { - "id": 534, + "id": 536, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13753,7 +13926,7 @@ }, "children": [ { - "id": 537, + "id": 539, "name": "data", "kind": 32, "kindString": "Variable", @@ -13774,7 +13947,7 @@ "defaultValue": "null" }, { - "id": 540, + "id": 542, "name": "error", "kind": 32, "kindString": "Variable", @@ -13795,7 +13968,7 @@ "defaultValue": "null" }, { - "id": 535, + "id": 537, "name": "provider", "kind": 32, "kindString": "Variable", @@ -13816,7 +13989,7 @@ } }, { - "id": 538, + "id": 540, "name": "session", "kind": 32, "kindString": "Variable", @@ -13837,7 +14010,7 @@ "defaultValue": "null" }, { - "id": 536, + "id": 538, "name": "url", "kind": 32, "kindString": "Variable", @@ -13857,7 +14030,7 @@ } }, { - "id": 539, + "id": 541, "name": "user", "kind": 32, "kindString": "Variable", @@ -13883,12 +14056,12 @@ "title": "Variables", "kind": 32, "children": [ + 539, + 542, 537, 540, - 535, 538, - 536, - 539 + 541 ] } ] @@ -13897,7 +14070,7 @@ { "type": "reflection", "declaration": { - "id": 541, + "id": 543, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13906,7 +14079,7 @@ }, "children": [ { - "id": 542, + "id": 544, "name": "data", "kind": 32, "kindString": "Variable", @@ -13927,7 +14100,7 @@ "defaultValue": "null" }, { - "id": 545, + "id": 547, "name": "error", "kind": 32, "kindString": "Variable", @@ -13947,7 +14120,7 @@ } }, { - "id": 544, + "id": 546, "name": "session", "kind": 32, "kindString": "Variable", @@ -13968,7 +14141,7 @@ "defaultValue": "null" }, { - "id": 543, + "id": 545, "name": "user", "kind": 32, "kindString": "Variable", @@ -13994,10 +14167,10 @@ "title": "Variables", "kind": 32, "children": [ - 542, - 545, 544, - 543 + 547, + 546, + 545 ] } ] @@ -14016,7 +14189,7 @@ ] }, { - "id": 559, + "id": 561, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -14026,7 +14199,7 @@ }, "signatures": [ { - "id": 560, + "id": 562, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -14035,7 +14208,7 @@ }, "parameters": [ { - "id": 561, + "id": 563, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -14064,7 +14237,7 @@ ] }, { - "id": 565, + "id": 567, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -14074,7 +14247,7 @@ }, "signatures": [ { - "id": 566, + "id": 568, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -14083,7 +14256,7 @@ }, "parameters": [ { - "id": 567, + "id": 569, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -14112,7 +14285,7 @@ ] }, { - "id": 548, + "id": 550, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -14122,7 +14295,7 @@ }, "signatures": [ { - "id": 549, + "id": 551, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -14162,7 +14335,7 @@ ] }, { - "id": 546, + "id": 548, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -14172,7 +14345,7 @@ }, "signatures": [ { - "id": 547, + "id": 549, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -14206,7 +14379,7 @@ ] }, { - "id": 568, + "id": 570, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -14216,7 +14389,7 @@ }, "signatures": [ { - "id": 569, + "id": 571, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -14244,7 +14417,7 @@ ] }, { - "id": 562, + "id": 564, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -14254,7 +14427,7 @@ }, "signatures": [ { - "id": 563, + "id": 565, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -14266,7 +14439,7 @@ }, "parameters": [ { - "id": 564, + "id": 566, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14295,7 +14468,7 @@ ] }, { - "id": 570, + "id": 572, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -14305,7 +14478,7 @@ }, "signatures": [ { - "id": 571, + "id": 573, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -14317,7 +14490,7 @@ }, "parameters": [ { - "id": 572, + "id": 574, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -14348,7 +14521,7 @@ ] }, { - "id": 474, + "id": 476, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -14357,7 +14530,7 @@ }, "signatures": [ { - "id": 475, + "id": 477, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -14369,7 +14542,7 @@ }, "parameters": [ { - "id": 476, + "id": 478, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14387,7 +14560,7 @@ { "type": "reflection", "declaration": { - "id": 477, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14396,7 +14569,7 @@ }, "children": [ { - "id": 478, + "id": 480, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -14438,7 +14611,7 @@ "title": "Variables", "kind": 32, "children": [ - 478 + 480 ] } ] @@ -14454,7 +14627,7 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14463,7 +14636,7 @@ }, "children": [ { - "id": 480, + "id": 482, "name": "data", "kind": 32, "kindString": "Variable", @@ -14493,7 +14666,7 @@ } }, { - "id": 481, + "id": 483, "name": "error", "kind": 32, "kindString": "Variable", @@ -14527,8 +14700,8 @@ "title": "Variables", "kind": 32, "children": [ - 480, - 481 + 482, + 483 ] } ], @@ -14555,7 +14728,7 @@ ] }, { - "id": 486, + "id": 488, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -14564,7 +14737,7 @@ }, "signatures": [ { - "id": 487, + "id": 489, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -14577,7 +14750,7 @@ }, "parameters": [ { - "id": 488, + "id": 490, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -14587,7 +14760,7 @@ "type": { "type": "reflection", "declaration": { - "id": 489, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14596,7 +14769,7 @@ }, "signatures": [ { - "id": 490, + "id": 492, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -14605,7 +14778,7 @@ }, "parameters": [ { - "id": 491, + "id": 493, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -14619,7 +14792,7 @@ } }, { - "id": 492, + "id": 494, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14662,7 +14835,7 @@ "type": { "type": "reflection", "declaration": { - "id": 493, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14671,7 +14844,7 @@ }, "children": [ { - "id": 494, + "id": 496, "name": "data", "kind": 32, "kindString": "Variable", @@ -14701,7 +14874,7 @@ } }, { - "id": 495, + "id": 497, "name": "error", "kind": 32, "kindString": "Variable", @@ -14735,8 +14908,8 @@ "title": "Variables", "kind": 32, "children": [ - 494, - 495 + 496, + 497 ] } ], @@ -14760,7 +14933,7 @@ ] }, { - "id": 452, + "id": 454, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -14769,7 +14942,7 @@ }, "signatures": [ { - "id": 453, + "id": 455, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -14785,7 +14958,7 @@ { "type": "reflection", "declaration": { - "id": 454, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14794,7 +14967,7 @@ }, "children": [ { - "id": 455, + "id": 457, "name": "data", "kind": 32, "kindString": "Variable", @@ -14824,7 +14997,7 @@ } }, { - "id": 457, + "id": 459, "name": "error", "kind": 32, "kindString": "Variable", @@ -14853,7 +15026,7 @@ } }, { - "id": 456, + "id": 458, "name": "user", "kind": 32, "kindString": "Variable", @@ -14888,9 +15061,9 @@ "title": "Variables", "kind": 32, "children": [ - 455, 457, - 456 + 459, + 458 ] } ], @@ -14917,7 +15090,7 @@ ] }, { - "id": 450, + "id": 452, "name": "session", "kind": 2048, "kindString": "Method", @@ -14926,7 +15099,7 @@ }, "signatures": [ { - "id": 451, + "id": 453, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -14961,7 +15134,7 @@ ] }, { - "id": 471, + "id": 473, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -14970,7 +15143,7 @@ }, "signatures": [ { - "id": 472, + "id": 474, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -14982,7 +15155,7 @@ }, "parameters": [ { - "id": 473, + "id": 475, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -15014,7 +15187,7 @@ ] }, { - "id": 465, + "id": 467, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -15023,7 +15196,7 @@ }, "signatures": [ { - "id": 466, + "id": 468, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -15035,7 +15208,7 @@ }, "parameters": [ { - "id": 467, + "id": 469, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -15057,7 +15230,7 @@ { "type": "reflection", "declaration": { - "id": 468, + "id": 470, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15066,7 +15239,7 @@ }, "children": [ { - "id": 470, + "id": 472, "name": "error", "kind": 32, "kindString": "Variable", @@ -15095,7 +15268,7 @@ } }, { - "id": 469, + "id": 471, "name": "session", "kind": 32, "kindString": "Variable", @@ -15130,8 +15303,8 @@ "title": "Variables", "kind": 32, "children": [ - 470, - 469 + 472, + 471 ] } ], @@ -15158,7 +15331,7 @@ ] }, { - "id": 414, + "id": 416, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -15167,7 +15340,7 @@ }, "signatures": [ { - "id": 415, + "id": 417, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -15179,7 +15352,7 @@ }, "parameters": [ { - "id": 416, + "id": 418, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -15190,7 +15363,7 @@ "type": { "type": "reflection", "declaration": { - "id": 417, + "id": 419, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15199,7 +15372,7 @@ }, "children": [ { - "id": 418, + "id": 420, "name": "email", "kind": 32, "kindString": "Variable", @@ -15231,7 +15404,7 @@ } }, { - "id": 420, + "id": 422, "name": "password", "kind": 32, "kindString": "Variable", @@ -15263,7 +15436,7 @@ } }, { - "id": 419, + "id": 421, "name": "phone", "kind": 32, "kindString": "Variable", @@ -15292,7 +15465,7 @@ } }, { - "id": 422, + "id": 424, "name": "provider", "kind": 32, "kindString": "Variable", @@ -15360,7 +15533,7 @@ } }, { - "id": 421, + "id": 423, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -15397,11 +15570,11 @@ "title": "Variables", "kind": 32, "children": [ - 418, 420, - 419, 422, - 421 + 421, + 424, + 423 ] } ], @@ -15416,7 +15589,7 @@ } }, { - "id": 423, + "id": 425, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15426,7 +15599,7 @@ "type": { "type": "reflection", "declaration": { - "id": 424, + "id": 426, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15435,7 +15608,7 @@ }, "children": [ { - "id": 425, + "id": 427, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -15465,7 +15638,7 @@ } }, { - "id": 426, + "id": 428, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -15500,8 +15673,8 @@ "title": "Variables", "kind": 32, "children": [ - 425, - 426 + 427, + 428 ] } ], @@ -15523,7 +15696,7 @@ { "type": "reflection", "declaration": { - "id": 427, + "id": 429, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15532,7 +15705,7 @@ }, "children": [ { - "id": 433, + "id": 435, "name": "data", "kind": 32, "kindString": "Variable", @@ -15562,7 +15735,7 @@ } }, { - "id": 432, + "id": 434, "name": "error", "kind": 32, "kindString": "Variable", @@ -15591,7 +15764,7 @@ } }, { - "id": 430, + "id": 432, "name": "provider", "kind": 32, "kindString": "Variable", @@ -15613,7 +15786,7 @@ } }, { - "id": 428, + "id": 430, "name": "session", "kind": 32, "kindString": "Variable", @@ -15643,7 +15816,7 @@ } }, { - "id": 431, + "id": 433, "name": "url", "kind": 32, "kindString": "Variable", @@ -15673,7 +15846,7 @@ } }, { - "id": 429, + "id": 431, "name": "user", "kind": 32, "kindString": "Variable", @@ -15708,12 +15881,12 @@ "title": "Variables", "kind": 32, "children": [ - 433, + 435, + 434, 432, 430, - 428, - 431, - 429 + 433, + 431 ] } ], @@ -15740,7 +15913,7 @@ ] }, { - "id": 482, + "id": 484, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -15749,7 +15922,7 @@ }, "signatures": [ { - "id": 483, + "id": 485, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -15766,7 +15939,7 @@ { "type": "reflection", "declaration": { - "id": 484, + "id": 486, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15775,7 +15948,7 @@ }, "children": [ { - "id": 485, + "id": 487, "name": "error", "kind": 32, "kindString": "Variable", @@ -15809,7 +15982,7 @@ "title": "Variables", "kind": 32, "children": [ - 485 + 487 ] } ], @@ -15836,7 +16009,7 @@ ] }, { - "id": 399, + "id": 401, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -15845,7 +16018,7 @@ }, "signatures": [ { - "id": 400, + "id": 402, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -15857,7 +16030,7 @@ }, "parameters": [ { - "id": 401, + "id": 403, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -15868,7 +16041,7 @@ "type": { "type": "reflection", "declaration": { - "id": 402, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15877,7 +16050,7 @@ }, "children": [ { - "id": 403, + "id": 405, "name": "email", "kind": 32, "kindString": "Variable", @@ -15909,7 +16082,7 @@ } }, { - "id": 404, + "id": 406, "name": "password", "kind": 32, "kindString": "Variable", @@ -15941,7 +16114,7 @@ } }, { - "id": 405, + "id": 407, "name": "phone", "kind": 32, "kindString": "Variable", @@ -15978,9 +16151,9 @@ "title": "Variables", "kind": 32, "children": [ - 403, - 404, - 405 + 405, + 406, + 407 ] } ], @@ -15995,7 +16168,7 @@ } }, { - "id": 406, + "id": 408, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16005,7 +16178,7 @@ "type": { "type": "reflection", "declaration": { - "id": 407, + "id": 409, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16014,7 +16187,7 @@ }, "children": [ { - "id": 408, + "id": 410, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16049,7 +16222,7 @@ "title": "Variables", "kind": 32, "children": [ - 408 + 410 ] } ], @@ -16071,7 +16244,7 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 411, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16080,7 +16253,7 @@ }, "children": [ { - "id": 413, + "id": 415, "name": "data", "kind": 32, "kindString": "Variable", @@ -16115,7 +16288,7 @@ } }, { - "id": 412, + "id": 414, "name": "error", "kind": 32, "kindString": "Variable", @@ -16144,7 +16317,7 @@ } }, { - "id": 411, + "id": 413, "name": "session", "kind": 32, "kindString": "Variable", @@ -16174,7 +16347,7 @@ } }, { - "id": 410, + "id": 412, "name": "user", "kind": 32, "kindString": "Variable", @@ -16209,10 +16382,10 @@ "title": "Variables", "kind": 32, "children": [ + 415, + 414, 413, - 412, - 411, - 410 + 412 ] } ], @@ -16239,7 +16412,7 @@ ] }, { - "id": 458, + "id": 460, "name": "update", "kind": 2048, "kindString": "Method", @@ -16248,7 +16421,7 @@ }, "signatures": [ { - "id": 459, + "id": 461, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -16260,7 +16433,7 @@ }, "parameters": [ { - "id": 460, + "id": 462, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -16280,7 +16453,7 @@ { "type": "reflection", "declaration": { - "id": 461, + "id": 463, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16289,7 +16462,7 @@ }, "children": [ { - "id": 462, + "id": 464, "name": "data", "kind": 32, "kindString": "Variable", @@ -16319,7 +16492,7 @@ } }, { - "id": 464, + "id": 466, "name": "error", "kind": 32, "kindString": "Variable", @@ -16348,7 +16521,7 @@ } }, { - "id": 463, + "id": 465, "name": "user", "kind": 32, "kindString": "Variable", @@ -16383,9 +16556,9 @@ "title": "Variables", "kind": 32, "children": [ - 462, 464, - 463 + 466, + 465 ] } ], @@ -16412,7 +16585,7 @@ ] }, { - "id": 448, + "id": 450, "name": "user", "kind": 2048, "kindString": "Method", @@ -16421,7 +16594,7 @@ }, "signatures": [ { - "id": 449, + "id": 451, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -16457,7 +16630,7 @@ ] }, { - "id": 434, + "id": 436, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -16466,7 +16639,7 @@ }, "signatures": [ { - "id": 435, + "id": 437, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -16478,7 +16651,7 @@ }, "parameters": [ { - "id": 436, + "id": 438, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -16489,7 +16662,7 @@ "type": { "type": "reflection", "declaration": { - "id": 437, + "id": 439, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16498,7 +16671,7 @@ }, "children": [ { - "id": 438, + "id": 440, "name": "phone", "kind": 32, "kindString": "Variable", @@ -16521,7 +16694,7 @@ } }, { - "id": 439, + "id": 441, "name": "token", "kind": 32, "kindString": "Variable", @@ -16549,8 +16722,8 @@ "title": "Variables", "kind": 32, "children": [ - 438, - 439 + 440, + 441 ] } ], @@ -16565,7 +16738,7 @@ } }, { - "id": 440, + "id": 442, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16575,7 +16748,7 @@ "type": { "type": "reflection", "declaration": { - "id": 441, + "id": 443, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16584,7 +16757,7 @@ }, "children": [ { - "id": 442, + "id": 444, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16619,7 +16792,7 @@ "title": "Variables", "kind": 32, "children": [ - 442 + 444 ] } ], @@ -16641,7 +16814,7 @@ { "type": "reflection", "declaration": { - "id": 443, + "id": 445, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16650,7 +16823,7 @@ }, "children": [ { - "id": 447, + "id": 449, "name": "data", "kind": 32, "kindString": "Variable", @@ -16685,7 +16858,7 @@ } }, { - "id": 446, + "id": 448, "name": "error", "kind": 32, "kindString": "Variable", @@ -16714,7 +16887,7 @@ } }, { - "id": 445, + "id": 447, "name": "session", "kind": 32, "kindString": "Variable", @@ -16744,7 +16917,7 @@ } }, { - "id": 444, + "id": 446, "name": "user", "kind": 32, "kindString": "Variable", @@ -16779,10 +16952,10 @@ "title": "Variables", "kind": 32, "children": [ + 449, + 448, 447, - 446, - 445, - 444 + 446 ] } ], @@ -16814,50 +16987,50 @@ "title": "Constructors", "kind": 512, "children": [ - 385 + 387 ] }, { "title": "Properties", "kind": 1024, "children": [ - 377, - 380, 379, - 378, 382, 381, + 380, 384, - 383 + 383, + 386, + 385 ] }, { "title": "Methods", "kind": 2048, "children": [ + 552, + 498, + 515, + 529, + 561, + 567, 550, - 496, - 513, - 527, - 559, - 565, 548, - 546, - 568, - 562, 570, - 474, - 486, + 564, + 572, + 476, + 488, + 454, 452, + 473, + 467, + 416, + 484, + 401, + 460, 450, - 471, - 465, - 414, - 482, - 399, - 458, - 448, - 434 + 436 ] } ], @@ -16870,7 +17043,7 @@ ] }, { - "id": 573, + "id": 575, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -16879,7 +17052,7 @@ }, "children": [ { - "id": 575, + "id": 577, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -16898,7 +17071,7 @@ "defaultValue": "true" }, { - "id": 578, + "id": 580, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -16917,7 +17090,7 @@ "defaultValue": "true" }, { - "id": 579, + "id": 581, "name": "headers", "kind": 32, "kindString": "Variable", @@ -16932,17 +17105,47 @@ "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": {} + "flags": {}, + "children": [ + { + "id": 583, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 4, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`gotrue-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 583 + ] + } + ] } }, "defaultValue": "DEFAULT_HEADERS" }, { - "id": 577, + "id": 579, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -16961,7 +17164,7 @@ "defaultValue": "globalThis.localStorage" }, { - "id": 576, + "id": 578, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -16980,7 +17183,7 @@ "defaultValue": "true" }, { - "id": 574, + "id": 576, "name": "url", "kind": 32, "kindString": "Variable", @@ -17004,12 +17207,12 @@ "title": "Variables", "kind": 32, "children": [ - 575, - 578, - 579, 577, - 576, - 574 + 580, + 581, + 579, + 578, + 576 ] } ], @@ -17031,14 +17234,14 @@ "title": "Classes", "kind": 128, "children": [ - 376 + 378 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 573 + 575 ] } ], @@ -17051,7 +17254,7 @@ ] }, { - "id": 581, + "id": 584, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -17061,7 +17264,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 583, + "id": 586, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -17071,7 +17274,7 @@ "target": 113 }, { - "id": 588, + "id": 591, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -17081,7 +17284,7 @@ "target": 97 }, { - "id": 582, + "id": 585, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -17091,7 +17294,7 @@ "target": 112 }, { - "id": 584, + "id": 587, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -17101,7 +17304,7 @@ "target": 50 }, { - "id": 587, + "id": 590, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -17111,7 +17314,7 @@ "target": 87 }, { - "id": 585, + "id": 588, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -17121,7 +17324,7 @@ "target": 58 }, { - "id": 586, + "id": 589, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -17131,7 +17334,7 @@ "target": 82 }, { - "id": 589, + "id": 592, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -17141,7 +17344,7 @@ "target": 103 }, { - "id": 590, + "id": 593, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -17156,15 +17359,15 @@ "title": "References", "kind": 16777216, "children": [ - 583, - 588, - 582, - 584, - 587, - 585, 586, + 591, + 585, + 587, + 590, + 588, 589, - 590 + 592, + 593 ] } ], @@ -17177,7 +17380,7 @@ ] }, { - "id": 114, + "id": 116, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -17187,7 +17390,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts", "children": [ { - "id": 116, + "id": 118, "name": "AUDIENCE", "kind": 32, "kindString": "Variable", @@ -17198,7 +17401,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 2, + "line": 3, "character": 21 } ], @@ -17209,36 +17412,7 @@ "defaultValue": "\"\"" }, { - "id": 117, - "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isConst": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 3, - "character": 28 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 118, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - } - } - } - }, - { - "id": 119, + "id": 121, "name": "EXPIRY_MARGIN", "kind": 32, "kindString": "Variable", @@ -17249,7 +17423,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 4, + "line": 5, "character": 26 } ], @@ -17260,7 +17434,7 @@ "defaultValue": "60 * 1000" }, { - "id": 115, + "id": 117, "name": "GOTRUE_URL", "kind": 32, "kindString": "Variable", @@ -17271,7 +17445,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 1, + "line": 2, "character": 23 } ], @@ -17282,7 +17456,7 @@ "defaultValue": "\"http://localhost:9999\"" }, { - "id": 120, + "id": 122, "name": "STORAGE_KEY", "kind": 32, "kindString": "Variable", @@ -17293,7 +17467,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 5, + "line": 6, "character": 24 } ], @@ -17304,7 +17478,7 @@ "defaultValue": "\"supabase.auth.token\"" }, { - "id": 121, + "id": 123, "name": "COOKIE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -17314,7 +17488,7 @@ }, "children": [ { - "id": 124, + "id": 126, "name": "domain", "kind": 32, "kindString": "Variable", @@ -17324,7 +17498,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 9, + "line": 10, "character": 8 } ], @@ -17335,7 +17509,7 @@ "defaultValue": "\"\"" }, { - "id": 123, + "id": 125, "name": "lifetime", "kind": 32, "kindString": "Variable", @@ -17345,7 +17519,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 8, + "line": 9, "character": 10 } ], @@ -17356,7 +17530,7 @@ "defaultValue": "60 * 60 * 8" }, { - "id": 122, + "id": 124, "name": "name", "kind": 32, "kindString": "Variable", @@ -17366,7 +17540,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 7, + "line": 8, "character": 6 } ], @@ -17377,7 +17551,7 @@ "defaultValue": "\"sb:token\"" }, { - "id": 125, + "id": 127, "name": "path", "kind": 32, "kindString": "Variable", @@ -17387,7 +17561,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 10, + "line": 11, "character": 6 } ], @@ -17398,7 +17572,7 @@ "defaultValue": "\"/\"" }, { - "id": 126, + "id": 128, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -17408,7 +17582,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 11, + "line": 12, "character": 10 } ], @@ -17424,18 +17598,18 @@ "title": "Variables", "kind": 32, "children": [ - 124, - 123, - 122, + 126, 125, - 126 + 124, + 127, + 128 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 6, + "line": 7, "character": 27 } ], @@ -17443,6 +17617,59 @@ "type": "intrinsic", "name": "object" } + }, + { + "id": 119, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 120, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 4, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`gotrue-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 120 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 4, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } } ], "groups": [ @@ -17450,18 +17677,18 @@ "title": "Variables", "kind": 32, "children": [ - 116, + 118, + 121, 117, - 119, - 115, - 120 + 122 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 121 + 123, + 119 ] } ], @@ -17474,7 +17701,7 @@ ] }, { - "id": 127, + "id": 129, "name": "\"lib/cookies\"", "kind": 1, "kindString": "Module", @@ -17484,7 +17711,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts", "children": [ { - "id": 128, + "id": 130, "name": "Cookie", "kind": 4194304, "kindString": "Type alias", @@ -17499,14 +17726,14 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 133, + "id": 135, "name": "domain", "kind": 32, "kindString": "Variable", @@ -17535,7 +17762,7 @@ } }, { - "id": 132, + "id": 134, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -17553,7 +17780,7 @@ } }, { - "id": 130, + "id": 132, "name": "name", "kind": 32, "kindString": "Variable", @@ -17571,7 +17798,7 @@ } }, { - "id": 134, + "id": 136, "name": "path", "kind": 32, "kindString": "Variable", @@ -17600,7 +17827,7 @@ } }, { - "id": 135, + "id": 137, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -17629,7 +17856,7 @@ } }, { - "id": 131, + "id": 133, "name": "value", "kind": 32, "kindString": "Variable", @@ -17652,12 +17879,12 @@ "title": "Variables", "kind": 32, "children": [ - 133, - 132, - 130, - 134, 135, - 131 + 134, + 132, + 136, + 137, + 133 ] } ], @@ -17672,7 +17899,7 @@ } }, { - "id": 166, + "id": 168, "name": "deleteCookie", "kind": 64, "kindString": "Function", @@ -17681,7 +17908,7 @@ }, "signatures": [ { - "id": 167, + "id": 169, "name": "deleteCookie", "kind": 4096, "kindString": "Call signature", @@ -17690,7 +17917,7 @@ }, "parameters": [ { - "id": 168, + "id": 170, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -17703,7 +17930,7 @@ } }, { - "id": 169, + "id": 171, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -17716,7 +17943,7 @@ } }, { - "id": 170, + "id": 172, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -17744,14 +17971,14 @@ ] }, { - "id": 149, + "id": 151, "name": "isSecureEnvironment", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 150, + "id": 152, "name": "isSecureEnvironment", "kind": 4096, "kindString": "Call signature", @@ -17761,7 +17988,7 @@ }, "parameters": [ { - "id": 151, + "id": 153, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -17787,14 +18014,14 @@ ] }, { - "id": 136, + "id": 138, "name": "serialize", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 137, + "id": 139, "name": "serialize", "kind": 4096, "kindString": "Call signature", @@ -17804,7 +18031,7 @@ }, "parameters": [ { - "id": 138, + "id": 140, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -17815,7 +18042,7 @@ } }, { - "id": 139, + "id": 141, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -17826,7 +18053,7 @@ } }, { - "id": 140, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17834,14 +18061,14 @@ "type": { "type": "reflection", "declaration": { - "id": 141, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 143, + "id": 145, "name": "domain", "kind": 32, "kindString": "Variable", @@ -17859,7 +18086,7 @@ } }, { - "id": 145, + "id": 147, "name": "expires", "kind": 32, "kindString": "Variable", @@ -17877,7 +18104,7 @@ } }, { - "id": 146, + "id": 148, "name": "httpOnly", "kind": 32, "kindString": "Variable", @@ -17895,7 +18122,7 @@ } }, { - "id": 142, + "id": 144, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -17913,7 +18140,7 @@ } }, { - "id": 144, + "id": 146, "name": "path", "kind": 32, "kindString": "Variable", @@ -17931,7 +18158,7 @@ } }, { - "id": 148, + "id": 150, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -17949,7 +18176,7 @@ } }, { - "id": 147, + "id": 149, "name": "secure", "kind": 32, "kindString": "Variable", @@ -17972,13 +18199,13 @@ "title": "Variables", "kind": 32, "children": [ - 143, 145, - 146, - 142, - 144, + 147, 148, - 147 + 144, + 146, + 150, + 149 ] } ], @@ -18008,14 +18235,14 @@ ] }, { - "id": 152, + "id": 154, "name": "serializeCookie", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 153, + "id": 155, "name": "serializeCookie", "kind": 4096, "kindString": "Call signature", @@ -18025,19 +18252,19 @@ }, "parameters": [ { - "id": 154, + "id": 156, "name": "cookie", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 128, + "id": 130, "name": "Cookie" } }, { - "id": 155, + "id": 157, "name": "secure", "kind": 32768, "kindString": "Parameter", @@ -18063,7 +18290,7 @@ ] }, { - "id": 161, + "id": 163, "name": "setCookie", "kind": 64, "kindString": "Function", @@ -18072,7 +18299,7 @@ }, "signatures": [ { - "id": 162, + "id": 164, "name": "setCookie", "kind": 4096, "kindString": "Call signature", @@ -18084,7 +18311,7 @@ }, "parameters": [ { - "id": 163, + "id": 165, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -18097,7 +18324,7 @@ } }, { - "id": 164, + "id": 166, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -18110,7 +18337,7 @@ } }, { - "id": 165, + "id": 167, "name": "cookie", "kind": 32768, "kindString": "Parameter", @@ -18119,7 +18346,7 @@ }, "type": { "type": "reference", - "id": 128, + "id": 130, "name": "Cookie" } } @@ -18139,7 +18366,7 @@ ] }, { - "id": 156, + "id": 158, "name": "setCookies", "kind": 64, "kindString": "Function", @@ -18148,7 +18375,7 @@ }, "signatures": [ { - "id": 157, + "id": 159, "name": "setCookies", "kind": 4096, "kindString": "Call signature", @@ -18160,7 +18387,7 @@ }, "parameters": [ { - "id": 158, + "id": 160, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -18173,7 +18400,7 @@ } }, { - "id": 159, + "id": 161, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -18186,7 +18413,7 @@ } }, { - "id": 160, + "id": 162, "name": "cookies", "kind": 32768, "kindString": "Parameter", @@ -18198,7 +18425,7 @@ "typeArguments": [ { "type": "reference", - "id": 128, + "id": 130, "name": "Cookie" } ], @@ -18226,19 +18453,19 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 128 + 130 ] }, { "title": "Functions", "kind": 64, "children": [ - 166, - 149, - 136, - 152, - 161, - 156 + 168, + 151, + 138, + 154, + 163, + 158 ] } ], @@ -19078,7 +19305,7 @@ ] }, { - "id": 171, + "id": 173, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -19088,7 +19315,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts", "children": [ { - "id": 172, + "id": 174, "name": "LocalStorage", "kind": 128, "kindString": "Class", @@ -19097,7 +19324,7 @@ }, "indexSignature": [ { - "id": 174, + "id": 176, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -19106,7 +19333,7 @@ }, "parameters": [ { - "id": 175, + "id": 177, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -19127,7 +19354,7 @@ ], "children": [ { - "id": 177, + "id": 179, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -19136,7 +19363,7 @@ }, "signatures": [ { - "id": 178, + "id": 180, "name": "new LocalStorage", "kind": 16384, "kindString": "Constructor signature", @@ -19145,7 +19372,7 @@ }, "parameters": [ { - "id": 179, + "id": 181, "name": "localStorage", "kind": 32768, "kindString": "Parameter", @@ -19160,7 +19387,7 @@ ], "type": { "type": "reference", - "id": 172, + "id": 174, "name": "LocalStorage" } } @@ -19174,7 +19401,7 @@ ] }, { - "id": 176, + "id": 178, "name": "length", "kind": 1024, "kindString": "Property", @@ -19194,7 +19421,7 @@ } }, { - "id": 173, + "id": 175, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -19214,7 +19441,7 @@ } }, { - "id": 180, + "id": 182, "name": "clear", "kind": 2048, "kindString": "Method", @@ -19223,7 +19450,7 @@ }, "signatures": [ { - "id": 181, + "id": 183, "name": "clear", "kind": 4096, "kindString": "Call signature", @@ -19245,7 +19472,7 @@ ] }, { - "id": 189, + "id": 191, "name": "getItem", "kind": 2048, "kindString": "Method", @@ -19254,7 +19481,7 @@ }, "signatures": [ { - "id": 190, + "id": 192, "name": "getItem", "kind": 4096, "kindString": "Call signature", @@ -19263,7 +19490,7 @@ }, "parameters": [ { - "id": 191, + "id": 193, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -19300,7 +19527,7 @@ ] }, { - "id": 182, + "id": 184, "name": "key", "kind": 2048, "kindString": "Method", @@ -19309,7 +19536,7 @@ }, "signatures": [ { - "id": 183, + "id": 185, "name": "key", "kind": 4096, "kindString": "Call signature", @@ -19318,7 +19545,7 @@ }, "parameters": [ { - "id": 184, + "id": 186, "name": "index", "kind": 32768, "kindString": "Parameter", @@ -19355,7 +19582,7 @@ ] }, { - "id": 192, + "id": 194, "name": "removeItem", "kind": 2048, "kindString": "Method", @@ -19364,7 +19591,7 @@ }, "signatures": [ { - "id": 193, + "id": 195, "name": "removeItem", "kind": 4096, "kindString": "Call signature", @@ -19373,7 +19600,7 @@ }, "parameters": [ { - "id": 194, + "id": 196, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -19401,7 +19628,7 @@ ] }, { - "id": 185, + "id": 187, "name": "setItem", "kind": 2048, "kindString": "Method", @@ -19410,7 +19637,7 @@ }, "signatures": [ { - "id": 186, + "id": 188, "name": "setItem", "kind": 4096, "kindString": "Call signature", @@ -19419,7 +19646,7 @@ }, "parameters": [ { - "id": 187, + "id": 189, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -19432,7 +19659,7 @@ } }, { - "id": 188, + "id": 190, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -19465,26 +19692,26 @@ "title": "Constructors", "kind": 512, "children": [ - 177 + 179 ] }, { "title": "Properties", "kind": 1024, "children": [ - 176, - 173 + 178, + 175 ] }, { "title": "Methods", "kind": 2048, "children": [ - 180, - 189, 182, - 192, - 185 + 191, + 184, + 194, + 187 ] } ], @@ -19503,7 +19730,7 @@ ] }, { - "id": 195, + "id": 197, "name": "expiresAt", "kind": 64, "kindString": "Function", @@ -19512,7 +19739,7 @@ }, "signatures": [ { - "id": 196, + "id": 198, "name": "expiresAt", "kind": 4096, "kindString": "Call signature", @@ -19521,7 +19748,7 @@ }, "parameters": [ { - "id": 197, + "id": 199, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -19549,7 +19776,7 @@ ] }, { - "id": 202, + "id": 204, "name": "getParameterByName", "kind": 64, "kindString": "Function", @@ -19558,7 +19785,7 @@ }, "signatures": [ { - "id": 203, + "id": 205, "name": "getParameterByName", "kind": 4096, "kindString": "Call signature", @@ -19567,7 +19794,7 @@ }, "parameters": [ { - "id": 204, + "id": 206, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -19580,7 +19807,7 @@ } }, { - "id": 205, + "id": 207, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -19627,7 +19854,7 @@ ] }, { - "id": 200, + "id": 202, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -19637,7 +19864,7 @@ }, "signatures": [ { - "id": 201, + "id": 203, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -19659,7 +19886,7 @@ ] }, { - "id": 198, + "id": 200, "name": "uuid", "kind": 64, "kindString": "Function", @@ -19668,7 +19895,7 @@ }, "signatures": [ { - "id": 199, + "id": 201, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -19695,17 +19922,17 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 174 ] }, { "title": "Functions", "kind": 64, "children": [ - 195, + 197, + 204, 202, - 200, - 198 + 200 ] } ], @@ -19718,7 +19945,7 @@ ] }, { - "id": 372, + "id": 374, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -19728,7 +19955,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 373, + "id": 375, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -19737,7 +19964,7 @@ }, "signatures": [ { - "id": 374, + "id": 376, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -19767,7 +19994,7 @@ "title": "Functions", "kind": 64, "children": [ - 373 + 375 ] } ], @@ -21535,6 +21762,56 @@ "character": 0 } ] + }, + { + "id": 114, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts", + "children": [ + { + "id": 115, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 115 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -21542,15 +21819,16 @@ "title": "Modules", "kind": 1, "children": [ - 206, - 375, - 581, - 114, - 127, + 208, + 377, + 584, + 116, + 129, 1, - 171, - 372, - 49 + 173, + 374, + 49, + 114 ] } ] @@ -21563,7 +21841,7 @@ "originalName": "", "children": [ { - "id": 443, + "id": 448, "name": "\"PostgrestClient\"", "kind": 1, "kindString": "Module", @@ -21573,7 +21851,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 444, + "id": 449, "name": "PostgrestClient", "kind": 128, "kindString": "Class", @@ -21582,7 +21860,7 @@ }, "children": [ { - "id": 451, + "id": 456, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -21594,7 +21872,7 @@ }, "signatures": [ { - "id": 452, + "id": 457, "name": "new PostgrestClient", "kind": 16384, "kindString": "Constructor signature", @@ -21606,7 +21884,7 @@ }, "parameters": [ { - "id": 453, + "id": 458, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -21622,7 +21900,7 @@ } }, { - "id": 454, + "id": 459, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -21633,7 +21911,7 @@ "type": { "type": "reflection", "declaration": { - "id": 455, + "id": 460, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21642,7 +21920,7 @@ }, "children": [ { - "id": 456, + "id": 461, "name": "headers", "kind": 32, "kindString": "Variable", @@ -21655,14 +21933,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 13 } ], "type": { "type": "reflection", "declaration": { - "id": 457, + "id": 462, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21671,7 +21949,7 @@ }, "indexSignature": [ { - "id": 458, + "id": 463, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -21680,7 +21958,7 @@ }, "parameters": [ { - "id": 459, + "id": 464, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -21703,7 +21981,7 @@ } }, { - "id": 460, + "id": 465, "name": "schema", "kind": 32, "kindString": "Variable", @@ -21716,7 +21994,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 26 } ], @@ -21740,15 +22018,15 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 460 + 461, + 465 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 18, + "line": 19, "character": 16 } ] @@ -21759,7 +22037,7 @@ ], "type": { "type": "reference", - "id": 444, + "id": 449, "name": "PostgrestClient" } } @@ -21767,13 +22045,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 17 } ] }, { - "id": 446, + "id": 451, "name": "headers", "kind": 1024, "kindString": "Property", @@ -21783,14 +22061,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 447, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21799,7 +22077,7 @@ }, "indexSignature": [ { - "id": 448, + "id": 453, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -21808,7 +22086,7 @@ }, "parameters": [ { - "id": 449, + "id": 454, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -21830,7 +22108,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 10 } ] @@ -21838,7 +22116,7 @@ } }, { - "id": 450, + "id": 455, "name": "schema", "kind": 1024, "kindString": "Property", @@ -21849,7 +22127,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 8 } ], @@ -21868,7 +22146,7 @@ } }, { - "id": 445, + "id": 450, "name": "url", "kind": 1024, "kindString": "Property", @@ -21878,7 +22156,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 6, + "line": 7, "character": 5 } ], @@ -21888,7 +22166,7 @@ } }, { - "id": 461, + "id": 466, "name": "auth", "kind": 2048, "kindString": "Method", @@ -21897,7 +22175,7 @@ }, "signatures": [ { - "id": 462, + "id": 467, "name": "auth", "kind": 4096, "kindString": "Call signature", @@ -21909,7 +22187,7 @@ }, "parameters": [ { - "id": 463, + "id": 468, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -21934,13 +22212,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 31, + "line": 32, "character": 6 } ] }, { - "id": 464, + "id": 469, "name": "from", "kind": 2048, "kindString": "Method", @@ -21949,7 +22227,7 @@ }, "signatures": [ { - "id": 465, + "id": 470, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -21961,7 +22239,7 @@ }, "typeParameter": [ { - "id": 466, + "id": 471, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -21972,7 +22250,7 @@ ], "parameters": [ { - "id": 467, + "id": 472, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -22008,13 +22286,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 41, + "line": 42, "character": 6 } ] }, { - "id": 468, + "id": 473, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -22023,7 +22301,7 @@ }, "signatures": [ { - "id": 469, + "id": 474, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -22031,11 +22309,11 @@ "isExported": true }, "comment": { - "shortText": "Perform a stored procedure call." + "shortText": "Perform a function call." }, "typeParameter": [ { - "id": 470, + "id": 475, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -22046,7 +22324,7 @@ ], "parameters": [ { - "id": 471, + "id": 476, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -22062,7 +22340,7 @@ } }, { - "id": 472, + "id": 477, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -22088,7 +22366,7 @@ } }, { - "id": 473, + "id": 478, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -22099,7 +22377,7 @@ "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -22108,7 +22386,7 @@ }, "children": [ { - "id": 475, + "id": 480, "name": "count", "kind": 32, "kindString": "Variable", @@ -22121,7 +22399,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 57, + "line": 58, "character": 11 } ], @@ -22154,14 +22432,14 @@ "title": "Variables", "kind": 32, "children": [ - 475 + 480 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 55, + "line": 56, "character": 20 } ] @@ -22190,7 +22468,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 53, + "line": 54, "character": 5 } ] @@ -22201,32 +22479,32 @@ "title": "Constructors", "kind": 512, "children": [ - 451 + 456 ] }, { "title": "Properties", "kind": 1024, "children": [ - 446, - 450, - 445 + 451, + 455, + 450 ] }, { "title": "Methods", "kind": 2048, "children": [ - 461, - 464, - 468 + 466, + 469, + 473 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 5, + "line": 6, "character": 36 } ] @@ -22237,7 +22515,7 @@ "title": "Classes", "kind": 128, "children": [ - 444 + 449 ] } ], @@ -22250,7 +22528,7 @@ ] }, { - "id": 476, + "id": 481, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -29448,7 +29726,7 @@ "isExported": true }, "comment": { - "shortText": "Perform a stored procedure call." + "shortText": "Perform a function call." }, "parameters": [ { @@ -31479,6 +31757,87 @@ } ] }, + { + "id": 445, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", + "children": [ + { + "id": 446, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 447, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`postgrest-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 447 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 446 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/types\"", @@ -33088,6 +33447,56 @@ "character": 0 } ] + }, + { + "id": 443, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", + "children": [ + { + "id": 444, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0-automated" + }, + "defaultValue": "\"0.0.0-automated\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 444 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -33095,13 +33504,15 @@ "title": "Modules", "kind": 1, "children": [ - 443, - 476, + 448, + 481, 126, 321, 401, 67, - 1 + 445, + 1, + 443 ] } ] @@ -33114,7 +33525,7 @@ "originalName": "", "children": [ { - "id": 196, + "id": 200, "name": "\"RealtimeClient\"", "kind": 1, "kindString": "Module", @@ -33124,7 +33535,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts", "children": [ { - "id": 197, + "id": 201, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -33133,7 +33544,7 @@ }, "children": [ { - "id": 228, + "id": 232, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -33145,7 +33556,7 @@ }, "signatures": [ { - "id": 229, + "id": 233, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -33157,7 +33568,7 @@ }, "parameters": [ { - "id": 230, + "id": 234, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -33173,7 +33584,7 @@ } }, { - "id": 231, + "id": 235, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -33183,14 +33594,14 @@ }, "type": { "type": "reference", - "id": 303, + "id": 307, "name": "Options" } } ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } @@ -33198,13 +33609,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 65, + "line": 66, "character": 3 } ] }, { - "id": 198, + "id": 202, "name": "channels", "kind": 1024, "kindString": "Property", @@ -33214,7 +33625,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 36, + "line": 37, "character": 10 } ], @@ -33222,14 +33633,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, "defaultValue": "[]" }, { - "id": 220, + "id": 224, "name": "conn", "kind": 1024, "kindString": "Property", @@ -33239,7 +33650,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 52, + "line": 53, "character": 6 } ], @@ -33259,13 +33670,33 @@ "defaultValue": "null" }, { - "id": 218, + "id": 222, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 221, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -33279,27 +33710,7 @@ } }, { - "id": 217, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 199, + "id": 203, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -33309,7 +33720,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 37, + "line": 38, "character": 10 } ], @@ -33320,7 +33731,7 @@ "defaultValue": "\"\"" }, { - "id": 200, + "id": 204, "name": "headers", "kind": 1024, "kindString": "Property", @@ -33328,181 +33739,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 38, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 202, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 203, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 210, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 42, - "character": 21 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 212, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "query", - "queryType": { - "type": "reference", - "name": "setInterval" - } - } - ], - "name": "ReturnType" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 216, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 48, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 211, - "name": "longpollerTimeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "20000" - }, - { - "id": 204, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 39, - "character": 8 + "character": 9 } ], "type": { @@ -33555,11 +33796,33 @@ } } ] - } + }, + "defaultValue": "DEFAULT_HEADERS" }, { - "id": 213, - "name": "pendingHeartbeatRef", + "id": 214, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 216, + "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", "flags": { @@ -33569,6 +33832,155 @@ { "fileName": "RealtimeClient.ts", "line": 45, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "setInterval" + } + } + ], + "name": "ReturnType" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 220, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 215, + "name": "longpollerTimeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20000" + }, + { + "id": 208, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 40, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 210, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 211, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 217, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 46, "character": 21 } ], @@ -33588,7 +34000,7 @@ "defaultValue": "null" }, { - "id": 219, + "id": 223, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -33598,7 +34010,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 51, + "line": 52, "character": 18 } ], @@ -33608,7 +34020,7 @@ } }, { - "id": 215, + "id": 219, "name": "reconnectTimer", "kind": 1024, "kindString": "Property", @@ -33618,18 +34030,18 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 47, + "line": 48, "character": 16 } ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 214, + "id": 218, "name": "ref", "kind": 1024, "kindString": "Property", @@ -33639,7 +34051,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 46, + "line": 47, "character": 5 } ], @@ -33650,37 +34062,13 @@ "defaultValue": "0" }, { - "id": 221, + "id": 225, "name": "sendBuffer", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 53, - "character": 12 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Function" - } - }, - "defaultValue": "[]" - }, - { - "id": 222, - "name": "serializer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -33688,15 +34076,39 @@ "character": 12 } ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "Function" + } + }, + "defaultValue": "[]" + }, + { + "id": 226, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 55, + "character": 12 + } + ], "type": { "type": "reference", - "id": 172, + "id": 176, "name": "Serializer" }, "defaultValue": "new Serializer()" }, { - "id": 208, + "id": 212, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -33706,7 +34118,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 9 } ], @@ -33717,7 +34129,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 209, + "id": 213, "name": "transport", "kind": 1024, "kindString": "Property", @@ -33727,7 +34139,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 11 } ], @@ -33738,7 +34150,7 @@ "defaultValue": "WebSocket" }, { - "id": 290, + "id": 294, "name": "_appendParams", "kind": 2048, "kindString": "Method", @@ -33748,7 +34160,7 @@ }, "signatures": [ { - "id": 291, + "id": 295, "name": "_appendParams", "kind": 4096, "kindString": "Call signature", @@ -33757,7 +34169,7 @@ }, "parameters": [ { - "id": 292, + "id": 296, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -33770,7 +34182,7 @@ } }, { - "id": 293, + "id": 297, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -33780,7 +34192,7 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -33789,7 +34201,7 @@ }, "indexSignature": [ { - "id": 295, + "id": 299, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -33798,7 +34210,7 @@ }, "parameters": [ { - "id": 296, + "id": 300, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -33820,7 +34232,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 44 } ] @@ -33837,13 +34249,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 23 } ] }, { - "id": 297, + "id": 301, "name": "_flushSendBuffer", "kind": 2048, "kindString": "Method", @@ -33853,7 +34265,7 @@ }, "signatures": [ { - "id": 298, + "id": 302, "name": "_flushSendBuffer", "kind": 4096, "kindString": "Call signature", @@ -33869,13 +34281,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 357, + "line": 358, "character": 26 } ] }, { - "id": 282, + "id": 286, "name": "_onConnClose", "kind": 2048, "kindString": "Method", @@ -33885,7 +34297,7 @@ }, "signatures": [ { - "id": 283, + "id": 287, "name": "_onConnClose", "kind": 4096, "kindString": "Call signature", @@ -33894,7 +34306,7 @@ }, "parameters": [ { - "id": 284, + "id": 288, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -33916,13 +34328,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 327, + "line": 328, "character": 22 } ] }, { - "id": 285, + "id": 289, "name": "_onConnError", "kind": 2048, "kindString": "Method", @@ -33932,7 +34344,7 @@ }, "signatures": [ { - "id": 286, + "id": 290, "name": "_onConnError", "kind": 4096, "kindString": "Call signature", @@ -33941,7 +34353,7 @@ }, "parameters": [ { - "id": 287, + "id": 291, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -33963,13 +34375,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 335, + "line": 336, "character": 22 } ] }, { - "id": 280, + "id": 284, "name": "_onConnOpen", "kind": 2048, "kindString": "Method", @@ -33979,7 +34391,7 @@ }, "signatures": [ { - "id": 281, + "id": 285, "name": "_onConnOpen", "kind": 4096, "kindString": "Call signature", @@ -33995,13 +34407,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 319, + "line": 320, "character": 21 } ] }, { - "id": 299, + "id": 303, "name": "_resetHeartbeat", "kind": 2048, "kindString": "Method", @@ -34011,7 +34423,7 @@ }, "signatures": [ { - "id": 300, + "id": 304, "name": "_resetHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -34027,13 +34439,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 364, + "line": 365, "character": 25 } ] }, { - "id": 301, + "id": 305, "name": "_sendHeartbeat", "kind": 2048, "kindString": "Method", @@ -34043,7 +34455,7 @@ }, "signatures": [ { - "id": 302, + "id": 306, "name": "_sendHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -34059,13 +34471,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 373, + "line": 374, "character": 24 } ] }, { - "id": 288, + "id": 292, "name": "_triggerChanError", "kind": 2048, "kindString": "Method", @@ -34075,7 +34487,7 @@ }, "signatures": [ { - "id": 289, + "id": 293, "name": "_triggerChanError", "kind": 4096, "kindString": "Call signature", @@ -34091,13 +34503,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 341, + "line": 342, "character": 27 } ] }, { - "id": 265, + "id": 269, "name": "channel", "kind": 2048, "kindString": "Method", @@ -34106,7 +34518,7 @@ }, "signatures": [ { - "id": 266, + "id": 270, "name": "channel", "kind": 4096, "kindString": "Call signature", @@ -34115,7 +34527,7 @@ }, "parameters": [ { - "id": 267, + "id": 271, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -34128,7 +34540,7 @@ } }, { - "id": 268, + "id": 272, "name": "chanParams", "kind": 32768, "kindString": "Parameter", @@ -34138,7 +34550,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -34152,7 +34564,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -34160,13 +34572,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 249, + "line": 250, "character": 9 } ] }, { - "id": 232, + "id": 236, "name": "connect", "kind": 2048, "kindString": "Method", @@ -34175,7 +34587,7 @@ }, "signatures": [ { - "id": 233, + "id": 237, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -34194,13 +34606,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 117, + "line": 118, "character": 9 } ] }, { - "id": 258, + "id": 262, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -34209,7 +34621,7 @@ }, "signatures": [ { - "id": 259, + "id": 263, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -34245,13 +34657,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 218, + "line": 219, "character": 17 } ] }, { - "id": 234, + "id": 238, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -34260,7 +34672,7 @@ }, "signatures": [ { - "id": 235, + "id": 239, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -34272,7 +34684,7 @@ }, "parameters": [ { - "id": 236, + "id": 240, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -34298,7 +34710,7 @@ } }, { - "id": 237, + "id": 241, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -34330,7 +34742,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -34339,7 +34751,7 @@ }, "children": [ { - "id": 240, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -34349,7 +34761,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 40 } ], @@ -34359,7 +34771,7 @@ } }, { - "id": 239, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -34369,7 +34781,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 20 } ], @@ -34393,15 +34805,15 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 244, + 243 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 13 } ] @@ -34415,13 +34827,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 139, + "line": 140, "character": 12 } ] }, { - "id": 276, + "id": 280, "name": "endPointURL", "kind": 2048, "kindString": "Method", @@ -34430,7 +34842,7 @@ }, "signatures": [ { - "id": 277, + "id": 281, "name": "endPointURL", "kind": 4096, "kindString": "Call signature", @@ -34449,13 +34861,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 298, + "line": 299, "character": 13 } ] }, { - "id": 260, + "id": 264, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -34464,7 +34876,7 @@ }, "signatures": [ { - "id": 261, + "id": 265, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -34483,13 +34895,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 234, + "line": 235, "character": 13 } ] }, { - "id": 241, + "id": 245, "name": "log", "kind": 2048, "kindString": "Method", @@ -34498,7 +34910,7 @@ }, "signatures": [ { - "id": 242, + "id": 246, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -34510,7 +34922,7 @@ }, "parameters": [ { - "id": 243, + "id": 247, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -34523,7 +34935,7 @@ } }, { - "id": 244, + "id": 248, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -34536,7 +34948,7 @@ } }, { - "id": 245, + "id": 249, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -34559,13 +34971,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 167, + "line": 168, "character": 5 } ] }, { - "id": 278, + "id": 282, "name": "makeRef", "kind": 2048, "kindString": "Method", @@ -34574,7 +34986,7 @@ }, "signatures": [ { - "id": 279, + "id": 283, "name": "makeRef", "kind": 4096, "kindString": "Call signature", @@ -34593,13 +35005,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 308, + "line": 309, "character": 9 } ] }, { - "id": 249, + "id": 253, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -34608,7 +35020,7 @@ }, "signatures": [ { - "id": 250, + "id": 254, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -34626,7 +35038,7 @@ }, "parameters": [ { - "id": 251, + "id": 255, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34651,13 +35063,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 189, + "line": 190, "character": 9 } ] }, { - "id": 273, + "id": 277, "name": "onConnMessage", "kind": 2048, "kindString": "Method", @@ -34666,7 +35078,7 @@ }, "signatures": [ { - "id": 274, + "id": 278, "name": "onConnMessage", "kind": 4096, "kindString": "Call signature", @@ -34675,7 +35087,7 @@ }, "parameters": [ { - "id": 275, + "id": 279, "name": "rawMessage", "kind": 32768, "kindString": "Parameter", @@ -34697,13 +35109,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 270, + "line": 271, "character": 15 } ] }, { - "id": 252, + "id": 256, "name": "onError", "kind": 2048, "kindString": "Method", @@ -34712,7 +35124,7 @@ }, "signatures": [ { - "id": 253, + "id": 257, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -34730,7 +35142,7 @@ }, "parameters": [ { - "id": 254, + "id": 258, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34755,13 +35167,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 200, + "line": 201, "character": 9 } ] }, { - "id": 255, + "id": 259, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -34770,7 +35182,7 @@ }, "signatures": [ { - "id": 256, + "id": 260, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -34788,7 +35200,7 @@ }, "parameters": [ { - "id": 257, + "id": 261, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34813,13 +35225,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 211, + "line": 212, "character": 11 } ] }, { - "id": 246, + "id": 250, "name": "onOpen", "kind": 2048, "kindString": "Method", @@ -34828,7 +35240,7 @@ }, "signatures": [ { - "id": 247, + "id": 251, "name": "onOpen", "kind": 4096, "kindString": "Call signature", @@ -34846,7 +35258,7 @@ }, "parameters": [ { - "id": 248, + "id": 252, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -34871,13 +35283,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 178, + "line": 179, "character": 8 } ] }, { - "id": 270, + "id": 274, "name": "push", "kind": 2048, "kindString": "Method", @@ -34886,7 +35298,7 @@ }, "signatures": [ { - "id": 271, + "id": 275, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -34895,7 +35307,7 @@ }, "parameters": [ { - "id": 272, + "id": 276, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -34904,7 +35316,7 @@ }, "type": { "type": "reference", - "id": 321, + "id": 325, "name": "Message" } } @@ -34918,13 +35330,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 255, + "line": 256, "character": 6 } ] }, { - "id": 262, + "id": 266, "name": "remove", "kind": 2048, "kindString": "Method", @@ -34933,7 +35345,7 @@ }, "signatures": [ { - "id": 263, + "id": 267, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -34945,7 +35357,7 @@ }, "parameters": [ { - "id": 264, + "id": 268, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -34957,7 +35369,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -34971,13 +35383,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 243, + "line": 244, "character": 8 } ] }, { - "id": 223, + "id": 227, "name": "stateChangeCallbacks", "kind": 2097152, "kindString": "Object literal", @@ -34986,37 +35398,13 @@ }, "children": [ { - "id": 225, + "id": 229, "name": "close", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 9 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "never" - } - }, - "defaultValue": "[]" - }, - { - "id": 226, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -35034,8 +35422,8 @@ "defaultValue": "[]" }, { - "id": 227, - "name": "message", + "id": 230, + "name": "error", "kind": 32, "kindString": "Variable", "flags": { @@ -35045,6 +35433,30 @@ { "fileName": "RealtimeClient.ts", "line": 64, + "character": 9 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 231, + "name": "message", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 65, "character": 11 } ], @@ -35058,7 +35470,7 @@ "defaultValue": "[]" }, { - "id": 224, + "id": 228, "name": "open", "kind": 32, "kindString": "Variable", @@ -35068,7 +35480,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 8 } ], @@ -35087,17 +35499,17 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 226, - 227, - 224 + 229, + 230, + 231, + 228 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 55, + "line": 56, "character": 22 } ], @@ -35112,81 +35524,81 @@ "title": "Constructors", "kind": 512, "children": [ - 228 + 232 ] }, { "title": "Properties", "kind": 1024, "children": [ - 198, - 220, - 218, - 217, - 199, - 200, - 210, - 212, - 216, - 211, - 204, - 213, - 219, - 215, - 214, - 221, + 202, + 224, 222, + 221, + 203, + 204, + 214, + 216, + 220, + 215, 208, - 209 + 217, + 223, + 219, + 218, + 225, + 226, + 212, + 213 ] }, { "title": "Methods", "kind": 2048, "children": [ - 290, - 297, - 282, - 285, - 280, - 299, + 294, 301, - 288, - 265, - 232, - 258, - 234, - 276, - 260, - 241, - 278, - 249, - 273, - 252, - 255, - 246, - 270, - 262 + 286, + 289, + 284, + 303, + 305, + 292, + 269, + 236, + 262, + 238, + 280, + 264, + 245, + 282, + 253, + 277, + 256, + 259, + 250, + 274, + 266 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 223 + 227 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 35, + "line": 36, "character": 35 } ] }, { - "id": 321, + "id": 325, "name": "Message", "kind": 4194304, "kindString": "Type alias", @@ -35194,25 +35606,79 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 328, "name": "event", "kind": 32, "kindString": "Variable", "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 29, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 329, + "name": "payload", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 30, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 330, + "name": "ref", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 31, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "topic", + "kind": 32, + "kindString": "Variable", + "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -35224,60 +35690,6 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 325, - "name": "payload", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 326, - "name": "ref", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 30, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 323, - "name": "topic", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 27, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ @@ -35285,17 +35697,17 @@ "title": "Variables", "kind": 32, "children": [ - 324, - 325, - 326, - 323 + 328, + 329, + 330, + 327 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 14 } ] @@ -35303,7 +35715,7 @@ } }, { - "id": 303, + "id": 307, "name": "Options", "kind": 4194304, "kindString": "Type alias", @@ -35313,14 +35725,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35329,7 +35741,7 @@ }, "children": [ { - "id": 311, + "id": 315, "name": "decode", "kind": 32, "kindString": "Variable", @@ -35337,6 +35749,27 @@ "isExported": true, "isOptional": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 22, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 314, + "name": "encode", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -35350,28 +35783,7 @@ } }, { - "id": 310, - "name": "encode", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 313, + "id": 317, "name": "headers", "kind": 32, "kindString": "Variable", @@ -35379,160 +35791,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 23, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 314, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 315, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 316, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 307, - "name": "heartbeatIntervalMs", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 17, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 309, - "name": "logger", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 308, - "name": "longpollerTimeout", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 317, - "name": "params", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 24, - "character": 8 + "character": 9 } ], "type": { @@ -35587,8 +35850,157 @@ ] } }, + { + "id": 311, + "name": "heartbeatIntervalMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 313, + "name": "logger", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, { "id": 312, + "name": "longpollerTimeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 321, + "name": "params", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 322, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 323, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 324, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 316, "name": "reconnectAfterMs", "kind": 32, "kindString": "Variable", @@ -35599,7 +36011,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 22, + "line": 23, "character": 18 } ], @@ -35609,7 +36021,7 @@ } }, { - "id": 306, + "id": 310, "name": "timeout", "kind": 32, "kindString": "Variable", @@ -35620,7 +36032,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 9 } ], @@ -35639,7 +36051,7 @@ } }, { - "id": 305, + "id": 309, "name": "transport", "kind": 32, "kindString": "Variable", @@ -35650,7 +36062,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 15, + "line": 16, "character": 11 } ], @@ -35665,23 +36077,23 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 310, - 313, - 307, - 309, - 308, + 315, + 314, 317, + 311, + 313, 312, - 306, - 305 + 321, + 316, + 310, + 309 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 21 } ] @@ -35689,7 +36101,7 @@ } }, { - "id": 327, + "id": 331, "name": "noop", "kind": 64, "kindString": "Function", @@ -35698,7 +36110,7 @@ }, "signatures": [ { - "id": 328, + "id": 332, "name": "noop", "kind": 4096, "kindString": "Call signature", @@ -35712,7 +36124,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 33, + "line": 34, "character": 10 } ] @@ -35723,22 +36135,22 @@ "title": "Classes", "kind": 128, "children": [ - 197 + 201 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 321, - 303 + 325, + 307 ] }, { "title": "Functions", "kind": 64, "children": [ - 327 + 331 ] } ], @@ -35751,7 +36163,7 @@ ] }, { - "id": 92, + "id": 96, "name": "\"RealtimeSubscription\"", "kind": 1, "kindString": "Module", @@ -35761,7 +36173,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts", "children": [ { - "id": 93, + "id": 97, "name": "RealtimeSubscription", "kind": 128, "kindString": "Class", @@ -35770,7 +36182,7 @@ }, "children": [ { - "id": 101, + "id": 105, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -35779,7 +36191,7 @@ }, "signatures": [ { - "id": 105, + "id": 109, "name": "new RealtimeSubscription", "kind": 16384, "kindString": "Constructor signature", @@ -35788,7 +36200,7 @@ }, "parameters": [ { - "id": 106, + "id": 110, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -35801,7 +36213,7 @@ } }, { - "id": 107, + "id": 111, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -35815,7 +36227,7 @@ "defaultValue": "{}" }, { - "id": 108, + "id": 112, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -35824,14 +36236,14 @@ }, "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -35845,7 +36257,7 @@ ] }, { - "id": 94, + "id": 98, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -35869,7 +36281,7 @@ "defaultValue": "[]" }, { - "id": 98, + "id": 102, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -35885,12 +36297,12 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, { - "id": 97, + "id": 101, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -35911,7 +36323,7 @@ "defaultValue": "false" }, { - "id": 103, + "id": 107, "name": "params", "kind": 1024, "kindString": "Property", @@ -35933,7 +36345,7 @@ } }, { - "id": 100, + "id": 104, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -35951,14 +36363,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, "defaultValue": "[]" }, { - "id": 99, + "id": 103, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -35974,12 +36386,12 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 104, + "id": 108, "name": "socket", "kind": 1024, "kindString": "Property", @@ -35997,12 +36409,12 @@ ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } }, { - "id": 96, + "id": 100, "name": "state", "kind": 1024, "kindString": "Property", @@ -36018,13 +36430,13 @@ ], "type": { "type": "reference", - "id": 7, + "id": 9, "name": "CHANNEL_STATES" }, "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 95, + "id": 99, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -36044,7 +36456,7 @@ } }, { - "id": 102, + "id": 106, "name": "topic", "kind": 1024, "kindString": "Property", @@ -36066,7 +36478,7 @@ } }, { - "id": 127, + "id": 131, "name": "canPush", "kind": 2048, "kindString": "Method", @@ -36075,7 +36487,7 @@ }, "signatures": [ { - "id": 128, + "id": 132, "name": "canPush", "kind": 4096, "kindString": "Call signature", @@ -36097,7 +36509,7 @@ ] }, { - "id": 161, + "id": 165, "name": "isClosed", "kind": 2048, "kindString": "Method", @@ -36106,7 +36518,7 @@ }, "signatures": [ { - "id": 162, + "id": 166, "name": "isClosed", "kind": 4096, "kindString": "Call signature", @@ -36128,7 +36540,7 @@ ] }, { - "id": 163, + "id": 167, "name": "isErrored", "kind": 2048, "kindString": "Method", @@ -36137,7 +36549,7 @@ }, "signatures": [ { - "id": 164, + "id": 168, "name": "isErrored", "kind": 4096, "kindString": "Call signature", @@ -36159,7 +36571,7 @@ ] }, { - "id": 165, + "id": 169, "name": "isJoined", "kind": 2048, "kindString": "Method", @@ -36168,7 +36580,7 @@ }, "signatures": [ { - "id": 166, + "id": 170, "name": "isJoined", "kind": 4096, "kindString": "Call signature", @@ -36190,7 +36602,7 @@ ] }, { - "id": 167, + "id": 171, "name": "isJoining", "kind": 2048, "kindString": "Method", @@ -36199,7 +36611,7 @@ }, "signatures": [ { - "id": 168, + "id": 172, "name": "isJoining", "kind": 4096, "kindString": "Call signature", @@ -36221,7 +36633,7 @@ ] }, { - "id": 169, + "id": 173, "name": "isLeaving", "kind": 2048, "kindString": "Method", @@ -36230,7 +36642,7 @@ }, "signatures": [ { - "id": 170, + "id": 174, "name": "isLeaving", "kind": 4096, "kindString": "Call signature", @@ -36252,7 +36664,7 @@ ] }, { - "id": 142, + "id": 146, "name": "isMember", "kind": 2048, "kindString": "Method", @@ -36261,7 +36673,7 @@ }, "signatures": [ { - "id": 143, + "id": 147, "name": "isMember", "kind": 4096, "kindString": "Call signature", @@ -36270,7 +36682,7 @@ }, "parameters": [ { - "id": 144, + "id": 148, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -36298,7 +36710,7 @@ ] }, { - "id": 145, + "id": 149, "name": "joinRef", "kind": 2048, "kindString": "Method", @@ -36307,7 +36719,7 @@ }, "signatures": [ { - "id": 146, + "id": 150, "name": "joinRef", "kind": 4096, "kindString": "Call signature", @@ -36329,7 +36741,7 @@ ] }, { - "id": 124, + "id": 128, "name": "off", "kind": 2048, "kindString": "Method", @@ -36338,7 +36750,7 @@ }, "signatures": [ { - "id": 125, + "id": 129, "name": "off", "kind": 4096, "kindString": "Call signature", @@ -36347,7 +36759,7 @@ }, "parameters": [ { - "id": 126, + "id": 130, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36375,7 +36787,7 @@ ] }, { - "id": 120, + "id": 124, "name": "on", "kind": 2048, "kindString": "Method", @@ -36384,7 +36796,7 @@ }, "signatures": [ { - "id": 121, + "id": 125, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -36393,7 +36805,7 @@ }, "parameters": [ { - "id": 122, + "id": 126, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36406,7 +36818,7 @@ } }, { - "id": 123, + "id": 127, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36434,7 +36846,7 @@ ] }, { - "id": 114, + "id": 118, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -36443,7 +36855,7 @@ }, "signatures": [ { - "id": 115, + "id": 119, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -36452,7 +36864,7 @@ }, "parameters": [ { - "id": 116, + "id": 120, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36480,7 +36892,7 @@ ] }, { - "id": 117, + "id": 121, "name": "onError", "kind": 2048, "kindString": "Method", @@ -36489,7 +36901,7 @@ }, "signatures": [ { - "id": 118, + "id": 122, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -36498,7 +36910,7 @@ }, "parameters": [ { - "id": 119, + "id": 123, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36526,7 +36938,7 @@ ] }, { - "id": 137, + "id": 141, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -36535,7 +36947,7 @@ }, "signatures": [ { - "id": 138, + "id": 142, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -36548,7 +36960,7 @@ }, "parameters": [ { - "id": 139, + "id": 143, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36561,7 +36973,7 @@ } }, { - "id": 140, + "id": 144, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -36574,7 +36986,7 @@ } }, { - "id": 141, + "id": 145, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -36612,7 +37024,7 @@ ] }, { - "id": 129, + "id": 133, "name": "push", "kind": 2048, "kindString": "Method", @@ -36621,7 +37033,7 @@ }, "signatures": [ { - "id": 130, + "id": 134, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -36630,7 +37042,7 @@ }, "parameters": [ { - "id": 131, + "id": 135, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36639,12 +37051,12 @@ }, "type": { "type": "reference", - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS" } }, { - "id": 132, + "id": 136, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -36657,7 +37069,7 @@ } }, { - "id": 133, + "id": 137, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -36673,7 +37085,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -36687,7 +37099,7 @@ ] }, { - "id": 150, + "id": 154, "name": "rejoin", "kind": 2048, "kindString": "Method", @@ -36696,7 +37108,7 @@ }, "signatures": [ { - "id": 151, + "id": 155, "name": "rejoin", "kind": 4096, "kindString": "Call signature", @@ -36705,7 +37117,7 @@ }, "parameters": [ { - "id": 152, + "id": 156, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -36734,7 +37146,7 @@ ] }, { - "id": 109, + "id": 113, "name": "rejoinUntilConnected", "kind": 2048, "kindString": "Method", @@ -36743,7 +37155,7 @@ }, "signatures": [ { - "id": 110, + "id": 114, "name": "rejoinUntilConnected", "kind": 4096, "kindString": "Call signature", @@ -36765,7 +37177,7 @@ ] }, { - "id": 158, + "id": 162, "name": "replyEventName", "kind": 2048, "kindString": "Method", @@ -36774,7 +37186,7 @@ }, "signatures": [ { - "id": 159, + "id": 163, "name": "replyEventName", "kind": 4096, "kindString": "Call signature", @@ -36783,7 +37195,7 @@ }, "parameters": [ { - "id": 160, + "id": 164, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -36811,7 +37223,7 @@ ] }, { - "id": 147, + "id": 151, "name": "sendJoin", "kind": 2048, "kindString": "Method", @@ -36820,7 +37232,7 @@ }, "signatures": [ { - "id": 148, + "id": 152, "name": "sendJoin", "kind": 4096, "kindString": "Call signature", @@ -36829,7 +37241,7 @@ }, "parameters": [ { - "id": 149, + "id": 153, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -36857,7 +37269,7 @@ ] }, { - "id": 111, + "id": 115, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -36866,7 +37278,7 @@ }, "signatures": [ { - "id": 112, + "id": 116, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -36875,7 +37287,7 @@ }, "parameters": [ { - "id": 113, + "id": 117, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -36891,7 +37303,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -36905,7 +37317,7 @@ ] }, { - "id": 153, + "id": 157, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -36914,7 +37326,7 @@ }, "signatures": [ { - "id": 154, + "id": 158, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -36923,7 +37335,7 @@ }, "parameters": [ { - "id": 155, + "id": 159, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -36936,7 +37348,7 @@ } }, { - "id": 156, + "id": 160, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -36950,7 +37362,7 @@ } }, { - "id": 157, + "id": 161, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -36988,7 +37400,7 @@ ] }, { - "id": 134, + "id": 138, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -36997,7 +37409,7 @@ }, "signatures": [ { - "id": 135, + "id": 139, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -37010,7 +37422,7 @@ }, "parameters": [ { - "id": 136, + "id": 140, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -37026,7 +37438,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -37045,50 +37457,50 @@ "title": "Constructors", "kind": 512, "children": [ - 101 + 105 ] }, { "title": "Properties", "kind": 1024, "children": [ - 94, 98, - 97, + 102, + 101, + 107, + 104, 103, + 108, 100, 99, - 104, - 96, - 95, - 102 + 106 ] }, { "title": "Methods", "kind": 2048, "children": [ - 127, - 161, - 163, + 131, 165, 167, 169, - 142, - 145, + 171, + 173, + 146, + 149, + 128, 124, - 120, - 114, - 117, - 137, - 129, - 150, - 109, - 158, - 147, - 111, - 153, - 134 + 118, + 121, + 141, + 133, + 154, + 113, + 162, + 151, + 115, + 157, + 138 ] } ], @@ -37106,7 +37518,7 @@ "title": "Classes", "kind": 128, "children": [ - 93 + 97 ] } ], @@ -37119,7 +37531,7 @@ ] }, { - "id": 415, + "id": 419, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -37136,7 +37548,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -37146,7 +37558,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts", "children": [ { - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS", "kind": 4, "kindString": "Enumeration", @@ -37154,60 +37566,9 @@ "isExported": true }, "children": [ - { - "id": 14, - "name": "close", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 23, - "character": 7 - } - ], - "defaultValue": "\"phx_close\"" - }, - { - "id": 15, - "name": "error", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 24, - "character": 7 - } - ], - "defaultValue": "\"phx_error\"" - }, { "id": 16, - "name": "join", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 25, - "character": 6 - } - ], - "defaultValue": "\"phx_join\"" - }, - { - "id": 18, - "name": "leave", + "name": "close", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -37220,10 +37581,61 @@ "character": 7 } ], - "defaultValue": "\"phx_leave\"" + "defaultValue": "\"phx_close\"" }, { "id": 17, + "name": "error", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 28, + "character": 7 + } + ], + "defaultValue": "\"phx_error\"" + }, + { + "id": 18, + "name": "join", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 29, + "character": 6 + } + ], + "defaultValue": "\"phx_join\"" + }, + { + "id": 20, + "name": "leave", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 31, + "character": 7 + } + ], + "defaultValue": "\"phx_leave\"" + }, + { + "id": 19, "name": "reply", "kind": 16, "kindString": "Enumeration member", @@ -37233,7 +37645,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 26, + "line": 30, "character": 7 } ], @@ -37245,30 +37657,146 @@ "title": "Enumeration members", "kind": 16, "children": [ - 14, - 15, 16, + 17, 18, - 17 + 20, + 19 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 22, + "line": 26, "character": 26 } ] }, { - "id": 7, + "id": 9, "name": "CHANNEL_STATES", "kind": 4, "kindString": "Enumeration", "flags": { "isExported": true }, + "children": [ + { + "id": 10, + "name": "closed", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 19, + "character": 8 + } + ], + "defaultValue": "\"closed\"" + }, + { + "id": 11, + "name": "errored", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 20, + "character": 9 + } + ], + "defaultValue": "\"errored\"" + }, + { + "id": 12, + "name": "joined", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 21, + "character": 8 + } + ], + "defaultValue": "\"joined\"" + }, + { + "id": 13, + "name": "joining", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 22, + "character": 9 + } + ], + "defaultValue": "\"joining\"" + }, + { + "id": 14, + "name": "leaving", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 23, + "character": 9 + } + ], + "defaultValue": "\"leaving\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 10, + 11, + 12, + 13, + 14 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 18, + "character": 26 + } + ] + }, + { + "id": 4, + "name": "SOCKET_STATES", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, "children": [ { "id": 8, @@ -37285,126 +37813,10 @@ "character": 8 } ], - "defaultValue": "\"closed\"" - }, - { - "id": 9, - "name": "errored", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 16, - "character": 9 - } - ], - "defaultValue": "\"errored\"" - }, - { - "id": 10, - "name": "joined", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 17, - "character": 8 - } - ], - "defaultValue": "\"joined\"" - }, - { - "id": 11, - "name": "joining", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 18, - "character": 9 - } - ], - "defaultValue": "\"joining\"" - }, - { - "id": 12, - "name": "leaving", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 19, - "character": 9 - } - ], - "defaultValue": "\"leaving\"" - } - ], - "groups": [ - { - "title": "Enumeration members", - "kind": 16, - "children": [ - 8, - 9, - 10, - 11, - 12 - ] - } - ], - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 14, - "character": 26 - } - ] - }, - { - "id": 2, - "name": "SOCKET_STATES", - "kind": 4, - "kindString": "Enumeration", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 6, - "name": "closed", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 11, - "character": 8 - } - ], "defaultValue": "3" }, { - "id": 5, + "id": 7, "name": "closing", "kind": 16, "kindString": "Enumeration member", @@ -37414,14 +37826,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 10, + "line": 14, "character": 9 } ], "defaultValue": "2" }, { - "id": 3, + "id": 5, "name": "connecting", "kind": 16, "kindString": "Enumeration member", @@ -37431,14 +37843,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 8, + "line": 12, "character": 12 } ], "defaultValue": "0" }, { - "id": 4, + "id": 6, "name": "open", "kind": 16, "kindString": "Enumeration member", @@ -37448,7 +37860,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 9, + "line": 13, "character": 6 } ], @@ -37460,23 +37872,23 @@ "title": "Enumeration members", "kind": 16, "children": [ - 6, + 8, + 7, 5, - 3, - 4 + 6 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 7, + "line": 11, "character": 25 } ] }, { - "id": 19, + "id": 21, "name": "TRANSPORTS", "kind": 4, "kindString": "Enumeration", @@ -37485,7 +37897,7 @@ }, "children": [ { - "id": 20, + "id": 22, "name": "websocket", "kind": 16, "kindString": "Enumeration member", @@ -37495,7 +37907,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 31, + "line": 35, "character": 11 } ], @@ -37507,20 +37919,20 @@ "title": "Enumeration members", "kind": 16, "children": [ - 20 + 22 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 30, + "line": 34, "character": 22 } ] }, { - "id": 22, + "id": 26, "name": "DEFAULT_TIMEOUT", "kind": 32, "kindString": "Variable", @@ -37531,7 +37943,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 3, + "line": 7, "character": 28 } ], @@ -37542,7 +37954,7 @@ "defaultValue": "10000" }, { - "id": 21, + "id": 25, "name": "VSN", "kind": 32, "kindString": "Variable", @@ -37553,7 +37965,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 1, + "line": 5, "character": 16 } ], @@ -37564,7 +37976,7 @@ "defaultValue": "\"1.0.0\"" }, { - "id": 23, + "id": 27, "name": "WS_CLOSE_NORMAL", "kind": 32, "kindString": "Variable", @@ -37575,7 +37987,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 5, + "line": 9, "character": 28 } ], @@ -37584,6 +37996,59 @@ "name": "1000" }, "defaultValue": "1000" + }, + { + "id": 23, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 24, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`realtime-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 24 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } } ], "groups": [ @@ -37591,18 +38056,25 @@ "title": "Enumerations", "kind": 4, "children": [ - 13, - 7, - 2, - 19 + 15, + 9, + 4, + 21 ] }, { "title": "Variables", "kind": 32, "children": [ - 22, - 21, + 26, + 25, + 27 + ] + }, + { + "title": "Object literals", + "kind": 2097152, + "children": [ 23 ] } @@ -37616,7 +38088,7 @@ ] }, { - "id": 38, + "id": 42, "name": "\"lib/push\"", "kind": 1, "kindString": "Module", @@ -37626,7 +38098,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts", "children": [ { - "id": 39, + "id": 43, "name": "Push", "kind": 128, "kindString": "Class", @@ -37635,7 +38107,7 @@ }, "children": [ { - "id": 52, + "id": 56, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37647,7 +38119,7 @@ }, "signatures": [ { - "id": 57, + "id": 61, "name": "new Push", "kind": 16384, "kindString": "Constructor signature", @@ -37659,7 +38131,7 @@ }, "parameters": [ { - "id": 58, + "id": 62, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -37671,12 +38143,12 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 59, + "id": 63, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -37692,7 +38164,7 @@ } }, { - "id": 60, + "id": 64, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -37709,7 +38181,7 @@ "defaultValue": "{}" }, { - "id": 61, + "id": 65, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -37728,7 +38200,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -37742,7 +38214,7 @@ ] }, { - "id": 53, + "id": 57, "name": "channel", "kind": 1024, "kindString": "Property", @@ -37763,12 +38235,12 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 54, + "id": 58, "name": "event", "kind": 1024, "kindString": "Property", @@ -37793,7 +38265,7 @@ } }, { - "id": 55, + "id": 59, "name": "payload", "kind": 1024, "kindString": "Property", @@ -37818,7 +38290,7 @@ } }, { - "id": 47, + "id": 51, "name": "recHooks", "kind": 1024, "kindString": "Property", @@ -37837,7 +38309,7 @@ "elementType": { "type": "reflection", "declaration": { - "id": 48, + "id": 52, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37846,7 +38318,7 @@ }, "children": [ { - "id": 50, + "id": 54, "name": "callback", "kind": 32, "kindString": "Variable", @@ -37866,7 +38338,7 @@ } }, { - "id": 49, + "id": 53, "name": "status", "kind": 32, "kindString": "Variable", @@ -37891,8 +38363,8 @@ "title": "Variables", "kind": 32, "children": [ - 50, - 49 + 54, + 53 ] } ], @@ -37909,7 +38381,7 @@ "defaultValue": "[]" }, { - "id": 43, + "id": 47, "name": "receivedResp", "kind": 1024, "kindString": "Property", @@ -37929,7 +38401,7 @@ { "type": "reflection", "declaration": { - "id": 44, + "id": 48, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37938,7 +38410,7 @@ }, "children": [ { - "id": 46, + "id": 50, "name": "response", "kind": 32, "kindString": "Variable", @@ -37958,7 +38430,7 @@ } }, { - "id": 45, + "id": 49, "name": "status", "kind": 32, "kindString": "Variable", @@ -37983,8 +38455,8 @@ "title": "Variables", "kind": 32, "children": [ - 46, - 45 + 50, + 49 ] } ], @@ -38006,7 +38478,7 @@ "defaultValue": "null" }, { - "id": 42, + "id": 46, "name": "ref", "kind": 1024, "kindString": "Property", @@ -38027,7 +38499,7 @@ "defaultValue": "\"\"" }, { - "id": 51, + "id": 55, "name": "refEvent", "kind": 1024, "kindString": "Property", @@ -38057,7 +38529,7 @@ "defaultValue": "null" }, { - "id": 40, + "id": 44, "name": "sent", "kind": 1024, "kindString": "Property", @@ -38078,7 +38550,7 @@ "defaultValue": "false" }, { - "id": 56, + "id": 60, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -38103,7 +38575,7 @@ } }, { - "id": 41, + "id": 45, "name": "timeoutTimer", "kind": 1024, "kindString": "Property", @@ -38133,7 +38605,7 @@ "defaultValue": "undefined" }, { - "id": 79, + "id": 83, "name": "_cancelRefEvent", "kind": 2048, "kindString": "Method", @@ -38143,7 +38615,7 @@ }, "signatures": [ { - "id": 80, + "id": 84, "name": "_cancelRefEvent", "kind": 4096, "kindString": "Call signature", @@ -38165,7 +38637,7 @@ ] }, { - "id": 81, + "id": 85, "name": "_cancelTimeout", "kind": 2048, "kindString": "Method", @@ -38175,7 +38647,7 @@ }, "signatures": [ { - "id": 82, + "id": 86, "name": "_cancelTimeout", "kind": 4096, "kindString": "Call signature", @@ -38197,7 +38669,7 @@ ] }, { - "id": 89, + "id": 93, "name": "_hasReceived", "kind": 2048, "kindString": "Method", @@ -38207,7 +38679,7 @@ }, "signatures": [ { - "id": 90, + "id": 94, "name": "_hasReceived", "kind": 4096, "kindString": "Call signature", @@ -38216,7 +38688,7 @@ }, "parameters": [ { - "id": 91, + "id": 95, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -38257,7 +38729,7 @@ ] }, { - "id": 83, + "id": 87, "name": "_matchReceive", "kind": 2048, "kindString": "Method", @@ -38267,7 +38739,7 @@ }, "signatures": [ { - "id": 84, + "id": 88, "name": "_matchReceive", "kind": 4096, "kindString": "Call signature", @@ -38276,7 +38748,7 @@ }, "parameters": [ { - "id": 85, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -38287,7 +38759,7 @@ "type": { "type": "reflection", "declaration": { - "id": 86, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38296,7 +38768,7 @@ }, "children": [ { - "id": 88, + "id": 92, "name": "response", "kind": 32, "kindString": "Variable", @@ -38316,7 +38788,7 @@ } }, { - "id": 87, + "id": 91, "name": "status", "kind": 32, "kindString": "Variable", @@ -38341,8 +38813,8 @@ "title": "Variables", "kind": 32, "children": [ - 88, - 87 + 92, + 91 ] } ], @@ -38372,7 +38844,7 @@ ] }, { - "id": 77, + "id": 81, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -38381,7 +38853,7 @@ }, "signatures": [ { - "id": 78, + "id": 82, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -38403,7 +38875,7 @@ ] }, { - "id": 67, + "id": 71, "name": "receive", "kind": 2048, "kindString": "Method", @@ -38412,7 +38884,7 @@ }, "signatures": [ { - "id": 68, + "id": 72, "name": "receive", "kind": 4096, "kindString": "Call signature", @@ -38421,7 +38893,7 @@ }, "parameters": [ { - "id": 69, + "id": 73, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -38434,7 +38906,7 @@ } }, { - "id": 70, + "id": 74, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -38462,7 +38934,7 @@ ] }, { - "id": 62, + "id": 66, "name": "resend", "kind": 2048, "kindString": "Method", @@ -38471,7 +38943,7 @@ }, "signatures": [ { - "id": 63, + "id": 67, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -38480,7 +38952,7 @@ }, "parameters": [ { - "id": 64, + "id": 68, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -38508,7 +38980,7 @@ ] }, { - "id": 65, + "id": 69, "name": "send", "kind": 2048, "kindString": "Method", @@ -38517,7 +38989,7 @@ }, "signatures": [ { - "id": 66, + "id": 70, "name": "send", "kind": 4096, "kindString": "Call signature", @@ -38539,7 +39011,7 @@ ] }, { - "id": 71, + "id": 75, "name": "startTimeout", "kind": 2048, "kindString": "Method", @@ -38548,7 +39020,7 @@ }, "signatures": [ { - "id": 72, + "id": 76, "name": "startTimeout", "kind": 4096, "kindString": "Call signature", @@ -38570,7 +39042,7 @@ ] }, { - "id": 73, + "id": 77, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -38579,7 +39051,7 @@ }, "signatures": [ { - "id": 74, + "id": 78, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -38588,7 +39060,7 @@ }, "parameters": [ { - "id": 75, + "id": 79, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -38601,7 +39073,7 @@ } }, { - "id": 76, + "id": 80, "name": "response", "kind": 32768, "kindString": "Parameter", @@ -38634,39 +39106,39 @@ "title": "Constructors", "kind": 512, "children": [ - 52 + 56 ] }, { "title": "Properties", "kind": 1024, "children": [ - 53, - 54, - 55, - 47, - 43, - 42, + 57, + 58, + 59, 51, - 40, - 56, - 41 + 47, + 46, + 55, + 44, + 60, + 45 ] }, { "title": "Methods", "kind": 2048, "children": [ - 79, - 81, - 89, 83, - 77, - 67, - 62, - 65, + 85, + 93, + 87, + 81, 71, - 73 + 66, + 69, + 75, + 77 ] } ], @@ -38684,7 +39156,7 @@ "title": "Classes", "kind": 128, "children": [ - 39 + 43 ] } ], @@ -38697,7 +39169,7 @@ ] }, { - "id": 171, + "id": 175, "name": "\"lib/serializer\"", "kind": 1, "kindString": "Module", @@ -38707,7 +39179,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts", "children": [ { - "id": 172, + "id": 176, "name": "Serializer", "kind": 128, "kindString": "Class", @@ -38716,7 +39188,7 @@ }, "children": [ { - "id": 173, + "id": 177, "name": "HEADER_LENGTH", "kind": 1024, "kindString": "Property", @@ -38737,7 +39209,7 @@ "defaultValue": "1" }, { - "id": 178, + "id": 182, "name": "_binaryDecode", "kind": 2048, "kindString": "Method", @@ -38747,7 +39219,7 @@ }, "signatures": [ { - "id": 179, + "id": 183, "name": "_binaryDecode", "kind": 4096, "kindString": "Call signature", @@ -38756,7 +39228,7 @@ }, "parameters": [ { - "id": 180, + "id": 184, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -38772,7 +39244,7 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38781,7 +39253,7 @@ }, "children": [ { - "id": 184, + "id": 188, "name": "event", "kind": 32, "kindString": "Variable", @@ -38801,7 +39273,7 @@ } }, { - "id": 185, + "id": 189, "name": "payload", "kind": 32, "kindString": "Variable", @@ -38821,7 +39293,7 @@ } }, { - "id": 182, + "id": 186, "name": "ref", "kind": 32, "kindString": "Variable", @@ -38841,7 +39313,7 @@ } }, { - "id": 183, + "id": 187, "name": "topic", "kind": 32, "kindString": "Variable", @@ -38866,10 +39338,10 @@ "title": "Variables", "kind": 32, "children": [ - 184, - 185, - 182, - 183 + 188, + 189, + 186, + 187 ] } ] @@ -38886,7 +39358,7 @@ ] }, { - "id": 186, + "id": 190, "name": "_decodeBroadcast", "kind": 2048, "kindString": "Method", @@ -38896,7 +39368,7 @@ }, "signatures": [ { - "id": 187, + "id": 191, "name": "_decodeBroadcast", "kind": 4096, "kindString": "Call signature", @@ -38905,7 +39377,7 @@ }, "parameters": [ { - "id": 188, + "id": 192, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -38918,7 +39390,7 @@ } }, { - "id": 189, + "id": 193, "name": "view", "kind": 32768, "kindString": "Parameter", @@ -38931,7 +39403,7 @@ } }, { - "id": 190, + "id": 194, "name": "decoder", "kind": 32768, "kindString": "Parameter", @@ -38947,7 +39419,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -38956,7 +39428,7 @@ }, "children": [ { - "id": 194, + "id": 198, "name": "event", "kind": 32, "kindString": "Variable", @@ -38976,7 +39448,7 @@ } }, { - "id": 195, + "id": 199, "name": "payload", "kind": 32, "kindString": "Variable", @@ -38996,7 +39468,7 @@ } }, { - "id": 192, + "id": 196, "name": "ref", "kind": 32, "kindString": "Variable", @@ -39016,7 +39488,7 @@ } }, { - "id": 193, + "id": 197, "name": "topic", "kind": 32, "kindString": "Variable", @@ -39041,10 +39513,10 @@ "title": "Variables", "kind": 32, "children": [ - 194, - 195, - 192, - 193 + 198, + 199, + 196, + 197 ] } ], @@ -39068,7 +39540,7 @@ ] }, { - "id": 174, + "id": 178, "name": "decode", "kind": 2048, "kindString": "Method", @@ -39077,7 +39549,7 @@ }, "signatures": [ { - "id": 175, + "id": 179, "name": "decode", "kind": 4096, "kindString": "Call signature", @@ -39086,7 +39558,7 @@ }, "parameters": [ { - "id": 176, + "id": 180, "name": "rawPayload", "kind": 32768, "kindString": "Parameter", @@ -39108,7 +39580,7 @@ } }, { - "id": 177, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -39141,16 +39613,16 @@ "title": "Properties", "kind": 1024, "children": [ - 173 + 177 ] }, { "title": "Methods", "kind": 2048, "children": [ - 178, - 186, - 174 + 182, + 190, + 178 ] } ], @@ -39168,7 +39640,7 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 176 ] } ], @@ -39181,7 +39653,7 @@ ] }, { - "id": 24, + "id": 28, "name": "\"lib/timer\"", "kind": 1, "kindString": "Module", @@ -39191,7 +39663,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts", "children": [ { - "id": 25, + "id": 29, "name": "Timer", "kind": 128, "kindString": "Class", @@ -39209,7 +39681,7 @@ }, "children": [ { - "id": 28, + "id": 32, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -39218,7 +39690,7 @@ }, "signatures": [ { - "id": 31, + "id": 35, "name": "new Timer", "kind": 16384, "kindString": "Constructor signature", @@ -39227,7 +39699,7 @@ }, "parameters": [ { - "id": 32, + "id": 36, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -39240,7 +39712,7 @@ } }, { - "id": 33, + "id": 37, "name": "timerCalc", "kind": 32768, "kindString": "Parameter", @@ -39255,7 +39727,7 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } } @@ -39269,7 +39741,7 @@ ] }, { - "id": 29, + "id": 33, "name": "callback", "kind": 1024, "kindString": "Property", @@ -39291,7 +39763,7 @@ } }, { - "id": 26, + "id": 30, "name": "timer", "kind": 1024, "kindString": "Property", @@ -39321,7 +39793,7 @@ "defaultValue": "undefined" }, { - "id": 30, + "id": 34, "name": "timerCalc", "kind": 1024, "kindString": "Property", @@ -39343,7 +39815,7 @@ } }, { - "id": 27, + "id": 31, "name": "tries", "kind": 1024, "kindString": "Property", @@ -39364,7 +39836,7 @@ "defaultValue": "0" }, { - "id": 34, + "id": 38, "name": "reset", "kind": 2048, "kindString": "Method", @@ -39373,7 +39845,7 @@ }, "signatures": [ { - "id": 35, + "id": 39, "name": "reset", "kind": 4096, "kindString": "Call signature", @@ -39395,7 +39867,7 @@ ] }, { - "id": 36, + "id": 40, "name": "scheduleTimeout", "kind": 2048, "kindString": "Method", @@ -39404,7 +39876,7 @@ }, "signatures": [ { - "id": 37, + "id": 41, "name": "scheduleTimeout", "kind": 4096, "kindString": "Call signature", @@ -39431,25 +39903,25 @@ "title": "Constructors", "kind": 512, "children": [ - 28 + 32 ] }, { "title": "Properties", "kind": 1024, "children": [ - 29, - 26, + 33, 30, - 27 + 34, + 31 ] }, { "title": "Methods", "kind": 2048, "children": [ - 34, - 36 + 38, + 40 ] } ], @@ -39467,7 +39939,7 @@ "title": "Classes", "kind": 128, "children": [ - 25 + 29 ] } ], @@ -39480,7 +39952,7 @@ ] }, { - "id": 329, + "id": 333, "name": "\"lib/transformers\"", "kind": 1, "kindString": "Module", @@ -39490,7 +39962,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts", "children": [ { - "id": 330, + "id": 334, "name": "PostgresTypes", "kind": 4, "kindString": "Enumeration", @@ -39502,7 +39974,7 @@ }, "children": [ { - "id": 331, + "id": 335, "name": "abstime", "kind": 16, "kindString": "Enumeration member", @@ -39519,7 +39991,7 @@ "defaultValue": "\"abstime\"" }, { - "id": 332, + "id": 336, "name": "bool", "kind": 16, "kindString": "Enumeration member", @@ -39536,7 +40008,7 @@ "defaultValue": "\"bool\"" }, { - "id": 333, + "id": 337, "name": "date", "kind": 16, "kindString": "Enumeration member", @@ -39553,7 +40025,7 @@ "defaultValue": "\"date\"" }, { - "id": 334, + "id": 338, "name": "daterange", "kind": 16, "kindString": "Enumeration member", @@ -39570,7 +40042,7 @@ "defaultValue": "\"daterange\"" }, { - "id": 335, + "id": 339, "name": "float4", "kind": 16, "kindString": "Enumeration member", @@ -39587,7 +40059,7 @@ "defaultValue": "\"float4\"" }, { - "id": 336, + "id": 340, "name": "float8", "kind": 16, "kindString": "Enumeration member", @@ -39604,7 +40076,7 @@ "defaultValue": "\"float8\"" }, { - "id": 337, + "id": 341, "name": "int2", "kind": 16, "kindString": "Enumeration member", @@ -39621,7 +40093,7 @@ "defaultValue": "\"int2\"" }, { - "id": 338, + "id": 342, "name": "int4", "kind": 16, "kindString": "Enumeration member", @@ -39638,7 +40110,7 @@ "defaultValue": "\"int4\"" }, { - "id": 339, + "id": 343, "name": "int4range", "kind": 16, "kindString": "Enumeration member", @@ -39655,7 +40127,7 @@ "defaultValue": "\"int4range\"" }, { - "id": 340, + "id": 344, "name": "int8", "kind": 16, "kindString": "Enumeration member", @@ -39672,7 +40144,7 @@ "defaultValue": "\"int8\"" }, { - "id": 341, + "id": 345, "name": "int8range", "kind": 16, "kindString": "Enumeration member", @@ -39689,7 +40161,7 @@ "defaultValue": "\"int8range\"" }, { - "id": 342, + "id": 346, "name": "json", "kind": 16, "kindString": "Enumeration member", @@ -39706,7 +40178,7 @@ "defaultValue": "\"json\"" }, { - "id": 343, + "id": 347, "name": "jsonb", "kind": 16, "kindString": "Enumeration member", @@ -39723,7 +40195,7 @@ "defaultValue": "\"jsonb\"" }, { - "id": 344, + "id": 348, "name": "money", "kind": 16, "kindString": "Enumeration member", @@ -39740,7 +40212,7 @@ "defaultValue": "\"money\"" }, { - "id": 345, + "id": 349, "name": "numeric", "kind": 16, "kindString": "Enumeration member", @@ -39757,7 +40229,7 @@ "defaultValue": "\"numeric\"" }, { - "id": 346, + "id": 350, "name": "oid", "kind": 16, "kindString": "Enumeration member", @@ -39774,7 +40246,7 @@ "defaultValue": "\"oid\"" }, { - "id": 347, + "id": 351, "name": "reltime", "kind": 16, "kindString": "Enumeration member", @@ -39791,7 +40263,7 @@ "defaultValue": "\"reltime\"" }, { - "id": 348, + "id": 352, "name": "time", "kind": 16, "kindString": "Enumeration member", @@ -39808,7 +40280,7 @@ "defaultValue": "\"time\"" }, { - "id": 349, + "id": 353, "name": "timestamp", "kind": 16, "kindString": "Enumeration member", @@ -39825,7 +40297,7 @@ "defaultValue": "\"timestamp\"" }, { - "id": 350, + "id": 354, "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", @@ -39842,7 +40314,7 @@ "defaultValue": "\"timestamptz\"" }, { - "id": 351, + "id": 355, "name": "timetz", "kind": 16, "kindString": "Enumeration member", @@ -39859,7 +40331,7 @@ "defaultValue": "\"timetz\"" }, { - "id": 352, + "id": 356, "name": "tsrange", "kind": 16, "kindString": "Enumeration member", @@ -39876,7 +40348,7 @@ "defaultValue": "\"tsrange\"" }, { - "id": 353, + "id": 357, "name": "tstzrange", "kind": 16, "kindString": "Enumeration member", @@ -39898,10 +40370,6 @@ "title": "Enumeration members", "kind": 16, "children": [ - 331, - 332, - 333, - 334, 335, 336, 337, @@ -39920,7 +40388,11 @@ 350, 351, 352, - 353 + 353, + 354, + 355, + 356, + 357 ] } ], @@ -39933,7 +40405,7 @@ ] }, { - "id": 354, + "id": 358, "name": "Column", "kind": 4194304, "kindString": "Type alias", @@ -39948,14 +40420,14 @@ "type": { "type": "reflection", "declaration": { - "id": 355, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 356, + "id": 360, "name": "flags", "kind": 32, "kindString": "Variable", @@ -39976,7 +40448,7 @@ } }, { - "id": 357, + "id": 361, "name": "name", "kind": 32, "kindString": "Variable", @@ -39994,7 +40466,7 @@ } }, { - "id": 358, + "id": 362, "name": "type", "kind": 32, "kindString": "Variable", @@ -40012,7 +40484,7 @@ } }, { - "id": 359, + "id": 363, "name": "type_modifier", "kind": 32, "kindString": "Variable", @@ -40035,10 +40507,10 @@ "title": "Variables", "kind": 32, "children": [ - 356, - 357, - 358, - 359 + 360, + 361, + 362, + 363 ] } ], @@ -40053,7 +40525,7 @@ } }, { - "id": 360, + "id": 364, "name": "Records", "kind": 4194304, "kindString": "Type alias", @@ -40068,21 +40540,21 @@ "type": { "type": "reflection", "declaration": { - "id": 361, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 362, + "id": 366, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 363, + "id": 367, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -40110,7 +40582,7 @@ } }, { - "id": 380, + "id": 384, "name": "convertCell", "kind": 64, "kindString": "Function", @@ -40137,7 +40609,7 @@ }, "signatures": [ { - "id": 381, + "id": 385, "name": "convertCell", "kind": 4096, "kindString": "Call signature", @@ -40163,7 +40635,7 @@ }, "parameters": [ { - "id": 382, + "id": 386, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -40179,7 +40651,7 @@ } }, { - "id": 383, + "id": 387, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40210,7 +40682,7 @@ ] }, { - "id": 364, + "id": 368, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -40229,7 +40701,7 @@ }, "signatures": [ { - "id": 365, + "id": 369, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -40247,7 +40719,7 @@ }, "parameters": [ { - "id": 366, + "id": 370, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -40258,13 +40730,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 367, + "id": 371, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -40274,12 +40746,12 @@ "comment": {}, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 368, + "id": 372, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -40292,7 +40764,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40301,7 +40773,7 @@ }, "children": [ { - "id": 370, + "id": 374, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -40330,7 +40802,7 @@ "title": "Variables", "kind": 32, "children": [ - 370 + 374 ] } ], @@ -40349,7 +40821,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40358,7 +40830,7 @@ }, "indexSignature": [ { - "id": 372, + "id": 376, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -40367,7 +40839,7 @@ }, "parameters": [ { - "id": 373, + "id": 377, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -40399,7 +40871,7 @@ ] }, { - "id": 374, + "id": 378, "name": "convertColumn", "kind": 64, "kindString": "Function", @@ -40423,7 +40895,7 @@ }, "signatures": [ { - "id": 375, + "id": 379, "name": "convertColumn", "kind": 4096, "kindString": "Call signature", @@ -40446,7 +40918,7 @@ }, "parameters": [ { - "id": 376, + "id": 380, "name": "columnName", "kind": 32768, "kindString": "Parameter", @@ -40462,7 +40934,7 @@ } }, { - "id": 377, + "id": 381, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -40473,13 +40945,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 378, + "id": 382, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -40491,12 +40963,12 @@ }, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 379, + "id": 383, "name": "skipTypes", "kind": 32768, "kindString": "Parameter", @@ -40530,7 +41002,7 @@ ] }, { - "id": 384, + "id": 388, "name": "noop", "kind": 64, "kindString": "Function", @@ -40539,14 +41011,14 @@ }, "signatures": [ { - "id": 385, + "id": 389, "name": "noop", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 386, + "id": 390, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40572,7 +41044,7 @@ ] }, { - "id": 408, + "id": 412, "name": "toArray", "kind": 64, "kindString": "Function", @@ -40595,7 +41067,7 @@ }, "signatures": [ { - "id": 409, + "id": 413, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -40617,7 +41089,7 @@ }, "parameters": [ { - "id": 410, + "id": 414, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40630,7 +41102,7 @@ } }, { - "id": 411, + "id": 415, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -40661,7 +41133,7 @@ ] }, { - "id": 387, + "id": 391, "name": "toBoolean", "kind": 64, "kindString": "Function", @@ -40671,7 +41143,7 @@ }, "signatures": [ { - "id": 388, + "id": 392, "name": "toBoolean", "kind": 4096, "kindString": "Call signature", @@ -40680,7 +41152,7 @@ }, "parameters": [ { - "id": 389, + "id": 393, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40721,7 +41193,7 @@ ] }, { - "id": 390, + "id": 394, "name": "toDate", "kind": 64, "kindString": "Function", @@ -40731,7 +41203,7 @@ }, "signatures": [ { - "id": 391, + "id": 395, "name": "toDate", "kind": 4096, "kindString": "Call signature", @@ -40740,7 +41212,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40768,7 +41240,7 @@ ] }, { - "id": 393, + "id": 397, "name": "toDateRange", "kind": 64, "kindString": "Function", @@ -40778,7 +41250,7 @@ }, "signatures": [ { - "id": 394, + "id": 398, "name": "toDateRange", "kind": 4096, "kindString": "Call signature", @@ -40787,7 +41259,7 @@ }, "parameters": [ { - "id": 395, + "id": 399, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40818,7 +41290,7 @@ ] }, { - "id": 396, + "id": 400, "name": "toFloat", "kind": 64, "kindString": "Function", @@ -40828,7 +41300,7 @@ }, "signatures": [ { - "id": 397, + "id": 401, "name": "toFloat", "kind": 4096, "kindString": "Call signature", @@ -40837,7 +41309,7 @@ }, "parameters": [ { - "id": 398, + "id": 402, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40865,7 +41337,7 @@ ] }, { - "id": 399, + "id": 403, "name": "toInt", "kind": 64, "kindString": "Function", @@ -40875,7 +41347,7 @@ }, "signatures": [ { - "id": 400, + "id": 404, "name": "toInt", "kind": 4096, "kindString": "Call signature", @@ -40884,7 +41356,7 @@ }, "parameters": [ { - "id": 401, + "id": 405, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40912,7 +41384,7 @@ ] }, { - "id": 402, + "id": 406, "name": "toIntRange", "kind": 64, "kindString": "Function", @@ -40922,7 +41394,7 @@ }, "signatures": [ { - "id": 403, + "id": 407, "name": "toIntRange", "kind": 4096, "kindString": "Call signature", @@ -40931,7 +41403,7 @@ }, "parameters": [ { - "id": 404, + "id": 408, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -40962,7 +41434,7 @@ ] }, { - "id": 405, + "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -40972,7 +41444,7 @@ }, "signatures": [ { - "id": 406, + "id": 410, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -40981,7 +41453,7 @@ }, "parameters": [ { - "id": 407, + "id": 411, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41009,7 +41481,7 @@ ] }, { - "id": 412, + "id": 416, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -41028,7 +41500,7 @@ }, "signatures": [ { - "id": 413, + "id": 417, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -41046,7 +41518,7 @@ }, "parameters": [ { - "id": 414, + "id": 418, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41079,34 +41551,34 @@ "title": "Enumerations", "kind": 4, "children": [ - 330 + 334 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 354, - 360 + 358, + 364 ] }, { "title": "Functions", "kind": 64, "children": [ - 380, - 364, - 374, 384, - 408, - 387, - 390, - 393, - 396, - 399, - 402, - 405, - 412 + 368, + 378, + 388, + 412, + 391, + 394, + 397, + 400, + 403, + 406, + 409, + 416 ] } ], @@ -41117,6 +41589,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -41124,14 +41646,15 @@ "title": "Modules", "kind": 1, "children": [ - 196, - 92, - 415, - 1, - 38, - 171, - 24, - 329 + 200, + 96, + 419, + 3, + 42, + 175, + 28, + 333, + 1 ] } ] @@ -41144,7 +41667,7 @@ "originalName": "", "children": [ { - "id": 270, + "id": 276, "name": "\"SupabaseStorageClient\"", "kind": 1, "kindString": "Module", @@ -41154,7 +41677,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts", "children": [ { - "id": 271, + "id": 277, "name": "SupabaseStorageClient", "kind": 128, "kindString": "Class", @@ -41163,7 +41686,7 @@ }, "children": [ { - "id": 272, + "id": 278, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41172,7 +41695,7 @@ }, "signatures": [ { - "id": 273, + "id": 279, "name": "new SupabaseStorageClient", "kind": 16384, "kindString": "Constructor signature", @@ -41181,7 +41704,7 @@ }, "parameters": [ { - "id": 274, + "id": 280, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -41194,7 +41717,7 @@ } }, { - "id": 275, + "id": 281, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -41204,7 +41727,7 @@ "type": { "type": "reflection", "declaration": { - "id": 276, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41213,7 +41736,7 @@ }, "indexSignature": [ { - "id": 277, + "id": 283, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -41222,7 +41745,7 @@ }, "parameters": [ { - "id": 278, + "id": 284, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41255,12 +41778,12 @@ ], "type": { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" }, "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } } @@ -41274,12 +41797,12 @@ ], "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } }, { - "id": 283, + "id": 289, "name": "headers", "kind": 1024, "kindString": "Property", @@ -41290,14 +41813,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 284, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41306,7 +41829,7 @@ }, "indexSignature": [ { - "id": 285, + "id": 291, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -41315,7 +41838,7 @@ }, "parameters": [ { - "id": 286, + "id": 292, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41337,7 +41860,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -41345,12 +41868,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 92, + "id": 97, "name": "StorageBucketApi.headers" } }, { - "id": 282, + "id": 288, "name": "url", "kind": 1024, "kindString": "Property", @@ -41361,7 +41884,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -41371,12 +41894,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 91, + "id": 96, "name": "StorageBucketApi.url" } }, { - "id": 298, + "id": 304, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -41385,7 +41908,7 @@ }, "signatures": [ { - "id": 299, + "id": 305, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -41398,7 +41921,7 @@ }, "parameters": [ { - "id": 300, + "id": 306, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41414,7 +41937,7 @@ } }, { - "id": 301, + "id": 307, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -41424,7 +41947,7 @@ "type": { "type": "reflection", "declaration": { - "id": 302, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41433,7 +41956,7 @@ }, "children": [ { - "id": 303, + "id": 309, "name": "public", "kind": 32, "kindString": "Variable", @@ -41443,7 +41966,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -41458,14 +41981,14 @@ "title": "Variables", "kind": 32, "children": [ - 303 + 309 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -41480,7 +42003,7 @@ { "type": "reflection", "declaration": { - "id": 304, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41489,7 +42012,7 @@ }, "children": [ { - "id": 305, + "id": 311, "name": "data", "kind": 32, "kindString": "Variable", @@ -41499,7 +42022,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -41518,7 +42041,7 @@ } }, { - "id": 306, + "id": 312, "name": "error", "kind": 32, "kindString": "Variable", @@ -41528,7 +42051,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -41552,15 +42075,15 @@ "title": "Variables", "kind": 32, "children": [ - 305, - 306 + 311, + 312 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -41571,7 +42094,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } } @@ -41579,18 +42102,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } }, { - "id": 326, + "id": 332, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -41599,7 +42122,7 @@ }, "signatures": [ { - "id": 327, + "id": 333, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -41611,7 +42134,7 @@ }, "parameters": [ { - "id": 328, + "id": 334, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41633,7 +42156,7 @@ { "type": "reflection", "declaration": { - "id": 329, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41642,7 +42165,7 @@ }, "children": [ { - "id": 330, + "id": 336, "name": "data", "kind": 32, "kindString": "Variable", @@ -41652,7 +42175,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -41662,7 +42185,7 @@ { "type": "reflection", "declaration": { - "id": 331, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41671,7 +42194,7 @@ }, "children": [ { - "id": 332, + "id": 338, "name": "message", "kind": 32, "kindString": "Variable", @@ -41681,7 +42204,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -41696,14 +42219,14 @@ "title": "Variables", "kind": 32, "children": [ - 332 + 338 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -41717,7 +42240,7 @@ } }, { - "id": 333, + "id": 339, "name": "error", "kind": 32, "kindString": "Variable", @@ -41727,7 +42250,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -41751,15 +42274,15 @@ "title": "Variables", "kind": 32, "children": [ - 330, - 333 + 336, + 339 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -41770,7 +42293,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } } @@ -41778,18 +42301,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } }, { - "id": 318, + "id": 324, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -41798,7 +42321,7 @@ }, "signatures": [ { - "id": 319, + "id": 325, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -41810,7 +42333,7 @@ }, "parameters": [ { - "id": 320, + "id": 326, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -41832,7 +42355,7 @@ { "type": "reflection", "declaration": { - "id": 321, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41841,7 +42364,7 @@ }, "children": [ { - "id": 322, + "id": 328, "name": "data", "kind": 32, "kindString": "Variable", @@ -41851,7 +42374,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -41861,7 +42384,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41870,7 +42393,7 @@ }, "children": [ { - "id": 324, + "id": 330, "name": "message", "kind": 32, "kindString": "Variable", @@ -41880,7 +42403,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -41895,14 +42418,14 @@ "title": "Variables", "kind": 32, "children": [ - 324 + 330 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -41916,7 +42439,7 @@ } }, { - "id": 325, + "id": 331, "name": "error", "kind": 32, "kindString": "Variable", @@ -41926,7 +42449,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -41950,15 +42473,15 @@ "title": "Variables", "kind": 32, "children": [ - 322, - 325 + 328, + 331 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -41969,7 +42492,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } } @@ -41977,18 +42500,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } }, { - "id": 279, + "id": 285, "name": "from", "kind": 2048, "kindString": "Method", @@ -41997,7 +42520,7 @@ }, "signatures": [ { - "id": 280, + "id": 286, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -42009,7 +42532,7 @@ }, "parameters": [ { - "id": 281, + "id": 287, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42027,7 +42550,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -42041,7 +42564,7 @@ ] }, { - "id": 292, + "id": 298, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -42050,7 +42573,7 @@ }, "signatures": [ { - "id": 293, + "id": 299, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -42062,7 +42585,7 @@ }, "parameters": [ { - "id": 294, + "id": 300, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42078,6 +42601,142 @@ } } ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 301, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 302, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 45 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "Bucket" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 303, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 67 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 302, + 303 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 39 + } + ] + } + } + ], + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 17 + } + ], + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + }, + { + "id": 293, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 294, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Retrieves the details of all Storage buckets within an existing product." + }, "type": { "type": "reference", "typeArguments": [ @@ -42103,17 +42762,20 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 45 + "line": 17, + "character": 37 } ], "type": { "type": "union", "types": [ { - "type": "reference", - "id": 58, - "name": "Bucket" + "type": "array", + "elementType": { + "type": "reference", + "id": 58, + "name": "Bucket" + } }, { "type": "intrinsic", @@ -42133,8 +42795,8 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 67 + "line": 17, + "character": 61 } ], "type": { @@ -42165,146 +42827,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 39 - } - ] - } - } - ], - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 17 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - }, - { - "id": 287, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 288, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing product." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 290, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 58, - "name": "Bucket" - } - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 291, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 61 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 290, - 291 - ] - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -42315,7 +42838,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } } @@ -42323,18 +42846,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } }, { - "id": 307, + "id": 313, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -42343,7 +42866,7 @@ }, "signatures": [ { - "id": 308, + "id": 314, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -42355,7 +42878,7 @@ }, "parameters": [ { - "id": 309, + "id": 315, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42371,7 +42894,7 @@ } }, { - "id": 310, + "id": 316, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42381,7 +42904,7 @@ "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42390,7 +42913,7 @@ }, "children": [ { - "id": 312, + "id": 318, "name": "public", "kind": 32, "kindString": "Variable", @@ -42400,7 +42923,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -42415,14 +42938,14 @@ "title": "Variables", "kind": 32, "children": [ - 312 + 318 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -42436,7 +42959,7 @@ { "type": "reflection", "declaration": { - "id": 313, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42445,7 +42968,7 @@ }, "children": [ { - "id": 314, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -42455,7 +42978,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -42465,7 +42988,7 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42474,7 +42997,7 @@ }, "children": [ { - "id": 316, + "id": 322, "name": "message", "kind": 32, "kindString": "Variable", @@ -42484,7 +43007,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -42499,14 +43022,14 @@ "title": "Variables", "kind": 32, "children": [ - 316 + 322 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -42520,7 +43043,7 @@ } }, { - "id": 317, + "id": 323, "name": "error", "kind": 32, "kindString": "Variable", @@ -42530,7 +43053,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -42554,15 +43077,15 @@ "title": "Variables", "kind": 32, "children": [ - 314, - 317 + 320, + 323 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -42573,7 +43096,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -42581,13 +43104,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -42597,28 +43120,28 @@ "title": "Constructors", "kind": 512, "children": [ - 272 + 278 ] }, { "title": "Properties", "kind": 1024, "children": [ - 283, - 282 + 289, + 288 ] }, { "title": "Methods", "kind": 2048, "children": [ + 304, + 332, + 324, + 285, 298, - 326, - 318, - 279, - 292, - 287, - 307 + 293, + 313 ] } ], @@ -42632,7 +43155,7 @@ "extendedTypes": [ { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } ] @@ -42643,7 +43166,7 @@ "title": "Classes", "kind": 128, "children": [ - 271 + 277 ] } ], @@ -42656,7 +43179,7 @@ ] }, { - "id": 334, + "id": 340, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -42666,7 +43189,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts", "children": [ { - "id": 335, + "id": 341, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -42676,7 +43199,7 @@ "target": 58 }, { - "id": 336, + "id": 342, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -42686,7 +43209,7 @@ "target": 65 }, { - "id": 338, + "id": 344, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -42696,7 +43219,7 @@ "target": 79 }, { - "id": 340, + "id": 346, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -42706,7 +43229,7 @@ "target": 87 }, { - "id": 339, + "id": 345, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -42716,7 +43239,7 @@ "target": 83 }, { - "id": 337, + "id": 343, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -42731,12 +43254,12 @@ "title": "References", "kind": 16777216, "children": [ - 335, - 336, - 338, - 340, - 339, - 337 + 341, + 342, + 344, + 346, + 345, + 343 ] } ], @@ -42749,7 +43272,7 @@ ] }, { - "id": 89, + "id": 94, "name": "\"lib/StorageBucketApi\"", "kind": 1, "kindString": "Module", @@ -42759,7 +43282,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageBucketApi.ts", "children": [ { - "id": 90, + "id": 95, "name": "StorageBucketApi", "kind": 128, "kindString": "Class", @@ -42768,7 +43291,7 @@ }, "children": [ { - "id": 96, + "id": 101, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -42777,7 +43300,7 @@ }, "signatures": [ { - "id": 97, + "id": 102, "name": "new StorageBucketApi", "kind": 16384, "kindString": "Constructor signature", @@ -42786,7 +43309,7 @@ }, "parameters": [ { - "id": 98, + "id": 103, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -42799,7 +43322,7 @@ } }, { - "id": 99, + "id": 104, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -42809,7 +43332,7 @@ "type": { "type": "reflection", "declaration": { - "id": 100, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42818,7 +43341,7 @@ }, "indexSignature": [ { - "id": 101, + "id": 106, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -42827,7 +43350,7 @@ }, "parameters": [ { - "id": 102, + "id": 107, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -42849,7 +43372,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 8, + "line": 9, "character": 35 } ] @@ -42860,7 +43383,7 @@ ], "type": { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } } @@ -42868,13 +43391,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 46 } ] }, { - "id": 92, + "id": 97, "name": "headers", "kind": 1024, "kindString": "Property", @@ -42885,14 +43408,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 93, + "id": 98, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -42901,7 +43424,7 @@ }, "indexSignature": [ { - "id": 94, + "id": 99, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -42910,7 +43433,7 @@ }, "parameters": [ { - "id": 95, + "id": 100, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -42932,7 +43455,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -42940,7 +43463,7 @@ } }, { - "id": 91, + "id": 96, "name": "url", "kind": 1024, "kindString": "Property", @@ -42951,7 +43474,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -42961,7 +43484,7 @@ } }, { - "id": 114, + "id": 119, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -42970,7 +43493,7 @@ }, "signatures": [ { - "id": 115, + "id": 120, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -42983,7 +43506,7 @@ }, "parameters": [ { - "id": 116, + "id": 121, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -42999,7 +43522,7 @@ } }, { - "id": 117, + "id": 122, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -43009,7 +43532,7 @@ "type": { "type": "reflection", "declaration": { - "id": 118, + "id": 123, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43018,7 +43541,7 @@ }, "children": [ { - "id": 119, + "id": 124, "name": "public", "kind": 32, "kindString": "Variable", @@ -43028,7 +43551,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -43043,14 +43566,14 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 124 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -43065,7 +43588,7 @@ { "type": "reflection", "declaration": { - "id": 120, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43074,7 +43597,7 @@ }, "children": [ { - "id": 121, + "id": 126, "name": "data", "kind": 32, "kindString": "Variable", @@ -43084,7 +43607,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -43103,7 +43626,7 @@ } }, { - "id": 122, + "id": 127, "name": "error", "kind": 32, "kindString": "Variable", @@ -43113,7 +43636,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -43137,15 +43660,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 122 + 126, + 127 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -43159,13 +43682,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ] }, { - "id": 142, + "id": 147, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -43174,7 +43697,7 @@ }, "signatures": [ { - "id": 143, + "id": 148, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -43186,7 +43709,7 @@ }, "parameters": [ { - "id": 144, + "id": 149, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43208,7 +43731,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43217,7 +43740,7 @@ }, "children": [ { - "id": 146, + "id": 151, "name": "data", "kind": 32, "kindString": "Variable", @@ -43227,7 +43750,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -43237,7 +43760,7 @@ { "type": "reflection", "declaration": { - "id": 147, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43246,7 +43769,7 @@ }, "children": [ { - "id": 148, + "id": 153, "name": "message", "kind": 32, "kindString": "Variable", @@ -43256,7 +43779,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -43271,14 +43794,14 @@ "title": "Variables", "kind": 32, "children": [ - 148 + 153 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -43292,7 +43815,7 @@ } }, { - "id": 149, + "id": 154, "name": "error", "kind": 32, "kindString": "Variable", @@ -43302,7 +43825,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -43326,15 +43849,15 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 149 + 151, + 154 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -43348,13 +43871,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ] }, { - "id": 134, + "id": 139, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -43363,7 +43886,7 @@ }, "signatures": [ { - "id": 135, + "id": 140, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -43375,7 +43898,7 @@ }, "parameters": [ { - "id": 136, + "id": 141, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43397,7 +43920,7 @@ { "type": "reflection", "declaration": { - "id": 137, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43406,7 +43929,7 @@ }, "children": [ { - "id": 138, + "id": 143, "name": "data", "kind": 32, "kindString": "Variable", @@ -43416,7 +43939,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -43426,7 +43949,7 @@ { "type": "reflection", "declaration": { - "id": 139, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43435,7 +43958,7 @@ }, "children": [ { - "id": 140, + "id": 145, "name": "message", "kind": 32, "kindString": "Variable", @@ -43445,7 +43968,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -43460,14 +43983,14 @@ "title": "Variables", "kind": 32, "children": [ - 140 + 145 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -43481,7 +44004,7 @@ } }, { - "id": 141, + "id": 146, "name": "error", "kind": 32, "kindString": "Variable", @@ -43491,7 +44014,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -43515,15 +44038,15 @@ "title": "Variables", "kind": 32, "children": [ - 138, - 141 + 143, + 146 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -43537,13 +44060,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ] }, { - "id": 108, + "id": 113, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -43552,7 +44075,7 @@ }, "signatures": [ { - "id": 109, + "id": 114, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -43564,7 +44087,7 @@ }, "parameters": [ { - "id": 110, + "id": 115, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43586,7 +44109,7 @@ { "type": "reflection", "declaration": { - "id": 111, + "id": 116, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43595,7 +44118,7 @@ }, "children": [ { - "id": 112, + "id": 117, "name": "data", "kind": 32, "kindString": "Variable", @@ -43605,7 +44128,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 45 } ], @@ -43625,7 +44148,7 @@ } }, { - "id": 113, + "id": 118, "name": "error", "kind": 32, "kindString": "Variable", @@ -43635,7 +44158,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 67 } ], @@ -43659,15 +44182,15 @@ "title": "Variables", "kind": 32, "children": [ - 112, - 113 + 117, + 118 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 39 } ] @@ -43681,13 +44204,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 17 } ] }, { - "id": 103, + "id": 108, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -43696,7 +44219,7 @@ }, "signatures": [ { - "id": 104, + "id": 109, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -43712,7 +44235,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43721,7 +44244,7 @@ }, "children": [ { - "id": 106, + "id": 111, "name": "data", "kind": 32, "kindString": "Variable", @@ -43731,7 +44254,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 37 } ], @@ -43754,7 +44277,7 @@ } }, { - "id": 107, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -43764,7 +44287,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 61 } ], @@ -43788,15 +44311,15 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 107 + 111, + 112 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -43810,13 +44333,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ] }, { - "id": 123, + "id": 128, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -43825,7 +44348,7 @@ }, "signatures": [ { - "id": 124, + "id": 129, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -43837,7 +44360,7 @@ }, "parameters": [ { - "id": 125, + "id": 130, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -43853,7 +44376,7 @@ } }, { - "id": 126, + "id": 131, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -43863,7 +44386,7 @@ "type": { "type": "reflection", "declaration": { - "id": 127, + "id": 132, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43872,7 +44395,7 @@ }, "children": [ { - "id": 128, + "id": 133, "name": "public", "kind": 32, "kindString": "Variable", @@ -43882,7 +44405,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -43897,14 +44420,14 @@ "title": "Variables", "kind": 32, "children": [ - 128 + 133 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -43918,7 +44441,7 @@ { "type": "reflection", "declaration": { - "id": 129, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43927,7 +44450,7 @@ }, "children": [ { - "id": 130, + "id": 135, "name": "data", "kind": 32, "kindString": "Variable", @@ -43937,7 +44460,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -43947,7 +44470,7 @@ { "type": "reflection", "declaration": { - "id": 131, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43956,7 +44479,7 @@ }, "children": [ { - "id": 132, + "id": 137, "name": "message", "kind": 32, "kindString": "Variable", @@ -43966,7 +44489,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -43981,14 +44504,14 @@ "title": "Variables", "kind": 32, "children": [ - 132 + 137 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -44002,7 +44525,7 @@ } }, { - "id": 133, + "id": 138, "name": "error", "kind": 32, "kindString": "Variable", @@ -44012,7 +44535,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -44036,15 +44559,15 @@ "title": "Variables", "kind": 32, "children": [ - 130, - 133 + 135, + 138 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -44058,7 +44581,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ] @@ -44069,41 +44592,41 @@ "title": "Constructors", "kind": 512, "children": [ - 96 + 101 ] }, { "title": "Properties", "kind": 1024, "children": [ - 92, - 91 + 97, + 96 ] }, { "title": "Methods", "kind": 2048, "children": [ - 114, - 142, - 134, + 119, + 147, + 139, + 113, 108, - 103, - 123 + 128 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 4, + "line": 5, "character": 29 } ], "extendedBy": [ { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" } ] @@ -44114,7 +44637,7 @@ "title": "Classes", "kind": 128, "children": [ - 90 + 95 ] } ], @@ -44127,7 +44650,7 @@ ] }, { - "id": 153, + "id": 158, "name": "\"lib/StorageFileApi\"", "kind": 1, "kindString": "Module", @@ -44137,7 +44660,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageFileApi.ts", "children": [ { - "id": 154, + "id": 159, "name": "StorageFileApi", "kind": 128, "kindString": "Class", @@ -44146,7 +44669,7 @@ }, "children": [ { - "id": 161, + "id": 166, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44155,7 +44678,7 @@ }, "signatures": [ { - "id": 162, + "id": 167, "name": "new StorageFileApi", "kind": 16384, "kindString": "Constructor signature", @@ -44164,7 +44687,7 @@ }, "parameters": [ { - "id": 163, + "id": 168, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -44177,7 +44700,7 @@ } }, { - "id": 164, + "id": 169, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -44187,7 +44710,7 @@ "type": { "type": "reflection", "declaration": { - "id": 165, + "id": 170, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44196,7 +44719,7 @@ }, "indexSignature": [ { - "id": 166, + "id": 171, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -44205,7 +44728,7 @@ }, "parameters": [ { - "id": 167, + "id": 172, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -44236,7 +44759,7 @@ "defaultValue": "{}" }, { - "id": 168, + "id": 173, "name": "bucketId", "kind": 32768, "kindString": "Parameter", @@ -44261,7 +44784,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -44275,7 +44798,7 @@ ] }, { - "id": 160, + "id": 165, "name": "bucketId", "kind": 1024, "kindString": "Property", @@ -44306,7 +44829,7 @@ } }, { - "id": 156, + "id": 161, "name": "headers", "kind": 1024, "kindString": "Property", @@ -44324,7 +44847,7 @@ "type": { "type": "reflection", "declaration": { - "id": 157, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44333,7 +44856,7 @@ }, "indexSignature": [ { - "id": 158, + "id": 163, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -44342,7 +44865,7 @@ }, "parameters": [ { - "id": 159, + "id": 164, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -44372,7 +44895,7 @@ } }, { - "id": 155, + "id": 160, "name": "url", "kind": 1024, "kindString": "Property", @@ -44393,7 +44916,7 @@ } }, { - "id": 248, + "id": 253, "name": "_getFinalPath", "kind": 2048, "kindString": "Method", @@ -44402,7 +44925,7 @@ }, "signatures": [ { - "id": 249, + "id": 254, "name": "_getFinalPath", "kind": 4096, "kindString": "Call signature", @@ -44411,7 +44934,7 @@ }, "parameters": [ { - "id": 250, + "id": 255, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44439,7 +44962,7 @@ ] }, { - "id": 209, + "id": 214, "name": "createSignedUrl", "kind": 2048, "kindString": "Method", @@ -44448,7 +44971,7 @@ }, "signatures": [ { - "id": 210, + "id": 215, "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -44460,7 +44983,7 @@ }, "parameters": [ { - "id": 211, + "id": 216, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44476,7 +44999,7 @@ } }, { - "id": 212, + "id": 217, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -44498,7 +45021,7 @@ { "type": "reflection", "declaration": { - "id": 213, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44507,7 +45030,7 @@ }, "children": [ { - "id": 214, + "id": 219, "name": "data", "kind": 32, "kindString": "Variable", @@ -44527,7 +45050,7 @@ { "type": "reflection", "declaration": { - "id": 215, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44536,7 +45059,7 @@ }, "children": [ { - "id": 216, + "id": 221, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -44561,7 +45084,7 @@ "title": "Variables", "kind": 32, "children": [ - 216 + 221 ] } ], @@ -44582,7 +45105,7 @@ } }, { - "id": 217, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -44611,7 +45134,7 @@ } }, { - "id": 218, + "id": 223, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -44645,9 +45168,9 @@ "title": "Variables", "kind": 32, "children": [ - 214, - 217, - 218 + 219, + 222, + 223 ] } ], @@ -44674,7 +45197,7 @@ ] }, { - "id": 219, + "id": 224, "name": "download", "kind": 2048, "kindString": "Method", @@ -44683,7 +45206,7 @@ }, "signatures": [ { - "id": 220, + "id": 225, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -44695,7 +45218,7 @@ }, "parameters": [ { - "id": 221, + "id": 226, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44717,7 +45240,7 @@ { "type": "reflection", "declaration": { - "id": 222, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44726,7 +45249,7 @@ }, "children": [ { - "id": 223, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -44755,7 +45278,7 @@ } }, { - "id": 224, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -44789,8 +45312,8 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 224 + 228, + 229 ] } ], @@ -44817,7 +45340,7 @@ ] }, { - "id": 225, + "id": 230, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -44826,7 +45349,7 @@ }, "signatures": [ { - "id": 226, + "id": 231, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -44838,7 +45361,7 @@ }, "parameters": [ { - "id": 227, + "id": 232, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -44857,7 +45380,7 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44866,7 +45389,7 @@ }, "children": [ { - "id": 229, + "id": 234, "name": "data", "kind": 32, "kindString": "Variable", @@ -44886,7 +45409,7 @@ { "type": "reflection", "declaration": { - "id": 230, + "id": 235, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44895,7 +45418,7 @@ }, "children": [ { - "id": 231, + "id": 236, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -44920,7 +45443,7 @@ "title": "Variables", "kind": 32, "children": [ - 231 + 236 ] } ], @@ -44941,7 +45464,7 @@ } }, { - "id": 232, + "id": 237, "name": "error", "kind": 32, "kindString": "Variable", @@ -44970,7 +45493,7 @@ } }, { - "id": 233, + "id": 238, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -45004,9 +45527,9 @@ "title": "Variables", "kind": 32, "children": [ - 229, - 232, - 233 + 234, + 237, + 238 ] } ], @@ -45030,7 +45553,7 @@ ] }, { - "id": 240, + "id": 245, "name": "list", "kind": 2048, "kindString": "Method", @@ -45039,7 +45562,7 @@ }, "signatures": [ { - "id": 241, + "id": 246, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -45051,7 +45574,7 @@ }, "parameters": [ { - "id": 242, + "id": 247, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45077,7 +45600,7 @@ } }, { - "id": 243, + "id": 248, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -45095,7 +45618,7 @@ } }, { - "id": 244, + "id": 249, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -45119,7 +45642,7 @@ { "type": "reflection", "declaration": { - "id": 245, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45128,7 +45651,7 @@ }, "children": [ { - "id": 246, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -45161,7 +45684,7 @@ } }, { - "id": 247, + "id": 252, "name": "error", "kind": 32, "kindString": "Variable", @@ -45195,8 +45718,8 @@ "title": "Variables", "kind": 32, "children": [ - 246, - 247 + 251, + 252 ] } ], @@ -45223,7 +45746,7 @@ ] }, { - "id": 200, + "id": 205, "name": "move", "kind": 2048, "kindString": "Method", @@ -45232,7 +45755,7 @@ }, "signatures": [ { - "id": 201, + "id": 206, "name": "move", "kind": 4096, "kindString": "Call signature", @@ -45244,7 +45767,7 @@ }, "parameters": [ { - "id": 202, + "id": 207, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -45260,7 +45783,7 @@ } }, { - "id": 203, + "id": 208, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -45282,7 +45805,7 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45291,7 +45814,7 @@ }, "children": [ { - "id": 205, + "id": 210, "name": "data", "kind": 32, "kindString": "Variable", @@ -45311,7 +45834,7 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45320,7 +45843,7 @@ }, "children": [ { - "id": 207, + "id": 212, "name": "message", "kind": 32, "kindString": "Variable", @@ -45345,7 +45868,7 @@ "title": "Variables", "kind": 32, "children": [ - 207 + 212 ] } ], @@ -45366,7 +45889,7 @@ } }, { - "id": 208, + "id": 213, "name": "error", "kind": 32, "kindString": "Variable", @@ -45400,8 +45923,8 @@ "title": "Variables", "kind": 32, "children": [ - 205, - 208 + 210, + 213 ] } ], @@ -45428,7 +45951,7 @@ ] }, { - "id": 234, + "id": 239, "name": "remove", "kind": 2048, "kindString": "Method", @@ -45437,7 +45960,7 @@ }, "signatures": [ { - "id": 235, + "id": 240, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -45449,7 +45972,7 @@ }, "parameters": [ { - "id": 236, + "id": 241, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -45474,7 +45997,7 @@ { "type": "reflection", "declaration": { - "id": 237, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45483,7 +46006,7 @@ }, "children": [ { - "id": 238, + "id": 243, "name": "data", "kind": 32, "kindString": "Variable", @@ -45516,7 +46039,7 @@ } }, { - "id": 239, + "id": 244, "name": "error", "kind": 32, "kindString": "Variable", @@ -45550,8 +46073,8 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 239 + 243, + 244 ] } ], @@ -45578,7 +46101,7 @@ ] }, { - "id": 190, + "id": 195, "name": "update", "kind": 2048, "kindString": "Method", @@ -45587,7 +46110,7 @@ }, "signatures": [ { - "id": 191, + "id": 196, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -45599,7 +46122,7 @@ }, "parameters": [ { - "id": 192, + "id": 197, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45615,7 +46138,7 @@ } }, { - "id": 193, + "id": 198, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -45678,7 +46201,7 @@ } }, { - "id": 194, + "id": 199, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -45702,7 +46225,7 @@ { "type": "reflection", "declaration": { - "id": 195, + "id": 200, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45711,7 +46234,7 @@ }, "children": [ { - "id": 196, + "id": 201, "name": "data", "kind": 32, "kindString": "Variable", @@ -45731,7 +46254,7 @@ { "type": "reflection", "declaration": { - "id": 197, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45740,7 +46263,7 @@ }, "children": [ { - "id": 198, + "id": 203, "name": "Key", "kind": 32, "kindString": "Variable", @@ -45765,7 +46288,7 @@ "title": "Variables", "kind": 32, "children": [ - 198 + 203 ] } ], @@ -45786,7 +46309,7 @@ } }, { - "id": 199, + "id": 204, "name": "error", "kind": 32, "kindString": "Variable", @@ -45820,8 +46343,8 @@ "title": "Variables", "kind": 32, "children": [ - 196, - 199 + 201, + 204 ] } ], @@ -45848,7 +46371,7 @@ ] }, { - "id": 180, + "id": 185, "name": "upload", "kind": 2048, "kindString": "Method", @@ -45857,7 +46380,7 @@ }, "signatures": [ { - "id": 181, + "id": 186, "name": "upload", "kind": 4096, "kindString": "Call signature", @@ -45869,7 +46392,7 @@ }, "parameters": [ { - "id": 182, + "id": 187, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -45885,7 +46408,7 @@ } }, { - "id": 183, + "id": 188, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -45948,7 +46471,7 @@ } }, { - "id": 184, + "id": 189, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -45972,7 +46495,7 @@ { "type": "reflection", "declaration": { - "id": 185, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -45981,7 +46504,7 @@ }, "children": [ { - "id": 186, + "id": 191, "name": "data", "kind": 32, "kindString": "Variable", @@ -46001,7 +46524,7 @@ { "type": "reflection", "declaration": { - "id": 187, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46010,7 +46533,7 @@ }, "children": [ { - "id": 188, + "id": 193, "name": "Key", "kind": 32, "kindString": "Variable", @@ -46035,7 +46558,7 @@ "title": "Variables", "kind": 32, "children": [ - 188 + 193 ] } ], @@ -46056,7 +46579,7 @@ } }, { - "id": 189, + "id": 194, "name": "error", "kind": 32, "kindString": "Variable", @@ -46090,8 +46613,8 @@ "title": "Variables", "kind": 32, "children": [ - 186, - 189 + 191, + 194 ] } ], @@ -46118,7 +46641,7 @@ ] }, { - "id": 169, + "id": 174, "name": "uploadOrUpdate", "kind": 2048, "kindString": "Method", @@ -46128,7 +46651,7 @@ }, "signatures": [ { - "id": 170, + "id": 175, "name": "uploadOrUpdate", "kind": 4096, "kindString": "Call signature", @@ -46140,7 +46663,7 @@ }, "parameters": [ { - "id": 171, + "id": 176, "name": "method", "kind": 32768, "kindString": "Parameter", @@ -46165,7 +46688,7 @@ } }, { - "id": 172, + "id": 177, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -46181,7 +46704,7 @@ } }, { - "id": 173, + "id": 178, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -46244,7 +46767,7 @@ } }, { - "id": 174, + "id": 179, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -46268,7 +46791,7 @@ { "type": "reflection", "declaration": { - "id": 175, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46277,7 +46800,7 @@ }, "children": [ { - "id": 176, + "id": 181, "name": "data", "kind": 32, "kindString": "Variable", @@ -46297,7 +46820,7 @@ { "type": "reflection", "declaration": { - "id": 177, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46306,7 +46829,7 @@ }, "children": [ { - "id": 178, + "id": 183, "name": "Key", "kind": 32, "kindString": "Variable", @@ -46331,7 +46854,7 @@ "title": "Variables", "kind": 32, "children": [ - 178 + 183 ] } ], @@ -46352,7 +46875,7 @@ } }, { - "id": 179, + "id": 184, "name": "error", "kind": 32, "kindString": "Variable", @@ -46386,8 +46909,8 @@ "title": "Variables", "kind": 32, "children": [ - 176, - 179 + 181, + 184 ] } ], @@ -46419,32 +46942,32 @@ "title": "Constructors", "kind": 512, "children": [ - 161 + 166 ] }, { "title": "Properties", "kind": 1024, "children": [ - 160, - 156, - 155 + 165, + 161, + 160 ] }, { "title": "Methods", "kind": 2048, "children": [ - 248, - 209, - 219, - 225, - 240, - 200, - 234, - 190, - 180, - 169 + 253, + 214, + 224, + 230, + 245, + 205, + 239, + 195, + 185, + 174 ] } ], @@ -46457,7 +46980,7 @@ ] }, { - "id": 257, + "id": 262, "name": "DEFAULT_FILE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -46466,7 +46989,7 @@ }, "children": [ { - "id": 258, + "id": 263, "name": "cacheControl", "kind": 32, "kindString": "Variable", @@ -46485,7 +47008,7 @@ "defaultValue": "\"3600\"" }, { - "id": 259, + "id": 264, "name": "contentType", "kind": 32, "kindString": "Variable", @@ -46504,7 +47027,7 @@ "defaultValue": "\"text/plain;charset=UTF-8\"" }, { - "id": 260, + "id": 265, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -46528,9 +47051,9 @@ "title": "Variables", "kind": 32, "children": [ - 258, - 259, - 260 + 263, + 264, + 265 ] } ], @@ -46547,7 +47070,7 @@ } }, { - "id": 251, + "id": 256, "name": "DEFAULT_SEARCH_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -46556,7 +47079,7 @@ }, "children": [ { - "id": 252, + "id": 257, "name": "limit", "kind": 32, "kindString": "Variable", @@ -46575,7 +47098,7 @@ "defaultValue": "100" }, { - "id": 253, + "id": 258, "name": "offset", "kind": 32, "kindString": "Variable", @@ -46594,14 +47117,14 @@ "defaultValue": "0" }, { - "id": 254, + "id": 259, "name": "sortBy", "kind": 2097152, "kindString": "Object literal", "flags": {}, "children": [ { - "id": 255, + "id": 260, "name": "column", "kind": 32, "kindString": "Variable", @@ -46620,7 +47143,7 @@ "defaultValue": "\"name\"" }, { - "id": 256, + "id": 261, "name": "order", "kind": 32, "kindString": "Variable", @@ -46644,8 +47167,8 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 256 + 260, + 261 ] } ], @@ -46667,15 +47190,15 @@ "title": "Variables", "kind": 32, "children": [ - 252, - 253 + 257, + 258 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 254 + 259 ] } ], @@ -46697,15 +47220,15 @@ "title": "Classes", "kind": 128, "children": [ - 154 + 159 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 257, - 251 + 262, + 256 ] } ], @@ -46717,6 +47240,87 @@ } ] }, + { + "id": 91, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/constants.ts", + "children": [ + { + "id": 92, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 93, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`storage-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 93 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 92 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/fetch\"", @@ -47678,7 +48282,7 @@ ] }, { - "id": 150, + "id": 155, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -47688,7 +48292,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts", "children": [ { - "id": 151, + "id": 156, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -47698,7 +48302,7 @@ }, "signatures": [ { - "id": 152, + "id": 157, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -47725,7 +48329,7 @@ "title": "Functions", "kind": 64, "children": [ - 151 + 156 ] } ], @@ -47738,7 +48342,7 @@ ] }, { - "id": 261, + "id": 266, "name": "\"lib/index\"", "kind": 1, "kindString": "Module", @@ -47748,7 +48352,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts", "children": [ { - "id": 264, + "id": 269, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -47758,7 +48362,17 @@ "target": 58 }, { - "id": 265, + "id": 275, + "name": "DEFAULT_HEADERS", + "kind": 16777216, + "kindString": "Reference", + "flags": { + "isExported": true + }, + "target": 92 + }, + { + "id": 270, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -47768,7 +48382,7 @@ "target": 65 }, { - "id": 267, + "id": 272, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -47778,7 +48392,7 @@ "target": 79 }, { - "id": 269, + "id": 274, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -47788,7 +48402,7 @@ "target": 87 }, { - "id": 268, + "id": 273, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -47798,7 +48412,7 @@ "target": 83 }, { - "id": 266, + "id": 271, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -47808,24 +48422,24 @@ "target": 76 }, { - "id": 262, + "id": 267, "name": "StorageBucketApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 90 + "target": 95 }, { - "id": 263, + "id": 268, "name": "StorageFileApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 154 + "target": 159 } ], "groups": [ @@ -47833,14 +48447,15 @@ "title": "References", "kind": 16777216, "children": [ - 264, - 265, - 267, 269, - 268, - 266, - 262, - 263 + 275, + 270, + 272, + 274, + 273, + 271, + 267, + 268 ] } ], @@ -48645,6 +49260,56 @@ "character": 0 } ] + }, + { + "id": 89, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/version.ts", + "children": [ + { + "id": 90, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 90 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -48652,14 +49317,16 @@ "title": "Modules", "kind": 1, "children": [ - 270, - 334, - 89, - 153, + 276, + 340, + 94, + 158, + 91, 1, - 150, - 261, - 57 + 155, + 266, + 57, + 89 ] } ] diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 50feddf31e9..f2077bced55 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -174,6 +174,8 @@ pages: If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase-flutter`. auth.signIn(): + description: | + Log in an existing user, or login via a third-party provider. notes: | - A user can sign up via email, phone number. - If you provide `email` without a `password`, the user will be sent a magic link. @@ -210,6 +212,8 @@ pages: final error = res.error; ``` auth.signInWithProvider(): + description: | + Signs the user in using thrid party OAuth providers. notes: | - `auth.signInWithProvider()` is only available on `supabase-flutter` - It will open the browser to the relevant login page. @@ -252,6 +256,8 @@ pages: const oAuthToken = session.provider_token // use to access provider API ``` auth.signOut(): + description: | + Signs out the current user, if there is a logged in user. examples: - name: Sign out isSpotlight: true @@ -263,6 +269,8 @@ pages: ``` auth.session(): + description: | + Returns the session data, if there is an active session. examples: - name: Get the session data isSpotlight: true @@ -272,6 +280,8 @@ pages: ``` auth.user(): + description: | + Returns the user data, if there is a logged in user. examples: - name: Get the logged in user isSpotlight: true @@ -281,6 +291,8 @@ pages: ``` auth.update(): + description: | + Updates user data, if there is a logged in user. 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. @@ -297,6 +309,8 @@ pages: ``` auth.onAuthStateChange(): + description: | + Receive a notification every time an auth event happens. examples: - name: Listen to auth changes isSpotlight: true @@ -309,6 +323,8 @@ pages: ``` Reset Password (Email): + description: | + Sends a reset request to an email address. notes: | Sends a reset request to an email address. @@ -350,6 +366,8 @@ pages: final error = res.error; ``` select(): + description: | + Performs vertical filtering with SELECT. title: 'Fetch data: select()' notes: | - By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data. @@ -454,6 +472,8 @@ pages: ``` insert(): + description: | + Performs an INSERT into the table. title: 'Create data: insert()' notes: | - By default, every time you run `insert()`, the client library will make a `select` to return the full record. @@ -482,6 +502,8 @@ pages: ``` update(): + description: | + Performs an UPDATE on the table. title: 'Modify data: update()' notes: | TODO update the link to dart @@ -518,6 +540,8 @@ pages: ``` upsert(): + description: | + Performs an UPSERT into the table. title: 'Upsert data: upsert()' notes: | - Primary keys should to be included in the data payload in order for an update to work correctly. @@ -561,6 +585,8 @@ pages: ``` delete(): + description: | + Performs a DELETE on the table. title: 'Delete data: delete()' notes: | TODO update link to dart @@ -613,6 +639,8 @@ pages: ``` subscribe(): + description: | + Subscribe to realtime changes in your databse. title: 'on().subscribe()' notes: | - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime). @@ -704,6 +732,8 @@ pages: ``` removeSubscription(): + description: | + Removes an active subscription and returns the number of open connections. title: 'removeSubscription()' notes: | - Removing subscriptions is a great way to maintain the performance of your project's database. Supabase will automatically handle cleanup 30 seconds after a user is disconnected, but unused subscriptions may cause degradation as more users are simultaneously subscribed. @@ -716,6 +746,8 @@ pages: ``` getSubscriptions(): + description: | + Returns an array of all your subscriptions. title: 'getSubscriptions()' examples: - name: Get all subscriptions @@ -726,6 +758,8 @@ pages: ``` stream(): + description: | + Notifies of data at the queried table. title: 'stream()' notes: | - `stream()` will emit the initial data as well as any further change on the database as `Stream` of `List>` by combining Postgrest and Realtime. @@ -772,6 +806,8 @@ pages: ``` storage.listBuckets(): + description: | + Retrieves the details of all Storage buckets within an existing product. title: 'listBuckets()' $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.listBuckets' notes: | @@ -789,6 +825,8 @@ pages: ``` storage.getBucket(): + description: | + Retrieves the details of an existing Storage bucket. title: 'getBucket()' $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.getBucket' notes: | @@ -806,6 +844,8 @@ pages: ``` storage.createBucket(): + description: | + Creates a new Storage bucket title: 'createBucket()' notes: | - Policy permissions required: @@ -822,6 +862,8 @@ pages: ``` storage.emptyBucket(): + description: | + Removes all objects inside a single bucket. title: 'emptyBucket()' notes: | - Policy permissions required: @@ -837,6 +879,8 @@ pages: .emptyBucket('avatars'); ``` storage.updateBucket(): + description: | + Updates a new Storage bucket title: 'updateBucket()' notes: | - Policy permissions required: @@ -853,6 +897,8 @@ pages: ``` storage.deleteBucket(): + description: | + Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first `empty()` the bucket. title: 'deleteBucket()' notes: | - Policy permissions required: @@ -869,6 +915,8 @@ pages: ``` storage.from.upload(): + description: | + Uploads a file to an existing bucket. title: 'from.upload()' $ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.upload' notes: | @@ -891,6 +939,8 @@ pages: ``` storage.from.update(): + description: | + Replaces an existing file at the specified path with a new one. title: 'from.update()' notes: | - Policy permissions required: @@ -912,6 +962,8 @@ pages: ``` storage.from.move(): + description: | + Moves an existing file, optionally renaming it at the same time. title: 'from.move()' notes: | - Policy permissions required: @@ -929,6 +981,8 @@ pages: ``` storage.from.createSignedUrl(): + description: | + Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds. title: 'from.createSignedUrl()' notes: | - Policy permissions required: @@ -948,6 +1002,8 @@ pages: ``` storage.from.getPublicUrl(): + description: | + Retrieve URLs for assets in public buckets title: 'from.getPublicUrl()' notes: | - Policy permissions required: @@ -967,6 +1023,8 @@ pages: ``` storage.from.download(): + description: | + Downloads a file. title: 'from.download()' notes: | - Policy permissions required: @@ -984,6 +1042,8 @@ pages: ``` storage.from.remove(): + description: | + Deletes files within the same bucket title: 'from.remove()' notes: | - Policy permissions required: @@ -1001,6 +1061,8 @@ pages: ``` storage.from.list(): + description: | + Lists all the files within a bucket. title: 'from.list()' notes: | - Policy permissions required: @@ -1023,6 +1085,8 @@ pages: If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function. limit(): + description: | + Limits the result with the specified count. examples: - name: With `select()` isSpotlight: true @@ -1046,6 +1110,8 @@ pages: ``` order(): + description: | + Orders the result with the specified column. examples: - name: With `select()` isSpotlight: true @@ -1069,6 +1135,8 @@ pages: ``` range(): + description: | + Limits the result to rows within the specified range, inclusive. examples: - name: With `select()` isSpotlight: true @@ -1082,6 +1150,8 @@ pages: ``` single(): + description: | + Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error. examples: - name: With `select()` isSpotlight: true @@ -1132,6 +1202,8 @@ pages: ``` .filter(): + description: | + Finds all rows whose `column` satisfies the filter. examples: - name: With `select()` isSpotlight: true @@ -1181,6 +1253,8 @@ pages: ``` .or(): + description: | + Finds all rows satisfying at least one of the filters. examples: - name: With `select()` isSpotlight: true @@ -1214,6 +1288,8 @@ pages: # ``` .not(): + description: | + Finds all rows which doesn't satisfy the filter. examples: - name: With `select()` isSpotlight: true @@ -1254,6 +1330,8 @@ pages: # ``` .match(): + description: | + Finds all rows whose columns match the specified `query` object. examples: - name: With `select()` isSpotlight: true @@ -1294,6 +1372,8 @@ pages: # ``` .eq(): + description: | + Finds all rows whose value on the stated `column` exactly matches the specified `value`. examples: - name: With `select()` isSpotlight: true @@ -1334,6 +1414,8 @@ pages: # ``` .neq(): + description: | + Finds all rows whose value on the stated `column` doesn't match the specified `value`. examples: - name: With `select()` isSpotlight: true @@ -1374,6 +1456,8 @@ pages: # ``` .gt(): + description: | + Finds all rows whose value on the stated `column` is greater than the specified `value`. examples: - name: With `select()` isSpotlight: true @@ -1414,6 +1498,8 @@ pages: # ``` .gte(): + description: | + Finds all rows whose value on the stated `column` is greater than or equal to the specified `value`. examples: - name: With `select()` isSpotlight: true @@ -1454,6 +1540,8 @@ pages: # ``` .lt(): + description: | + Finds all rows whose value on the stated `column` is less than the specified `value`. examples: - name: With `select()` isSpotlight: true @@ -1495,6 +1583,8 @@ pages: # ``` .lte(): + description: | + Finds all rows whose value on the stated `column` is less than or equal to the specified `value`. $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lte' examples: - name: With `select()` @@ -1537,6 +1627,8 @@ pages: # ``` .like(): + description: | + Finds all rows whose value in the stated `column` matches the supplied `pattern` (case sensitive). $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.like' examples: - name: With `select()` @@ -1579,6 +1671,8 @@ pages: # ``` .ilike(): + description: | + Finds all rows whose value in the stated `column` matches the supplied `pattern` (case insensitive). examples: - name: With `select()` isSpotlight: true @@ -1620,6 +1714,8 @@ pages: # ``` .is_(): + description: | + A check for exact equality (null, true, false), finds all rows whose value on the stated `column` exactly match the specified `value`. examples: - name: With `select()` isSpotlight: true @@ -1661,6 +1757,8 @@ pages: # ``` .in_(): + description: | + Finds all rows whose value on the stated `column` is found on the specified `values`. examples: - name: With `select()` isSpotlight: true @@ -2031,6 +2129,8 @@ pages: # ``` .textSearch(): + description: | + Finds all rows whose tsvector value on the stated `column` matches to_tsquery(query). examples: - name: Text search dart: | diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json index 10cb9986abb..618e49ce3de 100644 --- a/web/spec/gotrue.json +++ b/web/spec/gotrue.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 206, + "id": 208, "name": "\"GoTrueApi\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 207, + "id": 209, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 214, + "id": 216, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 215, + "id": 217, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -43,7 +43,7 @@ }, "parameters": [ { - "id": 216, + "id": 218, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -54,7 +54,7 @@ "type": { "type": "reflection", "declaration": { - "id": 217, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -63,7 +63,7 @@ }, "children": [ { - "id": 223, + "id": 225, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -93,7 +93,7 @@ } }, { - "id": 219, + "id": 221, "name": "headers", "kind": 32, "kindString": "Variable", @@ -110,7 +110,7 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -119,7 +119,7 @@ }, "indexSignature": [ { - "id": 221, + "id": 223, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -128,7 +128,7 @@ }, "parameters": [ { - "id": 222, + "id": 224, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -151,7 +151,7 @@ } }, { - "id": 218, + "id": 220, "name": "url", "kind": 32, "kindString": "Variable", @@ -177,9 +177,9 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 219, - 218 + 225, + 221, + 220 ] } ], @@ -196,7 +196,7 @@ ], "type": { "type": "reference", - "id": 207, + "id": 209, "name": "GoTrueApi" } } @@ -210,7 +210,7 @@ ] }, { - "id": 213, + "id": 215, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -232,7 +232,7 @@ } }, { - "id": 209, + "id": 211, "name": "headers", "kind": 1024, "kindString": "Property", @@ -250,7 +250,7 @@ "type": { "type": "reflection", "declaration": { - "id": 210, + "id": 212, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -259,7 +259,7 @@ }, "indexSignature": [ { - "id": 211, + "id": 213, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -268,7 +268,7 @@ }, "parameters": [ { - "id": 212, + "id": 214, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -298,7 +298,7 @@ } }, { - "id": 208, + "id": 210, "name": "url", "kind": 1024, "kindString": "Property", @@ -319,7 +319,7 @@ } }, { - "id": 304, + "id": 306, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -329,7 +329,7 @@ }, "signatures": [ { - "id": 305, + "id": 307, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -341,7 +341,7 @@ }, "parameters": [ { - "id": 306, + "id": 308, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -360,7 +360,7 @@ "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 309, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -380,7 +380,7 @@ ] }, { - "id": 335, + "id": 337, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -389,7 +389,7 @@ }, "signatures": [ { - "id": 336, + "id": 338, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -401,7 +401,7 @@ }, "parameters": [ { - "id": 337, + "id": 339, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -417,7 +417,7 @@ } }, { - "id": 338, + "id": 340, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -439,7 +439,7 @@ { "type": "reflection", "declaration": { - "id": 339, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -448,7 +448,7 @@ }, "children": [ { - "id": 341, + "id": 343, "name": "data", "kind": 32, "kindString": "Variable", @@ -478,7 +478,7 @@ } }, { - "id": 342, + "id": 344, "name": "error", "kind": 32, "kindString": "Variable", @@ -507,7 +507,7 @@ } }, { - "id": 340, + "id": 342, "name": "user", "kind": 32, "kindString": "Variable", @@ -542,9 +542,9 @@ "title": "Variables", "kind": 32, "children": [ - 341, - 342, - 340 + 343, + 344, + 342 ] } ], @@ -571,7 +571,7 @@ ] }, { - "id": 360, + "id": 362, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -580,7 +580,7 @@ }, "signatures": [ { - "id": 361, + "id": 363, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -592,7 +592,7 @@ }, "parameters": [ { - "id": 362, + "id": 364, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -625,7 +625,7 @@ } }, { - "id": 363, + "id": 365, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -641,7 +641,7 @@ } }, { - "id": 364, + "id": 366, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -651,7 +651,7 @@ "type": { "type": "reflection", "declaration": { - "id": 365, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -660,7 +660,7 @@ }, "children": [ { - "id": 367, + "id": 369, "name": "data", "kind": 32, "kindString": "Variable", @@ -681,7 +681,7 @@ } }, { - "id": 366, + "id": 368, "name": "password", "kind": 32, "kindString": "Variable", @@ -711,7 +711,7 @@ } }, { - "id": 368, + "id": 370, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -746,9 +746,9 @@ "title": "Variables", "kind": 32, "children": [ - 367, - 366, - 368 + 369, + 368, + 370 ] } ], @@ -770,7 +770,7 @@ { "type": "reflection", "declaration": { - "id": 369, + "id": 371, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -779,7 +779,7 @@ }, "children": [ { - "id": 370, + "id": 372, "name": "data", "kind": 32, "kindString": "Variable", @@ -817,7 +817,7 @@ } }, { - "id": 371, + "id": 373, "name": "error", "kind": 32, "kindString": "Variable", @@ -851,8 +851,8 @@ "title": "Variables", "kind": 32, "children": [ - 370, - 371 + 372, + 373 ] } ], @@ -879,7 +879,7 @@ ] }, { - "id": 313, + "id": 315, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -888,7 +888,7 @@ }, "signatures": [ { - "id": 314, + "id": 316, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -900,7 +900,7 @@ }, "parameters": [ { - "id": 315, + "id": 317, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -917,7 +917,7 @@ } }, { - "id": 316, + "id": 318, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -927,7 +927,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -936,7 +936,7 @@ }, "children": [ { - "id": 318, + "id": 320, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -966,7 +966,7 @@ } }, { - "id": 319, + "id": 321, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -1001,8 +1001,8 @@ "title": "Variables", "kind": 32, "children": [ - 318, - 319 + 320, + 321 ] } ], @@ -1032,7 +1032,7 @@ ] }, { - "id": 320, + "id": 322, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -1041,7 +1041,7 @@ }, "signatures": [ { - "id": 321, + "id": 323, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -1053,7 +1053,7 @@ }, "parameters": [ { - "id": 322, + "id": 324, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -1075,7 +1075,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1084,7 +1084,7 @@ }, "children": [ { - "id": 325, + "id": 327, "name": "data", "kind": 32, "kindString": "Variable", @@ -1114,7 +1114,7 @@ } }, { - "id": 326, + "id": 328, "name": "error", "kind": 32, "kindString": "Variable", @@ -1143,7 +1143,7 @@ } }, { - "id": 324, + "id": 326, "name": "user", "kind": 32, "kindString": "Variable", @@ -1178,9 +1178,9 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 326, - 324 + 327, + 328, + 326 ] } ], @@ -1207,7 +1207,7 @@ ] }, { - "id": 353, + "id": 355, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -1216,7 +1216,7 @@ }, "signatures": [ { - "id": 354, + "id": 356, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -1228,7 +1228,7 @@ }, "parameters": [ { - "id": 355, + "id": 357, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -1247,7 +1247,7 @@ { "type": "reflection", "declaration": { - "id": 356, + "id": 358, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1256,7 +1256,7 @@ }, "children": [ { - "id": 358, + "id": 360, "name": "data", "kind": 32, "kindString": "Variable", @@ -1286,7 +1286,7 @@ } }, { - "id": 359, + "id": 361, "name": "error", "kind": 32, "kindString": "Variable", @@ -1315,7 +1315,7 @@ } }, { - "id": 357, + "id": 359, "name": "user", "kind": 32, "kindString": "Variable", @@ -1350,9 +1350,9 @@ "title": "Variables", "kind": 32, "children": [ - 358, - 359, - 357 + 360, + 361, + 359 ] } ], @@ -1379,7 +1379,7 @@ ] }, { - "id": 285, + "id": 287, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -1388,7 +1388,7 @@ }, "signatures": [ { - "id": 286, + "id": 288, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -1400,7 +1400,7 @@ }, "parameters": [ { - "id": 287, + "id": 289, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1416,7 +1416,7 @@ } }, { - "id": 288, + "id": 290, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1426,7 +1426,7 @@ "type": { "type": "reflection", "declaration": { - "id": 289, + "id": 291, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1435,7 +1435,7 @@ }, "children": [ { - "id": 290, + "id": 292, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1470,7 +1470,7 @@ "title": "Variables", "kind": 32, "children": [ - 290 + 292 ] } ], @@ -1492,7 +1492,7 @@ { "type": "reflection", "declaration": { - "id": 291, + "id": 293, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1501,7 +1501,7 @@ }, "children": [ { - "id": 292, + "id": 294, "name": "data", "kind": 32, "kindString": "Variable", @@ -1531,7 +1531,7 @@ } }, { - "id": 293, + "id": 295, "name": "error", "kind": 32, "kindString": "Variable", @@ -1565,8 +1565,8 @@ "title": "Variables", "kind": 32, "children": [ - 292, - 293 + 294, + 295 ] } ], @@ -1593,7 +1593,7 @@ ] }, { - "id": 343, + "id": 345, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -1602,7 +1602,7 @@ }, "signatures": [ { - "id": 344, + "id": 346, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -1614,7 +1614,7 @@ }, "parameters": [ { - "id": 345, + "id": 347, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -1636,7 +1636,7 @@ { "type": "reflection", "declaration": { - "id": 346, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1645,7 +1645,7 @@ }, "children": [ { - "id": 347, + "id": 349, "name": "data", "kind": 32, "kindString": "Variable", @@ -1675,7 +1675,7 @@ } }, { - "id": 348, + "id": 350, "name": "error", "kind": 32, "kindString": "Variable", @@ -1709,8 +1709,8 @@ "title": "Variables", "kind": 32, "children": [ - 347, - 348 + 349, + 350 ] } ], @@ -1737,7 +1737,7 @@ ] }, { - "id": 294, + "id": 296, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -1746,7 +1746,7 @@ }, "signatures": [ { - "id": 295, + "id": 297, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -1758,7 +1758,7 @@ }, "parameters": [ { - "id": 296, + "id": 298, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1774,7 +1774,7 @@ } }, { - "id": 297, + "id": 299, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1784,7 +1784,7 @@ "type": { "type": "reflection", "declaration": { - "id": 298, + "id": 300, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1793,7 +1793,7 @@ }, "children": [ { - "id": 299, + "id": 301, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1828,7 +1828,7 @@ "title": "Variables", "kind": 32, "children": [ - 299 + 301 ] } ], @@ -1850,7 +1850,7 @@ { "type": "reflection", "declaration": { - "id": 300, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1859,7 +1859,7 @@ }, "children": [ { - "id": 301, + "id": 303, "name": "data", "kind": 32, "kindString": "Variable", @@ -1879,7 +1879,7 @@ { "type": "reflection", "declaration": { - "id": 302, + "id": 304, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1903,7 +1903,7 @@ } }, { - "id": 303, + "id": 305, "name": "error", "kind": 32, "kindString": "Variable", @@ -1937,8 +1937,8 @@ "title": "Variables", "kind": 32, "children": [ - 301, - 303 + 303, + 305 ] } ], @@ -1965,7 +1965,7 @@ ] }, { - "id": 258, + "id": 260, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -1974,7 +1974,7 @@ }, "signatures": [ { - "id": 259, + "id": 261, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -1986,7 +1986,7 @@ }, "parameters": [ { - "id": 260, + "id": 262, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2002,7 +2002,7 @@ } }, { - "id": 261, + "id": 263, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2012,7 +2012,7 @@ "type": { "type": "reflection", "declaration": { - "id": 262, + "id": 264, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2021,7 +2021,7 @@ }, "children": [ { - "id": 263, + "id": 265, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2056,7 +2056,7 @@ "title": "Variables", "kind": 32, "children": [ - 263 + 265 ] } ], @@ -2078,7 +2078,7 @@ { "type": "reflection", "declaration": { - "id": 264, + "id": 266, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2087,7 +2087,7 @@ }, "children": [ { - "id": 265, + "id": 267, "name": "data", "kind": 32, "kindString": "Variable", @@ -2107,7 +2107,7 @@ { "type": "reflection", "declaration": { - "id": 266, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2131,7 +2131,7 @@ } }, { - "id": 267, + "id": 269, "name": "error", "kind": 32, "kindString": "Variable", @@ -2165,8 +2165,8 @@ "title": "Variables", "kind": 32, "children": [ - 265, - 267 + 267, + 269 ] } ], @@ -2193,7 +2193,7 @@ ] }, { - "id": 268, + "id": 270, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -2202,7 +2202,7 @@ }, "signatures": [ { - "id": 269, + "id": 271, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -2214,7 +2214,7 @@ }, "parameters": [ { - "id": 270, + "id": 272, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2236,7 +2236,7 @@ { "type": "reflection", "declaration": { - "id": 271, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2245,7 +2245,7 @@ }, "children": [ { - "id": 272, + "id": 274, "name": "data", "kind": 32, "kindString": "Variable", @@ -2265,7 +2265,7 @@ { "type": "reflection", "declaration": { - "id": 273, + "id": 275, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2289,7 +2289,7 @@ } }, { - "id": 274, + "id": 276, "name": "error", "kind": 32, "kindString": "Variable", @@ -2323,8 +2323,8 @@ "title": "Variables", "kind": 32, "children": [ - 272, - 274 + 274, + 276 ] } ], @@ -2351,7 +2351,7 @@ ] }, { - "id": 349, + "id": 351, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -2360,7 +2360,7 @@ }, "signatures": [ { - "id": 350, + "id": 352, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -2372,7 +2372,7 @@ }, "parameters": [ { - "id": 351, + "id": 353, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -2385,7 +2385,7 @@ } }, { - "id": 352, + "id": 354, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -2413,7 +2413,7 @@ ] }, { - "id": 234, + "id": 236, "name": "signInWithEmail", "kind": 2048, "kindString": "Method", @@ -2422,7 +2422,7 @@ }, "signatures": [ { - "id": 235, + "id": 237, "name": "signInWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2434,7 +2434,7 @@ }, "parameters": [ { - "id": 236, + "id": 238, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2450,7 +2450,7 @@ } }, { - "id": 237, + "id": 239, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2466,7 +2466,7 @@ } }, { - "id": 238, + "id": 240, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2476,7 +2476,7 @@ "type": { "type": "reflection", "declaration": { - "id": 239, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2485,7 +2485,7 @@ }, "children": [ { - "id": 240, + "id": 242, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2520,7 +2520,7 @@ "title": "Variables", "kind": 32, "children": [ - 240 + 242 ] } ], @@ -2542,7 +2542,7 @@ { "type": "reflection", "declaration": { - "id": 241, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2551,7 +2551,7 @@ }, "children": [ { - "id": 242, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -2581,7 +2581,7 @@ } }, { - "id": 243, + "id": 245, "name": "error", "kind": 32, "kindString": "Variable", @@ -2615,8 +2615,8 @@ "title": "Variables", "kind": 32, "children": [ - 242, - 243 + 244, + 245 ] } ], @@ -2643,7 +2643,7 @@ ] }, { - "id": 251, + "id": 253, "name": "signInWithPhone", "kind": 2048, "kindString": "Method", @@ -2652,7 +2652,7 @@ }, "signatures": [ { - "id": 252, + "id": 254, "name": "signInWithPhone", "kind": 4096, "kindString": "Call signature", @@ -2664,7 +2664,7 @@ }, "parameters": [ { - "id": 253, + "id": 255, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2680,7 +2680,7 @@ } }, { - "id": 254, + "id": 256, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2702,7 +2702,7 @@ { "type": "reflection", "declaration": { - "id": 255, + "id": 257, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2711,7 +2711,7 @@ }, "children": [ { - "id": 256, + "id": 258, "name": "data", "kind": 32, "kindString": "Variable", @@ -2741,7 +2741,7 @@ } }, { - "id": 257, + "id": 259, "name": "error", "kind": 32, "kindString": "Variable", @@ -2775,8 +2775,8 @@ "title": "Variables", "kind": 32, "children": [ - 256, - 257 + 258, + 259 ] } ], @@ -2803,7 +2803,7 @@ ] }, { - "id": 308, + "id": 310, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -2812,7 +2812,7 @@ }, "signatures": [ { - "id": 309, + "id": 311, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -2824,7 +2824,7 @@ }, "parameters": [ { - "id": 310, + "id": 312, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -2846,7 +2846,7 @@ { "type": "reflection", "declaration": { - "id": 311, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2855,7 +2855,7 @@ }, "children": [ { - "id": 312, + "id": 314, "name": "error", "kind": 32, "kindString": "Variable", @@ -2889,7 +2889,7 @@ "title": "Variables", "kind": 32, "children": [ - 312 + 314 ] } ], @@ -2916,7 +2916,7 @@ ] }, { - "id": 224, + "id": 226, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -2925,7 +2925,7 @@ }, "signatures": [ { - "id": 225, + "id": 227, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2938,7 +2938,7 @@ }, "parameters": [ { - "id": 226, + "id": 228, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2954,7 +2954,7 @@ } }, { - "id": 227, + "id": 229, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2970,7 +2970,7 @@ } }, { - "id": 228, + "id": 230, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2980,7 +2980,7 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2989,7 +2989,7 @@ }, "children": [ { - "id": 230, + "id": 232, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3024,7 +3024,7 @@ "title": "Variables", "kind": 32, "children": [ - 230 + 232 ] } ], @@ -3046,7 +3046,7 @@ { "type": "reflection", "declaration": { - "id": 231, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3055,7 +3055,7 @@ }, "children": [ { - "id": 232, + "id": 234, "name": "data", "kind": 32, "kindString": "Variable", @@ -3090,7 +3090,7 @@ } }, { - "id": 233, + "id": 235, "name": "error", "kind": 32, "kindString": "Variable", @@ -3124,8 +3124,8 @@ "title": "Variables", "kind": 32, "children": [ - 232, - 233 + 234, + 235 ] } ], @@ -3152,7 +3152,7 @@ ] }, { - "id": 244, + "id": 246, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -3161,7 +3161,7 @@ }, "signatures": [ { - "id": 245, + "id": 247, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -3173,7 +3173,7 @@ }, "parameters": [ { - "id": 246, + "id": 248, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3189,7 +3189,7 @@ } }, { - "id": 247, + "id": 249, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -3211,7 +3211,7 @@ { "type": "reflection", "declaration": { - "id": 248, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3220,7 +3220,7 @@ }, "children": [ { - "id": 249, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -3255,7 +3255,7 @@ } }, { - "id": 250, + "id": 252, "name": "error", "kind": 32, "kindString": "Variable", @@ -3289,8 +3289,8 @@ "title": "Variables", "kind": 32, "children": [ - 249, - 250 + 251, + 252 ] } ], @@ -3317,7 +3317,7 @@ ] }, { - "id": 327, + "id": 329, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -3326,7 +3326,7 @@ }, "signatures": [ { - "id": 328, + "id": 330, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -3338,7 +3338,7 @@ }, "parameters": [ { - "id": 329, + "id": 331, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3354,7 +3354,7 @@ } }, { - "id": 330, + "id": 332, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -3377,7 +3377,7 @@ { "type": "reflection", "declaration": { - "id": 331, + "id": 333, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3386,7 +3386,7 @@ }, "children": [ { - "id": 333, + "id": 335, "name": "data", "kind": 32, "kindString": "Variable", @@ -3416,7 +3416,7 @@ } }, { - "id": 334, + "id": 336, "name": "error", "kind": 32, "kindString": "Variable", @@ -3445,7 +3445,7 @@ } }, { - "id": 332, + "id": 334, "name": "user", "kind": 32, "kindString": "Variable", @@ -3480,9 +3480,9 @@ "title": "Variables", "kind": 32, "children": [ - 333, - 334, - 332 + 335, + 336, + 334 ] } ], @@ -3509,7 +3509,7 @@ ] }, { - "id": 275, + "id": 277, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -3518,7 +3518,7 @@ }, "signatures": [ { - "id": 276, + "id": 278, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -3530,7 +3530,7 @@ }, "parameters": [ { - "id": 277, + "id": 279, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3546,7 +3546,7 @@ } }, { - "id": 278, + "id": 280, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -3562,7 +3562,7 @@ } }, { - "id": 279, + "id": 281, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3572,7 +3572,7 @@ "type": { "type": "reflection", "declaration": { - "id": 280, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3581,7 +3581,7 @@ }, "children": [ { - "id": 281, + "id": 283, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3616,7 +3616,7 @@ "title": "Variables", "kind": 32, "children": [ - 281 + 283 ] } ], @@ -3638,7 +3638,7 @@ { "type": "reflection", "declaration": { - "id": 282, + "id": 284, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3647,7 +3647,7 @@ }, "children": [ { - "id": 283, + "id": 285, "name": "data", "kind": 32, "kindString": "Variable", @@ -3682,7 +3682,7 @@ } }, { - "id": 284, + "id": 286, "name": "error", "kind": 32, "kindString": "Variable", @@ -3716,8 +3716,8 @@ "title": "Variables", "kind": 32, "children": [ - 283, - 284 + 285, + 286 ] } ], @@ -3749,41 +3749,41 @@ "title": "Constructors", "kind": 512, "children": [ - 214 + 216 ] }, { "title": "Properties", "kind": 1024, "children": [ - 213, - 209, - 208 + 215, + 211, + 210 ] }, { "title": "Methods", "kind": 2048, "children": [ - 304, - 335, - 360, - 313, - 320, - 353, - 285, - 343, - 294, - 258, - 268, - 349, - 234, - 251, - 308, - 224, - 244, - 327, - 275 + 306, + 337, + 362, + 315, + 322, + 355, + 287, + 345, + 296, + 260, + 270, + 351, + 236, + 253, + 310, + 226, + 246, + 329, + 277 ] } ], @@ -3801,7 +3801,7 @@ "title": "Classes", "kind": 128, "children": [ - 207 + 209 ] } ], @@ -3814,7 +3814,7 @@ ] }, { - "id": 375, + "id": 377, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -3824,7 +3824,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 376, + "id": 378, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -3833,7 +3833,7 @@ }, "children": [ { - "id": 385, + "id": 387, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3845,7 +3845,7 @@ }, "signatures": [ { - "id": 386, + "id": 388, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -3857,7 +3857,7 @@ }, "parameters": [ { - "id": 387, + "id": 389, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3867,7 +3867,7 @@ "type": { "type": "reflection", "declaration": { - "id": 388, + "id": 390, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3876,7 +3876,7 @@ }, "children": [ { - "id": 395, + "id": 397, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -3913,7 +3913,7 @@ } }, { - "id": 398, + "id": 400, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -3935,7 +3935,7 @@ } }, { - "id": 394, + "id": 396, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -3972,7 +3972,7 @@ } }, { - "id": 390, + "id": 392, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4000,7 +4000,7 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4009,7 +4009,7 @@ }, "indexSignature": [ { - "id": 392, + "id": 394, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4018,7 +4018,7 @@ }, "parameters": [ { - "id": 393, + "id": 395, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4043,7 +4043,7 @@ } }, { - "id": 397, + "id": 399, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -4067,7 +4067,7 @@ } }, { - "id": 396, + "id": 398, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -4104,7 +4104,7 @@ } }, { - "id": 389, + "id": 391, "name": "url", "kind": 32, "kindString": "Variable", @@ -4142,13 +4142,13 @@ "title": "Variables", "kind": 32, "children": [ - 395, - 398, - 394, - 390, 397, + 400, 396, - 389 + 392, + 399, + 398, + 391 ] } ], @@ -4165,7 +4165,7 @@ ], "type": { "type": "reference", - "id": 376, + "id": 378, "name": "GoTrueClient" } } @@ -4179,7 +4179,7 @@ ] }, { - "id": 377, + "id": 379, "name": "api", "kind": 1024, "kindString": "Property", @@ -4198,12 +4198,12 @@ ], "type": { "type": "reference", - "id": 207, + "id": 209, "name": "GoTrueApi" } }, { - "id": 380, + "id": 382, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4224,7 +4224,7 @@ } }, { - "id": 379, + "id": 381, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -4258,7 +4258,7 @@ } }, { - "id": 378, + "id": 380, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -4292,7 +4292,7 @@ } }, { - "id": 382, + "id": 384, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -4313,7 +4313,7 @@ } }, { - "id": 381, + "id": 383, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -4334,7 +4334,7 @@ } }, { - "id": 384, + "id": 386, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -4365,7 +4365,7 @@ } }, { - "id": 383, + "id": 385, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -4398,7 +4398,7 @@ "defaultValue": "new Map()" }, { - "id": 550, + "id": 552, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -4408,7 +4408,7 @@ }, "signatures": [ { - "id": 551, + "id": 553, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -4417,7 +4417,7 @@ }, "parameters": [ { - "id": 552, + "id": 554, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -4449,7 +4449,7 @@ { "type": "reflection", "declaration": { - "id": 553, + "id": 555, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4458,7 +4458,7 @@ }, "children": [ { - "id": 554, + "id": 556, "name": "data", "kind": 32, "kindString": "Variable", @@ -4479,7 +4479,7 @@ } }, { - "id": 555, + "id": 557, "name": "error", "kind": 32, "kindString": "Variable", @@ -4505,8 +4505,8 @@ "title": "Variables", "kind": 32, "children": [ - 554, - 555 + 556, + 557 ] } ] @@ -4515,7 +4515,7 @@ { "type": "reflection", "declaration": { - "id": 556, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4524,7 +4524,7 @@ }, "children": [ { - "id": 557, + "id": 559, "name": "data", "kind": 32, "kindString": "Variable", @@ -4545,7 +4545,7 @@ "defaultValue": "null" }, { - "id": 558, + "id": 560, "name": "error", "kind": 32, "kindString": "Variable", @@ -4570,8 +4570,8 @@ "title": "Variables", "kind": 32, "children": [ - 557, - 558 + 559, + 560 ] } ] @@ -4593,7 +4593,7 @@ ] }, { - "id": 496, + "id": 498, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -4603,7 +4603,7 @@ }, "signatures": [ { - "id": 497, + "id": 499, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -4612,7 +4612,7 @@ }, "parameters": [ { - "id": 498, + "id": 500, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -4625,7 +4625,7 @@ } }, { - "id": 499, + "id": 501, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -4638,7 +4638,7 @@ } }, { - "id": 500, + "id": 502, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4648,7 +4648,7 @@ "type": { "type": "reflection", "declaration": { - "id": 501, + "id": 503, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4657,7 +4657,7 @@ }, "children": [ { - "id": 502, + "id": 504, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4692,7 +4692,7 @@ "title": "Variables", "kind": 32, "children": [ - 502 + 504 ] } ], @@ -4717,7 +4717,7 @@ { "type": "reflection", "declaration": { - "id": 503, + "id": 505, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4726,7 +4726,7 @@ }, "children": [ { - "id": 504, + "id": 506, "name": "data", "kind": 32, "kindString": "Variable", @@ -4747,7 +4747,7 @@ } }, { - "id": 507, + "id": 509, "name": "error", "kind": 32, "kindString": "Variable", @@ -4768,7 +4768,7 @@ "defaultValue": "null" }, { - "id": 506, + "id": 508, "name": "session", "kind": 32, "kindString": "Variable", @@ -4790,7 +4790,7 @@ "defaultValue": "data" }, { - "id": 505, + "id": 507, "name": "user", "kind": 32, "kindString": "Variable", @@ -4826,10 +4826,10 @@ "title": "Variables", "kind": 32, "children": [ - 504, - 507, 506, - 505 + 509, + 508, + 507 ] } ] @@ -4838,7 +4838,7 @@ { "type": "reflection", "declaration": { - "id": 508, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4847,7 +4847,7 @@ }, "children": [ { - "id": 509, + "id": 511, "name": "data", "kind": 32, "kindString": "Variable", @@ -4868,7 +4868,7 @@ "defaultValue": "null" }, { - "id": 512, + "id": 514, "name": "error", "kind": 32, "kindString": "Variable", @@ -4888,7 +4888,7 @@ } }, { - "id": 511, + "id": 513, "name": "session", "kind": 32, "kindString": "Variable", @@ -4909,7 +4909,7 @@ "defaultValue": "null" }, { - "id": 510, + "id": 512, "name": "user", "kind": 32, "kindString": "Variable", @@ -4935,10 +4935,10 @@ "title": "Variables", "kind": 32, "children": [ - 509, - 512, 511, - 510 + 514, + 513, + 512 ] } ] @@ -4960,7 +4960,7 @@ ] }, { - "id": 513, + "id": 515, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -4970,7 +4970,7 @@ }, "signatures": [ { - "id": 514, + "id": 516, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -4979,7 +4979,7 @@ }, "parameters": [ { - "id": 515, + "id": 517, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -4992,7 +4992,7 @@ } }, { - "id": 516, + "id": 518, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -5014,7 +5014,7 @@ { "type": "reflection", "declaration": { - "id": 517, + "id": 519, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5023,7 +5023,7 @@ }, "children": [ { - "id": 518, + "id": 520, "name": "data", "kind": 32, "kindString": "Variable", @@ -5044,7 +5044,7 @@ } }, { - "id": 521, + "id": 523, "name": "error", "kind": 32, "kindString": "Variable", @@ -5065,7 +5065,7 @@ "defaultValue": "null" }, { - "id": 520, + "id": 522, "name": "session", "kind": 32, "kindString": "Variable", @@ -5087,7 +5087,7 @@ "defaultValue": "data" }, { - "id": 519, + "id": 521, "name": "user", "kind": 32, "kindString": "Variable", @@ -5123,10 +5123,10 @@ "title": "Variables", "kind": 32, "children": [ - 518, - 521, 520, - 519 + 523, + 522, + 521 ] } ] @@ -5135,7 +5135,7 @@ { "type": "reflection", "declaration": { - "id": 522, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5144,7 +5144,7 @@ }, "children": [ { - "id": 523, + "id": 525, "name": "data", "kind": 32, "kindString": "Variable", @@ -5165,7 +5165,7 @@ "defaultValue": "null" }, { - "id": 526, + "id": 528, "name": "error", "kind": 32, "kindString": "Variable", @@ -5185,7 +5185,7 @@ } }, { - "id": 525, + "id": 527, "name": "session", "kind": 32, "kindString": "Variable", @@ -5206,7 +5206,7 @@ "defaultValue": "null" }, { - "id": 524, + "id": 526, "name": "user", "kind": 32, "kindString": "Variable", @@ -5232,10 +5232,10 @@ "title": "Variables", "kind": 32, "children": [ - 523, - 526, 525, - 524 + 528, + 527, + 526 ] } ] @@ -5257,7 +5257,7 @@ ] }, { - "id": 527, + "id": 529, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -5267,7 +5267,7 @@ }, "signatures": [ { - "id": 528, + "id": 530, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -5276,7 +5276,7 @@ }, "parameters": [ { - "id": 529, + "id": 531, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -5290,7 +5290,7 @@ } }, { - "id": 530, + "id": 532, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5300,7 +5300,7 @@ "type": { "type": "reflection", "declaration": { - "id": 531, + "id": 533, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5309,7 +5309,7 @@ }, "children": [ { - "id": 532, + "id": 534, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -5339,7 +5339,7 @@ } }, { - "id": 533, + "id": 535, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -5374,8 +5374,8 @@ "title": "Variables", "kind": 32, "children": [ - 532, - 533 + 534, + 535 ] } ], @@ -5397,7 +5397,7 @@ { "type": "reflection", "declaration": { - "id": 534, + "id": 536, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5406,7 +5406,7 @@ }, "children": [ { - "id": 537, + "id": 539, "name": "data", "kind": 32, "kindString": "Variable", @@ -5427,7 +5427,7 @@ "defaultValue": "null" }, { - "id": 540, + "id": 542, "name": "error", "kind": 32, "kindString": "Variable", @@ -5448,7 +5448,7 @@ "defaultValue": "null" }, { - "id": 535, + "id": 537, "name": "provider", "kind": 32, "kindString": "Variable", @@ -5469,7 +5469,7 @@ } }, { - "id": 538, + "id": 540, "name": "session", "kind": 32, "kindString": "Variable", @@ -5490,7 +5490,7 @@ "defaultValue": "null" }, { - "id": 536, + "id": 538, "name": "url", "kind": 32, "kindString": "Variable", @@ -5510,7 +5510,7 @@ } }, { - "id": 539, + "id": 541, "name": "user", "kind": 32, "kindString": "Variable", @@ -5536,12 +5536,12 @@ "title": "Variables", "kind": 32, "children": [ + 539, + 542, 537, 540, - 535, 538, - 536, - 539 + 541 ] } ] @@ -5550,7 +5550,7 @@ { "type": "reflection", "declaration": { - "id": 541, + "id": 543, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5559,7 +5559,7 @@ }, "children": [ { - "id": 542, + "id": 544, "name": "data", "kind": 32, "kindString": "Variable", @@ -5580,7 +5580,7 @@ "defaultValue": "null" }, { - "id": 545, + "id": 547, "name": "error", "kind": 32, "kindString": "Variable", @@ -5600,7 +5600,7 @@ } }, { - "id": 544, + "id": 546, "name": "session", "kind": 32, "kindString": "Variable", @@ -5621,7 +5621,7 @@ "defaultValue": "null" }, { - "id": 543, + "id": 545, "name": "user", "kind": 32, "kindString": "Variable", @@ -5647,10 +5647,10 @@ "title": "Variables", "kind": 32, "children": [ - 542, - 545, 544, - 543 + 547, + 546, + 545 ] } ] @@ -5669,7 +5669,7 @@ ] }, { - "id": 559, + "id": 561, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -5679,7 +5679,7 @@ }, "signatures": [ { - "id": 560, + "id": 562, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -5688,7 +5688,7 @@ }, "parameters": [ { - "id": 561, + "id": 563, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5717,7 +5717,7 @@ ] }, { - "id": 565, + "id": 567, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -5727,7 +5727,7 @@ }, "signatures": [ { - "id": 566, + "id": 568, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -5736,7 +5736,7 @@ }, "parameters": [ { - "id": 567, + "id": 569, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5765,7 +5765,7 @@ ] }, { - "id": 548, + "id": 550, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -5775,7 +5775,7 @@ }, "signatures": [ { - "id": 549, + "id": 551, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -5815,7 +5815,7 @@ ] }, { - "id": 546, + "id": 548, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -5825,7 +5825,7 @@ }, "signatures": [ { - "id": 547, + "id": 549, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -5859,7 +5859,7 @@ ] }, { - "id": 568, + "id": 570, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -5869,7 +5869,7 @@ }, "signatures": [ { - "id": 569, + "id": 571, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -5897,7 +5897,7 @@ ] }, { - "id": 562, + "id": 564, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -5907,7 +5907,7 @@ }, "signatures": [ { - "id": 563, + "id": 565, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -5919,7 +5919,7 @@ }, "parameters": [ { - "id": 564, + "id": 566, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -5948,7 +5948,7 @@ ] }, { - "id": 570, + "id": 572, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -5958,7 +5958,7 @@ }, "signatures": [ { - "id": 571, + "id": 573, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -5970,7 +5970,7 @@ }, "parameters": [ { - "id": 572, + "id": 574, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6001,7 +6001,7 @@ ] }, { - "id": 474, + "id": 476, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -6010,7 +6010,7 @@ }, "signatures": [ { - "id": 475, + "id": 477, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -6022,7 +6022,7 @@ }, "parameters": [ { - "id": 476, + "id": 478, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6040,7 +6040,7 @@ { "type": "reflection", "declaration": { - "id": 477, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6049,7 +6049,7 @@ }, "children": [ { - "id": 478, + "id": 480, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -6091,7 +6091,7 @@ "title": "Variables", "kind": 32, "children": [ - 478 + 480 ] } ] @@ -6107,7 +6107,7 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6116,7 +6116,7 @@ }, "children": [ { - "id": 480, + "id": 482, "name": "data", "kind": 32, "kindString": "Variable", @@ -6146,7 +6146,7 @@ } }, { - "id": 481, + "id": 483, "name": "error", "kind": 32, "kindString": "Variable", @@ -6180,8 +6180,8 @@ "title": "Variables", "kind": 32, "children": [ - 480, - 481 + 482, + 483 ] } ], @@ -6208,7 +6208,7 @@ ] }, { - "id": 486, + "id": 488, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -6217,7 +6217,7 @@ }, "signatures": [ { - "id": 487, + "id": 489, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -6230,7 +6230,7 @@ }, "parameters": [ { - "id": 488, + "id": 490, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6240,7 +6240,7 @@ "type": { "type": "reflection", "declaration": { - "id": 489, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6249,7 +6249,7 @@ }, "signatures": [ { - "id": 490, + "id": 492, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6258,7 +6258,7 @@ }, "parameters": [ { - "id": 491, + "id": 493, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -6272,7 +6272,7 @@ } }, { - "id": 492, + "id": 494, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -6315,7 +6315,7 @@ "type": { "type": "reflection", "declaration": { - "id": 493, + "id": 495, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6324,7 +6324,7 @@ }, "children": [ { - "id": 494, + "id": 496, "name": "data", "kind": 32, "kindString": "Variable", @@ -6354,7 +6354,7 @@ } }, { - "id": 495, + "id": 497, "name": "error", "kind": 32, "kindString": "Variable", @@ -6388,8 +6388,8 @@ "title": "Variables", "kind": 32, "children": [ - 494, - 495 + 496, + 497 ] } ], @@ -6413,7 +6413,7 @@ ] }, { - "id": 452, + "id": 454, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -6422,7 +6422,7 @@ }, "signatures": [ { - "id": 453, + "id": 455, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -6438,7 +6438,7 @@ { "type": "reflection", "declaration": { - "id": 454, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6447,7 +6447,7 @@ }, "children": [ { - "id": 455, + "id": 457, "name": "data", "kind": 32, "kindString": "Variable", @@ -6477,7 +6477,7 @@ } }, { - "id": 457, + "id": 459, "name": "error", "kind": 32, "kindString": "Variable", @@ -6506,7 +6506,7 @@ } }, { - "id": 456, + "id": 458, "name": "user", "kind": 32, "kindString": "Variable", @@ -6541,9 +6541,9 @@ "title": "Variables", "kind": 32, "children": [ - 455, 457, - 456 + 459, + 458 ] } ], @@ -6570,7 +6570,7 @@ ] }, { - "id": 450, + "id": 452, "name": "session", "kind": 2048, "kindString": "Method", @@ -6579,7 +6579,7 @@ }, "signatures": [ { - "id": 451, + "id": 453, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -6614,7 +6614,7 @@ ] }, { - "id": 471, + "id": 473, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -6623,7 +6623,7 @@ }, "signatures": [ { - "id": 472, + "id": 474, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -6635,7 +6635,7 @@ }, "parameters": [ { - "id": 473, + "id": 475, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -6667,7 +6667,7 @@ ] }, { - "id": 465, + "id": 467, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -6676,7 +6676,7 @@ }, "signatures": [ { - "id": 466, + "id": 468, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -6688,7 +6688,7 @@ }, "parameters": [ { - "id": 467, + "id": 469, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -6710,7 +6710,7 @@ { "type": "reflection", "declaration": { - "id": 468, + "id": 470, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6719,7 +6719,7 @@ }, "children": [ { - "id": 470, + "id": 472, "name": "error", "kind": 32, "kindString": "Variable", @@ -6748,7 +6748,7 @@ } }, { - "id": 469, + "id": 471, "name": "session", "kind": 32, "kindString": "Variable", @@ -6783,8 +6783,8 @@ "title": "Variables", "kind": 32, "children": [ - 470, - 469 + 472, + 471 ] } ], @@ -6811,7 +6811,7 @@ ] }, { - "id": 414, + "id": 416, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -6820,7 +6820,7 @@ }, "signatures": [ { - "id": 415, + "id": 417, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -6832,7 +6832,7 @@ }, "parameters": [ { - "id": 416, + "id": 418, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6843,7 +6843,7 @@ "type": { "type": "reflection", "declaration": { - "id": 417, + "id": 419, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6852,7 +6852,7 @@ }, "children": [ { - "id": 418, + "id": 420, "name": "email", "kind": 32, "kindString": "Variable", @@ -6884,7 +6884,7 @@ } }, { - "id": 420, + "id": 422, "name": "password", "kind": 32, "kindString": "Variable", @@ -6916,7 +6916,7 @@ } }, { - "id": 419, + "id": 421, "name": "phone", "kind": 32, "kindString": "Variable", @@ -6945,7 +6945,7 @@ } }, { - "id": 422, + "id": 424, "name": "provider", "kind": 32, "kindString": "Variable", @@ -7013,7 +7013,7 @@ } }, { - "id": 421, + "id": 423, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -7050,11 +7050,11 @@ "title": "Variables", "kind": 32, "children": [ - 418, 420, - 419, 422, - 421 + 421, + 424, + 423 ] } ], @@ -7069,7 +7069,7 @@ } }, { - "id": 423, + "id": 425, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7079,7 +7079,7 @@ "type": { "type": "reflection", "declaration": { - "id": 424, + "id": 426, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7088,7 +7088,7 @@ }, "children": [ { - "id": 425, + "id": 427, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7118,7 +7118,7 @@ } }, { - "id": 426, + "id": 428, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -7153,8 +7153,8 @@ "title": "Variables", "kind": 32, "children": [ - 425, - 426 + 427, + 428 ] } ], @@ -7176,7 +7176,7 @@ { "type": "reflection", "declaration": { - "id": 427, + "id": 429, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7185,7 +7185,7 @@ }, "children": [ { - "id": 433, + "id": 435, "name": "data", "kind": 32, "kindString": "Variable", @@ -7215,7 +7215,7 @@ } }, { - "id": 432, + "id": 434, "name": "error", "kind": 32, "kindString": "Variable", @@ -7244,7 +7244,7 @@ } }, { - "id": 430, + "id": 432, "name": "provider", "kind": 32, "kindString": "Variable", @@ -7266,7 +7266,7 @@ } }, { - "id": 428, + "id": 430, "name": "session", "kind": 32, "kindString": "Variable", @@ -7296,7 +7296,7 @@ } }, { - "id": 431, + "id": 433, "name": "url", "kind": 32, "kindString": "Variable", @@ -7326,7 +7326,7 @@ } }, { - "id": 429, + "id": 431, "name": "user", "kind": 32, "kindString": "Variable", @@ -7361,12 +7361,12 @@ "title": "Variables", "kind": 32, "children": [ - 433, + 435, + 434, 432, 430, - 428, - 431, - 429 + 433, + 431 ] } ], @@ -7393,7 +7393,7 @@ ] }, { - "id": 482, + "id": 484, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -7402,7 +7402,7 @@ }, "signatures": [ { - "id": 483, + "id": 485, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -7419,7 +7419,7 @@ { "type": "reflection", "declaration": { - "id": 484, + "id": 486, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7428,7 +7428,7 @@ }, "children": [ { - "id": 485, + "id": 487, "name": "error", "kind": 32, "kindString": "Variable", @@ -7462,7 +7462,7 @@ "title": "Variables", "kind": 32, "children": [ - 485 + 487 ] } ], @@ -7489,7 +7489,7 @@ ] }, { - "id": 399, + "id": 401, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -7498,7 +7498,7 @@ }, "signatures": [ { - "id": 400, + "id": 402, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -7510,7 +7510,7 @@ }, "parameters": [ { - "id": 401, + "id": 403, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -7521,7 +7521,7 @@ "type": { "type": "reflection", "declaration": { - "id": 402, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7530,7 +7530,7 @@ }, "children": [ { - "id": 403, + "id": 405, "name": "email", "kind": 32, "kindString": "Variable", @@ -7562,7 +7562,7 @@ } }, { - "id": 404, + "id": 406, "name": "password", "kind": 32, "kindString": "Variable", @@ -7594,7 +7594,7 @@ } }, { - "id": 405, + "id": 407, "name": "phone", "kind": 32, "kindString": "Variable", @@ -7631,9 +7631,9 @@ "title": "Variables", "kind": 32, "children": [ - 403, - 404, - 405 + 405, + 406, + 407 ] } ], @@ -7648,7 +7648,7 @@ } }, { - "id": 406, + "id": 408, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7658,7 +7658,7 @@ "type": { "type": "reflection", "declaration": { - "id": 407, + "id": 409, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7667,7 +7667,7 @@ }, "children": [ { - "id": 408, + "id": 410, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7702,7 +7702,7 @@ "title": "Variables", "kind": 32, "children": [ - 408 + 410 ] } ], @@ -7724,7 +7724,7 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 411, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7733,7 +7733,7 @@ }, "children": [ { - "id": 413, + "id": 415, "name": "data", "kind": 32, "kindString": "Variable", @@ -7768,7 +7768,7 @@ } }, { - "id": 412, + "id": 414, "name": "error", "kind": 32, "kindString": "Variable", @@ -7797,7 +7797,7 @@ } }, { - "id": 411, + "id": 413, "name": "session", "kind": 32, "kindString": "Variable", @@ -7827,7 +7827,7 @@ } }, { - "id": 410, + "id": 412, "name": "user", "kind": 32, "kindString": "Variable", @@ -7862,10 +7862,10 @@ "title": "Variables", "kind": 32, "children": [ + 415, + 414, 413, - 412, - 411, - 410 + 412 ] } ], @@ -7892,7 +7892,7 @@ ] }, { - "id": 458, + "id": 460, "name": "update", "kind": 2048, "kindString": "Method", @@ -7901,7 +7901,7 @@ }, "signatures": [ { - "id": 459, + "id": 461, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -7913,7 +7913,7 @@ }, "parameters": [ { - "id": 460, + "id": 462, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -7933,7 +7933,7 @@ { "type": "reflection", "declaration": { - "id": 461, + "id": 463, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7942,7 +7942,7 @@ }, "children": [ { - "id": 462, + "id": 464, "name": "data", "kind": 32, "kindString": "Variable", @@ -7972,7 +7972,7 @@ } }, { - "id": 464, + "id": 466, "name": "error", "kind": 32, "kindString": "Variable", @@ -8001,7 +8001,7 @@ } }, { - "id": 463, + "id": 465, "name": "user", "kind": 32, "kindString": "Variable", @@ -8036,9 +8036,9 @@ "title": "Variables", "kind": 32, "children": [ - 462, 464, - 463 + 466, + 465 ] } ], @@ -8065,7 +8065,7 @@ ] }, { - "id": 448, + "id": 450, "name": "user", "kind": 2048, "kindString": "Method", @@ -8074,7 +8074,7 @@ }, "signatures": [ { - "id": 449, + "id": 451, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -8110,7 +8110,7 @@ ] }, { - "id": 434, + "id": 436, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -8119,7 +8119,7 @@ }, "signatures": [ { - "id": 435, + "id": 437, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -8131,7 +8131,7 @@ }, "parameters": [ { - "id": 436, + "id": 438, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8142,7 +8142,7 @@ "type": { "type": "reflection", "declaration": { - "id": 437, + "id": 439, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8151,7 +8151,7 @@ }, "children": [ { - "id": 438, + "id": 440, "name": "phone", "kind": 32, "kindString": "Variable", @@ -8174,7 +8174,7 @@ } }, { - "id": 439, + "id": 441, "name": "token", "kind": 32, "kindString": "Variable", @@ -8202,8 +8202,8 @@ "title": "Variables", "kind": 32, "children": [ - 438, - 439 + 440, + 441 ] } ], @@ -8218,7 +8218,7 @@ } }, { - "id": 440, + "id": 442, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8228,7 +8228,7 @@ "type": { "type": "reflection", "declaration": { - "id": 441, + "id": 443, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8237,7 +8237,7 @@ }, "children": [ { - "id": 442, + "id": 444, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -8272,7 +8272,7 @@ "title": "Variables", "kind": 32, "children": [ - 442 + 444 ] } ], @@ -8294,7 +8294,7 @@ { "type": "reflection", "declaration": { - "id": 443, + "id": 445, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8303,7 +8303,7 @@ }, "children": [ { - "id": 447, + "id": 449, "name": "data", "kind": 32, "kindString": "Variable", @@ -8338,7 +8338,7 @@ } }, { - "id": 446, + "id": 448, "name": "error", "kind": 32, "kindString": "Variable", @@ -8367,7 +8367,7 @@ } }, { - "id": 445, + "id": 447, "name": "session", "kind": 32, "kindString": "Variable", @@ -8397,7 +8397,7 @@ } }, { - "id": 444, + "id": 446, "name": "user", "kind": 32, "kindString": "Variable", @@ -8432,10 +8432,10 @@ "title": "Variables", "kind": 32, "children": [ + 449, + 448, 447, - 446, - 445, - 444 + 446 ] } ], @@ -8467,50 +8467,50 @@ "title": "Constructors", "kind": 512, "children": [ - 385 + 387 ] }, { "title": "Properties", "kind": 1024, "children": [ - 377, - 380, 379, - 378, 382, 381, + 380, 384, - 383 + 383, + 386, + 385 ] }, { "title": "Methods", "kind": 2048, "children": [ + 552, + 498, + 515, + 529, + 561, + 567, 550, - 496, - 513, - 527, - 559, - 565, 548, - 546, - 568, - 562, 570, - 474, - 486, + 564, + 572, + 476, + 488, + 454, 452, + 473, + 467, + 416, + 484, + 401, + 460, 450, - 471, - 465, - 414, - 482, - 399, - 458, - 448, - 434 + 436 ] } ], @@ -8523,7 +8523,7 @@ ] }, { - "id": 573, + "id": 575, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -8532,7 +8532,7 @@ }, "children": [ { - "id": 575, + "id": 577, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -8551,7 +8551,7 @@ "defaultValue": "true" }, { - "id": 578, + "id": 580, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8570,7 +8570,7 @@ "defaultValue": "true" }, { - "id": 579, + "id": 581, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8585,17 +8585,47 @@ "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 582, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": {} + "flags": {}, + "children": [ + { + "id": 583, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 4, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`gotrue-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 583 + ] + } + ] } }, "defaultValue": "DEFAULT_HEADERS" }, { - "id": 577, + "id": 579, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -8614,7 +8644,7 @@ "defaultValue": "globalThis.localStorage" }, { - "id": 576, + "id": 578, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8633,7 +8663,7 @@ "defaultValue": "true" }, { - "id": 574, + "id": 576, "name": "url", "kind": 32, "kindString": "Variable", @@ -8657,12 +8687,12 @@ "title": "Variables", "kind": 32, "children": [ - 575, - 578, - 579, 577, - 576, - 574 + 580, + 581, + 579, + 578, + 576 ] } ], @@ -8684,14 +8714,14 @@ "title": "Classes", "kind": 128, "children": [ - 376 + 378 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 573 + 575 ] } ], @@ -8704,7 +8734,7 @@ ] }, { - "id": 581, + "id": 584, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -8714,7 +8744,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 583, + "id": 586, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -8724,7 +8754,7 @@ "target": 113 }, { - "id": 588, + "id": 591, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -8734,7 +8764,7 @@ "target": 97 }, { - "id": 582, + "id": 585, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -8744,7 +8774,7 @@ "target": 112 }, { - "id": 584, + "id": 587, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -8754,7 +8784,7 @@ "target": 50 }, { - "id": 587, + "id": 590, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -8764,7 +8794,7 @@ "target": 87 }, { - "id": 585, + "id": 588, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -8774,7 +8804,7 @@ "target": 58 }, { - "id": 586, + "id": 589, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -8784,7 +8814,7 @@ "target": 82 }, { - "id": 589, + "id": 592, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -8794,7 +8824,7 @@ "target": 103 }, { - "id": 590, + "id": 593, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -8809,15 +8839,15 @@ "title": "References", "kind": 16777216, "children": [ - 583, - 588, - 582, - 584, - 587, - 585, 586, + 591, + 585, + 587, + 590, + 588, 589, - 590 + 592, + 593 ] } ], @@ -8830,7 +8860,7 @@ ] }, { - "id": 114, + "id": 116, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -8840,7 +8870,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts", "children": [ { - "id": 116, + "id": 118, "name": "AUDIENCE", "kind": 32, "kindString": "Variable", @@ -8851,7 +8881,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 2, + "line": 3, "character": 21 } ], @@ -8862,36 +8892,7 @@ "defaultValue": "\"\"" }, { - "id": 117, - "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isConst": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 3, - "character": 28 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 118, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - } - } - } - }, - { - "id": 119, + "id": 121, "name": "EXPIRY_MARGIN", "kind": 32, "kindString": "Variable", @@ -8902,7 +8903,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 4, + "line": 5, "character": 26 } ], @@ -8913,7 +8914,7 @@ "defaultValue": "60 * 1000" }, { - "id": 115, + "id": 117, "name": "GOTRUE_URL", "kind": 32, "kindString": "Variable", @@ -8924,7 +8925,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 1, + "line": 2, "character": 23 } ], @@ -8935,7 +8936,7 @@ "defaultValue": "\"http://localhost:9999\"" }, { - "id": 120, + "id": 122, "name": "STORAGE_KEY", "kind": 32, "kindString": "Variable", @@ -8946,7 +8947,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 5, + "line": 6, "character": 24 } ], @@ -8957,7 +8958,7 @@ "defaultValue": "\"supabase.auth.token\"" }, { - "id": 121, + "id": 123, "name": "COOKIE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -8967,7 +8968,7 @@ }, "children": [ { - "id": 124, + "id": 126, "name": "domain", "kind": 32, "kindString": "Variable", @@ -8977,7 +8978,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 9, + "line": 10, "character": 8 } ], @@ -8988,7 +8989,7 @@ "defaultValue": "\"\"" }, { - "id": 123, + "id": 125, "name": "lifetime", "kind": 32, "kindString": "Variable", @@ -8998,7 +8999,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 8, + "line": 9, "character": 10 } ], @@ -9009,7 +9010,7 @@ "defaultValue": "60 * 60 * 8" }, { - "id": 122, + "id": 124, "name": "name", "kind": 32, "kindString": "Variable", @@ -9019,7 +9020,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 7, + "line": 8, "character": 6 } ], @@ -9030,7 +9031,7 @@ "defaultValue": "\"sb:token\"" }, { - "id": 125, + "id": 127, "name": "path", "kind": 32, "kindString": "Variable", @@ -9040,7 +9041,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 10, + "line": 11, "character": 6 } ], @@ -9051,7 +9052,7 @@ "defaultValue": "\"/\"" }, { - "id": 126, + "id": 128, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9061,7 +9062,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 11, + "line": 12, "character": 10 } ], @@ -9077,18 +9078,18 @@ "title": "Variables", "kind": 32, "children": [ - 124, - 123, - 122, + 126, 125, - 126 + 124, + 127, + 128 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 6, + "line": 7, "character": 27 } ], @@ -9096,6 +9097,59 @@ "type": "intrinsic", "name": "object" } + }, + { + "id": 119, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 120, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 4, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`gotrue-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 120 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 4, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } } ], "groups": [ @@ -9103,18 +9157,18 @@ "title": "Variables", "kind": 32, "children": [ - 116, + 118, + 121, 117, - 119, - 115, - 120 + 122 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 121 + 123, + 119 ] } ], @@ -9127,7 +9181,7 @@ ] }, { - "id": 127, + "id": 129, "name": "\"lib/cookies\"", "kind": 1, "kindString": "Module", @@ -9137,7 +9191,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts", "children": [ { - "id": 128, + "id": 130, "name": "Cookie", "kind": 4194304, "kindString": "Type alias", @@ -9152,14 +9206,14 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 133, + "id": 135, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9188,7 +9242,7 @@ } }, { - "id": 132, + "id": 134, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -9206,7 +9260,7 @@ } }, { - "id": 130, + "id": 132, "name": "name", "kind": 32, "kindString": "Variable", @@ -9224,7 +9278,7 @@ } }, { - "id": 134, + "id": 136, "name": "path", "kind": 32, "kindString": "Variable", @@ -9253,7 +9307,7 @@ } }, { - "id": 135, + "id": 137, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9282,7 +9336,7 @@ } }, { - "id": 131, + "id": 133, "name": "value", "kind": 32, "kindString": "Variable", @@ -9305,12 +9359,12 @@ "title": "Variables", "kind": 32, "children": [ - 133, - 132, - 130, - 134, 135, - 131 + 134, + 132, + 136, + 137, + 133 ] } ], @@ -9325,7 +9379,7 @@ } }, { - "id": 166, + "id": 168, "name": "deleteCookie", "kind": 64, "kindString": "Function", @@ -9334,7 +9388,7 @@ }, "signatures": [ { - "id": 167, + "id": 169, "name": "deleteCookie", "kind": 4096, "kindString": "Call signature", @@ -9343,7 +9397,7 @@ }, "parameters": [ { - "id": 168, + "id": 170, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9356,7 +9410,7 @@ } }, { - "id": 169, + "id": 171, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9369,7 +9423,7 @@ } }, { - "id": 170, + "id": 172, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -9397,14 +9451,14 @@ ] }, { - "id": 149, + "id": 151, "name": "isSecureEnvironment", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 150, + "id": 152, "name": "isSecureEnvironment", "kind": 4096, "kindString": "Call signature", @@ -9414,7 +9468,7 @@ }, "parameters": [ { - "id": 151, + "id": 153, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9440,14 +9494,14 @@ ] }, { - "id": 136, + "id": 138, "name": "serialize", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 137, + "id": 139, "name": "serialize", "kind": 4096, "kindString": "Call signature", @@ -9457,7 +9511,7 @@ }, "parameters": [ { - "id": 138, + "id": 140, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -9468,7 +9522,7 @@ } }, { - "id": 139, + "id": 141, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -9479,7 +9533,7 @@ } }, { - "id": 140, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9487,14 +9541,14 @@ "type": { "type": "reflection", "declaration": { - "id": 141, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 143, + "id": 145, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9512,7 +9566,7 @@ } }, { - "id": 145, + "id": 147, "name": "expires", "kind": 32, "kindString": "Variable", @@ -9530,7 +9584,7 @@ } }, { - "id": 146, + "id": 148, "name": "httpOnly", "kind": 32, "kindString": "Variable", @@ -9548,7 +9602,7 @@ } }, { - "id": 142, + "id": 144, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -9566,7 +9620,7 @@ } }, { - "id": 144, + "id": 146, "name": "path", "kind": 32, "kindString": "Variable", @@ -9584,7 +9638,7 @@ } }, { - "id": 148, + "id": 150, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9602,7 +9656,7 @@ } }, { - "id": 147, + "id": 149, "name": "secure", "kind": 32, "kindString": "Variable", @@ -9625,13 +9679,13 @@ "title": "Variables", "kind": 32, "children": [ - 143, 145, - 146, - 142, - 144, + 147, 148, - 147 + 144, + 146, + 150, + 149 ] } ], @@ -9661,14 +9715,14 @@ ] }, { - "id": 152, + "id": 154, "name": "serializeCookie", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 153, + "id": 155, "name": "serializeCookie", "kind": 4096, "kindString": "Call signature", @@ -9678,19 +9732,19 @@ }, "parameters": [ { - "id": 154, + "id": 156, "name": "cookie", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 128, + "id": 130, "name": "Cookie" } }, { - "id": 155, + "id": 157, "name": "secure", "kind": 32768, "kindString": "Parameter", @@ -9716,7 +9770,7 @@ ] }, { - "id": 161, + "id": 163, "name": "setCookie", "kind": 64, "kindString": "Function", @@ -9725,7 +9779,7 @@ }, "signatures": [ { - "id": 162, + "id": 164, "name": "setCookie", "kind": 4096, "kindString": "Call signature", @@ -9737,7 +9791,7 @@ }, "parameters": [ { - "id": 163, + "id": 165, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9750,7 +9804,7 @@ } }, { - "id": 164, + "id": 166, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9763,7 +9817,7 @@ } }, { - "id": 165, + "id": 167, "name": "cookie", "kind": 32768, "kindString": "Parameter", @@ -9772,7 +9826,7 @@ }, "type": { "type": "reference", - "id": 128, + "id": 130, "name": "Cookie" } } @@ -9792,7 +9846,7 @@ ] }, { - "id": 156, + "id": 158, "name": "setCookies", "kind": 64, "kindString": "Function", @@ -9801,7 +9855,7 @@ }, "signatures": [ { - "id": 157, + "id": 159, "name": "setCookies", "kind": 4096, "kindString": "Call signature", @@ -9813,7 +9867,7 @@ }, "parameters": [ { - "id": 158, + "id": 160, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9826,7 +9880,7 @@ } }, { - "id": 159, + "id": 161, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9839,7 +9893,7 @@ } }, { - "id": 160, + "id": 162, "name": "cookies", "kind": 32768, "kindString": "Parameter", @@ -9851,7 +9905,7 @@ "typeArguments": [ { "type": "reference", - "id": 128, + "id": 130, "name": "Cookie" } ], @@ -9879,19 +9933,19 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 128 + 130 ] }, { "title": "Functions", "kind": 64, "children": [ - 166, - 149, - 136, - 152, - 161, - 156 + 168, + 151, + 138, + 154, + 163, + 158 ] } ], @@ -10731,7 +10785,7 @@ ] }, { - "id": 171, + "id": 173, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -10741,7 +10795,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts", "children": [ { - "id": 172, + "id": 174, "name": "LocalStorage", "kind": 128, "kindString": "Class", @@ -10750,7 +10804,7 @@ }, "indexSignature": [ { - "id": 174, + "id": 176, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -10759,7 +10813,7 @@ }, "parameters": [ { - "id": 175, + "id": 177, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -10780,7 +10834,7 @@ ], "children": [ { - "id": 177, + "id": 179, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10789,7 +10843,7 @@ }, "signatures": [ { - "id": 178, + "id": 180, "name": "new LocalStorage", "kind": 16384, "kindString": "Constructor signature", @@ -10798,7 +10852,7 @@ }, "parameters": [ { - "id": 179, + "id": 181, "name": "localStorage", "kind": 32768, "kindString": "Parameter", @@ -10813,7 +10867,7 @@ ], "type": { "type": "reference", - "id": 172, + "id": 174, "name": "LocalStorage" } } @@ -10827,7 +10881,7 @@ ] }, { - "id": 176, + "id": 178, "name": "length", "kind": 1024, "kindString": "Property", @@ -10847,7 +10901,7 @@ } }, { - "id": 173, + "id": 175, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -10867,7 +10921,7 @@ } }, { - "id": 180, + "id": 182, "name": "clear", "kind": 2048, "kindString": "Method", @@ -10876,7 +10930,7 @@ }, "signatures": [ { - "id": 181, + "id": 183, "name": "clear", "kind": 4096, "kindString": "Call signature", @@ -10898,7 +10952,7 @@ ] }, { - "id": 189, + "id": 191, "name": "getItem", "kind": 2048, "kindString": "Method", @@ -10907,7 +10961,7 @@ }, "signatures": [ { - "id": 190, + "id": 192, "name": "getItem", "kind": 4096, "kindString": "Call signature", @@ -10916,7 +10970,7 @@ }, "parameters": [ { - "id": 191, + "id": 193, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -10953,7 +11007,7 @@ ] }, { - "id": 182, + "id": 184, "name": "key", "kind": 2048, "kindString": "Method", @@ -10962,7 +11016,7 @@ }, "signatures": [ { - "id": 183, + "id": 185, "name": "key", "kind": 4096, "kindString": "Call signature", @@ -10971,7 +11025,7 @@ }, "parameters": [ { - "id": 184, + "id": 186, "name": "index", "kind": 32768, "kindString": "Parameter", @@ -11008,7 +11062,7 @@ ] }, { - "id": 192, + "id": 194, "name": "removeItem", "kind": 2048, "kindString": "Method", @@ -11017,7 +11071,7 @@ }, "signatures": [ { - "id": 193, + "id": 195, "name": "removeItem", "kind": 4096, "kindString": "Call signature", @@ -11026,7 +11080,7 @@ }, "parameters": [ { - "id": 194, + "id": 196, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -11054,7 +11108,7 @@ ] }, { - "id": 185, + "id": 187, "name": "setItem", "kind": 2048, "kindString": "Method", @@ -11063,7 +11117,7 @@ }, "signatures": [ { - "id": 186, + "id": 188, "name": "setItem", "kind": 4096, "kindString": "Call signature", @@ -11072,7 +11126,7 @@ }, "parameters": [ { - "id": 187, + "id": 189, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -11085,7 +11139,7 @@ } }, { - "id": 188, + "id": 190, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -11118,26 +11172,26 @@ "title": "Constructors", "kind": 512, "children": [ - 177 + 179 ] }, { "title": "Properties", "kind": 1024, "children": [ - 176, - 173 + 178, + 175 ] }, { "title": "Methods", "kind": 2048, "children": [ - 180, - 189, 182, - 192, - 185 + 191, + 184, + 194, + 187 ] } ], @@ -11156,7 +11210,7 @@ ] }, { - "id": 195, + "id": 197, "name": "expiresAt", "kind": 64, "kindString": "Function", @@ -11165,7 +11219,7 @@ }, "signatures": [ { - "id": 196, + "id": 198, "name": "expiresAt", "kind": 4096, "kindString": "Call signature", @@ -11174,7 +11228,7 @@ }, "parameters": [ { - "id": 197, + "id": 199, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -11202,7 +11256,7 @@ ] }, { - "id": 202, + "id": 204, "name": "getParameterByName", "kind": 64, "kindString": "Function", @@ -11211,7 +11265,7 @@ }, "signatures": [ { - "id": 203, + "id": 205, "name": "getParameterByName", "kind": 4096, "kindString": "Call signature", @@ -11220,7 +11274,7 @@ }, "parameters": [ { - "id": 204, + "id": 206, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -11233,7 +11287,7 @@ } }, { - "id": 205, + "id": 207, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -11280,7 +11334,7 @@ ] }, { - "id": 200, + "id": 202, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -11290,7 +11344,7 @@ }, "signatures": [ { - "id": 201, + "id": 203, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -11312,7 +11366,7 @@ ] }, { - "id": 198, + "id": 200, "name": "uuid", "kind": 64, "kindString": "Function", @@ -11321,7 +11375,7 @@ }, "signatures": [ { - "id": 199, + "id": 201, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -11348,17 +11402,17 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 174 ] }, { "title": "Functions", "kind": 64, "children": [ - 195, + 197, + 204, 202, - 200, - 198 + 200 ] } ], @@ -11371,7 +11425,7 @@ ] }, { - "id": 372, + "id": 374, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -11381,7 +11435,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 373, + "id": 375, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -11390,7 +11444,7 @@ }, "signatures": [ { - "id": 374, + "id": 376, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -11420,7 +11474,7 @@ "title": "Functions", "kind": 64, "children": [ - 373 + 375 ] } ], @@ -13188,6 +13242,56 @@ "character": 0 } ] + }, + { + "id": 114, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts", + "children": [ + { + "id": 115, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 115 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -13195,15 +13299,16 @@ "title": "Modules", "kind": 1, "children": [ - 206, - 375, - 581, - 114, - 127, + 208, + 377, + 584, + 116, + 129, 1, - 171, - 372, - 49 + 173, + 374, + 49, + 114 ] } ] diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json index 0ec28f506b5..6e9089b8e35 100644 --- a/web/spec/postgrest.json +++ b/web/spec/postgrest.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 443, + "id": 448, "name": "\"PostgrestClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 444, + "id": 449, "name": "PostgrestClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 451, + "id": 456, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37,7 +37,7 @@ }, "signatures": [ { - "id": 452, + "id": 457, "name": "new PostgrestClient", "kind": 16384, "kindString": "Constructor signature", @@ -49,7 +49,7 @@ }, "parameters": [ { - "id": 453, + "id": 458, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -65,7 +65,7 @@ } }, { - "id": 454, + "id": 459, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -76,7 +76,7 @@ "type": { "type": "reflection", "declaration": { - "id": 455, + "id": 460, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -85,7 +85,7 @@ }, "children": [ { - "id": 456, + "id": 461, "name": "headers", "kind": 32, "kindString": "Variable", @@ -98,14 +98,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 13 } ], "type": { "type": "reflection", "declaration": { - "id": 457, + "id": 462, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -114,7 +114,7 @@ }, "indexSignature": [ { - "id": 458, + "id": 463, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -123,7 +123,7 @@ }, "parameters": [ { - "id": 459, + "id": 464, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -146,7 +146,7 @@ } }, { - "id": 460, + "id": 465, "name": "schema", "kind": 32, "kindString": "Variable", @@ -159,7 +159,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 19, + "line": 20, "character": 26 } ], @@ -183,15 +183,15 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 460 + 461, + 465 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 18, + "line": 19, "character": 16 } ] @@ -202,7 +202,7 @@ ], "type": { "type": "reference", - "id": 444, + "id": 449, "name": "PostgrestClient" } } @@ -210,13 +210,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 17 } ] }, { - "id": 446, + "id": 451, "name": "headers", "kind": 1024, "kindString": "Property", @@ -226,14 +226,14 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 447, + "id": 452, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -242,7 +242,7 @@ }, "indexSignature": [ { - "id": 448, + "id": 453, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -251,7 +251,7 @@ }, "parameters": [ { - "id": 449, + "id": 454, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -273,7 +273,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 7, + "line": 8, "character": 10 } ] @@ -281,7 +281,7 @@ } }, { - "id": 450, + "id": 455, "name": "schema", "kind": 1024, "kindString": "Property", @@ -292,7 +292,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 8, + "line": 9, "character": 8 } ], @@ -311,7 +311,7 @@ } }, { - "id": 445, + "id": 450, "name": "url", "kind": 1024, "kindString": "Property", @@ -321,7 +321,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 6, + "line": 7, "character": 5 } ], @@ -331,7 +331,7 @@ } }, { - "id": 461, + "id": 466, "name": "auth", "kind": 2048, "kindString": "Method", @@ -340,7 +340,7 @@ }, "signatures": [ { - "id": 462, + "id": 467, "name": "auth", "kind": 4096, "kindString": "Call signature", @@ -352,7 +352,7 @@ }, "parameters": [ { - "id": 463, + "id": 468, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -377,13 +377,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 31, + "line": 32, "character": 6 } ] }, { - "id": 464, + "id": 469, "name": "from", "kind": 2048, "kindString": "Method", @@ -392,7 +392,7 @@ }, "signatures": [ { - "id": 465, + "id": 470, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -404,7 +404,7 @@ }, "typeParameter": [ { - "id": 466, + "id": 471, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -415,7 +415,7 @@ ], "parameters": [ { - "id": 467, + "id": 472, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -451,13 +451,13 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 41, + "line": 42, "character": 6 } ] }, { - "id": 468, + "id": 473, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -466,7 +466,7 @@ }, "signatures": [ { - "id": 469, + "id": 474, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -474,11 +474,11 @@ "isExported": true }, "comment": { - "shortText": "Perform a stored procedure call." + "shortText": "Perform a function call." }, "typeParameter": [ { - "id": 470, + "id": 475, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -489,7 +489,7 @@ ], "parameters": [ { - "id": 471, + "id": 476, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -505,7 +505,7 @@ } }, { - "id": 472, + "id": 477, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -531,7 +531,7 @@ } }, { - "id": 473, + "id": 478, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -542,7 +542,7 @@ "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 479, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -551,7 +551,7 @@ }, "children": [ { - "id": 475, + "id": 480, "name": "count", "kind": 32, "kindString": "Variable", @@ -564,7 +564,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 57, + "line": 58, "character": 11 } ], @@ -597,14 +597,14 @@ "title": "Variables", "kind": 32, "children": [ - 475 + 480 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 55, + "line": 56, "character": 20 } ] @@ -633,7 +633,7 @@ "sources": [ { "fileName": "PostgrestClient.ts", - "line": 53, + "line": 54, "character": 5 } ] @@ -644,32 +644,32 @@ "title": "Constructors", "kind": 512, "children": [ - 451 + 456 ] }, { "title": "Properties", "kind": 1024, "children": [ - 446, - 450, - 445 + 451, + 455, + 450 ] }, { "title": "Methods", "kind": 2048, "children": [ - 461, - 464, - 468 + 466, + 469, + 473 ] } ], "sources": [ { "fileName": "PostgrestClient.ts", - "line": 5, + "line": 6, "character": 36 } ] @@ -680,7 +680,7 @@ "title": "Classes", "kind": 128, "children": [ - 444 + 449 ] } ], @@ -693,7 +693,7 @@ ] }, { - "id": 476, + "id": 481, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -7891,7 +7891,7 @@ "isExported": true }, "comment": { - "shortText": "Perform a stored procedure call." + "shortText": "Perform a function call." }, "parameters": [ { @@ -9922,6 +9922,87 @@ } ] }, + { + "id": 445, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", + "children": [ + { + "id": 446, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 447, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`postgrest-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 447 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 446 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/types\"", @@ -11531,6 +11612,56 @@ "character": 0 } ] + }, + { + "id": 443, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", + "children": [ + { + "id": 444, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0-automated" + }, + "defaultValue": "\"0.0.0-automated\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 444 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -11538,13 +11669,15 @@ "title": "Modules", "kind": 1, "children": [ - 443, - 476, + 448, + 481, 126, 321, 401, 67, - 1 + 445, + 1, + 443 ] } ] diff --git a/web/spec/realtime.json b/web/spec/realtime.json index a204988b1d8..6dd7a8be4ca 100644 --- a/web/spec/realtime.json +++ b/web/spec/realtime.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 196, + "id": 200, "name": "\"RealtimeClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts", "children": [ { - "id": 197, + "id": 201, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 228, + "id": 232, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37,7 +37,7 @@ }, "signatures": [ { - "id": 229, + "id": 233, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -49,7 +49,7 @@ }, "parameters": [ { - "id": 230, + "id": 234, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -65,7 +65,7 @@ } }, { - "id": 231, + "id": 235, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -75,14 +75,14 @@ }, "type": { "type": "reference", - "id": 303, + "id": 307, "name": "Options" } } ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } @@ -90,13 +90,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 65, + "line": 66, "character": 3 } ] }, { - "id": 198, + "id": 202, "name": "channels", "kind": 1024, "kindString": "Property", @@ -106,7 +106,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 36, + "line": 37, "character": 10 } ], @@ -114,14 +114,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, "defaultValue": "[]" }, { - "id": 220, + "id": 224, "name": "conn", "kind": 1024, "kindString": "Property", @@ -131,7 +131,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 52, + "line": 53, "character": 6 } ], @@ -151,13 +151,33 @@ "defaultValue": "null" }, { - "id": 218, + "id": 222, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 221, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -171,27 +191,7 @@ } }, { - "id": 217, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 199, + "id": 203, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -201,7 +201,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 37, + "line": 38, "character": 10 } ], @@ -212,7 +212,7 @@ "defaultValue": "\"\"" }, { - "id": 200, + "id": 204, "name": "headers", "kind": 1024, "kindString": "Property", @@ -220,181 +220,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 38, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 202, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 203, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 210, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 42, - "character": 21 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 212, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "query", - "queryType": { - "type": "reference", - "name": "setInterval" - } - } - ], - "name": "ReturnType" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 216, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 48, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 211, - "name": "longpollerTimeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "20000" - }, - { - "id": 204, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 39, - "character": 8 + "character": 9 } ], "type": { @@ -447,11 +277,33 @@ } } ] - } + }, + "defaultValue": "DEFAULT_HEADERS" }, { - "id": 213, - "name": "pendingHeartbeatRef", + "id": 214, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 216, + "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", "flags": { @@ -461,6 +313,155 @@ { "fileName": "RealtimeClient.ts", "line": 45, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "setInterval" + } + } + ], + "name": "ReturnType" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 220, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 215, + "name": "longpollerTimeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20000" + }, + { + "id": 208, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 40, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 210, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 211, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 217, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 46, "character": 21 } ], @@ -480,7 +481,7 @@ "defaultValue": "null" }, { - "id": 219, + "id": 223, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -490,7 +491,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 51, + "line": 52, "character": 18 } ], @@ -500,7 +501,7 @@ } }, { - "id": 215, + "id": 219, "name": "reconnectTimer", "kind": 1024, "kindString": "Property", @@ -510,18 +511,18 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 47, + "line": 48, "character": 16 } ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 214, + "id": 218, "name": "ref", "kind": 1024, "kindString": "Property", @@ -531,7 +532,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 46, + "line": 47, "character": 5 } ], @@ -542,37 +543,13 @@ "defaultValue": "0" }, { - "id": 221, + "id": 225, "name": "sendBuffer", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 53, - "character": 12 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Function" - } - }, - "defaultValue": "[]" - }, - { - "id": 222, - "name": "serializer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -580,15 +557,39 @@ "character": 12 } ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "Function" + } + }, + "defaultValue": "[]" + }, + { + "id": 226, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 55, + "character": 12 + } + ], "type": { "type": "reference", - "id": 172, + "id": 176, "name": "Serializer" }, "defaultValue": "new Serializer()" }, { - "id": 208, + "id": 212, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -598,7 +599,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 9 } ], @@ -609,7 +610,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 209, + "id": 213, "name": "transport", "kind": 1024, "kindString": "Property", @@ -619,7 +620,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 11 } ], @@ -630,7 +631,7 @@ "defaultValue": "WebSocket" }, { - "id": 290, + "id": 294, "name": "_appendParams", "kind": 2048, "kindString": "Method", @@ -640,7 +641,7 @@ }, "signatures": [ { - "id": 291, + "id": 295, "name": "_appendParams", "kind": 4096, "kindString": "Call signature", @@ -649,7 +650,7 @@ }, "parameters": [ { - "id": 292, + "id": 296, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -662,7 +663,7 @@ } }, { - "id": 293, + "id": 297, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -672,7 +673,7 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -681,7 +682,7 @@ }, "indexSignature": [ { - "id": 295, + "id": 299, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -690,7 +691,7 @@ }, "parameters": [ { - "id": 296, + "id": 300, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -712,7 +713,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 44 } ] @@ -729,13 +730,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 23 } ] }, { - "id": 297, + "id": 301, "name": "_flushSendBuffer", "kind": 2048, "kindString": "Method", @@ -745,7 +746,7 @@ }, "signatures": [ { - "id": 298, + "id": 302, "name": "_flushSendBuffer", "kind": 4096, "kindString": "Call signature", @@ -761,13 +762,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 357, + "line": 358, "character": 26 } ] }, { - "id": 282, + "id": 286, "name": "_onConnClose", "kind": 2048, "kindString": "Method", @@ -777,7 +778,7 @@ }, "signatures": [ { - "id": 283, + "id": 287, "name": "_onConnClose", "kind": 4096, "kindString": "Call signature", @@ -786,7 +787,7 @@ }, "parameters": [ { - "id": 284, + "id": 288, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -808,13 +809,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 327, + "line": 328, "character": 22 } ] }, { - "id": 285, + "id": 289, "name": "_onConnError", "kind": 2048, "kindString": "Method", @@ -824,7 +825,7 @@ }, "signatures": [ { - "id": 286, + "id": 290, "name": "_onConnError", "kind": 4096, "kindString": "Call signature", @@ -833,7 +834,7 @@ }, "parameters": [ { - "id": 287, + "id": 291, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -855,13 +856,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 335, + "line": 336, "character": 22 } ] }, { - "id": 280, + "id": 284, "name": "_onConnOpen", "kind": 2048, "kindString": "Method", @@ -871,7 +872,7 @@ }, "signatures": [ { - "id": 281, + "id": 285, "name": "_onConnOpen", "kind": 4096, "kindString": "Call signature", @@ -887,13 +888,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 319, + "line": 320, "character": 21 } ] }, { - "id": 299, + "id": 303, "name": "_resetHeartbeat", "kind": 2048, "kindString": "Method", @@ -903,7 +904,7 @@ }, "signatures": [ { - "id": 300, + "id": 304, "name": "_resetHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -919,13 +920,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 364, + "line": 365, "character": 25 } ] }, { - "id": 301, + "id": 305, "name": "_sendHeartbeat", "kind": 2048, "kindString": "Method", @@ -935,7 +936,7 @@ }, "signatures": [ { - "id": 302, + "id": 306, "name": "_sendHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -951,13 +952,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 373, + "line": 374, "character": 24 } ] }, { - "id": 288, + "id": 292, "name": "_triggerChanError", "kind": 2048, "kindString": "Method", @@ -967,7 +968,7 @@ }, "signatures": [ { - "id": 289, + "id": 293, "name": "_triggerChanError", "kind": 4096, "kindString": "Call signature", @@ -983,13 +984,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 341, + "line": 342, "character": 27 } ] }, { - "id": 265, + "id": 269, "name": "channel", "kind": 2048, "kindString": "Method", @@ -998,7 +999,7 @@ }, "signatures": [ { - "id": 266, + "id": 270, "name": "channel", "kind": 4096, "kindString": "Call signature", @@ -1007,7 +1008,7 @@ }, "parameters": [ { - "id": 267, + "id": 271, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -1020,7 +1021,7 @@ } }, { - "id": 268, + "id": 272, "name": "chanParams", "kind": 32768, "kindString": "Parameter", @@ -1030,7 +1031,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1044,7 +1045,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -1052,13 +1053,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 249, + "line": 250, "character": 9 } ] }, { - "id": 232, + "id": 236, "name": "connect", "kind": 2048, "kindString": "Method", @@ -1067,7 +1068,7 @@ }, "signatures": [ { - "id": 233, + "id": 237, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -1086,13 +1087,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 117, + "line": 118, "character": 9 } ] }, { - "id": 258, + "id": 262, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -1101,7 +1102,7 @@ }, "signatures": [ { - "id": 259, + "id": 263, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -1137,13 +1138,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 218, + "line": 219, "character": 17 } ] }, { - "id": 234, + "id": 238, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -1152,7 +1153,7 @@ }, "signatures": [ { - "id": 235, + "id": 239, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -1164,7 +1165,7 @@ }, "parameters": [ { - "id": 236, + "id": 240, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -1190,7 +1191,7 @@ } }, { - "id": 237, + "id": 241, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -1222,7 +1223,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1231,7 +1232,7 @@ }, "children": [ { - "id": 240, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -1241,7 +1242,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 40 } ], @@ -1251,7 +1252,7 @@ } }, { - "id": 239, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -1261,7 +1262,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 20 } ], @@ -1285,15 +1286,15 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 244, + 243 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 142, + "line": 143, "character": 13 } ] @@ -1307,13 +1308,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 139, + "line": 140, "character": 12 } ] }, { - "id": 276, + "id": 280, "name": "endPointURL", "kind": 2048, "kindString": "Method", @@ -1322,7 +1323,7 @@ }, "signatures": [ { - "id": 277, + "id": 281, "name": "endPointURL", "kind": 4096, "kindString": "Call signature", @@ -1341,13 +1342,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 298, + "line": 299, "character": 13 } ] }, { - "id": 260, + "id": 264, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -1356,7 +1357,7 @@ }, "signatures": [ { - "id": 261, + "id": 265, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -1375,13 +1376,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 234, + "line": 235, "character": 13 } ] }, { - "id": 241, + "id": 245, "name": "log", "kind": 2048, "kindString": "Method", @@ -1390,7 +1391,7 @@ }, "signatures": [ { - "id": 242, + "id": 246, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -1402,7 +1403,7 @@ }, "parameters": [ { - "id": 243, + "id": 247, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -1415,7 +1416,7 @@ } }, { - "id": 244, + "id": 248, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -1428,7 +1429,7 @@ } }, { - "id": 245, + "id": 249, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -1451,13 +1452,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 167, + "line": 168, "character": 5 } ] }, { - "id": 278, + "id": 282, "name": "makeRef", "kind": 2048, "kindString": "Method", @@ -1466,7 +1467,7 @@ }, "signatures": [ { - "id": 279, + "id": 283, "name": "makeRef", "kind": 4096, "kindString": "Call signature", @@ -1485,13 +1486,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 308, + "line": 309, "character": 9 } ] }, { - "id": 249, + "id": 253, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -1500,7 +1501,7 @@ }, "signatures": [ { - "id": 250, + "id": 254, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -1518,7 +1519,7 @@ }, "parameters": [ { - "id": 251, + "id": 255, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1543,13 +1544,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 189, + "line": 190, "character": 9 } ] }, { - "id": 273, + "id": 277, "name": "onConnMessage", "kind": 2048, "kindString": "Method", @@ -1558,7 +1559,7 @@ }, "signatures": [ { - "id": 274, + "id": 278, "name": "onConnMessage", "kind": 4096, "kindString": "Call signature", @@ -1567,7 +1568,7 @@ }, "parameters": [ { - "id": 275, + "id": 279, "name": "rawMessage", "kind": 32768, "kindString": "Parameter", @@ -1589,13 +1590,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 270, + "line": 271, "character": 15 } ] }, { - "id": 252, + "id": 256, "name": "onError", "kind": 2048, "kindString": "Method", @@ -1604,7 +1605,7 @@ }, "signatures": [ { - "id": 253, + "id": 257, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -1622,7 +1623,7 @@ }, "parameters": [ { - "id": 254, + "id": 258, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1647,13 +1648,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 200, + "line": 201, "character": 9 } ] }, { - "id": 255, + "id": 259, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -1662,7 +1663,7 @@ }, "signatures": [ { - "id": 256, + "id": 260, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -1680,7 +1681,7 @@ }, "parameters": [ { - "id": 257, + "id": 261, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1705,13 +1706,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 211, + "line": 212, "character": 11 } ] }, { - "id": 246, + "id": 250, "name": "onOpen", "kind": 2048, "kindString": "Method", @@ -1720,7 +1721,7 @@ }, "signatures": [ { - "id": 247, + "id": 251, "name": "onOpen", "kind": 4096, "kindString": "Call signature", @@ -1738,7 +1739,7 @@ }, "parameters": [ { - "id": 248, + "id": 252, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1763,13 +1764,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 178, + "line": 179, "character": 8 } ] }, { - "id": 270, + "id": 274, "name": "push", "kind": 2048, "kindString": "Method", @@ -1778,7 +1779,7 @@ }, "signatures": [ { - "id": 271, + "id": 275, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -1787,7 +1788,7 @@ }, "parameters": [ { - "id": 272, + "id": 276, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -1796,7 +1797,7 @@ }, "type": { "type": "reference", - "id": 321, + "id": 325, "name": "Message" } } @@ -1810,13 +1811,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 255, + "line": 256, "character": 6 } ] }, { - "id": 262, + "id": 266, "name": "remove", "kind": 2048, "kindString": "Method", @@ -1825,7 +1826,7 @@ }, "signatures": [ { - "id": 263, + "id": 267, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -1837,7 +1838,7 @@ }, "parameters": [ { - "id": 264, + "id": 268, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -1849,7 +1850,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -1863,13 +1864,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 243, + "line": 244, "character": 8 } ] }, { - "id": 223, + "id": 227, "name": "stateChangeCallbacks", "kind": 2097152, "kindString": "Object literal", @@ -1878,37 +1879,13 @@ }, "children": [ { - "id": 225, + "id": 229, "name": "close", "kind": 32, "kindString": "Variable", "flags": { "isExported": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 9 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "never" - } - }, - "defaultValue": "[]" - }, - { - "id": 226, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -1926,8 +1903,8 @@ "defaultValue": "[]" }, { - "id": 227, - "name": "message", + "id": 230, + "name": "error", "kind": 32, "kindString": "Variable", "flags": { @@ -1937,6 +1914,30 @@ { "fileName": "RealtimeClient.ts", "line": 64, + "character": 9 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 231, + "name": "message", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 65, "character": 11 } ], @@ -1950,7 +1951,7 @@ "defaultValue": "[]" }, { - "id": 224, + "id": 228, "name": "open", "kind": 32, "kindString": "Variable", @@ -1960,7 +1961,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 8 } ], @@ -1979,17 +1980,17 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 226, - 227, - 224 + 229, + 230, + 231, + 228 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 55, + "line": 56, "character": 22 } ], @@ -2004,81 +2005,81 @@ "title": "Constructors", "kind": 512, "children": [ - 228 + 232 ] }, { "title": "Properties", "kind": 1024, "children": [ - 198, - 220, - 218, - 217, - 199, - 200, - 210, - 212, - 216, - 211, - 204, - 213, - 219, - 215, - 214, - 221, + 202, + 224, 222, + 221, + 203, + 204, + 214, + 216, + 220, + 215, 208, - 209 + 217, + 223, + 219, + 218, + 225, + 226, + 212, + 213 ] }, { "title": "Methods", "kind": 2048, "children": [ - 290, - 297, - 282, - 285, - 280, - 299, + 294, 301, - 288, - 265, - 232, - 258, - 234, - 276, - 260, - 241, - 278, - 249, - 273, - 252, - 255, - 246, - 270, - 262 + 286, + 289, + 284, + 303, + 305, + 292, + 269, + 236, + 262, + 238, + 280, + 264, + 245, + 282, + 253, + 277, + 256, + 259, + 250, + 274, + 266 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 223 + 227 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 35, + "line": 36, "character": 35 } ] }, { - "id": 321, + "id": 325, "name": "Message", "kind": 4194304, "kindString": "Type alias", @@ -2086,25 +2087,79 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 328, "name": "event", "kind": 32, "kindString": "Variable", "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 29, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 329, + "name": "payload", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 30, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 330, + "name": "ref", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 31, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "topic", + "kind": 32, + "kindString": "Variable", + "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -2116,60 +2171,6 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 325, - "name": "payload", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 326, - "name": "ref", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 30, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 323, - "name": "topic", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 27, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ @@ -2177,17 +2178,17 @@ "title": "Variables", "kind": 32, "children": [ - 324, - 325, - 326, - 323 + 328, + 329, + 330, + 327 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 26, + "line": 27, "character": 14 } ] @@ -2195,7 +2196,7 @@ } }, { - "id": 303, + "id": 307, "name": "Options", "kind": 4194304, "kindString": "Type alias", @@ -2205,14 +2206,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2221,7 +2222,7 @@ }, "children": [ { - "id": 311, + "id": 315, "name": "decode", "kind": 32, "kindString": "Variable", @@ -2229,6 +2230,27 @@ "isExported": true, "isOptional": true }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 22, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 314, + "name": "encode", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -2242,28 +2264,7 @@ } }, { - "id": 310, - "name": "encode", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 313, + "id": 317, "name": "headers", "kind": 32, "kindString": "Variable", @@ -2271,160 +2272,11 @@ "isExported": true, "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 23, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 314, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 315, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 316, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 307, - "name": "heartbeatIntervalMs", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 17, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 309, - "name": "logger", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 308, - "name": "longpollerTimeout", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 317, - "name": "params", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", "line": 24, - "character": 8 + "character": 9 } ], "type": { @@ -2479,8 +2331,157 @@ ] } }, + { + "id": 311, + "name": "heartbeatIntervalMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 313, + "name": "logger", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, { "id": 312, + "name": "longpollerTimeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 321, + "name": "params", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 322, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 323, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 324, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 316, "name": "reconnectAfterMs", "kind": 32, "kindString": "Variable", @@ -2491,7 +2492,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 22, + "line": 23, "character": 18 } ], @@ -2501,7 +2502,7 @@ } }, { - "id": 306, + "id": 310, "name": "timeout", "kind": 32, "kindString": "Variable", @@ -2512,7 +2513,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 9 } ], @@ -2531,7 +2532,7 @@ } }, { - "id": 305, + "id": 309, "name": "transport", "kind": 32, "kindString": "Variable", @@ -2542,7 +2543,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 15, + "line": 16, "character": 11 } ], @@ -2557,23 +2558,23 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 310, - 313, - 307, - 309, - 308, + 315, + 314, 317, + 311, + 313, 312, - 306, - 305 + 321, + 316, + 310, + 309 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 14, + "line": 15, "character": 21 } ] @@ -2581,7 +2582,7 @@ } }, { - "id": 327, + "id": 331, "name": "noop", "kind": 64, "kindString": "Function", @@ -2590,7 +2591,7 @@ }, "signatures": [ { - "id": 328, + "id": 332, "name": "noop", "kind": 4096, "kindString": "Call signature", @@ -2604,7 +2605,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 33, + "line": 34, "character": 10 } ] @@ -2615,22 +2616,22 @@ "title": "Classes", "kind": 128, "children": [ - 197 + 201 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 321, - 303 + 325, + 307 ] }, { "title": "Functions", "kind": 64, "children": [ - 327 + 331 ] } ], @@ -2643,7 +2644,7 @@ ] }, { - "id": 92, + "id": 96, "name": "\"RealtimeSubscription\"", "kind": 1, "kindString": "Module", @@ -2653,7 +2654,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts", "children": [ { - "id": 93, + "id": 97, "name": "RealtimeSubscription", "kind": 128, "kindString": "Class", @@ -2662,7 +2663,7 @@ }, "children": [ { - "id": 101, + "id": 105, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2671,7 +2672,7 @@ }, "signatures": [ { - "id": 105, + "id": 109, "name": "new RealtimeSubscription", "kind": 16384, "kindString": "Constructor signature", @@ -2680,7 +2681,7 @@ }, "parameters": [ { - "id": 106, + "id": 110, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -2693,7 +2694,7 @@ } }, { - "id": 107, + "id": 111, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -2707,7 +2708,7 @@ "defaultValue": "{}" }, { - "id": 108, + "id": 112, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -2716,14 +2717,14 @@ }, "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -2737,7 +2738,7 @@ ] }, { - "id": 94, + "id": 98, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -2761,7 +2762,7 @@ "defaultValue": "[]" }, { - "id": 98, + "id": 102, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -2777,12 +2778,12 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, { - "id": 97, + "id": 101, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -2803,7 +2804,7 @@ "defaultValue": "false" }, { - "id": 103, + "id": 107, "name": "params", "kind": 1024, "kindString": "Property", @@ -2825,7 +2826,7 @@ } }, { - "id": 100, + "id": 104, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -2843,14 +2844,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } }, "defaultValue": "[]" }, { - "id": 99, + "id": 103, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -2866,12 +2867,12 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } }, { - "id": 104, + "id": 108, "name": "socket", "kind": 1024, "kindString": "Property", @@ -2889,12 +2890,12 @@ ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } }, { - "id": 96, + "id": 100, "name": "state", "kind": 1024, "kindString": "Property", @@ -2910,13 +2911,13 @@ ], "type": { "type": "reference", - "id": 7, + "id": 9, "name": "CHANNEL_STATES" }, "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 95, + "id": 99, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -2936,7 +2937,7 @@ } }, { - "id": 102, + "id": 106, "name": "topic", "kind": 1024, "kindString": "Property", @@ -2958,7 +2959,7 @@ } }, { - "id": 127, + "id": 131, "name": "canPush", "kind": 2048, "kindString": "Method", @@ -2967,7 +2968,7 @@ }, "signatures": [ { - "id": 128, + "id": 132, "name": "canPush", "kind": 4096, "kindString": "Call signature", @@ -2989,7 +2990,7 @@ ] }, { - "id": 161, + "id": 165, "name": "isClosed", "kind": 2048, "kindString": "Method", @@ -2998,7 +2999,7 @@ }, "signatures": [ { - "id": 162, + "id": 166, "name": "isClosed", "kind": 4096, "kindString": "Call signature", @@ -3020,7 +3021,7 @@ ] }, { - "id": 163, + "id": 167, "name": "isErrored", "kind": 2048, "kindString": "Method", @@ -3029,7 +3030,7 @@ }, "signatures": [ { - "id": 164, + "id": 168, "name": "isErrored", "kind": 4096, "kindString": "Call signature", @@ -3051,7 +3052,7 @@ ] }, { - "id": 165, + "id": 169, "name": "isJoined", "kind": 2048, "kindString": "Method", @@ -3060,7 +3061,7 @@ }, "signatures": [ { - "id": 166, + "id": 170, "name": "isJoined", "kind": 4096, "kindString": "Call signature", @@ -3082,7 +3083,7 @@ ] }, { - "id": 167, + "id": 171, "name": "isJoining", "kind": 2048, "kindString": "Method", @@ -3091,7 +3092,7 @@ }, "signatures": [ { - "id": 168, + "id": 172, "name": "isJoining", "kind": 4096, "kindString": "Call signature", @@ -3113,7 +3114,7 @@ ] }, { - "id": 169, + "id": 173, "name": "isLeaving", "kind": 2048, "kindString": "Method", @@ -3122,7 +3123,7 @@ }, "signatures": [ { - "id": 170, + "id": 174, "name": "isLeaving", "kind": 4096, "kindString": "Call signature", @@ -3144,7 +3145,7 @@ ] }, { - "id": 142, + "id": 146, "name": "isMember", "kind": 2048, "kindString": "Method", @@ -3153,7 +3154,7 @@ }, "signatures": [ { - "id": 143, + "id": 147, "name": "isMember", "kind": 4096, "kindString": "Call signature", @@ -3162,7 +3163,7 @@ }, "parameters": [ { - "id": 144, + "id": 148, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -3190,7 +3191,7 @@ ] }, { - "id": 145, + "id": 149, "name": "joinRef", "kind": 2048, "kindString": "Method", @@ -3199,7 +3200,7 @@ }, "signatures": [ { - "id": 146, + "id": 150, "name": "joinRef", "kind": 4096, "kindString": "Call signature", @@ -3221,7 +3222,7 @@ ] }, { - "id": 124, + "id": 128, "name": "off", "kind": 2048, "kindString": "Method", @@ -3230,7 +3231,7 @@ }, "signatures": [ { - "id": 125, + "id": 129, "name": "off", "kind": 4096, "kindString": "Call signature", @@ -3239,7 +3240,7 @@ }, "parameters": [ { - "id": 126, + "id": 130, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3267,7 +3268,7 @@ ] }, { - "id": 120, + "id": 124, "name": "on", "kind": 2048, "kindString": "Method", @@ -3276,7 +3277,7 @@ }, "signatures": [ { - "id": 121, + "id": 125, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -3285,7 +3286,7 @@ }, "parameters": [ { - "id": 122, + "id": 126, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3298,7 +3299,7 @@ } }, { - "id": 123, + "id": 127, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3326,7 +3327,7 @@ ] }, { - "id": 114, + "id": 118, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -3335,7 +3336,7 @@ }, "signatures": [ { - "id": 115, + "id": 119, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -3344,7 +3345,7 @@ }, "parameters": [ { - "id": 116, + "id": 120, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3372,7 +3373,7 @@ ] }, { - "id": 117, + "id": 121, "name": "onError", "kind": 2048, "kindString": "Method", @@ -3381,7 +3382,7 @@ }, "signatures": [ { - "id": 118, + "id": 122, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -3390,7 +3391,7 @@ }, "parameters": [ { - "id": 119, + "id": 123, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3418,7 +3419,7 @@ ] }, { - "id": 137, + "id": 141, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -3427,7 +3428,7 @@ }, "signatures": [ { - "id": 138, + "id": 142, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -3440,7 +3441,7 @@ }, "parameters": [ { - "id": 139, + "id": 143, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3453,7 +3454,7 @@ } }, { - "id": 140, + "id": 144, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3466,7 +3467,7 @@ } }, { - "id": 141, + "id": 145, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3504,7 +3505,7 @@ ] }, { - "id": 129, + "id": 133, "name": "push", "kind": 2048, "kindString": "Method", @@ -3513,7 +3514,7 @@ }, "signatures": [ { - "id": 130, + "id": 134, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -3522,7 +3523,7 @@ }, "parameters": [ { - "id": 131, + "id": 135, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3531,12 +3532,12 @@ }, "type": { "type": "reference", - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS" } }, { - "id": 132, + "id": 136, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3549,7 +3550,7 @@ } }, { - "id": 133, + "id": 137, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3565,7 +3566,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -3579,7 +3580,7 @@ ] }, { - "id": 150, + "id": 154, "name": "rejoin", "kind": 2048, "kindString": "Method", @@ -3588,7 +3589,7 @@ }, "signatures": [ { - "id": 151, + "id": 155, "name": "rejoin", "kind": 4096, "kindString": "Call signature", @@ -3597,7 +3598,7 @@ }, "parameters": [ { - "id": 152, + "id": 156, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3626,7 +3627,7 @@ ] }, { - "id": 109, + "id": 113, "name": "rejoinUntilConnected", "kind": 2048, "kindString": "Method", @@ -3635,7 +3636,7 @@ }, "signatures": [ { - "id": 110, + "id": 114, "name": "rejoinUntilConnected", "kind": 4096, "kindString": "Call signature", @@ -3657,7 +3658,7 @@ ] }, { - "id": 158, + "id": 162, "name": "replyEventName", "kind": 2048, "kindString": "Method", @@ -3666,7 +3667,7 @@ }, "signatures": [ { - "id": 159, + "id": 163, "name": "replyEventName", "kind": 4096, "kindString": "Call signature", @@ -3675,7 +3676,7 @@ }, "parameters": [ { - "id": 160, + "id": 164, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3703,7 +3704,7 @@ ] }, { - "id": 147, + "id": 151, "name": "sendJoin", "kind": 2048, "kindString": "Method", @@ -3712,7 +3713,7 @@ }, "signatures": [ { - "id": 148, + "id": 152, "name": "sendJoin", "kind": 4096, "kindString": "Call signature", @@ -3721,7 +3722,7 @@ }, "parameters": [ { - "id": 149, + "id": 153, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3749,7 +3750,7 @@ ] }, { - "id": 111, + "id": 115, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -3758,7 +3759,7 @@ }, "signatures": [ { - "id": 112, + "id": 116, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -3767,7 +3768,7 @@ }, "parameters": [ { - "id": 113, + "id": 117, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3783,7 +3784,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -3797,7 +3798,7 @@ ] }, { - "id": 153, + "id": 157, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -3806,7 +3807,7 @@ }, "signatures": [ { - "id": 154, + "id": 158, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -3815,7 +3816,7 @@ }, "parameters": [ { - "id": 155, + "id": 159, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3828,7 +3829,7 @@ } }, { - "id": 156, + "id": 160, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3842,7 +3843,7 @@ } }, { - "id": 157, + "id": 161, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3880,7 +3881,7 @@ ] }, { - "id": 134, + "id": 138, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -3889,7 +3890,7 @@ }, "signatures": [ { - "id": 135, + "id": 139, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -3902,7 +3903,7 @@ }, "parameters": [ { - "id": 136, + "id": 140, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3918,7 +3919,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -3937,50 +3938,50 @@ "title": "Constructors", "kind": 512, "children": [ - 101 + 105 ] }, { "title": "Properties", "kind": 1024, "children": [ - 94, 98, - 97, + 102, + 101, + 107, + 104, 103, + 108, 100, 99, - 104, - 96, - 95, - 102 + 106 ] }, { "title": "Methods", "kind": 2048, "children": [ - 127, - 161, - 163, + 131, 165, 167, 169, - 142, - 145, + 171, + 173, + 146, + 149, + 128, 124, - 120, - 114, - 117, - 137, - 129, - 150, - 109, - 158, - 147, - 111, - 153, - 134 + 118, + 121, + 141, + 133, + 154, + 113, + 162, + 151, + 115, + 157, + 138 ] } ], @@ -3998,7 +3999,7 @@ "title": "Classes", "kind": 128, "children": [ - 93 + 97 ] } ], @@ -4011,7 +4012,7 @@ ] }, { - "id": 415, + "id": 419, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -4028,7 +4029,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -4038,7 +4039,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts", "children": [ { - "id": 13, + "id": 15, "name": "CHANNEL_EVENTS", "kind": 4, "kindString": "Enumeration", @@ -4046,60 +4047,9 @@ "isExported": true }, "children": [ - { - "id": 14, - "name": "close", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 23, - "character": 7 - } - ], - "defaultValue": "\"phx_close\"" - }, - { - "id": 15, - "name": "error", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 24, - "character": 7 - } - ], - "defaultValue": "\"phx_error\"" - }, { "id": 16, - "name": "join", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 25, - "character": 6 - } - ], - "defaultValue": "\"phx_join\"" - }, - { - "id": 18, - "name": "leave", + "name": "close", "kind": 16, "kindString": "Enumeration member", "flags": { @@ -4112,10 +4062,61 @@ "character": 7 } ], - "defaultValue": "\"phx_leave\"" + "defaultValue": "\"phx_close\"" }, { "id": 17, + "name": "error", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 28, + "character": 7 + } + ], + "defaultValue": "\"phx_error\"" + }, + { + "id": 18, + "name": "join", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 29, + "character": 6 + } + ], + "defaultValue": "\"phx_join\"" + }, + { + "id": 20, + "name": "leave", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 31, + "character": 7 + } + ], + "defaultValue": "\"phx_leave\"" + }, + { + "id": 19, "name": "reply", "kind": 16, "kindString": "Enumeration member", @@ -4125,7 +4126,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 26, + "line": 30, "character": 7 } ], @@ -4137,30 +4138,146 @@ "title": "Enumeration members", "kind": 16, "children": [ - 14, - 15, 16, + 17, 18, - 17 + 20, + 19 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 22, + "line": 26, "character": 26 } ] }, { - "id": 7, + "id": 9, "name": "CHANNEL_STATES", "kind": 4, "kindString": "Enumeration", "flags": { "isExported": true }, + "children": [ + { + "id": 10, + "name": "closed", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 19, + "character": 8 + } + ], + "defaultValue": "\"closed\"" + }, + { + "id": 11, + "name": "errored", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 20, + "character": 9 + } + ], + "defaultValue": "\"errored\"" + }, + { + "id": 12, + "name": "joined", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 21, + "character": 8 + } + ], + "defaultValue": "\"joined\"" + }, + { + "id": 13, + "name": "joining", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 22, + "character": 9 + } + ], + "defaultValue": "\"joining\"" + }, + { + "id": 14, + "name": "leaving", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 23, + "character": 9 + } + ], + "defaultValue": "\"leaving\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 10, + 11, + 12, + 13, + 14 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 18, + "character": 26 + } + ] + }, + { + "id": 4, + "name": "SOCKET_STATES", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, "children": [ { "id": 8, @@ -4177,126 +4294,10 @@ "character": 8 } ], - "defaultValue": "\"closed\"" - }, - { - "id": 9, - "name": "errored", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 16, - "character": 9 - } - ], - "defaultValue": "\"errored\"" - }, - { - "id": 10, - "name": "joined", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 17, - "character": 8 - } - ], - "defaultValue": "\"joined\"" - }, - { - "id": 11, - "name": "joining", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 18, - "character": 9 - } - ], - "defaultValue": "\"joining\"" - }, - { - "id": 12, - "name": "leaving", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 19, - "character": 9 - } - ], - "defaultValue": "\"leaving\"" - } - ], - "groups": [ - { - "title": "Enumeration members", - "kind": 16, - "children": [ - 8, - 9, - 10, - 11, - 12 - ] - } - ], - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 14, - "character": 26 - } - ] - }, - { - "id": 2, - "name": "SOCKET_STATES", - "kind": 4, - "kindString": "Enumeration", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 6, - "name": "closed", - "kind": 16, - "kindString": "Enumeration member", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 11, - "character": 8 - } - ], "defaultValue": "3" }, { - "id": 5, + "id": 7, "name": "closing", "kind": 16, "kindString": "Enumeration member", @@ -4306,14 +4307,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 10, + "line": 14, "character": 9 } ], "defaultValue": "2" }, { - "id": 3, + "id": 5, "name": "connecting", "kind": 16, "kindString": "Enumeration member", @@ -4323,14 +4324,14 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 8, + "line": 12, "character": 12 } ], "defaultValue": "0" }, { - "id": 4, + "id": 6, "name": "open", "kind": 16, "kindString": "Enumeration member", @@ -4340,7 +4341,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 9, + "line": 13, "character": 6 } ], @@ -4352,23 +4353,23 @@ "title": "Enumeration members", "kind": 16, "children": [ - 6, + 8, + 7, 5, - 3, - 4 + 6 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 7, + "line": 11, "character": 25 } ] }, { - "id": 19, + "id": 21, "name": "TRANSPORTS", "kind": 4, "kindString": "Enumeration", @@ -4377,7 +4378,7 @@ }, "children": [ { - "id": 20, + "id": 22, "name": "websocket", "kind": 16, "kindString": "Enumeration member", @@ -4387,7 +4388,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 31, + "line": 35, "character": 11 } ], @@ -4399,20 +4400,20 @@ "title": "Enumeration members", "kind": 16, "children": [ - 20 + 22 ] } ], "sources": [ { "fileName": "lib/constants.ts", - "line": 30, + "line": 34, "character": 22 } ] }, { - "id": 22, + "id": 26, "name": "DEFAULT_TIMEOUT", "kind": 32, "kindString": "Variable", @@ -4423,7 +4424,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 3, + "line": 7, "character": 28 } ], @@ -4434,7 +4435,7 @@ "defaultValue": "10000" }, { - "id": 21, + "id": 25, "name": "VSN", "kind": 32, "kindString": "Variable", @@ -4445,7 +4446,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 1, + "line": 5, "character": 16 } ], @@ -4456,7 +4457,7 @@ "defaultValue": "\"1.0.0\"" }, { - "id": 23, + "id": 27, "name": "WS_CLOSE_NORMAL", "kind": 32, "kindString": "Variable", @@ -4467,7 +4468,7 @@ "sources": [ { "fileName": "lib/constants.ts", - "line": 5, + "line": 9, "character": 28 } ], @@ -4476,6 +4477,59 @@ "name": "1000" }, "defaultValue": "1000" + }, + { + "id": 23, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 24, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`realtime-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 24 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } } ], "groups": [ @@ -4483,18 +4537,25 @@ "title": "Enumerations", "kind": 4, "children": [ - 13, - 7, - 2, - 19 + 15, + 9, + 4, + 21 ] }, { "title": "Variables", "kind": 32, "children": [ - 22, - 21, + 26, + 25, + 27 + ] + }, + { + "title": "Object literals", + "kind": 2097152, + "children": [ 23 ] } @@ -4508,7 +4569,7 @@ ] }, { - "id": 38, + "id": 42, "name": "\"lib/push\"", "kind": 1, "kindString": "Module", @@ -4518,7 +4579,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts", "children": [ { - "id": 39, + "id": 43, "name": "Push", "kind": 128, "kindString": "Class", @@ -4527,7 +4588,7 @@ }, "children": [ { - "id": 52, + "id": 56, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4539,7 +4600,7 @@ }, "signatures": [ { - "id": 57, + "id": 61, "name": "new Push", "kind": 16384, "kindString": "Constructor signature", @@ -4551,7 +4612,7 @@ }, "parameters": [ { - "id": 58, + "id": 62, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -4563,12 +4624,12 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 59, + "id": 63, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -4584,7 +4645,7 @@ } }, { - "id": 60, + "id": 64, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -4601,7 +4662,7 @@ "defaultValue": "{}" }, { - "id": 61, + "id": 65, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -4620,7 +4681,7 @@ ], "type": { "type": "reference", - "id": 39, + "id": 43, "name": "Push" } } @@ -4634,7 +4695,7 @@ ] }, { - "id": 53, + "id": 57, "name": "channel", "kind": 1024, "kindString": "Property", @@ -4655,12 +4716,12 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, { - "id": 54, + "id": 58, "name": "event", "kind": 1024, "kindString": "Property", @@ -4685,7 +4746,7 @@ } }, { - "id": 55, + "id": 59, "name": "payload", "kind": 1024, "kindString": "Property", @@ -4710,7 +4771,7 @@ } }, { - "id": 47, + "id": 51, "name": "recHooks", "kind": 1024, "kindString": "Property", @@ -4729,7 +4790,7 @@ "elementType": { "type": "reflection", "declaration": { - "id": 48, + "id": 52, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4738,7 +4799,7 @@ }, "children": [ { - "id": 50, + "id": 54, "name": "callback", "kind": 32, "kindString": "Variable", @@ -4758,7 +4819,7 @@ } }, { - "id": 49, + "id": 53, "name": "status", "kind": 32, "kindString": "Variable", @@ -4783,8 +4844,8 @@ "title": "Variables", "kind": 32, "children": [ - 50, - 49 + 54, + 53 ] } ], @@ -4801,7 +4862,7 @@ "defaultValue": "[]" }, { - "id": 43, + "id": 47, "name": "receivedResp", "kind": 1024, "kindString": "Property", @@ -4821,7 +4882,7 @@ { "type": "reflection", "declaration": { - "id": 44, + "id": 48, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4830,7 +4891,7 @@ }, "children": [ { - "id": 46, + "id": 50, "name": "response", "kind": 32, "kindString": "Variable", @@ -4850,7 +4911,7 @@ } }, { - "id": 45, + "id": 49, "name": "status", "kind": 32, "kindString": "Variable", @@ -4875,8 +4936,8 @@ "title": "Variables", "kind": 32, "children": [ - 46, - 45 + 50, + 49 ] } ], @@ -4898,7 +4959,7 @@ "defaultValue": "null" }, { - "id": 42, + "id": 46, "name": "ref", "kind": 1024, "kindString": "Property", @@ -4919,7 +4980,7 @@ "defaultValue": "\"\"" }, { - "id": 51, + "id": 55, "name": "refEvent", "kind": 1024, "kindString": "Property", @@ -4949,7 +5010,7 @@ "defaultValue": "null" }, { - "id": 40, + "id": 44, "name": "sent", "kind": 1024, "kindString": "Property", @@ -4970,7 +5031,7 @@ "defaultValue": "false" }, { - "id": 56, + "id": 60, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -4995,7 +5056,7 @@ } }, { - "id": 41, + "id": 45, "name": "timeoutTimer", "kind": 1024, "kindString": "Property", @@ -5025,7 +5086,7 @@ "defaultValue": "undefined" }, { - "id": 79, + "id": 83, "name": "_cancelRefEvent", "kind": 2048, "kindString": "Method", @@ -5035,7 +5096,7 @@ }, "signatures": [ { - "id": 80, + "id": 84, "name": "_cancelRefEvent", "kind": 4096, "kindString": "Call signature", @@ -5057,7 +5118,7 @@ ] }, { - "id": 81, + "id": 85, "name": "_cancelTimeout", "kind": 2048, "kindString": "Method", @@ -5067,7 +5128,7 @@ }, "signatures": [ { - "id": 82, + "id": 86, "name": "_cancelTimeout", "kind": 4096, "kindString": "Call signature", @@ -5089,7 +5150,7 @@ ] }, { - "id": 89, + "id": 93, "name": "_hasReceived", "kind": 2048, "kindString": "Method", @@ -5099,7 +5160,7 @@ }, "signatures": [ { - "id": 90, + "id": 94, "name": "_hasReceived", "kind": 4096, "kindString": "Call signature", @@ -5108,7 +5169,7 @@ }, "parameters": [ { - "id": 91, + "id": 95, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5149,7 +5210,7 @@ ] }, { - "id": 83, + "id": 87, "name": "_matchReceive", "kind": 2048, "kindString": "Method", @@ -5159,7 +5220,7 @@ }, "signatures": [ { - "id": 84, + "id": 88, "name": "_matchReceive", "kind": 4096, "kindString": "Call signature", @@ -5168,7 +5229,7 @@ }, "parameters": [ { - "id": 85, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5179,7 +5240,7 @@ "type": { "type": "reflection", "declaration": { - "id": 86, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5188,7 +5249,7 @@ }, "children": [ { - "id": 88, + "id": 92, "name": "response", "kind": 32, "kindString": "Variable", @@ -5208,7 +5269,7 @@ } }, { - "id": 87, + "id": 91, "name": "status", "kind": 32, "kindString": "Variable", @@ -5233,8 +5294,8 @@ "title": "Variables", "kind": 32, "children": [ - 88, - 87 + 92, + 91 ] } ], @@ -5264,7 +5325,7 @@ ] }, { - "id": 77, + "id": 81, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -5273,7 +5334,7 @@ }, "signatures": [ { - "id": 78, + "id": 82, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -5295,7 +5356,7 @@ ] }, { - "id": 67, + "id": 71, "name": "receive", "kind": 2048, "kindString": "Method", @@ -5304,7 +5365,7 @@ }, "signatures": [ { - "id": 68, + "id": 72, "name": "receive", "kind": 4096, "kindString": "Call signature", @@ -5313,7 +5374,7 @@ }, "parameters": [ { - "id": 69, + "id": 73, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5326,7 +5387,7 @@ } }, { - "id": 70, + "id": 74, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5354,7 +5415,7 @@ ] }, { - "id": 62, + "id": 66, "name": "resend", "kind": 2048, "kindString": "Method", @@ -5363,7 +5424,7 @@ }, "signatures": [ { - "id": 63, + "id": 67, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -5372,7 +5433,7 @@ }, "parameters": [ { - "id": 64, + "id": 68, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -5400,7 +5461,7 @@ ] }, { - "id": 65, + "id": 69, "name": "send", "kind": 2048, "kindString": "Method", @@ -5409,7 +5470,7 @@ }, "signatures": [ { - "id": 66, + "id": 70, "name": "send", "kind": 4096, "kindString": "Call signature", @@ -5431,7 +5492,7 @@ ] }, { - "id": 71, + "id": 75, "name": "startTimeout", "kind": 2048, "kindString": "Method", @@ -5440,7 +5501,7 @@ }, "signatures": [ { - "id": 72, + "id": 76, "name": "startTimeout", "kind": 4096, "kindString": "Call signature", @@ -5462,7 +5523,7 @@ ] }, { - "id": 73, + "id": 77, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -5471,7 +5532,7 @@ }, "signatures": [ { - "id": 74, + "id": 78, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -5480,7 +5541,7 @@ }, "parameters": [ { - "id": 75, + "id": 79, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5493,7 +5554,7 @@ } }, { - "id": 76, + "id": 80, "name": "response", "kind": 32768, "kindString": "Parameter", @@ -5526,39 +5587,39 @@ "title": "Constructors", "kind": 512, "children": [ - 52 + 56 ] }, { "title": "Properties", "kind": 1024, "children": [ - 53, - 54, - 55, - 47, - 43, - 42, + 57, + 58, + 59, 51, - 40, - 56, - 41 + 47, + 46, + 55, + 44, + 60, + 45 ] }, { "title": "Methods", "kind": 2048, "children": [ - 79, - 81, - 89, 83, - 77, - 67, - 62, - 65, + 85, + 93, + 87, + 81, 71, - 73 + 66, + 69, + 75, + 77 ] } ], @@ -5576,7 +5637,7 @@ "title": "Classes", "kind": 128, "children": [ - 39 + 43 ] } ], @@ -5589,7 +5650,7 @@ ] }, { - "id": 171, + "id": 175, "name": "\"lib/serializer\"", "kind": 1, "kindString": "Module", @@ -5599,7 +5660,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts", "children": [ { - "id": 172, + "id": 176, "name": "Serializer", "kind": 128, "kindString": "Class", @@ -5608,7 +5669,7 @@ }, "children": [ { - "id": 173, + "id": 177, "name": "HEADER_LENGTH", "kind": 1024, "kindString": "Property", @@ -5629,7 +5690,7 @@ "defaultValue": "1" }, { - "id": 178, + "id": 182, "name": "_binaryDecode", "kind": 2048, "kindString": "Method", @@ -5639,7 +5700,7 @@ }, "signatures": [ { - "id": 179, + "id": 183, "name": "_binaryDecode", "kind": 4096, "kindString": "Call signature", @@ -5648,7 +5709,7 @@ }, "parameters": [ { - "id": 180, + "id": 184, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -5664,7 +5725,7 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5673,7 +5734,7 @@ }, "children": [ { - "id": 184, + "id": 188, "name": "event", "kind": 32, "kindString": "Variable", @@ -5693,7 +5754,7 @@ } }, { - "id": 185, + "id": 189, "name": "payload", "kind": 32, "kindString": "Variable", @@ -5713,7 +5774,7 @@ } }, { - "id": 182, + "id": 186, "name": "ref", "kind": 32, "kindString": "Variable", @@ -5733,7 +5794,7 @@ } }, { - "id": 183, + "id": 187, "name": "topic", "kind": 32, "kindString": "Variable", @@ -5758,10 +5819,10 @@ "title": "Variables", "kind": 32, "children": [ - 184, - 185, - 182, - 183 + 188, + 189, + 186, + 187 ] } ] @@ -5778,7 +5839,7 @@ ] }, { - "id": 186, + "id": 190, "name": "_decodeBroadcast", "kind": 2048, "kindString": "Method", @@ -5788,7 +5849,7 @@ }, "signatures": [ { - "id": 187, + "id": 191, "name": "_decodeBroadcast", "kind": 4096, "kindString": "Call signature", @@ -5797,7 +5858,7 @@ }, "parameters": [ { - "id": 188, + "id": 192, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -5810,7 +5871,7 @@ } }, { - "id": 189, + "id": 193, "name": "view", "kind": 32768, "kindString": "Parameter", @@ -5823,7 +5884,7 @@ } }, { - "id": 190, + "id": 194, "name": "decoder", "kind": 32768, "kindString": "Parameter", @@ -5839,7 +5900,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5848,7 +5909,7 @@ }, "children": [ { - "id": 194, + "id": 198, "name": "event", "kind": 32, "kindString": "Variable", @@ -5868,7 +5929,7 @@ } }, { - "id": 195, + "id": 199, "name": "payload", "kind": 32, "kindString": "Variable", @@ -5888,7 +5949,7 @@ } }, { - "id": 192, + "id": 196, "name": "ref", "kind": 32, "kindString": "Variable", @@ -5908,7 +5969,7 @@ } }, { - "id": 193, + "id": 197, "name": "topic", "kind": 32, "kindString": "Variable", @@ -5933,10 +5994,10 @@ "title": "Variables", "kind": 32, "children": [ - 194, - 195, - 192, - 193 + 198, + 199, + 196, + 197 ] } ], @@ -5960,7 +6021,7 @@ ] }, { - "id": 174, + "id": 178, "name": "decode", "kind": 2048, "kindString": "Method", @@ -5969,7 +6030,7 @@ }, "signatures": [ { - "id": 175, + "id": 179, "name": "decode", "kind": 4096, "kindString": "Call signature", @@ -5978,7 +6039,7 @@ }, "parameters": [ { - "id": 176, + "id": 180, "name": "rawPayload", "kind": 32768, "kindString": "Parameter", @@ -6000,7 +6061,7 @@ } }, { - "id": 177, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6033,16 +6094,16 @@ "title": "Properties", "kind": 1024, "children": [ - 173 + 177 ] }, { "title": "Methods", "kind": 2048, "children": [ - 178, - 186, - 174 + 182, + 190, + 178 ] } ], @@ -6060,7 +6121,7 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 176 ] } ], @@ -6073,7 +6134,7 @@ ] }, { - "id": 24, + "id": 28, "name": "\"lib/timer\"", "kind": 1, "kindString": "Module", @@ -6083,7 +6144,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts", "children": [ { - "id": 25, + "id": 29, "name": "Timer", "kind": 128, "kindString": "Class", @@ -6101,7 +6162,7 @@ }, "children": [ { - "id": 28, + "id": 32, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6110,7 +6171,7 @@ }, "signatures": [ { - "id": 31, + "id": 35, "name": "new Timer", "kind": 16384, "kindString": "Constructor signature", @@ -6119,7 +6180,7 @@ }, "parameters": [ { - "id": 32, + "id": 36, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6132,7 +6193,7 @@ } }, { - "id": 33, + "id": 37, "name": "timerCalc", "kind": 32768, "kindString": "Parameter", @@ -6147,7 +6208,7 @@ ], "type": { "type": "reference", - "id": 25, + "id": 29, "name": "Timer" } } @@ -6161,7 +6222,7 @@ ] }, { - "id": 29, + "id": 33, "name": "callback", "kind": 1024, "kindString": "Property", @@ -6183,7 +6244,7 @@ } }, { - "id": 26, + "id": 30, "name": "timer", "kind": 1024, "kindString": "Property", @@ -6213,7 +6274,7 @@ "defaultValue": "undefined" }, { - "id": 30, + "id": 34, "name": "timerCalc", "kind": 1024, "kindString": "Property", @@ -6235,7 +6296,7 @@ } }, { - "id": 27, + "id": 31, "name": "tries", "kind": 1024, "kindString": "Property", @@ -6256,7 +6317,7 @@ "defaultValue": "0" }, { - "id": 34, + "id": 38, "name": "reset", "kind": 2048, "kindString": "Method", @@ -6265,7 +6326,7 @@ }, "signatures": [ { - "id": 35, + "id": 39, "name": "reset", "kind": 4096, "kindString": "Call signature", @@ -6287,7 +6348,7 @@ ] }, { - "id": 36, + "id": 40, "name": "scheduleTimeout", "kind": 2048, "kindString": "Method", @@ -6296,7 +6357,7 @@ }, "signatures": [ { - "id": 37, + "id": 41, "name": "scheduleTimeout", "kind": 4096, "kindString": "Call signature", @@ -6323,25 +6384,25 @@ "title": "Constructors", "kind": 512, "children": [ - 28 + 32 ] }, { "title": "Properties", "kind": 1024, "children": [ - 29, - 26, + 33, 30, - 27 + 34, + 31 ] }, { "title": "Methods", "kind": 2048, "children": [ - 34, - 36 + 38, + 40 ] } ], @@ -6359,7 +6420,7 @@ "title": "Classes", "kind": 128, "children": [ - 25 + 29 ] } ], @@ -6372,7 +6433,7 @@ ] }, { - "id": 329, + "id": 333, "name": "\"lib/transformers\"", "kind": 1, "kindString": "Module", @@ -6382,7 +6443,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts", "children": [ { - "id": 330, + "id": 334, "name": "PostgresTypes", "kind": 4, "kindString": "Enumeration", @@ -6394,7 +6455,7 @@ }, "children": [ { - "id": 331, + "id": 335, "name": "abstime", "kind": 16, "kindString": "Enumeration member", @@ -6411,7 +6472,7 @@ "defaultValue": "\"abstime\"" }, { - "id": 332, + "id": 336, "name": "bool", "kind": 16, "kindString": "Enumeration member", @@ -6428,7 +6489,7 @@ "defaultValue": "\"bool\"" }, { - "id": 333, + "id": 337, "name": "date", "kind": 16, "kindString": "Enumeration member", @@ -6445,7 +6506,7 @@ "defaultValue": "\"date\"" }, { - "id": 334, + "id": 338, "name": "daterange", "kind": 16, "kindString": "Enumeration member", @@ -6462,7 +6523,7 @@ "defaultValue": "\"daterange\"" }, { - "id": 335, + "id": 339, "name": "float4", "kind": 16, "kindString": "Enumeration member", @@ -6479,7 +6540,7 @@ "defaultValue": "\"float4\"" }, { - "id": 336, + "id": 340, "name": "float8", "kind": 16, "kindString": "Enumeration member", @@ -6496,7 +6557,7 @@ "defaultValue": "\"float8\"" }, { - "id": 337, + "id": 341, "name": "int2", "kind": 16, "kindString": "Enumeration member", @@ -6513,7 +6574,7 @@ "defaultValue": "\"int2\"" }, { - "id": 338, + "id": 342, "name": "int4", "kind": 16, "kindString": "Enumeration member", @@ -6530,7 +6591,7 @@ "defaultValue": "\"int4\"" }, { - "id": 339, + "id": 343, "name": "int4range", "kind": 16, "kindString": "Enumeration member", @@ -6547,7 +6608,7 @@ "defaultValue": "\"int4range\"" }, { - "id": 340, + "id": 344, "name": "int8", "kind": 16, "kindString": "Enumeration member", @@ -6564,7 +6625,7 @@ "defaultValue": "\"int8\"" }, { - "id": 341, + "id": 345, "name": "int8range", "kind": 16, "kindString": "Enumeration member", @@ -6581,7 +6642,7 @@ "defaultValue": "\"int8range\"" }, { - "id": 342, + "id": 346, "name": "json", "kind": 16, "kindString": "Enumeration member", @@ -6598,7 +6659,7 @@ "defaultValue": "\"json\"" }, { - "id": 343, + "id": 347, "name": "jsonb", "kind": 16, "kindString": "Enumeration member", @@ -6615,7 +6676,7 @@ "defaultValue": "\"jsonb\"" }, { - "id": 344, + "id": 348, "name": "money", "kind": 16, "kindString": "Enumeration member", @@ -6632,7 +6693,7 @@ "defaultValue": "\"money\"" }, { - "id": 345, + "id": 349, "name": "numeric", "kind": 16, "kindString": "Enumeration member", @@ -6649,7 +6710,7 @@ "defaultValue": "\"numeric\"" }, { - "id": 346, + "id": 350, "name": "oid", "kind": 16, "kindString": "Enumeration member", @@ -6666,7 +6727,7 @@ "defaultValue": "\"oid\"" }, { - "id": 347, + "id": 351, "name": "reltime", "kind": 16, "kindString": "Enumeration member", @@ -6683,7 +6744,7 @@ "defaultValue": "\"reltime\"" }, { - "id": 348, + "id": 352, "name": "time", "kind": 16, "kindString": "Enumeration member", @@ -6700,7 +6761,7 @@ "defaultValue": "\"time\"" }, { - "id": 349, + "id": 353, "name": "timestamp", "kind": 16, "kindString": "Enumeration member", @@ -6717,7 +6778,7 @@ "defaultValue": "\"timestamp\"" }, { - "id": 350, + "id": 354, "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", @@ -6734,7 +6795,7 @@ "defaultValue": "\"timestamptz\"" }, { - "id": 351, + "id": 355, "name": "timetz", "kind": 16, "kindString": "Enumeration member", @@ -6751,7 +6812,7 @@ "defaultValue": "\"timetz\"" }, { - "id": 352, + "id": 356, "name": "tsrange", "kind": 16, "kindString": "Enumeration member", @@ -6768,7 +6829,7 @@ "defaultValue": "\"tsrange\"" }, { - "id": 353, + "id": 357, "name": "tstzrange", "kind": 16, "kindString": "Enumeration member", @@ -6790,10 +6851,6 @@ "title": "Enumeration members", "kind": 16, "children": [ - 331, - 332, - 333, - 334, 335, 336, 337, @@ -6812,7 +6869,11 @@ 350, 351, 352, - 353 + 353, + 354, + 355, + 356, + 357 ] } ], @@ -6825,7 +6886,7 @@ ] }, { - "id": 354, + "id": 358, "name": "Column", "kind": 4194304, "kindString": "Type alias", @@ -6840,14 +6901,14 @@ "type": { "type": "reflection", "declaration": { - "id": 355, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 356, + "id": 360, "name": "flags", "kind": 32, "kindString": "Variable", @@ -6868,7 +6929,7 @@ } }, { - "id": 357, + "id": 361, "name": "name", "kind": 32, "kindString": "Variable", @@ -6886,7 +6947,7 @@ } }, { - "id": 358, + "id": 362, "name": "type", "kind": 32, "kindString": "Variable", @@ -6904,7 +6965,7 @@ } }, { - "id": 359, + "id": 363, "name": "type_modifier", "kind": 32, "kindString": "Variable", @@ -6927,10 +6988,10 @@ "title": "Variables", "kind": 32, "children": [ - 356, - 357, - 358, - 359 + 360, + 361, + 362, + 363 ] } ], @@ -6945,7 +7006,7 @@ } }, { - "id": 360, + "id": 364, "name": "Records", "kind": 4194304, "kindString": "Type alias", @@ -6960,21 +7021,21 @@ "type": { "type": "reflection", "declaration": { - "id": 361, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 362, + "id": 366, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 363, + "id": 367, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7002,7 +7063,7 @@ } }, { - "id": 380, + "id": 384, "name": "convertCell", "kind": 64, "kindString": "Function", @@ -7029,7 +7090,7 @@ }, "signatures": [ { - "id": 381, + "id": 385, "name": "convertCell", "kind": 4096, "kindString": "Call signature", @@ -7055,7 +7116,7 @@ }, "parameters": [ { - "id": 382, + "id": 386, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7071,7 +7132,7 @@ } }, { - "id": 383, + "id": 387, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7102,7 +7163,7 @@ ] }, { - "id": 364, + "id": 368, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -7121,7 +7182,7 @@ }, "signatures": [ { - "id": 365, + "id": 369, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -7139,7 +7200,7 @@ }, "parameters": [ { - "id": 366, + "id": 370, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -7150,13 +7211,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 367, + "id": 371, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -7166,12 +7227,12 @@ "comment": {}, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 368, + "id": 372, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7184,7 +7245,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7193,7 +7254,7 @@ }, "children": [ { - "id": 370, + "id": 374, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -7222,7 +7283,7 @@ "title": "Variables", "kind": 32, "children": [ - 370 + 374 ] } ], @@ -7241,7 +7302,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7250,7 +7311,7 @@ }, "indexSignature": [ { - "id": 372, + "id": 376, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7259,7 +7320,7 @@ }, "parameters": [ { - "id": 373, + "id": 377, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7291,7 +7352,7 @@ ] }, { - "id": 374, + "id": 378, "name": "convertColumn", "kind": 64, "kindString": "Function", @@ -7315,7 +7376,7 @@ }, "signatures": [ { - "id": 375, + "id": 379, "name": "convertColumn", "kind": 4096, "kindString": "Call signature", @@ -7338,7 +7399,7 @@ }, "parameters": [ { - "id": 376, + "id": 380, "name": "columnName", "kind": 32768, "kindString": "Parameter", @@ -7354,7 +7415,7 @@ } }, { - "id": 377, + "id": 381, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -7365,13 +7426,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 378, + "id": 382, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -7383,12 +7444,12 @@ }, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 379, + "id": 383, "name": "skipTypes", "kind": 32768, "kindString": "Parameter", @@ -7422,7 +7483,7 @@ ] }, { - "id": 384, + "id": 388, "name": "noop", "kind": 64, "kindString": "Function", @@ -7431,14 +7492,14 @@ }, "signatures": [ { - "id": 385, + "id": 389, "name": "noop", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 386, + "id": 390, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7464,7 +7525,7 @@ ] }, { - "id": 408, + "id": 412, "name": "toArray", "kind": 64, "kindString": "Function", @@ -7487,7 +7548,7 @@ }, "signatures": [ { - "id": 409, + "id": 413, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -7509,7 +7570,7 @@ }, "parameters": [ { - "id": 410, + "id": 414, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7522,7 +7583,7 @@ } }, { - "id": 411, + "id": 415, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7553,7 +7614,7 @@ ] }, { - "id": 387, + "id": 391, "name": "toBoolean", "kind": 64, "kindString": "Function", @@ -7563,7 +7624,7 @@ }, "signatures": [ { - "id": 388, + "id": 392, "name": "toBoolean", "kind": 4096, "kindString": "Call signature", @@ -7572,7 +7633,7 @@ }, "parameters": [ { - "id": 389, + "id": 393, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7613,7 +7674,7 @@ ] }, { - "id": 390, + "id": 394, "name": "toDate", "kind": 64, "kindString": "Function", @@ -7623,7 +7684,7 @@ }, "signatures": [ { - "id": 391, + "id": 395, "name": "toDate", "kind": 4096, "kindString": "Call signature", @@ -7632,7 +7693,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7660,7 +7721,7 @@ ] }, { - "id": 393, + "id": 397, "name": "toDateRange", "kind": 64, "kindString": "Function", @@ -7670,7 +7731,7 @@ }, "signatures": [ { - "id": 394, + "id": 398, "name": "toDateRange", "kind": 4096, "kindString": "Call signature", @@ -7679,7 +7740,7 @@ }, "parameters": [ { - "id": 395, + "id": 399, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7710,7 +7771,7 @@ ] }, { - "id": 396, + "id": 400, "name": "toFloat", "kind": 64, "kindString": "Function", @@ -7720,7 +7781,7 @@ }, "signatures": [ { - "id": 397, + "id": 401, "name": "toFloat", "kind": 4096, "kindString": "Call signature", @@ -7729,7 +7790,7 @@ }, "parameters": [ { - "id": 398, + "id": 402, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7757,7 +7818,7 @@ ] }, { - "id": 399, + "id": 403, "name": "toInt", "kind": 64, "kindString": "Function", @@ -7767,7 +7828,7 @@ }, "signatures": [ { - "id": 400, + "id": 404, "name": "toInt", "kind": 4096, "kindString": "Call signature", @@ -7776,7 +7837,7 @@ }, "parameters": [ { - "id": 401, + "id": 405, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7804,7 +7865,7 @@ ] }, { - "id": 402, + "id": 406, "name": "toIntRange", "kind": 64, "kindString": "Function", @@ -7814,7 +7875,7 @@ }, "signatures": [ { - "id": 403, + "id": 407, "name": "toIntRange", "kind": 4096, "kindString": "Call signature", @@ -7823,7 +7884,7 @@ }, "parameters": [ { - "id": 404, + "id": 408, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7854,7 +7915,7 @@ ] }, { - "id": 405, + "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -7864,7 +7925,7 @@ }, "signatures": [ { - "id": 406, + "id": 410, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -7873,7 +7934,7 @@ }, "parameters": [ { - "id": 407, + "id": 411, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7901,7 +7962,7 @@ ] }, { - "id": 412, + "id": 416, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -7920,7 +7981,7 @@ }, "signatures": [ { - "id": 413, + "id": 417, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -7938,7 +7999,7 @@ }, "parameters": [ { - "id": 414, + "id": 418, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7971,34 +8032,34 @@ "title": "Enumerations", "kind": 4, "children": [ - 330 + 334 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 354, - 360 + 358, + 364 ] }, { "title": "Functions", "kind": 64, "children": [ - 380, - 364, - 374, 384, - 408, - 387, - 390, - 393, - 396, - 399, - 402, - 405, - 412 + 368, + 378, + 388, + 412, + 391, + 394, + 397, + 400, + 403, + 406, + 409, + 416 ] } ], @@ -8009,6 +8070,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -8016,14 +8127,15 @@ "title": "Modules", "kind": 1, "children": [ - 196, - 92, - 415, - 1, - 38, - 171, - 24, - 329 + 200, + 96, + 419, + 3, + 42, + 175, + 28, + 333, + 1 ] } ] diff --git a/web/spec/storage.json b/web/spec/storage.json index fc4d6858de6..4430e1f63f6 100644 --- a/web/spec/storage.json +++ b/web/spec/storage.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 270, + "id": 276, "name": "\"SupabaseStorageClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/SupabaseStorageClient.ts", "children": [ { - "id": 271, + "id": 277, "name": "SupabaseStorageClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 272, + "id": 278, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 273, + "id": 279, "name": "new SupabaseStorageClient", "kind": 16384, "kindString": "Constructor signature", @@ -43,7 +43,7 @@ }, "parameters": [ { - "id": 274, + "id": 280, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -56,7 +56,7 @@ } }, { - "id": 275, + "id": 281, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -66,7 +66,7 @@ "type": { "type": "reflection", "declaration": { - "id": 276, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -75,7 +75,7 @@ }, "indexSignature": [ { - "id": 277, + "id": 283, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -84,7 +84,7 @@ }, "parameters": [ { - "id": 278, + "id": 284, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -117,12 +117,12 @@ ], "type": { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" }, "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } } @@ -136,12 +136,12 @@ ], "overwrites": { "type": "reference", - "id": 96, + "id": 101, "name": "StorageBucketApi.__constructor" } }, { - "id": 283, + "id": 289, "name": "headers", "kind": 1024, "kindString": "Property", @@ -152,14 +152,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 284, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -168,7 +168,7 @@ }, "indexSignature": [ { - "id": 285, + "id": 291, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -177,7 +177,7 @@ }, "parameters": [ { - "id": 286, + "id": 292, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -199,7 +199,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -207,12 +207,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 92, + "id": 97, "name": "StorageBucketApi.headers" } }, { - "id": 282, + "id": 288, "name": "url", "kind": 1024, "kindString": "Property", @@ -223,7 +223,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -233,12 +233,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 91, + "id": 96, "name": "StorageBucketApi.url" } }, { - "id": 298, + "id": 304, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -247,7 +247,7 @@ }, "signatures": [ { - "id": 299, + "id": 305, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -260,7 +260,7 @@ }, "parameters": [ { - "id": 300, + "id": 306, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -276,7 +276,7 @@ } }, { - "id": 301, + "id": 307, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -286,7 +286,7 @@ "type": { "type": "reflection", "declaration": { - "id": 302, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -295,7 +295,7 @@ }, "children": [ { - "id": 303, + "id": 309, "name": "public", "kind": 32, "kindString": "Variable", @@ -305,7 +305,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -320,14 +320,14 @@ "title": "Variables", "kind": 32, "children": [ - 303 + 309 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -342,7 +342,7 @@ { "type": "reflection", "declaration": { - "id": 304, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -351,7 +351,7 @@ }, "children": [ { - "id": 305, + "id": 311, "name": "data", "kind": 32, "kindString": "Variable", @@ -361,7 +361,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -380,7 +380,7 @@ } }, { - "id": 306, + "id": 312, "name": "error", "kind": 32, "kindString": "Variable", @@ -390,7 +390,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -414,15 +414,15 @@ "title": "Variables", "kind": 32, "children": [ - 305, - 306 + 311, + 312 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -433,7 +433,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } } @@ -441,18 +441,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 114, + "id": 119, "name": "StorageBucketApi.createBucket" } }, { - "id": 326, + "id": 332, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -461,7 +461,7 @@ }, "signatures": [ { - "id": 327, + "id": 333, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -473,7 +473,7 @@ }, "parameters": [ { - "id": 328, + "id": 334, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -495,7 +495,7 @@ { "type": "reflection", "declaration": { - "id": 329, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -504,7 +504,7 @@ }, "children": [ { - "id": 330, + "id": 336, "name": "data", "kind": 32, "kindString": "Variable", @@ -514,7 +514,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -524,7 +524,7 @@ { "type": "reflection", "declaration": { - "id": 331, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -533,7 +533,7 @@ }, "children": [ { - "id": 332, + "id": 338, "name": "message", "kind": 32, "kindString": "Variable", @@ -543,7 +543,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -558,14 +558,14 @@ "title": "Variables", "kind": 32, "children": [ - 332 + 338 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -579,7 +579,7 @@ } }, { - "id": 333, + "id": 339, "name": "error", "kind": 32, "kindString": "Variable", @@ -589,7 +589,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -613,15 +613,15 @@ "title": "Variables", "kind": 32, "children": [ - 330, - 333 + 336, + 339 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -632,7 +632,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } } @@ -640,18 +640,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 142, + "id": 147, "name": "StorageBucketApi.deleteBucket" } }, { - "id": 318, + "id": 324, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -660,7 +660,7 @@ }, "signatures": [ { - "id": 319, + "id": 325, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -672,7 +672,7 @@ }, "parameters": [ { - "id": 320, + "id": 326, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -694,7 +694,7 @@ { "type": "reflection", "declaration": { - "id": 321, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -703,7 +703,7 @@ }, "children": [ { - "id": 322, + "id": 328, "name": "data", "kind": 32, "kindString": "Variable", @@ -713,7 +713,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -723,7 +723,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 329, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -732,7 +732,7 @@ }, "children": [ { - "id": 324, + "id": 330, "name": "message", "kind": 32, "kindString": "Variable", @@ -742,7 +742,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -757,14 +757,14 @@ "title": "Variables", "kind": 32, "children": [ - 324 + 330 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -778,7 +778,7 @@ } }, { - "id": 325, + "id": 331, "name": "error", "kind": 32, "kindString": "Variable", @@ -788,7 +788,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -812,15 +812,15 @@ "title": "Variables", "kind": 32, "children": [ - 322, - 325 + 328, + 331 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -831,7 +831,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } } @@ -839,18 +839,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 134, + "id": 139, "name": "StorageBucketApi.emptyBucket" } }, { - "id": 279, + "id": 285, "name": "from", "kind": 2048, "kindString": "Method", @@ -859,7 +859,7 @@ }, "signatures": [ { - "id": 280, + "id": 286, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -871,7 +871,7 @@ }, "parameters": [ { - "id": 281, + "id": 287, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -889,7 +889,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -903,7 +903,7 @@ ] }, { - "id": 292, + "id": 298, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -912,7 +912,7 @@ }, "signatures": [ { - "id": 293, + "id": 299, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -924,7 +924,7 @@ }, "parameters": [ { - "id": 294, + "id": 300, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -940,6 +940,142 @@ } } ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 301, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 302, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 45 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "Bucket" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 303, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 67 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 302, + 303 + ] + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 39 + } + ] + } + } + ], + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + } + ], + "sources": [ + { + "fileName": "lib/StorageBucketApi.ts", + "line": 31, + "character": 17 + } + ], + "inheritedFrom": { + "type": "reference", + "id": 113, + "name": "StorageBucketApi.getBucket" + } + }, + { + "id": 293, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 294, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Retrieves the details of all Storage buckets within an existing product." + }, "type": { "type": "reference", "typeArguments": [ @@ -965,17 +1101,20 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 45 + "line": 17, + "character": 37 } ], "type": { "type": "union", "types": [ { - "type": "reference", - "id": 58, - "name": "Bucket" + "type": "array", + "elementType": { + "type": "reference", + "id": 58, + "name": "Bucket" + } }, { "type": "intrinsic", @@ -995,8 +1134,8 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 67 + "line": 17, + "character": 61 } ], "type": { @@ -1027,146 +1166,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 39 - } - ] - } - } - ], - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 30, - "character": 17 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 108, - "name": "StorageBucketApi.getBucket" - } - }, - { - "id": 287, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 288, - "name": "listBuckets", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves the details of all Storage buckets within an existing product." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 290, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "id": 58, - "name": "Bucket" - } - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 291, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, - "character": 61 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 290, - 291 - ] - } - ], - "sources": [ - { - "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -1177,7 +1177,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } } @@ -1185,18 +1185,18 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 108, "name": "StorageBucketApi.listBuckets" } }, { - "id": 307, + "id": 313, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -1205,7 +1205,7 @@ }, "signatures": [ { - "id": 308, + "id": 314, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -1217,7 +1217,7 @@ }, "parameters": [ { - "id": 309, + "id": 315, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1233,7 +1233,7 @@ } }, { - "id": 310, + "id": 316, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1243,7 +1243,7 @@ "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1252,7 +1252,7 @@ }, "children": [ { - "id": 312, + "id": 318, "name": "public", "kind": 32, "kindString": "Variable", @@ -1262,7 +1262,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -1277,14 +1277,14 @@ "title": "Variables", "kind": 32, "children": [ - 312 + 318 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -1298,7 +1298,7 @@ { "type": "reflection", "declaration": { - "id": 313, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1307,7 +1307,7 @@ }, "children": [ { - "id": 314, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -1317,7 +1317,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -1327,7 +1327,7 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1336,7 +1336,7 @@ }, "children": [ { - "id": 316, + "id": 322, "name": "message", "kind": 32, "kindString": "Variable", @@ -1346,7 +1346,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -1361,14 +1361,14 @@ "title": "Variables", "kind": 32, "children": [ - 316 + 322 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -1382,7 +1382,7 @@ } }, { - "id": 317, + "id": 323, "name": "error", "kind": 32, "kindString": "Variable", @@ -1392,7 +1392,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -1416,15 +1416,15 @@ "title": "Variables", "kind": 32, "children": [ - 314, - 317 + 320, + 323 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -1435,7 +1435,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -1443,13 +1443,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ], "inheritedFrom": { "type": "reference", - "id": 123, + "id": 128, "name": "StorageBucketApi.updateBucket" } } @@ -1459,28 +1459,28 @@ "title": "Constructors", "kind": 512, "children": [ - 272 + 278 ] }, { "title": "Properties", "kind": 1024, "children": [ - 283, - 282 + 289, + 288 ] }, { "title": "Methods", "kind": 2048, "children": [ + 304, + 332, + 324, + 285, 298, - 326, - 318, - 279, - 292, - 287, - 307 + 293, + 313 ] } ], @@ -1494,7 +1494,7 @@ "extendedTypes": [ { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } ] @@ -1505,7 +1505,7 @@ "title": "Classes", "kind": 128, "children": [ - 271 + 277 ] } ], @@ -1518,7 +1518,7 @@ ] }, { - "id": 334, + "id": 340, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1528,7 +1528,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/index.ts", "children": [ { - "id": 335, + "id": 341, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -1538,7 +1538,7 @@ "target": 58 }, { - "id": 336, + "id": 342, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -1548,7 +1548,7 @@ "target": 65 }, { - "id": 338, + "id": 344, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -1558,7 +1558,7 @@ "target": 79 }, { - "id": 340, + "id": 346, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -1568,7 +1568,7 @@ "target": 87 }, { - "id": 339, + "id": 345, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -1578,7 +1578,7 @@ "target": 83 }, { - "id": 337, + "id": 343, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -1593,12 +1593,12 @@ "title": "References", "kind": 16777216, "children": [ - 335, - 336, - 338, - 340, - 339, - 337 + 341, + 342, + 344, + 346, + 345, + 343 ] } ], @@ -1611,7 +1611,7 @@ ] }, { - "id": 89, + "id": 94, "name": "\"lib/StorageBucketApi\"", "kind": 1, "kindString": "Module", @@ -1621,7 +1621,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageBucketApi.ts", "children": [ { - "id": 90, + "id": 95, "name": "StorageBucketApi", "kind": 128, "kindString": "Class", @@ -1630,7 +1630,7 @@ }, "children": [ { - "id": 96, + "id": 101, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1639,7 +1639,7 @@ }, "signatures": [ { - "id": 97, + "id": 102, "name": "new StorageBucketApi", "kind": 16384, "kindString": "Constructor signature", @@ -1648,7 +1648,7 @@ }, "parameters": [ { - "id": 98, + "id": 103, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -1661,7 +1661,7 @@ } }, { - "id": 99, + "id": 104, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -1671,7 +1671,7 @@ "type": { "type": "reflection", "declaration": { - "id": 100, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1680,7 +1680,7 @@ }, "indexSignature": [ { - "id": 101, + "id": 106, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -1689,7 +1689,7 @@ }, "parameters": [ { - "id": 102, + "id": 107, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -1711,7 +1711,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 8, + "line": 9, "character": 35 } ] @@ -1722,7 +1722,7 @@ ], "type": { "type": "reference", - "id": 90, + "id": 95, "name": "StorageBucketApi" } } @@ -1730,13 +1730,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 46 } ] }, { - "id": 92, + "id": 97, "name": "headers", "kind": 1024, "kindString": "Property", @@ -1747,14 +1747,14 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 19 } ], "type": { "type": "reflection", "declaration": { - "id": 93, + "id": 98, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1763,7 +1763,7 @@ }, "indexSignature": [ { - "id": 94, + "id": 99, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -1772,7 +1772,7 @@ }, "parameters": [ { - "id": 95, + "id": 100, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -1794,7 +1794,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 6, + "line": 7, "character": 20 } ] @@ -1802,7 +1802,7 @@ } }, { - "id": 91, + "id": 96, "name": "url", "kind": 1024, "kindString": "Property", @@ -1813,7 +1813,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 5, + "line": 6, "character": 15 } ], @@ -1823,7 +1823,7 @@ } }, { - "id": 114, + "id": 119, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -1832,7 +1832,7 @@ }, "signatures": [ { - "id": 115, + "id": 120, "name": "createBucket", "kind": 4096, "kindString": "Call signature", @@ -1845,7 +1845,7 @@ }, "parameters": [ { - "id": 116, + "id": 121, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1861,7 +1861,7 @@ } }, { - "id": 117, + "id": 122, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1871,7 +1871,7 @@ "type": { "type": "reflection", "declaration": { - "id": 118, + "id": 123, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1880,7 +1880,7 @@ }, "children": [ { - "id": 119, + "id": 124, "name": "public", "kind": 32, "kindString": "Variable", @@ -1890,7 +1890,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 21 } ], @@ -1905,14 +1905,14 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 124 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 47, + "line": 48, "character": 12 } ] @@ -1927,7 +1927,7 @@ { "type": "reflection", "declaration": { - "id": 120, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1936,7 +1936,7 @@ }, "children": [ { - "id": 121, + "id": 126, "name": "data", "kind": 32, "kindString": "Variable", @@ -1946,7 +1946,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 19 } ], @@ -1965,7 +1965,7 @@ } }, { - "id": 122, + "id": 127, "name": "error", "kind": 32, "kindString": "Variable", @@ -1975,7 +1975,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 41 } ], @@ -1999,15 +1999,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 122 + 126, + 127 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 48, + "line": 49, "character": 13 } ] @@ -2021,13 +2021,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 45, + "line": 46, "character": 20 } ] }, { - "id": 142, + "id": 147, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -2036,7 +2036,7 @@ }, "signatures": [ { - "id": 143, + "id": 148, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -2048,7 +2048,7 @@ }, "parameters": [ { - "id": 144, + "id": 149, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2070,7 +2070,7 @@ { "type": "reflection", "declaration": { - "id": 145, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2079,7 +2079,7 @@ }, "children": [ { - "id": 146, + "id": 151, "name": "data", "kind": 32, "kindString": "Variable", @@ -2089,7 +2089,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 19 } ], @@ -2099,7 +2099,7 @@ { "type": "reflection", "declaration": { - "id": 147, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2108,7 +2108,7 @@ }, "children": [ { - "id": 148, + "id": 153, "name": "message", "kind": 32, "kindString": "Variable", @@ -2118,7 +2118,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 30 } ], @@ -2133,14 +2133,14 @@ "title": "Variables", "kind": 32, "children": [ - 148 + 153 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 20 } ] @@ -2154,7 +2154,7 @@ } }, { - "id": 149, + "id": 154, "name": "error", "kind": 32, "kindString": "Variable", @@ -2164,7 +2164,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 54 } ], @@ -2188,15 +2188,15 @@ "title": "Variables", "kind": 32, "children": [ - 146, - 149 + 151, + 154 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 106, + "line": 107, "character": 13 } ] @@ -2210,13 +2210,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 104, + "line": 105, "character": 20 } ] }, { - "id": 134, + "id": 139, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -2225,7 +2225,7 @@ }, "signatures": [ { - "id": 135, + "id": 140, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -2237,7 +2237,7 @@ }, "parameters": [ { - "id": 136, + "id": 141, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2259,7 +2259,7 @@ { "type": "reflection", "declaration": { - "id": 137, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2268,7 +2268,7 @@ }, "children": [ { - "id": 138, + "id": 143, "name": "data", "kind": 32, "kindString": "Variable", @@ -2278,7 +2278,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 19 } ], @@ -2288,7 +2288,7 @@ { "type": "reflection", "declaration": { - "id": 139, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2297,7 +2297,7 @@ }, "children": [ { - "id": 140, + "id": 145, "name": "message", "kind": 32, "kindString": "Variable", @@ -2307,7 +2307,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 30 } ], @@ -2322,14 +2322,14 @@ "title": "Variables", "kind": 32, "children": [ - 140 + 145 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 20 } ] @@ -2343,7 +2343,7 @@ } }, { - "id": 141, + "id": 146, "name": "error", "kind": 32, "kindString": "Variable", @@ -2353,7 +2353,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 54 } ], @@ -2377,15 +2377,15 @@ "title": "Variables", "kind": 32, "children": [ - 138, - 141 + 143, + 146 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 89, + "line": 90, "character": 13 } ] @@ -2399,13 +2399,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 87, + "line": 88, "character": 19 } ] }, { - "id": 108, + "id": 113, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -2414,7 +2414,7 @@ }, "signatures": [ { - "id": 109, + "id": 114, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -2426,7 +2426,7 @@ }, "parameters": [ { - "id": 110, + "id": 115, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2448,7 +2448,7 @@ { "type": "reflection", "declaration": { - "id": 111, + "id": 116, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2457,7 +2457,7 @@ }, "children": [ { - "id": 112, + "id": 117, "name": "data", "kind": 32, "kindString": "Variable", @@ -2467,7 +2467,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 45 } ], @@ -2487,7 +2487,7 @@ } }, { - "id": 113, + "id": 118, "name": "error", "kind": 32, "kindString": "Variable", @@ -2497,7 +2497,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 67 } ], @@ -2521,15 +2521,15 @@ "title": "Variables", "kind": 32, "children": [ - 112, - 113 + 117, + 118 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 39 } ] @@ -2543,13 +2543,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 30, + "line": 31, "character": 17 } ] }, { - "id": 103, + "id": 108, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -2558,7 +2558,7 @@ }, "signatures": [ { - "id": 104, + "id": 109, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -2574,7 +2574,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 110, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2583,7 +2583,7 @@ }, "children": [ { - "id": 106, + "id": 111, "name": "data", "kind": 32, "kindString": "Variable", @@ -2593,7 +2593,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 37 } ], @@ -2616,7 +2616,7 @@ } }, { - "id": 107, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -2626,7 +2626,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 61 } ], @@ -2650,15 +2650,15 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 107 + 111, + 112 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 31 } ] @@ -2672,13 +2672,13 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 16, + "line": 17, "character": 19 } ] }, { - "id": 123, + "id": 128, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -2687,7 +2687,7 @@ }, "signatures": [ { - "id": 124, + "id": 129, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -2699,7 +2699,7 @@ }, "parameters": [ { - "id": 125, + "id": 130, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -2715,7 +2715,7 @@ } }, { - "id": 126, + "id": 131, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2725,7 +2725,7 @@ "type": { "type": "reflection", "declaration": { - "id": 127, + "id": 132, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2734,7 +2734,7 @@ }, "children": [ { - "id": 128, + "id": 133, "name": "public", "kind": 32, "kindString": "Variable", @@ -2744,7 +2744,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 21 } ], @@ -2759,14 +2759,14 @@ "title": "Variables", "kind": 32, "children": [ - 128 + 133 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 68, + "line": 69, "character": 12 } ] @@ -2780,7 +2780,7 @@ { "type": "reflection", "declaration": { - "id": 129, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2789,7 +2789,7 @@ }, "children": [ { - "id": 130, + "id": 135, "name": "data", "kind": 32, "kindString": "Variable", @@ -2799,7 +2799,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 19 } ], @@ -2809,7 +2809,7 @@ { "type": "reflection", "declaration": { - "id": 131, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2818,7 +2818,7 @@ }, "children": [ { - "id": 132, + "id": 137, "name": "message", "kind": 32, "kindString": "Variable", @@ -2828,7 +2828,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 30 } ], @@ -2843,14 +2843,14 @@ "title": "Variables", "kind": 32, "children": [ - 132 + 137 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 20 } ] @@ -2864,7 +2864,7 @@ } }, { - "id": 133, + "id": 138, "name": "error", "kind": 32, "kindString": "Variable", @@ -2874,7 +2874,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 54 } ], @@ -2898,15 +2898,15 @@ "title": "Variables", "kind": 32, "children": [ - 130, - 133 + 135, + 138 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 69, + "line": 70, "character": 13 } ] @@ -2920,7 +2920,7 @@ "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 66, + "line": 67, "character": 20 } ] @@ -2931,41 +2931,41 @@ "title": "Constructors", "kind": 512, "children": [ - 96 + 101 ] }, { "title": "Properties", "kind": 1024, "children": [ - 92, - 91 + 97, + 96 ] }, { "title": "Methods", "kind": 2048, "children": [ - 114, - 142, - 134, + 119, + 147, + 139, + 113, 108, - 103, - 123 + 128 ] } ], "sources": [ { "fileName": "lib/StorageBucketApi.ts", - "line": 4, + "line": 5, "character": 29 } ], "extendedBy": [ { "type": "reference", - "id": 271, + "id": 277, "name": "SupabaseStorageClient" } ] @@ -2976,7 +2976,7 @@ "title": "Classes", "kind": 128, "children": [ - 90 + 95 ] } ], @@ -2989,7 +2989,7 @@ ] }, { - "id": 153, + "id": 158, "name": "\"lib/StorageFileApi\"", "kind": 1, "kindString": "Module", @@ -2999,7 +2999,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/StorageFileApi.ts", "children": [ { - "id": 154, + "id": 159, "name": "StorageFileApi", "kind": 128, "kindString": "Class", @@ -3008,7 +3008,7 @@ }, "children": [ { - "id": 161, + "id": 166, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3017,7 +3017,7 @@ }, "signatures": [ { - "id": 162, + "id": 167, "name": "new StorageFileApi", "kind": 16384, "kindString": "Constructor signature", @@ -3026,7 +3026,7 @@ }, "parameters": [ { - "id": 163, + "id": 168, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -3039,7 +3039,7 @@ } }, { - "id": 164, + "id": 169, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -3049,7 +3049,7 @@ "type": { "type": "reflection", "declaration": { - "id": 165, + "id": 170, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3058,7 +3058,7 @@ }, "indexSignature": [ { - "id": 166, + "id": 171, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -3067,7 +3067,7 @@ }, "parameters": [ { - "id": 167, + "id": 172, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -3098,7 +3098,7 @@ "defaultValue": "{}" }, { - "id": 168, + "id": 173, "name": "bucketId", "kind": 32768, "kindString": "Parameter", @@ -3123,7 +3123,7 @@ ], "type": { "type": "reference", - "id": 154, + "id": 159, "name": "StorageFileApi" } } @@ -3137,7 +3137,7 @@ ] }, { - "id": 160, + "id": 165, "name": "bucketId", "kind": 1024, "kindString": "Property", @@ -3168,7 +3168,7 @@ } }, { - "id": 156, + "id": 161, "name": "headers", "kind": 1024, "kindString": "Property", @@ -3186,7 +3186,7 @@ "type": { "type": "reflection", "declaration": { - "id": 157, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3195,7 +3195,7 @@ }, "indexSignature": [ { - "id": 158, + "id": 163, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -3204,7 +3204,7 @@ }, "parameters": [ { - "id": 159, + "id": 164, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -3234,7 +3234,7 @@ } }, { - "id": 155, + "id": 160, "name": "url", "kind": 1024, "kindString": "Property", @@ -3255,7 +3255,7 @@ } }, { - "id": 248, + "id": 253, "name": "_getFinalPath", "kind": 2048, "kindString": "Method", @@ -3264,7 +3264,7 @@ }, "signatures": [ { - "id": 249, + "id": 254, "name": "_getFinalPath", "kind": 4096, "kindString": "Call signature", @@ -3273,7 +3273,7 @@ }, "parameters": [ { - "id": 250, + "id": 255, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3301,7 +3301,7 @@ ] }, { - "id": 209, + "id": 214, "name": "createSignedUrl", "kind": 2048, "kindString": "Method", @@ -3310,7 +3310,7 @@ }, "signatures": [ { - "id": 210, + "id": 215, "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -3322,7 +3322,7 @@ }, "parameters": [ { - "id": 211, + "id": 216, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3338,7 +3338,7 @@ } }, { - "id": 212, + "id": 217, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -3360,7 +3360,7 @@ { "type": "reflection", "declaration": { - "id": 213, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3369,7 +3369,7 @@ }, "children": [ { - "id": 214, + "id": 219, "name": "data", "kind": 32, "kindString": "Variable", @@ -3389,7 +3389,7 @@ { "type": "reflection", "declaration": { - "id": 215, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3398,7 +3398,7 @@ }, "children": [ { - "id": 216, + "id": 221, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -3423,7 +3423,7 @@ "title": "Variables", "kind": 32, "children": [ - 216 + 221 ] } ], @@ -3444,7 +3444,7 @@ } }, { - "id": 217, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -3473,7 +3473,7 @@ } }, { - "id": 218, + "id": 223, "name": "signedURL", "kind": 32, "kindString": "Variable", @@ -3507,9 +3507,9 @@ "title": "Variables", "kind": 32, "children": [ - 214, - 217, - 218 + 219, + 222, + 223 ] } ], @@ -3536,7 +3536,7 @@ ] }, { - "id": 219, + "id": 224, "name": "download", "kind": 2048, "kindString": "Method", @@ -3545,7 +3545,7 @@ }, "signatures": [ { - "id": 220, + "id": 225, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -3557,7 +3557,7 @@ }, "parameters": [ { - "id": 221, + "id": 226, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3579,7 +3579,7 @@ { "type": "reflection", "declaration": { - "id": 222, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3588,7 +3588,7 @@ }, "children": [ { - "id": 223, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -3617,7 +3617,7 @@ } }, { - "id": 224, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -3651,8 +3651,8 @@ "title": "Variables", "kind": 32, "children": [ - 223, - 224 + 228, + 229 ] } ], @@ -3679,7 +3679,7 @@ ] }, { - "id": 225, + "id": 230, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -3688,7 +3688,7 @@ }, "signatures": [ { - "id": 226, + "id": 231, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -3700,7 +3700,7 @@ }, "parameters": [ { - "id": 227, + "id": 232, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3719,7 +3719,7 @@ "type": { "type": "reflection", "declaration": { - "id": 228, + "id": 233, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3728,7 +3728,7 @@ }, "children": [ { - "id": 229, + "id": 234, "name": "data", "kind": 32, "kindString": "Variable", @@ -3748,7 +3748,7 @@ { "type": "reflection", "declaration": { - "id": 230, + "id": 235, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3757,7 +3757,7 @@ }, "children": [ { - "id": 231, + "id": 236, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -3782,7 +3782,7 @@ "title": "Variables", "kind": 32, "children": [ - 231 + 236 ] } ], @@ -3803,7 +3803,7 @@ } }, { - "id": 232, + "id": 237, "name": "error", "kind": 32, "kindString": "Variable", @@ -3832,7 +3832,7 @@ } }, { - "id": 233, + "id": 238, "name": "publicURL", "kind": 32, "kindString": "Variable", @@ -3866,9 +3866,9 @@ "title": "Variables", "kind": 32, "children": [ - 229, - 232, - 233 + 234, + 237, + 238 ] } ], @@ -3892,7 +3892,7 @@ ] }, { - "id": 240, + "id": 245, "name": "list", "kind": 2048, "kindString": "Method", @@ -3901,7 +3901,7 @@ }, "signatures": [ { - "id": 241, + "id": 246, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -3913,7 +3913,7 @@ }, "parameters": [ { - "id": 242, + "id": 247, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3939,7 +3939,7 @@ } }, { - "id": 243, + "id": 248, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3957,7 +3957,7 @@ } }, { - "id": 244, + "id": 249, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -3981,7 +3981,7 @@ { "type": "reflection", "declaration": { - "id": 245, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3990,7 +3990,7 @@ }, "children": [ { - "id": 246, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -4023,7 +4023,7 @@ } }, { - "id": 247, + "id": 252, "name": "error", "kind": 32, "kindString": "Variable", @@ -4057,8 +4057,8 @@ "title": "Variables", "kind": 32, "children": [ - 246, - 247 + 251, + 252 ] } ], @@ -4085,7 +4085,7 @@ ] }, { - "id": 200, + "id": 205, "name": "move", "kind": 2048, "kindString": "Method", @@ -4094,7 +4094,7 @@ }, "signatures": [ { - "id": 201, + "id": 206, "name": "move", "kind": 4096, "kindString": "Call signature", @@ -4106,7 +4106,7 @@ }, "parameters": [ { - "id": 202, + "id": 207, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -4122,7 +4122,7 @@ } }, { - "id": 203, + "id": 208, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -4144,7 +4144,7 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4153,7 +4153,7 @@ }, "children": [ { - "id": 205, + "id": 210, "name": "data", "kind": 32, "kindString": "Variable", @@ -4173,7 +4173,7 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 211, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4182,7 +4182,7 @@ }, "children": [ { - "id": 207, + "id": 212, "name": "message", "kind": 32, "kindString": "Variable", @@ -4207,7 +4207,7 @@ "title": "Variables", "kind": 32, "children": [ - 207 + 212 ] } ], @@ -4228,7 +4228,7 @@ } }, { - "id": 208, + "id": 213, "name": "error", "kind": 32, "kindString": "Variable", @@ -4262,8 +4262,8 @@ "title": "Variables", "kind": 32, "children": [ - 205, - 208 + 210, + 213 ] } ], @@ -4290,7 +4290,7 @@ ] }, { - "id": 234, + "id": 239, "name": "remove", "kind": 2048, "kindString": "Method", @@ -4299,7 +4299,7 @@ }, "signatures": [ { - "id": 235, + "id": 240, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -4311,7 +4311,7 @@ }, "parameters": [ { - "id": 236, + "id": 241, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -4336,7 +4336,7 @@ { "type": "reflection", "declaration": { - "id": 237, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4345,7 +4345,7 @@ }, "children": [ { - "id": 238, + "id": 243, "name": "data", "kind": 32, "kindString": "Variable", @@ -4378,7 +4378,7 @@ } }, { - "id": 239, + "id": 244, "name": "error", "kind": 32, "kindString": "Variable", @@ -4412,8 +4412,8 @@ "title": "Variables", "kind": 32, "children": [ - 238, - 239 + 243, + 244 ] } ], @@ -4440,7 +4440,7 @@ ] }, { - "id": 190, + "id": 195, "name": "update", "kind": 2048, "kindString": "Method", @@ -4449,7 +4449,7 @@ }, "signatures": [ { - "id": 191, + "id": 196, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4461,7 +4461,7 @@ }, "parameters": [ { - "id": 192, + "id": 197, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -4477,7 +4477,7 @@ } }, { - "id": 193, + "id": 198, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -4540,7 +4540,7 @@ } }, { - "id": 194, + "id": 199, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -4564,7 +4564,7 @@ { "type": "reflection", "declaration": { - "id": 195, + "id": 200, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4573,7 +4573,7 @@ }, "children": [ { - "id": 196, + "id": 201, "name": "data", "kind": 32, "kindString": "Variable", @@ -4593,7 +4593,7 @@ { "type": "reflection", "declaration": { - "id": 197, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4602,7 +4602,7 @@ }, "children": [ { - "id": 198, + "id": 203, "name": "Key", "kind": 32, "kindString": "Variable", @@ -4627,7 +4627,7 @@ "title": "Variables", "kind": 32, "children": [ - 198 + 203 ] } ], @@ -4648,7 +4648,7 @@ } }, { - "id": 199, + "id": 204, "name": "error", "kind": 32, "kindString": "Variable", @@ -4682,8 +4682,8 @@ "title": "Variables", "kind": 32, "children": [ - 196, - 199 + 201, + 204 ] } ], @@ -4710,7 +4710,7 @@ ] }, { - "id": 180, + "id": 185, "name": "upload", "kind": 2048, "kindString": "Method", @@ -4719,7 +4719,7 @@ }, "signatures": [ { - "id": 181, + "id": 186, "name": "upload", "kind": 4096, "kindString": "Call signature", @@ -4731,7 +4731,7 @@ }, "parameters": [ { - "id": 182, + "id": 187, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -4747,7 +4747,7 @@ } }, { - "id": 183, + "id": 188, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -4810,7 +4810,7 @@ } }, { - "id": 184, + "id": 189, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -4834,7 +4834,7 @@ { "type": "reflection", "declaration": { - "id": 185, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4843,7 +4843,7 @@ }, "children": [ { - "id": 186, + "id": 191, "name": "data", "kind": 32, "kindString": "Variable", @@ -4863,7 +4863,7 @@ { "type": "reflection", "declaration": { - "id": 187, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4872,7 +4872,7 @@ }, "children": [ { - "id": 188, + "id": 193, "name": "Key", "kind": 32, "kindString": "Variable", @@ -4897,7 +4897,7 @@ "title": "Variables", "kind": 32, "children": [ - 188 + 193 ] } ], @@ -4918,7 +4918,7 @@ } }, { - "id": 189, + "id": 194, "name": "error", "kind": 32, "kindString": "Variable", @@ -4952,8 +4952,8 @@ "title": "Variables", "kind": 32, "children": [ - 186, - 189 + 191, + 194 ] } ], @@ -4980,7 +4980,7 @@ ] }, { - "id": 169, + "id": 174, "name": "uploadOrUpdate", "kind": 2048, "kindString": "Method", @@ -4990,7 +4990,7 @@ }, "signatures": [ { - "id": 170, + "id": 175, "name": "uploadOrUpdate", "kind": 4096, "kindString": "Call signature", @@ -5002,7 +5002,7 @@ }, "parameters": [ { - "id": 171, + "id": 176, "name": "method", "kind": 32768, "kindString": "Parameter", @@ -5027,7 +5027,7 @@ } }, { - "id": 172, + "id": 177, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5043,7 +5043,7 @@ } }, { - "id": 173, + "id": 178, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -5106,7 +5106,7 @@ } }, { - "id": 174, + "id": 179, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -5130,7 +5130,7 @@ { "type": "reflection", "declaration": { - "id": 175, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5139,7 +5139,7 @@ }, "children": [ { - "id": 176, + "id": 181, "name": "data", "kind": 32, "kindString": "Variable", @@ -5159,7 +5159,7 @@ { "type": "reflection", "declaration": { - "id": 177, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5168,7 +5168,7 @@ }, "children": [ { - "id": 178, + "id": 183, "name": "Key", "kind": 32, "kindString": "Variable", @@ -5193,7 +5193,7 @@ "title": "Variables", "kind": 32, "children": [ - 178 + 183 ] } ], @@ -5214,7 +5214,7 @@ } }, { - "id": 179, + "id": 184, "name": "error", "kind": 32, "kindString": "Variable", @@ -5248,8 +5248,8 @@ "title": "Variables", "kind": 32, "children": [ - 176, - 179 + 181, + 184 ] } ], @@ -5281,32 +5281,32 @@ "title": "Constructors", "kind": 512, "children": [ - 161 + 166 ] }, { "title": "Properties", "kind": 1024, "children": [ - 160, - 156, - 155 + 165, + 161, + 160 ] }, { "title": "Methods", "kind": 2048, "children": [ - 248, - 209, - 219, - 225, - 240, - 200, - 234, - 190, - 180, - 169 + 253, + 214, + 224, + 230, + 245, + 205, + 239, + 195, + 185, + 174 ] } ], @@ -5319,7 +5319,7 @@ ] }, { - "id": 257, + "id": 262, "name": "DEFAULT_FILE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -5328,7 +5328,7 @@ }, "children": [ { - "id": 258, + "id": 263, "name": "cacheControl", "kind": 32, "kindString": "Variable", @@ -5347,7 +5347,7 @@ "defaultValue": "\"3600\"" }, { - "id": 259, + "id": 264, "name": "contentType", "kind": 32, "kindString": "Variable", @@ -5366,7 +5366,7 @@ "defaultValue": "\"text/plain;charset=UTF-8\"" }, { - "id": 260, + "id": 265, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5390,9 +5390,9 @@ "title": "Variables", "kind": 32, "children": [ - 258, - 259, - 260 + 263, + 264, + 265 ] } ], @@ -5409,7 +5409,7 @@ } }, { - "id": 251, + "id": 256, "name": "DEFAULT_SEARCH_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -5418,7 +5418,7 @@ }, "children": [ { - "id": 252, + "id": 257, "name": "limit", "kind": 32, "kindString": "Variable", @@ -5437,7 +5437,7 @@ "defaultValue": "100" }, { - "id": 253, + "id": 258, "name": "offset", "kind": 32, "kindString": "Variable", @@ -5456,14 +5456,14 @@ "defaultValue": "0" }, { - "id": 254, + "id": 259, "name": "sortBy", "kind": 2097152, "kindString": "Object literal", "flags": {}, "children": [ { - "id": 255, + "id": 260, "name": "column", "kind": 32, "kindString": "Variable", @@ -5482,7 +5482,7 @@ "defaultValue": "\"name\"" }, { - "id": 256, + "id": 261, "name": "order", "kind": 32, "kindString": "Variable", @@ -5506,8 +5506,8 @@ "title": "Variables", "kind": 32, "children": [ - 255, - 256 + 260, + 261 ] } ], @@ -5529,15 +5529,15 @@ "title": "Variables", "kind": 32, "children": [ - 252, - 253 + 257, + 258 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 254 + 259 ] } ], @@ -5559,15 +5559,15 @@ "title": "Classes", "kind": 128, "children": [ - 154 + 159 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 257, - 251 + 262, + 256 ] } ], @@ -5579,6 +5579,87 @@ } ] }, + { + "id": 91, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/constants.ts", + "children": [ + { + "id": 92, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 93, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`storage-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 93 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 2, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 92 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, { "id": 1, "name": "\"lib/fetch\"", @@ -6540,7 +6621,7 @@ ] }, { - "id": 150, + "id": 155, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -6550,7 +6631,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/helpers.ts", "children": [ { - "id": 151, + "id": 156, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -6560,7 +6641,7 @@ }, "signatures": [ { - "id": 152, + "id": 157, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -6587,7 +6668,7 @@ "title": "Functions", "kind": 64, "children": [ - 151 + 156 ] } ], @@ -6600,7 +6681,7 @@ ] }, { - "id": 261, + "id": 266, "name": "\"lib/index\"", "kind": 1, "kindString": "Module", @@ -6610,7 +6691,7 @@ "originalName": "/home/runner/work/storage-js/storage-js/src/lib/index.ts", "children": [ { - "id": 264, + "id": 269, "name": "Bucket", "kind": 16777216, "kindString": "Reference", @@ -6620,7 +6701,17 @@ "target": 58 }, { - "id": 265, + "id": 275, + "name": "DEFAULT_HEADERS", + "kind": 16777216, + "kindString": "Reference", + "flags": { + "isExported": true + }, + "target": 92 + }, + { + "id": 270, "name": "FileObject", "kind": 16777216, "kindString": "Reference", @@ -6630,7 +6721,7 @@ "target": 65 }, { - "id": 267, + "id": 272, "name": "FileOptions", "kind": 16777216, "kindString": "Reference", @@ -6640,7 +6731,7 @@ "target": 79 }, { - "id": 269, + "id": 274, "name": "Metadata", "kind": 16777216, "kindString": "Reference", @@ -6650,7 +6741,7 @@ "target": 87 }, { - "id": 268, + "id": 273, "name": "SearchOptions", "kind": 16777216, "kindString": "Reference", @@ -6660,7 +6751,7 @@ "target": 83 }, { - "id": 266, + "id": 271, "name": "SortBy", "kind": 16777216, "kindString": "Reference", @@ -6670,24 +6761,24 @@ "target": 76 }, { - "id": 262, + "id": 267, "name": "StorageBucketApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 90 + "target": 95 }, { - "id": 263, + "id": 268, "name": "StorageFileApi", "kind": 16777216, "kindString": "Reference", "flags": { "isExported": true }, - "target": 154 + "target": 159 } ], "groups": [ @@ -6695,14 +6786,15 @@ "title": "References", "kind": 16777216, "children": [ - 264, - 265, - 267, 269, - 268, - 266, - 262, - 263 + 275, + 270, + 272, + 274, + 273, + 271, + 267, + 268 ] } ], @@ -7507,6 +7599,56 @@ "character": 0 } ] + }, + { + "id": 89, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/storage-js/storage-js/src/lib/version.ts", + "children": [ + { + "id": 90, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 90 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -7514,14 +7656,16 @@ "title": "Modules", "kind": 1, "children": [ - 270, - 334, - 89, - 153, + 276, + 340, + 94, + 158, + 91, 1, - 150, - 261, - 57 + 155, + 266, + 57, + 89 ] } ] diff --git a/web/spec/supabase.json b/web/spec/supabase.json index 24eb97ca3a1..d214fc76b0b 100644 --- a/web/spec/supabase.json +++ b/web/spec/supabase.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 264, + "id": 266, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 265, + "id": 267, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -29,7 +29,7 @@ }, "children": [ { - "id": 273, + "id": 275, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41,7 +41,7 @@ }, "signatures": [ { - "id": 276, + "id": 278, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -53,7 +53,7 @@ }, "parameters": [ { - "id": 277, + "id": 279, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -69,7 +69,7 @@ } }, { - "id": 278, + "id": 280, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -85,7 +85,7 @@ } }, { - "id": 279, + "id": 281, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -95,14 +95,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 7, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 267, "name": "SupabaseClient" } } @@ -116,7 +116,7 @@ ] }, { - "id": 266, + "id": 268, "name": "auth", "kind": 1024, "kindString": "Property", @@ -135,12 +135,12 @@ ], "type": { "type": "reference", - "id": 28, + "id": 30, "name": "SupabaseAuthClient" } }, { - "id": 270, + "id": 272, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -161,7 +161,7 @@ } }, { - "id": 272, + "id": 274, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -182,7 +182,7 @@ } }, { - "id": 269, + "id": 271, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -203,7 +203,7 @@ } }, { - "id": 268, + "id": 270, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -224,7 +224,7 @@ } }, { - "id": 267, + "id": 269, "name": "schema", "kind": 1024, "kindString": "Property", @@ -245,7 +245,7 @@ } }, { - "id": 271, + "id": 273, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -266,7 +266,7 @@ } }, { - "id": 275, + "id": 277, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -291,7 +291,7 @@ } }, { - "id": 274, + "id": 276, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -316,7 +316,7 @@ } }, { - "id": 280, + "id": 282, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -328,7 +328,7 @@ }, "getSignature": [ { - "id": 281, + "id": 283, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -353,7 +353,7 @@ ] }, { - "id": 320, + "id": 326, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -363,7 +363,7 @@ }, "signatures": [ { - "id": 321, + "id": 327, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -372,7 +372,7 @@ }, "parameters": [ { - "id": 322, + "id": 328, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -400,13 +400,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 186, + "line": 188, "character": 23 } ] }, { - "id": 297, + "id": 299, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -416,7 +416,7 @@ }, "signatures": [ { - "id": 298, + "id": 300, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -425,7 +425,7 @@ }, "parameters": [ { - "id": 299, + "id": 301, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -459,7 +459,7 @@ ] }, { - "id": 315, + "id": 321, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -469,7 +469,7 @@ }, "signatures": [ { - "id": 316, + "id": 322, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -479,7 +479,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 323, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -488,7 +488,7 @@ }, "indexSignature": [ { - "id": 318, + "id": 324, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -497,7 +497,7 @@ }, "parameters": [ { - "id": 319, + "id": 325, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -519,7 +519,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 180, "character": 28 } ] @@ -530,13 +530,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 180, "character": 25 } ] }, { - "id": 313, + "id": 319, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -546,7 +546,7 @@ }, "signatures": [ { - "id": 314, + "id": 320, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -562,13 +562,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 171, + "line": 173, "character": 30 } ] }, { - "id": 310, + "id": 316, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -578,7 +578,7 @@ }, "signatures": [ { - "id": 311, + "id": 317, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -587,7 +587,7 @@ }, "parameters": [ { - "id": 312, + "id": 318, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -610,13 +610,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 164, + "line": 166, "character": 29 } ] }, { - "id": 302, + "id": 304, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -626,7 +626,7 @@ }, "signatures": [ { - "id": 303, + "id": 305, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -635,7 +635,7 @@ }, "parameters": [ { - "id": 304, + "id": 306, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -646,7 +646,7 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 307, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -655,7 +655,7 @@ }, "children": [ { - "id": 306, + "id": 308, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -688,7 +688,7 @@ } }, { - "id": 308, + "id": 310, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -721,7 +721,74 @@ } }, { - "id": 309, + "id": 312, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 150, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 313, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 314, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 315, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 311, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -750,7 +817,7 @@ } }, { - "id": 307, + "id": 309, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -788,10 +855,11 @@ "title": "Variables", "kind": 32, "children": [ - 306, 308, - 309, - 307 + 310, + 312, + 311, + 309 ] } ], @@ -808,7 +876,7 @@ ], "type": { "type": "reference", - "id": 28, + "id": 30, "name": "SupabaseAuthClient" } } @@ -822,7 +890,7 @@ ] }, { - "id": 282, + "id": 284, "name": "from", "kind": 2048, "kindString": "Method", @@ -831,7 +899,7 @@ }, "signatures": [ { - "id": 283, + "id": 285, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -843,7 +911,7 @@ }, "typeParameter": [ { - "id": 284, + "id": 286, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -854,7 +922,7 @@ ], "parameters": [ { - "id": 285, + "id": 287, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -872,7 +940,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 176, "typeArguments": [ { "type": "typeParameter", @@ -896,7 +964,7 @@ ] }, { - "id": 300, + "id": 302, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -905,7 +973,7 @@ }, "signatures": [ { - "id": 301, + "id": 303, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -933,7 +1001,7 @@ ] }, { - "id": 294, + "id": 296, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -942,7 +1010,7 @@ }, "signatures": [ { - "id": 295, + "id": 297, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -954,7 +1022,7 @@ }, "parameters": [ { - "id": 296, + "id": 298, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -991,7 +1059,7 @@ ] }, { - "id": 286, + "id": 288, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1000,7 +1068,7 @@ }, "signatures": [ { - "id": 287, + "id": 289, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1008,11 +1076,11 @@ "isExported": true }, "comment": { - "shortText": "Perform a stored procedure call." + "shortText": "Perform a function call." }, "typeParameter": [ { - "id": 288, + "id": 290, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1023,7 +1091,7 @@ ], "parameters": [ { - "id": 289, + "id": 291, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1039,7 +1107,7 @@ } }, { - "id": 290, + "id": 292, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1065,7 +1133,7 @@ } }, { - "id": 291, + "id": 293, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1076,7 +1144,7 @@ "type": { "type": "reflection", "declaration": { - "id": 292, + "id": 294, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1085,7 +1153,7 @@ }, "children": [ { - "id": 293, + "id": 295, "name": "count", "kind": 32, "kindString": "Variable", @@ -1131,7 +1199,7 @@ "title": "Variables", "kind": 32, "children": [ - 293 + 295 ] } ], @@ -1173,45 +1241,45 @@ "title": "Constructors", "kind": 512, "children": [ - 273 + 275 ] }, { "title": "Properties", "kind": 1024, "children": [ - 266, - 270, - 272, - 269, 268, - 267, + 272, + 274, 271, - 275, - 274 + 270, + 269, + 273, + 277, + 276 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 280 + 282 ] }, { "title": "Methods", "kind": 2048, "children": [ - 320, - 297, - 315, - 313, - 310, + 326, + 299, + 321, + 319, + 316, + 304, + 284, 302, - 282, - 300, - 294, - 286 + 296, + 288 ] } ], @@ -1224,7 +1292,7 @@ ] }, { - "id": 323, + "id": 329, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1233,7 +1301,7 @@ }, "children": [ { - "id": 325, + "id": 331, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1252,7 +1320,7 @@ "defaultValue": "true" }, { - "id": 327, + "id": 333, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1271,7 +1339,7 @@ "defaultValue": "true" }, { - "id": 329, + "id": 335, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1286,17 +1354,47 @@ "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 336, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": {} + "flags": {}, + "children": [ + { + "id": 337, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 337 + ] + } + ] } }, "defaultValue": "DEFAULT_HEADERS" }, { - "id": 328, + "id": 334, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1315,7 +1413,7 @@ "defaultValue": "globalThis.localStorage" }, { - "id": 326, + "id": 332, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1334,7 +1432,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 330, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1358,12 +1456,12 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 327, - 329, - 328, - 326, - 324 + 331, + 333, + 335, + 334, + 332, + 330 ] } ], @@ -1385,14 +1483,14 @@ "title": "Classes", "kind": 128, "children": [ - 265 + 267 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 323 + 329 ] } ], @@ -1405,7 +1503,7 @@ ] }, { - "id": 331, + "id": 338, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1415,7 +1513,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 332, + "id": 339, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1428,7 +1526,7 @@ }, "signatures": [ { - "id": 333, + "id": 340, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1440,7 +1538,7 @@ }, "parameters": [ { - "id": 334, + "id": 341, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1453,7 +1551,7 @@ } }, { - "id": 335, + "id": 342, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1466,7 +1564,7 @@ } }, { - "id": 336, + "id": 343, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1476,14 +1574,14 @@ }, "type": { "type": "reference", - "id": 5, + "id": 7, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 267, "name": "SupabaseClient" } } @@ -1502,7 +1600,7 @@ "title": "Functions", "kind": 64, "children": [ - 332 + 339 ] } ], @@ -1515,7 +1613,7 @@ ] }, { - "id": 27, + "id": 29, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1525,7 +1623,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 28, + "id": 30, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1534,7 +1632,7 @@ }, "children": [ { - "id": 29, + "id": 31, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1543,7 +1641,7 @@ }, "signatures": [ { - "id": 30, + "id": 32, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1552,7 +1650,7 @@ }, "parameters": [ { - "id": 31, + "id": 33, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1562,7 +1660,7 @@ "type": { "type": "reflection", "declaration": { - "id": 32, + "id": 34, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1571,7 +1669,7 @@ }, "children": [ { - "id": 39, + "id": 41, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1605,7 +1703,7 @@ } }, { - "id": 38, + "id": 40, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1639,7 +1737,7 @@ } }, { - "id": 34, + "id": 36, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1664,7 +1762,7 @@ { "type": "reflection", "declaration": { - "id": 35, + "id": 37, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1673,7 +1771,7 @@ }, "indexSignature": [ { - "id": 36, + "id": 38, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -1682,7 +1780,7 @@ }, "parameters": [ { - "id": 37, + "id": 39, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -1707,7 +1805,7 @@ } }, { - "id": 41, + "id": 43, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -1728,7 +1826,7 @@ } }, { - "id": 40, + "id": 42, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1762,7 +1860,7 @@ } }, { - "id": 33, + "id": 35, "name": "url", "kind": 32, "kindString": "Variable", @@ -1797,12 +1895,12 @@ "title": "Variables", "kind": 32, "children": [ - 39, - 38, - 34, 41, 40, - 33 + 36, + 43, + 42, + 35 ] } ], @@ -1819,7 +1917,7 @@ ], "type": { "type": "reference", - "id": 28, + "id": 30, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1841,7 +1939,7 @@ } }, { - "id": 42, + "id": 44, "name": "api", "kind": 1024, "kindString": "Property", @@ -1864,12 +1962,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 42, + "id": 44, "name": "GoTrueClient.api" } }, { - "id": 45, + "id": 47, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1890,12 +1988,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 45, + "id": 47, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 44, + "id": 46, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1928,12 +2026,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 46, "name": "GoTrueClient.currentSession" } }, { - "id": 43, + "id": 45, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1966,12 +2064,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 43, + "id": 45, "name": "GoTrueClient.currentUser" } }, { - "id": 47, + "id": 49, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -1992,12 +2090,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 47, + "id": 49, "name": "GoTrueClient.localStorage" } }, { - "id": 46, + "id": 48, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -2018,12 +2116,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 46, + "id": 48, "name": "GoTrueClient.persistSession" } }, { - "id": 49, + "id": 51, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -2054,12 +2152,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 51, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 48, + "id": 50, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -2090,12 +2188,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 50, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 125, + "id": 127, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2104,7 +2202,7 @@ }, "signatures": [ { - "id": 126, + "id": 128, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2116,7 +2214,7 @@ }, "parameters": [ { - "id": 127, + "id": 129, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2134,7 +2232,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2143,7 +2241,7 @@ }, "children": [ { - "id": 129, + "id": 131, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2185,7 +2283,7 @@ "title": "Variables", "kind": 32, "children": [ - 129 + 131 ] } ] @@ -2201,7 +2299,7 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 132, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2210,7 +2308,7 @@ }, "children": [ { - "id": 131, + "id": 133, "name": "data", "kind": 32, "kindString": "Variable", @@ -2239,7 +2337,7 @@ } }, { - "id": 132, + "id": 134, "name": "error", "kind": 32, "kindString": "Variable", @@ -2273,8 +2371,8 @@ "title": "Variables", "kind": 32, "children": [ - 131, - 132 + 133, + 134 ] } ], @@ -2292,7 +2390,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 127, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2306,12 +2404,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 125, + "id": 127, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 137, + "id": 139, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2320,7 +2418,7 @@ }, "signatures": [ { - "id": 138, + "id": 140, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2333,7 +2431,7 @@ }, "parameters": [ { - "id": 139, + "id": 141, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2343,7 +2441,7 @@ "type": { "type": "reflection", "declaration": { - "id": 140, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2352,7 +2450,7 @@ }, "signatures": [ { - "id": 141, + "id": 143, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2361,7 +2459,7 @@ }, "parameters": [ { - "id": 142, + "id": 144, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2374,7 +2472,7 @@ } }, { - "id": 143, + "id": 145, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2416,7 +2514,7 @@ "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 146, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2425,7 +2523,7 @@ }, "children": [ { - "id": 145, + "id": 147, "name": "data", "kind": 32, "kindString": "Variable", @@ -2454,7 +2552,7 @@ } }, { - "id": 146, + "id": 148, "name": "error", "kind": 32, "kindString": "Variable", @@ -2488,8 +2586,8 @@ "title": "Variables", "kind": 32, "children": [ - 145, - 146 + 147, + 148 ] } ], @@ -2504,7 +2602,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 139, "name": "GoTrueClient.onAuthStateChange" } } @@ -2518,12 +2616,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 139, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 103, + "id": 105, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2532,7 +2630,7 @@ }, "signatures": [ { - "id": 104, + "id": 106, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2548,7 +2646,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2557,7 +2655,7 @@ }, "children": [ { - "id": 106, + "id": 108, "name": "data", "kind": 32, "kindString": "Variable", @@ -2586,7 +2684,7 @@ } }, { - "id": 108, + "id": 110, "name": "error", "kind": 32, "kindString": "Variable", @@ -2615,7 +2713,7 @@ } }, { - "id": 107, + "id": 109, "name": "user", "kind": 32, "kindString": "Variable", @@ -2649,9 +2747,9 @@ "title": "Variables", "kind": 32, "children": [ - 106, 108, - 107 + 110, + 109 ] } ], @@ -2669,7 +2767,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 105, "name": "GoTrueClient.refreshSession" } } @@ -2683,12 +2781,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 105, "name": "GoTrueClient.refreshSession" } }, { - "id": 101, + "id": 103, "name": "session", "kind": 2048, "kindString": "Method", @@ -2697,7 +2795,7 @@ }, "signatures": [ { - "id": 102, + "id": 104, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2722,7 +2820,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 101, + "id": 103, "name": "GoTrueClient.session" } } @@ -2736,12 +2834,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 101, + "id": 103, "name": "GoTrueClient.session" } }, { - "id": 122, + "id": 124, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2750,7 +2848,7 @@ }, "signatures": [ { - "id": 123, + "id": 125, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2762,7 +2860,7 @@ }, "parameters": [ { - "id": 124, + "id": 126, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2784,7 +2882,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 122, + "id": 124, "name": "GoTrueClient.setAuth" } } @@ -2798,12 +2896,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 122, + "id": 124, "name": "GoTrueClient.setAuth" } }, { - "id": 116, + "id": 118, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2812,7 +2910,7 @@ }, "signatures": [ { - "id": 117, + "id": 119, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2824,7 +2922,7 @@ }, "parameters": [ { - "id": 118, + "id": 120, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2846,7 +2944,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 121, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2855,7 +2953,7 @@ }, "children": [ { - "id": 121, + "id": 123, "name": "error", "kind": 32, "kindString": "Variable", @@ -2884,7 +2982,7 @@ } }, { - "id": 120, + "id": 122, "name": "session", "kind": 32, "kindString": "Variable", @@ -2918,8 +3016,8 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 120 + 123, + 122 ] } ], @@ -2937,7 +3035,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 118, "name": "GoTrueClient.setSession" } } @@ -2951,12 +3049,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 118, "name": "GoTrueClient.setSession" } }, { - "id": 65, + "id": 67, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2965,7 +3063,7 @@ }, "signatures": [ { - "id": 66, + "id": 68, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -2977,7 +3075,7 @@ }, "parameters": [ { - "id": 67, + "id": 69, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -2988,7 +3086,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 70, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2997,7 +3095,7 @@ }, "children": [ { - "id": 69, + "id": 71, "name": "email", "kind": 32, "kindString": "Variable", @@ -3029,7 +3127,7 @@ } }, { - "id": 71, + "id": 73, "name": "password", "kind": 32, "kindString": "Variable", @@ -3061,7 +3159,7 @@ } }, { - "id": 70, + "id": 72, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3090,7 +3188,7 @@ } }, { - "id": 73, + "id": 75, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3158,7 +3256,7 @@ } }, { - "id": 72, + "id": 74, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3195,11 +3293,11 @@ "title": "Variables", "kind": 32, "children": [ - 69, 71, - 70, 73, - 72 + 72, + 75, + 74 ] } ], @@ -3214,7 +3312,7 @@ } }, { - "id": 74, + "id": 76, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3232,7 +3330,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 77, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3241,7 +3339,7 @@ }, "children": [ { - "id": 76, + "id": 78, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3271,7 +3369,7 @@ } }, { - "id": 77, + "id": 79, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3306,8 +3404,8 @@ "title": "Variables", "kind": 32, "children": [ - 76, - 77 + 78, + 79 ] } ] @@ -3323,7 +3421,7 @@ { "type": "reflection", "declaration": { - "id": 78, + "id": 80, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3332,7 +3430,7 @@ }, "children": [ { - "id": 84, + "id": 86, "name": "data", "kind": 32, "kindString": "Variable", @@ -3361,7 +3459,7 @@ } }, { - "id": 83, + "id": 85, "name": "error", "kind": 32, "kindString": "Variable", @@ -3390,7 +3488,7 @@ } }, { - "id": 81, + "id": 83, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3411,7 +3509,7 @@ } }, { - "id": 79, + "id": 81, "name": "session", "kind": 32, "kindString": "Variable", @@ -3440,7 +3538,7 @@ } }, { - "id": 82, + "id": 84, "name": "url", "kind": 32, "kindString": "Variable", @@ -3470,7 +3568,7 @@ } }, { - "id": 80, + "id": 82, "name": "user", "kind": 32, "kindString": "Variable", @@ -3504,12 +3602,12 @@ "title": "Variables", "kind": 32, "children": [ - 84, + 86, + 85, 83, 81, - 79, - 82, - 80 + 84, + 82 ] } ], @@ -3527,7 +3625,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 67, "name": "GoTrueClient.signIn" } } @@ -3541,12 +3639,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 67, "name": "GoTrueClient.signIn" } }, { - "id": 133, + "id": 135, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3555,7 +3653,7 @@ }, "signatures": [ { - "id": 134, + "id": 136, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3572,7 +3670,7 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3581,7 +3679,7 @@ }, "children": [ { - "id": 136, + "id": 138, "name": "error", "kind": 32, "kindString": "Variable", @@ -3615,7 +3713,7 @@ "title": "Variables", "kind": 32, "children": [ - 136 + 138 ] } ], @@ -3633,7 +3731,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 133, + "id": 135, "name": "GoTrueClient.signOut" } } @@ -3647,12 +3745,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 133, + "id": 135, "name": "GoTrueClient.signOut" } }, { - "id": 50, + "id": 52, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3661,7 +3759,7 @@ }, "signatures": [ { - "id": 51, + "id": 53, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3673,7 +3771,7 @@ }, "parameters": [ { - "id": 52, + "id": 54, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3684,7 +3782,7 @@ "type": { "type": "reflection", "declaration": { - "id": 53, + "id": 55, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3693,7 +3791,7 @@ }, "children": [ { - "id": 54, + "id": 56, "name": "email", "kind": 32, "kindString": "Variable", @@ -3725,7 +3823,7 @@ } }, { - "id": 55, + "id": 57, "name": "password", "kind": 32, "kindString": "Variable", @@ -3757,7 +3855,7 @@ } }, { - "id": 56, + "id": 58, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3794,9 +3892,9 @@ "title": "Variables", "kind": 32, "children": [ - 54, - 55, - 56 + 56, + 57, + 58 ] } ], @@ -3811,7 +3909,7 @@ } }, { - "id": 57, + "id": 59, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3829,7 +3927,7 @@ { "type": "reflection", "declaration": { - "id": 58, + "id": 60, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3838,7 +3936,7 @@ }, "children": [ { - "id": 59, + "id": 61, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3873,7 +3971,7 @@ "title": "Variables", "kind": 32, "children": [ - 59 + 61 ] } ] @@ -3889,7 +3987,7 @@ { "type": "reflection", "declaration": { - "id": 60, + "id": 62, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3898,7 +3996,7 @@ }, "children": [ { - "id": 64, + "id": 66, "name": "data", "kind": 32, "kindString": "Variable", @@ -3931,7 +4029,7 @@ } }, { - "id": 63, + "id": 65, "name": "error", "kind": 32, "kindString": "Variable", @@ -3960,7 +4058,7 @@ } }, { - "id": 62, + "id": 64, "name": "session", "kind": 32, "kindString": "Variable", @@ -3989,7 +4087,7 @@ } }, { - "id": 61, + "id": 63, "name": "user", "kind": 32, "kindString": "Variable", @@ -4023,10 +4121,10 @@ "title": "Variables", "kind": 32, "children": [ + 66, + 65, 64, - 63, - 62, - 61 + 63 ] } ], @@ -4044,7 +4142,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 52, "name": "GoTrueClient.signUp" } } @@ -4058,12 +4156,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 50, + "id": 52, "name": "GoTrueClient.signUp" } }, { - "id": 109, + "id": 111, "name": "update", "kind": 2048, "kindString": "Method", @@ -4072,7 +4170,7 @@ }, "signatures": [ { - "id": 110, + "id": 112, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4084,7 +4182,7 @@ }, "parameters": [ { - "id": 111, + "id": 113, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4103,7 +4201,7 @@ { "type": "reflection", "declaration": { - "id": 112, + "id": 114, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4112,7 +4210,7 @@ }, "children": [ { - "id": 113, + "id": 115, "name": "data", "kind": 32, "kindString": "Variable", @@ -4141,7 +4239,7 @@ } }, { - "id": 115, + "id": 117, "name": "error", "kind": 32, "kindString": "Variable", @@ -4170,7 +4268,7 @@ } }, { - "id": 114, + "id": 116, "name": "user", "kind": 32, "kindString": "Variable", @@ -4204,9 +4302,9 @@ "title": "Variables", "kind": 32, "children": [ - 113, 115, - 114 + 117, + 116 ] } ], @@ -4224,7 +4322,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 111, "name": "GoTrueClient.update" } } @@ -4238,12 +4336,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 109, + "id": 111, "name": "GoTrueClient.update" } }, { - "id": 99, + "id": 101, "name": "user", "kind": 2048, "kindString": "Method", @@ -4252,7 +4350,7 @@ }, "signatures": [ { - "id": 100, + "id": 102, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4278,7 +4376,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 99, + "id": 101, "name": "GoTrueClient.user" } } @@ -4292,12 +4390,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 99, + "id": 101, "name": "GoTrueClient.user" } }, { - "id": 85, + "id": 87, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4306,7 +4404,7 @@ }, "signatures": [ { - "id": 86, + "id": 88, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4318,7 +4416,7 @@ }, "parameters": [ { - "id": 87, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4329,7 +4427,7 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4338,7 +4436,7 @@ }, "children": [ { - "id": 89, + "id": 91, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4361,7 +4459,7 @@ } }, { - "id": 90, + "id": 92, "name": "token", "kind": 32, "kindString": "Variable", @@ -4389,8 +4487,8 @@ "title": "Variables", "kind": 32, "children": [ - 89, - 90 + 91, + 92 ] } ], @@ -4405,7 +4503,7 @@ } }, { - "id": 91, + "id": 93, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4423,7 +4521,7 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4432,7 +4530,7 @@ }, "children": [ { - "id": 93, + "id": 95, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4467,7 +4565,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 95 ] } ] @@ -4483,7 +4581,7 @@ { "type": "reflection", "declaration": { - "id": 94, + "id": 96, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4492,7 +4590,7 @@ }, "children": [ { - "id": 98, + "id": 100, "name": "data", "kind": 32, "kindString": "Variable", @@ -4525,7 +4623,7 @@ } }, { - "id": 97, + "id": 99, "name": "error", "kind": 32, "kindString": "Variable", @@ -4554,7 +4652,7 @@ } }, { - "id": 96, + "id": 98, "name": "session", "kind": 32, "kindString": "Variable", @@ -4583,7 +4681,7 @@ } }, { - "id": 95, + "id": 97, "name": "user", "kind": 32, "kindString": "Variable", @@ -4617,10 +4715,10 @@ "title": "Variables", "kind": 32, "children": [ + 100, + 99, 98, - 97, - 96, - 95 + 97 ] } ], @@ -4638,7 +4736,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 87, "name": "GoTrueClient.verifyOTP" } } @@ -4652,7 +4750,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 85, + "id": 87, "name": "GoTrueClient.verifyOTP" } } @@ -4662,39 +4760,39 @@ "title": "Constructors", "kind": 512, "children": [ - 29 + 31 ] }, { "title": "Properties", "kind": 1024, "children": [ - 42, - 45, 44, - 43, 47, 46, + 45, 49, - 48 + 48, + 51, + 50 ] }, { "title": "Methods", "kind": 2048, "children": [ - 125, - 137, + 127, + 139, + 105, 103, + 124, + 118, + 67, + 135, + 52, + 111, 101, - 122, - 116, - 65, - 133, - 50, - 109, - 99, - 85 + 87 ] } ], @@ -4718,7 +4816,7 @@ "title": "Classes", "kind": 128, "children": [ - 28 + 30 ] } ], @@ -4731,7 +4829,7 @@ ] }, { - "id": 173, + "id": 175, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4741,7 +4839,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 174, + "id": 176, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4750,7 +4848,7 @@ }, "typeParameter": [ { - "id": 175, + "id": 177, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4761,7 +4859,7 @@ ], "children": [ { - "id": 178, + "id": 180, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4770,7 +4868,7 @@ }, "signatures": [ { - "id": 179, + "id": 181, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4779,7 +4877,7 @@ }, "parameters": [ { - "id": 180, + "id": 182, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4792,7 +4890,7 @@ } }, { - "id": 181, + "id": 183, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4803,7 +4901,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 184, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4812,7 +4910,7 @@ }, "children": [ { - "id": 183, + "id": 185, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4829,7 +4927,7 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4838,7 +4936,7 @@ }, "indexSignature": [ { - "id": 185, + "id": 187, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4847,7 +4945,7 @@ }, "parameters": [ { - "id": 186, + "id": 188, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4870,7 +4968,7 @@ } }, { - "id": 188, + "id": 190, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4890,7 +4988,7 @@ } }, { - "id": 187, + "id": 189, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4910,7 +5008,7 @@ } }, { - "id": 189, + "id": 191, "name": "table", "kind": 32, "kindString": "Variable", @@ -4935,10 +5033,10 @@ "title": "Variables", "kind": 32, "children": [ - 183, - 188, - 187, - 189 + 185, + 190, + 189, + 191 ] } ], @@ -4955,7 +5053,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 176, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -4977,7 +5075,7 @@ } }, { - "id": 177, + "id": 179, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -4998,7 +5096,7 @@ } }, { - "id": 176, + "id": 178, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5015,12 +5113,12 @@ ], "type": { "type": "reference", - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient" } }, { - "id": 248, + "id": 250, "name": "body", "kind": 1024, "kindString": "Property", @@ -5066,12 +5164,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 248, + "id": 250, "name": "PostgrestBuilder.body" } }, { - "id": 243, + "id": 245, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5089,7 +5187,7 @@ "type": { "type": "reflection", "declaration": { - "id": 244, + "id": 246, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5098,7 +5196,7 @@ }, "indexSignature": [ { - "id": 245, + "id": 247, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5107,7 +5205,7 @@ }, "parameters": [ { - "id": 246, + "id": 248, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5137,12 +5235,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 245, "name": "PostgrestBuilder.headers" } }, { - "id": 241, + "id": 243, "name": "method", "kind": 1024, "kindString": "Property", @@ -5184,12 +5282,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 241, + "id": 243, "name": "PostgrestBuilder.method" } }, { - "id": 247, + "id": 249, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5220,12 +5318,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 247, + "id": 249, "name": "PostgrestBuilder.schema" } }, { - "id": 249, + "id": 251, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -5260,12 +5358,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 249, + "id": 251, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 242, + "id": 244, "name": "url", "kind": 1024, "kindString": "Property", @@ -5286,12 +5384,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 242, + "id": 244, "name": "PostgrestBuilder.url" } }, { - "id": 235, + "id": 237, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5300,7 +5398,7 @@ }, "signatures": [ { - "id": 236, + "id": 238, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5312,7 +5410,7 @@ }, "parameters": [ { - "id": 237, + "id": 239, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5324,7 +5422,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5333,7 +5431,7 @@ }, "children": [ { - "id": 240, + "id": 242, "name": "count", "kind": 32, "kindString": "Variable", @@ -5377,7 +5475,7 @@ } }, { - "id": 239, + "id": 241, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5418,8 +5516,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 242, + 241 ] } ], @@ -5446,7 +5544,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 235, + "id": 237, "name": "PostgrestQueryBuilder.delete" } } @@ -5460,12 +5558,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 235, + "id": 237, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 204, + "id": 206, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5474,7 +5572,7 @@ }, "signatures": [ { - "id": 205, + "id": 207, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5486,7 +5584,7 @@ }, "parameters": [ { - "id": 206, + "id": 208, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5526,7 +5624,7 @@ } }, { - "id": 207, + "id": 209, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5544,7 +5642,7 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5553,7 +5651,7 @@ }, "children": [ { - "id": 210, + "id": 212, "name": "count", "kind": 32, "kindString": "Variable", @@ -5591,7 +5689,7 @@ } }, { - "id": 209, + "id": 211, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5626,8 +5724,8 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 212, + 211 ] } ] @@ -5649,12 +5747,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 206, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 211, + "id": 213, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5671,7 +5769,7 @@ }, "parameters": [ { - "id": 212, + "id": 214, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5708,7 +5806,7 @@ } }, { - "id": 213, + "id": 215, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5726,7 +5824,7 @@ { "type": "reflection", "declaration": { - "id": 214, + "id": 216, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5735,7 +5833,7 @@ }, "children": [ { - "id": 218, + "id": 220, "name": "count", "kind": 32, "kindString": "Variable", @@ -5773,7 +5871,7 @@ } }, { - "id": 216, + "id": 218, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5803,7 +5901,7 @@ } }, { - "id": 217, + "id": 219, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5833,7 +5931,7 @@ } }, { - "id": 215, + "id": 217, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5872,10 +5970,10 @@ "title": "Variables", "kind": 32, "children": [ + 220, 218, - 216, - 217, - 215 + 219, + 217 ] } ] @@ -5897,7 +5995,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 206, "name": "PostgrestQueryBuilder.insert" } } @@ -5916,12 +6014,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 204, + "id": 206, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 190, + "id": 192, "name": "on", "kind": 2048, "kindString": "Method", @@ -5930,7 +6028,7 @@ }, "signatures": [ { - "id": 191, + "id": 193, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5942,7 +6040,7 @@ }, "parameters": [ { - "id": 192, + "id": 194, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5954,12 +6052,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 28, "name": "SupabaseEventTypes" } }, { - "id": 193, + "id": 195, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5972,7 +6070,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 196, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5981,7 +6079,7 @@ }, "signatures": [ { - "id": 195, + "id": 197, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -5990,7 +6088,7 @@ }, "parameters": [ { - "id": 196, + "id": 198, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -5999,7 +6097,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 19, "typeArguments": [ { "type": "typeParameter", @@ -6029,7 +6127,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient" } } @@ -6043,7 +6141,7 @@ ] }, { - "id": 197, + "id": 199, "name": "select", "kind": 2048, "kindString": "Method", @@ -6052,7 +6150,7 @@ }, "signatures": [ { - "id": 198, + "id": 200, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6064,7 +6162,7 @@ }, "parameters": [ { - "id": 199, + "id": 201, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6090,7 +6188,7 @@ } }, { - "id": 200, + "id": 202, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6102,7 +6200,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 203, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6111,7 +6209,7 @@ }, "children": [ { - "id": 203, + "id": 205, "name": "count", "kind": 32, "kindString": "Variable", @@ -6155,7 +6253,7 @@ } }, { - "id": 202, + "id": 204, "name": "head", "kind": 32, "kindString": "Variable", @@ -6196,8 +6294,8 @@ "title": "Variables", "kind": 32, "children": [ - 203, - 202 + 205, + 204 ] } ], @@ -6224,7 +6322,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 197, + "id": 199, "name": "PostgrestQueryBuilder.select" } } @@ -6238,12 +6336,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 197, + "id": 199, "name": "PostgrestQueryBuilder.select" } }, { - "id": 252, + "id": 254, "name": "then", "kind": 2048, "kindString": "Method", @@ -6252,7 +6350,7 @@ }, "signatures": [ { - "id": 253, + "id": 255, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6261,7 +6359,7 @@ }, "typeParameter": [ { - "id": 254, + "id": 256, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6270,7 +6368,7 @@ } }, { - "id": 255, + "id": 257, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6281,7 +6379,7 @@ ], "parameters": [ { - "id": 256, + "id": 258, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6295,7 +6393,7 @@ { "type": "reflection", "declaration": { - "id": 257, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6304,7 +6402,7 @@ }, "signatures": [ { - "id": 258, + "id": 260, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6313,7 +6411,7 @@ }, "parameters": [ { - "id": 259, + "id": 261, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6394,7 +6492,7 @@ } }, { - "id": 260, + "id": 262, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6408,7 +6506,7 @@ { "type": "reflection", "declaration": { - "id": 261, + "id": 263, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6417,7 +6515,7 @@ }, "signatures": [ { - "id": 262, + "id": 264, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6426,7 +6524,7 @@ }, "parameters": [ { - "id": 263, + "id": 265, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6524,7 +6622,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 252, + "id": 254, "name": "PostgrestBuilder.then" } } @@ -6538,12 +6636,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 252, + "id": 254, "name": "PostgrestBuilder.then" } }, { - "id": 250, + "id": 252, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6552,7 +6650,7 @@ }, "signatures": [ { - "id": 251, + "id": 253, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6575,7 +6673,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 252, "name": "PostgrestBuilder.throwOnError" } } @@ -6589,12 +6687,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 252, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 228, + "id": 230, "name": "update", "kind": 2048, "kindString": "Method", @@ -6603,7 +6701,7 @@ }, "signatures": [ { - "id": 229, + "id": 231, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6615,7 +6713,7 @@ }, "parameters": [ { - "id": 230, + "id": 232, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6637,7 +6735,7 @@ } }, { - "id": 231, + "id": 233, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6649,7 +6747,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6658,7 +6756,7 @@ }, "children": [ { - "id": 234, + "id": 236, "name": "count", "kind": 32, "kindString": "Variable", @@ -6702,7 +6800,7 @@ } }, { - "id": 233, + "id": 235, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6743,8 +6841,8 @@ "title": "Variables", "kind": 32, "children": [ - 234, - 233 + 236, + 235 ] } ], @@ -6771,7 +6869,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 228, + "id": 230, "name": "PostgrestQueryBuilder.update" } } @@ -6785,12 +6883,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 228, + "id": 230, "name": "PostgrestQueryBuilder.update" } }, { - "id": 219, + "id": 221, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6799,7 +6897,7 @@ }, "signatures": [ { - "id": 220, + "id": 222, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6811,7 +6909,7 @@ }, "parameters": [ { - "id": 221, + "id": 223, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6851,7 +6949,7 @@ } }, { - "id": 222, + "id": 224, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6863,7 +6961,7 @@ "type": { "type": "reflection", "declaration": { - "id": 223, + "id": 225, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6872,7 +6970,7 @@ }, "children": [ { - "id": 226, + "id": 228, "name": "count", "kind": 32, "kindString": "Variable", @@ -6916,7 +7014,7 @@ } }, { - "id": 227, + "id": 229, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -6952,7 +7050,7 @@ } }, { - "id": 224, + "id": 226, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -6984,7 +7082,7 @@ } }, { - "id": 225, + "id": 227, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7025,10 +7123,10 @@ "title": "Variables", "kind": 32, "children": [ + 228, + 229, 226, - 227, - 224, - 225 + 227 ] } ], @@ -7055,7 +7153,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 221, "name": "PostgrestQueryBuilder.upsert" } } @@ -7069,7 +7167,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 221, "name": "PostgrestQueryBuilder.upsert" } } @@ -7079,35 +7177,35 @@ "title": "Constructors", "kind": 512, "children": [ - 178 + 180 ] }, { "title": "Properties", "kind": 1024, "children": [ - 177, - 176, - 248, + 179, + 178, + 250, + 245, 243, - 241, - 247, 249, - 242 + 251, + 244 ] }, { "title": "Methods", "kind": 2048, "children": [ - 235, - 204, - 190, - 197, + 237, + 206, + 192, + 199, + 254, 252, - 250, - 228, - 219 + 230, + 221 ] } ], @@ -7155,7 +7253,7 @@ "title": "Classes", "kind": 128, "children": [ - 174 + 176 ] } ], @@ -7168,7 +7266,7 @@ ] }, { - "id": 147, + "id": 149, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7178,7 +7276,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7187,7 +7285,7 @@ }, "children": [ { - "id": 150, + "id": 152, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7196,7 +7294,7 @@ }, "signatures": [ { - "id": 151, + "id": 153, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7205,7 +7303,7 @@ }, "parameters": [ { - "id": 152, + "id": 154, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7218,7 +7316,7 @@ } }, { - "id": 153, + "id": 155, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7231,7 +7329,7 @@ } }, { - "id": 154, + "id": 156, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7246,7 +7344,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 150, "name": "SupabaseRealtimeClient" } } @@ -7260,7 +7358,7 @@ ] }, { - "id": 149, + "id": 151, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7280,7 +7378,7 @@ } }, { - "id": 155, + "id": 157, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7290,7 +7388,7 @@ }, "signatures": [ { - "id": 156, + "id": 158, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7299,7 +7397,7 @@ }, "parameters": [ { - "id": 157, + "id": 159, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7315,7 +7413,7 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7324,7 +7422,7 @@ }, "children": [ { - "id": 159, + "id": 161, "name": "new", "kind": 32, "kindString": "Variable", @@ -7341,7 +7439,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7352,7 +7450,7 @@ } }, { - "id": 161, + "id": 163, "name": "old", "kind": 32, "kindString": "Variable", @@ -7369,7 +7467,7 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 164, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7385,8 +7483,8 @@ "title": "Variables", "kind": 32, "children": [ - 159, - 161 + 161, + 163 ] } ] @@ -7403,7 +7501,7 @@ ] }, { - "id": 163, + "id": 165, "name": "on", "kind": 2048, "kindString": "Method", @@ -7412,7 +7510,7 @@ }, "signatures": [ { - "id": 164, + "id": 166, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7424,7 +7522,7 @@ }, "parameters": [ { - "id": 165, + "id": 167, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7436,12 +7534,12 @@ }, "type": { "type": "reference", - "id": 26, + "id": 28, "name": "SupabaseEventTypes" } }, { - "id": 166, + "id": 168, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7454,7 +7552,7 @@ "type": { "type": "reflection", "declaration": { - "id": 167, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7463,7 +7561,7 @@ }, "signatures": [ { - "id": 168, + "id": 170, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7472,7 +7570,7 @@ }, "parameters": [ { - "id": 169, + "id": 171, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7481,7 +7579,7 @@ }, "type": { "type": "reference", - "id": 17, + "id": 19, "typeArguments": [ { "type": "intrinsic", @@ -7524,7 +7622,7 @@ ] }, { - "id": 170, + "id": 172, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7533,7 +7631,7 @@ }, "signatures": [ { - "id": 171, + "id": 173, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7545,7 +7643,7 @@ }, "parameters": [ { - "id": 172, + "id": 174, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7579,23 +7677,23 @@ "title": "Constructors", "kind": 512, "children": [ - 150 + 152 ] }, { "title": "Properties", "kind": 1024, "children": [ - 149 + 151 ] }, { "title": "Methods", "kind": 2048, "children": [ - 155, - 163, - 170 + 157, + 165, + 172 ] } ], @@ -7613,7 +7711,7 @@ "title": "Classes", "kind": 128, "children": [ - 148 + 150 ] } ], @@ -7626,7 +7724,7 @@ ] }, { - "id": 1, + "id": 3, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -7636,14 +7734,46 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/constants.ts", "children": [ { - "id": 2, + "id": 4, "name": "DEFAULT_HEADERS", - "kind": 32, - "kindString": "Variable", + "kind": 2097152, + "kindString": "Object literal", "flags": { "isExported": true, "isConst": true }, + "children": [ + { + "id": 5, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`supabase-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 5 + ] + } + ], "sources": [ { "fileName": "src/lib/constants.ts", @@ -7652,25 +7782,17 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 3, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - } - } + "type": "intrinsic", + "name": "object" } } ], "groups": [ { - "title": "Variables", - "kind": 32, + "title": "Object literals", + "kind": 2097152, "children": [ - 2 + 4 ] } ], @@ -7683,7 +7805,7 @@ ] }, { - "id": 337, + "id": 344, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7693,7 +7815,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 338, + "id": 345, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7702,7 +7824,7 @@ }, "signatures": [ { - "id": 339, + "id": 346, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7729,7 +7851,7 @@ "title": "Functions", "kind": 64, "children": [ - 338 + 345 ] } ], @@ -7742,7 +7864,7 @@ ] }, { - "id": 4, + "id": 6, "name": "\"lib/types\"", "kind": 1, "kindString": "Module", @@ -7752,7 +7874,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/types.ts", "children": [ { - "id": 5, + "id": 7, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -7769,7 +7891,7 @@ "type": { "type": "reflection", "declaration": { - "id": 6, + "id": 8, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7778,7 +7900,7 @@ }, "children": [ { - "id": 12, + "id": 14, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7815,7 +7937,7 @@ } }, { - "id": 14, + "id": 16, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -7852,7 +7974,7 @@ } }, { - "id": 8, + "id": 10, "name": "headers", "kind": 32, "kindString": "Variable", @@ -7880,7 +8002,7 @@ { "type": "reflection", "declaration": { - "id": 9, + "id": 11, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7889,7 +8011,7 @@ }, "indexSignature": [ { - "id": 10, + "id": 12, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7898,7 +8020,7 @@ }, "parameters": [ { - "id": 11, + "id": 13, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7923,7 +8045,7 @@ } }, { - "id": 15, + "id": 17, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -7947,7 +8069,7 @@ } }, { - "id": 13, + "id": 15, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -7984,7 +8106,7 @@ } }, { - "id": 16, + "id": 18, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -8008,7 +8130,7 @@ } }, { - "id": 7, + "id": 9, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8046,13 +8168,13 @@ "title": "Variables", "kind": 32, "children": [ - 12, 14, - 8, - 15, - 13, 16, - 7 + 10, + 17, + 15, + 18, + 9 ] } ], @@ -8067,7 +8189,7 @@ } }, { - "id": 26, + "id": 28, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8104,7 +8226,7 @@ } }, { - "id": 17, + "id": 19, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8113,7 +8235,7 @@ }, "typeParameter": [ { - "id": 18, + "id": 20, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8132,7 +8254,7 @@ "type": { "type": "reflection", "declaration": { - "id": 19, + "id": 21, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8141,7 +8263,7 @@ }, "children": [ { - "id": 20, + "id": 22, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8161,7 +8283,7 @@ } }, { - "id": 21, + "id": 23, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8194,7 +8316,7 @@ } }, { - "id": 24, + "id": 26, "name": "new", "kind": 32, "kindString": "Variable", @@ -8217,7 +8339,7 @@ } }, { - "id": 25, + "id": 27, "name": "old", "kind": 32, "kindString": "Variable", @@ -8240,7 +8362,7 @@ } }, { - "id": 22, + "id": 24, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8260,7 +8382,7 @@ } }, { - "id": 23, + "id": 25, "name": "table", "kind": 32, "kindString": "Variable", @@ -8285,12 +8407,12 @@ "title": "Variables", "kind": 32, "children": [ - 20, - 21, - 24, - 25, 22, - 23 + 23, + 26, + 27, + 24, + 25 ] } ], @@ -8310,9 +8432,9 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 5, - 26, - 17 + 7, + 28, + 19 ] } ], @@ -8323,6 +8445,56 @@ "character": 0 } ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 2, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0" + }, + "defaultValue": "\"0.0.0\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 0 + } + ] } ], "groups": [ @@ -8330,14 +8502,15 @@ "title": "Modules", "kind": 1, "children": [ - 264, - 331, - 27, - 173, - 147, - 1, - 337, - 4 + 266, + 338, + 29, + 175, + 149, + 3, + 344, + 6, + 1 ] } ] From eff3830aca9f65ca9240df35554c9b5649ae7f05 Mon Sep 17 00:00:00 2001 From: dshukertjr <18113850+dshukertjr@users.noreply.github.com> Date: Wed, 25 Aug 2021 20:14:40 +0900 Subject: [PATCH 13/15] fix: Put stream() inside Realtime --- web/sidebar_spec_dart.js | 8 +------- web/spec/dart.yml | 3 --- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js index c87552a0a64..a5fad0751a3 100644 --- a/web/sidebar_spec_dart.js +++ b/web/sidebar_spec_dart.js @@ -21,13 +21,7 @@ module.exports = { { type: 'category', label: 'Realtime', - items: ['reference/dart/subscribe', 'reference/dart/removesubscription', 'reference/dart/getsubscriptions'], - collapsed: true, - }, - { - type: 'category', - label: 'Stream', - items: ['reference/dart/stream'], + items: ['reference/dart/subscribe', 'reference/dart/removesubscription', 'reference/dart/getsubscriptions', 'reference/dart/stream'], collapsed: true, }, { diff --git a/web/spec/dart.yml b/web/spec/dart.yml index f2077bced55..4c209f47e95 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -43,8 +43,6 @@ info: - subscribe() - removeSubscription() - getSubscriptions() - - name: 'Stream' - items: - stream() - name: 'Storage' items: @@ -763,7 +761,6 @@ pages: title: 'stream()' notes: | - `stream()` will emit the initial data as well as any further change on the database as `Stream` of `List>` by combining Postgrest and Realtime. - - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime). examples: - name: Listening to a specific table isSpotlight: true From f24691896001898f3470b3b6cb8a543cd1a049b9 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Mon, 6 Sep 2021 17:40:15 +0800 Subject: [PATCH 14/15] Adds dart ref docs --- web/package.json | 1 + web/sidebar_spec_dart.js | 4 ++-- web/sidebar_spec_supabase.js | 4 ++-- web/sidebars.js | 7 +++++++ web/spec/dart.yml | 4 ++-- web/spec/supabase.yml | 4 ++-- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/web/package.json b/web/package.json index 858b2260a3c..5cba8290795 100644 --- a/web/package.json +++ b/web/package.json @@ -10,6 +10,7 @@ "gen:all": "npm run gen:supabase && npm run gen:dart && npm run gen:postgres && npm run gen:cli", "gen:supabase": "ts-node ReferenceGenerator.ts -o docs/reference/javascript spec/supabase.yml", "gen:cli": "ts-node ReferenceGenerator.ts -o docs/reference/cli spec/cli.yml", + "gen:dart": "ts-node ReferenceGenerator.ts -o docs/reference/dart spec/dart.yml", "gen:postgres": "ts-node ReferenceGenerator.ts -o docs/reference/postgres spec/postgres.yml" }, "dependencies": { diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js index a5fad0751a3..d5dc6629f3a 100644 --- a/web/sidebar_spec_dart.js +++ b/web/sidebar_spec_dart.js @@ -2,7 +2,7 @@ module.exports = { docs: [ { type: 'category', - label: 'About', + label: 'Getting Started', items: ['reference/dart/installing', 'reference/dart/initializing'], collapsed: true, }, @@ -14,7 +14,7 @@ module.exports = { }, { type: 'category', - label: 'Data', + label: 'Database', items: ['reference/dart/select', 'reference/dart/insert', 'reference/dart/update', 'reference/dart/upsert', 'reference/dart/delete', 'reference/dart/rpc'], collapsed: true, }, diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js index 518a7692e4c..b91bede61ae 100644 --- a/web/sidebar_spec_supabase.js +++ b/web/sidebar_spec_supabase.js @@ -2,7 +2,7 @@ module.exports = { docs: [ { type: 'category', - label: 'About', + label: 'Getting Started', items: ['reference/javascript/index', 'reference/javascript/installing', 'reference/javascript/initializing', 'reference/javascript/generating-types'], collapsed: true, }, @@ -14,7 +14,7 @@ module.exports = { }, { type: 'category', - label: 'Data', + label: 'Database', items: ['reference/javascript/select', 'reference/javascript/insert', 'reference/javascript/update', 'reference/javascript/upsert', 'reference/javascript/delete', 'reference/javascript/rpc'], collapsed: true, }, diff --git a/web/sidebars.js b/web/sidebars.js index af85d54856e..1c3db47d73e 100755 --- a/web/sidebars.js +++ b/web/sidebars.js @@ -8,6 +8,7 @@ const supabaseClient = require('./sidebar_spec_supabase') const supabaseCli = require('./sidebar_spec_cli') const postgres = require('./sidebar_spec_postgres') +const dart = require('./sidebar_spec_dart') module.exports = { supabaseClient: [ @@ -17,6 +18,12 @@ module.exports = { collapsed: false, items: supabaseClient.docs, }, + { + type: 'category', + label: 'Dart', + collapsed: false, + items: dart.docs, + }, { type: 'category', label: 'Postgres', diff --git a/web/spec/dart.yml b/web/spec/dart.yml index 4c209f47e95..c2fd2002ed5 100644 --- a/web/spec/dart.yml +++ b/web/spec/dart.yml @@ -15,7 +15,7 @@ info: docs: path: reference/dart/ sidebar: - - name: 'About' + - name: 'Getting Started' items: - Installing - Initializing @@ -30,7 +30,7 @@ info: - auth.update() - auth.onAuthStateChange() - Reset Password (Email) - - name: 'Data' + - name: 'Database' items: - select() - insert() diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index 13cc952a018..58fed6b5e8c 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -23,7 +23,7 @@ info: docs: path: reference/javascript/ sidebar: - - name: 'About' + - name: 'Getting Started' items: - index - Installing @@ -40,7 +40,7 @@ info: - auth.onAuthStateChange() - Reset Password (Email) - Delete User - - name: 'Data' + - name: 'Database' items: - select() - insert() From 6b457d4e6e87fc958fecf82791812ba1114370e0 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Mon, 6 Sep 2021 17:42:17 +0800 Subject: [PATCH 15/15] updates all specs --- web/spec/combined.json | 10045 ++++++++++++++++++--------------------- web/spec/gotrue.json | 3213 ++++++------- web/spec/realtime.json | 1636 ++++--- web/spec/supabase.json | 2425 ++++++---- 4 files changed, 8376 insertions(+), 8943 deletions(-) diff --git a/web/spec/combined.json b/web/spec/combined.json index 561ca09186e..b49605166de 100644 --- a/web/spec/combined.json +++ b/web/spec/combined.json @@ -9,7 +9,7 @@ "originalName": "", "children": [ { - "id": 264, + "id": 279, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -19,7 +19,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 265, + "id": 280, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -32,7 +32,7 @@ }, "children": [ { - "id": 273, + "id": 288, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44,7 +44,7 @@ }, "signatures": [ { - "id": 276, + "id": 291, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -56,7 +56,7 @@ }, "parameters": [ { - "id": 277, + "id": 292, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -72,7 +72,7 @@ } }, { - "id": 278, + "id": 293, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -88,7 +88,7 @@ } }, { - "id": 279, + "id": 294, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -98,14 +98,14 @@ }, "type": { "type": "reference", - "id": 7, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -113,13 +113,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 36 } ] }, { - "id": 266, + "id": 281, "name": "auth", "kind": 1024, "kindString": "Property", @@ -132,18 +132,18 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 27, + "line": 26, "character": 6 } ], "type": { "type": "reference", - "id": 30, + "id": 53, "name": "SupabaseAuthClient" } }, { - "id": 270, + "id": 285, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -154,7 +154,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 32, + "line": 31, "character": 19 } ], @@ -164,7 +164,7 @@ } }, { - "id": 272, + "id": 287, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -175,7 +175,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 20 } ], @@ -185,7 +185,7 @@ } }, { - "id": 269, + "id": 284, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -196,7 +196,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 31, + "line": 30, "character": 23 } ], @@ -206,7 +206,7 @@ } }, { - "id": 268, + "id": 283, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -217,7 +217,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 30, + "line": 29, "character": 19 } ], @@ -227,7 +227,7 @@ } }, { - "id": 267, + "id": 282, "name": "schema", "kind": 1024, "kindString": "Property", @@ -238,7 +238,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 29, + "line": 28, "character": 18 } ], @@ -248,7 +248,7 @@ } }, { - "id": 271, + "id": 286, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -259,7 +259,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 32, "character": 22 } ], @@ -269,7 +269,7 @@ } }, { - "id": 275, + "id": 290, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -284,7 +284,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 49, + "line": 48, "character": 25 } ], @@ -294,7 +294,7 @@ } }, { - "id": 274, + "id": 289, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -309,7 +309,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 48, + "line": 47, "character": 25 } ], @@ -319,7 +319,7 @@ } }, { - "id": 280, + "id": 295, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -331,7 +331,7 @@ }, "getSignature": [ { - "id": 281, + "id": 296, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -350,13 +350,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 74, + "line": 73, "character": 13 } ] }, { - "id": 320, + "id": 339, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -366,7 +366,7 @@ }, "signatures": [ { - "id": 321, + "id": 340, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -375,7 +375,7 @@ }, "parameters": [ { - "id": 322, + "id": 341, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -403,13 +403,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 186, + "line": 187, "character": 23 } ] }, { - "id": 297, + "id": 312, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -419,7 +419,7 @@ }, "signatures": [ { - "id": 298, + "id": 313, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -428,7 +428,7 @@ }, "parameters": [ { - "id": 299, + "id": 314, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -456,13 +456,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 132, + "line": 131, "character": 34 } ] }, { - "id": 315, + "id": 334, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -472,7 +472,7 @@ }, "signatures": [ { - "id": 316, + "id": 335, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -482,7 +482,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 336, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -491,7 +491,7 @@ }, "indexSignature": [ { - "id": 318, + "id": 337, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -500,7 +500,7 @@ }, "parameters": [ { - "id": 319, + "id": 338, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -522,7 +522,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 28 } ] @@ -533,13 +533,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 25 } ] }, { - "id": 313, + "id": 332, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -549,7 +549,7 @@ }, "signatures": [ { - "id": 314, + "id": 333, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -565,13 +565,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 171, + "line": 172, "character": 30 } ] }, { - "id": 310, + "id": 329, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -581,7 +581,7 @@ }, "signatures": [ { - "id": 311, + "id": 330, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -590,7 +590,7 @@ }, "parameters": [ { - "id": 312, + "id": 331, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -613,13 +613,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 164, + "line": 165, "character": 29 } ] }, { - "id": 302, + "id": 317, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -629,7 +629,7 @@ }, "signatures": [ { - "id": 303, + "id": 318, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -638,7 +638,7 @@ }, "parameters": [ { - "id": 304, + "id": 319, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -649,7 +649,7 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 320, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -658,7 +658,7 @@ }, "children": [ { - "id": 306, + "id": 321, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -668,7 +668,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 146, + "line": 145, "character": 20 } ], @@ -691,7 +691,7 @@ } }, { - "id": 308, + "id": 323, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -701,7 +701,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 148, + "line": 147, "character": 22 } ], @@ -724,8 +724,8 @@ } }, { - "id": 309, - "name": "localStorage", + "id": 325, + "name": "headers", "kind": 32, "kindString": "Variable", "flags": { @@ -735,6 +735,73 @@ { "fileName": "src/SupabaseClient.ts", "line": 149, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 327, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 328, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 324, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 148, "character": 16 } ], @@ -747,13 +814,42 @@ }, { "type": "reference", - "name": "Storage" + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" } ] } }, { - "id": 307, + "id": 322, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -763,7 +859,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 147, + "line": 146, "character": 18 } ], @@ -791,17 +887,18 @@ "title": "Variables", "kind": 32, "children": [ - 306, - 308, - 309, - 307 + 321, + 323, + 325, + 324, + 322 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 34 } ] @@ -811,7 +908,7 @@ ], "type": { "type": "reference", - "id": 30, + "id": 53, "name": "SupabaseAuthClient" } } @@ -819,13 +916,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 33 } ] }, { - "id": 282, + "id": 297, "name": "from", "kind": 2048, "kindString": "Method", @@ -834,7 +931,7 @@ }, "signatures": [ { - "id": 283, + "id": 298, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -846,7 +943,7 @@ }, "typeParameter": [ { - "id": 284, + "id": 299, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -857,7 +954,7 @@ ], "parameters": [ { - "id": 285, + "id": 300, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -875,7 +972,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "typeArguments": [ { "type": "typeParameter", @@ -893,13 +990,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 83, + "line": 82, "character": 6 } ] }, { - "id": 300, + "id": 315, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -908,7 +1005,7 @@ }, "signatures": [ { - "id": 301, + "id": 316, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -930,13 +1027,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 141, + "line": 140, "character": 18 } ] }, { - "id": 294, + "id": 309, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -945,7 +1042,7 @@ }, "signatures": [ { - "id": 295, + "id": 310, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -957,7 +1054,7 @@ }, "parameters": [ { - "id": 296, + "id": 311, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -988,13 +1085,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 115, + "line": 114, "character": 20 } ] }, { - "id": 286, + "id": 301, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1003,7 +1100,7 @@ }, "signatures": [ { - "id": 287, + "id": 302, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1015,7 +1112,7 @@ }, "typeParameter": [ { - "id": 288, + "id": 303, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1026,7 +1123,7 @@ ], "parameters": [ { - "id": 289, + "id": 304, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1042,7 +1139,7 @@ } }, { - "id": 290, + "id": 305, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1068,7 +1165,7 @@ } }, { - "id": 291, + "id": 306, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1079,7 +1176,7 @@ "type": { "type": "reflection", "declaration": { - "id": 292, + "id": 307, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1088,7 +1185,7 @@ }, "children": [ { - "id": 293, + "id": 308, "name": "count", "kind": 32, "kindString": "Variable", @@ -1101,7 +1198,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 104, + "line": 103, "character": 11 } ], @@ -1134,14 +1231,14 @@ "title": "Variables", "kind": 32, "children": [ - 293 + 308 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 103, + "line": 102, "character": 20 } ] @@ -1165,7 +1262,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 101, + "line": 100, "character": 5 } ] @@ -1176,58 +1273,58 @@ "title": "Constructors", "kind": 512, "children": [ - 273 + 288 ] }, { "title": "Properties", "kind": 1024, "children": [ - 266, - 270, - 272, - 269, - 268, - 267, - 271, - 275, - 274 + 281, + 285, + 287, + 284, + 283, + 282, + 286, + 290, + 289 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 280 + 295 ] }, { "title": "Methods", "kind": 2048, "children": [ - 320, + 339, + 312, + 334, + 332, + 329, + 317, 297, 315, - 313, - 310, - 302, - 282, - 300, - 294, - 286 + 309, + 301 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 23, + "line": 22, "character": 35 } ] }, { - "id": 323, + "id": 342, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1236,7 +1333,7 @@ }, "children": [ { - "id": 325, + "id": 344, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1255,7 +1352,7 @@ "defaultValue": "true" }, { - "id": 327, + "id": 346, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1274,7 +1371,7 @@ "defaultValue": "true" }, { - "id": 329, + "id": 347, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1282,21 +1379,21 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 15, + "line": 14, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 349, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -1320,7 +1417,7 @@ "title": "Variables", "kind": 32, "children": [ - 337 + 349 ] } ] @@ -1329,26 +1426,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 328, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 14, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 326, + "id": 345, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1367,7 +1445,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 343, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1391,12 +1469,11 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 327, - 329, - 328, - 326, - 324 + 344, + 346, + 347, + 345, + 343 ] } ], @@ -1418,14 +1495,14 @@ "title": "Classes", "kind": 128, "children": [ - 265 + 280 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 323 + 342 ] } ], @@ -1438,7 +1515,7 @@ ] }, { - "id": 331, + "id": 350, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1448,7 +1525,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 332, + "id": 351, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1461,7 +1538,7 @@ }, "signatures": [ { - "id": 333, + "id": 352, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1473,7 +1550,7 @@ }, "parameters": [ { - "id": 334, + "id": 353, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1486,7 +1563,7 @@ } }, { - "id": 335, + "id": 354, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1499,7 +1576,7 @@ } }, { - "id": 336, + "id": 355, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1509,14 +1586,14 @@ }, "type": { "type": "reference", - "id": 7, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -1535,7 +1612,7 @@ "title": "Functions", "kind": 64, "children": [ - 332 + 351 ] } ], @@ -1548,7 +1625,7 @@ ] }, { - "id": 29, + "id": 52, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1558,7 +1635,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 30, + "id": 53, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1567,7 +1644,7 @@ }, "children": [ { - "id": 31, + "id": 54, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1576,7 +1653,7 @@ }, "signatures": [ { - "id": 32, + "id": 55, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1585,7 +1662,7 @@ }, "parameters": [ { - "id": 33, + "id": 56, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1593,266 +1670,15 @@ "isExported": true }, "type": { - "type": "reflection", - "declaration": { - "id": 34, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 41, - "name": "autoRefreshToken", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 8, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 40, - "name": "detectSessionInUrl", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 7, - "character": 22 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 36, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 6, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 37, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 38, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 39, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 43, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 10, - "character": 16 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 42, - "name": "persistSession", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 9, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 35, - "name": "url", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 5, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 41, - 40, - 36, - 43, - 42, - 35 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 4, - "character": 22 - } - ] - } + "type": "reference", + "id": 7, + "name": "SupabaseAuthClientOptions" } } ], "type": { "type": "reference", - "id": 30, + "id": 53, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1864,7 +1690,7 @@ "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 54 } ], @@ -1874,7 +1700,7 @@ } }, { - "id": 44, + "id": 57, "name": "api", "kind": 1024, "kindString": "Property", @@ -1887,7 +1713,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 8, + "line": 14, "character": 7 } ], @@ -1897,12 +1723,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 57, "name": "GoTrueClient.api" } }, { - "id": 47, + "id": 60, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1913,7 +1739,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 17, + "line": 23, "character": 30 } ], @@ -1923,12 +1749,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 47, + "id": 60, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 46, + "id": 59, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1942,7 +1768,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 16, + "line": 22, "character": 28 } ], @@ -1961,12 +1787,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 46, + "id": 59, "name": "GoTrueClient.currentSession" } }, { - "id": 45, + "id": 58, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1980,7 +1806,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 12, + "line": 18, "character": 25 } ], @@ -1999,12 +1825,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 45, + "id": 58, "name": "GoTrueClient.currentUser" } }, { - "id": 49, + "id": 62, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -2015,22 +1841,22 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 19, + "line": 25, "character": 26 } ], "type": { "type": "reference", - "name": "Storage" + "name": "SupportedStorage" }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 62, "name": "GoTrueClient.localStorage" } }, { - "id": 48, + "id": 61, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -2041,7 +1867,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 18, + "line": 24, "character": 28 } ], @@ -2051,12 +1877,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 61, "name": "GoTrueClient.persistSession" } }, { - "id": 51, + "id": 64, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -2068,7 +1894,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 21, + "line": 27, "character": 31 } ], @@ -2087,12 +1913,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 51, + "id": 64, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 50, + "id": 63, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -2103,7 +1929,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 20, + "line": 26, "character": 33 } ], @@ -2123,12 +1949,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 63, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 125, + "id": 140, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2137,7 +1963,7 @@ }, "signatures": [ { - "id": 126, + "id": 141, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2149,7 +1975,7 @@ }, "parameters": [ { - "id": 127, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2167,7 +1993,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2176,7 +2002,7 @@ }, "children": [ { - "id": 129, + "id": 144, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2190,7 +2016,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 137, + "line": 143, "character": 20 } ], @@ -2218,7 +2044,7 @@ "title": "Variables", "kind": 32, "children": [ - 129 + 144 ] } ] @@ -2234,7 +2060,7 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 145, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2243,7 +2069,7 @@ }, "children": [ { - "id": 131, + "id": 146, "name": "data", "kind": 32, "kindString": "Variable", @@ -2253,7 +2079,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 139, + "line": 145, "character": 12 } ], @@ -2272,7 +2098,7 @@ } }, { - "id": 132, + "id": 147, "name": "error", "kind": 32, "kindString": "Variable", @@ -2282,7 +2108,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 140, + "line": 146, "character": 13 } ], @@ -2306,15 +2132,15 @@ "title": "Variables", "kind": 32, "children": [ - 131, - 132 + 146, + 147 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 138, + "line": 144, "character": 16 } ] @@ -2325,7 +2151,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2333,18 +2159,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 136, + "line": 142, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 137, + "id": 152, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2353,7 +2179,7 @@ }, "signatures": [ { - "id": 138, + "id": 153, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2366,7 +2192,7 @@ }, "parameters": [ { - "id": 139, + "id": 154, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2376,7 +2202,7 @@ "type": { "type": "reflection", "declaration": { - "id": 140, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2385,7 +2211,7 @@ }, "signatures": [ { - "id": 141, + "id": 156, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2394,7 +2220,7 @@ }, "parameters": [ { - "id": 142, + "id": 157, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2407,7 +2233,7 @@ } }, { - "id": 143, + "id": 158, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2438,7 +2264,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 31 } ] @@ -2449,7 +2275,7 @@ "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 159, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2458,7 +2284,7 @@ }, "children": [ { - "id": 145, + "id": 160, "name": "data", "kind": 32, "kindString": "Variable", @@ -2468,7 +2294,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 156, + "line": 162, "character": 12 } ], @@ -2487,7 +2313,7 @@ } }, { - "id": 146, + "id": 161, "name": "error", "kind": 32, "kindString": "Variable", @@ -2497,7 +2323,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 157, + "line": 163, "character": 13 } ], @@ -2521,15 +2347,15 @@ "title": "Variables", "kind": 32, "children": [ - 145, - 146 + 160, + 161 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 91 } ] @@ -2537,7 +2363,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } } @@ -2545,18 +2371,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 103, + "id": 118, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2565,7 +2391,7 @@ }, "signatures": [ { - "id": 104, + "id": 119, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2581,7 +2407,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2590,7 +2416,7 @@ }, "children": [ { - "id": 106, + "id": 121, "name": "data", "kind": 32, "kindString": "Variable", @@ -2600,7 +2426,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 107, + "line": 113, "character": 12 } ], @@ -2619,7 +2445,7 @@ } }, { - "id": 108, + "id": 123, "name": "error", "kind": 32, "kindString": "Variable", @@ -2629,7 +2455,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 109, + "line": 115, "character": 13 } ], @@ -2648,7 +2474,7 @@ } }, { - "id": 107, + "id": 122, "name": "user", "kind": 32, "kindString": "Variable", @@ -2658,7 +2484,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 108, + "line": 114, "character": 12 } ], @@ -2682,16 +2508,16 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 108, - 107 + 121, + 123, + 122 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 30 } ] @@ -2702,7 +2528,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } } @@ -2710,18 +2536,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 18 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } }, { - "id": 101, + "id": 116, "name": "session", "kind": 2048, "kindString": "Method", @@ -2730,7 +2556,7 @@ }, "signatures": [ { - "id": 102, + "id": 117, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2755,7 +2581,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } } @@ -2763,18 +2589,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 102, + "line": 108, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } }, { - "id": 122, + "id": 137, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2783,7 +2609,7 @@ }, "signatures": [ { - "id": 123, + "id": 138, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2795,7 +2621,7 @@ }, "parameters": [ { - "id": 124, + "id": 139, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2817,7 +2643,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } } @@ -2825,18 +2651,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 131, + "line": 137, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } }, { - "id": 116, + "id": 131, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2845,7 +2671,7 @@ }, "signatures": [ { - "id": 117, + "id": 132, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2857,7 +2683,7 @@ }, "parameters": [ { - "id": 118, + "id": 133, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2879,7 +2705,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2888,7 +2714,7 @@ }, "children": [ { - "id": 121, + "id": 136, "name": "error", "kind": 32, "kindString": "Variable", @@ -2898,7 +2724,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 125, + "line": 131, "character": 13 } ], @@ -2917,7 +2743,7 @@ } }, { - "id": 120, + "id": 135, "name": "session", "kind": 32, "kindString": "Variable", @@ -2927,7 +2753,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 124, + "line": 130, "character": 15 } ], @@ -2951,15 +2777,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 120 + 136, + 135 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 47 } ] @@ -2970,7 +2796,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } } @@ -2978,18 +2804,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } }, { - "id": 65, + "id": 80, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2998,7 +2824,7 @@ }, "signatures": [ { - "id": 66, + "id": 81, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -3010,7 +2836,7 @@ }, "parameters": [ { - "id": 67, + "id": 82, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3021,7 +2847,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3030,7 +2856,7 @@ }, "children": [ { - "id": 69, + "id": 84, "name": "email", "kind": 32, "kindString": "Variable", @@ -3043,7 +2869,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 18 } ], @@ -3062,7 +2888,7 @@ } }, { - "id": 71, + "id": 86, "name": "password", "kind": 32, "kindString": "Variable", @@ -3075,7 +2901,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 35 } ], @@ -3094,7 +2920,7 @@ } }, { - "id": 70, + "id": 85, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3104,7 +2930,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 25 } ], @@ -3123,7 +2949,7 @@ } }, { - "id": 73, + "id": 88, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3136,7 +2962,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 59 } ], @@ -3191,7 +3017,7 @@ } }, { - "id": 72, + "id": 87, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3204,7 +3030,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 49 } ], @@ -3228,18 +3054,18 @@ "title": "Variables", "kind": 32, "children": [ - 69, - 71, - 70, - 73, - 72 + 84, + 86, + 85, + 88, + 87 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 11 } ] @@ -3247,7 +3073,7 @@ } }, { - "id": 74, + "id": 89, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3265,7 +3091,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3274,7 +3100,7 @@ }, "children": [ { - "id": 76, + "id": 91, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3285,7 +3111,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 69, + "line": 75, "character": 18 } ], @@ -3304,7 +3130,7 @@ } }, { - "id": 77, + "id": 92, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3315,7 +3141,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 70, + "line": 76, "character": 14 } ], @@ -3339,8 +3165,8 @@ "title": "Variables", "kind": 32, "children": [ - 76, - 77 + 91, + 92 ] } ] @@ -3356,7 +3182,7 @@ { "type": "reflection", "declaration": { - "id": 78, + "id": 93, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3365,7 +3191,7 @@ }, "children": [ { - "id": 84, + "id": 99, "name": "data", "kind": 32, "kindString": "Variable", @@ -3375,7 +3201,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 77, + "line": 83, "character": 12 } ], @@ -3394,7 +3220,7 @@ } }, { - "id": 83, + "id": 98, "name": "error", "kind": 32, "kindString": "Variable", @@ -3404,7 +3230,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 76, + "line": 82, "character": 13 } ], @@ -3423,7 +3249,7 @@ } }, { - "id": 81, + "id": 96, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3434,7 +3260,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 80, "character": 16 } ], @@ -3444,7 +3270,7 @@ } }, { - "id": 79, + "id": 94, "name": "session", "kind": 32, "kindString": "Variable", @@ -3454,7 +3280,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 72, + "line": 78, "character": 15 } ], @@ -3473,7 +3299,7 @@ } }, { - "id": 82, + "id": 97, "name": "url", "kind": 32, "kindString": "Variable", @@ -3484,7 +3310,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 75, + "line": 81, "character": 11 } ], @@ -3503,7 +3329,7 @@ } }, { - "id": 80, + "id": 95, "name": "user", "kind": 32, "kindString": "Variable", @@ -3513,7 +3339,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 73, + "line": 79, "character": 12 } ], @@ -3537,19 +3363,19 @@ "title": "Variables", "kind": 32, "children": [ - 84, - 83, - 81, - 79, - 82, - 80 + 99, + 98, + 96, + 94, + 97, + 95 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 71, + "line": 77, "character": 16 } ] @@ -3560,7 +3386,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } } @@ -3568,18 +3394,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } }, { - "id": 133, + "id": 148, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3588,7 +3414,7 @@ }, "signatures": [ { - "id": 134, + "id": 149, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3596,7 +3422,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": { @@ -3605,7 +3431,7 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3614,7 +3440,7 @@ }, "children": [ { - "id": 136, + "id": 151, "name": "error", "kind": 32, "kindString": "Variable", @@ -3624,7 +3450,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 149, + "line": 155, "character": 13 } ], @@ -3648,14 +3474,14 @@ "title": "Variables", "kind": 32, "children": [ - 136 + 151 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 23 } ] @@ -3666,7 +3492,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } } @@ -3674,18 +3500,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } }, { - "id": 52, + "id": 65, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3694,7 +3520,7 @@ }, "signatures": [ { - "id": 53, + "id": 66, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3706,7 +3532,7 @@ }, "parameters": [ { - "id": 54, + "id": 67, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3717,7 +3543,7 @@ "type": { "type": "reflection", "declaration": { - "id": 55, + "id": 68, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3726,7 +3552,7 @@ }, "children": [ { - "id": 56, + "id": 69, "name": "email", "kind": 32, "kindString": "Variable", @@ -3739,7 +3565,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 18 } ], @@ -3758,7 +3584,7 @@ } }, { - "id": 57, + "id": 70, "name": "password", "kind": 32, "kindString": "Variable", @@ -3771,7 +3597,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 28 } ], @@ -3790,7 +3616,7 @@ } }, { - "id": 56, + "id": 71, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3803,7 +3629,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 35 } ], @@ -3827,16 +3653,16 @@ "title": "Variables", "kind": 32, "children": [ - 54, - 55, - 56 + 69, + 70, + 71 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 11 } ] @@ -3844,7 +3670,7 @@ } }, { - "id": 57, + "id": 72, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3862,7 +3688,7 @@ { "type": "reflection", "declaration": { - "id": 58, + "id": 73, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3871,7 +3697,7 @@ }, "children": [ { - "id": 59, + "id": 74, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3882,7 +3708,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 51, + "line": 57, "character": 18 } ], @@ -3906,7 +3732,7 @@ "title": "Variables", "kind": 32, "children": [ - 59 + 74 ] } ] @@ -3922,7 +3748,7 @@ { "type": "reflection", "declaration": { - "id": 60, + "id": 75, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3931,7 +3757,7 @@ }, "children": [ { - "id": 64, + "id": 79, "name": "data", "kind": 32, "kindString": "Variable", @@ -3941,7 +3767,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 62, "character": 12 } ], @@ -3964,7 +3790,7 @@ } }, { - "id": 63, + "id": 78, "name": "error", "kind": 32, "kindString": "Variable", @@ -3974,7 +3800,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 55, + "line": 61, "character": 13 } ], @@ -3993,7 +3819,7 @@ } }, { - "id": 62, + "id": 77, "name": "session", "kind": 32, "kindString": "Variable", @@ -4003,7 +3829,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 54, + "line": 60, "character": 15 } ], @@ -4022,7 +3848,7 @@ } }, { - "id": 61, + "id": 76, "name": "user", "kind": 32, "kindString": "Variable", @@ -4032,7 +3858,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 53, + "line": 59, "character": 12 } ], @@ -4056,17 +3882,17 @@ "title": "Variables", "kind": 32, "children": [ - 64, - 63, - 62, - 61 + 79, + 78, + 77, + 76 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 52, + "line": 58, "character": 16 } ] @@ -4077,7 +3903,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 52, + "id": 65, "name": "GoTrueClient.signUp" } } @@ -4085,18 +3911,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 52, + "id": 65, "name": "GoTrueClient.signUp" } }, { - "id": 109, + "id": 124, "name": "update", "kind": 2048, "kindString": "Method", @@ -4105,7 +3931,7 @@ }, "signatures": [ { - "id": 110, + "id": 125, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4117,7 +3943,7 @@ }, "parameters": [ { - "id": 111, + "id": 126, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4136,7 +3962,7 @@ { "type": "reflection", "declaration": { - "id": 112, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4145,7 +3971,7 @@ }, "children": [ { - "id": 113, + "id": 128, "name": "data", "kind": 32, "kindString": "Variable", @@ -4155,7 +3981,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 115, + "line": 121, "character": 12 } ], @@ -4174,7 +4000,7 @@ } }, { - "id": 115, + "id": 130, "name": "error", "kind": 32, "kindString": "Variable", @@ -4184,7 +4010,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 117, + "line": 123, "character": 13 } ], @@ -4203,7 +4029,7 @@ } }, { - "id": 114, + "id": 129, "name": "user", "kind": 32, "kindString": "Variable", @@ -4213,7 +4039,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 116, + "line": 122, "character": 12 } ], @@ -4237,16 +4063,16 @@ "title": "Variables", "kind": 32, "children": [ - 113, - 115, - 114 + 128, + 130, + 129 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 48 } ] @@ -4257,7 +4083,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } } @@ -4265,18 +4091,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } }, { - "id": 99, + "id": 114, "name": "user", "kind": 2048, "kindString": "Method", @@ -4285,7 +4111,7 @@ }, "signatures": [ { - "id": 100, + "id": 115, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4311,7 +4137,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } } @@ -4319,18 +4145,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 98, + "line": 104, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } }, { - "id": 85, + "id": 100, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4339,7 +4165,7 @@ }, "signatures": [ { - "id": 86, + "id": 101, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4351,7 +4177,7 @@ }, "parameters": [ { - "id": 87, + "id": 102, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4362,7 +4188,7 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4371,7 +4197,7 @@ }, "children": [ { - "id": 89, + "id": 104, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4384,7 +4210,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 21 } ], @@ -4394,7 +4220,7 @@ } }, { - "id": 90, + "id": 105, "name": "token", "kind": 32, "kindString": "Variable", @@ -4407,7 +4233,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 28 } ], @@ -4422,15 +4248,15 @@ "title": "Variables", "kind": 32, "children": [ - 89, - 90 + 104, + 105 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 14 } ] @@ -4438,7 +4264,7 @@ } }, { - "id": 91, + "id": 106, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4456,7 +4282,7 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4465,7 +4291,7 @@ }, "children": [ { - "id": 93, + "id": 108, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4476,7 +4302,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 86, + "line": 92, "character": 18 } ], @@ -4500,7 +4326,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 108 ] } ] @@ -4516,7 +4342,7 @@ { "type": "reflection", "declaration": { - "id": 94, + "id": 109, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4525,7 +4351,7 @@ }, "children": [ { - "id": 98, + "id": 113, "name": "data", "kind": 32, "kindString": "Variable", @@ -4535,7 +4361,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 97, "character": 12 } ], @@ -4558,7 +4384,7 @@ } }, { - "id": 97, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -4568,7 +4394,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 90, + "line": 96, "character": 13 } ], @@ -4587,7 +4413,7 @@ } }, { - "id": 96, + "id": 111, "name": "session", "kind": 32, "kindString": "Variable", @@ -4597,7 +4423,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 89, + "line": 95, "character": 15 } ], @@ -4616,7 +4442,7 @@ } }, { - "id": 95, + "id": 110, "name": "user", "kind": 32, "kindString": "Variable", @@ -4626,7 +4452,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 88, + "line": 94, "character": 12 } ], @@ -4650,17 +4476,17 @@ "title": "Variables", "kind": 32, "children": [ - 98, - 97, - 96, - 95 + 113, + 112, + 111, + 110 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 87, + "line": 93, "character": 16 } ] @@ -4671,7 +4497,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4679,13 +4505,13 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4695,46 +4521,46 @@ "title": "Constructors", "kind": 512, "children": [ - 29 + 54 ] }, { "title": "Properties", "kind": 1024, "children": [ - 42, - 45, - 44, - 43, - 47, - 46, - 49, - 48 + 57, + 60, + 59, + 58, + 62, + 61, + 64, + 63 ] }, { "title": "Methods", "kind": 2048, "children": [ - 125, - 137, - 103, - 101, - 122, + 140, + 152, + 118, 116, + 137, + 131, + 80, + 148, 65, - 133, - 50, - 109, - 99, - 85 + 124, + 114, + 100 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 31 } ], @@ -4751,7 +4577,7 @@ "title": "Classes", "kind": 128, "children": [ - 28 + 53 ] } ], @@ -4764,7 +4590,7 @@ ] }, { - "id": 173, + "id": 188, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4774,7 +4600,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4783,7 +4609,7 @@ }, "typeParameter": [ { - "id": 175, + "id": 190, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4794,7 +4620,7 @@ ], "children": [ { - "id": 178, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4803,7 +4629,7 @@ }, "signatures": [ { - "id": 179, + "id": 194, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4812,7 +4638,7 @@ }, "parameters": [ { - "id": 180, + "id": 195, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4825,7 +4651,7 @@ } }, { - "id": 181, + "id": 196, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4836,7 +4662,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4845,7 +4671,7 @@ }, "children": [ { - "id": 183, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4862,7 +4688,7 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4871,7 +4697,7 @@ }, "indexSignature": [ { - "id": 185, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4880,7 +4706,7 @@ }, "parameters": [ { - "id": 186, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4903,7 +4729,7 @@ } }, { - "id": 188, + "id": 203, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4923,7 +4749,7 @@ } }, { - "id": 187, + "id": 202, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4943,7 +4769,7 @@ } }, { - "id": 189, + "id": 204, "name": "table", "kind": 32, "kindString": "Variable", @@ -4968,10 +4794,10 @@ "title": "Variables", "kind": 32, "children": [ - 183, - 188, - 187, - 189 + 198, + 203, + 202, + 204 ] } ], @@ -4988,7 +4814,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -5010,7 +4836,7 @@ } }, { - "id": 177, + "id": 192, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -5031,7 +4857,7 @@ } }, { - "id": 176, + "id": 191, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5048,12 +4874,12 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } }, { - "id": 248, + "id": 263, "name": "body", "kind": 1024, "kindString": "Property", @@ -5099,12 +4925,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 248, + "id": 263, "name": "PostgrestBuilder.body" } }, { - "id": 243, + "id": 258, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5122,7 +4948,7 @@ "type": { "type": "reflection", "declaration": { - "id": 244, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5131,7 +4957,7 @@ }, "indexSignature": [ { - "id": 245, + "id": 260, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5140,7 +4966,7 @@ }, "parameters": [ { - "id": 246, + "id": 261, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5170,12 +4996,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 258, "name": "PostgrestBuilder.headers" } }, { - "id": 241, + "id": 256, "name": "method", "kind": 1024, "kindString": "Property", @@ -5217,12 +5043,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 241, + "id": 256, "name": "PostgrestBuilder.method" } }, { - "id": 247, + "id": 262, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5253,12 +5079,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 247, + "id": 262, "name": "PostgrestBuilder.schema" } }, { - "id": 249, + "id": 264, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -5293,12 +5119,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 249, + "id": 264, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 242, + "id": 257, "name": "url", "kind": 1024, "kindString": "Property", @@ -5319,12 +5145,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 242, + "id": 257, "name": "PostgrestBuilder.url" } }, { - "id": 235, + "id": 250, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5333,7 +5159,7 @@ }, "signatures": [ { - "id": 236, + "id": 251, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5345,7 +5171,7 @@ }, "parameters": [ { - "id": 237, + "id": 252, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5357,7 +5183,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 253, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5366,7 +5192,7 @@ }, "children": [ { - "id": 240, + "id": 255, "name": "count", "kind": 32, "kindString": "Variable", @@ -5410,7 +5236,7 @@ } }, { - "id": 239, + "id": 254, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5451,8 +5277,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 255, + 254 ] } ], @@ -5479,7 +5305,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } } @@ -5493,12 +5319,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 204, + "id": 219, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5507,7 +5333,7 @@ }, "signatures": [ { - "id": 205, + "id": 220, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5519,7 +5345,7 @@ }, "parameters": [ { - "id": 206, + "id": 221, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5559,7 +5385,7 @@ } }, { - "id": 207, + "id": 222, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5577,7 +5403,7 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5586,7 +5412,7 @@ }, "children": [ { - "id": 210, + "id": 225, "name": "count", "kind": 32, "kindString": "Variable", @@ -5624,7 +5450,7 @@ } }, { - "id": 209, + "id": 224, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5659,8 +5485,8 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 225, + 224 ] } ] @@ -5682,12 +5508,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 211, + "id": 226, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5704,7 +5530,7 @@ }, "parameters": [ { - "id": 212, + "id": 227, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5741,7 +5567,7 @@ } }, { - "id": 213, + "id": 228, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5759,7 +5585,7 @@ { "type": "reflection", "declaration": { - "id": 214, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5768,7 +5594,7 @@ }, "children": [ { - "id": 218, + "id": 233, "name": "count", "kind": 32, "kindString": "Variable", @@ -5806,7 +5632,7 @@ } }, { - "id": 216, + "id": 231, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5836,7 +5662,7 @@ } }, { - "id": 217, + "id": 232, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5866,7 +5692,7 @@ } }, { - "id": 215, + "id": 230, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5905,10 +5731,10 @@ "title": "Variables", "kind": 32, "children": [ - 218, - 216, - 217, - 215 + 233, + 231, + 232, + 230 ] } ] @@ -5930,7 +5756,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } } @@ -5949,12 +5775,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 190, + "id": 205, "name": "on", "kind": 2048, "kindString": "Method", @@ -5963,7 +5789,7 @@ }, "signatures": [ { - "id": 191, + "id": 206, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5975,7 +5801,7 @@ }, "parameters": [ { - "id": 192, + "id": 207, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5987,12 +5813,12 @@ }, "type": { "type": "reference", - "id": 28, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 193, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6005,7 +5831,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6014,7 +5840,7 @@ }, "signatures": [ { - "id": 195, + "id": 210, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6023,7 +5849,7 @@ }, "parameters": [ { - "id": 196, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -6032,7 +5858,7 @@ }, "type": { "type": "reference", - "id": 19, + "id": 42, "typeArguments": [ { "type": "typeParameter", @@ -6062,7 +5888,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -6076,7 +5902,7 @@ ] }, { - "id": 197, + "id": 212, "name": "select", "kind": 2048, "kindString": "Method", @@ -6085,7 +5911,7 @@ }, "signatures": [ { - "id": 198, + "id": 213, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6097,7 +5923,7 @@ }, "parameters": [ { - "id": 199, + "id": 214, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6123,7 +5949,7 @@ } }, { - "id": 200, + "id": 215, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6135,7 +5961,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 216, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6144,7 +5970,7 @@ }, "children": [ { - "id": 203, + "id": 218, "name": "count", "kind": 32, "kindString": "Variable", @@ -6188,7 +6014,7 @@ } }, { - "id": 202, + "id": 217, "name": "head", "kind": 32, "kindString": "Variable", @@ -6229,8 +6055,8 @@ "title": "Variables", "kind": 32, "children": [ - 203, - 202 + 218, + 217 ] } ], @@ -6257,7 +6083,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } } @@ -6271,12 +6097,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } }, { - "id": 252, + "id": 267, "name": "then", "kind": 2048, "kindString": "Method", @@ -6285,7 +6111,7 @@ }, "signatures": [ { - "id": 253, + "id": 268, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6294,7 +6120,7 @@ }, "typeParameter": [ { - "id": 254, + "id": 269, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6303,7 +6129,7 @@ } }, { - "id": 255, + "id": 270, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6314,7 +6140,7 @@ ], "parameters": [ { - "id": 256, + "id": 271, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6328,7 +6154,7 @@ { "type": "reflection", "declaration": { - "id": 257, + "id": 272, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6337,7 +6163,7 @@ }, "signatures": [ { - "id": 258, + "id": 273, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6346,7 +6172,7 @@ }, "parameters": [ { - "id": 259, + "id": 274, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6427,7 +6253,7 @@ } }, { - "id": 260, + "id": 275, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6441,7 +6267,7 @@ { "type": "reflection", "declaration": { - "id": 261, + "id": 276, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6450,7 +6276,7 @@ }, "signatures": [ { - "id": 262, + "id": 277, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6459,7 +6285,7 @@ }, "parameters": [ { - "id": 263, + "id": 278, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6557,7 +6383,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } } @@ -6571,12 +6397,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } }, { - "id": 250, + "id": 265, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6585,7 +6411,7 @@ }, "signatures": [ { - "id": 251, + "id": 266, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6608,7 +6434,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } } @@ -6622,12 +6448,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 228, + "id": 243, "name": "update", "kind": 2048, "kindString": "Method", @@ -6636,7 +6462,7 @@ }, "signatures": [ { - "id": 229, + "id": 244, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6648,7 +6474,7 @@ }, "parameters": [ { - "id": 230, + "id": 245, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6670,7 +6496,7 @@ } }, { - "id": 231, + "id": 246, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6682,7 +6508,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 247, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6691,7 +6517,7 @@ }, "children": [ { - "id": 234, + "id": 249, "name": "count", "kind": 32, "kindString": "Variable", @@ -6735,7 +6561,7 @@ } }, { - "id": 233, + "id": 248, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6776,8 +6602,8 @@ "title": "Variables", "kind": 32, "children": [ - 234, - 233 + 249, + 248 ] } ], @@ -6804,7 +6630,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } } @@ -6818,12 +6644,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } }, { - "id": 219, + "id": 234, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6832,7 +6658,7 @@ }, "signatures": [ { - "id": 220, + "id": 235, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6844,7 +6670,7 @@ }, "parameters": [ { - "id": 221, + "id": 236, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6884,7 +6710,7 @@ } }, { - "id": 222, + "id": 237, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6896,7 +6722,7 @@ "type": { "type": "reflection", "declaration": { - "id": 223, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6905,7 +6731,7 @@ }, "children": [ { - "id": 226, + "id": 241, "name": "count", "kind": 32, "kindString": "Variable", @@ -6949,7 +6775,7 @@ } }, { - "id": 227, + "id": 242, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -6985,7 +6811,7 @@ } }, { - "id": 224, + "id": 239, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -7017,7 +6843,7 @@ } }, { - "id": 225, + "id": 240, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7058,10 +6884,10 @@ "title": "Variables", "kind": 32, "children": [ - 226, - 227, - 224, - 225 + 241, + 242, + 239, + 240 ] } ], @@ -7088,7 +6914,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7102,7 +6928,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7112,35 +6938,35 @@ "title": "Constructors", "kind": 512, "children": [ - 178 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 177, - 176, - 248, - 243, - 241, - 247, - 249, - 242 + 192, + 191, + 263, + 258, + 256, + 262, + 264, + 257 ] }, { "title": "Methods", "kind": 2048, "children": [ - 235, - 204, - 190, - 197, - 252, 250, - 228, - 219 + 219, + 205, + 212, + 267, + 265, + 243, + 234 ] } ], @@ -7188,7 +7014,7 @@ "title": "Classes", "kind": 128, "children": [ - 174 + 189 ] } ], @@ -7201,7 +7027,7 @@ ] }, { - "id": 147, + "id": 162, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7211,7 +7037,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7220,7 +7046,7 @@ }, "children": [ { - "id": 150, + "id": 165, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7229,7 +7055,7 @@ }, "signatures": [ { - "id": 151, + "id": 166, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7238,7 +7064,7 @@ }, "parameters": [ { - "id": 152, + "id": 167, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7251,7 +7077,7 @@ } }, { - "id": 153, + "id": 168, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7264,7 +7090,7 @@ } }, { - "id": 154, + "id": 169, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7279,7 +7105,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -7293,7 +7119,7 @@ ] }, { - "id": 149, + "id": 164, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7313,7 +7139,7 @@ } }, { - "id": 155, + "id": 170, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7323,7 +7149,7 @@ }, "signatures": [ { - "id": 156, + "id": 171, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7332,7 +7158,7 @@ }, "parameters": [ { - "id": 157, + "id": 172, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7348,7 +7174,7 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7357,7 +7183,7 @@ }, "children": [ { - "id": 159, + "id": 174, "name": "new", "kind": 32, "kindString": "Variable", @@ -7374,7 +7200,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7385,7 +7211,7 @@ } }, { - "id": 161, + "id": 176, "name": "old", "kind": 32, "kindString": "Variable", @@ -7402,7 +7228,7 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7418,8 +7244,8 @@ "title": "Variables", "kind": 32, "children": [ - 159, - 161 + 174, + 176 ] } ] @@ -7436,7 +7262,7 @@ ] }, { - "id": 163, + "id": 178, "name": "on", "kind": 2048, "kindString": "Method", @@ -7445,7 +7271,7 @@ }, "signatures": [ { - "id": 164, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7457,7 +7283,7 @@ }, "parameters": [ { - "id": 165, + "id": 180, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7469,12 +7295,12 @@ }, "type": { "type": "reference", - "id": 28, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 166, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7487,7 +7313,7 @@ "type": { "type": "reflection", "declaration": { - "id": 167, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7496,7 +7322,7 @@ }, "signatures": [ { - "id": 168, + "id": 183, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7505,7 +7331,7 @@ }, "parameters": [ { - "id": 169, + "id": 184, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7514,7 +7340,7 @@ }, "type": { "type": "reference", - "id": 19, + "id": 42, "typeArguments": [ { "type": "intrinsic", @@ -7557,7 +7383,7 @@ ] }, { - "id": 170, + "id": 185, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7566,7 +7392,7 @@ }, "signatures": [ { - "id": 171, + "id": 186, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7578,7 +7404,7 @@ }, "parameters": [ { - "id": 172, + "id": 187, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7612,23 +7438,23 @@ "title": "Constructors", "kind": 512, "children": [ - 150 + 165 ] }, { "title": "Properties", "kind": 1024, "children": [ - 149 + 164 ] }, { "title": "Methods", "kind": 2048, "children": [ - 155, - 163, - 170 + 170, + 178, + 185 ] } ], @@ -7646,7 +7472,7 @@ "title": "Classes", "kind": 128, "children": [ - 148 + 163 ] } ], @@ -7740,7 +7566,7 @@ ] }, { - "id": 337, + "id": 356, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7750,7 +7576,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 338, + "id": 357, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7759,7 +7585,7 @@ }, "signatures": [ { - "id": 339, + "id": 358, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7786,7 +7612,7 @@ "title": "Functions", "kind": 64, "children": [ - 338 + 357 ] } ], @@ -7810,6 +7636,630 @@ "children": [ { "id": 7, + "name": "SupabaseAuthClientOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 25, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 15, + "name": "__type.autoRefreshToken" + } + }, + { + "id": 28, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + }, + "inheritedFrom": { + "type": "reference", + "id": 18, + "name": "__type.cookieOptions" + } + }, + { + "id": 24, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 14, + "name": "__type.detectSessionInUrl" + } + }, + { + "id": 20, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 22, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 23, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10, + "name": "__type.headers" + } + }, + { + "id": 27, + "name": "localStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + }, + "inheritedFrom": { + "type": "reference", + "id": 17, + "name": "__type.localStorage" + } + }, + { + "id": 26, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 16, + "name": "__type.persistSession" + } + }, + { + "id": 19, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 9, + "name": "__type.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 25, + 28, + 24, + 20, + 27, + 26, + 19 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 42 + } + ], + "extendedTypes": [ + { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 15, + "name": "autoRefreshToken", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 18, + "name": "cookieOptions", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + } + }, + { + "id": 14, + "name": "detectSessionInUrl", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 10, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 11, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 12, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 13, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 17, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + } + }, + { + "id": 16, + "name": "persistSession", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 9, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 15, + 18, + 14, + 10, + 17, + 16, + 9 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 50 + } + ] + } + } + ] + }, + { + "id": 29, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 4, + "character": 24 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "unknown", + "name": "0" + }, + "objectType": { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "GoTrueClient" + } + } + ], + "name": "ConstructorParameters" + } + } + }, + { + "id": 30, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -7819,14 +8269,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 33 } ], "type": { "type": "reflection", "declaration": { - "id": 8, + "id": 31, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7835,7 +8285,7 @@ }, "children": [ { - "id": 14, + "id": 37, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7849,7 +8299,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 20, "character": 18 } ], @@ -7872,7 +8322,7 @@ } }, { - "id": 16, + "id": 39, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -7886,7 +8336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 23, + "line": 28, "character": 20 } ], @@ -7909,7 +8359,7 @@ } }, { - "id": 10, + "id": 33, "name": "headers", "kind": 32, "kindString": "Variable", @@ -7923,7 +8373,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 11, + "line": 16, "character": 9 } ], @@ -7937,7 +8387,7 @@ { "type": "reflection", "declaration": { - "id": 11, + "id": 34, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7946,7 +8396,7 @@ }, "indexSignature": [ { - "id": 12, + "id": 35, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7955,7 +8405,7 @@ }, "parameters": [ { - "id": 13, + "id": 36, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7980,7 +8430,7 @@ } }, { - "id": 17, + "id": 40, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -7994,17 +8444,24 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 27, + "line": 32, "character": 14 } ], "type": { - "type": "reference", - "name": "Storage" + "type": "indexedAccess", + "indexType": { + "type": "stringLiteral", + "value": "localStorage" + }, + "objectType": { + "type": "reference", + "name": "SupabaseAuthClientOptions" + } } }, { - "id": 15, + "id": 38, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8018,7 +8475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 19, + "line": 24, "character": 16 } ], @@ -8041,7 +8498,7 @@ } }, { - "id": 18, + "id": 41, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -8055,7 +8512,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 37, "character": 10 } ], @@ -8065,7 +8522,7 @@ } }, { - "id": 9, + "id": 32, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8079,7 +8536,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 12, "character": 8 } ], @@ -8103,20 +8560,20 @@ "title": "Variables", "kind": 32, "children": [ - 14, - 16, - 10, - 17, - 15, - 18, - 9 + 37, + 39, + 33, + 40, + 38, + 41, + 32 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 35 } ] @@ -8124,7 +8581,7 @@ } }, { - "id": 28, + "id": 51, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8134,7 +8591,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 51, "character": 30 } ], @@ -8161,7 +8618,7 @@ } }, { - "id": 19, + "id": 42, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8170,7 +8627,7 @@ }, "typeParameter": [ { - "id": 20, + "id": 43, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8182,14 +8639,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 35 } ], "type": { "type": "reflection", "declaration": { - "id": 21, + "id": 44, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8198,7 +8655,7 @@ }, "children": [ { - "id": 22, + "id": 45, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8208,7 +8665,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 41, "character": 18 } ], @@ -8218,7 +8675,7 @@ } }, { - "id": 23, + "id": 46, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8228,7 +8685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 37, + "line": 42, "character": 11 } ], @@ -8251,7 +8708,7 @@ } }, { - "id": 26, + "id": 49, "name": "new", "kind": 32, "kindString": "Variable", @@ -8264,7 +8721,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 46, "character": 5 } ], @@ -8274,7 +8731,7 @@ } }, { - "id": 27, + "id": 50, "name": "old", "kind": 32, "kindString": "Variable", @@ -8287,7 +8744,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 43, + "line": 48, "character": 5 } ], @@ -8297,7 +8754,7 @@ } }, { - "id": 24, + "id": 47, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8307,7 +8764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 43, "character": 8 } ], @@ -8317,7 +8774,7 @@ } }, { - "id": 25, + "id": 48, "name": "table", "kind": 32, "kindString": "Variable", @@ -8327,7 +8784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 39, + "line": 44, "character": 7 } ], @@ -8342,19 +8799,19 @@ "title": "Variables", "kind": 32, "children": [ - 22, - 23, - 26, - 27, - 24, - 25 + 45, + 46, + 49, + 50, + 47, + 48 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 40 } ] @@ -8363,13 +8820,21 @@ } ], "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [ + 7 + ] + }, { "title": "Type aliases", "kind": 4194304, "children": [ - 7, - 28, - 19 + 29, + 30, + 51, + 42 ] } ], @@ -8437,14 +8902,15 @@ "title": "Modules", "kind": 1, "children": [ - 264, - 331, - 27, - 173, - 147, - 1, - 337, - 4 + 279, + 350, + 52, + 188, + 162, + 3, + 356, + 6, + 1 ] } ] @@ -8457,7 +8923,7 @@ "originalName": "", "children": [ { - "id": 207, + "id": 185, "name": "\"GoTrueApi\"", "kind": 1, "kindString": "Module", @@ -8467,7 +8933,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 208, + "id": 186, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -8476,7 +8942,7 @@ }, "children": [ { - "id": 215, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8485,7 +8951,7 @@ }, "signatures": [ { - "id": 216, + "id": 194, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -8494,7 +8960,7 @@ }, "parameters": [ { - "id": 217, + "id": 195, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8505,7 +8971,7 @@ "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 196, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8514,7 +8980,7 @@ }, "children": [ { - "id": 224, + "id": 202, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -8544,7 +9010,7 @@ } }, { - "id": 220, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8561,7 +9027,7 @@ "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8570,7 +9036,7 @@ }, "indexSignature": [ { - "id": 222, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8579,7 +9045,7 @@ }, "parameters": [ { - "id": 223, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8602,7 +9068,7 @@ } }, { - "id": 219, + "id": 197, "name": "url", "kind": 32, "kindString": "Variable", @@ -8628,9 +9094,9 @@ "title": "Variables", "kind": 32, "children": [ - 224, - 220, - 219 + 202, + 198, + 197 ] } ], @@ -8647,7 +9113,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } } @@ -8661,7 +9127,7 @@ ] }, { - "id": 214, + "id": 192, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -8683,7 +9149,7 @@ } }, { - "id": 210, + "id": 188, "name": "headers", "kind": 1024, "kindString": "Property", @@ -8701,7 +9167,7 @@ "type": { "type": "reflection", "declaration": { - "id": 211, + "id": 189, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8710,7 +9176,7 @@ }, "indexSignature": [ { - "id": 212, + "id": 190, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -8719,7 +9185,7 @@ }, "parameters": [ { - "id": 213, + "id": 191, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8749,7 +9215,7 @@ } }, { - "id": 209, + "id": 187, "name": "url", "kind": 1024, "kindString": "Property", @@ -8770,7 +9236,7 @@ } }, { - "id": 305, + "id": 283, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -8780,7 +9246,7 @@ }, "signatures": [ { - "id": 306, + "id": 284, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -8792,7 +9258,7 @@ }, "parameters": [ { - "id": 307, + "id": 285, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8811,7 +9277,7 @@ "type": { "type": "reflection", "declaration": { - "id": 308, + "id": 286, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8831,7 +9297,7 @@ ] }, { - "id": 336, + "id": 314, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -8840,7 +9306,7 @@ }, "signatures": [ { - "id": 337, + "id": 315, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -8852,7 +9318,7 @@ }, "parameters": [ { - "id": 338, + "id": 316, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -8868,7 +9334,7 @@ } }, { - "id": 339, + "id": 317, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8890,7 +9356,7 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8899,7 +9365,7 @@ }, "children": [ { - "id": 342, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -8929,7 +9395,7 @@ } }, { - "id": 343, + "id": 321, "name": "error", "kind": 32, "kindString": "Variable", @@ -8958,7 +9424,7 @@ } }, { - "id": 341, + "id": 319, "name": "user", "kind": 32, "kindString": "Variable", @@ -8993,9 +9459,9 @@ "title": "Variables", "kind": 32, "children": [ - 342, - 343, - 341 + 320, + 321, + 319 ] } ], @@ -9022,7 +9488,7 @@ ] }, { - "id": 361, + "id": 339, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -9031,7 +9497,7 @@ }, "signatures": [ { - "id": 362, + "id": 340, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -9043,7 +9509,7 @@ }, "parameters": [ { - "id": 363, + "id": 341, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -9076,7 +9542,7 @@ } }, { - "id": 364, + "id": 342, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9092,7 +9558,7 @@ } }, { - "id": 365, + "id": 343, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9102,7 +9568,7 @@ "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9111,7 +9577,7 @@ }, "children": [ { - "id": 368, + "id": 346, "name": "data", "kind": 32, "kindString": "Variable", @@ -9132,7 +9598,7 @@ } }, { - "id": 367, + "id": 345, "name": "password", "kind": 32, "kindString": "Variable", @@ -9162,7 +9628,7 @@ } }, { - "id": 369, + "id": 347, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9197,9 +9663,9 @@ "title": "Variables", "kind": 32, "children": [ - 368, - 367, - 369 + 346, + 345, + 347 ] } ], @@ -9221,7 +9687,7 @@ { "type": "reflection", "declaration": { - "id": 370, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9230,7 +9696,7 @@ }, "children": [ { - "id": 371, + "id": 349, "name": "data", "kind": 32, "kindString": "Variable", @@ -9268,7 +9734,7 @@ } }, { - "id": 372, + "id": 350, "name": "error", "kind": 32, "kindString": "Variable", @@ -9302,8 +9768,8 @@ "title": "Variables", "kind": 32, "children": [ - 371, - 372 + 349, + 350 ] } ], @@ -9330,7 +9796,7 @@ ] }, { - "id": 314, + "id": 292, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -9339,7 +9805,7 @@ }, "signatures": [ { - "id": 315, + "id": 293, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -9351,7 +9817,7 @@ }, "parameters": [ { - "id": 316, + "id": 294, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -9368,7 +9834,7 @@ } }, { - "id": 317, + "id": 295, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9378,7 +9844,7 @@ "type": { "type": "reflection", "declaration": { - "id": 318, + "id": 296, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9387,7 +9853,7 @@ }, "children": [ { - "id": 319, + "id": 297, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9417,7 +9883,7 @@ } }, { - "id": 320, + "id": 298, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -9452,8 +9918,8 @@ "title": "Variables", "kind": 32, "children": [ - 319, - 320 + 297, + 298 ] } ], @@ -9483,7 +9949,7 @@ ] }, { - "id": 321, + "id": 299, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -9492,7 +9958,7 @@ }, "signatures": [ { - "id": 322, + "id": 300, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -9504,7 +9970,7 @@ }, "parameters": [ { - "id": 323, + "id": 301, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -9526,7 +9992,7 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9535,7 +10001,7 @@ }, "children": [ { - "id": 326, + "id": 304, "name": "data", "kind": 32, "kindString": "Variable", @@ -9565,7 +10031,7 @@ } }, { - "id": 327, + "id": 305, "name": "error", "kind": 32, "kindString": "Variable", @@ -9594,7 +10060,7 @@ } }, { - "id": 325, + "id": 303, "name": "user", "kind": 32, "kindString": "Variable", @@ -9629,9 +10095,9 @@ "title": "Variables", "kind": 32, "children": [ - 326, - 327, - 325 + 304, + 305, + 303 ] } ], @@ -9658,7 +10124,7 @@ ] }, { - "id": 354, + "id": 332, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -9667,7 +10133,7 @@ }, "signatures": [ { - "id": 355, + "id": 333, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -9679,7 +10145,7 @@ }, "parameters": [ { - "id": 356, + "id": 334, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9698,7 +10164,7 @@ { "type": "reflection", "declaration": { - "id": 357, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9707,7 +10173,7 @@ }, "children": [ { - "id": 359, + "id": 337, "name": "data", "kind": 32, "kindString": "Variable", @@ -9737,7 +10203,7 @@ } }, { - "id": 360, + "id": 338, "name": "error", "kind": 32, "kindString": "Variable", @@ -9766,7 +10232,7 @@ } }, { - "id": 358, + "id": 336, "name": "user", "kind": 32, "kindString": "Variable", @@ -9801,9 +10267,9 @@ "title": "Variables", "kind": 32, "children": [ - 359, - 360, - 358 + 337, + 338, + 336 ] } ], @@ -9830,7 +10296,7 @@ ] }, { - "id": 286, + "id": 264, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -9839,7 +10305,7 @@ }, "signatures": [ { - "id": 287, + "id": 265, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -9851,7 +10317,7 @@ }, "parameters": [ { - "id": 288, + "id": 266, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9867,7 +10333,7 @@ } }, { - "id": 289, + "id": 267, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9877,7 +10343,7 @@ "type": { "type": "reflection", "declaration": { - "id": 290, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9886,7 +10352,7 @@ }, "children": [ { - "id": 291, + "id": 269, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -9921,7 +10387,7 @@ "title": "Variables", "kind": 32, "children": [ - 291 + 269 ] } ], @@ -9943,7 +10409,7 @@ { "type": "reflection", "declaration": { - "id": 292, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9952,7 +10418,7 @@ }, "children": [ { - "id": 293, + "id": 271, "name": "data", "kind": 32, "kindString": "Variable", @@ -9982,7 +10448,7 @@ } }, { - "id": 294, + "id": 272, "name": "error", "kind": 32, "kindString": "Variable", @@ -10016,8 +10482,8 @@ "title": "Variables", "kind": 32, "children": [ - 293, - 294 + 271, + 272 ] } ], @@ -10044,7 +10510,7 @@ ] }, { - "id": 344, + "id": 322, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -10053,7 +10519,7 @@ }, "signatures": [ { - "id": 345, + "id": 323, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -10065,7 +10531,7 @@ }, "parameters": [ { - "id": 346, + "id": 324, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -10087,7 +10553,7 @@ { "type": "reflection", "declaration": { - "id": 347, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10096,7 +10562,7 @@ }, "children": [ { - "id": 348, + "id": 326, "name": "data", "kind": 32, "kindString": "Variable", @@ -10126,7 +10592,7 @@ } }, { - "id": 349, + "id": 327, "name": "error", "kind": 32, "kindString": "Variable", @@ -10160,8 +10626,8 @@ "title": "Variables", "kind": 32, "children": [ - 348, - 349 + 326, + 327 ] } ], @@ -10188,7 +10654,7 @@ ] }, { - "id": 295, + "id": 273, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -10197,7 +10663,7 @@ }, "signatures": [ { - "id": 296, + "id": 274, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -10209,7 +10675,7 @@ }, "parameters": [ { - "id": 297, + "id": 275, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -10225,7 +10691,7 @@ } }, { - "id": 298, + "id": 276, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10235,7 +10701,7 @@ "type": { "type": "reflection", "declaration": { - "id": 299, + "id": 277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10244,7 +10710,7 @@ }, "children": [ { - "id": 300, + "id": 278, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -10279,7 +10745,7 @@ "title": "Variables", "kind": 32, "children": [ - 300 + 278 ] } ], @@ -10301,7 +10767,7 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 279, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10310,7 +10776,7 @@ }, "children": [ { - "id": 302, + "id": 280, "name": "data", "kind": 32, "kindString": "Variable", @@ -10330,7 +10796,7 @@ { "type": "reflection", "declaration": { - "id": 303, + "id": 281, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10354,7 +10820,7 @@ } }, { - "id": 304, + "id": 282, "name": "error", "kind": 32, "kindString": "Variable", @@ -10388,8 +10854,8 @@ "title": "Variables", "kind": 32, "children": [ - 302, - 304 + 280, + 282 ] } ], @@ -10416,7 +10882,7 @@ ] }, { - "id": 259, + "id": 237, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -10425,7 +10891,7 @@ }, "signatures": [ { - "id": 260, + "id": 238, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -10436,1255 +10902,8 @@ "shortText": "Sends a magic login link to an email address." }, "parameters": [ - { - "id": 261, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 262, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 263, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 264, - "name": "redirectTo", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 138, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 264 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 137, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 265, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 266, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 140, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 267, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 140, - "character": 20 - } - ] - } - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 268, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 140, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 266, - 268 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 140, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 135, - "character": 26 - } - ] - }, - { - "id": 269, - "name": "sendMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 270, - "name": "sendMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" - }, - "parameters": [ - { - "id": 271, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's phone number WITH international prefix\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 272, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 273, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 52 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 274, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 53 - } - ] - } - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 275, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 70 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 273, - 275 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 46 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 21 - } - ] - }, - { - "id": 350, - "name": "setAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 351, - "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": 352, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 353, - "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": 235, - "name": "signInWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 236, - "name": "signInWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Logs in an existing user using their email address." - }, - "parameters": [ - { - "id": 237, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 238, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, { "id": 239, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 240, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 241, - "name": "redirectTo", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 71, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 241 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 70, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 242, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 243, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 73, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 244, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 73, - "character": 42 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 243, - 244 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 73, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 67, - "character": 23 - } - ] - }, - { - "id": 252, - "name": "signInWithPhone", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 253, - "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": 254, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The phone number of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 255, - "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": 256, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 257, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 117, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 258, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 117, - "character": 42 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 257, - 258 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 117, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 114, - "character": 23 - } - ] - }, - { - "id": 309, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 310, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Removes a logged-in session." - }, - "parameters": [ - { - "id": 311, - "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": 312, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 313, - "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": [ - 313 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 257, - "character": 38 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 257, - "character": 15 - } - ] - }, - { - "id": 225, - "name": "signUpWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 226, - "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": 272, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's phone number WITH international prefix\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 229, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 230, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 231, - "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": [ - 231 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 42, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 273, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 274, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 45, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 275, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 53 - } - ] - } - }, - { - "type": "reference", - "id": 58, - "name": "User" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 276, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 45, - "character": 49 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 274, - 276 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 46 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 158, - "character": 21 - } - ] - }, - { - "id": 351, - "name": "setAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 352, - "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": 353, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 354, - "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": 236, - "name": "signInWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 237, - "name": "signInWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Logs in an existing user using their email address." - }, - "parameters": [ - { - "id": 238, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -11699,22 +10918,6 @@ "name": "string" } }, - { - "id": 239, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, { "id": 240, "name": "options", @@ -11746,7 +10949,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 71, + "line": 138, "character": 16 } ], @@ -11777,7 +10980,7 @@ "sources": [ { "fileName": "GoTrueApi.ts", - "line": 70, + "line": 137, "character": 12 } ] @@ -11808,6 +11011,470 @@ "flags": { "isExported": true }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 245, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 20 + } + ] + } + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 246, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 37 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 244, + 246 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 140, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 135, + "character": 26 + } + ] + }, + { + "id": 247, + "name": "sendMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 248, + "name": "sendMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" + }, + "parameters": [ + { + "id": 249, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's phone number WITH international prefix\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 250, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 251, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 52 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 252, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 53 + } + ] + } + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 253, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 70 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 251, + 253 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 46 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 158, + "character": 21 + } + ] + }, + { + "id": 328, + "name": "setAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 329, + "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": 330, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 331, + "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": 213, + "name": "signInWithEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 214, + "name": "signInWithEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Logs in an existing user using their email address." + }, + "parameters": [ + { + "id": 215, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 216, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 217, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 218, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 219, + "name": "redirectTo", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 71, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 219 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 70, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 220, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 221, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, "sources": [ { "fileName": "GoTrueApi.ts", @@ -11831,7 +11498,7 @@ } }, { - "id": 245, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -11865,8 +11532,517 @@ "title": "Variables", "kind": 32, "children": [ - 244, - 245 + 221, + 222 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 73, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 67, + "character": 23 + } + ] + }, + { + "id": 230, + "name": "signInWithPhone", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 231, + "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": 232, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The phone number of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 233, + "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": 234, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 235, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 236, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 42 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 235, + 236 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 117, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 114, + "character": 23 + } + ] + }, + { + "id": 287, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 288, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Removes a logged-in session." + }, + "parameters": [ + { + "id": 289, + "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": 290, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 291, + "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": [ + 291 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 257, + "character": 38 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 257, + "character": 15 + } + ] + }, + { + "id": 203, + "name": "signUpWithEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 204, + "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": 205, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 206, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 207, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 208, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 209, + "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": [ + 209 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 42, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 210, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 211, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "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": 212, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueApi.ts", + "line": 45, + "character": 49 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 211, + 212 ] } ], @@ -11893,7 +12069,7 @@ ] }, { - "id": 245, + "id": 223, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -11902,7 +12078,7 @@ }, "signatures": [ { - "id": 246, + "id": 224, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -11914,7 +12090,7 @@ }, "parameters": [ { - "id": 247, + "id": 225, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -11930,7 +12106,7 @@ } }, { - "id": 248, + "id": 226, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -11952,7 +12128,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11961,7 +12137,7 @@ }, "children": [ { - "id": 250, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -11996,7 +12172,7 @@ } }, { - "id": 251, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -12030,8 +12206,8 @@ "title": "Variables", "kind": 32, "children": [ - 250, - 251 + 228, + 229 ] } ], @@ -12058,7 +12234,7 @@ ] }, { - "id": 328, + "id": 306, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -12067,7 +12243,7 @@ }, "signatures": [ { - "id": 329, + "id": 307, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -12079,7 +12255,7 @@ }, "parameters": [ { - "id": 330, + "id": 308, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -12095,7 +12271,7 @@ } }, { - "id": 331, + "id": 309, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -12118,7 +12294,7 @@ { "type": "reflection", "declaration": { - "id": 332, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12127,7 +12303,7 @@ }, "children": [ { - "id": 334, + "id": 312, "name": "data", "kind": 32, "kindString": "Variable", @@ -12157,7 +12333,7 @@ } }, { - "id": 335, + "id": 313, "name": "error", "kind": 32, "kindString": "Variable", @@ -12186,7 +12362,7 @@ } }, { - "id": 333, + "id": 311, "name": "user", "kind": 32, "kindString": "Variable", @@ -12221,9 +12397,9 @@ "title": "Variables", "kind": 32, "children": [ - 334, - 335, - 333 + 312, + 313, + 311 ] } ], @@ -12250,7 +12426,7 @@ ] }, { - "id": 276, + "id": 254, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -12259,7 +12435,7 @@ }, "signatures": [ { - "id": 277, + "id": 255, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -12271,7 +12447,7 @@ }, "parameters": [ { - "id": 278, + "id": 256, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -12287,7 +12463,7 @@ } }, { - "id": 279, + "id": 257, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -12303,7 +12479,7 @@ } }, { - "id": 280, + "id": 258, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12313,7 +12489,7 @@ "type": { "type": "reflection", "declaration": { - "id": 281, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12322,7 +12498,7 @@ }, "children": [ { - "id": 282, + "id": 260, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -12357,7 +12533,7 @@ "title": "Variables", "kind": 32, "children": [ - 282 + 260 ] } ], @@ -12379,7 +12555,7 @@ { "type": "reflection", "declaration": { - "id": 283, + "id": 261, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12388,7 +12564,7 @@ }, "children": [ { - "id": 284, + "id": 262, "name": "data", "kind": 32, "kindString": "Variable", @@ -12423,7 +12599,7 @@ } }, { - "id": 285, + "id": 263, "name": "error", "kind": 32, "kindString": "Variable", @@ -12457,243 +12633,8 @@ "title": "Variables", "kind": 32, "children": [ - 284, - 285 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 180, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 174, - "character": 23 - } - ] - }, - { - "id": 277, - "name": "verifyMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 278, - "name": "verifyMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Send User supplied Mobile OTP to be verified" - }, - "parameters": [ - { - "id": 279, - "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": 280, - "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": 281, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 282, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 283, - "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": [ - 283 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueApi.ts", - "line": 177, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 284, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 285, - "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": 286, - "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": [ - 285, - 286 + 262, + 263 ] } ], @@ -12725,41 +12666,41 @@ "title": "Constructors", "kind": 512, "children": [ - 215 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 214, - 210, - 209 + 192, + 188, + 187 ] }, { "title": "Methods", "kind": 2048, "children": [ - 305, - 336, - 361, + 283, 314, - 321, - 354, - 286, - 344, - 295, - 259, - 269, - 350, - 235, - 252, - 309, - 225, - 245, + 339, + 292, + 299, + 332, + 264, + 322, + 273, + 237, + 247, 328, - 276 + 213, + 230, + 287, + 203, + 223, + 306, + 254 ] } ], @@ -12777,7 +12718,7 @@ "title": "Classes", "kind": 128, "children": [ - 208 + 186 ] } ], @@ -12790,7 +12731,7 @@ ] }, { - "id": 376, + "id": 354, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -12800,7 +12741,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 377, + "id": 355, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -12809,7 +12750,7 @@ }, "children": [ { - "id": 386, + "id": 364, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12821,7 +12762,7 @@ }, "signatures": [ { - "id": 387, + "id": 365, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -12833,7 +12774,7 @@ }, "parameters": [ { - "id": 388, + "id": 366, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12843,7 +12784,7 @@ "type": { "type": "reflection", "declaration": { - "id": 389, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12852,7 +12793,7 @@ }, "children": [ { - "id": 396, + "id": 374, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -12866,7 +12807,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 61, + "line": 72, "character": 20 } ], @@ -12889,7 +12830,7 @@ } }, { - "id": 399, + "id": 377, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -12900,7 +12841,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 64, + "line": 75, "character": 17 } ], @@ -12911,7 +12852,7 @@ } }, { - "id": 395, + "id": 373, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -12925,7 +12866,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 60, + "line": 71, "character": 22 } ], @@ -12948,7 +12889,7 @@ } }, { - "id": 391, + "id": 369, "name": "headers", "kind": 32, "kindString": "Variable", @@ -12962,7 +12903,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 59, + "line": 70, "character": 11 } ], @@ -12976,7 +12917,7 @@ { "type": "reflection", "declaration": { - "id": 392, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12985,7 +12926,7 @@ }, "indexSignature": [ { - "id": 393, + "id": 371, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -12994,7 +12935,7 @@ }, "parameters": [ { - "id": 394, + "id": 372, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -13019,7 +12960,7 @@ } }, { - "id": 398, + "id": 376, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -13033,17 +12974,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 63, + "line": 74, "character": 16 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 397, + "id": 375, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -13057,7 +12999,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 62, + "line": 73, "character": 18 } ], @@ -13080,7 +13022,7 @@ } }, { - "id": 390, + "id": 368, "name": "url", "kind": 32, "kindString": "Variable", @@ -13094,7 +13036,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 58, + "line": 69, "character": 7 } ], @@ -13118,20 +13060,20 @@ "title": "Variables", "kind": 32, "children": [ - 396, - 399, - 395, - 391, - 398, - 397, - 390 + 374, + 377, + 373, + 369, + 376, + 375, + 368 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 57, + "line": 68, "character": 22 } ] @@ -13141,7 +13083,7 @@ ], "type": { "type": "reference", - "id": 377, + "id": 355, "name": "GoTrueClient" } } @@ -13149,13 +13091,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 61 } ] }, { - "id": 378, + "id": 356, "name": "api", "kind": 1024, "kindString": "Property", @@ -13168,18 +13110,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 32, + "line": 43, "character": 5 } ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } }, { - "id": 381, + "id": 359, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -13190,7 +13132,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 42, + "line": 53, "character": 28 } ], @@ -13200,7 +13142,7 @@ } }, { - "id": 380, + "id": 358, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -13214,7 +13156,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 40, + "line": 51, "character": 26 } ], @@ -13234,7 +13176,7 @@ } }, { - "id": 379, + "id": 357, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -13248,7 +13190,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 36, + "line": 47, "character": 23 } ], @@ -13268,7 +13210,7 @@ } }, { - "id": 383, + "id": 361, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -13279,17 +13221,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 44, + "line": 55, "character": 24 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 382, + "id": 360, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -13300,7 +13243,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 43, + "line": 54, "character": 26 } ], @@ -13310,7 +13253,7 @@ } }, { - "id": 385, + "id": 363, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -13322,7 +13265,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 29 } ], @@ -13341,7 +13284,7 @@ } }, { - "id": 384, + "id": 362, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -13352,7 +13295,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 45, + "line": 56, "character": 31 } ], @@ -13374,7 +13317,7 @@ "defaultValue": "new Map()" }, { - "id": 551, + "id": 529, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -13384,7 +13327,7 @@ }, "signatures": [ { - "id": 552, + "id": 530, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -13393,7 +13336,7 @@ }, "parameters": [ { - "id": 553, + "id": 531, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -13425,7 +13368,7 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 532, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13434,7 +13377,7 @@ }, "children": [ { - "id": 555, + "id": 533, "name": "data", "kind": 32, "kindString": "Variable", @@ -13444,7 +13387,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 19 } ], @@ -13455,7 +13398,7 @@ } }, { - "id": 556, + "id": 534, "name": "error", "kind": 32, "kindString": "Variable", @@ -13465,7 +13408,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 26 } ], @@ -13481,8 +13424,8 @@ "title": "Variables", "kind": 32, "children": [ - 555, - 556 + 533, + 534 ] } ] @@ -13491,7 +13434,7 @@ { "type": "reflection", "declaration": { - "id": 557, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13500,7 +13443,7 @@ }, "children": [ { - "id": 558, + "id": 536, "name": "data", "kind": 32, "kindString": "Variable", @@ -13510,7 +13453,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 19 } ], @@ -13521,7 +13464,7 @@ "defaultValue": "null" }, { - "id": 559, + "id": 537, "name": "error", "kind": 32, "kindString": "Variable", @@ -13531,7 +13474,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 32 } ], @@ -13546,8 +13489,8 @@ "title": "Variables", "kind": 32, "children": [ - 558, - 559 + 536, + 537 ] } ] @@ -13563,13 +13506,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 598, + "line": 609, "character": 33 } ] }, { - "id": 497, + "id": 475, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -13579,7 +13522,7 @@ }, "signatures": [ { - "id": 498, + "id": 476, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -13588,7 +13531,7 @@ }, "parameters": [ { - "id": 499, + "id": 477, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -13601,7 +13544,7 @@ } }, { - "id": 500, + "id": 478, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -13614,7 +13557,7 @@ } }, { - "id": 501, + "id": 479, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13624,7 +13567,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 480, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13633,7 +13576,7 @@ }, "children": [ { - "id": 503, + "id": 481, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -13644,7 +13587,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 473, + "line": 484, "character": 16 } ], @@ -13668,14 +13611,14 @@ "title": "Variables", "kind": 32, "children": [ - 503 + 481 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 472, + "line": 483, "character": 12 } ] @@ -13693,7 +13636,7 @@ { "type": "reflection", "declaration": { - "id": 504, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13702,7 +13645,7 @@ }, "children": [ { - "id": 505, + "id": 483, "name": "data", "kind": 32, "kindString": "Variable", @@ -13712,7 +13655,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 19 } ], @@ -13723,7 +13666,7 @@ } }, { - "id": 508, + "id": 486, "name": "error", "kind": 32, "kindString": "Variable", @@ -13733,7 +13676,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 58 } ], @@ -13744,7 +13687,7 @@ "defaultValue": "null" }, { - "id": 507, + "id": 485, "name": "session", "kind": 32, "kindString": "Variable", @@ -13754,7 +13697,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 45 } ], @@ -13766,7 +13709,7 @@ "defaultValue": "data" }, { - "id": 506, + "id": 484, "name": "user", "kind": 32, "kindString": "Variable", @@ -13776,7 +13719,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 25 } ], @@ -13802,10 +13745,10 @@ "title": "Variables", "kind": 32, "children": [ - 505, - 508, - 507, - 506 + 483, + 486, + 485, + 484 ] } ] @@ -13814,7 +13757,7 @@ { "type": "reflection", "declaration": { - "id": 509, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13823,7 +13766,7 @@ }, "children": [ { - "id": 510, + "id": 488, "name": "data", "kind": 32, "kindString": "Variable", @@ -13833,7 +13776,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 19 } ], @@ -13844,7 +13787,7 @@ "defaultValue": "null" }, { - "id": 513, + "id": 491, "name": "error", "kind": 32, "kindString": "Variable", @@ -13854,7 +13797,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 59 } ], @@ -13864,7 +13807,7 @@ } }, { - "id": 512, + "id": 490, "name": "session", "kind": 32, "kindString": "Variable", @@ -13874,7 +13817,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 46 } ], @@ -13885,7 +13828,7 @@ "defaultValue": "null" }, { - "id": 511, + "id": 489, "name": "user", "kind": 32, "kindString": "Variable", @@ -13895,7 +13838,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 31 } ], @@ -13911,10 +13854,10 @@ "title": "Variables", "kind": 32, "children": [ - 510, - 513, - 512, - 511 + 488, + 491, + 490, + 489 ] } ] @@ -13930,13 +13873,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 469, + "line": 480, "character": 34 } ] }, { - "id": 514, + "id": 492, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -13946,7 +13889,7 @@ }, "signatures": [ { - "id": 515, + "id": 493, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -13955,7 +13898,7 @@ }, "parameters": [ { - "id": 516, + "id": 494, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -13968,7 +13911,7 @@ } }, { - "id": 517, + "id": 495, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -13990,7 +13933,7 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13999,7 +13942,7 @@ }, "children": [ { - "id": 519, + "id": 497, "name": "data", "kind": 32, "kindString": "Variable", @@ -14009,7 +13952,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 19 } ], @@ -14020,7 +13963,7 @@ } }, { - "id": 522, + "id": 500, "name": "error", "kind": 32, "kindString": "Variable", @@ -14030,7 +13973,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 58 } ], @@ -14041,7 +13984,7 @@ "defaultValue": "null" }, { - "id": 521, + "id": 499, "name": "session", "kind": 32, "kindString": "Variable", @@ -14051,7 +13994,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 45 } ], @@ -14063,7 +14006,7 @@ "defaultValue": "data" }, { - "id": 520, + "id": 498, "name": "user", "kind": 32, "kindString": "Variable", @@ -14073,7 +14016,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 25 } ], @@ -14099,10 +14042,10 @@ "title": "Variables", "kind": 32, "children": [ - 519, - 522, - 521, - 520 + 497, + 500, + 499, + 498 ] } ] @@ -14111,7 +14054,7 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14120,7 +14063,7 @@ }, "children": [ { - "id": 524, + "id": 502, "name": "data", "kind": 32, "kindString": "Variable", @@ -14130,7 +14073,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 19 } ], @@ -14141,7 +14084,7 @@ "defaultValue": "null" }, { - "id": 527, + "id": 505, "name": "error", "kind": 32, "kindString": "Variable", @@ -14151,7 +14094,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 59 } ], @@ -14161,7 +14104,7 @@ } }, { - "id": 526, + "id": 504, "name": "session", "kind": 32, "kindString": "Variable", @@ -14171,7 +14114,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 46 } ], @@ -14182,7 +14125,7 @@ "defaultValue": "null" }, { - "id": 525, + "id": 503, "name": "user", "kind": 32, "kindString": "Variable", @@ -14192,7 +14135,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 31 } ], @@ -14208,10 +14151,10 @@ "title": "Variables", "kind": 32, "children": [ - 524, - 527, - 526, - 525 + 502, + 505, + 504, + 503 ] } ] @@ -14227,13 +14170,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 493, + "line": 504, "character": 34 } ] }, { - "id": 528, + "id": 506, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -14243,7 +14186,7 @@ }, "signatures": [ { - "id": 529, + "id": 507, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -14252,7 +14195,7 @@ }, "parameters": [ { - "id": 530, + "id": 508, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -14266,7 +14209,7 @@ } }, { - "id": 531, + "id": 509, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14276,7 +14219,7 @@ "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14285,7 +14228,7 @@ }, "children": [ { - "id": 533, + "id": 511, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -14296,7 +14239,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 512, + "line": 523, "character": 16 } ], @@ -14315,7 +14258,7 @@ } }, { - "id": 534, + "id": 512, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -14326,7 +14269,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 513, + "line": 524, "character": 12 } ], @@ -14350,15 +14293,15 @@ "title": "Variables", "kind": 32, "children": [ - 533, - 534 + 511, + 512 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 511, + "line": 522, "character": 12 } ] @@ -14373,7 +14316,7 @@ { "type": "reflection", "declaration": { - "id": 535, + "id": 513, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14382,7 +14325,7 @@ }, "children": [ { - "id": 538, + "id": 516, "name": "data", "kind": 32, "kindString": "Variable", @@ -14392,7 +14335,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 34 } ], @@ -14403,7 +14346,7 @@ "defaultValue": "null" }, { - "id": 541, + "id": 519, "name": "error", "kind": 32, "kindString": "Variable", @@ -14413,7 +14356,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 74 } ], @@ -14424,7 +14367,7 @@ "defaultValue": "null" }, { - "id": 536, + "id": 514, "name": "provider", "kind": 32, "kindString": "Variable", @@ -14434,7 +14377,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 23 } ], @@ -14445,7 +14388,7 @@ } }, { - "id": 539, + "id": 517, "name": "session", "kind": 32, "kindString": "Variable", @@ -14455,7 +14398,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 49 } ], @@ -14466,7 +14409,7 @@ "defaultValue": "null" }, { - "id": 537, + "id": 515, "name": "url", "kind": 32, "kindString": "Variable", @@ -14476,7 +14419,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 28 } ], @@ -14486,7 +14429,7 @@ } }, { - "id": 540, + "id": 518, "name": "user", "kind": 32, "kindString": "Variable", @@ -14496,7 +14439,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 61 } ], @@ -14512,12 +14455,12 @@ "title": "Variables", "kind": 32, "children": [ - 538, - 541, - 536, - 539, - 537, - 540 + 516, + 519, + 514, + 517, + 515, + 518 ] } ] @@ -14526,7 +14469,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 520, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14535,7 +14478,7 @@ }, "children": [ { - "id": 543, + "id": 521, "name": "data", "kind": 32, "kindString": "Variable", @@ -14545,7 +14488,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 19 } ], @@ -14556,7 +14499,7 @@ "defaultValue": "null" }, { - "id": 546, + "id": 524, "name": "error", "kind": 32, "kindString": "Variable", @@ -14566,7 +14509,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 59 } ], @@ -14576,7 +14519,7 @@ } }, { - "id": 545, + "id": 523, "name": "session", "kind": 32, "kindString": "Variable", @@ -14586,7 +14529,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 46 } ], @@ -14597,7 +14540,7 @@ "defaultValue": "null" }, { - "id": 544, + "id": 522, "name": "user", "kind": 32, "kindString": "Variable", @@ -14607,7 +14550,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 31 } ], @@ -14623,10 +14566,10 @@ "title": "Variables", "kind": 32, "children": [ - 543, - 546, - 545, - 544 + 521, + 524, + 523, + 522 ] } ] @@ -14639,13 +14582,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 509, + "line": 520, "character": 31 } ] }, { - "id": 560, + "id": 538, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -14655,7 +14598,7 @@ }, "signatures": [ { - "id": 561, + "id": 539, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -14664,7 +14607,7 @@ }, "parameters": [ { - "id": 562, + "id": 540, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -14687,13 +14630,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 616, + "line": 627, "character": 31 } ] }, { - "id": 566, + "id": 544, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -14703,7 +14646,7 @@ }, "signatures": [ { - "id": 567, + "id": 545, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -14712,7 +14655,7 @@ }, "parameters": [ { - "id": 568, + "id": 546, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -14735,13 +14678,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 643, + "line": 654, "character": 25 } ] }, { - "id": 549, + "id": 527, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -14751,7 +14694,7 @@ }, "signatures": [ { - "id": 550, + "id": 528, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -14785,13 +14728,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 562, + "line": 573, "character": 34 } ] }, { - "id": 547, + "id": 525, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -14801,7 +14744,7 @@ }, "signatures": [ { - "id": 548, + "id": 526, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -14829,13 +14772,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 538, + "line": 549, "character": 25 } ] }, { - "id": 569, + "id": 547, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -14845,7 +14788,7 @@ }, "signatures": [ { - "id": 570, + "id": 548, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -14867,13 +14810,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 648, + "line": 659, "character": 30 } ] }, { - "id": 563, + "id": 541, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -14883,7 +14826,7 @@ }, "signatures": [ { - "id": 564, + "id": 542, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -14895,7 +14838,7 @@ }, "parameters": [ { - "id": 565, + "id": 543, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14918,13 +14861,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 624, + "line": 635, "character": 22 } ] }, { - "id": 571, + "id": 549, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -14934,7 +14877,7 @@ }, "signatures": [ { - "id": 572, + "id": 550, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -14946,7 +14889,7 @@ }, "parameters": [ { - "id": 573, + "id": 551, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -14971,13 +14914,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 659, + "line": 670, "character": 32 } ] }, { - "id": 475, + "id": 453, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -14986,7 +14929,7 @@ }, "signatures": [ { - "id": 476, + "id": 454, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -14998,7 +14941,7 @@ }, "parameters": [ { - "id": 477, + "id": 455, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15016,7 +14959,7 @@ { "type": "reflection", "declaration": { - "id": 478, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15025,7 +14968,7 @@ }, "children": [ { - "id": 479, + "id": 457, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -15039,7 +14982,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 379, + "line": 390, "character": 16 } ], @@ -15067,7 +15010,7 @@ "title": "Variables", "kind": 32, "children": [ - 479 + 457 ] } ] @@ -15083,7 +15026,7 @@ { "type": "reflection", "declaration": { - "id": 480, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15092,7 +15035,7 @@ }, "children": [ { - "id": 481, + "id": 459, "name": "data", "kind": 32, "kindString": "Variable", @@ -15102,7 +15045,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 20 } ], @@ -15122,7 +15065,7 @@ } }, { - "id": 482, + "id": 460, "name": "error", "kind": 32, "kindString": "Variable", @@ -15132,7 +15075,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 43 } ], @@ -15156,15 +15099,15 @@ "title": "Variables", "kind": 32, "children": [ - 481, - 482 + 459, + 460 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 14 } ] @@ -15178,13 +15121,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 378, + "line": 389, "character": 25 } ] }, { - "id": 487, + "id": 465, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -15193,7 +15136,7 @@ }, "signatures": [ { - "id": 488, + "id": 466, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -15206,7 +15149,7 @@ }, "parameters": [ { - "id": 489, + "id": 467, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -15216,7 +15159,7 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 468, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15225,7 +15168,7 @@ }, "signatures": [ { - "id": 491, + "id": 469, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -15234,7 +15177,7 @@ }, "parameters": [ { - "id": 492, + "id": 470, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -15248,7 +15191,7 @@ } }, { - "id": 493, + "id": 471, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -15280,7 +15223,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 461, "character": 13 } ] @@ -15291,7 +15234,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15300,7 +15243,7 @@ }, "children": [ { - "id": 495, + "id": 473, "name": "data", "kind": 32, "kindString": "Variable", @@ -15310,7 +15253,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 11 } ], @@ -15330,7 +15273,7 @@ } }, { - "id": 496, + "id": 474, "name": "error", "kind": 32, "kindString": "Variable", @@ -15340,7 +15283,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 39 } ], @@ -15364,15 +15307,15 @@ "title": "Variables", "kind": 32, "children": [ - 495, - 496 + 473, + 474 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 4 } ] @@ -15383,13 +15326,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 449, + "line": 460, "character": 19 } ] }, { - "id": 453, + "id": 431, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -15398,7 +15341,7 @@ }, "signatures": [ { - "id": 454, + "id": 432, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -15414,7 +15357,7 @@ { "type": "reflection", "declaration": { - "id": 455, + "id": 433, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15423,7 +15366,7 @@ }, "children": [ { - "id": 456, + "id": 434, "name": "data", "kind": 32, "kindString": "Variable", @@ -15433,7 +15376,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 286, + "line": 297, "character": 8 } ], @@ -15453,7 +15396,7 @@ } }, { - "id": 458, + "id": 436, "name": "error", "kind": 32, "kindString": "Variable", @@ -15463,7 +15406,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 288, + "line": 299, "character": 9 } ], @@ -15482,7 +15425,7 @@ } }, { - "id": 457, + "id": 435, "name": "user", "kind": 32, "kindString": "Variable", @@ -15492,7 +15435,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 287, + "line": 298, "character": 8 } ], @@ -15517,16 +15460,16 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 458, - 457 + 434, + 436, + 435 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 34 } ] @@ -15540,13 +15483,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 22 } ] }, { - "id": 451, + "id": 429, "name": "session", "kind": 2048, "kindString": "Method", @@ -15555,7 +15498,7 @@ }, "signatures": [ { - "id": 452, + "id": 430, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -15584,13 +15527,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 278, + "line": 289, "character": 9 } ] }, { - "id": 472, + "id": 450, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -15599,7 +15542,7 @@ }, "signatures": [ { - "id": 473, + "id": 451, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -15611,7 +15554,7 @@ }, "parameters": [ { - "id": 474, + "id": 452, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -15637,13 +15580,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 363, + "line": 374, "character": 9 } ] }, { - "id": 466, + "id": 444, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -15652,7 +15595,7 @@ }, "signatures": [ { - "id": 467, + "id": 445, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -15664,7 +15607,7 @@ }, "parameters": [ { - "id": 468, + "id": 446, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -15686,7 +15629,7 @@ { "type": "reflection", "declaration": { - "id": 469, + "id": 447, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15695,7 +15638,7 @@ }, "children": [ { - "id": 471, + "id": 449, "name": "error", "kind": 32, "kindString": "Variable", @@ -15705,7 +15648,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 45 } ], @@ -15724,7 +15667,7 @@ } }, { - "id": 470, + "id": 448, "name": "session", "kind": 32, "kindString": "Variable", @@ -15734,7 +15677,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 22 } ], @@ -15759,15 +15702,15 @@ "title": "Variables", "kind": 32, "children": [ - 471, - 470 + 449, + 448 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 13 } ] @@ -15781,13 +15724,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 333, + "line": 344, "character": 18 } ] }, { - "id": 415, + "id": 393, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -15796,7 +15739,7 @@ }, "signatures": [ { - "id": 416, + "id": 394, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -15808,7 +15751,7 @@ }, "parameters": [ { - "id": 417, + "id": 395, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -15819,7 +15762,7 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15828,7 +15771,7 @@ }, "children": [ { - "id": 419, + "id": 397, "name": "email", "kind": 32, "kindString": "Variable", @@ -15841,7 +15784,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 11 } ], @@ -15860,7 +15803,7 @@ } }, { - "id": 421, + "id": 399, "name": "password", "kind": 32, "kindString": "Variable", @@ -15873,7 +15816,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 28 } ], @@ -15892,7 +15835,7 @@ } }, { - "id": 420, + "id": 398, "name": "phone", "kind": 32, "kindString": "Variable", @@ -15902,7 +15845,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 18 } ], @@ -15921,7 +15864,7 @@ } }, { - "id": 423, + "id": 401, "name": "provider", "kind": 32, "kindString": "Variable", @@ -15934,7 +15877,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 52 } ], @@ -15989,7 +15932,7 @@ } }, { - "id": 422, + "id": 400, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -16002,7 +15945,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 42 } ], @@ -16026,18 +15969,18 @@ "title": "Variables", "kind": 32, "children": [ - 419, - 421, - 420, - 423, - 422 + 397, + 399, + 398, + 401, + 400 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 157, + "line": 168, "character": 15 } ] @@ -16045,7 +15988,7 @@ } }, { - "id": 424, + "id": 402, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16055,7 +15998,7 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 403, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16064,7 +16007,7 @@ }, "children": [ { - "id": 426, + "id": 404, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16075,7 +16018,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 160, + "line": 171, "character": 16 } ], @@ -16094,7 +16037,7 @@ } }, { - "id": 427, + "id": 405, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -16105,7 +16048,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 161, + "line": 172, "character": 12 } ], @@ -16124,499 +16067,499 @@ } } ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 426, - 427 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 159, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 434, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 169, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 433, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 168, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 431, - "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": 429, - "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": 432, - "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": 430, - "name": "user", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 165, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 58, - "name": "User" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 434, - 433, - 431, - 429, - 432, - 430 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 163, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 157, - "character": 14 - } - ] - }, - { - "id": 483, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 484, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "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": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 486, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 486 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 27 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 15 - } - ] - }, - { - "id": 400, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 401, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a new user." - }, - "parameters": [ - { - "id": 402, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 403, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 404, - "name": "email", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's email address." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 405, - "name": "password", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's password." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 406, - "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": [ { "title": "Variables", "kind": 32, "children": [ 404, - 405, - 406 + 405 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 170, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 406, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 412, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 180, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 411, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 179, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 409, + "name": "provider", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 177, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 112, + "name": "Provider" + } + }, + { + "id": 407, + "name": "session", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 175, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 410, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 178, + "character": 7 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 408, + "name": "user", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "User" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 412, + 411, + 409, + 407, + 410, + 408 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 174, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 168, + "character": 14 + } + ] + }, + { + "id": 461, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 462, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "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": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 464, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 34 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 464 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 27 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 15 + } + ] + }, + { + "id": 378, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 379, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Creates a new user." + }, + "parameters": [ + { + "id": 380, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__0", + "type": { + "type": "reflection", + "declaration": { + "id": 381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 382, + "name": "email", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's email address." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 383, + "name": "password", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's password." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 384, + "name": "phone", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's phone number." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 28 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 382, + 383, + 384 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 109, "character": 15 } ] @@ -16624,7 +16567,7 @@ } }, { - "id": 407, + "id": 385, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16634,7 +16577,7 @@ "type": { "type": "reflection", "declaration": { - "id": 408, + "id": 386, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16643,7 +16586,7 @@ }, "children": [ { - "id": 409, + "id": 387, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -16654,7 +16597,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 101, + "line": 112, "character": 16 } ], @@ -16678,14 +16621,14 @@ "title": "Variables", "kind": 32, "children": [ - 409 + 387 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 100, + "line": 111, "character": 12 } ] @@ -16700,7 +16643,7 @@ { "type": "reflection", "declaration": { - "id": 410, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16709,7 +16652,7 @@ }, "children": [ { - "id": 414, + "id": 392, "name": "data", "kind": 32, "kindString": "Variable", @@ -16719,7 +16662,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 107, + "line": 118, "character": 8 } ], @@ -16744,7 +16687,7 @@ } }, { - "id": 413, + "id": 391, "name": "error", "kind": 32, "kindString": "Variable", @@ -16754,7 +16697,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 106, + "line": 117, "character": 9 } ], @@ -16773,7 +16716,7 @@ } }, { - "id": 412, + "id": 390, "name": "session", "kind": 32, "kindString": "Variable", @@ -16783,7 +16726,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 105, + "line": 116, "character": 11 } ], @@ -16803,7 +16746,7 @@ } }, { - "id": 411, + "id": 389, "name": "user", "kind": 32, "kindString": "Variable", @@ -16813,7 +16756,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 104, + "line": 115, "character": 8 } ], @@ -16838,17 +16781,17 @@ "title": "Variables", "kind": 32, "children": [ - 414, - 413, - 412, - 411 + 392, + 391, + 390, + 389 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 103, + "line": 114, "character": 13 } ] @@ -16862,13 +16805,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 109, "character": 14 } ] }, { - "id": 459, + "id": 437, "name": "update", "kind": 2048, "kindString": "Method", @@ -16877,7 +16820,7 @@ }, "signatures": [ { - "id": 460, + "id": 438, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -16889,7 +16832,7 @@ }, "parameters": [ { - "id": 461, + "id": 439, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -16909,7 +16852,7 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16918,7 +16861,7 @@ }, "children": [ { - "id": 463, + "id": 441, "name": "data", "kind": 32, "kindString": "Variable", @@ -16928,7 +16871,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 19 } ], @@ -16948,7 +16891,7 @@ } }, { - "id": 465, + "id": 443, "name": "error", "kind": 32, "kindString": "Variable", @@ -16958,7 +16901,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 58 } ], @@ -16977,7 +16920,7 @@ } }, { - "id": 464, + "id": 442, "name": "user", "kind": 32, "kindString": "Variable", @@ -16987,7 +16930,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 38 } ], @@ -17012,16 +16955,16 @@ "title": "Variables", "kind": 32, "children": [ - 463, - 465, - 464 + 441, + 443, + 442 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 13 } ] @@ -17035,13 +16978,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 306, + "line": 317, "character": 14 } ] }, { - "id": 449, + "id": 427, "name": "user", "kind": 2048, "kindString": "Method", @@ -17050,7 +16993,7 @@ }, "signatures": [ { - "id": 450, + "id": 428, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -17080,13 +17023,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 271, + "line": 282, "character": 6 } ] }, { - "id": 435, + "id": 413, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -17095,7 +17038,7 @@ }, "signatures": [ { - "id": 436, + "id": 414, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -17107,7 +17050,7 @@ }, "parameters": [ { - "id": 437, + "id": 415, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -17118,7 +17061,7 @@ "type": { "type": "reflection", "declaration": { - "id": 438, + "id": 416, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17127,7 +17070,7 @@ }, "children": [ { - "id": 439, + "id": 417, "name": "phone", "kind": 32, "kindString": "Variable", @@ -17140,7 +17083,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 11 } ], @@ -17150,7 +17093,7 @@ } }, { - "id": 440, + "id": 418, "name": "token", "kind": 32, "kindString": "Variable", @@ -17163,7 +17106,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 18 } ], @@ -17178,15 +17121,15 @@ "title": "Variables", "kind": 32, "children": [ - 439, - 440 + 417, + 418 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 18 } ] @@ -17194,7 +17137,7 @@ } }, { - "id": 441, + "id": 419, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17204,7 +17147,7 @@ "type": { "type": "reflection", "declaration": { - "id": 442, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17213,7 +17156,7 @@ }, "children": [ { - "id": 443, + "id": 421, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -17224,7 +17167,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 225, + "line": 236, "character": 16 } ], @@ -17248,14 +17191,14 @@ "title": "Variables", "kind": 32, "children": [ - 443 + 421 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 224, + "line": 235, "character": 12 } ] @@ -17270,7 +17213,7 @@ { "type": "reflection", "declaration": { - "id": 444, + "id": 422, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17279,7 +17222,7 @@ }, "children": [ { - "id": 448, + "id": 426, "name": "data", "kind": 32, "kindString": "Variable", @@ -17289,7 +17232,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 231, + "line": 242, "character": 8 } ], @@ -17314,7 +17257,7 @@ } }, { - "id": 447, + "id": 425, "name": "error", "kind": 32, "kindString": "Variable", @@ -17324,7 +17267,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 230, + "line": 241, "character": 9 } ], @@ -17343,7 +17286,7 @@ } }, { - "id": 446, + "id": 424, "name": "session", "kind": 32, "kindString": "Variable", @@ -17353,7 +17296,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 229, + "line": 240, "character": 11 } ], @@ -17373,7 +17316,7 @@ } }, { - "id": 445, + "id": 423, "name": "user", "kind": 32, "kindString": "Variable", @@ -17383,7 +17326,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 228, + "line": 239, "character": 8 } ], @@ -17408,17 +17351,17 @@ "title": "Variables", "kind": 32, "children": [ - 448, - 447, - 446, - 445 + 426, + 425, + 424, + 423 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 227, + "line": 238, "character": 13 } ] @@ -17432,359 +17375,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, - "character": 17 - } - ] - }, - { - "id": 436, - "name": "verifyOTP", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 437, - "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": 438, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 439, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 440, - "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": 441, - "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": [ - 440, - 441 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 222, - "character": 18 - } - ] - } - } - }, - { - "id": 442, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 443, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 444, - "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": [ - 444 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 224, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 445, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 449, - "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": 448, - "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": 447, - "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": 446, - "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": [ - 449, - 448, - 447, - 446 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 227, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 17 } ] @@ -17795,63 +17386,255 @@ "title": "Constructors", "kind": 512, "children": [ - 386 + 364 ] }, { "title": "Properties", "kind": 1024, "children": [ - 378, - 381, - 380, - 379, - 383, - 382, - 385, - 384 + 356, + 359, + 358, + 357, + 361, + 360, + 363, + 362 ] }, { "title": "Methods", "kind": 2048, "children": [ - 551, - 497, - 514, - 528, - 560, - 566, - 549, - 547, - 569, - 563, - 571, + 529, 475, - 487, + 492, + 506, + 538, + 544, + 527, + 525, + 547, + 541, + 549, 453, - 451, - 472, - 466, - 415, - 483, - 400, - 459, - 449, - 435 + 465, + 431, + 429, + 450, + 444, + 393, + 461, + 378, + 437, + 427, + 413 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 27, + "line": 38, "character": 33 } ] }, { - "id": 574, + "id": 560, + "name": "AnyFunction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 16 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 561, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 562, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 563, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 18 + } + ] + } + } + }, + { + "id": 564, + "name": "MaybePromisify", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 565, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 28, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "typeParameter", + "name": "T" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "Promise" + } + ] + } + }, + { + "id": 566, + "name": "PromisifyMethods", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 567, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 21 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 26 + } + ] + } + } + }, + { + "id": 569, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 36, + "character": 21 + } + ], + "type": { + "type": "reference", + "id": 566, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 552, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -17860,7 +17643,7 @@ }, "children": [ { - "id": 576, + "id": 554, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -17879,7 +17662,7 @@ "defaultValue": "true" }, { - "id": 579, + "id": 556, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -17887,7 +17670,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 24, + "line": 23, "character": 20 } ], @@ -17898,7 +17681,7 @@ "defaultValue": "true" }, { - "id": 580, + "id": 557, "name": "headers", "kind": 32, "kindString": "Variable", @@ -17906,21 +17689,21 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 25, + "line": 24, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 582, + "id": 559, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -17944,7 +17727,7 @@ "title": "Variables", "kind": 32, "children": [ - 582 + 559 ] } ] @@ -17953,26 +17736,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 578, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 23, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 577, + "id": 555, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -17991,7 +17755,7 @@ "defaultValue": "true" }, { - "id": 575, + "id": 553, "name": "url", "kind": 32, "kindString": "Variable", @@ -18015,12 +17779,11 @@ "title": "Variables", "kind": 32, "children": [ - 576, - 579, - 580, - 578, - 577, - 575 + 554, + 556, + 557, + 555, + 553 ] } ], @@ -18042,14 +17805,24 @@ "title": "Classes", "kind": 128, "children": [ - 377 + 355 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 560, + 564, + 566, + 569 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 574 + 552 ] } ], @@ -18062,7 +17835,7 @@ ] }, { - "id": 583, + "id": 570, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -18072,7 +17845,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 585, + "id": 572, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -18082,7 +17855,7 @@ "target": 113 }, { - "id": 590, + "id": 577, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -18092,7 +17865,7 @@ "target": 97 }, { - "id": 584, + "id": 571, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -18102,7 +17875,7 @@ "target": 112 }, { - "id": 586, + "id": 573, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -18112,7 +17885,7 @@ "target": 50 }, { - "id": 589, + "id": 576, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -18122,7 +17895,7 @@ "target": 87 }, { - "id": 587, + "id": 574, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -18132,7 +17905,7 @@ "target": 58 }, { - "id": 588, + "id": 575, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -18142,7 +17915,7 @@ "target": 82 }, { - "id": 591, + "id": 578, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -18152,7 +17925,7 @@ "target": 103 }, { - "id": 592, + "id": 579, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -18167,15 +17940,15 @@ "title": "References", "kind": 16777216, "children": [ - 585, - 590, - 584, - 586, - 589, - 587, - 588, - 591, - 592 + 572, + 577, + 571, + 573, + 576, + 574, + 575, + 578, + 579 ] } ], @@ -18188,7 +17961,7 @@ ] }, { - "id": 114, + "id": 116, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -18198,7 +17971,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts", "children": [ { - "id": 117, + "id": 118, "name": "AUDIENCE", "kind": 32, "kindString": "Variable", @@ -18220,7 +17993,7 @@ "defaultValue": "\"\"" }, { - "id": 120, + "id": 121, "name": "EXPIRY_MARGIN", "kind": 32, "kindString": "Variable", @@ -18242,7 +18015,7 @@ "defaultValue": "60 * 1000" }, { - "id": 116, + "id": 117, "name": "GOTRUE_URL", "kind": 32, "kindString": "Variable", @@ -18264,7 +18037,7 @@ "defaultValue": "\"http://localhost:9999\"" }, { - "id": 121, + "id": 122, "name": "STORAGE_KEY", "kind": 32, "kindString": "Variable", @@ -18286,25 +18059,7 @@ "defaultValue": "\"supabase.auth.token\"" }, { - "id": 115, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 1, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 122, + "id": 123, "name": "COOKIE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -18314,7 +18069,7 @@ }, "children": [ { - "id": 125, + "id": 126, "name": "domain", "kind": 32, "kindString": "Variable", @@ -18335,7 +18090,7 @@ "defaultValue": "\"\"" }, { - "id": 124, + "id": 125, "name": "lifetime", "kind": 32, "kindString": "Variable", @@ -18356,7 +18111,7 @@ "defaultValue": "60 * 60 * 8" }, { - "id": 123, + "id": 124, "name": "name", "kind": 32, "kindString": "Variable", @@ -18377,7 +18132,7 @@ "defaultValue": "\"sb:token\"" }, { - "id": 126, + "id": 127, "name": "path", "kind": 32, "kindString": "Variable", @@ -18398,7 +18153,7 @@ "defaultValue": "\"/\"" }, { - "id": 127, + "id": 128, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -18424,11 +18179,11 @@ "title": "Variables", "kind": 32, "children": [ + 126, 125, 124, - 123, - 126, - 127 + 127, + 128 ] } ], @@ -18445,7 +18200,7 @@ } }, { - "id": 118, + "id": 119, "name": "DEFAULT_HEADERS", "kind": 2097152, "kindString": "Object literal", @@ -18455,7 +18210,7 @@ }, "children": [ { - "id": 119, + "id": 120, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -18481,7 +18236,7 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 120 ] } ], @@ -18503,19 +18258,18 @@ "title": "Variables", "kind": 32, "children": [ - 117, - 120, - 116, + 118, 121, - 115 + 117, + 122 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 122, - 118 + 123, + 119 ] } ], @@ -18528,7 +18282,7 @@ ] }, { - "id": 128, + "id": 129, "name": "\"lib/cookies\"", "kind": 1, "kindString": "Module", @@ -18538,7 +18292,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts", "children": [ { - "id": 129, + "id": 130, "name": "Cookie", "kind": 4194304, "kindString": "Type alias", @@ -18553,14 +18307,14 @@ "type": { "type": "reflection", "declaration": { - "id": 130, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 134, + "id": 135, "name": "domain", "kind": 32, "kindString": "Variable", @@ -18589,7 +18343,7 @@ } }, { - "id": 133, + "id": 134, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -18607,7 +18361,7 @@ } }, { - "id": 131, + "id": 132, "name": "name", "kind": 32, "kindString": "Variable", @@ -18625,7 +18379,7 @@ } }, { - "id": 135, + "id": 136, "name": "path", "kind": 32, "kindString": "Variable", @@ -18654,7 +18408,7 @@ } }, { - "id": 136, + "id": 137, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -18683,7 +18437,7 @@ } }, { - "id": 132, + "id": 133, "name": "value", "kind": 32, "kindString": "Variable", @@ -18706,12 +18460,12 @@ "title": "Variables", "kind": 32, "children": [ - 134, - 133, - 131, 135, + 134, + 132, 136, - 132 + 137, + 133 ] } ], @@ -18726,7 +18480,7 @@ } }, { - "id": 167, + "id": 168, "name": "deleteCookie", "kind": 64, "kindString": "Function", @@ -18735,7 +18489,7 @@ }, "signatures": [ { - "id": 168, + "id": 169, "name": "deleteCookie", "kind": 4096, "kindString": "Call signature", @@ -18744,7 +18498,7 @@ }, "parameters": [ { - "id": 169, + "id": 170, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -18757,7 +18511,7 @@ } }, { - "id": 170, + "id": 171, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -18770,7 +18524,7 @@ } }, { - "id": 171, + "id": 172, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -18798,14 +18552,14 @@ ] }, { - "id": 150, + "id": 151, "name": "isSecureEnvironment", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 151, + "id": 152, "name": "isSecureEnvironment", "kind": 4096, "kindString": "Call signature", @@ -18815,7 +18569,7 @@ }, "parameters": [ { - "id": 152, + "id": 153, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -18841,14 +18595,14 @@ ] }, { - "id": 137, + "id": 138, "name": "serialize", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 138, + "id": 139, "name": "serialize", "kind": 4096, "kindString": "Call signature", @@ -18858,7 +18612,7 @@ }, "parameters": [ { - "id": 139, + "id": 140, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -18869,7 +18623,7 @@ } }, { - "id": 140, + "id": 141, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -18880,7 +18634,7 @@ } }, { - "id": 141, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -18888,14 +18642,14 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 145, "name": "domain", "kind": 32, "kindString": "Variable", @@ -18913,7 +18667,7 @@ } }, { - "id": 146, + "id": 147, "name": "expires", "kind": 32, "kindString": "Variable", @@ -18931,7 +18685,7 @@ } }, { - "id": 147, + "id": 148, "name": "httpOnly", "kind": 32, "kindString": "Variable", @@ -18949,7 +18703,7 @@ } }, { - "id": 143, + "id": 144, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -18967,7 +18721,7 @@ } }, { - "id": 145, + "id": 146, "name": "path", "kind": 32, "kindString": "Variable", @@ -18985,7 +18739,7 @@ } }, { - "id": 149, + "id": 150, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -19003,7 +18757,7 @@ } }, { - "id": 148, + "id": 149, "name": "secure", "kind": 32, "kindString": "Variable", @@ -19026,13 +18780,13 @@ "title": "Variables", "kind": 32, "children": [ + 145, + 147, + 148, 144, 146, - 147, - 143, - 145, - 149, - 148 + 150, + 149 ] } ], @@ -19062,14 +18816,14 @@ ] }, { - "id": 153, + "id": 154, "name": "serializeCookie", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 154, + "id": 155, "name": "serializeCookie", "kind": 4096, "kindString": "Call signature", @@ -19079,19 +18833,19 @@ }, "parameters": [ { - "id": 155, + "id": 156, "name": "cookie", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } }, { - "id": 156, + "id": 157, "name": "secure", "kind": 32768, "kindString": "Parameter", @@ -19117,7 +18871,7 @@ ] }, { - "id": 162, + "id": 163, "name": "setCookie", "kind": 64, "kindString": "Function", @@ -19126,7 +18880,7 @@ }, "signatures": [ { - "id": 163, + "id": 164, "name": "setCookie", "kind": 4096, "kindString": "Call signature", @@ -19138,7 +18892,7 @@ }, "parameters": [ { - "id": 164, + "id": 165, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -19151,7 +18905,7 @@ } }, { - "id": 165, + "id": 166, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -19164,7 +18918,7 @@ } }, { - "id": 166, + "id": 167, "name": "cookie", "kind": 32768, "kindString": "Parameter", @@ -19173,7 +18927,7 @@ }, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } } @@ -19193,7 +18947,7 @@ ] }, { - "id": 157, + "id": 158, "name": "setCookies", "kind": 64, "kindString": "Function", @@ -19202,7 +18956,7 @@ }, "signatures": [ { - "id": 158, + "id": 159, "name": "setCookies", "kind": 4096, "kindString": "Call signature", @@ -19214,7 +18968,7 @@ }, "parameters": [ { - "id": 159, + "id": 160, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -19227,7 +18981,7 @@ } }, { - "id": 160, + "id": 161, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -19240,7 +18994,7 @@ } }, { - "id": 161, + "id": 162, "name": "cookies", "kind": 32768, "kindString": "Parameter", @@ -19252,7 +19006,7 @@ "typeArguments": [ { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } ], @@ -19280,19 +19034,19 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 129 + 130 ] }, { "title": "Functions", "kind": 64, "children": [ - 167, - 150, - 137, - 153, - 162, - 157 + 168, + 151, + 138, + 154, + 163, + 158 ] } ], @@ -20132,7 +19886,7 @@ ] }, { - "id": 172, + "id": 173, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -20142,422 +19896,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts", "children": [ { - "id": 173, - "name": "LocalStorage", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 175, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 176, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "children": [ - { - "id": 178, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 179, - "name": "new LocalStorage", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 180, - "name": "localStorage", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "Storage" - } - } - ], - "type": { - "type": "reference", - "id": 173, - "name": "LocalStorage" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 17 - } - ] - }, - { - "id": 177, - "name": "length", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 174, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 27, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 181, - "name": "clear", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 182, - "name": "clear", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 33, - "character": 7 - } - ] - }, - { - "id": 190, - "name": "getItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "getItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 192, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 42, - "character": 9 - } - ] - }, - { - "id": 183, - "name": "key", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 184, - "name": "key", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 185, - "name": "index", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 36, - "character": 5 - } - ] - }, - { - "id": 193, - "name": "removeItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 194, - "name": "removeItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 195, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 45, - "character": 12 - } - ] - }, - { - "id": 186, - "name": "setItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 187, - "name": "setItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 188, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 189, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 39, - "character": 9 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 178 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 177, - 174 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 181, - 190, - 183, - 193, - 186 - ] - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 26, - "character": 25 - } - ], - "implementedTypes": [ - { - "type": "reference", - "name": "Storage" - } - ] - }, - { - "id": 196, + "id": 174, "name": "expiresAt", "kind": 64, "kindString": "Function", @@ -20566,7 +19905,7 @@ }, "signatures": [ { - "id": 197, + "id": 175, "name": "expiresAt", "kind": 4096, "kindString": "Call signature", @@ -20575,7 +19914,7 @@ }, "parameters": [ { - "id": 198, + "id": 176, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -20603,7 +19942,7 @@ ] }, { - "id": 203, + "id": 181, "name": "getParameterByName", "kind": 64, "kindString": "Function", @@ -20612,7 +19951,7 @@ }, "signatures": [ { - "id": 204, + "id": 182, "name": "getParameterByName", "kind": 4096, "kindString": "Call signature", @@ -20621,7 +19960,7 @@ }, "parameters": [ { - "id": 205, + "id": 183, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -20634,7 +19973,7 @@ } }, { - "id": 206, + "id": 184, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -20681,7 +20020,7 @@ ] }, { - "id": 201, + "id": 179, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -20691,7 +20030,7 @@ }, "signatures": [ { - "id": 202, + "id": 180, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -20713,7 +20052,7 @@ ] }, { - "id": 199, + "id": 177, "name": "uuid", "kind": 64, "kindString": "Function", @@ -20722,7 +20061,7 @@ }, "signatures": [ { - "id": 200, + "id": 178, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -20745,21 +20084,14 @@ } ], "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 173 - ] - }, { "title": "Functions", "kind": 64, "children": [ - 196, - 203, - 201, - 199 + 174, + 181, + 179, + 177 ] } ], @@ -20772,7 +20104,7 @@ ] }, { - "id": 373, + "id": 351, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -20782,7 +20114,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 374, + "id": 352, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -20791,7 +20123,7 @@ }, "signatures": [ { - "id": 375, + "id": 353, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -20821,7 +20153,7 @@ "title": "Functions", "kind": 64, "children": [ - 374 + 352 ] } ], @@ -22193,88 +21525,6 @@ } ] } - }, - { - "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", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 112, - "character": 10 - } - ], - "type": { - "type": "reference", - "id": 112, - "name": "Provider" - } - }, - { - "id": 107, - "name": "refreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 110, - "character": 14 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } } ], "groups": [ @@ -22312,7 +21562,8 @@ "kind": 1024, "kindString": "Property", "flags": { - "isExported": true + "isExported": true, + "isOptional": true }, "sources": [ { @@ -22423,7 +21674,8 @@ "kind": 1024, "kindString": "Property", "flags": { - "isExported": true + "isExported": true, + "isOptional": true }, "sources": [ { @@ -22433,8 +21685,17 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] } } ], @@ -22662,7 +21923,7 @@ ] }, { - "id": 593, + "id": 114, "name": "\"lib/version\"", "kind": 1, "kindString": "Module", @@ -22672,7 +21933,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts", "children": [ { - "id": 594, + "id": 115, "name": "version", "kind": 32, "kindString": "Variable", @@ -22699,7 +21960,7 @@ "title": "Variables", "kind": 32, "children": [ - 594 + 115 ] } ], @@ -22717,16 +21978,16 @@ "title": "Modules", "kind": 1, "children": [ - 207, - 376, - 583, - 114, - 128, + 185, + 354, + 570, + 116, + 129, 1, - 172, - 373, + 173, + 351, 49, - 593 + 114 ] } ] @@ -34423,7 +33684,7 @@ "originalName": "", "children": [ { - "id": 196, + "id": 200, "name": "\"RealtimeClient\"", "kind": 1, "kindString": "Module", @@ -34433,7 +33694,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts", "children": [ { - "id": 197, + "id": 201, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -34442,7 +33703,7 @@ }, "children": [ { - "id": 228, + "id": 232, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34454,7 +33715,7 @@ }, "signatures": [ { - "id": 229, + "id": 233, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -34466,7 +33727,7 @@ }, "parameters": [ { - "id": 230, + "id": 234, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -34482,7 +33743,7 @@ } }, { - "id": 231, + "id": 235, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -34492,14 +33753,14 @@ }, "type": { "type": "reference", - "id": 303, + "id": 307, "name": "Options" } } ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } @@ -34513,7 +33774,7 @@ ] }, { - "id": 198, + "id": 202, "name": "channels", "kind": 1024, "kindString": "Property", @@ -34531,14 +33792,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, "defaultValue": "[]" }, { - "id": 220, + "id": 224, "name": "conn", "kind": 1024, "kindString": "Property", @@ -34568,7 +33829,7 @@ "defaultValue": "null" }, { - "id": 218, + "id": 222, "name": "decode", "kind": 1024, "kindString": "Property", @@ -34588,7 +33849,7 @@ } }, { - "id": 217, + "id": 221, "name": "encode", "kind": 1024, "kindString": "Property", @@ -34608,7 +33869,7 @@ } }, { - "id": 199, + "id": 203, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -34629,7 +33890,7 @@ "defaultValue": "\"\"" }, { - "id": 200, + "id": 204, "name": "headers", "kind": 1024, "kindString": "Property", @@ -34644,177 +33905,6 @@ "character": 9 } ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 202, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 203, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - }, - "defaultValue": "DEFAULT_HEADERS" - }, - { - "id": 210, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 21 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 212, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 45, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "query", - "queryType": { - "type": "reference", - "name": "setInterval" - } - } - ], - "name": "ReturnType" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 216, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 211, - "name": "longpollerTimeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "20000" - }, - { - "id": 204, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 40, - "character": 8 - } - ], "type": { "type": "union", "types": [ @@ -34865,10 +33955,181 @@ } } ] + }, + "defaultValue": "DEFAULT_HEADERS" + }, + { + "id": 214, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 216, + "name": "heartbeatTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 45, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "setInterval" + } + } + ], + "name": "ReturnType" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 220, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 215, + "name": "longpollerTimeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20000" + }, + { + "id": 208, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 40, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 210, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 211, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] } }, { - "id": 213, + "id": 217, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -34898,7 +34159,7 @@ "defaultValue": "null" }, { - "id": 219, + "id": 223, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -34918,7 +34179,7 @@ } }, { - "id": 215, + "id": 219, "name": "reconnectTimer", "kind": 1024, "kindString": "Property", @@ -34939,7 +34200,7 @@ } }, { - "id": 214, + "id": 218, "name": "ref", "kind": 1024, "kindString": "Property", @@ -34960,7 +34221,7 @@ "defaultValue": "0" }, { - "id": 221, + "id": 225, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -34984,7 +34245,7 @@ "defaultValue": "[]" }, { - "id": 222, + "id": 226, "name": "serializer", "kind": 1024, "kindString": "Property", @@ -35000,13 +34261,13 @@ ], "type": { "type": "reference", - "id": 172, + "id": 176, "name": "Serializer" }, "defaultValue": "new Serializer()" }, { - "id": 208, + "id": 212, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -35027,7 +34288,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 209, + "id": 213, "name": "transport", "kind": 1024, "kindString": "Property", @@ -35048,7 +34309,7 @@ "defaultValue": "WebSocket" }, { - "id": 290, + "id": 294, "name": "_appendParams", "kind": 2048, "kindString": "Method", @@ -35058,7 +34319,7 @@ }, "signatures": [ { - "id": 291, + "id": 295, "name": "_appendParams", "kind": 4096, "kindString": "Call signature", @@ -35067,7 +34328,7 @@ }, "parameters": [ { - "id": 292, + "id": 296, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -35080,7 +34341,7 @@ } }, { - "id": 293, + "id": 297, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -35090,7 +34351,7 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35099,7 +34360,7 @@ }, "indexSignature": [ { - "id": 295, + "id": 299, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -35108,7 +34369,7 @@ }, "parameters": [ { - "id": 296, + "id": 300, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -35130,7 +34391,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 44 } ] @@ -35147,13 +34408,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 23 } ] }, { - "id": 297, + "id": 301, "name": "_flushSendBuffer", "kind": 2048, "kindString": "Method", @@ -35163,7 +34424,7 @@ }, "signatures": [ { - "id": 298, + "id": 302, "name": "_flushSendBuffer", "kind": 4096, "kindString": "Call signature", @@ -35179,13 +34440,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 357, + "line": 358, "character": 26 } ] }, { - "id": 282, + "id": 286, "name": "_onConnClose", "kind": 2048, "kindString": "Method", @@ -35195,7 +34456,7 @@ }, "signatures": [ { - "id": 283, + "id": 287, "name": "_onConnClose", "kind": 4096, "kindString": "Call signature", @@ -35204,7 +34465,7 @@ }, "parameters": [ { - "id": 284, + "id": 288, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -35226,13 +34487,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 327, + "line": 328, "character": 22 } ] }, { - "id": 285, + "id": 289, "name": "_onConnError", "kind": 2048, "kindString": "Method", @@ -35242,7 +34503,7 @@ }, "signatures": [ { - "id": 286, + "id": 290, "name": "_onConnError", "kind": 4096, "kindString": "Call signature", @@ -35251,7 +34512,7 @@ }, "parameters": [ { - "id": 287, + "id": 291, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -35273,13 +34534,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 335, + "line": 336, "character": 22 } ] }, { - "id": 280, + "id": 284, "name": "_onConnOpen", "kind": 2048, "kindString": "Method", @@ -35289,7 +34550,7 @@ }, "signatures": [ { - "id": 281, + "id": 285, "name": "_onConnOpen", "kind": 4096, "kindString": "Call signature", @@ -35305,13 +34566,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 319, + "line": 320, "character": 21 } ] }, { - "id": 299, + "id": 303, "name": "_resetHeartbeat", "kind": 2048, "kindString": "Method", @@ -35321,7 +34582,7 @@ }, "signatures": [ { - "id": 300, + "id": 304, "name": "_resetHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -35337,13 +34598,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 364, + "line": 365, "character": 25 } ] }, { - "id": 301, + "id": 305, "name": "_sendHeartbeat", "kind": 2048, "kindString": "Method", @@ -35353,7 +34614,7 @@ }, "signatures": [ { - "id": 302, + "id": 306, "name": "_sendHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -35369,13 +34630,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 373, + "line": 374, "character": 24 } ] }, { - "id": 288, + "id": 292, "name": "_triggerChanError", "kind": 2048, "kindString": "Method", @@ -35385,7 +34646,7 @@ }, "signatures": [ { - "id": 289, + "id": 293, "name": "_triggerChanError", "kind": 4096, "kindString": "Call signature", @@ -35401,13 +34662,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 341, + "line": 342, "character": 27 } ] }, { - "id": 265, + "id": 269, "name": "channel", "kind": 2048, "kindString": "Method", @@ -35416,7 +34677,7 @@ }, "signatures": [ { - "id": 266, + "id": 270, "name": "channel", "kind": 4096, "kindString": "Call signature", @@ -35425,7 +34686,7 @@ }, "parameters": [ { - "id": 267, + "id": 271, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -35438,7 +34699,7 @@ } }, { - "id": 268, + "id": 272, "name": "chanParams", "kind": 32768, "kindString": "Parameter", @@ -35448,7 +34709,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35462,7 +34723,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -35470,13 +34731,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 249, + "line": 250, "character": 9 } ] }, { - "id": 232, + "id": 236, "name": "connect", "kind": 2048, "kindString": "Method", @@ -35485,7 +34746,7 @@ }, "signatures": [ { - "id": 233, + "id": 237, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -35510,7 +34771,7 @@ ] }, { - "id": 258, + "id": 262, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -35519,7 +34780,7 @@ }, "signatures": [ { - "id": 259, + "id": 263, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -35555,13 +34816,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 218, + "line": 219, "character": 17 } ] }, { - "id": 234, + "id": 238, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -35570,7 +34831,7 @@ }, "signatures": [ { - "id": 235, + "id": 239, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -35582,7 +34843,7 @@ }, "parameters": [ { - "id": 236, + "id": 240, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -35608,7 +34869,7 @@ } }, { - "id": 237, + "id": 241, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -35640,7 +34901,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -35649,7 +34910,7 @@ }, "children": [ { - "id": 240, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -35669,7 +34930,7 @@ } }, { - "id": 239, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -35703,8 +34964,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 244, + 243 ] } ], @@ -35731,7 +34992,7 @@ ] }, { - "id": 276, + "id": 280, "name": "endPointURL", "kind": 2048, "kindString": "Method", @@ -35740,7 +35001,7 @@ }, "signatures": [ { - "id": 277, + "id": 281, "name": "endPointURL", "kind": 4096, "kindString": "Call signature", @@ -35759,13 +35020,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 298, + "line": 299, "character": 13 } ] }, { - "id": 260, + "id": 264, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -35774,7 +35035,7 @@ }, "signatures": [ { - "id": 261, + "id": 265, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -35793,13 +35054,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 234, + "line": 235, "character": 13 } ] }, { - "id": 241, + "id": 245, "name": "log", "kind": 2048, "kindString": "Method", @@ -35808,7 +35069,7 @@ }, "signatures": [ { - "id": 242, + "id": 246, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -35820,7 +35081,7 @@ }, "parameters": [ { - "id": 243, + "id": 247, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -35833,7 +35094,7 @@ } }, { - "id": 244, + "id": 248, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -35846,7 +35107,7 @@ } }, { - "id": 245, + "id": 249, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -35869,13 +35130,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 167, + "line": 168, "character": 5 } ] }, { - "id": 278, + "id": 282, "name": "makeRef", "kind": 2048, "kindString": "Method", @@ -35884,7 +35145,7 @@ }, "signatures": [ { - "id": 279, + "id": 283, "name": "makeRef", "kind": 4096, "kindString": "Call signature", @@ -35903,13 +35164,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 308, + "line": 309, "character": 9 } ] }, { - "id": 249, + "id": 253, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -35918,7 +35179,7 @@ }, "signatures": [ { - "id": 250, + "id": 254, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -35936,7 +35197,7 @@ }, "parameters": [ { - "id": 251, + "id": 255, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -35961,13 +35222,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 189, + "line": 190, "character": 9 } ] }, { - "id": 273, + "id": 277, "name": "onConnMessage", "kind": 2048, "kindString": "Method", @@ -35976,7 +35237,7 @@ }, "signatures": [ { - "id": 274, + "id": 278, "name": "onConnMessage", "kind": 4096, "kindString": "Call signature", @@ -35985,7 +35246,7 @@ }, "parameters": [ { - "id": 275, + "id": 279, "name": "rawMessage", "kind": 32768, "kindString": "Parameter", @@ -36007,13 +35268,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 270, + "line": 271, "character": 15 } ] }, { - "id": 252, + "id": 256, "name": "onError", "kind": 2048, "kindString": "Method", @@ -36022,7 +35283,7 @@ }, "signatures": [ { - "id": 253, + "id": 257, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -36040,7 +35301,7 @@ }, "parameters": [ { - "id": 254, + "id": 258, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36065,13 +35326,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 200, + "line": 201, "character": 9 } ] }, { - "id": 255, + "id": 259, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -36080,7 +35341,7 @@ }, "signatures": [ { - "id": 256, + "id": 260, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -36098,7 +35359,7 @@ }, "parameters": [ { - "id": 257, + "id": 261, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36123,13 +35384,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 211, + "line": 212, "character": 11 } ] }, { - "id": 246, + "id": 250, "name": "onOpen", "kind": 2048, "kindString": "Method", @@ -36138,7 +35399,7 @@ }, "signatures": [ { - "id": 247, + "id": 251, "name": "onOpen", "kind": 4096, "kindString": "Call signature", @@ -36156,7 +35417,7 @@ }, "parameters": [ { - "id": 248, + "id": 252, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -36181,13 +35442,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 178, + "line": 179, "character": 8 } ] }, { - "id": 270, + "id": 274, "name": "push", "kind": 2048, "kindString": "Method", @@ -36196,7 +35457,7 @@ }, "signatures": [ { - "id": 271, + "id": 275, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -36205,7 +35466,7 @@ }, "parameters": [ { - "id": 272, + "id": 276, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -36214,7 +35475,7 @@ }, "type": { "type": "reference", - "id": 321, + "id": 325, "name": "Message" } } @@ -36228,13 +35489,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 255, + "line": 256, "character": 6 } ] }, { - "id": 262, + "id": 266, "name": "remove", "kind": 2048, "kindString": "Method", @@ -36243,7 +35504,7 @@ }, "signatures": [ { - "id": 263, + "id": 267, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -36255,7 +35516,7 @@ }, "parameters": [ { - "id": 264, + "id": 268, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -36267,7 +35528,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -36281,13 +35542,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 243, + "line": 244, "character": 8 } ] }, { - "id": 223, + "id": 227, "name": "stateChangeCallbacks", "kind": 2097152, "kindString": "Object literal", @@ -36296,7 +35557,7 @@ }, "children": [ { - "id": 225, + "id": 229, "name": "close", "kind": 32, "kindString": "Variable", @@ -36320,7 +35581,7 @@ "defaultValue": "[]" }, { - "id": 226, + "id": 230, "name": "error", "kind": 32, "kindString": "Variable", @@ -36344,7 +35605,7 @@ "defaultValue": "[]" }, { - "id": 227, + "id": 231, "name": "message", "kind": 32, "kindString": "Variable", @@ -36368,7 +35629,7 @@ "defaultValue": "[]" }, { - "id": 224, + "id": 228, "name": "open", "kind": 32, "kindString": "Variable", @@ -36397,10 +35658,10 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 226, - 227, - 224 + 229, + 230, + 231, + 228 ] } ], @@ -36422,68 +35683,68 @@ "title": "Constructors", "kind": 512, "children": [ - 228 + 232 ] }, { "title": "Properties", "kind": 1024, "children": [ - 198, - 220, - 218, - 217, - 199, - 200, - 210, - 212, - 216, - 211, - 204, - 213, - 219, - 215, - 214, - 221, + 202, + 224, 222, + 221, + 203, + 204, + 214, + 216, + 220, + 215, 208, - 209 + 217, + 223, + 219, + 218, + 225, + 226, + 212, + 213 ] }, { "title": "Methods", "kind": 2048, "children": [ - 290, - 297, - 282, - 285, - 280, - 299, + 294, 301, - 288, - 265, - 232, - 258, - 234, - 276, - 260, - 241, - 278, - 249, - 273, - 252, - 255, - 246, - 270, - 262 + 286, + 289, + 284, + 303, + 305, + 292, + 269, + 236, + 262, + 238, + 280, + 264, + 245, + 282, + 253, + 277, + 256, + 259, + 250, + 274, + 266 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 223 + 227 ] } ], @@ -36496,7 +35757,7 @@ ] }, { - "id": 321, + "id": 325, "name": "Message", "kind": 4194304, "kindString": "Type alias", @@ -36511,14 +35772,14 @@ "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 328, "name": "event", "kind": 32, "kindString": "Variable", @@ -36536,7 +35797,7 @@ } }, { - "id": 325, + "id": 329, "name": "payload", "kind": 32, "kindString": "Variable", @@ -36554,7 +35815,7 @@ } }, { - "id": 326, + "id": 330, "name": "ref", "kind": 32, "kindString": "Variable", @@ -36572,7 +35833,7 @@ } }, { - "id": 323, + "id": 327, "name": "topic", "kind": 32, "kindString": "Variable", @@ -36595,10 +35856,10 @@ "title": "Variables", "kind": 32, "children": [ - 324, - 325, - 326, - 323 + 328, + 329, + 330, + 327 ] } ], @@ -36613,7 +35874,7 @@ } }, { - "id": 303, + "id": 307, "name": "Options", "kind": 4194304, "kindString": "Type alias", @@ -36630,7 +35891,7 @@ "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36639,7 +35900,7 @@ }, "children": [ { - "id": 311, + "id": 315, "name": "decode", "kind": 32, "kindString": "Variable", @@ -36660,7 +35921,7 @@ } }, { - "id": 310, + "id": 314, "name": "encode", "kind": 32, "kindString": "Variable", @@ -36681,7 +35942,7 @@ } }, { - "id": 313, + "id": 317, "name": "headers", "kind": 32, "kindString": "Variable", @@ -36696,155 +35957,6 @@ "character": 9 } ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 314, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 315, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 316, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 307, - "name": "heartbeatIntervalMs", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 309, - "name": "logger", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 308, - "name": "longpollerTimeout", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 317, - "name": "params", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 8 - } - ], "type": { "type": "union", "types": [ @@ -36897,8 +36009,157 @@ ] } }, + { + "id": 311, + "name": "heartbeatIntervalMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 313, + "name": "logger", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, { "id": 312, + "name": "longpollerTimeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 321, + "name": "params", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 322, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 323, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 324, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 316, "name": "reconnectAfterMs", "kind": 32, "kindString": "Variable", @@ -36919,7 +36180,7 @@ } }, { - "id": 306, + "id": 310, "name": "timeout", "kind": 32, "kindString": "Variable", @@ -36949,7 +36210,7 @@ } }, { - "id": 305, + "id": 309, "name": "transport", "kind": 32, "kindString": "Variable", @@ -36975,16 +36236,16 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 310, - 313, - 307, - 309, - 308, + 315, + 314, 317, + 311, + 313, 312, - 306, - 305 + 321, + 316, + 310, + 309 ] } ], @@ -36999,7 +36260,7 @@ } }, { - "id": 327, + "id": 331, "name": "noop", "kind": 64, "kindString": "Function", @@ -37008,7 +36269,7 @@ }, "signatures": [ { - "id": 328, + "id": 332, "name": "noop", "kind": 4096, "kindString": "Call signature", @@ -37033,22 +36294,22 @@ "title": "Classes", "kind": 128, "children": [ - 197 + 201 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 321, - 303 + 325, + 307 ] }, { "title": "Functions", "kind": 64, "children": [ - 327 + 331 ] } ], @@ -37061,7 +36322,7 @@ ] }, { - "id": 92, + "id": 96, "name": "\"RealtimeSubscription\"", "kind": 1, "kindString": "Module", @@ -37071,7 +36332,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts", "children": [ { - "id": 93, + "id": 97, "name": "RealtimeSubscription", "kind": 128, "kindString": "Class", @@ -37080,7 +36341,7 @@ }, "children": [ { - "id": 101, + "id": 105, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37089,7 +36350,7 @@ }, "signatures": [ { - "id": 105, + "id": 109, "name": "new RealtimeSubscription", "kind": 16384, "kindString": "Constructor signature", @@ -37098,7 +36359,7 @@ }, "parameters": [ { - "id": 106, + "id": 110, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -37111,7 +36372,7 @@ } }, { - "id": 107, + "id": 111, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -37125,7 +36386,7 @@ "defaultValue": "{}" }, { - "id": 108, + "id": 112, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -37134,14 +36395,14 @@ }, "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -37155,7 +36416,7 @@ ] }, { - "id": 94, + "id": 98, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -37179,7 +36440,7 @@ "defaultValue": "[]" }, { - "id": 98, + "id": 102, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -37200,7 +36461,7 @@ } }, { - "id": 97, + "id": 101, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -37221,7 +36482,7 @@ "defaultValue": "false" }, { - "id": 103, + "id": 107, "name": "params", "kind": 1024, "kindString": "Property", @@ -37243,7 +36504,7 @@ } }, { - "id": 100, + "id": 104, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -37268,7 +36529,7 @@ "defaultValue": "[]" }, { - "id": 99, + "id": 103, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -37289,7 +36550,7 @@ } }, { - "id": 104, + "id": 108, "name": "socket", "kind": 1024, "kindString": "Property", @@ -37307,12 +36568,12 @@ ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } }, { - "id": 96, + "id": 100, "name": "state", "kind": 1024, "kindString": "Property", @@ -37334,7 +36595,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 95, + "id": 99, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -37354,7 +36615,7 @@ } }, { - "id": 102, + "id": 106, "name": "topic", "kind": 1024, "kindString": "Property", @@ -37376,7 +36637,7 @@ } }, { - "id": 127, + "id": 131, "name": "canPush", "kind": 2048, "kindString": "Method", @@ -37385,7 +36646,7 @@ }, "signatures": [ { - "id": 128, + "id": 132, "name": "canPush", "kind": 4096, "kindString": "Call signature", @@ -37407,7 +36668,7 @@ ] }, { - "id": 161, + "id": 165, "name": "isClosed", "kind": 2048, "kindString": "Method", @@ -37416,7 +36677,7 @@ }, "signatures": [ { - "id": 162, + "id": 166, "name": "isClosed", "kind": 4096, "kindString": "Call signature", @@ -37438,7 +36699,7 @@ ] }, { - "id": 163, + "id": 167, "name": "isErrored", "kind": 2048, "kindString": "Method", @@ -37447,7 +36708,7 @@ }, "signatures": [ { - "id": 164, + "id": 168, "name": "isErrored", "kind": 4096, "kindString": "Call signature", @@ -37469,7 +36730,7 @@ ] }, { - "id": 165, + "id": 169, "name": "isJoined", "kind": 2048, "kindString": "Method", @@ -37478,7 +36739,7 @@ }, "signatures": [ { - "id": 166, + "id": 170, "name": "isJoined", "kind": 4096, "kindString": "Call signature", @@ -37500,7 +36761,7 @@ ] }, { - "id": 167, + "id": 171, "name": "isJoining", "kind": 2048, "kindString": "Method", @@ -37509,7 +36770,7 @@ }, "signatures": [ { - "id": 168, + "id": 172, "name": "isJoining", "kind": 4096, "kindString": "Call signature", @@ -37531,7 +36792,7 @@ ] }, { - "id": 169, + "id": 173, "name": "isLeaving", "kind": 2048, "kindString": "Method", @@ -37540,7 +36801,7 @@ }, "signatures": [ { - "id": 170, + "id": 174, "name": "isLeaving", "kind": 4096, "kindString": "Call signature", @@ -37562,7 +36823,7 @@ ] }, { - "id": 142, + "id": 146, "name": "isMember", "kind": 2048, "kindString": "Method", @@ -37571,7 +36832,7 @@ }, "signatures": [ { - "id": 143, + "id": 147, "name": "isMember", "kind": 4096, "kindString": "Call signature", @@ -37580,7 +36841,7 @@ }, "parameters": [ { - "id": 144, + "id": 148, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -37608,7 +36869,7 @@ ] }, { - "id": 145, + "id": 149, "name": "joinRef", "kind": 2048, "kindString": "Method", @@ -37617,7 +36878,7 @@ }, "signatures": [ { - "id": 146, + "id": 150, "name": "joinRef", "kind": 4096, "kindString": "Call signature", @@ -37639,7 +36900,7 @@ ] }, { - "id": 124, + "id": 128, "name": "off", "kind": 2048, "kindString": "Method", @@ -37648,7 +36909,7 @@ }, "signatures": [ { - "id": 125, + "id": 129, "name": "off", "kind": 4096, "kindString": "Call signature", @@ -37657,7 +36918,7 @@ }, "parameters": [ { - "id": 126, + "id": 130, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -37685,7 +36946,7 @@ ] }, { - "id": 120, + "id": 124, "name": "on", "kind": 2048, "kindString": "Method", @@ -37694,7 +36955,7 @@ }, "signatures": [ { - "id": 121, + "id": 125, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -37703,7 +36964,7 @@ }, "parameters": [ { - "id": 122, + "id": 126, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -37716,7 +36977,7 @@ } }, { - "id": 123, + "id": 127, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -37744,7 +37005,7 @@ ] }, { - "id": 114, + "id": 118, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -37753,7 +37014,7 @@ }, "signatures": [ { - "id": 115, + "id": 119, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -37762,7 +37023,7 @@ }, "parameters": [ { - "id": 116, + "id": 120, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -37790,7 +37051,7 @@ ] }, { - "id": 117, + "id": 121, "name": "onError", "kind": 2048, "kindString": "Method", @@ -37799,7 +37060,7 @@ }, "signatures": [ { - "id": 118, + "id": 122, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -37808,7 +37069,7 @@ }, "parameters": [ { - "id": 119, + "id": 123, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -37836,7 +37097,7 @@ ] }, { - "id": 137, + "id": 141, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -37845,7 +37106,7 @@ }, "signatures": [ { - "id": 138, + "id": 142, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -37858,7 +37119,7 @@ }, "parameters": [ { - "id": 139, + "id": 143, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -37871,7 +37132,7 @@ } }, { - "id": 140, + "id": 144, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -37884,7 +37145,7 @@ } }, { - "id": 141, + "id": 145, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -37922,7 +37183,7 @@ ] }, { - "id": 129, + "id": 133, "name": "push", "kind": 2048, "kindString": "Method", @@ -37931,7 +37192,7 @@ }, "signatures": [ { - "id": 130, + "id": 134, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -37940,7 +37201,7 @@ }, "parameters": [ { - "id": 131, + "id": 135, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -37954,7 +37215,7 @@ } }, { - "id": 132, + "id": 136, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -37967,7 +37228,7 @@ } }, { - "id": 133, + "id": 137, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -37997,7 +37258,7 @@ ] }, { - "id": 150, + "id": 154, "name": "rejoin", "kind": 2048, "kindString": "Method", @@ -38006,7 +37267,7 @@ }, "signatures": [ { - "id": 151, + "id": 155, "name": "rejoin", "kind": 4096, "kindString": "Call signature", @@ -38015,7 +37276,7 @@ }, "parameters": [ { - "id": 152, + "id": 156, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -38044,7 +37305,7 @@ ] }, { - "id": 109, + "id": 113, "name": "rejoinUntilConnected", "kind": 2048, "kindString": "Method", @@ -38053,7 +37314,7 @@ }, "signatures": [ { - "id": 110, + "id": 114, "name": "rejoinUntilConnected", "kind": 4096, "kindString": "Call signature", @@ -38075,7 +37336,7 @@ ] }, { - "id": 158, + "id": 162, "name": "replyEventName", "kind": 2048, "kindString": "Method", @@ -38084,7 +37345,7 @@ }, "signatures": [ { - "id": 159, + "id": 163, "name": "replyEventName", "kind": 4096, "kindString": "Call signature", @@ -38093,7 +37354,7 @@ }, "parameters": [ { - "id": 160, + "id": 164, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -38121,7 +37382,7 @@ ] }, { - "id": 147, + "id": 151, "name": "sendJoin", "kind": 2048, "kindString": "Method", @@ -38130,7 +37391,7 @@ }, "signatures": [ { - "id": 148, + "id": 152, "name": "sendJoin", "kind": 4096, "kindString": "Call signature", @@ -38139,7 +37400,7 @@ }, "parameters": [ { - "id": 149, + "id": 153, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -38167,7 +37428,7 @@ ] }, { - "id": 111, + "id": 115, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -38176,7 +37437,7 @@ }, "signatures": [ { - "id": 112, + "id": 116, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -38185,7 +37446,7 @@ }, "parameters": [ { - "id": 113, + "id": 117, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -38215,7 +37476,7 @@ ] }, { - "id": 153, + "id": 157, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -38224,7 +37485,7 @@ }, "signatures": [ { - "id": 154, + "id": 158, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -38233,7 +37494,7 @@ }, "parameters": [ { - "id": 155, + "id": 159, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -38246,7 +37507,7 @@ } }, { - "id": 156, + "id": 160, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -38260,7 +37521,7 @@ } }, { - "id": 157, + "id": 161, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -38298,7 +37559,7 @@ ] }, { - "id": 134, + "id": 138, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -38307,7 +37568,7 @@ }, "signatures": [ { - "id": 135, + "id": 139, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -38320,7 +37581,7 @@ }, "parameters": [ { - "id": 136, + "id": 140, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -38355,50 +37616,50 @@ "title": "Constructors", "kind": 512, "children": [ - 101 + 105 ] }, { "title": "Properties", "kind": 1024, "children": [ - 94, 98, - 97, + 102, + 101, + 107, + 104, 103, + 108, 100, 99, - 104, - 96, - 95, - 102 + 106 ] }, { "title": "Methods", "kind": 2048, "children": [ - 127, - 161, - 163, + 131, 165, 167, 169, - 142, - 145, + 171, + 173, + 146, + 149, + 128, 124, - 120, - 114, - 117, - 137, - 129, - 150, - 109, - 158, - 147, - 111, - 153, - 134 + 118, + 121, + 141, + 133, + 154, + 113, + 162, + 151, + 115, + 157, + 138 ] } ], @@ -38416,7 +37677,7 @@ "title": "Classes", "kind": 128, "children": [ - 93 + 97 ] } ], @@ -38429,7 +37690,7 @@ ] }, { - "id": 415, + "id": 419, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -39041,7 +38302,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, @@ -39133,7 +38394,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, @@ -39503,7 +38764,7 @@ "defaultValue": "undefined" }, { - "id": 79, + "id": 83, "name": "_cancelRefEvent", "kind": 2048, "kindString": "Method", @@ -39513,7 +38774,7 @@ }, "signatures": [ { - "id": 80, + "id": 84, "name": "_cancelRefEvent", "kind": 4096, "kindString": "Call signature", @@ -39535,7 +38796,7 @@ ] }, { - "id": 81, + "id": 85, "name": "_cancelTimeout", "kind": 2048, "kindString": "Method", @@ -39545,7 +38806,7 @@ }, "signatures": [ { - "id": 82, + "id": 86, "name": "_cancelTimeout", "kind": 4096, "kindString": "Call signature", @@ -39567,7 +38828,7 @@ ] }, { - "id": 89, + "id": 93, "name": "_hasReceived", "kind": 2048, "kindString": "Method", @@ -39577,7 +38838,7 @@ }, "signatures": [ { - "id": 90, + "id": 94, "name": "_hasReceived", "kind": 4096, "kindString": "Call signature", @@ -39586,7 +38847,7 @@ }, "parameters": [ { - "id": 91, + "id": 95, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -39627,7 +38888,7 @@ ] }, { - "id": 83, + "id": 87, "name": "_matchReceive", "kind": 2048, "kindString": "Method", @@ -39637,7 +38898,7 @@ }, "signatures": [ { - "id": 84, + "id": 88, "name": "_matchReceive", "kind": 4096, "kindString": "Call signature", @@ -39646,7 +38907,7 @@ }, "parameters": [ { - "id": 85, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -39657,7 +38918,7 @@ "type": { "type": "reflection", "declaration": { - "id": 86, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -39666,7 +38927,7 @@ }, "children": [ { - "id": 88, + "id": 92, "name": "response", "kind": 32, "kindString": "Variable", @@ -39686,7 +38947,7 @@ } }, { - "id": 87, + "id": 91, "name": "status", "kind": 32, "kindString": "Variable", @@ -39711,8 +38972,8 @@ "title": "Variables", "kind": 32, "children": [ - 88, - 87 + 92, + 91 ] } ], @@ -39742,7 +39003,7 @@ ] }, { - "id": 77, + "id": 81, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -39751,7 +39012,7 @@ }, "signatures": [ { - "id": 78, + "id": 82, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -39773,7 +39034,7 @@ ] }, { - "id": 67, + "id": 71, "name": "receive", "kind": 2048, "kindString": "Method", @@ -40027,14 +39288,11 @@ "title": "Methods", "kind": 2048, "children": [ - 79, - 81, - 89, 83, - 77, - 67, - 62, - 65, + 85, + 93, + 87, + 81, 71, 66, 69, @@ -40070,7 +39328,7 @@ ] }, { - "id": 171, + "id": 175, "name": "\"lib/serializer\"", "kind": 1, "kindString": "Module", @@ -40080,7 +39338,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts", "children": [ { - "id": 172, + "id": 176, "name": "Serializer", "kind": 128, "kindString": "Class", @@ -40089,7 +39347,7 @@ }, "children": [ { - "id": 173, + "id": 177, "name": "HEADER_LENGTH", "kind": 1024, "kindString": "Property", @@ -40110,7 +39368,7 @@ "defaultValue": "1" }, { - "id": 178, + "id": 182, "name": "_binaryDecode", "kind": 2048, "kindString": "Method", @@ -40120,7 +39378,7 @@ }, "signatures": [ { - "id": 179, + "id": 183, "name": "_binaryDecode", "kind": 4096, "kindString": "Call signature", @@ -40129,7 +39387,7 @@ }, "parameters": [ { - "id": 180, + "id": 184, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -40145,7 +39403,7 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40154,7 +39412,7 @@ }, "children": [ { - "id": 184, + "id": 188, "name": "event", "kind": 32, "kindString": "Variable", @@ -40174,7 +39432,7 @@ } }, { - "id": 185, + "id": 189, "name": "payload", "kind": 32, "kindString": "Variable", @@ -40194,7 +39452,7 @@ } }, { - "id": 182, + "id": 186, "name": "ref", "kind": 32, "kindString": "Variable", @@ -40214,7 +39472,7 @@ } }, { - "id": 183, + "id": 187, "name": "topic", "kind": 32, "kindString": "Variable", @@ -40239,10 +39497,10 @@ "title": "Variables", "kind": 32, "children": [ - 184, - 185, - 182, - 183 + 188, + 189, + 186, + 187 ] } ] @@ -40259,7 +39517,7 @@ ] }, { - "id": 186, + "id": 190, "name": "_decodeBroadcast", "kind": 2048, "kindString": "Method", @@ -40269,7 +39527,7 @@ }, "signatures": [ { - "id": 187, + "id": 191, "name": "_decodeBroadcast", "kind": 4096, "kindString": "Call signature", @@ -40278,7 +39536,7 @@ }, "parameters": [ { - "id": 188, + "id": 192, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -40291,7 +39549,7 @@ } }, { - "id": 189, + "id": 193, "name": "view", "kind": 32768, "kindString": "Parameter", @@ -40304,7 +39562,7 @@ } }, { - "id": 190, + "id": 194, "name": "decoder", "kind": 32768, "kindString": "Parameter", @@ -40320,7 +39578,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40329,7 +39587,7 @@ }, "children": [ { - "id": 194, + "id": 198, "name": "event", "kind": 32, "kindString": "Variable", @@ -40349,7 +39607,7 @@ } }, { - "id": 195, + "id": 199, "name": "payload", "kind": 32, "kindString": "Variable", @@ -40369,7 +39627,7 @@ } }, { - "id": 192, + "id": 196, "name": "ref", "kind": 32, "kindString": "Variable", @@ -40389,7 +39647,7 @@ } }, { - "id": 193, + "id": 197, "name": "topic", "kind": 32, "kindString": "Variable", @@ -40414,10 +39672,10 @@ "title": "Variables", "kind": 32, "children": [ - 194, - 195, - 192, - 193 + 198, + 199, + 196, + 197 ] } ], @@ -40441,7 +39699,7 @@ ] }, { - "id": 174, + "id": 178, "name": "decode", "kind": 2048, "kindString": "Method", @@ -40450,7 +39708,7 @@ }, "signatures": [ { - "id": 175, + "id": 179, "name": "decode", "kind": 4096, "kindString": "Call signature", @@ -40459,7 +39717,7 @@ }, "parameters": [ { - "id": 176, + "id": 180, "name": "rawPayload", "kind": 32768, "kindString": "Parameter", @@ -40481,7 +39739,7 @@ } }, { - "id": 177, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -40514,16 +39772,16 @@ "title": "Properties", "kind": 1024, "children": [ - 173 + 177 ] }, { "title": "Methods", "kind": 2048, "children": [ - 178, - 186, - 174 + 182, + 190, + 178 ] } ], @@ -40541,7 +39799,7 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 176 ] } ], @@ -40853,7 +40111,7 @@ ] }, { - "id": 329, + "id": 333, "name": "\"lib/transformers\"", "kind": 1, "kindString": "Module", @@ -40863,7 +40121,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts", "children": [ { - "id": 330, + "id": 334, "name": "PostgresTypes", "kind": 4, "kindString": "Enumeration", @@ -40875,7 +40133,7 @@ }, "children": [ { - "id": 331, + "id": 335, "name": "abstime", "kind": 16, "kindString": "Enumeration member", @@ -40892,7 +40150,7 @@ "defaultValue": "\"abstime\"" }, { - "id": 332, + "id": 336, "name": "bool", "kind": 16, "kindString": "Enumeration member", @@ -40909,7 +40167,7 @@ "defaultValue": "\"bool\"" }, { - "id": 333, + "id": 337, "name": "date", "kind": 16, "kindString": "Enumeration member", @@ -40926,7 +40184,7 @@ "defaultValue": "\"date\"" }, { - "id": 334, + "id": 338, "name": "daterange", "kind": 16, "kindString": "Enumeration member", @@ -40943,7 +40201,7 @@ "defaultValue": "\"daterange\"" }, { - "id": 335, + "id": 339, "name": "float4", "kind": 16, "kindString": "Enumeration member", @@ -40960,7 +40218,7 @@ "defaultValue": "\"float4\"" }, { - "id": 336, + "id": 340, "name": "float8", "kind": 16, "kindString": "Enumeration member", @@ -40977,7 +40235,7 @@ "defaultValue": "\"float8\"" }, { - "id": 337, + "id": 341, "name": "int2", "kind": 16, "kindString": "Enumeration member", @@ -40994,7 +40252,7 @@ "defaultValue": "\"int2\"" }, { - "id": 338, + "id": 342, "name": "int4", "kind": 16, "kindString": "Enumeration member", @@ -41011,7 +40269,7 @@ "defaultValue": "\"int4\"" }, { - "id": 339, + "id": 343, "name": "int4range", "kind": 16, "kindString": "Enumeration member", @@ -41028,7 +40286,7 @@ "defaultValue": "\"int4range\"" }, { - "id": 340, + "id": 344, "name": "int8", "kind": 16, "kindString": "Enumeration member", @@ -41045,7 +40303,7 @@ "defaultValue": "\"int8\"" }, { - "id": 341, + "id": 345, "name": "int8range", "kind": 16, "kindString": "Enumeration member", @@ -41062,7 +40320,7 @@ "defaultValue": "\"int8range\"" }, { - "id": 342, + "id": 346, "name": "json", "kind": 16, "kindString": "Enumeration member", @@ -41079,7 +40337,7 @@ "defaultValue": "\"json\"" }, { - "id": 343, + "id": 347, "name": "jsonb", "kind": 16, "kindString": "Enumeration member", @@ -41096,7 +40354,7 @@ "defaultValue": "\"jsonb\"" }, { - "id": 344, + "id": 348, "name": "money", "kind": 16, "kindString": "Enumeration member", @@ -41113,7 +40371,7 @@ "defaultValue": "\"money\"" }, { - "id": 345, + "id": 349, "name": "numeric", "kind": 16, "kindString": "Enumeration member", @@ -41130,7 +40388,7 @@ "defaultValue": "\"numeric\"" }, { - "id": 346, + "id": 350, "name": "oid", "kind": 16, "kindString": "Enumeration member", @@ -41147,7 +40405,7 @@ "defaultValue": "\"oid\"" }, { - "id": 347, + "id": 351, "name": "reltime", "kind": 16, "kindString": "Enumeration member", @@ -41164,7 +40422,7 @@ "defaultValue": "\"reltime\"" }, { - "id": 348, + "id": 352, "name": "time", "kind": 16, "kindString": "Enumeration member", @@ -41181,7 +40439,7 @@ "defaultValue": "\"time\"" }, { - "id": 349, + "id": 353, "name": "timestamp", "kind": 16, "kindString": "Enumeration member", @@ -41198,7 +40456,7 @@ "defaultValue": "\"timestamp\"" }, { - "id": 350, + "id": 354, "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", @@ -41215,7 +40473,7 @@ "defaultValue": "\"timestamptz\"" }, { - "id": 351, + "id": 355, "name": "timetz", "kind": 16, "kindString": "Enumeration member", @@ -41232,7 +40490,7 @@ "defaultValue": "\"timetz\"" }, { - "id": 352, + "id": 356, "name": "tsrange", "kind": 16, "kindString": "Enumeration member", @@ -41249,7 +40507,7 @@ "defaultValue": "\"tsrange\"" }, { - "id": 353, + "id": 357, "name": "tstzrange", "kind": 16, "kindString": "Enumeration member", @@ -41271,10 +40529,6 @@ "title": "Enumeration members", "kind": 16, "children": [ - 331, - 332, - 333, - 334, 335, 336, 337, @@ -41293,7 +40547,11 @@ 350, 351, 352, - 353 + 353, + 354, + 355, + 356, + 357 ] } ], @@ -41306,7 +40564,7 @@ ] }, { - "id": 354, + "id": 358, "name": "Column", "kind": 4194304, "kindString": "Type alias", @@ -41321,14 +40579,14 @@ "type": { "type": "reflection", "declaration": { - "id": 355, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 356, + "id": 360, "name": "flags", "kind": 32, "kindString": "Variable", @@ -41349,7 +40607,7 @@ } }, { - "id": 357, + "id": 361, "name": "name", "kind": 32, "kindString": "Variable", @@ -41367,7 +40625,7 @@ } }, { - "id": 358, + "id": 362, "name": "type", "kind": 32, "kindString": "Variable", @@ -41385,7 +40643,7 @@ } }, { - "id": 359, + "id": 363, "name": "type_modifier", "kind": 32, "kindString": "Variable", @@ -41408,10 +40666,10 @@ "title": "Variables", "kind": 32, "children": [ - 356, - 357, - 358, - 359 + 360, + 361, + 362, + 363 ] } ], @@ -41426,7 +40684,7 @@ } }, { - "id": 360, + "id": 364, "name": "Records", "kind": 4194304, "kindString": "Type alias", @@ -41441,21 +40699,21 @@ "type": { "type": "reflection", "declaration": { - "id": 361, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 362, + "id": 366, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 363, + "id": 367, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41483,7 +40741,7 @@ } }, { - "id": 380, + "id": 384, "name": "convertCell", "kind": 64, "kindString": "Function", @@ -41510,7 +40768,7 @@ }, "signatures": [ { - "id": 381, + "id": 385, "name": "convertCell", "kind": 4096, "kindString": "Call signature", @@ -41536,7 +40794,7 @@ }, "parameters": [ { - "id": 382, + "id": 386, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -41552,7 +40810,7 @@ } }, { - "id": 383, + "id": 387, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41583,7 +40841,7 @@ ] }, { - "id": 364, + "id": 368, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -41602,7 +40860,7 @@ }, "signatures": [ { - "id": 365, + "id": 369, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -41620,7 +40878,7 @@ }, "parameters": [ { - "id": 366, + "id": 370, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -41631,13 +40889,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 367, + "id": 371, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -41647,12 +40905,12 @@ "comment": {}, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 368, + "id": 372, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -41665,7 +40923,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41674,7 +40932,7 @@ }, "children": [ { - "id": 370, + "id": 374, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -41703,7 +40961,7 @@ "title": "Variables", "kind": 32, "children": [ - 370 + 374 ] } ], @@ -41722,7 +40980,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41731,7 +40989,7 @@ }, "indexSignature": [ { - "id": 372, + "id": 376, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -41740,7 +40998,7 @@ }, "parameters": [ { - "id": 373, + "id": 377, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -41772,7 +41030,7 @@ ] }, { - "id": 374, + "id": 378, "name": "convertColumn", "kind": 64, "kindString": "Function", @@ -41796,7 +41054,7 @@ }, "signatures": [ { - "id": 375, + "id": 379, "name": "convertColumn", "kind": 4096, "kindString": "Call signature", @@ -41819,7 +41077,7 @@ }, "parameters": [ { - "id": 376, + "id": 380, "name": "columnName", "kind": 32768, "kindString": "Parameter", @@ -41835,7 +41093,7 @@ } }, { - "id": 377, + "id": 381, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -41846,13 +41104,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 378, + "id": 382, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -41864,12 +41122,12 @@ }, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 379, + "id": 383, "name": "skipTypes", "kind": 32768, "kindString": "Parameter", @@ -41903,7 +41161,7 @@ ] }, { - "id": 384, + "id": 388, "name": "noop", "kind": 64, "kindString": "Function", @@ -41912,14 +41170,14 @@ }, "signatures": [ { - "id": 385, + "id": 389, "name": "noop", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 386, + "id": 390, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -41945,7 +41203,7 @@ ] }, { - "id": 408, + "id": 412, "name": "toArray", "kind": 64, "kindString": "Function", @@ -41968,7 +41226,7 @@ }, "signatures": [ { - "id": 409, + "id": 413, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -41990,7 +41248,7 @@ }, "parameters": [ { - "id": 410, + "id": 414, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42003,7 +41261,7 @@ } }, { - "id": 411, + "id": 415, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -42034,7 +41292,7 @@ ] }, { - "id": 387, + "id": 391, "name": "toBoolean", "kind": 64, "kindString": "Function", @@ -42044,7 +41302,7 @@ }, "signatures": [ { - "id": 388, + "id": 392, "name": "toBoolean", "kind": 4096, "kindString": "Call signature", @@ -42053,7 +41311,7 @@ }, "parameters": [ { - "id": 389, + "id": 393, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42094,7 +41352,7 @@ ] }, { - "id": 390, + "id": 394, "name": "toDate", "kind": 64, "kindString": "Function", @@ -42104,7 +41362,7 @@ }, "signatures": [ { - "id": 391, + "id": 395, "name": "toDate", "kind": 4096, "kindString": "Call signature", @@ -42113,7 +41371,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42141,7 +41399,7 @@ ] }, { - "id": 393, + "id": 397, "name": "toDateRange", "kind": 64, "kindString": "Function", @@ -42151,7 +41409,7 @@ }, "signatures": [ { - "id": 394, + "id": 398, "name": "toDateRange", "kind": 4096, "kindString": "Call signature", @@ -42160,7 +41418,7 @@ }, "parameters": [ { - "id": 395, + "id": 399, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42191,7 +41449,7 @@ ] }, { - "id": 396, + "id": 400, "name": "toFloat", "kind": 64, "kindString": "Function", @@ -42201,7 +41459,7 @@ }, "signatures": [ { - "id": 397, + "id": 401, "name": "toFloat", "kind": 4096, "kindString": "Call signature", @@ -42210,7 +41468,7 @@ }, "parameters": [ { - "id": 398, + "id": 402, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42238,7 +41496,7 @@ ] }, { - "id": 399, + "id": 403, "name": "toInt", "kind": 64, "kindString": "Function", @@ -42248,7 +41506,7 @@ }, "signatures": [ { - "id": 400, + "id": 404, "name": "toInt", "kind": 4096, "kindString": "Call signature", @@ -42257,7 +41515,7 @@ }, "parameters": [ { - "id": 401, + "id": 405, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42285,7 +41543,7 @@ ] }, { - "id": 402, + "id": 406, "name": "toIntRange", "kind": 64, "kindString": "Function", @@ -42295,7 +41553,7 @@ }, "signatures": [ { - "id": 403, + "id": 407, "name": "toIntRange", "kind": 4096, "kindString": "Call signature", @@ -42304,7 +41562,7 @@ }, "parameters": [ { - "id": 404, + "id": 408, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42335,7 +41593,7 @@ ] }, { - "id": 405, + "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -42345,7 +41603,7 @@ }, "signatures": [ { - "id": 406, + "id": 410, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -42354,7 +41612,7 @@ }, "parameters": [ { - "id": 407, + "id": 411, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42382,7 +41640,7 @@ ] }, { - "id": 412, + "id": 416, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -42401,7 +41659,7 @@ }, "signatures": [ { - "id": 413, + "id": 417, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -42419,7 +41677,7 @@ }, "parameters": [ { - "id": 414, + "id": 418, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -42452,34 +41710,34 @@ "title": "Enumerations", "kind": 4, "children": [ - 330 + 334 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 354, - 360 + 358, + 364 ] }, { "title": "Functions", "kind": 64, "children": [ - 380, - 364, - 374, 384, - 408, - 387, - 390, - 393, - 396, - 399, - 402, - 405, - 412 + 368, + 378, + 388, + 412, + 391, + 394, + 397, + 400, + 403, + 406, + 409, + 416 ] } ], @@ -42547,14 +41805,15 @@ "title": "Modules", "kind": 1, "children": [ - 196, - 92, - 415, - 1, - 38, - 171, - 24, - 329 + 200, + 96, + 419, + 3, + 42, + 175, + 28, + 333, + 1 ] } ] diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json index eff58464413..7670a069264 100644 --- a/web/spec/gotrue.json +++ b/web/spec/gotrue.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 207, + "id": 185, "name": "\"GoTrueApi\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts", "children": [ { - "id": 208, + "id": 186, "name": "GoTrueApi", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 215, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 216, + "id": 194, "name": "new GoTrueApi", "kind": 16384, "kindString": "Constructor signature", @@ -43,7 +43,7 @@ }, "parameters": [ { - "id": 217, + "id": 195, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -54,7 +54,7 @@ "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 196, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -63,7 +63,7 @@ }, "children": [ { - "id": 224, + "id": 202, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -93,7 +93,7 @@ } }, { - "id": 220, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -110,7 +110,7 @@ "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -119,7 +119,7 @@ }, "indexSignature": [ { - "id": 222, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -128,7 +128,7 @@ }, "parameters": [ { - "id": 223, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -151,7 +151,7 @@ } }, { - "id": 219, + "id": 197, "name": "url", "kind": 32, "kindString": "Variable", @@ -177,9 +177,9 @@ "title": "Variables", "kind": 32, "children": [ - 224, - 220, - 219 + 202, + 198, + 197 ] } ], @@ -196,7 +196,7 @@ ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } } @@ -210,7 +210,7 @@ ] }, { - "id": 214, + "id": 192, "name": "cookieOptions", "kind": 1024, "kindString": "Property", @@ -232,7 +232,7 @@ } }, { - "id": 210, + "id": 188, "name": "headers", "kind": 1024, "kindString": "Property", @@ -250,7 +250,7 @@ "type": { "type": "reflection", "declaration": { - "id": 211, + "id": 189, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -259,7 +259,7 @@ }, "indexSignature": [ { - "id": 212, + "id": 190, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -268,7 +268,7 @@ }, "parameters": [ { - "id": 213, + "id": 191, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -298,7 +298,7 @@ } }, { - "id": 209, + "id": 187, "name": "url", "kind": 1024, "kindString": "Property", @@ -319,7 +319,7 @@ } }, { - "id": 305, + "id": 283, "name": "_createRequestHeaders", "kind": 2048, "kindString": "Method", @@ -329,7 +329,7 @@ }, "signatures": [ { - "id": 306, + "id": 284, "name": "_createRequestHeaders", "kind": 4096, "kindString": "Call signature", @@ -341,7 +341,7 @@ }, "parameters": [ { - "id": 307, + "id": 285, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -360,7 +360,7 @@ "type": { "type": "reflection", "declaration": { - "id": 308, + "id": 286, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -380,7 +380,7 @@ ] }, { - "id": 336, + "id": 314, "name": "deleteUser", "kind": 2048, "kindString": "Method", @@ -389,7 +389,7 @@ }, "signatures": [ { - "id": 337, + "id": 315, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", @@ -401,7 +401,7 @@ }, "parameters": [ { - "id": 338, + "id": 316, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -417,7 +417,7 @@ } }, { - "id": 339, + "id": 317, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -439,7 +439,7 @@ { "type": "reflection", "declaration": { - "id": 340, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -448,7 +448,7 @@ }, "children": [ { - "id": 342, + "id": 320, "name": "data", "kind": 32, "kindString": "Variable", @@ -478,7 +478,7 @@ } }, { - "id": 343, + "id": 321, "name": "error", "kind": 32, "kindString": "Variable", @@ -507,7 +507,7 @@ } }, { - "id": 341, + "id": 319, "name": "user", "kind": 32, "kindString": "Variable", @@ -542,9 +542,9 @@ "title": "Variables", "kind": 32, "children": [ - 342, - 343, - 341 + 320, + 321, + 319 ] } ], @@ -571,7 +571,7 @@ ] }, { - "id": 361, + "id": 339, "name": "generateLink", "kind": 2048, "kindString": "Method", @@ -580,7 +580,7 @@ }, "signatures": [ { - "id": 362, + "id": 340, "name": "generateLink", "kind": 4096, "kindString": "Call signature", @@ -592,7 +592,7 @@ }, "parameters": [ { - "id": 363, + "id": 341, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -625,7 +625,7 @@ } }, { - "id": 364, + "id": 342, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -641,7 +641,7 @@ } }, { - "id": 365, + "id": 343, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -651,7 +651,7 @@ "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -660,7 +660,7 @@ }, "children": [ { - "id": 368, + "id": 346, "name": "data", "kind": 32, "kindString": "Variable", @@ -681,7 +681,7 @@ } }, { - "id": 367, + "id": 345, "name": "password", "kind": 32, "kindString": "Variable", @@ -711,7 +711,7 @@ } }, { - "id": 369, + "id": 347, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -746,9 +746,9 @@ "title": "Variables", "kind": 32, "children": [ - 368, - 367, - 369 + 346, + 345, + 347 ] } ], @@ -770,7 +770,7 @@ { "type": "reflection", "declaration": { - "id": 370, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -779,7 +779,7 @@ }, "children": [ { - "id": 371, + "id": 349, "name": "data", "kind": 32, "kindString": "Variable", @@ -817,7 +817,7 @@ } }, { - "id": 372, + "id": 350, "name": "error", "kind": 32, "kindString": "Variable", @@ -851,8 +851,8 @@ "title": "Variables", "kind": 32, "children": [ - 371, - 372 + 349, + 350 ] } ], @@ -879,7 +879,7 @@ ] }, { - "id": 314, + "id": 292, "name": "getUrlForProvider", "kind": 2048, "kindString": "Method", @@ -888,7 +888,7 @@ }, "signatures": [ { - "id": 315, + "id": 293, "name": "getUrlForProvider", "kind": 4096, "kindString": "Call signature", @@ -900,7 +900,7 @@ }, "parameters": [ { - "id": 316, + "id": 294, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -917,7 +917,7 @@ } }, { - "id": 317, + "id": 295, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -927,7 +927,7 @@ "type": { "type": "reflection", "declaration": { - "id": 318, + "id": 296, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -936,7 +936,7 @@ }, "children": [ { - "id": 319, + "id": 297, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -966,7 +966,7 @@ } }, { - "id": 320, + "id": 298, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -1001,8 +1001,8 @@ "title": "Variables", "kind": 32, "children": [ - 319, - 320 + 297, + 298 ] } ], @@ -1032,7 +1032,7 @@ ] }, { - "id": 321, + "id": 299, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -1041,7 +1041,7 @@ }, "signatures": [ { - "id": 322, + "id": 300, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -1053,7 +1053,7 @@ }, "parameters": [ { - "id": 323, + "id": 301, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -1075,7 +1075,7 @@ { "type": "reflection", "declaration": { - "id": 324, + "id": 302, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1084,7 +1084,7 @@ }, "children": [ { - "id": 326, + "id": 304, "name": "data", "kind": 32, "kindString": "Variable", @@ -1114,7 +1114,7 @@ } }, { - "id": 327, + "id": 305, "name": "error", "kind": 32, "kindString": "Variable", @@ -1143,7 +1143,7 @@ } }, { - "id": 325, + "id": 303, "name": "user", "kind": 32, "kindString": "Variable", @@ -1178,9 +1178,9 @@ "title": "Variables", "kind": 32, "children": [ - 326, - 327, - 325 + 304, + 305, + 303 ] } ], @@ -1207,7 +1207,7 @@ ] }, { - "id": 354, + "id": 332, "name": "getUserByCookie", "kind": 2048, "kindString": "Method", @@ -1216,7 +1216,7 @@ }, "signatures": [ { - "id": 355, + "id": 333, "name": "getUserByCookie", "kind": 4096, "kindString": "Call signature", @@ -1228,7 +1228,7 @@ }, "parameters": [ { - "id": 356, + "id": 334, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -1247,7 +1247,7 @@ { "type": "reflection", "declaration": { - "id": 357, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1256,7 +1256,7 @@ }, "children": [ { - "id": 359, + "id": 337, "name": "data", "kind": 32, "kindString": "Variable", @@ -1286,7 +1286,7 @@ } }, { - "id": 360, + "id": 338, "name": "error", "kind": 32, "kindString": "Variable", @@ -1315,7 +1315,7 @@ } }, { - "id": 358, + "id": 336, "name": "user", "kind": 32, "kindString": "Variable", @@ -1350,9 +1350,9 @@ "title": "Variables", "kind": 32, "children": [ - 359, - 360, - 358 + 337, + 338, + 336 ] } ], @@ -1379,7 +1379,7 @@ ] }, { - "id": 286, + "id": 264, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", @@ -1388,7 +1388,7 @@ }, "signatures": [ { - "id": 287, + "id": 265, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -1400,7 +1400,7 @@ }, "parameters": [ { - "id": 288, + "id": 266, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1416,7 +1416,7 @@ } }, { - "id": 289, + "id": 267, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1426,7 +1426,7 @@ "type": { "type": "reflection", "declaration": { - "id": 290, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1435,7 +1435,7 @@ }, "children": [ { - "id": 291, + "id": 269, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1470,7 +1470,7 @@ "title": "Variables", "kind": 32, "children": [ - 291 + 269 ] } ], @@ -1492,7 +1492,7 @@ { "type": "reflection", "declaration": { - "id": 292, + "id": 270, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1501,7 +1501,7 @@ }, "children": [ { - "id": 293, + "id": 271, "name": "data", "kind": 32, "kindString": "Variable", @@ -1531,7 +1531,7 @@ } }, { - "id": 294, + "id": 272, "name": "error", "kind": 32, "kindString": "Variable", @@ -1565,8 +1565,8 @@ "title": "Variables", "kind": 32, "children": [ - 293, - 294 + 271, + 272 ] } ], @@ -1593,7 +1593,7 @@ ] }, { - "id": 344, + "id": 322, "name": "refreshAccessToken", "kind": 2048, "kindString": "Method", @@ -1602,7 +1602,7 @@ }, "signatures": [ { - "id": 345, + "id": 323, "name": "refreshAccessToken", "kind": 4096, "kindString": "Call signature", @@ -1614,7 +1614,7 @@ }, "parameters": [ { - "id": 346, + "id": 324, "name": "refreshToken", "kind": 32768, "kindString": "Parameter", @@ -1636,7 +1636,7 @@ { "type": "reflection", "declaration": { - "id": 347, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1645,7 +1645,7 @@ }, "children": [ { - "id": 348, + "id": 326, "name": "data", "kind": 32, "kindString": "Variable", @@ -1675,7 +1675,7 @@ } }, { - "id": 349, + "id": 327, "name": "error", "kind": 32, "kindString": "Variable", @@ -1709,8 +1709,8 @@ "title": "Variables", "kind": 32, "children": [ - 348, - 349 + 326, + 327 ] } ], @@ -1737,7 +1737,7 @@ ] }, { - "id": 295, + "id": 273, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -1746,7 +1746,7 @@ }, "signatures": [ { - "id": 296, + "id": 274, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -1758,7 +1758,7 @@ }, "parameters": [ { - "id": 297, + "id": 275, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1774,7 +1774,7 @@ } }, { - "id": 298, + "id": 276, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1784,7 +1784,7 @@ "type": { "type": "reflection", "declaration": { - "id": 299, + "id": 277, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1793,7 +1793,7 @@ }, "children": [ { - "id": 300, + "id": 278, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -1828,7 +1828,7 @@ "title": "Variables", "kind": 32, "children": [ - 300 + 278 ] } ], @@ -1850,7 +1850,7 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 279, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1859,7 +1859,7 @@ }, "children": [ { - "id": 302, + "id": 280, "name": "data", "kind": 32, "kindString": "Variable", @@ -1879,7 +1879,7 @@ { "type": "reflection", "declaration": { - "id": 303, + "id": 281, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1903,7 +1903,7 @@ } }, { - "id": 304, + "id": 282, "name": "error", "kind": 32, "kindString": "Variable", @@ -1937,8 +1937,8 @@ "title": "Variables", "kind": 32, "children": [ - 302, - 304 + 280, + 282 ] } ], @@ -1965,7 +1965,7 @@ ] }, { - "id": 259, + "id": 237, "name": "sendMagicLinkEmail", "kind": 2048, "kindString": "Method", @@ -1974,7 +1974,7 @@ }, "signatures": [ { - "id": 260, + "id": 238, "name": "sendMagicLinkEmail", "kind": 4096, "kindString": "Call signature", @@ -1986,7 +1986,7 @@ }, "parameters": [ { - "id": 261, + "id": 239, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2002,7 +2002,7 @@ } }, { - "id": 262, + "id": 240, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2012,7 +2012,7 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2021,7 +2021,7 @@ }, "children": [ { - "id": 264, + "id": 242, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2056,7 +2056,7 @@ "title": "Variables", "kind": 32, "children": [ - 264 + 242 ] } ], @@ -2078,7 +2078,7 @@ { "type": "reflection", "declaration": { - "id": 265, + "id": 243, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2087,7 +2087,7 @@ }, "children": [ { - "id": 266, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -2107,7 +2107,7 @@ { "type": "reflection", "declaration": { - "id": 267, + "id": 245, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2131,7 +2131,7 @@ } }, { - "id": 268, + "id": 246, "name": "error", "kind": 32, "kindString": "Variable", @@ -2165,8 +2165,8 @@ "title": "Variables", "kind": 32, "children": [ - 266, - 268 + 244, + 246 ] } ], @@ -2193,7 +2193,7 @@ ] }, { - "id": 269, + "id": 247, "name": "sendMobileOTP", "kind": 2048, "kindString": "Method", @@ -2202,7 +2202,7 @@ }, "signatures": [ { - "id": 270, + "id": 248, "name": "sendMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -2214,7 +2214,7 @@ }, "parameters": [ { - "id": 271, + "id": 249, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2236,7 +2236,7 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 250, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2245,7 +2245,7 @@ }, "children": [ { - "id": 273, + "id": 251, "name": "data", "kind": 32, "kindString": "Variable", @@ -2265,7 +2265,7 @@ { "type": "reflection", "declaration": { - "id": 274, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2289,7 +2289,7 @@ } }, { - "id": 275, + "id": 253, "name": "error", "kind": 32, "kindString": "Variable", @@ -2323,8 +2323,8 @@ "title": "Variables", "kind": 32, "children": [ - 273, - 275 + 251, + 253 ] } ], @@ -2351,7 +2351,7 @@ ] }, { - "id": 350, + "id": 328, "name": "setAuthCookie", "kind": 2048, "kindString": "Method", @@ -2360,7 +2360,7 @@ }, "signatures": [ { - "id": 351, + "id": 329, "name": "setAuthCookie", "kind": 4096, "kindString": "Call signature", @@ -2372,7 +2372,7 @@ }, "parameters": [ { - "id": 352, + "id": 330, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -2385,7 +2385,7 @@ } }, { - "id": 353, + "id": 331, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -2413,7 +2413,7 @@ ] }, { - "id": 235, + "id": 213, "name": "signInWithEmail", "kind": 2048, "kindString": "Method", @@ -2422,7 +2422,7 @@ }, "signatures": [ { - "id": 236, + "id": 214, "name": "signInWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2434,7 +2434,7 @@ }, "parameters": [ { - "id": 237, + "id": 215, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2450,7 +2450,7 @@ } }, { - "id": 238, + "id": 216, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2466,7 +2466,7 @@ } }, { - "id": 239, + "id": 217, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2476,7 +2476,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2485,7 +2485,7 @@ }, "children": [ { - "id": 241, + "id": 219, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -2520,7 +2520,7 @@ "title": "Variables", "kind": 32, "children": [ - 241 + 219 ] } ], @@ -2542,7 +2542,7 @@ { "type": "reflection", "declaration": { - "id": 242, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2551,7 +2551,7 @@ }, "children": [ { - "id": 243, + "id": 221, "name": "data", "kind": 32, "kindString": "Variable", @@ -2581,7 +2581,7 @@ } }, { - "id": 244, + "id": 222, "name": "error", "kind": 32, "kindString": "Variable", @@ -2615,8 +2615,8 @@ "title": "Variables", "kind": 32, "children": [ - 243, - 244 + 221, + 222 ] } ], @@ -2643,7 +2643,7 @@ ] }, { - "id": 252, + "id": 230, "name": "signInWithPhone", "kind": 2048, "kindString": "Method", @@ -2652,7 +2652,7 @@ }, "signatures": [ { - "id": 253, + "id": 231, "name": "signInWithPhone", "kind": 4096, "kindString": "Call signature", @@ -2664,7 +2664,7 @@ }, "parameters": [ { - "id": 254, + "id": 232, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -2680,7 +2680,7 @@ } }, { - "id": 255, + "id": 233, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2702,7 +2702,7 @@ { "type": "reflection", "declaration": { - "id": 256, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2711,7 +2711,7 @@ }, "children": [ { - "id": 257, + "id": 235, "name": "data", "kind": 32, "kindString": "Variable", @@ -2741,7 +2741,7 @@ } }, { - "id": 258, + "id": 236, "name": "error", "kind": 32, "kindString": "Variable", @@ -2775,8 +2775,8 @@ "title": "Variables", "kind": 32, "children": [ - 257, - 258 + 235, + 236 ] } ], @@ -2803,7 +2803,7 @@ ] }, { - "id": 309, + "id": 287, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -2812,7 +2812,7 @@ }, "signatures": [ { - "id": 310, + "id": 288, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -2824,7 +2824,7 @@ }, "parameters": [ { - "id": 311, + "id": 289, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -2846,7 +2846,7 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2855,7 +2855,7 @@ }, "children": [ { - "id": 313, + "id": 291, "name": "error", "kind": 32, "kindString": "Variable", @@ -2889,7 +2889,7 @@ "title": "Variables", "kind": 32, "children": [ - 313 + 291 ] } ], @@ -2916,7 +2916,7 @@ ] }, { - "id": 225, + "id": 203, "name": "signUpWithEmail", "kind": 2048, "kindString": "Method", @@ -2925,7 +2925,7 @@ }, "signatures": [ { - "id": 226, + "id": 204, "name": "signUpWithEmail", "kind": 4096, "kindString": "Call signature", @@ -2938,7 +2938,7 @@ }, "parameters": [ { - "id": 227, + "id": 205, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -2954,7 +2954,7 @@ } }, { - "id": 228, + "id": 206, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -2970,7 +2970,7 @@ } }, { - "id": 229, + "id": 207, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2980,7 +2980,7 @@ "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2989,7 +2989,7 @@ }, "children": [ { - "id": 231, + "id": 209, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3024,7 +3024,7 @@ "title": "Variables", "kind": 32, "children": [ - 231 + 209 ] } ], @@ -3046,7 +3046,7 @@ { "type": "reflection", "declaration": { - "id": 232, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3055,7 +3055,7 @@ }, "children": [ { - "id": 233, + "id": 211, "name": "data", "kind": 32, "kindString": "Variable", @@ -3090,7 +3090,7 @@ } }, { - "id": 234, + "id": 212, "name": "error", "kind": 32, "kindString": "Variable", @@ -3124,8 +3124,8 @@ "title": "Variables", "kind": 32, "children": [ - 233, - 234 + 211, + 212 ] } ], @@ -3152,7 +3152,7 @@ ] }, { - "id": 245, + "id": 223, "name": "signUpWithPhone", "kind": 2048, "kindString": "Method", @@ -3161,7 +3161,7 @@ }, "signatures": [ { - "id": 246, + "id": 224, "name": "signUpWithPhone", "kind": 4096, "kindString": "Call signature", @@ -3173,7 +3173,7 @@ }, "parameters": [ { - "id": 247, + "id": 225, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3189,7 +3189,7 @@ } }, { - "id": 248, + "id": 226, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -3211,7 +3211,7 @@ { "type": "reflection", "declaration": { - "id": 249, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3220,7 +3220,7 @@ }, "children": [ { - "id": 250, + "id": 228, "name": "data", "kind": 32, "kindString": "Variable", @@ -3255,7 +3255,7 @@ } }, { - "id": 251, + "id": 229, "name": "error", "kind": 32, "kindString": "Variable", @@ -3289,8 +3289,8 @@ "title": "Variables", "kind": 32, "children": [ - 250, - 251 + 228, + 229 ] } ], @@ -3317,7 +3317,7 @@ ] }, { - "id": 328, + "id": 306, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -3326,7 +3326,7 @@ }, "signatures": [ { - "id": 329, + "id": 307, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -3338,7 +3338,7 @@ }, "parameters": [ { - "id": 330, + "id": 308, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3354,7 +3354,7 @@ } }, { - "id": 331, + "id": 309, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -3377,7 +3377,7 @@ { "type": "reflection", "declaration": { - "id": 332, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3386,7 +3386,7 @@ }, "children": [ { - "id": 334, + "id": 312, "name": "data", "kind": 32, "kindString": "Variable", @@ -3416,7 +3416,7 @@ } }, { - "id": 335, + "id": 313, "name": "error", "kind": 32, "kindString": "Variable", @@ -3445,7 +3445,7 @@ } }, { - "id": 333, + "id": 311, "name": "user", "kind": 32, "kindString": "Variable", @@ -3480,9 +3480,9 @@ "title": "Variables", "kind": 32, "children": [ - 334, - 335, - 333 + 312, + 313, + 311 ] } ], @@ -3509,7 +3509,7 @@ ] }, { - "id": 276, + "id": 254, "name": "verifyMobileOTP", "kind": 2048, "kindString": "Method", @@ -3518,7 +3518,7 @@ }, "signatures": [ { - "id": 277, + "id": 255, "name": "verifyMobileOTP", "kind": 4096, "kindString": "Call signature", @@ -3530,7 +3530,7 @@ }, "parameters": [ { - "id": 278, + "id": 256, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -3546,7 +3546,7 @@ } }, { - "id": 279, + "id": 257, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -3562,7 +3562,7 @@ } }, { - "id": 280, + "id": 258, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3572,7 +3572,7 @@ "type": { "type": "reflection", "declaration": { - "id": 281, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3581,7 +3581,7 @@ }, "children": [ { - "id": 282, + "id": 260, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3616,7 +3616,7 @@ "title": "Variables", "kind": 32, "children": [ - 282 + 260 ] } ], @@ -3638,7 +3638,7 @@ { "type": "reflection", "declaration": { - "id": 283, + "id": 261, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3647,7 +3647,7 @@ }, "children": [ { - "id": 284, + "id": 262, "name": "data", "kind": 32, "kindString": "Variable", @@ -3682,7 +3682,7 @@ } }, { - "id": 285, + "id": 263, "name": "error", "kind": 32, "kindString": "Variable", @@ -3716,8 +3716,8 @@ "title": "Variables", "kind": 32, "children": [ - 284, - 285 + 262, + 263 ] } ], @@ -3749,41 +3749,41 @@ "title": "Constructors", "kind": 512, "children": [ - 215 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 214, - 210, - 209 + 192, + 188, + 187 ] }, { "title": "Methods", "kind": 2048, "children": [ - 305, - 336, - 361, + 283, 314, - 321, - 354, - 286, - 344, - 295, - 259, - 269, - 350, - 235, - 252, - 309, - 225, - 245, + 339, + 292, + 299, + 332, + 264, + 322, + 273, + 237, + 247, 328, - 276 + 213, + 230, + 287, + 203, + 223, + 306, + 254 ] } ], @@ -3801,7 +3801,7 @@ "title": "Classes", "kind": 128, "children": [ - 208 + 186 ] } ], @@ -3814,7 +3814,7 @@ ] }, { - "id": 376, + "id": 354, "name": "\"GoTrueClient\"", "kind": 1, "kindString": "Module", @@ -3824,7 +3824,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts", "children": [ { - "id": 377, + "id": 355, "name": "GoTrueClient", "kind": 128, "kindString": "Class", @@ -3833,7 +3833,7 @@ }, "children": [ { - "id": 386, + "id": 364, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3845,7 +3845,7 @@ }, "signatures": [ { - "id": 387, + "id": 365, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -3857,7 +3857,7 @@ }, "parameters": [ { - "id": 388, + "id": 366, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3867,7 +3867,7 @@ "type": { "type": "reflection", "declaration": { - "id": 389, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3876,7 +3876,7 @@ }, "children": [ { - "id": 396, + "id": 374, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -3890,7 +3890,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 61, + "line": 72, "character": 20 } ], @@ -3913,7 +3913,7 @@ } }, { - "id": 399, + "id": 377, "name": "cookieOptions", "kind": 32, "kindString": "Variable", @@ -3924,7 +3924,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 64, + "line": 75, "character": 17 } ], @@ -3935,7 +3935,7 @@ } }, { - "id": 395, + "id": 373, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -3949,7 +3949,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 60, + "line": 71, "character": 22 } ], @@ -3972,7 +3972,7 @@ } }, { - "id": 391, + "id": 369, "name": "headers", "kind": 32, "kindString": "Variable", @@ -3986,7 +3986,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 59, + "line": 70, "character": 11 } ], @@ -4000,7 +4000,7 @@ { "type": "reflection", "declaration": { - "id": 392, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4009,7 +4009,7 @@ }, "indexSignature": [ { - "id": 393, + "id": 371, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4018,7 +4018,7 @@ }, "parameters": [ { - "id": 394, + "id": 372, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4043,7 +4043,7 @@ } }, { - "id": 398, + "id": 376, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -4057,17 +4057,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 63, + "line": 74, "character": 16 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 397, + "id": 375, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -4081,7 +4082,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 62, + "line": 73, "character": 18 } ], @@ -4104,7 +4105,7 @@ } }, { - "id": 390, + "id": 368, "name": "url", "kind": 32, "kindString": "Variable", @@ -4118,7 +4119,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 58, + "line": 69, "character": 7 } ], @@ -4142,20 +4143,20 @@ "title": "Variables", "kind": 32, "children": [ - 396, - 399, - 395, - 391, - 398, - 397, - 390 + 374, + 377, + 373, + 369, + 376, + 375, + 368 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 57, + "line": 68, "character": 22 } ] @@ -4165,7 +4166,7 @@ ], "type": { "type": "reference", - "id": 377, + "id": 355, "name": "GoTrueClient" } } @@ -4173,13 +4174,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 61 } ] }, { - "id": 378, + "id": 356, "name": "api", "kind": 1024, "kindString": "Property", @@ -4192,18 +4193,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 32, + "line": 43, "character": 5 } ], "type": { "type": "reference", - "id": 208, + "id": 186, "name": "GoTrueApi" } }, { - "id": 381, + "id": 359, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4214,7 +4215,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 42, + "line": 53, "character": 28 } ], @@ -4224,7 +4225,7 @@ } }, { - "id": 380, + "id": 358, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -4238,7 +4239,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 40, + "line": 51, "character": 26 } ], @@ -4258,7 +4259,7 @@ } }, { - "id": 379, + "id": 357, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -4272,7 +4273,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 36, + "line": 47, "character": 23 } ], @@ -4292,7 +4293,7 @@ } }, { - "id": 383, + "id": 361, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -4303,17 +4304,18 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 44, + "line": 55, "character": 24 } ], "type": { "type": "reference", - "name": "Storage" + "id": 569, + "name": "SupportedStorage" } }, { - "id": 382, + "id": 360, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -4324,7 +4326,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 43, + "line": 54, "character": 26 } ], @@ -4334,7 +4336,7 @@ } }, { - "id": 385, + "id": 363, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -4346,7 +4348,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 46, + "line": 57, "character": 29 } ], @@ -4365,7 +4367,7 @@ } }, { - "id": 384, + "id": 362, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -4376,7 +4378,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 45, + "line": 56, "character": 31 } ], @@ -4398,7 +4400,7 @@ "defaultValue": "new Map()" }, { - "id": 551, + "id": 529, "name": "_callRefreshToken", "kind": 2048, "kindString": "Method", @@ -4408,7 +4410,7 @@ }, "signatures": [ { - "id": 552, + "id": 530, "name": "_callRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -4417,7 +4419,7 @@ }, "parameters": [ { - "id": 553, + "id": 531, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -4449,7 +4451,7 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 532, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4458,7 +4460,7 @@ }, "children": [ { - "id": 555, + "id": 533, "name": "data", "kind": 32, "kindString": "Variable", @@ -4468,7 +4470,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 19 } ], @@ -4479,7 +4481,7 @@ } }, { - "id": 556, + "id": 534, "name": "error", "kind": 32, "kindString": "Variable", @@ -4489,7 +4491,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 610, + "line": 621, "character": 26 } ], @@ -4505,8 +4507,8 @@ "title": "Variables", "kind": 32, "children": [ - 555, - 556 + 533, + 534 ] } ] @@ -4515,7 +4517,7 @@ { "type": "reflection", "declaration": { - "id": 557, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4524,7 +4526,7 @@ }, "children": [ { - "id": 558, + "id": 536, "name": "data", "kind": 32, "kindString": "Variable", @@ -4534,7 +4536,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 19 } ], @@ -4545,7 +4547,7 @@ "defaultValue": "null" }, { - "id": 559, + "id": 537, "name": "error", "kind": 32, "kindString": "Variable", @@ -4555,7 +4557,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 612, + "line": 623, "character": 32 } ], @@ -4570,8 +4572,8 @@ "title": "Variables", "kind": 32, "children": [ - 558, - 559 + 536, + 537 ] } ] @@ -4587,13 +4589,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 598, + "line": 609, "character": 33 } ] }, { - "id": 497, + "id": 475, "name": "_handleEmailSignIn", "kind": 2048, "kindString": "Method", @@ -4603,7 +4605,7 @@ }, "signatures": [ { - "id": 498, + "id": 476, "name": "_handleEmailSignIn", "kind": 4096, "kindString": "Call signature", @@ -4612,7 +4614,7 @@ }, "parameters": [ { - "id": 499, + "id": 477, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -4625,7 +4627,7 @@ } }, { - "id": 500, + "id": 478, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -4638,7 +4640,7 @@ } }, { - "id": 501, + "id": 479, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4648,7 +4650,7 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 480, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4657,7 +4659,7 @@ }, "children": [ { - "id": 503, + "id": 481, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4668,7 +4670,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 473, + "line": 484, "character": 16 } ], @@ -4692,14 +4694,14 @@ "title": "Variables", "kind": 32, "children": [ - 503 + 481 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 472, + "line": 483, "character": 12 } ] @@ -4717,7 +4719,7 @@ { "type": "reflection", "declaration": { - "id": 504, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4726,7 +4728,7 @@ }, "children": [ { - "id": 505, + "id": 483, "name": "data", "kind": 32, "kindString": "Variable", @@ -4736,7 +4738,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 19 } ], @@ -4747,7 +4749,7 @@ } }, { - "id": 508, + "id": 486, "name": "error", "kind": 32, "kindString": "Variable", @@ -4757,7 +4759,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 58 } ], @@ -4768,7 +4770,7 @@ "defaultValue": "null" }, { - "id": 507, + "id": 485, "name": "session", "kind": 32, "kindString": "Variable", @@ -4778,7 +4780,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 45 } ], @@ -4790,7 +4792,7 @@ "defaultValue": "data" }, { - "id": 506, + "id": 484, "name": "user", "kind": 32, "kindString": "Variable", @@ -4800,7 +4802,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 487, + "line": 498, "character": 25 } ], @@ -4826,10 +4828,10 @@ "title": "Variables", "kind": 32, "children": [ - 505, - 508, - 507, - 506 + 483, + 486, + 485, + 484 ] } ] @@ -4838,7 +4840,7 @@ { "type": "reflection", "declaration": { - "id": 509, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4847,7 +4849,7 @@ }, "children": [ { - "id": 510, + "id": 488, "name": "data", "kind": 32, "kindString": "Variable", @@ -4857,7 +4859,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 19 } ], @@ -4868,7 +4870,7 @@ "defaultValue": "null" }, { - "id": 513, + "id": 491, "name": "error", "kind": 32, "kindString": "Variable", @@ -4878,7 +4880,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 59 } ], @@ -4888,7 +4890,7 @@ } }, { - "id": 512, + "id": 490, "name": "session", "kind": 32, "kindString": "Variable", @@ -4898,7 +4900,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 46 } ], @@ -4909,7 +4911,7 @@ "defaultValue": "null" }, { - "id": 511, + "id": 489, "name": "user", "kind": 32, "kindString": "Variable", @@ -4919,7 +4921,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 489, + "line": 500, "character": 31 } ], @@ -4935,10 +4937,10 @@ "title": "Variables", "kind": 32, "children": [ - 510, - 513, - 512, - 511 + 488, + 491, + 490, + 489 ] } ] @@ -4954,13 +4956,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 469, + "line": 480, "character": 34 } ] }, { - "id": 514, + "id": 492, "name": "_handlePhoneSignIn", "kind": 2048, "kindString": "Method", @@ -4970,7 +4972,7 @@ }, "signatures": [ { - "id": 515, + "id": 493, "name": "_handlePhoneSignIn", "kind": 4096, "kindString": "Call signature", @@ -4979,7 +4981,7 @@ }, "parameters": [ { - "id": 516, + "id": 494, "name": "phone", "kind": 32768, "kindString": "Parameter", @@ -4992,7 +4994,7 @@ } }, { - "id": 517, + "id": 495, "name": "password", "kind": 32768, "kindString": "Parameter", @@ -5014,7 +5016,7 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5023,7 +5025,7 @@ }, "children": [ { - "id": 519, + "id": 497, "name": "data", "kind": 32, "kindString": "Variable", @@ -5033,7 +5035,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 19 } ], @@ -5044,7 +5046,7 @@ } }, { - "id": 522, + "id": 500, "name": "error", "kind": 32, "kindString": "Variable", @@ -5054,7 +5056,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 58 } ], @@ -5065,7 +5067,7 @@ "defaultValue": "null" }, { - "id": 521, + "id": 499, "name": "session", "kind": 32, "kindString": "Variable", @@ -5075,7 +5077,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 45 } ], @@ -5087,7 +5089,7 @@ "defaultValue": "data" }, { - "id": 520, + "id": 498, "name": "user", "kind": 32, "kindString": "Variable", @@ -5097,7 +5099,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 503, + "line": 514, "character": 25 } ], @@ -5123,10 +5125,10 @@ "title": "Variables", "kind": 32, "children": [ - 519, - 522, - 521, - 520 + 497, + 500, + 499, + 498 ] } ] @@ -5135,7 +5137,7 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5144,7 +5146,7 @@ }, "children": [ { - "id": 524, + "id": 502, "name": "data", "kind": 32, "kindString": "Variable", @@ -5154,7 +5156,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 19 } ], @@ -5165,7 +5167,7 @@ "defaultValue": "null" }, { - "id": 527, + "id": 505, "name": "error", "kind": 32, "kindString": "Variable", @@ -5175,7 +5177,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 59 } ], @@ -5185,7 +5187,7 @@ } }, { - "id": 526, + "id": 504, "name": "session", "kind": 32, "kindString": "Variable", @@ -5195,7 +5197,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 46 } ], @@ -5206,7 +5208,7 @@ "defaultValue": "null" }, { - "id": 525, + "id": 503, "name": "user", "kind": 32, "kindString": "Variable", @@ -5216,7 +5218,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 505, + "line": 516, "character": 31 } ], @@ -5232,10 +5234,10 @@ "title": "Variables", "kind": 32, "children": [ - 524, - 527, - 526, - 525 + 502, + 505, + 504, + 503 ] } ] @@ -5251,13 +5253,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 493, + "line": 504, "character": 34 } ] }, { - "id": 528, + "id": 506, "name": "_handleProviderSignIn", "kind": 2048, "kindString": "Method", @@ -5267,7 +5269,7 @@ }, "signatures": [ { - "id": 529, + "id": 507, "name": "_handleProviderSignIn", "kind": 4096, "kindString": "Call signature", @@ -5276,7 +5278,7 @@ }, "parameters": [ { - "id": 530, + "id": 508, "name": "provider", "kind": 32768, "kindString": "Parameter", @@ -5290,7 +5292,7 @@ } }, { - "id": 531, + "id": 509, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5300,7 +5302,7 @@ "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 510, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5309,7 +5311,7 @@ }, "children": [ { - "id": 533, + "id": 511, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -5320,7 +5322,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 512, + "line": 523, "character": 16 } ], @@ -5339,7 +5341,7 @@ } }, { - "id": 534, + "id": 512, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -5350,7 +5352,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 513, + "line": 524, "character": 12 } ], @@ -5374,15 +5376,15 @@ "title": "Variables", "kind": 32, "children": [ - 533, - 534 + 511, + 512 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 511, + "line": 522, "character": 12 } ] @@ -5397,7 +5399,7 @@ { "type": "reflection", "declaration": { - "id": 535, + "id": 513, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5406,7 +5408,7 @@ }, "children": [ { - "id": 538, + "id": 516, "name": "data", "kind": 32, "kindString": "Variable", @@ -5416,7 +5418,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 34 } ], @@ -5427,7 +5429,7 @@ "defaultValue": "null" }, { - "id": 541, + "id": 519, "name": "error", "kind": 32, "kindString": "Variable", @@ -5437,7 +5439,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 74 } ], @@ -5448,7 +5450,7 @@ "defaultValue": "null" }, { - "id": 536, + "id": 514, "name": "provider", "kind": 32, "kindString": "Variable", @@ -5458,7 +5460,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 23 } ], @@ -5469,7 +5471,7 @@ } }, { - "id": 539, + "id": 517, "name": "session", "kind": 32, "kindString": "Variable", @@ -5479,7 +5481,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 49 } ], @@ -5490,7 +5492,7 @@ "defaultValue": "null" }, { - "id": 537, + "id": 515, "name": "url", "kind": 32, "kindString": "Variable", @@ -5500,7 +5502,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 28 } ], @@ -5510,7 +5512,7 @@ } }, { - "id": 540, + "id": 518, "name": "user", "kind": 32, "kindString": "Variable", @@ -5520,7 +5522,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 526, + "line": 537, "character": 61 } ], @@ -5536,12 +5538,12 @@ "title": "Variables", "kind": 32, "children": [ - 538, - 541, - 536, - 539, - 537, - 540 + 516, + 519, + 514, + 517, + 515, + 518 ] } ] @@ -5550,7 +5552,7 @@ { "type": "reflection", "declaration": { - "id": 542, + "id": 520, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5559,7 +5561,7 @@ }, "children": [ { - "id": 543, + "id": 521, "name": "data", "kind": 32, "kindString": "Variable", @@ -5569,7 +5571,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 19 } ], @@ -5580,7 +5582,7 @@ "defaultValue": "null" }, { - "id": 546, + "id": 524, "name": "error", "kind": 32, "kindString": "Variable", @@ -5590,7 +5592,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 59 } ], @@ -5600,7 +5602,7 @@ } }, { - "id": 545, + "id": 523, "name": "session", "kind": 32, "kindString": "Variable", @@ -5610,7 +5612,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 46 } ], @@ -5621,7 +5623,7 @@ "defaultValue": "null" }, { - "id": 544, + "id": 522, "name": "user", "kind": 32, "kindString": "Variable", @@ -5631,7 +5633,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 530, + "line": 541, "character": 31 } ], @@ -5647,10 +5649,10 @@ "title": "Variables", "kind": 32, "children": [ - 543, - 546, - 545, - 544 + 521, + 524, + 523, + 522 ] } ] @@ -5663,13 +5665,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 509, + "line": 520, "character": 31 } ] }, { - "id": 560, + "id": 538, "name": "_notifyAllSubscribers", "kind": 2048, "kindString": "Method", @@ -5679,7 +5681,7 @@ }, "signatures": [ { - "id": 561, + "id": 539, "name": "_notifyAllSubscribers", "kind": 4096, "kindString": "Call signature", @@ -5688,7 +5690,7 @@ }, "parameters": [ { - "id": 562, + "id": 540, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -5711,13 +5713,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 616, + "line": 627, "character": 31 } ] }, { - "id": 566, + "id": 544, "name": "_persistSession", "kind": 2048, "kindString": "Method", @@ -5727,7 +5729,7 @@ }, "signatures": [ { - "id": 567, + "id": 545, "name": "_persistSession", "kind": 4096, "kindString": "Call signature", @@ -5736,7 +5738,7 @@ }, "parameters": [ { - "id": 568, + "id": 546, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5759,13 +5761,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 643, + "line": 654, "character": 25 } ] }, { - "id": 549, + "id": 527, "name": "_recoverAndRefresh", "kind": 2048, "kindString": "Method", @@ -5775,7 +5777,7 @@ }, "signatures": [ { - "id": 550, + "id": 528, "name": "_recoverAndRefresh", "kind": 4096, "kindString": "Call signature", @@ -5809,13 +5811,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 562, + "line": 573, "character": 34 } ] }, { - "id": 547, + "id": 525, "name": "_recoverSession", "kind": 2048, "kindString": "Method", @@ -5825,7 +5827,7 @@ }, "signatures": [ { - "id": 548, + "id": 526, "name": "_recoverSession", "kind": 4096, "kindString": "Call signature", @@ -5853,13 +5855,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 538, + "line": 549, "character": 25 } ] }, { - "id": 569, + "id": 547, "name": "_removeSession", "kind": 2048, "kindString": "Method", @@ -5869,7 +5871,7 @@ }, "signatures": [ { - "id": 570, + "id": 548, "name": "_removeSession", "kind": 4096, "kindString": "Call signature", @@ -5891,13 +5893,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 648, + "line": 659, "character": 30 } ] }, { - "id": 563, + "id": 541, "name": "_saveSession", "kind": 2048, "kindString": "Method", @@ -5907,7 +5909,7 @@ }, "signatures": [ { - "id": 564, + "id": 542, "name": "_saveSession", "kind": 4096, "kindString": "Call signature", @@ -5919,7 +5921,7 @@ }, "parameters": [ { - "id": 565, + "id": 543, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -5942,13 +5944,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 624, + "line": 635, "character": 22 } ] }, { - "id": 571, + "id": 549, "name": "_startAutoRefreshToken", "kind": 2048, "kindString": "Method", @@ -5958,7 +5960,7 @@ }, "signatures": [ { - "id": 572, + "id": 550, "name": "_startAutoRefreshToken", "kind": 4096, "kindString": "Call signature", @@ -5970,7 +5972,7 @@ }, "parameters": [ { - "id": 573, + "id": 551, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5995,13 +5997,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 659, + "line": 670, "character": 32 } ] }, { - "id": 475, + "id": 453, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -6010,7 +6012,7 @@ }, "signatures": [ { - "id": 476, + "id": 454, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -6022,7 +6024,7 @@ }, "parameters": [ { - "id": 477, + "id": 455, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6040,7 +6042,7 @@ { "type": "reflection", "declaration": { - "id": 478, + "id": 456, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6049,7 +6051,7 @@ }, "children": [ { - "id": 479, + "id": 457, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -6063,7 +6065,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 379, + "line": 390, "character": 16 } ], @@ -6091,7 +6093,7 @@ "title": "Variables", "kind": 32, "children": [ - 479 + 457 ] } ] @@ -6107,7 +6109,7 @@ { "type": "reflection", "declaration": { - "id": 480, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6116,7 +6118,7 @@ }, "children": [ { - "id": 481, + "id": 459, "name": "data", "kind": 32, "kindString": "Variable", @@ -6126,7 +6128,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 20 } ], @@ -6146,7 +6148,7 @@ } }, { - "id": 482, + "id": 460, "name": "error", "kind": 32, "kindString": "Variable", @@ -6156,7 +6158,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 43 } ], @@ -6180,15 +6182,15 @@ "title": "Variables", "kind": 32, "children": [ - 481, - 482 + 459, + 460 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 380, + "line": 391, "character": 14 } ] @@ -6202,13 +6204,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 378, + "line": 389, "character": 25 } ] }, { - "id": 487, + "id": 465, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -6217,7 +6219,7 @@ }, "signatures": [ { - "id": 488, + "id": 466, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -6230,7 +6232,7 @@ }, "parameters": [ { - "id": 489, + "id": 467, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6240,7 +6242,7 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 468, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6249,7 +6251,7 @@ }, "signatures": [ { - "id": 491, + "id": 469, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6258,7 +6260,7 @@ }, "parameters": [ { - "id": 492, + "id": 470, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -6272,7 +6274,7 @@ } }, { - "id": 493, + "id": 471, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -6304,7 +6306,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 450, + "line": 461, "character": 13 } ] @@ -6315,7 +6317,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6324,7 +6326,7 @@ }, "children": [ { - "id": 495, + "id": 473, "name": "data", "kind": 32, "kindString": "Variable", @@ -6334,7 +6336,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 11 } ], @@ -6354,7 +6356,7 @@ } }, { - "id": 496, + "id": 474, "name": "error", "kind": 32, "kindString": "Variable", @@ -6364,7 +6366,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 39 } ], @@ -6388,15 +6390,15 @@ "title": "Variables", "kind": 32, "children": [ - 495, - 496 + 473, + 474 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 451, + "line": 462, "character": 4 } ] @@ -6407,13 +6409,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 449, + "line": 460, "character": 19 } ] }, { - "id": 453, + "id": 431, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -6422,7 +6424,7 @@ }, "signatures": [ { - "id": 454, + "id": 432, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -6438,7 +6440,7 @@ { "type": "reflection", "declaration": { - "id": 455, + "id": 433, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6447,7 +6449,7 @@ }, "children": [ { - "id": 456, + "id": 434, "name": "data", "kind": 32, "kindString": "Variable", @@ -6457,7 +6459,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 286, + "line": 297, "character": 8 } ], @@ -6477,7 +6479,7 @@ } }, { - "id": 458, + "id": 436, "name": "error", "kind": 32, "kindString": "Variable", @@ -6487,7 +6489,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 288, + "line": 299, "character": 9 } ], @@ -6506,7 +6508,7 @@ } }, { - "id": 457, + "id": 435, "name": "user", "kind": 32, "kindString": "Variable", @@ -6516,7 +6518,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 287, + "line": 298, "character": 8 } ], @@ -6541,16 +6543,16 @@ "title": "Variables", "kind": 32, "children": [ - 456, - 458, - 457 + 434, + 436, + 435 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 34 } ] @@ -6564,13 +6566,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 285, + "line": 296, "character": 22 } ] }, { - "id": 451, + "id": 429, "name": "session", "kind": 2048, "kindString": "Method", @@ -6579,7 +6581,7 @@ }, "signatures": [ { - "id": 452, + "id": 430, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -6608,13 +6610,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 278, + "line": 289, "character": 9 } ] }, { - "id": 472, + "id": 450, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -6623,7 +6625,7 @@ }, "signatures": [ { - "id": 473, + "id": 451, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -6635,7 +6637,7 @@ }, "parameters": [ { - "id": 474, + "id": 452, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -6661,13 +6663,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 363, + "line": 374, "character": 9 } ] }, { - "id": 466, + "id": 444, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -6676,7 +6678,7 @@ }, "signatures": [ { - "id": 467, + "id": 445, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -6688,7 +6690,7 @@ }, "parameters": [ { - "id": 468, + "id": 446, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -6710,7 +6712,7 @@ { "type": "reflection", "declaration": { - "id": 469, + "id": 447, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6719,7 +6721,7 @@ }, "children": [ { - "id": 471, + "id": 449, "name": "error", "kind": 32, "kindString": "Variable", @@ -6729,7 +6731,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 45 } ], @@ -6748,7 +6750,7 @@ } }, { - "id": 470, + "id": 448, "name": "session", "kind": 32, "kindString": "Variable", @@ -6758,7 +6760,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 22 } ], @@ -6783,15 +6785,15 @@ "title": "Variables", "kind": 32, "children": [ - 471, - 470 + 449, + 448 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 335, + "line": 346, "character": 13 } ] @@ -6805,13 +6807,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 333, + "line": 344, "character": 18 } ] }, { - "id": 415, + "id": 393, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -6820,7 +6822,7 @@ }, "signatures": [ { - "id": 416, + "id": 394, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -6832,7 +6834,7 @@ }, "parameters": [ { - "id": 417, + "id": 395, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6843,7 +6845,7 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6852,7 +6854,7 @@ }, "children": [ { - "id": 419, + "id": 397, "name": "email", "kind": 32, "kindString": "Variable", @@ -6865,7 +6867,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 11 } ], @@ -6884,7 +6886,7 @@ } }, { - "id": 421, + "id": 399, "name": "password", "kind": 32, "kindString": "Variable", @@ -6897,7 +6899,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 28 } ], @@ -6916,7 +6918,7 @@ } }, { - "id": 420, + "id": 398, "name": "phone", "kind": 32, "kindString": "Variable", @@ -6926,7 +6928,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 18 } ], @@ -6945,7 +6947,7 @@ } }, { - "id": 423, + "id": 401, "name": "provider", "kind": 32, "kindString": "Variable", @@ -6958,7 +6960,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 52 } ], @@ -7013,7 +7015,7 @@ } }, { - "id": 422, + "id": 400, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -7026,7 +7028,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 158, + "line": 169, "character": 42 } ], @@ -7050,18 +7052,18 @@ "title": "Variables", "kind": 32, "children": [ - 419, - 421, - 420, - 423, - 422 + 397, + 399, + 398, + 401, + 400 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 157, + "line": 168, "character": 15 } ] @@ -7069,7 +7071,7 @@ } }, { - "id": 424, + "id": 402, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7079,7 +7081,7 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 403, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7088,7 +7090,7 @@ }, "children": [ { - "id": 426, + "id": 404, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7099,7 +7101,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 160, + "line": 171, "character": 16 } ], @@ -7118,7 +7120,7 @@ } }, { - "id": 427, + "id": 405, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -7129,7 +7131,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 161, + "line": 172, "character": 12 } ], @@ -7148,499 +7150,499 @@ } } ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 426, - 427 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 159, - "character": 12 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 434, - "name": "data", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 169, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 50, - "name": "Session" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 433, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 168, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 431, - "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": 429, - "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": 432, - "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": 430, - "name": "user", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 165, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 58, - "name": "User" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 434, - 433, - 431, - 429, - 432, - 430 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 163, - "character": 13 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 157, - "character": 14 - } - ] - }, - { - "id": 483, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 484, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "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": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 486, - "name": "error", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "Error" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 486 - ] - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 27 - } - ] - } - } - ], - "name": "Promise" - } - } - ], - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 434, - "character": 15 - } - ] - }, - { - "id": 400, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 401, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a new user." - }, - "parameters": [ - { - "id": 402, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 403, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 404, - "name": "email", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's email address." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 405, - "name": "password", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The user's password." - }, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 99, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 406, - "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": [ { "title": "Variables", "kind": 32, "children": [ 404, - 405, - 406 + 405 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 170, + "character": 12 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 406, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 412, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 180, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 411, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 179, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 409, + "name": "provider", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 177, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 112, + "name": "Provider" + } + }, + { + "id": 407, + "name": "session", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 175, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 50, + "name": "Session" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 410, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 178, + "character": 7 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + }, + { + "id": 408, + "name": "user", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 58, + "name": "User" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 412, + 411, + 409, + 407, + 410, + 408 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 174, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 168, + "character": 14 + } + ] + }, + { + "id": 461, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 462, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "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": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 464, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 34 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 464 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 27 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 445, + "character": 15 + } + ] + }, + { + "id": 378, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 379, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Creates a new user." + }, + "parameters": [ + { + "id": 380, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__0", + "type": { + "type": "reflection", + "declaration": { + "id": 381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 382, + "name": "email", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's email address." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 383, + "name": "password", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's password." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 384, + "name": "phone", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "comment": { + "text": "The user's phone number." + }, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 110, + "character": 28 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 382, + 383, + 384 + ] + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 109, "character": 15 } ] @@ -7648,7 +7650,7 @@ } }, { - "id": 407, + "id": 385, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7658,7 +7660,7 @@ "type": { "type": "reflection", "declaration": { - "id": 408, + "id": 386, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7667,7 +7669,7 @@ }, "children": [ { - "id": 409, + "id": 387, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -7678,7 +7680,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 101, + "line": 112, "character": 16 } ], @@ -7702,14 +7704,14 @@ "title": "Variables", "kind": 32, "children": [ - 409 + 387 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 100, + "line": 111, "character": 12 } ] @@ -7724,7 +7726,7 @@ { "type": "reflection", "declaration": { - "id": 410, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7733,7 +7735,7 @@ }, "children": [ { - "id": 414, + "id": 392, "name": "data", "kind": 32, "kindString": "Variable", @@ -7743,7 +7745,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 107, + "line": 118, "character": 8 } ], @@ -7768,7 +7770,7 @@ } }, { - "id": 413, + "id": 391, "name": "error", "kind": 32, "kindString": "Variable", @@ -7778,7 +7780,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 106, + "line": 117, "character": 9 } ], @@ -7797,7 +7799,7 @@ } }, { - "id": 412, + "id": 390, "name": "session", "kind": 32, "kindString": "Variable", @@ -7807,7 +7809,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 105, + "line": 116, "character": 11 } ], @@ -7827,7 +7829,7 @@ } }, { - "id": 411, + "id": 389, "name": "user", "kind": 32, "kindString": "Variable", @@ -7837,7 +7839,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 104, + "line": 115, "character": 8 } ], @@ -7862,17 +7864,17 @@ "title": "Variables", "kind": 32, "children": [ - 414, - 413, - 412, - 411 + 392, + 391, + 390, + 389 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 103, + "line": 114, "character": 13 } ] @@ -7886,13 +7888,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 98, + "line": 109, "character": 14 } ] }, { - "id": 459, + "id": 437, "name": "update", "kind": 2048, "kindString": "Method", @@ -7901,7 +7903,7 @@ }, "signatures": [ { - "id": 460, + "id": 438, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -7913,7 +7915,7 @@ }, "parameters": [ { - "id": 461, + "id": 439, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -7933,7 +7935,7 @@ { "type": "reflection", "declaration": { - "id": 462, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7942,7 +7944,7 @@ }, "children": [ { - "id": 463, + "id": 441, "name": "data", "kind": 32, "kindString": "Variable", @@ -7952,7 +7954,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 19 } ], @@ -7972,7 +7974,7 @@ } }, { - "id": 465, + "id": 443, "name": "error", "kind": 32, "kindString": "Variable", @@ -7982,7 +7984,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 58 } ], @@ -8001,7 +8003,7 @@ } }, { - "id": 464, + "id": 442, "name": "user", "kind": 32, "kindString": "Variable", @@ -8011,7 +8013,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 38 } ], @@ -8036,16 +8038,16 @@ "title": "Variables", "kind": 32, "children": [ - 463, - 465, - 464 + 441, + 443, + 442 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 308, + "line": 319, "character": 13 } ] @@ -8059,13 +8061,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 306, + "line": 317, "character": 14 } ] }, { - "id": 449, + "id": 427, "name": "user", "kind": 2048, "kindString": "Method", @@ -8074,7 +8076,7 @@ }, "signatures": [ { - "id": 450, + "id": 428, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -8104,13 +8106,13 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 271, + "line": 282, "character": 6 } ] }, { - "id": 435, + "id": 413, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -8119,7 +8121,7 @@ }, "signatures": [ { - "id": 436, + "id": 414, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -8131,7 +8133,7 @@ }, "parameters": [ { - "id": 437, + "id": 415, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -8142,7 +8144,7 @@ "type": { "type": "reflection", "declaration": { - "id": 438, + "id": 416, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8151,7 +8153,7 @@ }, "children": [ { - "id": 439, + "id": 417, "name": "phone", "kind": 32, "kindString": "Variable", @@ -8164,7 +8166,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 11 } ], @@ -8174,7 +8176,7 @@ } }, { - "id": 440, + "id": 418, "name": "token", "kind": 32, "kindString": "Variable", @@ -8187,7 +8189,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 223, + "line": 234, "character": 18 } ], @@ -8202,15 +8204,15 @@ "title": "Variables", "kind": 32, "children": [ - 439, - 440 + 417, + 418 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 18 } ] @@ -8218,7 +8220,7 @@ } }, { - "id": 441, + "id": 419, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8228,7 +8230,7 @@ "type": { "type": "reflection", "declaration": { - "id": 442, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8237,7 +8239,7 @@ }, "children": [ { - "id": 443, + "id": 421, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -8248,7 +8250,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 225, + "line": 236, "character": 16 } ], @@ -8272,14 +8274,14 @@ "title": "Variables", "kind": 32, "children": [ - 443 + 421 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 224, + "line": 235, "character": 12 } ] @@ -8294,7 +8296,7 @@ { "type": "reflection", "declaration": { - "id": 444, + "id": 422, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8303,7 +8305,7 @@ }, "children": [ { - "id": 448, + "id": 426, "name": "data", "kind": 32, "kindString": "Variable", @@ -8313,7 +8315,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 231, + "line": 242, "character": 8 } ], @@ -8338,7 +8340,7 @@ } }, { - "id": 447, + "id": 425, "name": "error", "kind": 32, "kindString": "Variable", @@ -8348,7 +8350,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 230, + "line": 241, "character": 9 } ], @@ -8367,7 +8369,7 @@ } }, { - "id": 446, + "id": 424, "name": "session", "kind": 32, "kindString": "Variable", @@ -8377,7 +8379,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 229, + "line": 240, "character": 11 } ], @@ -8397,7 +8399,7 @@ } }, { - "id": 445, + "id": 423, "name": "user", "kind": 32, "kindString": "Variable", @@ -8407,7 +8409,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 228, + "line": 239, "character": 8 } ], @@ -8432,17 +8434,17 @@ "title": "Variables", "kind": 32, "children": [ - 448, - 447, - 446, - 445 + 426, + 425, + 424, + 423 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 227, + "line": 238, "character": 13 } ] @@ -8456,7 +8458,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 222, + "line": 233, "character": 17 } ] @@ -8467,63 +8469,255 @@ "title": "Constructors", "kind": 512, "children": [ - 386 + 364 ] }, { "title": "Properties", "kind": 1024, "children": [ - 378, - 381, - 380, - 379, - 383, - 382, - 385, - 384 + 356, + 359, + 358, + 357, + 361, + 360, + 363, + 362 ] }, { "title": "Methods", "kind": 2048, "children": [ - 551, - 497, - 514, - 528, - 560, - 566, - 549, - 547, - 569, - 563, - 571, + 529, 475, - 487, + 492, + 506, + 538, + 544, + 527, + 525, + 547, + 541, + 549, 453, - 451, - 472, - 466, - 415, - 483, - 400, - 459, - 449, - 435 + 465, + 431, + 429, + 450, + 444, + 393, + 461, + 378, + 437, + 427, + 413 ] } ], "sources": [ { "fileName": "GoTrueClient.ts", - "line": 27, + "line": 38, "character": 33 } ] }, { - "id": 574, + "id": 560, + "name": "AnyFunction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 16 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 561, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 562, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 563, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 27, + "character": 18 + } + ] + } + } + }, + { + "id": 564, + "name": "MaybePromisify", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 565, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 28, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "typeParameter", + "name": "T" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "Promise" + } + ] + } + }, + { + "id": 566, + "name": "PromisifyMethods", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 567, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 21 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 30, + "character": 26 + } + ] + } + } + }, + { + "id": 569, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "GoTrueClient.ts", + "line": 36, + "character": 21 + } + ], + "type": { + "type": "reference", + "id": 566, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 552, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -8532,7 +8726,7 @@ }, "children": [ { - "id": 576, + "id": 554, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -8551,7 +8745,7 @@ "defaultValue": "true" }, { - "id": 579, + "id": 556, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -8559,7 +8753,7 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 24, + "line": 23, "character": 20 } ], @@ -8570,7 +8764,7 @@ "defaultValue": "true" }, { - "id": 580, + "id": 557, "name": "headers", "kind": 32, "kindString": "Variable", @@ -8578,21 +8772,21 @@ "sources": [ { "fileName": "GoTrueClient.ts", - "line": 25, + "line": 24, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 581, + "id": 558, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 582, + "id": 559, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -8616,7 +8810,7 @@ "title": "Variables", "kind": 32, "children": [ - 582 + 559 ] } ] @@ -8625,26 +8819,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 578, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "GoTrueClient.ts", - "line": 23, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 577, + "id": 555, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8663,7 +8838,7 @@ "defaultValue": "true" }, { - "id": 575, + "id": 553, "name": "url", "kind": 32, "kindString": "Variable", @@ -8687,12 +8862,11 @@ "title": "Variables", "kind": 32, "children": [ - 576, - 579, - 580, - 578, - 577, - 575 + 554, + 556, + 557, + 555, + 553 ] } ], @@ -8714,14 +8888,24 @@ "title": "Classes", "kind": 128, "children": [ - 377 + 355 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 560, + 564, + 566, + 569 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 574 + 552 ] } ], @@ -8734,7 +8918,7 @@ ] }, { - "id": 583, + "id": 570, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -8744,7 +8928,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts", "children": [ { - "id": 585, + "id": 572, "name": "AuthChangeEvent", "kind": 16777216, "kindString": "Reference", @@ -8754,7 +8938,7 @@ "target": 113 }, { - "id": 590, + "id": 577, "name": "CookieOptions", "kind": 16777216, "kindString": "Reference", @@ -8764,7 +8948,7 @@ "target": 97 }, { - "id": 584, + "id": 571, "name": "Provider", "kind": 16777216, "kindString": "Reference", @@ -8774,7 +8958,7 @@ "target": 112 }, { - "id": 586, + "id": 573, "name": "Session", "kind": 16777216, "kindString": "Reference", @@ -8784,7 +8968,7 @@ "target": 50 }, { - "id": 589, + "id": 576, "name": "Subscription", "kind": 16777216, "kindString": "Reference", @@ -8794,7 +8978,7 @@ "target": 87 }, { - "id": 587, + "id": 574, "name": "User", "kind": 16777216, "kindString": "Reference", @@ -8804,7 +8988,7 @@ "target": 58 }, { - "id": 588, + "id": 575, "name": "UserAttributes", "kind": 16777216, "kindString": "Reference", @@ -8814,7 +8998,7 @@ "target": 82 }, { - "id": 591, + "id": 578, "name": "UserCredentials", "kind": 16777216, "kindString": "Reference", @@ -8824,7 +9008,7 @@ "target": 103 }, { - "id": 592, + "id": 579, "name": "VerifyOTPParams", "kind": 16777216, "kindString": "Reference", @@ -8839,15 +9023,15 @@ "title": "References", "kind": 16777216, "children": [ - 585, - 590, - 584, - 586, - 589, - 587, - 588, - 591, - 592 + 572, + 577, + 571, + 573, + 576, + 574, + 575, + 578, + 579 ] } ], @@ -8860,7 +9044,7 @@ ] }, { - "id": 114, + "id": 116, "name": "\"lib/constants\"", "kind": 1, "kindString": "Module", @@ -8870,7 +9054,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts", "children": [ { - "id": 117, + "id": 118, "name": "AUDIENCE", "kind": 32, "kindString": "Variable", @@ -8892,7 +9076,7 @@ "defaultValue": "\"\"" }, { - "id": 120, + "id": 121, "name": "EXPIRY_MARGIN", "kind": 32, "kindString": "Variable", @@ -8914,7 +9098,7 @@ "defaultValue": "60 * 1000" }, { - "id": 116, + "id": 117, "name": "GOTRUE_URL", "kind": 32, "kindString": "Variable", @@ -8936,7 +9120,7 @@ "defaultValue": "\"http://localhost:9999\"" }, { - "id": 121, + "id": 122, "name": "STORAGE_KEY", "kind": 32, "kindString": "Variable", @@ -8958,25 +9142,7 @@ "defaultValue": "\"supabase.auth.token\"" }, { - "id": 115, - "name": "version", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 1, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 122, + "id": 123, "name": "COOKIE_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -8986,7 +9152,7 @@ }, "children": [ { - "id": 125, + "id": 126, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9007,7 +9173,7 @@ "defaultValue": "\"\"" }, { - "id": 124, + "id": 125, "name": "lifetime", "kind": 32, "kindString": "Variable", @@ -9028,7 +9194,7 @@ "defaultValue": "60 * 60 * 8" }, { - "id": 123, + "id": 124, "name": "name", "kind": 32, "kindString": "Variable", @@ -9049,7 +9215,7 @@ "defaultValue": "\"sb:token\"" }, { - "id": 126, + "id": 127, "name": "path", "kind": 32, "kindString": "Variable", @@ -9070,7 +9236,7 @@ "defaultValue": "\"/\"" }, { - "id": 127, + "id": 128, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9096,11 +9262,11 @@ "title": "Variables", "kind": 32, "children": [ + 126, 125, 124, - 123, - 126, - 127 + 127, + 128 ] } ], @@ -9117,7 +9283,7 @@ } }, { - "id": 118, + "id": 119, "name": "DEFAULT_HEADERS", "kind": 2097152, "kindString": "Object literal", @@ -9127,7 +9293,7 @@ }, "children": [ { - "id": 119, + "id": 120, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -9153,7 +9319,7 @@ "title": "Variables", "kind": 32, "children": [ - 119 + 120 ] } ], @@ -9175,19 +9341,18 @@ "title": "Variables", "kind": 32, "children": [ - 117, - 120, - 116, + 118, 121, - 115 + 117, + 122 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 122, - 118 + 123, + 119 ] } ], @@ -9200,7 +9365,7 @@ ] }, { - "id": 128, + "id": 129, "name": "\"lib/cookies\"", "kind": 1, "kindString": "Module", @@ -9210,7 +9375,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts", "children": [ { - "id": 129, + "id": 130, "name": "Cookie", "kind": 4194304, "kindString": "Type alias", @@ -9225,14 +9390,14 @@ "type": { "type": "reflection", "declaration": { - "id": 130, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 134, + "id": 135, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9261,7 +9426,7 @@ } }, { - "id": 133, + "id": 134, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -9279,7 +9444,7 @@ } }, { - "id": 131, + "id": 132, "name": "name", "kind": 32, "kindString": "Variable", @@ -9297,7 +9462,7 @@ } }, { - "id": 135, + "id": 136, "name": "path", "kind": 32, "kindString": "Variable", @@ -9326,7 +9491,7 @@ } }, { - "id": 136, + "id": 137, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9355,7 +9520,7 @@ } }, { - "id": 132, + "id": 133, "name": "value", "kind": 32, "kindString": "Variable", @@ -9378,12 +9543,12 @@ "title": "Variables", "kind": 32, "children": [ - 134, - 133, - 131, 135, + 134, + 132, 136, - 132 + 137, + 133 ] } ], @@ -9398,7 +9563,7 @@ } }, { - "id": 167, + "id": 168, "name": "deleteCookie", "kind": 64, "kindString": "Function", @@ -9407,7 +9572,7 @@ }, "signatures": [ { - "id": 168, + "id": 169, "name": "deleteCookie", "kind": 4096, "kindString": "Call signature", @@ -9416,7 +9581,7 @@ }, "parameters": [ { - "id": 169, + "id": 170, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9429,7 +9594,7 @@ } }, { - "id": 170, + "id": 171, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9442,7 +9607,7 @@ } }, { - "id": 171, + "id": 172, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -9470,14 +9635,14 @@ ] }, { - "id": 150, + "id": 151, "name": "isSecureEnvironment", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 151, + "id": 152, "name": "isSecureEnvironment", "kind": 4096, "kindString": "Call signature", @@ -9487,7 +9652,7 @@ }, "parameters": [ { - "id": 152, + "id": 153, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9513,14 +9678,14 @@ ] }, { - "id": 137, + "id": 138, "name": "serialize", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 138, + "id": 139, "name": "serialize", "kind": 4096, "kindString": "Call signature", @@ -9530,7 +9695,7 @@ }, "parameters": [ { - "id": 139, + "id": 140, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -9541,7 +9706,7 @@ } }, { - "id": 140, + "id": 141, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -9552,7 +9717,7 @@ } }, { - "id": 141, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9560,14 +9725,14 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 145, "name": "domain", "kind": 32, "kindString": "Variable", @@ -9585,7 +9750,7 @@ } }, { - "id": 146, + "id": 147, "name": "expires", "kind": 32, "kindString": "Variable", @@ -9603,7 +9768,7 @@ } }, { - "id": 147, + "id": 148, "name": "httpOnly", "kind": 32, "kindString": "Variable", @@ -9621,7 +9786,7 @@ } }, { - "id": 143, + "id": 144, "name": "maxAge", "kind": 32, "kindString": "Variable", @@ -9639,7 +9804,7 @@ } }, { - "id": 145, + "id": 146, "name": "path", "kind": 32, "kindString": "Variable", @@ -9657,7 +9822,7 @@ } }, { - "id": 149, + "id": 150, "name": "sameSite", "kind": 32, "kindString": "Variable", @@ -9675,7 +9840,7 @@ } }, { - "id": 148, + "id": 149, "name": "secure", "kind": 32, "kindString": "Variable", @@ -9698,13 +9863,13 @@ "title": "Variables", "kind": 32, "children": [ + 145, + 147, + 148, 144, 146, - 147, - 143, - 145, - 149, - 148 + 150, + 149 ] } ], @@ -9734,14 +9899,14 @@ ] }, { - "id": 153, + "id": 154, "name": "serializeCookie", "kind": 64, "kindString": "Function", "flags": {}, "signatures": [ { - "id": 154, + "id": 155, "name": "serializeCookie", "kind": 4096, "kindString": "Call signature", @@ -9751,19 +9916,19 @@ }, "parameters": [ { - "id": 155, + "id": 156, "name": "cookie", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } }, { - "id": 156, + "id": 157, "name": "secure", "kind": 32768, "kindString": "Parameter", @@ -9789,7 +9954,7 @@ ] }, { - "id": 162, + "id": 163, "name": "setCookie", "kind": 64, "kindString": "Function", @@ -9798,7 +9963,7 @@ }, "signatures": [ { - "id": 163, + "id": 164, "name": "setCookie", "kind": 4096, "kindString": "Call signature", @@ -9810,7 +9975,7 @@ }, "parameters": [ { - "id": 164, + "id": 165, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9823,7 +9988,7 @@ } }, { - "id": 165, + "id": 166, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9836,7 +10001,7 @@ } }, { - "id": 166, + "id": 167, "name": "cookie", "kind": 32768, "kindString": "Parameter", @@ -9845,7 +10010,7 @@ }, "type": { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } } @@ -9865,7 +10030,7 @@ ] }, { - "id": 157, + "id": 158, "name": "setCookies", "kind": 64, "kindString": "Function", @@ -9874,7 +10039,7 @@ }, "signatures": [ { - "id": 158, + "id": 159, "name": "setCookies", "kind": 4096, "kindString": "Call signature", @@ -9886,7 +10051,7 @@ }, "parameters": [ { - "id": 159, + "id": 160, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -9899,7 +10064,7 @@ } }, { - "id": 160, + "id": 161, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -9912,7 +10077,7 @@ } }, { - "id": 161, + "id": 162, "name": "cookies", "kind": 32768, "kindString": "Parameter", @@ -9924,7 +10089,7 @@ "typeArguments": [ { "type": "reference", - "id": 129, + "id": 130, "name": "Cookie" } ], @@ -9952,19 +10117,19 @@ "title": "Type aliases", "kind": 4194304, "children": [ - 129 + 130 ] }, { "title": "Functions", "kind": 64, "children": [ - 167, - 150, - 137, - 153, - 162, - 157 + 168, + 151, + 138, + 154, + 163, + 158 ] } ], @@ -10804,7 +10969,7 @@ ] }, { - "id": 172, + "id": 173, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -10814,422 +10979,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts", "children": [ { - "id": 173, - "name": "LocalStorage", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 175, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 176, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "children": [ - { - "id": 178, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 179, - "name": "new LocalStorage", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 180, - "name": "localStorage", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "Storage" - } - } - ], - "type": { - "type": "reference", - "id": 173, - "name": "LocalStorage" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 17 - } - ] - }, - { - "id": 177, - "name": "length", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 29, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 174, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 27, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 181, - "name": "clear", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 182, - "name": "clear", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 33, - "character": 7 - } - ] - }, - { - "id": 190, - "name": "getItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "getItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 192, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 42, - "character": 9 - } - ] - }, - { - "id": 183, - "name": "key", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 184, - "name": "key", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 185, - "name": "index", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 36, - "character": 5 - } - ] - }, - { - "id": 193, - "name": "removeItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 194, - "name": "removeItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 195, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 45, - "character": 12 - } - ] - }, - { - "id": 186, - "name": "setItem", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 187, - "name": "setItem", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 188, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 189, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 39, - "character": 9 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 178 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 177, - 174 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 181, - 190, - 183, - 193, - 186 - ] - } - ], - "sources": [ - { - "fileName": "lib/helpers.ts", - "line": 26, - "character": 25 - } - ], - "implementedTypes": [ - { - "type": "reference", - "name": "Storage" - } - ] - }, - { - "id": 196, + "id": 174, "name": "expiresAt", "kind": 64, "kindString": "Function", @@ -11238,7 +10988,7 @@ }, "signatures": [ { - "id": 197, + "id": 175, "name": "expiresAt", "kind": 4096, "kindString": "Call signature", @@ -11247,7 +10997,7 @@ }, "parameters": [ { - "id": 198, + "id": 176, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -11275,7 +11025,7 @@ ] }, { - "id": 203, + "id": 181, "name": "getParameterByName", "kind": 64, "kindString": "Function", @@ -11284,7 +11034,7 @@ }, "signatures": [ { - "id": 204, + "id": 182, "name": "getParameterByName", "kind": 4096, "kindString": "Call signature", @@ -11293,7 +11043,7 @@ }, "parameters": [ { - "id": 205, + "id": 183, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -11306,7 +11056,7 @@ } }, { - "id": 206, + "id": 184, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -11353,7 +11103,7 @@ ] }, { - "id": 201, + "id": 179, "name": "isBrowser", "kind": 64, "kindString": "Function", @@ -11363,7 +11113,7 @@ }, "signatures": [ { - "id": 202, + "id": 180, "name": "isBrowser", "kind": 4096, "kindString": "Call signature", @@ -11385,7 +11135,7 @@ ] }, { - "id": 199, + "id": 177, "name": "uuid", "kind": 64, "kindString": "Function", @@ -11394,7 +11144,7 @@ }, "signatures": [ { - "id": 200, + "id": 178, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -11417,21 +11167,14 @@ } ], "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 173 - ] - }, { "title": "Functions", "kind": 64, "children": [ - 196, - 203, - 201, - 199 + 174, + 181, + 179, + 177 ] } ], @@ -11444,7 +11187,7 @@ ] }, { - "id": 373, + "id": 351, "name": "\"lib/polyfills\"", "kind": 1, "kindString": "Module", @@ -11454,7 +11197,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts", "children": [ { - "id": 374, + "id": 352, "name": "polyfillGlobalThis", "kind": 64, "kindString": "Function", @@ -11463,7 +11206,7 @@ }, "signatures": [ { - "id": 375, + "id": 353, "name": "polyfillGlobalThis", "kind": 4096, "kindString": "Call signature", @@ -11493,7 +11236,7 @@ "title": "Functions", "kind": 64, "children": [ - 374 + 352 ] } ], @@ -13263,7 +13006,7 @@ ] }, { - "id": 593, + "id": 114, "name": "\"lib/version\"", "kind": 1, "kindString": "Module", @@ -13273,7 +13016,7 @@ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts", "children": [ { - "id": 594, + "id": 115, "name": "version", "kind": 32, "kindString": "Variable", @@ -13300,7 +13043,7 @@ "title": "Variables", "kind": 32, "children": [ - 594 + 115 ] } ], @@ -13318,16 +13061,16 @@ "title": "Modules", "kind": 1, "children": [ - 207, - 376, - 583, - 114, - 128, + 185, + 354, + 570, + 116, + 129, 1, - 172, - 373, + 173, + 351, 49, - 593 + 114 ] } ] diff --git a/web/spec/realtime.json b/web/spec/realtime.json index b2f7db256e1..6dd7a8be4ca 100644 --- a/web/spec/realtime.json +++ b/web/spec/realtime.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 196, + "id": 200, "name": "\"RealtimeClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts", "children": [ { - "id": 197, + "id": 201, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -25,7 +25,7 @@ }, "children": [ { - "id": 228, + "id": 232, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -37,7 +37,7 @@ }, "signatures": [ { - "id": 229, + "id": 233, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -49,7 +49,7 @@ }, "parameters": [ { - "id": 230, + "id": 234, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -65,7 +65,7 @@ } }, { - "id": 231, + "id": 235, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -75,14 +75,14 @@ }, "type": { "type": "reference", - "id": 303, + "id": 307, "name": "Options" } } ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } @@ -96,7 +96,7 @@ ] }, { - "id": 198, + "id": 202, "name": "channels", "kind": 1024, "kindString": "Property", @@ -114,14 +114,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, "defaultValue": "[]" }, { - "id": 220, + "id": 224, "name": "conn", "kind": 1024, "kindString": "Property", @@ -151,7 +151,7 @@ "defaultValue": "null" }, { - "id": 218, + "id": 222, "name": "decode", "kind": 1024, "kindString": "Property", @@ -171,7 +171,7 @@ } }, { - "id": 217, + "id": 221, "name": "encode", "kind": 1024, "kindString": "Property", @@ -191,7 +191,7 @@ } }, { - "id": 199, + "id": 203, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -212,7 +212,7 @@ "defaultValue": "\"\"" }, { - "id": 200, + "id": 204, "name": "headers", "kind": 1024, "kindString": "Property", @@ -227,177 +227,6 @@ "character": 9 } ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 202, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 203, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - }, - "defaultValue": "DEFAULT_HEADERS" - }, - { - "id": 210, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 21 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 212, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 45, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "query", - "queryType": { - "type": "reference", - "name": "setInterval" - } - } - ], - "name": "ReturnType" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 216, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 211, - "name": "longpollerTimeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "20000" - }, - { - "id": 204, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 40, - "character": 8 - } - ], "type": { "type": "union", "types": [ @@ -448,10 +277,181 @@ } } ] + }, + "defaultValue": "DEFAULT_HEADERS" + }, + { + "id": 214, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 216, + "name": "heartbeatTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 45, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "setInterval" + } + } + ], + "name": "ReturnType" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 220, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 215, + "name": "longpollerTimeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20000" + }, + { + "id": 208, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 40, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 210, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 211, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] } }, { - "id": 213, + "id": 217, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -481,7 +481,7 @@ "defaultValue": "null" }, { - "id": 219, + "id": 223, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -501,7 +501,7 @@ } }, { - "id": 215, + "id": 219, "name": "reconnectTimer", "kind": 1024, "kindString": "Property", @@ -522,7 +522,7 @@ } }, { - "id": 214, + "id": 218, "name": "ref", "kind": 1024, "kindString": "Property", @@ -543,7 +543,7 @@ "defaultValue": "0" }, { - "id": 221, + "id": 225, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -567,7 +567,7 @@ "defaultValue": "[]" }, { - "id": 222, + "id": 226, "name": "serializer", "kind": 1024, "kindString": "Property", @@ -583,13 +583,13 @@ ], "type": { "type": "reference", - "id": 172, + "id": 176, "name": "Serializer" }, "defaultValue": "new Serializer()" }, { - "id": 208, + "id": 212, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -610,7 +610,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 209, + "id": 213, "name": "transport", "kind": 1024, "kindString": "Property", @@ -631,7 +631,7 @@ "defaultValue": "WebSocket" }, { - "id": 290, + "id": 294, "name": "_appendParams", "kind": 2048, "kindString": "Method", @@ -641,7 +641,7 @@ }, "signatures": [ { - "id": 291, + "id": 295, "name": "_appendParams", "kind": 4096, "kindString": "Call signature", @@ -650,7 +650,7 @@ }, "parameters": [ { - "id": 292, + "id": 296, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -663,7 +663,7 @@ } }, { - "id": 293, + "id": 297, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -673,7 +673,7 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -682,7 +682,7 @@ }, "indexSignature": [ { - "id": 295, + "id": 299, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -691,7 +691,7 @@ }, "parameters": [ { - "id": 296, + "id": 300, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -713,7 +713,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 44 } ] @@ -730,13 +730,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 347, + "line": 348, "character": 23 } ] }, { - "id": 297, + "id": 301, "name": "_flushSendBuffer", "kind": 2048, "kindString": "Method", @@ -746,7 +746,7 @@ }, "signatures": [ { - "id": 298, + "id": 302, "name": "_flushSendBuffer", "kind": 4096, "kindString": "Call signature", @@ -762,13 +762,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 357, + "line": 358, "character": 26 } ] }, { - "id": 282, + "id": 286, "name": "_onConnClose", "kind": 2048, "kindString": "Method", @@ -778,7 +778,7 @@ }, "signatures": [ { - "id": 283, + "id": 287, "name": "_onConnClose", "kind": 4096, "kindString": "Call signature", @@ -787,7 +787,7 @@ }, "parameters": [ { - "id": 284, + "id": 288, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -809,13 +809,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 327, + "line": 328, "character": 22 } ] }, { - "id": 285, + "id": 289, "name": "_onConnError", "kind": 2048, "kindString": "Method", @@ -825,7 +825,7 @@ }, "signatures": [ { - "id": 286, + "id": 290, "name": "_onConnError", "kind": 4096, "kindString": "Call signature", @@ -834,7 +834,7 @@ }, "parameters": [ { - "id": 287, + "id": 291, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -856,13 +856,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 335, + "line": 336, "character": 22 } ] }, { - "id": 280, + "id": 284, "name": "_onConnOpen", "kind": 2048, "kindString": "Method", @@ -872,7 +872,7 @@ }, "signatures": [ { - "id": 281, + "id": 285, "name": "_onConnOpen", "kind": 4096, "kindString": "Call signature", @@ -888,13 +888,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 319, + "line": 320, "character": 21 } ] }, { - "id": 299, + "id": 303, "name": "_resetHeartbeat", "kind": 2048, "kindString": "Method", @@ -904,7 +904,7 @@ }, "signatures": [ { - "id": 300, + "id": 304, "name": "_resetHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -920,13 +920,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 364, + "line": 365, "character": 25 } ] }, { - "id": 301, + "id": 305, "name": "_sendHeartbeat", "kind": 2048, "kindString": "Method", @@ -936,7 +936,7 @@ }, "signatures": [ { - "id": 302, + "id": 306, "name": "_sendHeartbeat", "kind": 4096, "kindString": "Call signature", @@ -952,13 +952,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 373, + "line": 374, "character": 24 } ] }, { - "id": 288, + "id": 292, "name": "_triggerChanError", "kind": 2048, "kindString": "Method", @@ -968,7 +968,7 @@ }, "signatures": [ { - "id": 289, + "id": 293, "name": "_triggerChanError", "kind": 4096, "kindString": "Call signature", @@ -984,13 +984,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 341, + "line": 342, "character": 27 } ] }, { - "id": 265, + "id": 269, "name": "channel", "kind": 2048, "kindString": "Method", @@ -999,7 +999,7 @@ }, "signatures": [ { - "id": 266, + "id": 270, "name": "channel", "kind": 4096, "kindString": "Call signature", @@ -1008,7 +1008,7 @@ }, "parameters": [ { - "id": 267, + "id": 271, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -1021,7 +1021,7 @@ } }, { - "id": 268, + "id": 272, "name": "chanParams", "kind": 32768, "kindString": "Parameter", @@ -1031,7 +1031,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 273, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1045,7 +1045,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -1053,13 +1053,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 249, + "line": 250, "character": 9 } ] }, { - "id": 232, + "id": 236, "name": "connect", "kind": 2048, "kindString": "Method", @@ -1068,7 +1068,7 @@ }, "signatures": [ { - "id": 233, + "id": 237, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -1093,7 +1093,7 @@ ] }, { - "id": 258, + "id": 262, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -1102,7 +1102,7 @@ }, "signatures": [ { - "id": 259, + "id": 263, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -1138,13 +1138,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 218, + "line": 219, "character": 17 } ] }, { - "id": 234, + "id": 238, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -1153,7 +1153,7 @@ }, "signatures": [ { - "id": 235, + "id": 239, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -1165,7 +1165,7 @@ }, "parameters": [ { - "id": 236, + "id": 240, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -1191,7 +1191,7 @@ } }, { - "id": 237, + "id": 241, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -1223,7 +1223,7 @@ { "type": "reflection", "declaration": { - "id": 238, + "id": 242, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1232,7 +1232,7 @@ }, "children": [ { - "id": 240, + "id": 244, "name": "data", "kind": 32, "kindString": "Variable", @@ -1252,7 +1252,7 @@ } }, { - "id": 239, + "id": 243, "name": "error", "kind": 32, "kindString": "Variable", @@ -1286,8 +1286,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 244, + 243 ] } ], @@ -1314,7 +1314,7 @@ ] }, { - "id": 276, + "id": 280, "name": "endPointURL", "kind": 2048, "kindString": "Method", @@ -1323,7 +1323,7 @@ }, "signatures": [ { - "id": 277, + "id": 281, "name": "endPointURL", "kind": 4096, "kindString": "Call signature", @@ -1342,13 +1342,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 298, + "line": 299, "character": 13 } ] }, { - "id": 260, + "id": 264, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -1357,7 +1357,7 @@ }, "signatures": [ { - "id": 261, + "id": 265, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -1376,13 +1376,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 234, + "line": 235, "character": 13 } ] }, { - "id": 241, + "id": 245, "name": "log", "kind": 2048, "kindString": "Method", @@ -1391,7 +1391,7 @@ }, "signatures": [ { - "id": 242, + "id": 246, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -1403,7 +1403,7 @@ }, "parameters": [ { - "id": 243, + "id": 247, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -1416,7 +1416,7 @@ } }, { - "id": 244, + "id": 248, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -1429,7 +1429,7 @@ } }, { - "id": 245, + "id": 249, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -1452,13 +1452,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 167, + "line": 168, "character": 5 } ] }, { - "id": 278, + "id": 282, "name": "makeRef", "kind": 2048, "kindString": "Method", @@ -1467,7 +1467,7 @@ }, "signatures": [ { - "id": 279, + "id": 283, "name": "makeRef", "kind": 4096, "kindString": "Call signature", @@ -1486,13 +1486,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 308, + "line": 309, "character": 9 } ] }, { - "id": 249, + "id": 253, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -1501,7 +1501,7 @@ }, "signatures": [ { - "id": 250, + "id": 254, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -1519,7 +1519,7 @@ }, "parameters": [ { - "id": 251, + "id": 255, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1544,13 +1544,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 189, + "line": 190, "character": 9 } ] }, { - "id": 273, + "id": 277, "name": "onConnMessage", "kind": 2048, "kindString": "Method", @@ -1559,7 +1559,7 @@ }, "signatures": [ { - "id": 274, + "id": 278, "name": "onConnMessage", "kind": 4096, "kindString": "Call signature", @@ -1568,7 +1568,7 @@ }, "parameters": [ { - "id": 275, + "id": 279, "name": "rawMessage", "kind": 32768, "kindString": "Parameter", @@ -1590,13 +1590,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 270, + "line": 271, "character": 15 } ] }, { - "id": 252, + "id": 256, "name": "onError", "kind": 2048, "kindString": "Method", @@ -1605,7 +1605,7 @@ }, "signatures": [ { - "id": 253, + "id": 257, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -1623,7 +1623,7 @@ }, "parameters": [ { - "id": 254, + "id": 258, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1648,13 +1648,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 200, + "line": 201, "character": 9 } ] }, { - "id": 255, + "id": 259, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -1663,7 +1663,7 @@ }, "signatures": [ { - "id": 256, + "id": 260, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -1681,7 +1681,7 @@ }, "parameters": [ { - "id": 257, + "id": 261, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1706,13 +1706,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 211, + "line": 212, "character": 11 } ] }, { - "id": 246, + "id": 250, "name": "onOpen", "kind": 2048, "kindString": "Method", @@ -1721,7 +1721,7 @@ }, "signatures": [ { - "id": 247, + "id": 251, "name": "onOpen", "kind": 4096, "kindString": "Call signature", @@ -1739,7 +1739,7 @@ }, "parameters": [ { - "id": 248, + "id": 252, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1764,13 +1764,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 178, + "line": 179, "character": 8 } ] }, { - "id": 270, + "id": 274, "name": "push", "kind": 2048, "kindString": "Method", @@ -1779,7 +1779,7 @@ }, "signatures": [ { - "id": 271, + "id": 275, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -1788,7 +1788,7 @@ }, "parameters": [ { - "id": 272, + "id": 276, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -1797,7 +1797,7 @@ }, "type": { "type": "reference", - "id": 321, + "id": 325, "name": "Message" } } @@ -1811,13 +1811,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 255, + "line": 256, "character": 6 } ] }, { - "id": 262, + "id": 266, "name": "remove", "kind": 2048, "kindString": "Method", @@ -1826,7 +1826,7 @@ }, "signatures": [ { - "id": 263, + "id": 267, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -1838,7 +1838,7 @@ }, "parameters": [ { - "id": 264, + "id": 268, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -1850,7 +1850,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -1864,13 +1864,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 243, + "line": 244, "character": 8 } ] }, { - "id": 223, + "id": 227, "name": "stateChangeCallbacks", "kind": 2097152, "kindString": "Object literal", @@ -1879,7 +1879,7 @@ }, "children": [ { - "id": 225, + "id": 229, "name": "close", "kind": 32, "kindString": "Variable", @@ -1903,7 +1903,7 @@ "defaultValue": "[]" }, { - "id": 226, + "id": 230, "name": "error", "kind": 32, "kindString": "Variable", @@ -1927,7 +1927,7 @@ "defaultValue": "[]" }, { - "id": 227, + "id": 231, "name": "message", "kind": 32, "kindString": "Variable", @@ -1951,7 +1951,7 @@ "defaultValue": "[]" }, { - "id": 224, + "id": 228, "name": "open", "kind": 32, "kindString": "Variable", @@ -1980,10 +1980,10 @@ "title": "Variables", "kind": 32, "children": [ - 225, - 226, - 227, - 224 + 229, + 230, + 231, + 228 ] } ], @@ -2005,68 +2005,68 @@ "title": "Constructors", "kind": 512, "children": [ - 228 + 232 ] }, { "title": "Properties", "kind": 1024, "children": [ - 198, - 220, - 218, - 217, - 199, - 200, - 210, - 212, - 216, - 211, - 204, - 213, - 219, - 215, - 214, - 221, + 202, + 224, 222, + 221, + 203, + 204, + 214, + 216, + 220, + 215, 208, - 209 + 217, + 223, + 219, + 218, + 225, + 226, + 212, + 213 ] }, { "title": "Methods", "kind": 2048, "children": [ - 290, - 297, - 282, - 285, - 280, - 299, + 294, 301, - 288, - 265, - 232, - 258, - 234, - 276, - 260, - 241, - 278, - 249, - 273, - 252, - 255, - 246, - 270, - 262 + 286, + 289, + 284, + 303, + 305, + 292, + 269, + 236, + 262, + 238, + 280, + 264, + 245, + 282, + 253, + 277, + 256, + 259, + 250, + 274, + 266 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 223 + 227 ] } ], @@ -2079,7 +2079,7 @@ ] }, { - "id": 321, + "id": 325, "name": "Message", "kind": 4194304, "kindString": "Type alias", @@ -2094,14 +2094,14 @@ "type": { "type": "reflection", "declaration": { - "id": 322, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 328, "name": "event", "kind": 32, "kindString": "Variable", @@ -2119,7 +2119,7 @@ } }, { - "id": 325, + "id": 329, "name": "payload", "kind": 32, "kindString": "Variable", @@ -2137,7 +2137,7 @@ } }, { - "id": 326, + "id": 330, "name": "ref", "kind": 32, "kindString": "Variable", @@ -2155,7 +2155,7 @@ } }, { - "id": 323, + "id": 327, "name": "topic", "kind": 32, "kindString": "Variable", @@ -2178,10 +2178,10 @@ "title": "Variables", "kind": 32, "children": [ - 324, - 325, - 326, - 323 + 328, + 329, + 330, + 327 ] } ], @@ -2196,7 +2196,7 @@ } }, { - "id": 303, + "id": 307, "name": "Options", "kind": 4194304, "kindString": "Type alias", @@ -2213,7 +2213,7 @@ "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 308, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2222,7 +2222,7 @@ }, "children": [ { - "id": 311, + "id": 315, "name": "decode", "kind": 32, "kindString": "Variable", @@ -2243,7 +2243,7 @@ } }, { - "id": 310, + "id": 314, "name": "encode", "kind": 32, "kindString": "Variable", @@ -2264,7 +2264,7 @@ } }, { - "id": 313, + "id": 317, "name": "headers", "kind": 32, "kindString": "Variable", @@ -2279,155 +2279,6 @@ "character": 9 } ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 314, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 315, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 316, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 307, - "name": "heartbeatIntervalMs", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 21 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 309, - "name": "logger", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 8 - } - ], - "type": { - "type": "reference", - "name": "Function" - } - }, - { - "id": 308, - "name": "longpollerTimeout", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 317, - "name": "params", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 8 - } - ], "type": { "type": "union", "types": [ @@ -2480,8 +2331,157 @@ ] } }, + { + "id": 311, + "name": "heartbeatIntervalMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 313, + "name": "logger", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, { "id": 312, + "name": "longpollerTimeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 321, + "name": "params", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 322, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 323, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 324, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 316, "name": "reconnectAfterMs", "kind": 32, "kindString": "Variable", @@ -2502,7 +2502,7 @@ } }, { - "id": 306, + "id": 310, "name": "timeout", "kind": 32, "kindString": "Variable", @@ -2532,7 +2532,7 @@ } }, { - "id": 305, + "id": 309, "name": "transport", "kind": 32, "kindString": "Variable", @@ -2558,16 +2558,16 @@ "title": "Variables", "kind": 32, "children": [ - 311, - 310, - 313, - 307, - 309, - 308, + 315, + 314, 317, + 311, + 313, 312, - 306, - 305 + 321, + 316, + 310, + 309 ] } ], @@ -2582,7 +2582,7 @@ } }, { - "id": 327, + "id": 331, "name": "noop", "kind": 64, "kindString": "Function", @@ -2591,7 +2591,7 @@ }, "signatures": [ { - "id": 328, + "id": 332, "name": "noop", "kind": 4096, "kindString": "Call signature", @@ -2616,22 +2616,22 @@ "title": "Classes", "kind": 128, "children": [ - 197 + 201 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 321, - 303 + 325, + 307 ] }, { "title": "Functions", "kind": 64, "children": [ - 327 + 331 ] } ], @@ -2644,7 +2644,7 @@ ] }, { - "id": 92, + "id": 96, "name": "\"RealtimeSubscription\"", "kind": 1, "kindString": "Module", @@ -2654,7 +2654,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts", "children": [ { - "id": 93, + "id": 97, "name": "RealtimeSubscription", "kind": 128, "kindString": "Class", @@ -2663,7 +2663,7 @@ }, "children": [ { - "id": 101, + "id": 105, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2672,7 +2672,7 @@ }, "signatures": [ { - "id": 105, + "id": 109, "name": "new RealtimeSubscription", "kind": 16384, "kindString": "Constructor signature", @@ -2681,7 +2681,7 @@ }, "parameters": [ { - "id": 106, + "id": 110, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -2694,7 +2694,7 @@ } }, { - "id": 107, + "id": 111, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -2708,7 +2708,7 @@ "defaultValue": "{}" }, { - "id": 108, + "id": 112, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -2717,14 +2717,14 @@ }, "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } } ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } } @@ -2738,7 +2738,7 @@ ] }, { - "id": 94, + "id": 98, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -2762,7 +2762,7 @@ "defaultValue": "[]" }, { - "id": 98, + "id": 102, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -2783,7 +2783,7 @@ } }, { - "id": 97, + "id": 101, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -2804,7 +2804,7 @@ "defaultValue": "false" }, { - "id": 103, + "id": 107, "name": "params", "kind": 1024, "kindString": "Property", @@ -2826,7 +2826,7 @@ } }, { - "id": 100, + "id": 104, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -2851,7 +2851,7 @@ "defaultValue": "[]" }, { - "id": 99, + "id": 103, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -2872,7 +2872,7 @@ } }, { - "id": 104, + "id": 108, "name": "socket", "kind": 1024, "kindString": "Property", @@ -2890,12 +2890,12 @@ ], "type": { "type": "reference", - "id": 197, + "id": 201, "name": "RealtimeClient" } }, { - "id": 96, + "id": 100, "name": "state", "kind": 1024, "kindString": "Property", @@ -2917,7 +2917,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 95, + "id": 99, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -2937,7 +2937,7 @@ } }, { - "id": 102, + "id": 106, "name": "topic", "kind": 1024, "kindString": "Property", @@ -2959,7 +2959,7 @@ } }, { - "id": 127, + "id": 131, "name": "canPush", "kind": 2048, "kindString": "Method", @@ -2968,7 +2968,7 @@ }, "signatures": [ { - "id": 128, + "id": 132, "name": "canPush", "kind": 4096, "kindString": "Call signature", @@ -2990,7 +2990,7 @@ ] }, { - "id": 161, + "id": 165, "name": "isClosed", "kind": 2048, "kindString": "Method", @@ -2999,7 +2999,7 @@ }, "signatures": [ { - "id": 162, + "id": 166, "name": "isClosed", "kind": 4096, "kindString": "Call signature", @@ -3021,7 +3021,7 @@ ] }, { - "id": 163, + "id": 167, "name": "isErrored", "kind": 2048, "kindString": "Method", @@ -3030,7 +3030,7 @@ }, "signatures": [ { - "id": 164, + "id": 168, "name": "isErrored", "kind": 4096, "kindString": "Call signature", @@ -3052,7 +3052,7 @@ ] }, { - "id": 165, + "id": 169, "name": "isJoined", "kind": 2048, "kindString": "Method", @@ -3061,7 +3061,7 @@ }, "signatures": [ { - "id": 166, + "id": 170, "name": "isJoined", "kind": 4096, "kindString": "Call signature", @@ -3083,7 +3083,7 @@ ] }, { - "id": 167, + "id": 171, "name": "isJoining", "kind": 2048, "kindString": "Method", @@ -3092,7 +3092,7 @@ }, "signatures": [ { - "id": 168, + "id": 172, "name": "isJoining", "kind": 4096, "kindString": "Call signature", @@ -3114,7 +3114,7 @@ ] }, { - "id": 169, + "id": 173, "name": "isLeaving", "kind": 2048, "kindString": "Method", @@ -3123,7 +3123,7 @@ }, "signatures": [ { - "id": 170, + "id": 174, "name": "isLeaving", "kind": 4096, "kindString": "Call signature", @@ -3145,7 +3145,7 @@ ] }, { - "id": 142, + "id": 146, "name": "isMember", "kind": 2048, "kindString": "Method", @@ -3154,7 +3154,7 @@ }, "signatures": [ { - "id": 143, + "id": 147, "name": "isMember", "kind": 4096, "kindString": "Call signature", @@ -3163,7 +3163,7 @@ }, "parameters": [ { - "id": 144, + "id": 148, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -3191,7 +3191,7 @@ ] }, { - "id": 145, + "id": 149, "name": "joinRef", "kind": 2048, "kindString": "Method", @@ -3200,7 +3200,7 @@ }, "signatures": [ { - "id": 146, + "id": 150, "name": "joinRef", "kind": 4096, "kindString": "Call signature", @@ -3222,7 +3222,7 @@ ] }, { - "id": 124, + "id": 128, "name": "off", "kind": 2048, "kindString": "Method", @@ -3231,7 +3231,7 @@ }, "signatures": [ { - "id": 125, + "id": 129, "name": "off", "kind": 4096, "kindString": "Call signature", @@ -3240,7 +3240,7 @@ }, "parameters": [ { - "id": 126, + "id": 130, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3268,7 +3268,7 @@ ] }, { - "id": 120, + "id": 124, "name": "on", "kind": 2048, "kindString": "Method", @@ -3277,7 +3277,7 @@ }, "signatures": [ { - "id": 121, + "id": 125, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -3286,7 +3286,7 @@ }, "parameters": [ { - "id": 122, + "id": 126, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3299,7 +3299,7 @@ } }, { - "id": 123, + "id": 127, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3327,7 +3327,7 @@ ] }, { - "id": 114, + "id": 118, "name": "onClose", "kind": 2048, "kindString": "Method", @@ -3336,7 +3336,7 @@ }, "signatures": [ { - "id": 115, + "id": 119, "name": "onClose", "kind": 4096, "kindString": "Call signature", @@ -3345,7 +3345,7 @@ }, "parameters": [ { - "id": 116, + "id": 120, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3373,7 +3373,7 @@ ] }, { - "id": 117, + "id": 121, "name": "onError", "kind": 2048, "kindString": "Method", @@ -3382,7 +3382,7 @@ }, "signatures": [ { - "id": 118, + "id": 122, "name": "onError", "kind": 4096, "kindString": "Call signature", @@ -3391,7 +3391,7 @@ }, "parameters": [ { - "id": 119, + "id": 123, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3419,7 +3419,7 @@ ] }, { - "id": 137, + "id": 141, "name": "onMessage", "kind": 2048, "kindString": "Method", @@ -3428,7 +3428,7 @@ }, "signatures": [ { - "id": 138, + "id": 142, "name": "onMessage", "kind": 4096, "kindString": "Call signature", @@ -3441,7 +3441,7 @@ }, "parameters": [ { - "id": 139, + "id": 143, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3454,7 +3454,7 @@ } }, { - "id": 140, + "id": 144, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3467,7 +3467,7 @@ } }, { - "id": 141, + "id": 145, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3505,7 +3505,7 @@ ] }, { - "id": 129, + "id": 133, "name": "push", "kind": 2048, "kindString": "Method", @@ -3514,7 +3514,7 @@ }, "signatures": [ { - "id": 130, + "id": 134, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -3523,7 +3523,7 @@ }, "parameters": [ { - "id": 131, + "id": 135, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3537,7 +3537,7 @@ } }, { - "id": 132, + "id": 136, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3550,7 +3550,7 @@ } }, { - "id": 133, + "id": 137, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3580,7 +3580,7 @@ ] }, { - "id": 150, + "id": 154, "name": "rejoin", "kind": 2048, "kindString": "Method", @@ -3589,7 +3589,7 @@ }, "signatures": [ { - "id": 151, + "id": 155, "name": "rejoin", "kind": 4096, "kindString": "Call signature", @@ -3598,7 +3598,7 @@ }, "parameters": [ { - "id": 152, + "id": 156, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3627,7 +3627,7 @@ ] }, { - "id": 109, + "id": 113, "name": "rejoinUntilConnected", "kind": 2048, "kindString": "Method", @@ -3636,7 +3636,7 @@ }, "signatures": [ { - "id": 110, + "id": 114, "name": "rejoinUntilConnected", "kind": 4096, "kindString": "Call signature", @@ -3658,7 +3658,7 @@ ] }, { - "id": 158, + "id": 162, "name": "replyEventName", "kind": 2048, "kindString": "Method", @@ -3667,7 +3667,7 @@ }, "signatures": [ { - "id": 159, + "id": 163, "name": "replyEventName", "kind": 4096, "kindString": "Call signature", @@ -3676,7 +3676,7 @@ }, "parameters": [ { - "id": 160, + "id": 164, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3704,7 +3704,7 @@ ] }, { - "id": 147, + "id": 151, "name": "sendJoin", "kind": 2048, "kindString": "Method", @@ -3713,7 +3713,7 @@ }, "signatures": [ { - "id": 148, + "id": 152, "name": "sendJoin", "kind": 4096, "kindString": "Call signature", @@ -3722,7 +3722,7 @@ }, "parameters": [ { - "id": 149, + "id": 153, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3750,7 +3750,7 @@ ] }, { - "id": 111, + "id": 115, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -3759,7 +3759,7 @@ }, "signatures": [ { - "id": 112, + "id": 116, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -3768,7 +3768,7 @@ }, "parameters": [ { - "id": 113, + "id": 117, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3798,7 +3798,7 @@ ] }, { - "id": 153, + "id": 157, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -3807,7 +3807,7 @@ }, "signatures": [ { - "id": 154, + "id": 158, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -3816,7 +3816,7 @@ }, "parameters": [ { - "id": 155, + "id": 159, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -3829,7 +3829,7 @@ } }, { - "id": 156, + "id": 160, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -3843,7 +3843,7 @@ } }, { - "id": 157, + "id": 161, "name": "ref", "kind": 32768, "kindString": "Parameter", @@ -3881,7 +3881,7 @@ ] }, { - "id": 134, + "id": 138, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -3890,7 +3890,7 @@ }, "signatures": [ { - "id": 135, + "id": 139, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -3903,7 +3903,7 @@ }, "parameters": [ { - "id": 136, + "id": 140, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -3938,50 +3938,50 @@ "title": "Constructors", "kind": 512, "children": [ - 101 + 105 ] }, { "title": "Properties", "kind": 1024, "children": [ - 94, 98, - 97, + 102, + 101, + 107, + 104, 103, + 108, 100, 99, - 104, - 96, - 95, - 102 + 106 ] }, { "title": "Methods", "kind": 2048, "children": [ - 127, - 161, - 163, + 131, 165, 167, 169, - 142, - 145, + 171, + 173, + 146, + 149, + 128, 124, - 120, - 114, - 117, - 137, - 129, - 150, - 109, - 158, - 147, - 111, - 153, - 134 + 118, + 121, + 141, + 133, + 154, + 113, + 162, + 151, + 115, + 157, + 138 ] } ], @@ -3999,7 +3999,7 @@ "title": "Classes", "kind": 128, "children": [ - 93 + 97 ] } ], @@ -4012,7 +4012,7 @@ ] }, { - "id": 415, + "id": 419, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -4624,7 +4624,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, @@ -4716,7 +4716,7 @@ ], "type": { "type": "reference", - "id": 93, + "id": 97, "name": "RealtimeSubscription" } }, @@ -5086,7 +5086,7 @@ "defaultValue": "undefined" }, { - "id": 79, + "id": 83, "name": "_cancelRefEvent", "kind": 2048, "kindString": "Method", @@ -5096,7 +5096,7 @@ }, "signatures": [ { - "id": 80, + "id": 84, "name": "_cancelRefEvent", "kind": 4096, "kindString": "Call signature", @@ -5118,7 +5118,7 @@ ] }, { - "id": 81, + "id": 85, "name": "_cancelTimeout", "kind": 2048, "kindString": "Method", @@ -5128,7 +5128,7 @@ }, "signatures": [ { - "id": 82, + "id": 86, "name": "_cancelTimeout", "kind": 4096, "kindString": "Call signature", @@ -5150,7 +5150,7 @@ ] }, { - "id": 89, + "id": 93, "name": "_hasReceived", "kind": 2048, "kindString": "Method", @@ -5160,7 +5160,7 @@ }, "signatures": [ { - "id": 90, + "id": 94, "name": "_hasReceived", "kind": 4096, "kindString": "Call signature", @@ -5169,7 +5169,7 @@ }, "parameters": [ { - "id": 91, + "id": 95, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5210,7 +5210,7 @@ ] }, { - "id": 83, + "id": 87, "name": "_matchReceive", "kind": 2048, "kindString": "Method", @@ -5220,7 +5220,7 @@ }, "signatures": [ { - "id": 84, + "id": 88, "name": "_matchReceive", "kind": 4096, "kindString": "Call signature", @@ -5229,7 +5229,7 @@ }, "parameters": [ { - "id": 85, + "id": 89, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5240,7 +5240,7 @@ "type": { "type": "reflection", "declaration": { - "id": 86, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5249,7 +5249,7 @@ }, "children": [ { - "id": 88, + "id": 92, "name": "response", "kind": 32, "kindString": "Variable", @@ -5269,7 +5269,7 @@ } }, { - "id": 87, + "id": 91, "name": "status", "kind": 32, "kindString": "Variable", @@ -5294,8 +5294,8 @@ "title": "Variables", "kind": 32, "children": [ - 88, - 87 + 92, + 91 ] } ], @@ -5325,7 +5325,7 @@ ] }, { - "id": 77, + "id": 81, "name": "destroy", "kind": 2048, "kindString": "Method", @@ -5334,7 +5334,7 @@ }, "signatures": [ { - "id": 78, + "id": 82, "name": "destroy", "kind": 4096, "kindString": "Call signature", @@ -5356,7 +5356,7 @@ ] }, { - "id": 67, + "id": 71, "name": "receive", "kind": 2048, "kindString": "Method", @@ -5610,14 +5610,11 @@ "title": "Methods", "kind": 2048, "children": [ - 79, - 81, - 89, 83, - 77, - 67, - 62, - 65, + 85, + 93, + 87, + 81, 71, 66, 69, @@ -5653,7 +5650,7 @@ ] }, { - "id": 171, + "id": 175, "name": "\"lib/serializer\"", "kind": 1, "kindString": "Module", @@ -5663,7 +5660,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts", "children": [ { - "id": 172, + "id": 176, "name": "Serializer", "kind": 128, "kindString": "Class", @@ -5672,7 +5669,7 @@ }, "children": [ { - "id": 173, + "id": 177, "name": "HEADER_LENGTH", "kind": 1024, "kindString": "Property", @@ -5693,7 +5690,7 @@ "defaultValue": "1" }, { - "id": 178, + "id": 182, "name": "_binaryDecode", "kind": 2048, "kindString": "Method", @@ -5703,7 +5700,7 @@ }, "signatures": [ { - "id": 179, + "id": 183, "name": "_binaryDecode", "kind": 4096, "kindString": "Call signature", @@ -5712,7 +5709,7 @@ }, "parameters": [ { - "id": 180, + "id": 184, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -5728,7 +5725,7 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5737,7 +5734,7 @@ }, "children": [ { - "id": 184, + "id": 188, "name": "event", "kind": 32, "kindString": "Variable", @@ -5757,7 +5754,7 @@ } }, { - "id": 185, + "id": 189, "name": "payload", "kind": 32, "kindString": "Variable", @@ -5777,7 +5774,7 @@ } }, { - "id": 182, + "id": 186, "name": "ref", "kind": 32, "kindString": "Variable", @@ -5797,7 +5794,7 @@ } }, { - "id": 183, + "id": 187, "name": "topic", "kind": 32, "kindString": "Variable", @@ -5822,10 +5819,10 @@ "title": "Variables", "kind": 32, "children": [ - 184, - 185, - 182, - 183 + 188, + 189, + 186, + 187 ] } ] @@ -5842,7 +5839,7 @@ ] }, { - "id": 186, + "id": 190, "name": "_decodeBroadcast", "kind": 2048, "kindString": "Method", @@ -5852,7 +5849,7 @@ }, "signatures": [ { - "id": 187, + "id": 191, "name": "_decodeBroadcast", "kind": 4096, "kindString": "Call signature", @@ -5861,7 +5858,7 @@ }, "parameters": [ { - "id": 188, + "id": 192, "name": "buffer", "kind": 32768, "kindString": "Parameter", @@ -5874,7 +5871,7 @@ } }, { - "id": 189, + "id": 193, "name": "view", "kind": 32768, "kindString": "Parameter", @@ -5887,7 +5884,7 @@ } }, { - "id": 190, + "id": 194, "name": "decoder", "kind": 32768, "kindString": "Parameter", @@ -5903,7 +5900,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5912,7 +5909,7 @@ }, "children": [ { - "id": 194, + "id": 198, "name": "event", "kind": 32, "kindString": "Variable", @@ -5932,7 +5929,7 @@ } }, { - "id": 195, + "id": 199, "name": "payload", "kind": 32, "kindString": "Variable", @@ -5952,7 +5949,7 @@ } }, { - "id": 192, + "id": 196, "name": "ref", "kind": 32, "kindString": "Variable", @@ -5972,7 +5969,7 @@ } }, { - "id": 193, + "id": 197, "name": "topic", "kind": 32, "kindString": "Variable", @@ -5997,10 +5994,10 @@ "title": "Variables", "kind": 32, "children": [ - 194, - 195, - 192, - 193 + 198, + 199, + 196, + 197 ] } ], @@ -6024,7 +6021,7 @@ ] }, { - "id": 174, + "id": 178, "name": "decode", "kind": 2048, "kindString": "Method", @@ -6033,7 +6030,7 @@ }, "signatures": [ { - "id": 175, + "id": 179, "name": "decode", "kind": 4096, "kindString": "Call signature", @@ -6042,7 +6039,7 @@ }, "parameters": [ { - "id": 176, + "id": 180, "name": "rawPayload", "kind": 32768, "kindString": "Parameter", @@ -6064,7 +6061,7 @@ } }, { - "id": 177, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6097,16 +6094,16 @@ "title": "Properties", "kind": 1024, "children": [ - 173 + 177 ] }, { "title": "Methods", "kind": 2048, "children": [ - 178, - 186, - 174 + 182, + 190, + 178 ] } ], @@ -6124,7 +6121,7 @@ "title": "Classes", "kind": 128, "children": [ - 172 + 176 ] } ], @@ -6436,7 +6433,7 @@ ] }, { - "id": 329, + "id": 333, "name": "\"lib/transformers\"", "kind": 1, "kindString": "Module", @@ -6446,7 +6443,7 @@ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts", "children": [ { - "id": 330, + "id": 334, "name": "PostgresTypes", "kind": 4, "kindString": "Enumeration", @@ -6458,7 +6455,7 @@ }, "children": [ { - "id": 331, + "id": 335, "name": "abstime", "kind": 16, "kindString": "Enumeration member", @@ -6475,7 +6472,7 @@ "defaultValue": "\"abstime\"" }, { - "id": 332, + "id": 336, "name": "bool", "kind": 16, "kindString": "Enumeration member", @@ -6492,7 +6489,7 @@ "defaultValue": "\"bool\"" }, { - "id": 333, + "id": 337, "name": "date", "kind": 16, "kindString": "Enumeration member", @@ -6509,7 +6506,7 @@ "defaultValue": "\"date\"" }, { - "id": 334, + "id": 338, "name": "daterange", "kind": 16, "kindString": "Enumeration member", @@ -6526,7 +6523,7 @@ "defaultValue": "\"daterange\"" }, { - "id": 335, + "id": 339, "name": "float4", "kind": 16, "kindString": "Enumeration member", @@ -6543,7 +6540,7 @@ "defaultValue": "\"float4\"" }, { - "id": 336, + "id": 340, "name": "float8", "kind": 16, "kindString": "Enumeration member", @@ -6560,7 +6557,7 @@ "defaultValue": "\"float8\"" }, { - "id": 337, + "id": 341, "name": "int2", "kind": 16, "kindString": "Enumeration member", @@ -6577,7 +6574,7 @@ "defaultValue": "\"int2\"" }, { - "id": 338, + "id": 342, "name": "int4", "kind": 16, "kindString": "Enumeration member", @@ -6594,7 +6591,7 @@ "defaultValue": "\"int4\"" }, { - "id": 339, + "id": 343, "name": "int4range", "kind": 16, "kindString": "Enumeration member", @@ -6611,7 +6608,7 @@ "defaultValue": "\"int4range\"" }, { - "id": 340, + "id": 344, "name": "int8", "kind": 16, "kindString": "Enumeration member", @@ -6628,7 +6625,7 @@ "defaultValue": "\"int8\"" }, { - "id": 341, + "id": 345, "name": "int8range", "kind": 16, "kindString": "Enumeration member", @@ -6645,7 +6642,7 @@ "defaultValue": "\"int8range\"" }, { - "id": 342, + "id": 346, "name": "json", "kind": 16, "kindString": "Enumeration member", @@ -6662,7 +6659,7 @@ "defaultValue": "\"json\"" }, { - "id": 343, + "id": 347, "name": "jsonb", "kind": 16, "kindString": "Enumeration member", @@ -6679,7 +6676,7 @@ "defaultValue": "\"jsonb\"" }, { - "id": 344, + "id": 348, "name": "money", "kind": 16, "kindString": "Enumeration member", @@ -6696,7 +6693,7 @@ "defaultValue": "\"money\"" }, { - "id": 345, + "id": 349, "name": "numeric", "kind": 16, "kindString": "Enumeration member", @@ -6713,7 +6710,7 @@ "defaultValue": "\"numeric\"" }, { - "id": 346, + "id": 350, "name": "oid", "kind": 16, "kindString": "Enumeration member", @@ -6730,7 +6727,7 @@ "defaultValue": "\"oid\"" }, { - "id": 347, + "id": 351, "name": "reltime", "kind": 16, "kindString": "Enumeration member", @@ -6747,7 +6744,7 @@ "defaultValue": "\"reltime\"" }, { - "id": 348, + "id": 352, "name": "time", "kind": 16, "kindString": "Enumeration member", @@ -6764,7 +6761,7 @@ "defaultValue": "\"time\"" }, { - "id": 349, + "id": 353, "name": "timestamp", "kind": 16, "kindString": "Enumeration member", @@ -6781,7 +6778,7 @@ "defaultValue": "\"timestamp\"" }, { - "id": 350, + "id": 354, "name": "timestamptz", "kind": 16, "kindString": "Enumeration member", @@ -6798,7 +6795,7 @@ "defaultValue": "\"timestamptz\"" }, { - "id": 351, + "id": 355, "name": "timetz", "kind": 16, "kindString": "Enumeration member", @@ -6815,7 +6812,7 @@ "defaultValue": "\"timetz\"" }, { - "id": 352, + "id": 356, "name": "tsrange", "kind": 16, "kindString": "Enumeration member", @@ -6832,7 +6829,7 @@ "defaultValue": "\"tsrange\"" }, { - "id": 353, + "id": 357, "name": "tstzrange", "kind": 16, "kindString": "Enumeration member", @@ -6854,10 +6851,6 @@ "title": "Enumeration members", "kind": 16, "children": [ - 331, - 332, - 333, - 334, 335, 336, 337, @@ -6876,7 +6869,11 @@ 350, 351, 352, - 353 + 353, + 354, + 355, + 356, + 357 ] } ], @@ -6889,7 +6886,7 @@ ] }, { - "id": 354, + "id": 358, "name": "Column", "kind": 4194304, "kindString": "Type alias", @@ -6904,14 +6901,14 @@ "type": { "type": "reflection", "declaration": { - "id": 355, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 356, + "id": 360, "name": "flags", "kind": 32, "kindString": "Variable", @@ -6932,7 +6929,7 @@ } }, { - "id": 357, + "id": 361, "name": "name", "kind": 32, "kindString": "Variable", @@ -6950,7 +6947,7 @@ } }, { - "id": 358, + "id": 362, "name": "type", "kind": 32, "kindString": "Variable", @@ -6968,7 +6965,7 @@ } }, { - "id": 359, + "id": 363, "name": "type_modifier", "kind": 32, "kindString": "Variable", @@ -6991,10 +6988,10 @@ "title": "Variables", "kind": 32, "children": [ - 356, - 357, - 358, - 359 + 360, + 361, + 362, + 363 ] } ], @@ -7009,7 +7006,7 @@ } }, { - "id": 360, + "id": 364, "name": "Records", "kind": 4194304, "kindString": "Type alias", @@ -7024,21 +7021,21 @@ "type": { "type": "reflection", "declaration": { - "id": 361, + "id": 365, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": [ { - "id": 362, + "id": 366, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 363, + "id": 367, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7066,7 +7063,7 @@ } }, { - "id": 380, + "id": 384, "name": "convertCell", "kind": 64, "kindString": "Function", @@ -7093,7 +7090,7 @@ }, "signatures": [ { - "id": 381, + "id": 385, "name": "convertCell", "kind": 4096, "kindString": "Call signature", @@ -7119,7 +7116,7 @@ }, "parameters": [ { - "id": 382, + "id": 386, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7135,7 +7132,7 @@ } }, { - "id": 383, + "id": 387, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7166,7 +7163,7 @@ ] }, { - "id": 364, + "id": 368, "name": "convertChangeData", "kind": 64, "kindString": "Function", @@ -7185,7 +7182,7 @@ }, "signatures": [ { - "id": 365, + "id": 369, "name": "convertChangeData", "kind": 4096, "kindString": "Call signature", @@ -7203,7 +7200,7 @@ }, "parameters": [ { - "id": 366, + "id": 370, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -7214,13 +7211,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 367, + "id": 371, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -7230,12 +7227,12 @@ "comment": {}, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 368, + "id": 372, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7248,7 +7245,7 @@ "type": { "type": "reflection", "declaration": { - "id": 369, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7257,7 +7254,7 @@ }, "children": [ { - "id": 370, + "id": 374, "name": "skipTypes", "kind": 32, "kindString": "Variable", @@ -7286,7 +7283,7 @@ "title": "Variables", "kind": 32, "children": [ - 370 + 374 ] } ], @@ -7305,7 +7302,7 @@ "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7314,7 +7311,7 @@ }, "indexSignature": [ { - "id": 372, + "id": 376, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7323,7 +7320,7 @@ }, "parameters": [ { - "id": 373, + "id": 377, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7355,7 +7352,7 @@ ] }, { - "id": 374, + "id": 378, "name": "convertColumn", "kind": 64, "kindString": "Function", @@ -7379,7 +7376,7 @@ }, "signatures": [ { - "id": 375, + "id": 379, "name": "convertColumn", "kind": 4096, "kindString": "Call signature", @@ -7402,7 +7399,7 @@ }, "parameters": [ { - "id": 376, + "id": 380, "name": "columnName", "kind": 32768, "kindString": "Parameter", @@ -7418,7 +7415,7 @@ } }, { - "id": 377, + "id": 381, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -7429,13 +7426,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 354, + "id": 358, "name": "Column" } } }, { - "id": 378, + "id": 382, "name": "records", "kind": 32768, "kindString": "Parameter", @@ -7447,12 +7444,12 @@ }, "type": { "type": "reference", - "id": 360, + "id": 364, "name": "Records" } }, { - "id": 379, + "id": 383, "name": "skipTypes", "kind": 32768, "kindString": "Parameter", @@ -7486,7 +7483,7 @@ ] }, { - "id": 384, + "id": 388, "name": "noop", "kind": 64, "kindString": "Function", @@ -7495,14 +7492,14 @@ }, "signatures": [ { - "id": 385, + "id": 389, "name": "noop", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 386, + "id": 390, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7528,7 +7525,7 @@ ] }, { - "id": 408, + "id": 412, "name": "toArray", "kind": 64, "kindString": "Function", @@ -7551,7 +7548,7 @@ }, "signatures": [ { - "id": 409, + "id": 413, "name": "toArray", "kind": 4096, "kindString": "Call signature", @@ -7573,7 +7570,7 @@ }, "parameters": [ { - "id": 410, + "id": 414, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7586,7 +7583,7 @@ } }, { - "id": 411, + "id": 415, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7617,7 +7614,7 @@ ] }, { - "id": 387, + "id": 391, "name": "toBoolean", "kind": 64, "kindString": "Function", @@ -7627,7 +7624,7 @@ }, "signatures": [ { - "id": 388, + "id": 392, "name": "toBoolean", "kind": 4096, "kindString": "Call signature", @@ -7636,7 +7633,7 @@ }, "parameters": [ { - "id": 389, + "id": 393, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7677,7 +7674,7 @@ ] }, { - "id": 390, + "id": 394, "name": "toDate", "kind": 64, "kindString": "Function", @@ -7687,7 +7684,7 @@ }, "signatures": [ { - "id": 391, + "id": 395, "name": "toDate", "kind": 4096, "kindString": "Call signature", @@ -7696,7 +7693,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7724,7 +7721,7 @@ ] }, { - "id": 393, + "id": 397, "name": "toDateRange", "kind": 64, "kindString": "Function", @@ -7734,7 +7731,7 @@ }, "signatures": [ { - "id": 394, + "id": 398, "name": "toDateRange", "kind": 4096, "kindString": "Call signature", @@ -7743,7 +7740,7 @@ }, "parameters": [ { - "id": 395, + "id": 399, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7774,7 +7771,7 @@ ] }, { - "id": 396, + "id": 400, "name": "toFloat", "kind": 64, "kindString": "Function", @@ -7784,7 +7781,7 @@ }, "signatures": [ { - "id": 397, + "id": 401, "name": "toFloat", "kind": 4096, "kindString": "Call signature", @@ -7793,7 +7790,7 @@ }, "parameters": [ { - "id": 398, + "id": 402, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7821,7 +7818,7 @@ ] }, { - "id": 399, + "id": 403, "name": "toInt", "kind": 64, "kindString": "Function", @@ -7831,7 +7828,7 @@ }, "signatures": [ { - "id": 400, + "id": 404, "name": "toInt", "kind": 4096, "kindString": "Call signature", @@ -7840,7 +7837,7 @@ }, "parameters": [ { - "id": 401, + "id": 405, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7868,7 +7865,7 @@ ] }, { - "id": 402, + "id": 406, "name": "toIntRange", "kind": 64, "kindString": "Function", @@ -7878,7 +7875,7 @@ }, "signatures": [ { - "id": 403, + "id": 407, "name": "toIntRange", "kind": 4096, "kindString": "Call signature", @@ -7887,7 +7884,7 @@ }, "parameters": [ { - "id": 404, + "id": 408, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7918,7 +7915,7 @@ ] }, { - "id": 405, + "id": 409, "name": "toJson", "kind": 64, "kindString": "Function", @@ -7928,7 +7925,7 @@ }, "signatures": [ { - "id": 406, + "id": 410, "name": "toJson", "kind": 4096, "kindString": "Call signature", @@ -7937,7 +7934,7 @@ }, "parameters": [ { - "id": 407, + "id": 411, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -7965,7 +7962,7 @@ ] }, { - "id": 412, + "id": 416, "name": "toTimestampString", "kind": 64, "kindString": "Function", @@ -7984,7 +7981,7 @@ }, "signatures": [ { - "id": 413, + "id": 417, "name": "toTimestampString", "kind": 4096, "kindString": "Call signature", @@ -8002,7 +7999,7 @@ }, "parameters": [ { - "id": 414, + "id": 418, "name": "stringValue", "kind": 32768, "kindString": "Parameter", @@ -8035,34 +8032,34 @@ "title": "Enumerations", "kind": 4, "children": [ - 330 + 334 ] }, { "title": "Type aliases", "kind": 4194304, "children": [ - 354, - 360 + 358, + 364 ] }, { "title": "Functions", "kind": 64, "children": [ - 380, - 364, - 374, 384, - 408, - 387, - 390, - 393, - 396, - 399, - 402, - 405, - 412 + 368, + 378, + 388, + 412, + 391, + 394, + 397, + 400, + 403, + 406, + 409, + 416 ] } ], @@ -8130,14 +8127,15 @@ "title": "Modules", "kind": 1, "children": [ - 196, - 92, - 415, - 1, - 38, - 171, - 24, - 329 + 200, + 96, + 419, + 3, + 42, + 175, + 28, + 333, + 1 ] } ] diff --git a/web/spec/supabase.json b/web/spec/supabase.json index 73f5e715ee7..7c73d87c4cb 100644 --- a/web/spec/supabase.json +++ b/web/spec/supabase.json @@ -6,7 +6,7 @@ "originalName": "", "children": [ { - "id": 264, + "id": 279, "name": "\"SupabaseClient\"", "kind": 1, "kindString": "Module", @@ -16,7 +16,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts", "children": [ { - "id": 265, + "id": 280, "name": "SupabaseClient", "kind": 128, "kindString": "Class", @@ -29,7 +29,7 @@ }, "children": [ { - "id": 273, + "id": 288, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -41,7 +41,7 @@ }, "signatures": [ { - "id": 276, + "id": 291, "name": "new SupabaseClient", "kind": 16384, "kindString": "Constructor signature", @@ -53,7 +53,7 @@ }, "parameters": [ { - "id": 277, + "id": 292, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -69,7 +69,7 @@ } }, { - "id": 278, + "id": 293, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -85,7 +85,7 @@ } }, { - "id": 279, + "id": 294, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -95,14 +95,14 @@ }, "type": { "type": "reference", - "id": 7, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -110,13 +110,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 36 } ] }, { - "id": 266, + "id": 281, "name": "auth", "kind": 1024, "kindString": "Property", @@ -129,18 +129,18 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 27, + "line": 26, "character": 6 } ], "type": { "type": "reference", - "id": 30, + "id": 53, "name": "SupabaseAuthClient" } }, { - "id": 270, + "id": 285, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -151,7 +151,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 32, + "line": 31, "character": 19 } ], @@ -161,7 +161,7 @@ } }, { - "id": 272, + "id": 287, "name": "realtime", "kind": 1024, "kindString": "Property", @@ -172,7 +172,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 34, + "line": 33, "character": 20 } ], @@ -182,7 +182,7 @@ } }, { - "id": 269, + "id": 284, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -193,7 +193,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 31, + "line": 30, "character": 23 } ], @@ -203,7 +203,7 @@ } }, { - "id": 268, + "id": 283, "name": "restUrl", "kind": 1024, "kindString": "Property", @@ -214,7 +214,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 30, + "line": 29, "character": 19 } ], @@ -224,7 +224,7 @@ } }, { - "id": 267, + "id": 282, "name": "schema", "kind": 1024, "kindString": "Property", @@ -235,7 +235,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 29, + "line": 28, "character": 18 } ], @@ -245,7 +245,7 @@ } }, { - "id": 271, + "id": 286, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -256,7 +256,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 33, + "line": 32, "character": 22 } ], @@ -266,7 +266,7 @@ } }, { - "id": 275, + "id": 290, "name": "supabaseKey", "kind": 1024, "kindString": "Property", @@ -281,7 +281,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 49, + "line": 48, "character": 25 } ], @@ -291,7 +291,7 @@ } }, { - "id": 274, + "id": 289, "name": "supabaseUrl", "kind": 1024, "kindString": "Property", @@ -306,7 +306,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 48, + "line": 47, "character": 25 } ], @@ -316,7 +316,7 @@ } }, { - "id": 280, + "id": 295, "name": "storage", "kind": 262144, "kindString": "Accessor", @@ -328,7 +328,7 @@ }, "getSignature": [ { - "id": 281, + "id": 296, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -347,13 +347,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 74, + "line": 73, "character": 13 } ] }, { - "id": 320, + "id": 339, "name": "_closeChannel", "kind": 2048, "kindString": "Method", @@ -363,7 +363,7 @@ }, "signatures": [ { - "id": 321, + "id": 340, "name": "_closeChannel", "kind": 4096, "kindString": "Call signature", @@ -372,7 +372,7 @@ }, "parameters": [ { - "id": 322, + "id": 341, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -400,13 +400,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 186, + "line": 187, "character": 23 } ] }, { - "id": 297, + "id": 312, "name": "_closeSubscription", "kind": 2048, "kindString": "Method", @@ -416,7 +416,7 @@ }, "signatures": [ { - "id": 298, + "id": 313, "name": "_closeSubscription", "kind": 4096, "kindString": "Call signature", @@ -425,7 +425,7 @@ }, "parameters": [ { - "id": 299, + "id": 314, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -453,13 +453,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 132, + "line": 131, "character": 34 } ] }, { - "id": 315, + "id": 334, "name": "_getAuthHeaders", "kind": 2048, "kindString": "Method", @@ -469,7 +469,7 @@ }, "signatures": [ { - "id": 316, + "id": 335, "name": "_getAuthHeaders", "kind": 4096, "kindString": "Call signature", @@ -479,7 +479,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 336, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -488,7 +488,7 @@ }, "indexSignature": [ { - "id": 318, + "id": 337, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -497,7 +497,7 @@ }, "parameters": [ { - "id": 319, + "id": 338, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -519,7 +519,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 28 } ] @@ -530,13 +530,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 179, "character": 25 } ] }, { - "id": 313, + "id": 332, "name": "_initPostgRESTClient", "kind": 2048, "kindString": "Method", @@ -546,7 +546,7 @@ }, "signatures": [ { - "id": 314, + "id": 333, "name": "_initPostgRESTClient", "kind": 4096, "kindString": "Call signature", @@ -562,13 +562,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 171, + "line": 172, "character": 30 } ] }, { - "id": 310, + "id": 329, "name": "_initRealtimeClient", "kind": 2048, "kindString": "Method", @@ -578,7 +578,7 @@ }, "signatures": [ { - "id": 311, + "id": 330, "name": "_initRealtimeClient", "kind": 4096, "kindString": "Call signature", @@ -587,7 +587,7 @@ }, "parameters": [ { - "id": 312, + "id": 331, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -610,13 +610,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 164, + "line": 165, "character": 29 } ] }, { - "id": 302, + "id": 317, "name": "_initSupabaseAuthClient", "kind": 2048, "kindString": "Method", @@ -626,7 +626,7 @@ }, "signatures": [ { - "id": 303, + "id": 318, "name": "_initSupabaseAuthClient", "kind": 4096, "kindString": "Call signature", @@ -635,7 +635,7 @@ }, "parameters": [ { - "id": 304, + "id": 319, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -646,7 +646,7 @@ "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 320, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -655,7 +655,7 @@ }, "children": [ { - "id": 306, + "id": 321, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -665,7 +665,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 146, + "line": 145, "character": 20 } ], @@ -688,7 +688,7 @@ } }, { - "id": 308, + "id": 323, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -698,7 +698,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 148, + "line": 147, "character": 22 } ], @@ -721,8 +721,8 @@ } }, { - "id": 309, - "name": "localStorage", + "id": 325, + "name": "headers", "kind": 32, "kindString": "Variable", "flags": { @@ -732,6 +732,73 @@ { "fileName": "src/SupabaseClient.ts", "line": 149, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 327, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 328, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 324, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 148, "character": 16 } ], @@ -744,13 +811,42 @@ }, { "type": "reference", - "name": "Storage" + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage" + }, + { + "type": "union", + "types": [ + { + "type": "stringLiteral", + "value": "getItem" + }, + { + "type": "stringLiteral", + "value": "setItem" + }, + { + "type": "stringLiteral", + "value": "removeItem" + } + ] + } + ], + "name": "Pick" + } + ], + "name": "PromisifyMethods" } ] } }, { - "id": 307, + "id": 322, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -760,7 +856,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 147, + "line": 146, "character": 18 } ], @@ -788,17 +884,18 @@ "title": "Variables", "kind": 32, "children": [ - 306, - 308, - 309, - 307 + 321, + 323, + 325, + 324, + 322 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 34 } ] @@ -808,7 +905,7 @@ ], "type": { "type": "reference", - "id": 30, + "id": 53, "name": "SupabaseAuthClient" } } @@ -816,13 +913,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 145, + "line": 144, "character": 33 } ] }, { - "id": 282, + "id": 297, "name": "from", "kind": 2048, "kindString": "Method", @@ -831,7 +928,7 @@ }, "signatures": [ { - "id": 283, + "id": 298, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -843,7 +940,7 @@ }, "typeParameter": [ { - "id": 284, + "id": 299, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -854,7 +951,7 @@ ], "parameters": [ { - "id": 285, + "id": 300, "name": "table", "kind": 32768, "kindString": "Parameter", @@ -872,7 +969,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "typeArguments": [ { "type": "typeParameter", @@ -890,13 +987,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 83, + "line": 82, "character": 6 } ] }, { - "id": 300, + "id": 315, "name": "getSubscriptions", "kind": 2048, "kindString": "Method", @@ -905,7 +1002,7 @@ }, "signatures": [ { - "id": 301, + "id": 316, "name": "getSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -927,13 +1024,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 141, + "line": 140, "character": 18 } ] }, { - "id": 294, + "id": 309, "name": "removeSubscription", "kind": 2048, "kindString": "Method", @@ -942,7 +1039,7 @@ }, "signatures": [ { - "id": 295, + "id": 310, "name": "removeSubscription", "kind": 4096, "kindString": "Call signature", @@ -954,7 +1051,7 @@ }, "parameters": [ { - "id": 296, + "id": 311, "name": "subscription", "kind": 32768, "kindString": "Parameter", @@ -985,13 +1082,13 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 115, + "line": 114, "character": 20 } ] }, { - "id": 286, + "id": 301, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -1000,7 +1097,7 @@ }, "signatures": [ { - "id": 287, + "id": 302, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -1012,7 +1109,7 @@ }, "typeParameter": [ { - "id": 288, + "id": 303, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1023,7 +1120,7 @@ ], "parameters": [ { - "id": 289, + "id": 304, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -1039,7 +1136,7 @@ } }, { - "id": 290, + "id": 305, "name": "params", "kind": 32768, "kindString": "Parameter", @@ -1065,7 +1162,7 @@ } }, { - "id": 291, + "id": 306, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -1076,7 +1173,7 @@ "type": { "type": "reflection", "declaration": { - "id": 292, + "id": 307, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1085,7 +1182,7 @@ }, "children": [ { - "id": 293, + "id": 308, "name": "count", "kind": 32, "kindString": "Variable", @@ -1098,7 +1195,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 104, + "line": 103, "character": 11 } ], @@ -1131,14 +1228,14 @@ "title": "Variables", "kind": 32, "children": [ - 293 + 308 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 103, + "line": 102, "character": 20 } ] @@ -1162,7 +1259,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 101, + "line": 100, "character": 5 } ] @@ -1173,58 +1270,58 @@ "title": "Constructors", "kind": 512, "children": [ - 273 + 288 ] }, { "title": "Properties", "kind": 1024, "children": [ - 266, - 270, - 272, - 269, - 268, - 267, - 271, - 275, - 274 + 281, + 285, + 287, + 284, + 283, + 282, + 286, + 290, + 289 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 280 + 295 ] }, { "title": "Methods", "kind": 2048, "children": [ - 320, + 339, + 312, + 334, + 332, + 329, + 317, 297, 315, - 313, - 310, - 302, - 282, - 300, - 294, - 286 + 309, + 301 ] } ], "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 23, + "line": 22, "character": 35 } ] }, { - "id": 323, + "id": 342, "name": "DEFAULT_OPTIONS", "kind": 2097152, "kindString": "Object literal", @@ -1233,7 +1330,7 @@ }, "children": [ { - "id": 325, + "id": 344, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -1252,7 +1349,7 @@ "defaultValue": "true" }, { - "id": 327, + "id": 346, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -1271,7 +1368,7 @@ "defaultValue": "true" }, { - "id": 329, + "id": 347, "name": "headers", "kind": 32, "kindString": "Variable", @@ -1279,21 +1376,21 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 15, + "line": 14, "character": 9 } ], "type": { "type": "reflection", "declaration": { - "id": 330, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 349, "name": "X-Client-Info", "kind": 32, "kindString": "Variable", @@ -1317,7 +1414,7 @@ "title": "Variables", "kind": 32, "children": [ - 337 + 349 ] } ] @@ -1326,26 +1423,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 328, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 14, - "character": 14 - } - ], - "type": { - "type": "reference", - "name": "Storage" - }, - "defaultValue": "globalThis.localStorage" - }, - { - "id": 326, + "id": 345, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -1364,7 +1442,7 @@ "defaultValue": "true" }, { - "id": 324, + "id": 343, "name": "schema", "kind": 32, "kindString": "Variable", @@ -1388,12 +1466,11 @@ "title": "Variables", "kind": 32, "children": [ - 325, - 327, - 329, - 328, - 326, - 324 + 344, + 346, + 347, + 345, + 343 ] } ], @@ -1415,14 +1492,14 @@ "title": "Classes", "kind": 128, "children": [ - 265 + 280 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 323 + 342 ] } ], @@ -1435,7 +1512,7 @@ ] }, { - "id": 331, + "id": 350, "name": "\"index\"", "kind": 1, "kindString": "Module", @@ -1445,7 +1522,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts", "children": [ { - "id": 332, + "id": 351, "name": "createClient", "kind": 64, "kindString": "Function", @@ -1458,7 +1535,7 @@ }, "signatures": [ { - "id": 333, + "id": 352, "name": "createClient", "kind": 4096, "kindString": "Call signature", @@ -1470,7 +1547,7 @@ }, "parameters": [ { - "id": 334, + "id": 353, "name": "supabaseUrl", "kind": 32768, "kindString": "Parameter", @@ -1483,7 +1560,7 @@ } }, { - "id": 335, + "id": 354, "name": "supabaseKey", "kind": 32768, "kindString": "Parameter", @@ -1496,7 +1573,7 @@ } }, { - "id": 336, + "id": 355, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1506,14 +1583,14 @@ }, "type": { "type": "reference", - "id": 7, + "id": 30, "name": "SupabaseClientOptions" } } ], "type": { "type": "reference", - "id": 265, + "id": 280, "name": "SupabaseClient" } } @@ -1532,7 +1609,7 @@ "title": "Functions", "kind": 64, "children": [ - 332 + 351 ] } ], @@ -1545,7 +1622,7 @@ ] }, { - "id": 29, + "id": 52, "name": "\"lib/SupabaseAuthClient\"", "kind": 1, "kindString": "Module", @@ -1555,7 +1632,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts", "children": [ { - "id": 30, + "id": 53, "name": "SupabaseAuthClient", "kind": 128, "kindString": "Class", @@ -1564,7 +1641,7 @@ }, "children": [ { - "id": 31, + "id": 54, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1573,7 +1650,7 @@ }, "signatures": [ { - "id": 32, + "id": 55, "name": "new SupabaseAuthClient", "kind": 16384, "kindString": "Constructor signature", @@ -1582,7 +1659,7 @@ }, "parameters": [ { - "id": 33, + "id": 56, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1590,266 +1667,15 @@ "isExported": true }, "type": { - "type": "reflection", - "declaration": { - "id": 34, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 41, - "name": "autoRefreshToken", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 8, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 40, - "name": "detectSessionInUrl", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 7, - "character": 22 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 36, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 6, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 37, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 38, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 39, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ] - } - }, - { - "id": 43, - "name": "localStorage", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 10, - "character": 16 - } - ], - "type": { - "type": "reference", - "name": "Storage" - } - }, - { - "id": 42, - "name": "persistSession", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 9, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 35, - "name": "url", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 5, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 41, - 40, - 36, - 43, - 42, - 35 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 4, - "character": 22 - } - ] - } + "type": "reference", + "id": 7, + "name": "SupabaseAuthClientOptions" } } ], "type": { "type": "reference", - "id": 30, + "id": 53, "name": "SupabaseAuthClient" }, "overwrites": { @@ -1861,7 +1687,7 @@ "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 54 } ], @@ -1871,7 +1697,7 @@ } }, { - "id": 44, + "id": 57, "name": "api", "kind": 1024, "kindString": "Property", @@ -1884,7 +1710,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 8, + "line": 14, "character": 7 } ], @@ -1894,12 +1720,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 57, "name": "GoTrueClient.api" } }, { - "id": 47, + "id": 60, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -1910,7 +1736,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 17, + "line": 23, "character": 30 } ], @@ -1920,12 +1746,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 47, + "id": 60, "name": "GoTrueClient.autoRefreshToken" } }, { - "id": 46, + "id": 59, "name": "currentSession", "kind": 1024, "kindString": "Property", @@ -1939,7 +1765,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 16, + "line": 22, "character": 28 } ], @@ -1958,12 +1784,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 46, + "id": 59, "name": "GoTrueClient.currentSession" } }, { - "id": 45, + "id": 58, "name": "currentUser", "kind": 1024, "kindString": "Property", @@ -1977,7 +1803,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 12, + "line": 18, "character": 25 } ], @@ -1996,12 +1822,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 45, + "id": 58, "name": "GoTrueClient.currentUser" } }, { - "id": 49, + "id": 62, "name": "localStorage", "kind": 1024, "kindString": "Property", @@ -2012,22 +1838,22 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 19, + "line": 25, "character": 26 } ], "type": { "type": "reference", - "name": "Storage" + "name": "SupportedStorage" }, "inheritedFrom": { "type": "reference", - "id": 49, + "id": 62, "name": "GoTrueClient.localStorage" } }, { - "id": 48, + "id": 61, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -2038,7 +1864,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 18, + "line": 24, "character": 28 } ], @@ -2048,12 +1874,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 48, + "id": 61, "name": "GoTrueClient.persistSession" } }, { - "id": 51, + "id": 64, "name": "refreshTokenTimer", "kind": 1024, "kindString": "Property", @@ -2065,7 +1891,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 21, + "line": 27, "character": 31 } ], @@ -2084,12 +1910,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 51, + "id": 64, "name": "GoTrueClient.refreshTokenTimer" } }, { - "id": 50, + "id": 63, "name": "stateChangeEmitters", "kind": 1024, "kindString": "Property", @@ -2100,7 +1926,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 20, + "line": 26, "character": 33 } ], @@ -2120,12 +1946,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 50, + "id": 63, "name": "GoTrueClient.stateChangeEmitters" } }, { - "id": 125, + "id": 140, "name": "getSessionFromUrl", "kind": 2048, "kindString": "Method", @@ -2134,7 +1960,7 @@ }, "signatures": [ { - "id": 126, + "id": 141, "name": "getSessionFromUrl", "kind": 4096, "kindString": "Call signature", @@ -2146,7 +1972,7 @@ }, "parameters": [ { - "id": 127, + "id": 142, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2164,7 +1990,7 @@ { "type": "reflection", "declaration": { - "id": 128, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2173,7 +1999,7 @@ }, "children": [ { - "id": 129, + "id": 144, "name": "storeSession", "kind": 32, "kindString": "Variable", @@ -2187,7 +2013,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 137, + "line": 143, "character": 20 } ], @@ -2215,7 +2041,7 @@ "title": "Variables", "kind": 32, "children": [ - 129 + 144 ] } ] @@ -2231,7 +2057,7 @@ { "type": "reflection", "declaration": { - "id": 130, + "id": 145, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2240,7 +2066,7 @@ }, "children": [ { - "id": 131, + "id": 146, "name": "data", "kind": 32, "kindString": "Variable", @@ -2250,7 +2076,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 139, + "line": 145, "character": 12 } ], @@ -2269,7 +2095,7 @@ } }, { - "id": 132, + "id": 147, "name": "error", "kind": 32, "kindString": "Variable", @@ -2279,7 +2105,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 140, + "line": 146, "character": 13 } ], @@ -2303,15 +2129,15 @@ "title": "Variables", "kind": 32, "children": [ - 131, - 132 + 146, + 147 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 138, + "line": 144, "character": 16 } ] @@ -2322,7 +2148,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } } @@ -2330,18 +2156,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 136, + "line": 142, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 125, + "id": 140, "name": "GoTrueClient.getSessionFromUrl" } }, { - "id": 137, + "id": 152, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -2350,7 +2176,7 @@ }, "signatures": [ { - "id": 138, + "id": 153, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -2363,7 +2189,7 @@ }, "parameters": [ { - "id": 139, + "id": 154, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2373,7 +2199,7 @@ "type": { "type": "reflection", "declaration": { - "id": 140, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2382,7 +2208,7 @@ }, "signatures": [ { - "id": 141, + "id": 156, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -2391,7 +2217,7 @@ }, "parameters": [ { - "id": 142, + "id": 157, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -2404,7 +2230,7 @@ } }, { - "id": 143, + "id": 158, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -2435,7 +2261,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 31 } ] @@ -2446,7 +2272,7 @@ "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 159, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2455,7 +2281,7 @@ }, "children": [ { - "id": 145, + "id": 160, "name": "data", "kind": 32, "kindString": "Variable", @@ -2465,7 +2291,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 156, + "line": 162, "character": 12 } ], @@ -2484,7 +2310,7 @@ } }, { - "id": 146, + "id": 161, "name": "error", "kind": 32, "kindString": "Variable", @@ -2494,7 +2320,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 157, + "line": 163, "character": 13 } ], @@ -2518,15 +2344,15 @@ "title": "Variables", "kind": 32, "children": [ - 145, - 146 + 160, + 161 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 91 } ] @@ -2534,7 +2360,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } } @@ -2542,18 +2368,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 155, + "line": 161, "character": 21 } ], "inheritedFrom": { "type": "reference", - "id": 137, + "id": 152, "name": "GoTrueClient.onAuthStateChange" } }, { - "id": 103, + "id": 118, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -2562,7 +2388,7 @@ }, "signatures": [ { - "id": 104, + "id": 119, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -2578,7 +2404,7 @@ { "type": "reflection", "declaration": { - "id": 105, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2587,7 +2413,7 @@ }, "children": [ { - "id": 106, + "id": 121, "name": "data", "kind": 32, "kindString": "Variable", @@ -2597,7 +2423,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 107, + "line": 113, "character": 12 } ], @@ -2616,7 +2442,7 @@ } }, { - "id": 108, + "id": 123, "name": "error", "kind": 32, "kindString": "Variable", @@ -2626,7 +2452,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 109, + "line": 115, "character": 13 } ], @@ -2645,7 +2471,7 @@ } }, { - "id": 107, + "id": 122, "name": "user", "kind": 32, "kindString": "Variable", @@ -2655,7 +2481,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 108, + "line": 114, "character": 12 } ], @@ -2679,16 +2505,16 @@ "title": "Variables", "kind": 32, "children": [ - 106, - 108, - 107 + 121, + 123, + 122 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 30 } ] @@ -2699,7 +2525,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } } @@ -2707,18 +2533,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 106, + "line": 112, "character": 18 } ], "inheritedFrom": { "type": "reference", - "id": 103, + "id": 118, "name": "GoTrueClient.refreshSession" } }, { - "id": 101, + "id": 116, "name": "session", "kind": 2048, "kindString": "Method", @@ -2727,7 +2553,7 @@ }, "signatures": [ { - "id": 102, + "id": 117, "name": "session", "kind": 4096, "kindString": "Call signature", @@ -2752,7 +2578,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } } @@ -2760,18 +2586,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 102, + "line": 108, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 101, + "id": 116, "name": "GoTrueClient.session" } }, { - "id": 122, + "id": 137, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2780,7 +2606,7 @@ }, "signatures": [ { - "id": 123, + "id": 138, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2792,7 +2618,7 @@ }, "parameters": [ { - "id": 124, + "id": 139, "name": "access_token", "kind": 32768, "kindString": "Parameter", @@ -2814,7 +2640,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } } @@ -2822,18 +2648,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 131, + "line": 137, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 122, + "id": 137, "name": "GoTrueClient.setAuth" } }, { - "id": 116, + "id": 131, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -2842,7 +2668,7 @@ }, "signatures": [ { - "id": 117, + "id": 132, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -2854,7 +2680,7 @@ }, "parameters": [ { - "id": 118, + "id": 133, "name": "refresh_token", "kind": 32768, "kindString": "Parameter", @@ -2876,7 +2702,7 @@ { "type": "reflection", "declaration": { - "id": 119, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2885,7 +2711,7 @@ }, "children": [ { - "id": 121, + "id": 136, "name": "error", "kind": 32, "kindString": "Variable", @@ -2895,7 +2721,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 125, + "line": 131, "character": 13 } ], @@ -2914,7 +2740,7 @@ } }, { - "id": 120, + "id": 135, "name": "session", "kind": 32, "kindString": "Variable", @@ -2924,7 +2750,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 124, + "line": 130, "character": 15 } ], @@ -2948,15 +2774,15 @@ "title": "Variables", "kind": 32, "children": [ - 121, - 120 + 136, + 135 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 47 } ] @@ -2967,7 +2793,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } } @@ -2975,18 +2801,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 123, + "line": 129, "character": 14 } ], "inheritedFrom": { "type": "reference", - "id": 116, + "id": 131, "name": "GoTrueClient.setSession" } }, { - "id": 65, + "id": 80, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -2995,7 +2821,7 @@ }, "signatures": [ { - "id": 66, + "id": 81, "name": "signIn", "kind": 4096, "kindString": "Call signature", @@ -3007,7 +2833,7 @@ }, "parameters": [ { - "id": 67, + "id": 82, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3018,7 +2844,7 @@ "type": { "type": "reflection", "declaration": { - "id": 68, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3027,7 +2853,7 @@ }, "children": [ { - "id": 69, + "id": 84, "name": "email", "kind": 32, "kindString": "Variable", @@ -3040,7 +2866,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 18 } ], @@ -3059,7 +2885,7 @@ } }, { - "id": 71, + "id": 86, "name": "password", "kind": 32, "kindString": "Variable", @@ -3072,7 +2898,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 35 } ], @@ -3091,7 +2917,7 @@ } }, { - "id": 70, + "id": 85, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3101,7 +2927,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 25 } ], @@ -3120,36 +2946,7 @@ } }, { - "id": 73, - "name": "provider", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, - "character": 59 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 75, + "id": 88, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3162,7 +2959,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 59 } ], @@ -3217,7 +3014,7 @@ } }, { - "id": 72, + "id": 87, "name": "refreshToken", "kind": 32, "kindString": "Variable", @@ -3230,7 +3027,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 49 } ], @@ -3254,18 +3051,18 @@ "title": "Variables", "kind": 32, "children": [ - 69, - 71, - 70, - 73, - 72 + 84, + 86, + 85, + 88, + 87 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 11 } ] @@ -3273,7 +3070,7 @@ } }, { - "id": 74, + "id": 89, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3291,7 +3088,7 @@ { "type": "reflection", "declaration": { - "id": 75, + "id": 90, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3300,7 +3097,7 @@ }, "children": [ { - "id": 76, + "id": 91, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3311,7 +3108,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 69, + "line": 75, "character": 18 } ], @@ -3330,7 +3127,7 @@ } }, { - "id": 77, + "id": 92, "name": "scopes", "kind": 32, "kindString": "Variable", @@ -3341,7 +3138,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 70, + "line": 76, "character": 14 } ], @@ -3365,8 +3162,8 @@ "title": "Variables", "kind": 32, "children": [ - 76, - 77 + 91, + 92 ] } ] @@ -3382,7 +3179,7 @@ { "type": "reflection", "declaration": { - "id": 78, + "id": 93, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3391,7 +3188,7 @@ }, "children": [ { - "id": 84, + "id": 99, "name": "data", "kind": 32, "kindString": "Variable", @@ -3401,7 +3198,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 77, + "line": 83, "character": 12 } ], @@ -3420,7 +3217,7 @@ } }, { - "id": 83, + "id": 98, "name": "error", "kind": 32, "kindString": "Variable", @@ -3430,7 +3227,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 76, + "line": 82, "character": 13 } ], @@ -3449,7 +3246,7 @@ } }, { - "id": 81, + "id": 96, "name": "provider", "kind": 32, "kindString": "Variable", @@ -3460,7 +3257,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 74, + "line": 80, "character": 16 } ], @@ -3470,7 +3267,7 @@ } }, { - "id": 79, + "id": 94, "name": "session", "kind": 32, "kindString": "Variable", @@ -3480,7 +3277,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 72, + "line": 78, "character": 15 } ], @@ -3499,7 +3296,7 @@ } }, { - "id": 82, + "id": 97, "name": "url", "kind": 32, "kindString": "Variable", @@ -3510,7 +3307,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 75, + "line": 81, "character": 11 } ], @@ -3529,7 +3326,7 @@ } }, { - "id": 80, + "id": 95, "name": "user", "kind": 32, "kindString": "Variable", @@ -3539,7 +3336,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 73, + "line": 79, "character": 12 } ], @@ -3563,19 +3360,19 @@ "title": "Variables", "kind": 32, "children": [ - 84, - 83, - 81, - 79, - 82, - 80 + 99, + 98, + 96, + 94, + 97, + 95 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 71, + "line": 77, "character": 16 } ] @@ -3586,7 +3383,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } } @@ -3594,18 +3391,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 68, + "line": 74, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 65, + "id": 80, "name": "GoTrueClient.signIn" } }, { - "id": 133, + "id": 148, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -3614,7 +3411,7 @@ }, "signatures": [ { - "id": 134, + "id": 149, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3622,7 +3419,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": { @@ -3631,7 +3428,7 @@ { "type": "reflection", "declaration": { - "id": 135, + "id": 150, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3640,7 +3437,7 @@ }, "children": [ { - "id": 136, + "id": 151, "name": "error", "kind": 32, "kindString": "Variable", @@ -3650,7 +3447,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 149, + "line": 155, "character": 13 } ], @@ -3674,14 +3471,14 @@ "title": "Variables", "kind": 32, "children": [ - 136 + 151 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 23 } ] @@ -3692,7 +3489,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } } @@ -3700,18 +3497,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 148, + "line": 154, "character": 11 } ], "inheritedFrom": { "type": "reference", - "id": 133, + "id": 148, "name": "GoTrueClient.signOut" } }, { - "id": 52, + "id": 65, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -3720,7 +3517,7 @@ }, "signatures": [ { - "id": 53, + "id": 66, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -3732,7 +3529,7 @@ }, "parameters": [ { - "id": 54, + "id": 67, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -3743,7 +3540,7 @@ "type": { "type": "reflection", "declaration": { - "id": 55, + "id": 68, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3752,7 +3549,7 @@ }, "children": [ { - "id": 56, + "id": 69, "name": "email", "kind": 32, "kindString": "Variable", @@ -3765,7 +3562,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 18 } ], @@ -3784,7 +3581,7 @@ } }, { - "id": 57, + "id": 70, "name": "password", "kind": 32, "kindString": "Variable", @@ -3797,7 +3594,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 28 } ], @@ -3816,7 +3613,7 @@ } }, { - "id": 56, + "id": 71, "name": "phone", "kind": 32, "kindString": "Variable", @@ -3829,7 +3626,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 35 } ], @@ -3853,16 +3650,16 @@ "title": "Variables", "kind": 32, "children": [ - 54, - 55, - 56 + 69, + 70, + 71 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 11 } ] @@ -3870,7 +3667,7 @@ } }, { - "id": 57, + "id": 72, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3888,7 +3685,7 @@ { "type": "reflection", "declaration": { - "id": 58, + "id": 73, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3897,7 +3694,7 @@ }, "children": [ { - "id": 59, + "id": 74, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -3908,7 +3705,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 51, + "line": 57, "character": 18 } ], @@ -3932,7 +3729,7 @@ "title": "Variables", "kind": 32, "children": [ - 59 + 74 ] } ] @@ -3948,7 +3745,7 @@ { "type": "reflection", "declaration": { - "id": 60, + "id": 75, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3957,7 +3754,7 @@ }, "children": [ { - "id": 64, + "id": 79, "name": "data", "kind": 32, "kindString": "Variable", @@ -3967,7 +3764,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 56, + "line": 62, "character": 12 } ], @@ -3990,7 +3787,7 @@ } }, { - "id": 63, + "id": 78, "name": "error", "kind": 32, "kindString": "Variable", @@ -4000,7 +3797,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 55, + "line": 61, "character": 13 } ], @@ -4019,7 +3816,7 @@ } }, { - "id": 62, + "id": 77, "name": "session", "kind": 32, "kindString": "Variable", @@ -4029,7 +3826,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 54, + "line": 60, "character": 15 } ], @@ -4048,7 +3845,7 @@ } }, { - "id": 61, + "id": 76, "name": "user", "kind": 32, "kindString": "Variable", @@ -4058,7 +3855,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 53, + "line": 59, "character": 12 } ], @@ -4082,17 +3879,17 @@ "title": "Variables", "kind": 32, "children": [ - 64, - 63, - 62, - 61 + 79, + 78, + 77, + 76 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 52, + "line": 58, "character": 16 } ] @@ -4103,7 +3900,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 52, + "id": 65, "name": "GoTrueClient.signUp" } } @@ -4111,18 +3908,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 50, + "line": 56, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 52, + "id": 65, "name": "GoTrueClient.signUp" } }, { - "id": 109, + "id": 124, "name": "update", "kind": 2048, "kindString": "Method", @@ -4131,7 +3928,7 @@ }, "signatures": [ { - "id": 110, + "id": 125, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -4143,7 +3940,7 @@ }, "parameters": [ { - "id": 111, + "id": 126, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4162,7 +3959,7 @@ { "type": "reflection", "declaration": { - "id": 112, + "id": 127, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4171,7 +3968,7 @@ }, "children": [ { - "id": 113, + "id": 128, "name": "data", "kind": 32, "kindString": "Variable", @@ -4181,17 +3978,13 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 115, + "line": 121, "character": 12 } ], "type": { "type": "union", "types": [ - { - "type": "reference", - "name": "Session" - }, { "type": "reference", "name": "User" @@ -4204,7 +3997,7 @@ } }, { - "id": 115, + "id": 130, "name": "error", "kind": 32, "kindString": "Variable", @@ -4214,7 +4007,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 117, + "line": 123, "character": 13 } ], @@ -4233,7 +4026,7 @@ } }, { - "id": 114, + "id": 129, "name": "user", "kind": 32, "kindString": "Variable", @@ -4243,7 +4036,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 116, + "line": 122, "character": 12 } ], @@ -4267,16 +4060,16 @@ "title": "Variables", "kind": 32, "children": [ - 113, - 115, - 114 + 128, + 130, + 129 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 48 } ] @@ -4287,7 +4080,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } } @@ -4295,18 +4088,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 114, + "line": 120, "character": 10 } ], "inheritedFrom": { "type": "reference", - "id": 109, + "id": 124, "name": "GoTrueClient.update" } }, { - "id": 99, + "id": 114, "name": "user", "kind": 2048, "kindString": "Method", @@ -4315,7 +4108,7 @@ }, "signatures": [ { - "id": 100, + "id": 115, "name": "user", "kind": 4096, "kindString": "Call signature", @@ -4341,7 +4134,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } } @@ -4349,18 +4142,18 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 98, + "line": 104, "character": 8 } ], "inheritedFrom": { "type": "reference", - "id": 99, + "id": 114, "name": "GoTrueClient.user" } }, { - "id": 85, + "id": 100, "name": "verifyOTP", "kind": 2048, "kindString": "Method", @@ -4369,7 +4162,7 @@ }, "signatures": [ { - "id": 86, + "id": 101, "name": "verifyOTP", "kind": 4096, "kindString": "Call signature", @@ -4381,7 +4174,7 @@ }, "parameters": [ { - "id": 87, + "id": 102, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4392,7 +4185,7 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4401,7 +4194,7 @@ }, "children": [ { - "id": 89, + "id": 104, "name": "phone", "kind": 32, "kindString": "Variable", @@ -4414,7 +4207,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 21 } ], @@ -4424,7 +4217,7 @@ } }, { - "id": 90, + "id": 105, "name": "token", "kind": 32, "kindString": "Variable", @@ -4437,7 +4230,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 28 } ], @@ -4452,15 +4245,15 @@ "title": "Variables", "kind": 32, "children": [ - 89, - 90 + 104, + 105 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 14 } ] @@ -4468,7 +4261,7 @@ } }, { - "id": 91, + "id": 106, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4486,7 +4279,7 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 107, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4495,7 +4288,7 @@ }, "children": [ { - "id": 93, + "id": 108, "name": "redirectTo", "kind": 32, "kindString": "Variable", @@ -4506,7 +4299,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 86, + "line": 92, "character": 18 } ], @@ -4530,7 +4323,7 @@ "title": "Variables", "kind": 32, "children": [ - 93 + 108 ] } ] @@ -4546,7 +4339,7 @@ { "type": "reflection", "declaration": { - "id": 94, + "id": 109, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4555,7 +4348,7 @@ }, "children": [ { - "id": 98, + "id": 113, "name": "data", "kind": 32, "kindString": "Variable", @@ -4565,7 +4358,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 91, + "line": 97, "character": 12 } ], @@ -4588,7 +4381,7 @@ } }, { - "id": 97, + "id": 112, "name": "error", "kind": 32, "kindString": "Variable", @@ -4598,7 +4391,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 90, + "line": 96, "character": 13 } ], @@ -4617,7 +4410,7 @@ } }, { - "id": 96, + "id": 111, "name": "session", "kind": 32, "kindString": "Variable", @@ -4627,7 +4420,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 89, + "line": 95, "character": 15 } ], @@ -4646,7 +4439,7 @@ } }, { - "id": 95, + "id": 110, "name": "user", "kind": 32, "kindString": "Variable", @@ -4656,7 +4449,7 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 88, + "line": 94, "character": 12 } ], @@ -4680,17 +4473,17 @@ "title": "Variables", "kind": 32, "children": [ - 98, - 97, - 96, - 95 + 113, + 112, + 111, + 110 ] } ], "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 87, + "line": 93, "character": 16 } ] @@ -4701,7 +4494,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4709,13 +4502,13 @@ "sources": [ { "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", - "line": 85, + "line": 91, "character": 13 } ], "inheritedFrom": { "type": "reference", - "id": 85, + "id": 100, "name": "GoTrueClient.verifyOTP" } } @@ -4725,46 +4518,46 @@ "title": "Constructors", "kind": 512, "children": [ - 31 + 54 ] }, { "title": "Properties", "kind": 1024, "children": [ - 44, - 47, - 46, - 45, - 49, - 48, - 51, - 50 + 57, + 60, + 59, + 58, + 62, + 61, + 64, + 63 ] }, { "title": "Methods", "kind": 2048, "children": [ - 125, - 137, - 103, - 101, - 122, + 140, + 152, + 118, 116, + 137, + 131, + 80, + 148, 65, - 133, - 50, - 109, - 99, - 85 + 124, + 114, + 100 ] } ], "sources": [ { "fileName": "src/lib/SupabaseAuthClient.ts", - "line": 3, + "line": 4, "character": 31 } ], @@ -4781,7 +4574,7 @@ "title": "Classes", "kind": 128, "children": [ - 30 + 53 ] } ], @@ -4794,7 +4587,7 @@ ] }, { - "id": 173, + "id": 188, "name": "\"lib/SupabaseQueryBuilder\"", "kind": 1, "kindString": "Module", @@ -4804,7 +4597,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts", "children": [ { - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder", "kind": 128, "kindString": "Class", @@ -4813,7 +4606,7 @@ }, "typeParameter": [ { - "id": 175, + "id": 190, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4824,7 +4617,7 @@ ], "children": [ { - "id": 178, + "id": 193, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4833,7 +4626,7 @@ }, "signatures": [ { - "id": 179, + "id": 194, "name": "new SupabaseQueryBuilder", "kind": 16384, "kindString": "Constructor signature", @@ -4842,7 +4635,7 @@ }, "parameters": [ { - "id": 180, + "id": 195, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -4855,7 +4648,7 @@ } }, { - "id": 181, + "id": 196, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -4866,7 +4659,7 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4875,7 +4668,7 @@ }, "children": [ { - "id": 183, + "id": 198, "name": "headers", "kind": 32, "kindString": "Variable", @@ -4892,7 +4685,7 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 199, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4901,7 +4694,7 @@ }, "indexSignature": [ { - "id": 185, + "id": 200, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -4910,7 +4703,7 @@ }, "parameters": [ { - "id": 186, + "id": 201, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -4933,7 +4726,7 @@ } }, { - "id": 188, + "id": 203, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -4953,7 +4746,7 @@ } }, { - "id": 187, + "id": 202, "name": "schema", "kind": 32, "kindString": "Variable", @@ -4973,7 +4766,7 @@ } }, { - "id": 189, + "id": 204, "name": "table", "kind": 32, "kindString": "Variable", @@ -4998,10 +4791,10 @@ "title": "Variables", "kind": 32, "children": [ - 183, - 188, - 187, - 189 + 198, + 203, + 202, + 204 ] } ], @@ -5018,7 +4811,7 @@ ], "type": { "type": "reference", - "id": 174, + "id": 189, "name": "SupabaseQueryBuilder" }, "overwrites": { @@ -5040,7 +4833,7 @@ } }, { - "id": 177, + "id": 192, "name": "_realtime", "kind": 1024, "kindString": "Property", @@ -5061,7 +4854,7 @@ } }, { - "id": 176, + "id": 191, "name": "_subscription", "kind": 1024, "kindString": "Property", @@ -5078,12 +4871,12 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } }, { - "id": 248, + "id": 263, "name": "body", "kind": 1024, "kindString": "Property", @@ -5129,12 +4922,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 248, + "id": 263, "name": "PostgrestBuilder.body" } }, { - "id": 243, + "id": 258, "name": "headers", "kind": 1024, "kindString": "Property", @@ -5152,7 +4945,7 @@ "type": { "type": "reflection", "declaration": { - "id": 244, + "id": 259, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5161,7 +4954,7 @@ }, "indexSignature": [ { - "id": 245, + "id": 260, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -5170,7 +4963,7 @@ }, "parameters": [ { - "id": 246, + "id": 261, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5200,12 +4993,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 243, + "id": 258, "name": "PostgrestBuilder.headers" } }, { - "id": 241, + "id": 256, "name": "method", "kind": 1024, "kindString": "Property", @@ -5247,12 +5040,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 241, + "id": 256, "name": "PostgrestBuilder.method" } }, { - "id": 247, + "id": 262, "name": "schema", "kind": 1024, "kindString": "Property", @@ -5283,12 +5076,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 247, + "id": 262, "name": "PostgrestBuilder.schema" } }, { - "id": 249, + "id": 264, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -5323,12 +5116,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 249, + "id": 264, "name": "PostgrestBuilder.shouldThrowOnError" } }, { - "id": 242, + "id": 257, "name": "url", "kind": 1024, "kindString": "Property", @@ -5349,12 +5142,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 242, + "id": 257, "name": "PostgrestBuilder.url" } }, { - "id": 235, + "id": 250, "name": "delete", "kind": 2048, "kindString": "Method", @@ -5363,7 +5156,7 @@ }, "signatures": [ { - "id": 236, + "id": 251, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -5375,7 +5168,7 @@ }, "parameters": [ { - "id": 237, + "id": 252, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -5387,7 +5180,7 @@ "type": { "type": "reflection", "declaration": { - "id": 238, + "id": 253, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5396,7 +5189,7 @@ }, "children": [ { - "id": 240, + "id": 255, "name": "count", "kind": 32, "kindString": "Variable", @@ -5440,7 +5233,7 @@ } }, { - "id": 239, + "id": 254, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5481,8 +5274,8 @@ "title": "Variables", "kind": 32, "children": [ - 240, - 239 + 255, + 254 ] } ], @@ -5509,7 +5302,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } } @@ -5523,12 +5316,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 235, + "id": 250, "name": "PostgrestQueryBuilder.delete" } }, { - "id": 204, + "id": 219, "name": "insert", "kind": 2048, "kindString": "Method", @@ -5537,7 +5330,7 @@ }, "signatures": [ { - "id": 205, + "id": 220, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5549,7 +5342,7 @@ }, "parameters": [ { - "id": 206, + "id": 221, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5589,7 +5382,7 @@ } }, { - "id": 207, + "id": 222, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5607,7 +5400,7 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5616,7 +5409,7 @@ }, "children": [ { - "id": 210, + "id": 225, "name": "count", "kind": 32, "kindString": "Variable", @@ -5654,7 +5447,7 @@ } }, { - "id": 209, + "id": 224, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5689,8 +5482,8 @@ "title": "Variables", "kind": 32, "children": [ - 210, - 209 + 225, + 224 ] } ] @@ -5712,12 +5505,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 211, + "id": 226, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -5734,7 +5527,7 @@ }, "parameters": [ { - "id": 212, + "id": 227, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5771,7 +5564,7 @@ } }, { - "id": 213, + "id": 228, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5789,7 +5582,7 @@ { "type": "reflection", "declaration": { - "id": 214, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5798,7 +5591,7 @@ }, "children": [ { - "id": 218, + "id": 233, "name": "count", "kind": 32, "kindString": "Variable", @@ -5836,7 +5629,7 @@ } }, { - "id": 216, + "id": 231, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -5866,7 +5659,7 @@ } }, { - "id": 217, + "id": 232, "name": "returning", "kind": 32, "kindString": "Variable", @@ -5896,7 +5689,7 @@ } }, { - "id": 215, + "id": 230, "name": "upsert", "kind": 32, "kindString": "Variable", @@ -5935,10 +5728,10 @@ "title": "Variables", "kind": 32, "children": [ - 218, - 216, - 217, - 215 + 233, + 231, + 232, + 230 ] } ] @@ -5960,7 +5753,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } } @@ -5979,12 +5772,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 204, + "id": 219, "name": "PostgrestQueryBuilder.insert" } }, { - "id": 190, + "id": 205, "name": "on", "kind": 2048, "kindString": "Method", @@ -5993,7 +5786,7 @@ }, "signatures": [ { - "id": 191, + "id": 206, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -6005,7 +5798,7 @@ }, "parameters": [ { - "id": 192, + "id": 207, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -6017,12 +5810,12 @@ }, "type": { "type": "reference", - "id": 28, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 193, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6035,7 +5828,7 @@ "type": { "type": "reflection", "declaration": { - "id": 194, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6044,7 +5837,7 @@ }, "signatures": [ { - "id": 195, + "id": 210, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6053,7 +5846,7 @@ }, "parameters": [ { - "id": 196, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -6062,7 +5855,7 @@ }, "type": { "type": "reference", - "id": 19, + "id": 42, "typeArguments": [ { "type": "typeParameter", @@ -6092,7 +5885,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -6106,7 +5899,7 @@ ] }, { - "id": 197, + "id": 212, "name": "select", "kind": 2048, "kindString": "Method", @@ -6115,7 +5908,7 @@ }, "signatures": [ { - "id": 198, + "id": 213, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -6127,7 +5920,7 @@ }, "parameters": [ { - "id": 199, + "id": 214, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -6153,7 +5946,7 @@ } }, { - "id": 200, + "id": 215, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6165,7 +5958,7 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 216, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6174,7 +5967,7 @@ }, "children": [ { - "id": 203, + "id": 218, "name": "count", "kind": 32, "kindString": "Variable", @@ -6218,7 +6011,7 @@ } }, { - "id": 202, + "id": 217, "name": "head", "kind": 32, "kindString": "Variable", @@ -6259,8 +6052,8 @@ "title": "Variables", "kind": 32, "children": [ - 203, - 202 + 218, + 217 ] } ], @@ -6287,7 +6080,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } } @@ -6301,12 +6094,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 197, + "id": 212, "name": "PostgrestQueryBuilder.select" } }, { - "id": 252, + "id": 267, "name": "then", "kind": 2048, "kindString": "Method", @@ -6315,7 +6108,7 @@ }, "signatures": [ { - "id": 253, + "id": 268, "name": "then", "kind": 4096, "kindString": "Call signature", @@ -6324,7 +6117,7 @@ }, "typeParameter": [ { - "id": 254, + "id": 269, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", @@ -6333,7 +6126,7 @@ } }, { - "id": 255, + "id": 270, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -6344,7 +6137,7 @@ ], "parameters": [ { - "id": 256, + "id": 271, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -6358,7 +6151,7 @@ { "type": "reflection", "declaration": { - "id": 257, + "id": 272, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6367,7 +6160,7 @@ }, "signatures": [ { - "id": 258, + "id": 273, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6376,7 +6169,7 @@ }, "parameters": [ { - "id": 259, + "id": 274, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6457,7 +6250,7 @@ } }, { - "id": 260, + "id": 275, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -6471,7 +6264,7 @@ { "type": "reflection", "declaration": { - "id": 261, + "id": 276, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6480,7 +6273,7 @@ }, "signatures": [ { - "id": 262, + "id": 277, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -6489,7 +6282,7 @@ }, "parameters": [ { - "id": 263, + "id": 278, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -6587,7 +6380,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } } @@ -6601,12 +6394,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 252, + "id": 267, "name": "PostgrestBuilder.then" } }, { - "id": 250, + "id": 265, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -6615,7 +6408,7 @@ }, "signatures": [ { - "id": 251, + "id": 266, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -6638,7 +6431,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } } @@ -6652,12 +6445,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 250, + "id": 265, "name": "PostgrestBuilder.throwOnError" } }, { - "id": 228, + "id": 243, "name": "update", "kind": 2048, "kindString": "Method", @@ -6666,7 +6459,7 @@ }, "signatures": [ { - "id": 229, + "id": 244, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -6678,7 +6471,7 @@ }, "parameters": [ { - "id": 230, + "id": 245, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6700,7 +6493,7 @@ } }, { - "id": 231, + "id": 246, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6712,7 +6505,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 247, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6721,7 +6514,7 @@ }, "children": [ { - "id": 234, + "id": 249, "name": "count", "kind": 32, "kindString": "Variable", @@ -6765,7 +6558,7 @@ } }, { - "id": 233, + "id": 248, "name": "returning", "kind": 32, "kindString": "Variable", @@ -6806,8 +6599,8 @@ "title": "Variables", "kind": 32, "children": [ - 234, - 233 + 249, + 248 ] } ], @@ -6834,7 +6627,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } } @@ -6848,12 +6641,12 @@ ], "inheritedFrom": { "type": "reference", - "id": 228, + "id": 243, "name": "PostgrestQueryBuilder.update" } }, { - "id": 219, + "id": 234, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -6862,7 +6655,7 @@ }, "signatures": [ { - "id": 220, + "id": 235, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -6874,7 +6667,7 @@ }, "parameters": [ { - "id": 221, + "id": 236, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -6914,7 +6707,7 @@ } }, { - "id": 222, + "id": 237, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -6926,7 +6719,7 @@ "type": { "type": "reflection", "declaration": { - "id": 223, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6935,7 +6728,7 @@ }, "children": [ { - "id": 226, + "id": 241, "name": "count", "kind": 32, "kindString": "Variable", @@ -6979,7 +6772,7 @@ } }, { - "id": 227, + "id": 242, "name": "ignoreDuplicates", "kind": 32, "kindString": "Variable", @@ -7015,7 +6808,7 @@ } }, { - "id": 224, + "id": 239, "name": "onConflict", "kind": 32, "kindString": "Variable", @@ -7047,7 +6840,7 @@ } }, { - "id": 225, + "id": 240, "name": "returning", "kind": 32, "kindString": "Variable", @@ -7088,10 +6881,10 @@ "title": "Variables", "kind": 32, "children": [ - 226, - 227, - 224, - 225 + 241, + 242, + 239, + 240 ] } ], @@ -7118,7 +6911,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7132,7 +6925,7 @@ ], "inheritedFrom": { "type": "reference", - "id": 219, + "id": 234, "name": "PostgrestQueryBuilder.upsert" } } @@ -7142,35 +6935,35 @@ "title": "Constructors", "kind": 512, "children": [ - 178 + 193 ] }, { "title": "Properties", "kind": 1024, "children": [ - 177, - 176, - 248, - 243, - 241, - 247, - 249, - 242 + 192, + 191, + 263, + 258, + 256, + 262, + 264, + 257 ] }, { "title": "Methods", "kind": 2048, "children": [ - 235, - 204, - 190, - 197, - 252, 250, - 228, - 219 + 219, + 205, + 212, + 267, + 265, + 243, + 234 ] } ], @@ -7218,7 +7011,7 @@ "title": "Classes", "kind": 128, "children": [ - 174 + 189 ] } ], @@ -7231,7 +7024,7 @@ ] }, { - "id": 147, + "id": 162, "name": "\"lib/SupabaseRealtimeClient\"", "kind": 1, "kindString": "Module", @@ -7241,7 +7034,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts", "children": [ { - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient", "kind": 128, "kindString": "Class", @@ -7250,7 +7043,7 @@ }, "children": [ { - "id": 150, + "id": 165, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7259,7 +7052,7 @@ }, "signatures": [ { - "id": 151, + "id": 166, "name": "new SupabaseRealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -7268,7 +7061,7 @@ }, "parameters": [ { - "id": 152, + "id": 167, "name": "socket", "kind": 32768, "kindString": "Parameter", @@ -7281,7 +7074,7 @@ } }, { - "id": 153, + "id": 168, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -7294,7 +7087,7 @@ } }, { - "id": 154, + "id": 169, "name": "tableName", "kind": 32768, "kindString": "Parameter", @@ -7309,7 +7102,7 @@ ], "type": { "type": "reference", - "id": 148, + "id": 163, "name": "SupabaseRealtimeClient" } } @@ -7323,7 +7116,7 @@ ] }, { - "id": 149, + "id": 164, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -7343,7 +7136,7 @@ } }, { - "id": 155, + "id": 170, "name": "getPayloadRecords", "kind": 2048, "kindString": "Method", @@ -7353,7 +7146,7 @@ }, "signatures": [ { - "id": 156, + "id": 171, "name": "getPayloadRecords", "kind": 4096, "kindString": "Call signature", @@ -7362,7 +7155,7 @@ }, "parameters": [ { - "id": 157, + "id": 172, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7378,7 +7171,7 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7387,7 +7180,7 @@ }, "children": [ { - "id": 159, + "id": 174, "name": "new", "kind": 32, "kindString": "Variable", @@ -7404,7 +7197,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7415,7 +7208,7 @@ } }, { - "id": 161, + "id": 176, "name": "old", "kind": 32, "kindString": "Variable", @@ -7432,7 +7225,7 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7448,8 +7241,8 @@ "title": "Variables", "kind": 32, "children": [ - 159, - 161 + 174, + 176 ] } ] @@ -7466,7 +7259,7 @@ ] }, { - "id": 163, + "id": 178, "name": "on", "kind": 2048, "kindString": "Method", @@ -7475,7 +7268,7 @@ }, "signatures": [ { - "id": 164, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7487,7 +7280,7 @@ }, "parameters": [ { - "id": 165, + "id": 180, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -7499,12 +7292,12 @@ }, "type": { "type": "reference", - "id": 28, + "id": 51, "name": "SupabaseEventTypes" } }, { - "id": 166, + "id": 181, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7517,7 +7310,7 @@ "type": { "type": "reflection", "declaration": { - "id": 167, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7526,7 +7319,7 @@ }, "signatures": [ { - "id": 168, + "id": 183, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7535,7 +7328,7 @@ }, "parameters": [ { - "id": 169, + "id": 184, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7544,7 +7337,7 @@ }, "type": { "type": "reference", - "id": 19, + "id": 42, "typeArguments": [ { "type": "intrinsic", @@ -7587,7 +7380,7 @@ ] }, { - "id": 170, + "id": 185, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7596,7 +7389,7 @@ }, "signatures": [ { - "id": 171, + "id": 186, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7608,7 +7401,7 @@ }, "parameters": [ { - "id": 172, + "id": 187, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7642,23 +7435,23 @@ "title": "Constructors", "kind": 512, "children": [ - 150 + 165 ] }, { "title": "Properties", "kind": 1024, "children": [ - 149 + 164 ] }, { "title": "Methods", "kind": 2048, "children": [ - 155, - 163, - 170 + 170, + 178, + 185 ] } ], @@ -7676,7 +7469,7 @@ "title": "Classes", "kind": 128, "children": [ - 148 + 163 ] } ], @@ -7770,7 +7563,7 @@ ] }, { - "id": 337, + "id": 356, "name": "\"lib/helpers\"", "kind": 1, "kindString": "Module", @@ -7780,7 +7573,7 @@ "originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts", "children": [ { - "id": 338, + "id": 357, "name": "uuid", "kind": 64, "kindString": "Function", @@ -7789,7 +7582,7 @@ }, "signatures": [ { - "id": 339, + "id": 358, "name": "uuid", "kind": 4096, "kindString": "Call signature", @@ -7816,7 +7609,7 @@ "title": "Functions", "kind": 64, "children": [ - 338 + 357 ] } ], @@ -7840,6 +7633,630 @@ "children": [ { "id": 7, + "name": "SupabaseAuthClientOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 25, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 15, + "name": "__type.autoRefreshToken" + } + }, + { + "id": 28, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + }, + "inheritedFrom": { + "type": "reference", + "id": 18, + "name": "__type.cookieOptions" + } + }, + { + "id": 24, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 14, + "name": "__type.detectSessionInUrl" + } + }, + { + "id": 20, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 22, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 23, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10, + "name": "__type.headers" + } + }, + { + "id": 27, + "name": "localStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + }, + "inheritedFrom": { + "type": "reference", + "id": 17, + "name": "__type.localStorage" + } + }, + { + "id": 26, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 16, + "name": "__type.persistSession" + } + }, + { + "id": 19, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 9, + "name": "__type.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 25, + 28, + 24, + 20, + 27, + 26, + 19 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 42 + } + ], + "extendedTypes": [ + { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 15, + "name": "autoRefreshToken", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 18, + "name": "cookieOptions", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 46, + "character": 21 + } + ], + "type": { + "type": "reference", + "name": "CookieOptions" + } + }, + { + "id": 14, + "name": "detectSessionInUrl", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 42, + "character": 26 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 10, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 11, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 12, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 13, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 17, + "name": "localStorage", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 45, + "character": 20 + } + ], + "type": { + "type": "reference", + "name": "SupportedStorage" + } + }, + { + "id": 16, + "name": "persistSession", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 44, + "character": 22 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + }, + { + "id": 9, + "name": "url", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts", + "line": 38, + "character": 11 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 15, + 18, + 14, + 10, + 17, + 16, + 9 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 50 + } + ] + } + } + ] + }, + { + "id": 29, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 4, + "character": 24 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "unknown", + "name": "0" + }, + "objectType": { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "GoTrueClient" + } + } + ], + "name": "ConstructorParameters" + } + } + }, + { + "id": 30, "name": "SupabaseClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -7849,14 +8266,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 33 } ], "type": { "type": "reflection", "declaration": { - "id": 8, + "id": 31, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7865,7 +8282,7 @@ }, "children": [ { - "id": 14, + "id": 37, "name": "autoRefreshToken", "kind": 32, "kindString": "Variable", @@ -7879,7 +8296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 20, "character": 18 } ], @@ -7902,7 +8319,7 @@ } }, { - "id": 16, + "id": 39, "name": "detectSessionInUrl", "kind": 32, "kindString": "Variable", @@ -7916,7 +8333,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 23, + "line": 28, "character": 20 } ], @@ -7939,7 +8356,7 @@ } }, { - "id": 10, + "id": 33, "name": "headers", "kind": 32, "kindString": "Variable", @@ -7953,7 +8370,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 11, + "line": 16, "character": 9 } ], @@ -7967,7 +8384,7 @@ { "type": "reflection", "declaration": { - "id": 11, + "id": 34, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7976,7 +8393,7 @@ }, "indexSignature": [ { - "id": 12, + "id": 35, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -7985,7 +8402,7 @@ }, "parameters": [ { - "id": 13, + "id": 36, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8010,7 +8427,7 @@ } }, { - "id": 17, + "id": 40, "name": "localStorage", "kind": 32, "kindString": "Variable", @@ -8024,17 +8441,24 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 27, + "line": 32, "character": 14 } ], "type": { - "type": "reference", - "name": "Storage" + "type": "indexedAccess", + "indexType": { + "type": "stringLiteral", + "value": "localStorage" + }, + "objectType": { + "type": "reference", + "name": "SupabaseAuthClientOptions" + } } }, { - "id": 15, + "id": 38, "name": "persistSession", "kind": 32, "kindString": "Variable", @@ -8048,7 +8472,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 19, + "line": 24, "character": 16 } ], @@ -8071,7 +8495,7 @@ } }, { - "id": 18, + "id": 41, "name": "realtime", "kind": 32, "kindString": "Variable", @@ -8085,7 +8509,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 37, "character": 10 } ], @@ -8095,7 +8519,7 @@ } }, { - "id": 9, + "id": 32, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8109,7 +8533,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 12, "character": 8 } ], @@ -8133,20 +8557,20 @@ "title": "Variables", "kind": 32, "children": [ - 14, - 16, - 10, - 17, - 15, - 18, - 9 + 37, + 39, + 33, + 40, + 38, + 41, + 32 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 3, + "line": 8, "character": 35 } ] @@ -8154,7 +8578,7 @@ } }, { - "id": 28, + "id": 51, "name": "SupabaseEventTypes", "kind": 4194304, "kindString": "Type alias", @@ -8164,7 +8588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 51, "character": 30 } ], @@ -8191,7 +8615,7 @@ } }, { - "id": 19, + "id": 42, "name": "SupabaseRealtimePayload", "kind": 4194304, "kindString": "Type alias", @@ -8200,7 +8624,7 @@ }, "typeParameter": [ { - "id": 20, + "id": 43, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -8212,14 +8636,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 35 } ], "type": { "type": "reflection", "declaration": { - "id": 21, + "id": 44, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8228,7 +8652,7 @@ }, "children": [ { - "id": 22, + "id": 45, "name": "commit_timestamp", "kind": 32, "kindString": "Variable", @@ -8238,7 +8662,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 41, "character": 18 } ], @@ -8248,7 +8672,7 @@ } }, { - "id": 23, + "id": 46, "name": "eventType", "kind": 32, "kindString": "Variable", @@ -8258,7 +8682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 37, + "line": 42, "character": 11 } ], @@ -8281,7 +8705,7 @@ } }, { - "id": 26, + "id": 49, "name": "new", "kind": 32, "kindString": "Variable", @@ -8294,7 +8718,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 46, "character": 5 } ], @@ -8304,7 +8728,7 @@ } }, { - "id": 27, + "id": 50, "name": "old", "kind": 32, "kindString": "Variable", @@ -8317,7 +8741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 43, + "line": 48, "character": 5 } ], @@ -8327,7 +8751,7 @@ } }, { - "id": 24, + "id": 47, "name": "schema", "kind": 32, "kindString": "Variable", @@ -8337,7 +8761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 43, "character": 8 } ], @@ -8347,7 +8771,7 @@ } }, { - "id": 25, + "id": 48, "name": "table", "kind": 32, "kindString": "Variable", @@ -8357,7 +8781,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 39, + "line": 44, "character": 7 } ], @@ -8372,19 +8796,19 @@ "title": "Variables", "kind": 32, "children": [ - 22, - 23, - 26, - 27, - 24, - 25 + 45, + 46, + 49, + 50, + 47, + 48 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 35, + "line": 40, "character": 40 } ] @@ -8393,13 +8817,21 @@ } ], "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [ + 7 + ] + }, { "title": "Type aliases", "kind": 4194304, "children": [ - 7, - 28, - 19 + 29, + 30, + 51, + 42 ] } ], @@ -8467,14 +8899,15 @@ "title": "Modules", "kind": 1, "children": [ - 264, - 331, - 27, - 173, - 147, - 1, - 337, - 4 + 279, + 350, + 52, + 188, + 162, + 3, + 356, + 6, + 1 ] } ]