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] 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 ] } ]