Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

updates all specs

Paul Copplestone6b457d4e6e87
diff --git a/web/spec/combined.json b/web/spec/combined.json
index 561ca09186e..b49605166de 100644
--- a/web/spec/combined.json
+++ b/web/spec/combined.json
@@ -9,7 +9,7 @@
"originalName": "",
"children": [
{
- "id": 264,
+ "id": 279,
"name": "\"SupabaseClient\"",
"kind": 1,
"kindString": "Module",
@@ -19,7 +19,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts",
"children": [
{
- "id": 265,
+ "id": 280,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -32,7 +32,7 @@
},
"children": [
{
- "id": 273,
+ "id": 288,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -44,7 +44,7 @@
},
"signatures": [
{
- "id": 276,
+ "id": 291,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -56,7 +56,7 @@
},
"parameters": [
{
- "id": 277,
+ "id": 292,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -72,7 +72,7 @@
}
},
{
- "id": 278,
+ "id": 293,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -88,7 +88,7 @@
}
},
{
- "id": 279,
+ "id": 294,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -98,14 +98,14 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 30,
"name": "SupabaseClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 265,
+ "id": 280,
"name": "SupabaseClient"
}
}
@@ -113,13 +113,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 34,
+ "line": 33,
"character": 36
}
]
},
{
- "id": 266,
+ "id": 281,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -132,18 +132,18 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 27,
+ "line": 26,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient"
}
},
{
- "id": 270,
+ "id": 285,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -154,7 +154,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 32,
+ "line": 31,
"character": 19
}
],
@@ -164,7 +164,7 @@
}
},
{
- "id": 272,
+ "id": 287,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -175,7 +175,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 34,
+ "line": 33,
"character": 20
}
],
@@ -185,7 +185,7 @@
}
},
{
- "id": 269,
+ "id": 284,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -196,7 +196,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 31,
+ "line": 30,
"character": 23
}
],
@@ -206,7 +206,7 @@
}
},
{
- "id": 268,
+ "id": 283,
"name": "restUrl",
"kind": 1024,
"kindString": "Property",
@@ -217,7 +217,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 30,
+ "line": 29,
"character": 19
}
],
@@ -227,7 +227,7 @@
}
},
{
- "id": 267,
+ "id": 282,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -238,7 +238,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 29,
+ "line": 28,
"character": 18
}
],
@@ -248,7 +248,7 @@
}
},
{
- "id": 271,
+ "id": 286,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -259,7 +259,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 33,
+ "line": 32,
"character": 22
}
],
@@ -269,7 +269,7 @@
}
},
{
- "id": 275,
+ "id": 290,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -284,7 +284,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 49,
+ "line": 48,
"character": 25
}
],
@@ -294,7 +294,7 @@
}
},
{
- "id": 274,
+ "id": 289,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -309,7 +309,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 48,
+ "line": 47,
"character": 25
}
],
@@ -319,7 +319,7 @@
}
},
{
- "id": 280,
+ "id": 295,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -331,7 +331,7 @@
},
"getSignature": [
{
- "id": 281,
+ "id": 296,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
@@ -350,13 +350,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 74,
+ "line": 73,
"character": 13
}
]
},
{
- "id": 320,
+ "id": 339,
"name": "_closeChannel",
"kind": 2048,
"kindString": "Method",
@@ -366,7 +366,7 @@
},
"signatures": [
{
- "id": 321,
+ "id": 340,
"name": "_closeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -375,7 +375,7 @@
},
"parameters": [
{
- "id": 322,
+ "id": 341,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -403,13 +403,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 186,
+ "line": 187,
"character": 23
}
]
},
{
- "id": 297,
+ "id": 312,
"name": "_closeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -419,7 +419,7 @@
},
"signatures": [
{
- "id": 298,
+ "id": 313,
"name": "_closeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -428,7 +428,7 @@
},
"parameters": [
{
- "id": 299,
+ "id": 314,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -456,13 +456,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 132,
+ "line": 131,
"character": 34
}
]
},
{
- "id": 315,
+ "id": 334,
"name": "_getAuthHeaders",
"kind": 2048,
"kindString": "Method",
@@ -472,7 +472,7 @@
},
"signatures": [
{
- "id": 316,
+ "id": 335,
"name": "_getAuthHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -482,7 +482,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -491,7 +491,7 @@
},
"indexSignature": [
{
- "id": 318,
+ "id": 337,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -500,7 +500,7 @@
},
"parameters": [
{
- "id": 319,
+ "id": 338,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -522,7 +522,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 179,
"character": 28
}
]
@@ -533,13 +533,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 179,
"character": 25
}
]
},
{
- "id": 313,
+ "id": 332,
"name": "_initPostgRESTClient",
"kind": 2048,
"kindString": "Method",
@@ -549,7 +549,7 @@
},
"signatures": [
{
- "id": 314,
+ "id": 333,
"name": "_initPostgRESTClient",
"kind": 4096,
"kindString": "Call signature",
@@ -565,13 +565,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 171,
+ "line": 172,
"character": 30
}
]
},
{
- "id": 310,
+ "id": 329,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -581,7 +581,7 @@
},
"signatures": [
{
- "id": 311,
+ "id": 330,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
@@ -590,7 +590,7 @@
},
"parameters": [
{
- "id": 312,
+ "id": 331,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -613,13 +613,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 164,
+ "line": 165,
"character": 29
}
]
},
{
- "id": 302,
+ "id": 317,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -629,7 +629,7 @@
},
"signatures": [
{
- "id": 303,
+ "id": 318,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
@@ -638,7 +638,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 319,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -649,7 +649,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 305,
+ "id": 320,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -658,7 +658,7 @@
},
"children": [
{
- "id": 306,
+ "id": 321,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -668,7 +668,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 146,
+ "line": 145,
"character": 20
}
],
@@ -691,7 +691,7 @@
}
},
{
- "id": 308,
+ "id": 323,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -701,7 +701,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 148,
+ "line": 147,
"character": 22
}
],
@@ -724,8 +724,8 @@
}
},
{
- "id": 309,
- "name": "localStorage",
+ "id": 325,
+ "name": "headers",
"kind": 32,
"kindString": "Variable",
"flags": {
@@ -735,6 +735,73 @@
{
"fileName": "src/SupabaseClient.ts",
"line": 149,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 326,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 327,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 328,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 324,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 148,
"character": 16
}
],
@@ -747,13 +814,42 @@
},
{
"type": "reference",
- "name": "Storage"
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "getItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "setItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
}
]
}
},
{
- "id": 307,
+ "id": 322,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -763,7 +859,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 147,
+ "line": 146,
"character": 18
}
],
@@ -791,17 +887,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 306,
- 308,
- 309,
- 307
+ 321,
+ 323,
+ 325,
+ 324,
+ 322
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 145,
+ "line": 144,
"character": 34
}
]
@@ -811,7 +908,7 @@
],
"type": {
"type": "reference",
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient"
}
}
@@ -819,13 +916,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 145,
+ "line": 144,
"character": 33
}
]
},
{
- "id": 282,
+ "id": 297,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -834,7 +931,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 298,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -846,7 +943,7 @@
},
"typeParameter": [
{
- "id": 284,
+ "id": 299,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -857,7 +954,7 @@
],
"parameters": [
{
- "id": 285,
+ "id": 300,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -875,7 +972,7 @@
],
"type": {
"type": "reference",
- "id": 174,
+ "id": 189,
"typeArguments": [
{
"type": "typeParameter",
@@ -893,13 +990,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 83,
+ "line": 82,
"character": 6
}
]
},
{
- "id": 300,
+ "id": 315,
"name": "getSubscriptions",
"kind": 2048,
"kindString": "Method",
@@ -908,7 +1005,7 @@
},
"signatures": [
{
- "id": 301,
+ "id": 316,
"name": "getSubscriptions",
"kind": 4096,
"kindString": "Call signature",
@@ -930,13 +1027,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 141,
+ "line": 140,
"character": 18
}
]
},
{
- "id": 294,
+ "id": 309,
"name": "removeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -945,7 +1042,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 310,
"name": "removeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -957,7 +1054,7 @@
},
"parameters": [
{
- "id": 296,
+ "id": 311,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -988,13 +1085,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 115,
+ "line": 114,
"character": 20
}
]
},
{
- "id": 286,
+ "id": 301,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -1003,7 +1100,7 @@
},
"signatures": [
{
- "id": 287,
+ "id": 302,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -1015,7 +1112,7 @@
},
"typeParameter": [
{
- "id": 288,
+ "id": 303,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -1026,7 +1123,7 @@
],
"parameters": [
{
- "id": 289,
+ "id": 304,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -1042,7 +1139,7 @@
}
},
{
- "id": 290,
+ "id": 305,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -1068,7 +1165,7 @@
}
},
{
- "id": 291,
+ "id": 306,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1079,7 +1176,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1088,7 +1185,7 @@
},
"children": [
{
- "id": 293,
+ "id": 308,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -1101,7 +1198,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 104,
+ "line": 103,
"character": 11
}
],
@@ -1134,14 +1231,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 293
+ 308
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 103,
+ "line": 102,
"character": 20
}
]
@@ -1165,7 +1262,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 101,
+ "line": 100,
"character": 5
}
]
@@ -1176,58 +1273,58 @@
"title": "Constructors",
"kind": 512,
"children": [
- 273
+ 288
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 266,
- 270,
- 272,
- 269,
- 268,
- 267,
- 271,
- 275,
- 274
+ 281,
+ 285,
+ 287,
+ 284,
+ 283,
+ 282,
+ 286,
+ 290,
+ 289
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
- 280
+ 295
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 320,
+ 339,
+ 312,
+ 334,
+ 332,
+ 329,
+ 317,
297,
315,
- 313,
- 310,
- 302,
- 282,
- 300,
- 294,
- 286
+ 309,
+ 301
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 23,
+ "line": 22,
"character": 35
}
]
},
{
- "id": 323,
+ "id": 342,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -1236,7 +1333,7 @@
},
"children": [
{
- "id": 325,
+ "id": 344,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -1255,7 +1352,7 @@
"defaultValue": "true"
},
{
- "id": 327,
+ "id": 346,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -1274,7 +1371,7 @@
"defaultValue": "true"
},
{
- "id": 329,
+ "id": 347,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -1282,21 +1379,21 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 15,
+ "line": 14,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 330,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 337,
+ "id": 349,
"name": "X-Client-Info",
"kind": 32,
"kindString": "Variable",
@@ -1320,7 +1417,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 337
+ 349
]
}
]
@@ -1329,26 +1426,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 328,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 14,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- },
- "defaultValue": "globalThis.localStorage"
- },
- {
- "id": 326,
+ "id": 345,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -1367,7 +1445,7 @@
"defaultValue": "true"
},
{
- "id": 324,
+ "id": 343,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -1391,12 +1469,11 @@
"title": "Variables",
"kind": 32,
"children": [
- 325,
- 327,
- 329,
- 328,
- 326,
- 324
+ 344,
+ 346,
+ 347,
+ 345,
+ 343
]
}
],
@@ -1418,14 +1495,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 265
+ 280
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 323
+ 342
]
}
],
@@ -1438,7 +1515,7 @@
]
},
{
- "id": 331,
+ "id": 350,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -1448,7 +1525,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts",
"children": [
{
- "id": 332,
+ "id": 351,
"name": "createClient",
"kind": 64,
"kindString": "Function",
@@ -1461,7 +1538,7 @@
},
"signatures": [
{
- "id": 333,
+ "id": 352,
"name": "createClient",
"kind": 4096,
"kindString": "Call signature",
@@ -1473,7 +1550,7 @@
},
"parameters": [
{
- "id": 334,
+ "id": 353,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -1486,7 +1563,7 @@
}
},
{
- "id": 335,
+ "id": 354,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -1499,7 +1576,7 @@
}
},
{
- "id": 336,
+ "id": 355,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1509,14 +1586,14 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 30,
"name": "SupabaseClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 265,
+ "id": 280,
"name": "SupabaseClient"
}
}
@@ -1535,7 +1612,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 332
+ 351
]
}
],
@@ -1548,7 +1625,7 @@
]
},
{
- "id": 29,
+ "id": 52,
"name": "\"lib/SupabaseAuthClient\"",
"kind": 1,
"kindString": "Module",
@@ -1558,7 +1635,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts",
"children": [
{
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient",
"kind": 128,
"kindString": "Class",
@@ -1567,7 +1644,7 @@
},
"children": [
{
- "id": 31,
+ "id": 54,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1576,7 +1653,7 @@
},
"signatures": [
{
- "id": 32,
+ "id": 55,
"name": "new SupabaseAuthClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1585,7 +1662,7 @@
},
"parameters": [
{
- "id": 33,
+ "id": 56,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1593,266 +1670,15 @@
"isExported": true
},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 34,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 41,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 8,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 40,
- "name": "detectSessionInUrl",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 7,
- "character": 22
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 36,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 6,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 37,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 38,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 39,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 43,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 10,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- }
- },
- {
- "id": 42,
- "name": "persistSession",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 9,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 35,
- "name": "url",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 5,
- "character": 7
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 41,
- 40,
- 36,
- 43,
- 42,
- 35
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 4,
- "character": 22
- }
- ]
- }
+ "type": "reference",
+ "id": 7,
+ "name": "SupabaseAuthClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient"
},
"overwrites": {
@@ -1864,7 +1690,7 @@
"sources": [
{
"fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 3,
+ "line": 4,
"character": 54
}
],
@@ -1874,7 +1700,7 @@
}
},
{
- "id": 44,
+ "id": 57,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -1887,7 +1713,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 8,
+ "line": 14,
"character": 7
}
],
@@ -1897,12 +1723,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 44,
+ "id": 57,
"name": "GoTrueClient.api"
}
},
{
- "id": 47,
+ "id": 60,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -1913,7 +1739,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 17,
+ "line": 23,
"character": 30
}
],
@@ -1923,12 +1749,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 47,
+ "id": 60,
"name": "GoTrueClient.autoRefreshToken"
}
},
{
- "id": 46,
+ "id": 59,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -1942,7 +1768,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 16,
+ "line": 22,
"character": 28
}
],
@@ -1961,12 +1787,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 46,
+ "id": 59,
"name": "GoTrueClient.currentSession"
}
},
{
- "id": 45,
+ "id": 58,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -1980,7 +1806,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 12,
+ "line": 18,
"character": 25
}
],
@@ -1999,12 +1825,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 58,
"name": "GoTrueClient.currentUser"
}
},
{
- "id": 49,
+ "id": 62,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -2015,22 +1841,22 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 19,
+ "line": 25,
"character": 26
}
],
"type": {
"type": "reference",
- "name": "Storage"
+ "name": "SupportedStorage"
},
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 62,
"name": "GoTrueClient.localStorage"
}
},
{
- "id": 48,
+ "id": 61,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -2041,7 +1867,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 18,
+ "line": 24,
"character": 28
}
],
@@ -2051,12 +1877,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 48,
+ "id": 61,
"name": "GoTrueClient.persistSession"
}
},
{
- "id": 51,
+ "id": 64,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
@@ -2068,7 +1894,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 21,
+ "line": 27,
"character": 31
}
],
@@ -2087,12 +1913,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 51,
+ "id": 64,
"name": "GoTrueClient.refreshTokenTimer"
}
},
{
- "id": 50,
+ "id": 63,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -2103,7 +1929,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 20,
+ "line": 26,
"character": 33
}
],
@@ -2123,12 +1949,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 50,
+ "id": 63,
"name": "GoTrueClient.stateChangeEmitters"
}
},
{
- "id": 125,
+ "id": 140,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -2137,7 +1963,7 @@
},
"signatures": [
{
- "id": 126,
+ "id": 141,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -2149,7 +1975,7 @@
},
"parameters": [
{
- "id": 127,
+ "id": 142,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2167,7 +1993,7 @@
{
"type": "reflection",
"declaration": {
- "id": 128,
+ "id": 143,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2176,7 +2002,7 @@
},
"children": [
{
- "id": 129,
+ "id": 144,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -2190,7 +2016,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 137,
+ "line": 143,
"character": 20
}
],
@@ -2218,7 +2044,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 129
+ 144
]
}
]
@@ -2234,7 +2060,7 @@
{
"type": "reflection",
"declaration": {
- "id": 130,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2243,7 +2069,7 @@
},
"children": [
{
- "id": 131,
+ "id": 146,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2253,7 +2079,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 139,
+ "line": 145,
"character": 12
}
],
@@ -2272,7 +2098,7 @@
}
},
{
- "id": 132,
+ "id": 147,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2282,7 +2108,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 140,
+ "line": 146,
"character": 13
}
],
@@ -2306,15 +2132,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 131,
- 132
+ 146,
+ 147
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 138,
+ "line": 144,
"character": 16
}
]
@@ -2325,7 +2151,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 125,
+ "id": 140,
"name": "GoTrueClient.getSessionFromUrl"
}
}
@@ -2333,18 +2159,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 136,
+ "line": 142,
"character": 21
}
],
"inheritedFrom": {
"type": "reference",
- "id": 125,
+ "id": 140,
"name": "GoTrueClient.getSessionFromUrl"
}
},
{
- "id": 137,
+ "id": 152,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -2353,7 +2179,7 @@
},
"signatures": [
{
- "id": 138,
+ "id": 153,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -2366,7 +2192,7 @@
},
"parameters": [
{
- "id": 139,
+ "id": 154,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -2376,7 +2202,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 140,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2385,7 +2211,7 @@
},
"signatures": [
{
- "id": 141,
+ "id": 156,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -2394,7 +2220,7 @@
},
"parameters": [
{
- "id": 142,
+ "id": 157,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -2407,7 +2233,7 @@
}
},
{
- "id": 143,
+ "id": 158,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -2438,7 +2264,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 155,
+ "line": 161,
"character": 31
}
]
@@ -2449,7 +2275,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 144,
+ "id": 159,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2458,7 +2284,7 @@
},
"children": [
{
- "id": 145,
+ "id": 160,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2468,7 +2294,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 156,
+ "line": 162,
"character": 12
}
],
@@ -2487,7 +2313,7 @@
}
},
{
- "id": 146,
+ "id": 161,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2497,7 +2323,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 157,
+ "line": 163,
"character": 13
}
],
@@ -2521,15 +2347,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 145,
- 146
+ 160,
+ 161
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 155,
+ "line": 161,
"character": 91
}
]
@@ -2537,7 +2363,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 137,
+ "id": 152,
"name": "GoTrueClient.onAuthStateChange"
}
}
@@ -2545,18 +2371,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 155,
+ "line": 161,
"character": 21
}
],
"inheritedFrom": {
"type": "reference",
- "id": 137,
+ "id": 152,
"name": "GoTrueClient.onAuthStateChange"
}
},
{
- "id": 103,
+ "id": 118,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -2565,7 +2391,7 @@
},
"signatures": [
{
- "id": 104,
+ "id": 119,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2581,7 +2407,7 @@
{
"type": "reflection",
"declaration": {
- "id": 105,
+ "id": 120,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2590,7 +2416,7 @@
},
"children": [
{
- "id": 106,
+ "id": 121,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2600,7 +2426,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 107,
+ "line": 113,
"character": 12
}
],
@@ -2619,7 +2445,7 @@
}
},
{
- "id": 108,
+ "id": 123,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2629,7 +2455,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 109,
+ "line": 115,
"character": 13
}
],
@@ -2648,7 +2474,7 @@
}
},
{
- "id": 107,
+ "id": 122,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2658,7 +2484,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 108,
+ "line": 114,
"character": 12
}
],
@@ -2682,16 +2508,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 106,
- 108,
- 107
+ 121,
+ 123,
+ 122
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 106,
+ "line": 112,
"character": 30
}
]
@@ -2702,7 +2528,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 103,
+ "id": 118,
"name": "GoTrueClient.refreshSession"
}
}
@@ -2710,18 +2536,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 106,
+ "line": 112,
"character": 18
}
],
"inheritedFrom": {
"type": "reference",
- "id": 103,
+ "id": 118,
"name": "GoTrueClient.refreshSession"
}
},
{
- "id": 101,
+ "id": 116,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -2730,7 +2556,7 @@
},
"signatures": [
{
- "id": 102,
+ "id": 117,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -2755,7 +2581,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 101,
+ "id": 116,
"name": "GoTrueClient.session"
}
}
@@ -2763,18 +2589,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 102,
+ "line": 108,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 101,
+ "id": 116,
"name": "GoTrueClient.session"
}
},
{
- "id": 122,
+ "id": 137,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -2783,7 +2609,7 @@
},
"signatures": [
{
- "id": 123,
+ "id": 138,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -2795,7 +2621,7 @@
},
"parameters": [
{
- "id": 124,
+ "id": 139,
"name": "access_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2817,7 +2643,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 137,
"name": "GoTrueClient.setAuth"
}
}
@@ -2825,18 +2651,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 131,
+ "line": 137,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 137,
"name": "GoTrueClient.setAuth"
}
},
{
- "id": 116,
+ "id": 131,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -2845,7 +2671,7 @@
},
"signatures": [
{
- "id": 117,
+ "id": 132,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2857,7 +2683,7 @@
},
"parameters": [
{
- "id": 118,
+ "id": 133,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2879,7 +2705,7 @@
{
"type": "reflection",
"declaration": {
- "id": 119,
+ "id": 134,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2888,7 +2714,7 @@
},
"children": [
{
- "id": 121,
+ "id": 136,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2898,7 +2724,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 125,
+ "line": 131,
"character": 13
}
],
@@ -2917,7 +2743,7 @@
}
},
{
- "id": 120,
+ "id": 135,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -2927,7 +2753,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 124,
+ "line": 130,
"character": 15
}
],
@@ -2951,15 +2777,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 121,
- 120
+ 136,
+ 135
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 123,
+ "line": 129,
"character": 47
}
]
@@ -2970,7 +2796,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 131,
"name": "GoTrueClient.setSession"
}
}
@@ -2978,18 +2804,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 123,
+ "line": 129,
"character": 14
}
],
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 131,
"name": "GoTrueClient.setSession"
}
},
{
- "id": 65,
+ "id": 80,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -2998,7 +2824,7 @@
},
"signatures": [
{
- "id": 66,
+ "id": 81,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -3010,7 +2836,7 @@
},
"parameters": [
{
- "id": 67,
+ "id": 82,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3021,7 +2847,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 68,
+ "id": 83,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3030,7 +2856,7 @@
},
"children": [
{
- "id": 69,
+ "id": 84,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -3043,7 +2869,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 18
}
],
@@ -3062,7 +2888,7 @@
}
},
{
- "id": 71,
+ "id": 86,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -3075,7 +2901,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 35
}
],
@@ -3094,7 +2920,7 @@
}
},
{
- "id": 70,
+ "id": 85,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -3104,7 +2930,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 25
}
],
@@ -3123,7 +2949,7 @@
}
},
{
- "id": 73,
+ "id": 88,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3136,7 +2962,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 59
}
],
@@ -3191,7 +3017,7 @@
}
},
{
- "id": 72,
+ "id": 87,
"name": "refreshToken",
"kind": 32,
"kindString": "Variable",
@@ -3204,7 +3030,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 49
}
],
@@ -3228,18 +3054,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 69,
- 71,
- 70,
- 73,
- 72
+ 84,
+ 86,
+ 85,
+ 88,
+ 87
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 11
}
]
@@ -3247,7 +3073,7 @@
}
},
{
- "id": 74,
+ "id": 89,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3265,7 +3091,7 @@
{
"type": "reflection",
"declaration": {
- "id": 75,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3274,7 +3100,7 @@
},
"children": [
{
- "id": 76,
+ "id": 91,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3285,7 +3111,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 69,
+ "line": 75,
"character": 18
}
],
@@ -3304,7 +3130,7 @@
}
},
{
- "id": 77,
+ "id": 92,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -3315,7 +3141,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 70,
+ "line": 76,
"character": 14
}
],
@@ -3339,8 +3165,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 76,
- 77
+ 91,
+ 92
]
}
]
@@ -3356,7 +3182,7 @@
{
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 93,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3365,7 +3191,7 @@
},
"children": [
{
- "id": 84,
+ "id": 99,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3375,7 +3201,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 77,
+ "line": 83,
"character": 12
}
],
@@ -3394,7 +3220,7 @@
}
},
{
- "id": 83,
+ "id": 98,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3404,7 +3230,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 76,
+ "line": 82,
"character": 13
}
],
@@ -3423,7 +3249,7 @@
}
},
{
- "id": 81,
+ "id": 96,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3434,7 +3260,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 74,
+ "line": 80,
"character": 16
}
],
@@ -3444,7 +3270,7 @@
}
},
{
- "id": 79,
+ "id": 94,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3454,7 +3280,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 72,
+ "line": 78,
"character": 15
}
],
@@ -3473,7 +3299,7 @@
}
},
{
- "id": 82,
+ "id": 97,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -3484,7 +3310,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 75,
+ "line": 81,
"character": 11
}
],
@@ -3503,7 +3329,7 @@
}
},
{
- "id": 80,
+ "id": 95,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3513,7 +3339,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 73,
+ "line": 79,
"character": 12
}
],
@@ -3537,19 +3363,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 84,
- 83,
- 81,
- 79,
- 82,
- 80
+ 99,
+ 98,
+ 96,
+ 94,
+ 97,
+ 95
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 71,
+ "line": 77,
"character": 16
}
]
@@ -3560,7 +3386,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 65,
+ "id": 80,
"name": "GoTrueClient.signIn"
}
}
@@ -3568,18 +3394,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 65,
+ "id": 80,
"name": "GoTrueClient.signIn"
}
},
{
- "id": 133,
+ "id": 148,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -3588,7 +3414,7 @@
},
"signatures": [
{
- "id": 134,
+ "id": 149,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -3596,7 +3422,7 @@
"isExported": true
},
"comment": {
- "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
"text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"
},
"type": {
@@ -3605,7 +3431,7 @@
{
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 150,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3614,7 +3440,7 @@
},
"children": [
{
- "id": 136,
+ "id": 151,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3624,7 +3450,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 149,
+ "line": 155,
"character": 13
}
],
@@ -3648,14 +3474,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 136
+ 151
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 148,
+ "line": 154,
"character": 23
}
]
@@ -3666,7 +3492,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 148,
"name": "GoTrueClient.signOut"
}
}
@@ -3674,18 +3500,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 148,
+ "line": 154,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 148,
"name": "GoTrueClient.signOut"
}
},
{
- "id": 52,
+ "id": 65,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -3694,7 +3520,7 @@
},
"signatures": [
{
- "id": 53,
+ "id": 66,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -3706,7 +3532,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 67,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3717,7 +3543,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 68,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3726,7 +3552,7 @@
},
"children": [
{
- "id": 56,
+ "id": 69,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -3739,7 +3565,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 18
}
],
@@ -3758,7 +3584,7 @@
}
},
{
- "id": 57,
+ "id": 70,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -3771,7 +3597,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 28
}
],
@@ -3790,7 +3616,7 @@
}
},
{
- "id": 56,
+ "id": 71,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -3803,7 +3629,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 35
}
],
@@ -3827,16 +3653,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 54,
- 55,
- 56
+ 69,
+ 70,
+ 71
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 11
}
]
@@ -3844,7 +3670,7 @@
}
},
{
- "id": 57,
+ "id": 72,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3862,7 +3688,7 @@
{
"type": "reflection",
"declaration": {
- "id": 58,
+ "id": 73,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3871,7 +3697,7 @@
},
"children": [
{
- "id": 59,
+ "id": 74,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3882,7 +3708,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 51,
+ "line": 57,
"character": 18
}
],
@@ -3906,7 +3732,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 59
+ 74
]
}
]
@@ -3922,7 +3748,7 @@
{
"type": "reflection",
"declaration": {
- "id": 60,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3931,7 +3757,7 @@
},
"children": [
{
- "id": 64,
+ "id": 79,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3941,7 +3767,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 56,
+ "line": 62,
"character": 12
}
],
@@ -3964,7 +3790,7 @@
}
},
{
- "id": 63,
+ "id": 78,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3974,7 +3800,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 55,
+ "line": 61,
"character": 13
}
],
@@ -3993,7 +3819,7 @@
}
},
{
- "id": 62,
+ "id": 77,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4003,7 +3829,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 54,
+ "line": 60,
"character": 15
}
],
@@ -4022,7 +3848,7 @@
}
},
{
- "id": 61,
+ "id": 76,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4032,7 +3858,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 53,
+ "line": 59,
"character": 12
}
],
@@ -4056,17 +3882,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 64,
- 63,
- 62,
- 61
+ 79,
+ 78,
+ 77,
+ 76
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 52,
+ "line": 58,
"character": 16
}
]
@@ -4077,7 +3903,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 52,
+ "id": 65,
"name": "GoTrueClient.signUp"
}
}
@@ -4085,18 +3911,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 52,
+ "id": 65,
"name": "GoTrueClient.signUp"
}
},
{
- "id": 109,
+ "id": 124,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -4105,7 +3931,7 @@
},
"signatures": [
{
- "id": 110,
+ "id": 125,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -4117,7 +3943,7 @@
},
"parameters": [
{
- "id": 111,
+ "id": 126,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -4136,7 +3962,7 @@
{
"type": "reflection",
"declaration": {
- "id": 112,
+ "id": 127,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4145,7 +3971,7 @@
},
"children": [
{
- "id": 113,
+ "id": 128,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4155,7 +3981,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 115,
+ "line": 121,
"character": 12
}
],
@@ -4174,7 +4000,7 @@
}
},
{
- "id": 115,
+ "id": 130,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4184,7 +4010,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 117,
+ "line": 123,
"character": 13
}
],
@@ -4203,7 +4029,7 @@
}
},
{
- "id": 114,
+ "id": 129,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4213,7 +4039,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 116,
+ "line": 122,
"character": 12
}
],
@@ -4237,16 +4063,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 113,
- 115,
- 114
+ 128,
+ 130,
+ 129
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 114,
+ "line": 120,
"character": 48
}
]
@@ -4257,7 +4083,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 109,
+ "id": 124,
"name": "GoTrueClient.update"
}
}
@@ -4265,18 +4091,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 114,
+ "line": 120,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 109,
+ "id": 124,
"name": "GoTrueClient.update"
}
},
{
- "id": 99,
+ "id": 114,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -4285,7 +4111,7 @@
},
"signatures": [
{
- "id": 100,
+ "id": 115,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -4311,7 +4137,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 114,
"name": "GoTrueClient.user"
}
}
@@ -4319,18 +4145,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 98,
+ "line": 104,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 114,
"name": "GoTrueClient.user"
}
},
{
- "id": 85,
+ "id": 100,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -4339,7 +4165,7 @@
},
"signatures": [
{
- "id": 86,
+ "id": 101,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -4351,7 +4177,7 @@
},
"parameters": [
{
- "id": 87,
+ "id": 102,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4362,7 +4188,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4371,7 +4197,7 @@
},
"children": [
{
- "id": 89,
+ "id": 104,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -4384,7 +4210,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 21
}
],
@@ -4394,7 +4220,7 @@
}
},
{
- "id": 90,
+ "id": 105,
"name": "token",
"kind": 32,
"kindString": "Variable",
@@ -4407,7 +4233,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 28
}
],
@@ -4422,15 +4248,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 89,
- 90
+ 104,
+ 105
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 14
}
]
@@ -4438,7 +4264,7 @@
}
},
{
- "id": 91,
+ "id": 106,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4456,7 +4282,7 @@
{
"type": "reflection",
"declaration": {
- "id": 92,
+ "id": 107,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4465,7 +4291,7 @@
},
"children": [
{
- "id": 93,
+ "id": 108,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -4476,7 +4302,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 86,
+ "line": 92,
"character": 18
}
],
@@ -4500,7 +4326,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 93
+ 108
]
}
]
@@ -4516,7 +4342,7 @@
{
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 109,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4525,7 +4351,7 @@
},
"children": [
{
- "id": 98,
+ "id": 113,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4535,7 +4361,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 91,
+ "line": 97,
"character": 12
}
],
@@ -4558,7 +4384,7 @@
}
},
{
- "id": 97,
+ "id": 112,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4568,7 +4394,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 90,
+ "line": 96,
"character": 13
}
],
@@ -4587,7 +4413,7 @@
}
},
{
- "id": 96,
+ "id": 111,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4597,7 +4423,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 89,
+ "line": 95,
"character": 15
}
],
@@ -4616,7 +4442,7 @@
}
},
{
- "id": 95,
+ "id": 110,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4626,7 +4452,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 88,
+ "line": 94,
"character": 12
}
],
@@ -4650,17 +4476,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 98,
- 97,
- 96,
- 95
+ 113,
+ 112,
+ 111,
+ 110
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 87,
+ "line": 93,
"character": 16
}
]
@@ -4671,7 +4497,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 85,
+ "id": 100,
"name": "GoTrueClient.verifyOTP"
}
}
@@ -4679,13 +4505,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 13
}
],
"inheritedFrom": {
"type": "reference",
- "id": 85,
+ "id": 100,
"name": "GoTrueClient.verifyOTP"
}
}
@@ -4695,46 +4521,46 @@
"title": "Constructors",
"kind": 512,
"children": [
- 29
+ 54
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 42,
- 45,
- 44,
- 43,
- 47,
- 46,
- 49,
- 48
+ 57,
+ 60,
+ 59,
+ 58,
+ 62,
+ 61,
+ 64,
+ 63
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 125,
- 137,
- 103,
- 101,
- 122,
+ 140,
+ 152,
+ 118,
116,
+ 137,
+ 131,
+ 80,
+ 148,
65,
- 133,
- 50,
- 109,
- 99,
- 85
+ 124,
+ 114,
+ 100
]
}
],
"sources": [
{
"fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 3,
+ "line": 4,
"character": 31
}
],
@@ -4751,7 +4577,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 28
+ 53
]
}
],
@@ -4764,7 +4590,7 @@
]
},
{
- "id": 173,
+ "id": 188,
"name": "\"lib/SupabaseQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -4774,7 +4600,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts",
"children": [
{
- "id": 174,
+ "id": 189,
"name": "SupabaseQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -4783,7 +4609,7 @@
},
"typeParameter": [
{
- "id": 175,
+ "id": 190,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4794,7 +4620,7 @@
],
"children": [
{
- "id": 178,
+ "id": 193,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4803,7 +4629,7 @@
},
"signatures": [
{
- "id": 179,
+ "id": 194,
"name": "new SupabaseQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4812,7 +4638,7 @@
},
"parameters": [
{
- "id": 180,
+ "id": 195,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4825,7 +4651,7 @@
}
},
{
- "id": 181,
+ "id": 196,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4836,7 +4662,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 182,
+ "id": 197,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4845,7 +4671,7 @@
},
"children": [
{
- "id": 183,
+ "id": 198,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4862,7 +4688,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 184,
+ "id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4871,7 +4697,7 @@
},
"indexSignature": [
{
- "id": 185,
+ "id": 200,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4880,7 +4706,7 @@
},
"parameters": [
{
- "id": 186,
+ "id": 201,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4903,7 +4729,7 @@
}
},
{
- "id": 188,
+ "id": 203,
"name": "realtime",
"kind": 32,
"kindString": "Variable",
@@ -4923,7 +4749,7 @@
}
},
{
- "id": 187,
+ "id": 202,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -4943,7 +4769,7 @@
}
},
{
- "id": 189,
+ "id": 204,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -4968,10 +4794,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 183,
- 188,
- 187,
- 189
+ 198,
+ 203,
+ 202,
+ 204
]
}
],
@@ -4988,7 +4814,7 @@
],
"type": {
"type": "reference",
- "id": 174,
+ "id": 189,
"name": "SupabaseQueryBuilder"
},
"overwrites": {
@@ -5010,7 +4836,7 @@
}
},
{
- "id": 177,
+ "id": 192,
"name": "_realtime",
"kind": 1024,
"kindString": "Property",
@@ -5031,7 +4857,7 @@
}
},
{
- "id": 176,
+ "id": 191,
"name": "_subscription",
"kind": 1024,
"kindString": "Property",
@@ -5048,12 +4874,12 @@
],
"type": {
"type": "reference",
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient"
}
},
{
- "id": 248,
+ "id": 263,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -5099,12 +4925,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 248,
+ "id": 263,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 243,
+ "id": 258,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -5122,7 +4948,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 259,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5131,7 +4957,7 @@
},
"indexSignature": [
{
- "id": 245,
+ "id": 260,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -5140,7 +4966,7 @@
},
"parameters": [
{
- "id": 246,
+ "id": 261,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -5170,12 +4996,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 243,
+ "id": 258,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 241,
+ "id": 256,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -5217,12 +5043,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 241,
+ "id": 256,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 247,
+ "id": 262,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -5253,12 +5079,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 247,
+ "id": 262,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 249,
+ "id": 264,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -5293,12 +5119,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 249,
+ "id": 264,
"name": "PostgrestBuilder.shouldThrowOnError"
}
},
{
- "id": 242,
+ "id": 257,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -5319,12 +5145,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 242,
+ "id": 257,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 235,
+ "id": 250,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -5333,7 +5159,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 251,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -5345,7 +5171,7 @@
},
"parameters": [
{
- "id": 237,
+ "id": 252,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5357,7 +5183,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 238,
+ "id": 253,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5366,7 +5192,7 @@
},
"children": [
{
- "id": 240,
+ "id": 255,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5410,7 +5236,7 @@
}
},
{
- "id": 239,
+ "id": 254,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5451,8 +5277,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 240,
- 239
+ 255,
+ 254
]
}
],
@@ -5479,7 +5305,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 250,
"name": "PostgrestQueryBuilder.delete"
}
}
@@ -5493,12 +5319,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 250,
"name": "PostgrestQueryBuilder.delete"
}
},
{
- "id": 204,
+ "id": 219,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -5507,7 +5333,7 @@
},
"signatures": [
{
- "id": 205,
+ "id": 220,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5519,7 +5345,7 @@
},
"parameters": [
{
- "id": 206,
+ "id": 221,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5559,7 +5385,7 @@
}
},
{
- "id": 207,
+ "id": 222,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5577,7 +5403,7 @@
{
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 223,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5586,7 +5412,7 @@
},
"children": [
{
- "id": 210,
+ "id": 225,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5624,7 +5450,7 @@
}
},
{
- "id": 209,
+ "id": 224,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5659,8 +5485,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 210,
- 209
+ 225,
+ 224
]
}
]
@@ -5682,12 +5508,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 204,
+ "id": 219,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 211,
+ "id": 226,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5704,7 +5530,7 @@
},
"parameters": [
{
- "id": 212,
+ "id": 227,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5741,7 +5567,7 @@
}
},
{
- "id": 213,
+ "id": 228,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5759,7 +5585,7 @@
{
"type": "reflection",
"declaration": {
- "id": 214,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5768,7 +5594,7 @@
},
"children": [
{
- "id": 218,
+ "id": 233,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5806,7 +5632,7 @@
}
},
{
- "id": 216,
+ "id": 231,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -5836,7 +5662,7 @@
}
},
{
- "id": 217,
+ "id": 232,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5866,7 +5692,7 @@
}
},
{
- "id": 215,
+ "id": 230,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -5905,10 +5731,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 218,
- 216,
- 217,
- 215
+ 233,
+ 231,
+ 232,
+ 230
]
}
]
@@ -5930,7 +5756,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 204,
+ "id": 219,
"name": "PostgrestQueryBuilder.insert"
}
}
@@ -5949,12 +5775,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 204,
+ "id": 219,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 190,
+ "id": 205,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -5963,7 +5789,7 @@
},
"signatures": [
{
- "id": 191,
+ "id": 206,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -5975,7 +5801,7 @@
},
"parameters": [
{
- "id": 192,
+ "id": 207,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -5987,12 +5813,12 @@
},
"type": {
"type": "reference",
- "id": 28,
+ "id": 51,
"name": "SupabaseEventTypes"
}
},
{
- "id": 193,
+ "id": 208,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -6005,7 +5831,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 209,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6014,7 +5840,7 @@
},
"signatures": [
{
- "id": 195,
+ "id": 210,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6023,7 +5849,7 @@
},
"parameters": [
{
- "id": 196,
+ "id": 211,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -6032,7 +5858,7 @@
},
"type": {
"type": "reference",
- "id": 19,
+ "id": 42,
"typeArguments": [
{
"type": "typeParameter",
@@ -6062,7 +5888,7 @@
],
"type": {
"type": "reference",
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient"
}
}
@@ -6076,7 +5902,7 @@
]
},
{
- "id": 197,
+ "id": 212,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -6085,7 +5911,7 @@
},
"signatures": [
{
- "id": 198,
+ "id": 213,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -6097,7 +5923,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 214,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -6123,7 +5949,7 @@
}
},
{
- "id": 200,
+ "id": 215,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6135,7 +5961,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6144,7 +5970,7 @@
},
"children": [
{
- "id": 203,
+ "id": 218,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6188,7 +6014,7 @@
}
},
{
- "id": 202,
+ "id": 217,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -6229,8 +6055,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 203,
- 202
+ 218,
+ 217
]
}
],
@@ -6257,7 +6083,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 197,
+ "id": 212,
"name": "PostgrestQueryBuilder.select"
}
}
@@ -6271,12 +6097,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 197,
+ "id": 212,
"name": "PostgrestQueryBuilder.select"
}
},
{
- "id": 252,
+ "id": 267,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -6285,7 +6111,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 268,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -6294,7 +6120,7 @@
},
"typeParameter": [
{
- "id": 254,
+ "id": 269,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -6303,7 +6129,7 @@
}
},
{
- "id": 255,
+ "id": 270,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -6314,7 +6140,7 @@
],
"parameters": [
{
- "id": 256,
+ "id": 271,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -6328,7 +6154,7 @@
{
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6337,7 +6163,7 @@
},
"signatures": [
{
- "id": 258,
+ "id": 273,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6346,7 +6172,7 @@
},
"parameters": [
{
- "id": 259,
+ "id": 274,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6427,7 +6253,7 @@
}
},
{
- "id": 260,
+ "id": 275,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -6441,7 +6267,7 @@
{
"type": "reflection",
"declaration": {
- "id": 261,
+ "id": 276,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6450,7 +6276,7 @@
},
"signatures": [
{
- "id": 262,
+ "id": 277,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6459,7 +6285,7 @@
},
"parameters": [
{
- "id": 263,
+ "id": 278,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -6557,7 +6383,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 252,
+ "id": 267,
"name": "PostgrestBuilder.then"
}
}
@@ -6571,12 +6397,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 252,
+ "id": 267,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 250,
+ "id": 265,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -6585,7 +6411,7 @@
},
"signatures": [
{
- "id": 251,
+ "id": 266,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -6608,7 +6434,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 250,
+ "id": 265,
"name": "PostgrestBuilder.throwOnError"
}
}
@@ -6622,12 +6448,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 250,
+ "id": 265,
"name": "PostgrestBuilder.throwOnError"
}
},
{
- "id": 228,
+ "id": 243,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -6636,7 +6462,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 244,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -6648,7 +6474,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 245,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6670,7 +6496,7 @@
}
},
{
- "id": 231,
+ "id": 246,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6682,7 +6508,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 232,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6691,7 +6517,7 @@
},
"children": [
{
- "id": 234,
+ "id": 249,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6735,7 +6561,7 @@
}
},
{
- "id": 233,
+ "id": 248,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -6776,8 +6602,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 234,
- 233
+ 249,
+ 248
]
}
],
@@ -6804,7 +6630,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 228,
+ "id": 243,
"name": "PostgrestQueryBuilder.update"
}
}
@@ -6818,12 +6644,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 228,
+ "id": 243,
"name": "PostgrestQueryBuilder.update"
}
},
{
- "id": 219,
+ "id": 234,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -6832,7 +6658,7 @@
},
"signatures": [
{
- "id": 220,
+ "id": 235,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
@@ -6844,7 +6670,7 @@
},
"parameters": [
{
- "id": 221,
+ "id": 236,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6884,7 +6710,7 @@
}
},
{
- "id": 222,
+ "id": 237,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6896,7 +6722,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 223,
+ "id": 238,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6905,7 +6731,7 @@
},
"children": [
{
- "id": 226,
+ "id": 241,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6949,7 +6775,7 @@
}
},
{
- "id": 227,
+ "id": 242,
"name": "ignoreDuplicates",
"kind": 32,
"kindString": "Variable",
@@ -6985,7 +6811,7 @@
}
},
{
- "id": 224,
+ "id": 239,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -7017,7 +6843,7 @@
}
},
{
- "id": 225,
+ "id": 240,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -7058,10 +6884,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 226,
- 227,
- 224,
- 225
+ 241,
+ 242,
+ 239,
+ 240
]
}
],
@@ -7088,7 +6914,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 219,
+ "id": 234,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -7102,7 +6928,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 219,
+ "id": 234,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -7112,35 +6938,35 @@
"title": "Constructors",
"kind": 512,
"children": [
- 178
+ 193
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 177,
- 176,
- 248,
- 243,
- 241,
- 247,
- 249,
- 242
+ 192,
+ 191,
+ 263,
+ 258,
+ 256,
+ 262,
+ 264,
+ 257
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 235,
- 204,
- 190,
- 197,
- 252,
250,
- 228,
- 219
+ 219,
+ 205,
+ 212,
+ 267,
+ 265,
+ 243,
+ 234
]
}
],
@@ -7188,7 +7014,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 174
+ 189
]
}
],
@@ -7201,7 +7027,7 @@
]
},
{
- "id": 147,
+ "id": 162,
"name": "\"lib/SupabaseRealtimeClient\"",
"kind": 1,
"kindString": "Module",
@@ -7211,7 +7037,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts",
"children": [
{
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient",
"kind": 128,
"kindString": "Class",
@@ -7220,7 +7046,7 @@
},
"children": [
{
- "id": 150,
+ "id": 165,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7229,7 +7055,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 166,
"name": "new SupabaseRealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -7238,7 +7064,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 167,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
@@ -7251,7 +7077,7 @@
}
},
{
- "id": 153,
+ "id": 168,
"name": "schema",
"kind": 32768,
"kindString": "Parameter",
@@ -7264,7 +7090,7 @@
}
},
{
- "id": 154,
+ "id": 169,
"name": "tableName",
"kind": 32768,
"kindString": "Parameter",
@@ -7279,7 +7105,7 @@
],
"type": {
"type": "reference",
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient"
}
}
@@ -7293,7 +7119,7 @@
]
},
{
- "id": 149,
+ "id": 164,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -7313,7 +7139,7 @@
}
},
{
- "id": 155,
+ "id": 170,
"name": "getPayloadRecords",
"kind": 2048,
"kindString": "Method",
@@ -7323,7 +7149,7 @@
},
"signatures": [
{
- "id": 156,
+ "id": 171,
"name": "getPayloadRecords",
"kind": 4096,
"kindString": "Call signature",
@@ -7332,7 +7158,7 @@
},
"parameters": [
{
- "id": 157,
+ "id": 172,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -7348,7 +7174,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 158,
+ "id": 173,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7357,7 +7183,7 @@
},
"children": [
{
- "id": 159,
+ "id": 174,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -7374,7 +7200,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 160,
+ "id": 175,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7385,7 +7211,7 @@
}
},
{
- "id": 161,
+ "id": 176,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -7402,7 +7228,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7418,8 +7244,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 159,
- 161
+ 174,
+ 176
]
}
]
@@ -7436,7 +7262,7 @@
]
},
{
- "id": 163,
+ "id": 178,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -7445,7 +7271,7 @@
},
"signatures": [
{
- "id": 164,
+ "id": 179,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -7457,7 +7283,7 @@
},
"parameters": [
{
- "id": 165,
+ "id": 180,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -7469,12 +7295,12 @@
},
"type": {
"type": "reference",
- "id": 28,
+ "id": 51,
"name": "SupabaseEventTypes"
}
},
{
- "id": 166,
+ "id": 181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -7487,7 +7313,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 167,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7496,7 +7322,7 @@
},
"signatures": [
{
- "id": 168,
+ "id": 183,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7505,7 +7331,7 @@
},
"parameters": [
{
- "id": 169,
+ "id": 184,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -7514,7 +7340,7 @@
},
"type": {
"type": "reference",
- "id": 19,
+ "id": 42,
"typeArguments": [
{
"type": "intrinsic",
@@ -7557,7 +7383,7 @@
]
},
{
- "id": 170,
+ "id": 185,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -7566,7 +7392,7 @@
},
"signatures": [
{
- "id": 171,
+ "id": 186,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -7578,7 +7404,7 @@
},
"parameters": [
{
- "id": 172,
+ "id": 187,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -7612,23 +7438,23 @@
"title": "Constructors",
"kind": 512,
"children": [
- 150
+ 165
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 149
+ 164
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 155,
- 163,
- 170
+ 170,
+ 178,
+ 185
]
}
],
@@ -7646,7 +7472,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 148
+ 163
]
}
],
@@ -7740,7 +7566,7 @@
]
},
{
- "id": 337,
+ "id": 356,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -7750,7 +7576,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts",
"children": [
{
- "id": 338,
+ "id": 357,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -7759,7 +7585,7 @@
},
"signatures": [
{
- "id": 339,
+ "id": 358,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -7786,7 +7612,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 338
+ 357
]
}
],
@@ -7810,216 +7636,671 @@
"children": [
{
"id": 7,
- "name": "SupabaseClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
+ "name": "SupabaseAuthClientOptions",
+ "kind": 256,
+ "kindString": "Interface",
"flags": {
"isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/lib/types.ts",
- "line": 3,
- "character": 33
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 8,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "id": 25,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
- "children": [
+ "sources": [
{
- "id": 14,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "comment": {
- "shortText": "Automatically refreshes the token for logged in users."
+ {
+ "type": "intrinsic",
+ "name": "false"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 15,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
+ {
+ "type": "intrinsic",
+ "name": "true"
}
- },
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 15,
+ "name": "__type.autoRefreshToken"
+ }
+ },
+ {
+ "id": 28,
+ "name": "cookieOptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
{
- "id": 16,
- "name": "detectSessionInUrl",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CookieOptions"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 18,
+ "name": "__type.cookieOptions"
+ }
+ },
+ {
+ "id": 24,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "comment": {
- "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ {
+ "type": "intrinsic",
+ "name": "false"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 23,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
+ {
+ "type": "intrinsic",
+ "name": "true"
}
- },
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 14,
+ "name": "__type.detectSessionInUrl"
+ }
+ },
+ {
+ "id": 20,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
{
- "id": 10,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "Optional headers for initializing the client."
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 11,
- "character": 9
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 21,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
},
- {
- "type": "reflection",
- "declaration": {
- "id": 11,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "indexSignature": [
+ {
+ "id": 22,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
"flags": {
"isExported": true
},
- "indexSignature": [
+ "parameters": [
{
- "id": 12,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
+ "id": 23,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
},
- "parameters": [
- {
- "id": 13,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"type": {
"type": "intrinsic",
"name": "string"
}
}
- ]
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
- }
- ]
- }
- },
- {
- "id": 17,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "comment": {
- "shortText": "A storage provider. Used to store the logged in session."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 27,
- "character": 14
+ ]
}
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
}
- },
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 10,
+ "name": "__type.headers"
+ }
+ },
+ {
+ "id": 27,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
{
- "id": 15,
- "name": "persistSession",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 45,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupportedStorage"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 17,
+ "name": "__type.localStorage"
+ }
+ },
+ {
+ "id": 26,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 44,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "comment": {
- "shortText": "Whether to persist a logged in session to storage."
+ {
+ "type": "intrinsic",
+ "name": "false"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 19,
- "character": 16
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 16,
+ "name": "__type.persistSession"
+ }
+ },
+ {
+ "id": 19,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 38,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "__type.url"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 25,
+ 28,
+ 24,
+ 20,
+ 27,
+ 26,
+ 19
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 42
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 15,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 18,
+ "name": "cookieOptions",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CookieOptions"
+ }
+ },
+ {
+ "id": 14,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 10,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 11,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 12,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 13,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 17,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 45,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupportedStorage"
+ }
+ },
+ {
+ "id": 16,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 44,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 9,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 38,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 15,
+ 18,
+ 14,
+ 10,
+ 17,
+ 16,
+ 9
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 50
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 29,
+ "name": "GoTrueClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 4,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "unknown",
+ "name": "0"
+ },
+ "objectType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "GoTrueClient"
+ }
+ }
+ ],
+ "name": "ConstructorParameters"
+ }
+ }
+ },
+ {
+ "id": 30,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 37,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Automatically refreshes the token for logged in users."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 18
}
],
"type": {
@@ -8041,7 +8322,183 @@
}
},
{
- "id": 18,
+ "id": 39,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 33,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 34,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 35,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 36,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 40,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A storage provider. Used to store the logged in session."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "stringLiteral",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "name": "SupabaseAuthClientOptions"
+ }
+ }
+ },
+ {
+ "id": 38,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Whether to persist a logged in session to storage."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 41,
"name": "realtime",
"kind": 32,
"kindString": "Variable",
@@ -8055,7 +8512,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 32,
+ "line": 37,
"character": 10
}
],
@@ -8065,7 +8522,7 @@
}
},
{
- "id": 9,
+ "id": 32,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -8079,7 +8536,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 7,
+ "line": 12,
"character": 8
}
],
@@ -8103,20 +8560,20 @@
"title": "Variables",
"kind": 32,
"children": [
- 14,
- 16,
- 10,
- 17,
- 15,
- 18,
- 9
+ 37,
+ 39,
+ 33,
+ 40,
+ 38,
+ 41,
+ 32
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 3,
+ "line": 8,
"character": 35
}
]
@@ -8124,7 +8581,7 @@
}
},
{
- "id": 28,
+ "id": 51,
"name": "SupabaseEventTypes",
"kind": 4194304,
"kindString": "Type alias",
@@ -8134,7 +8591,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 51,
"character": 30
}
],
@@ -8161,7 +8618,7 @@
}
},
{
- "id": 19,
+ "id": 42,
"name": "SupabaseRealtimePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -8170,7 +8627,7 @@
},
"typeParameter": [
{
- "id": 20,
+ "id": 43,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -8182,14 +8639,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 40,
"character": 35
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 21,
+ "id": 44,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8198,7 +8655,7 @@
},
"children": [
{
- "id": 22,
+ "id": 45,
"name": "commit_timestamp",
"kind": 32,
"kindString": "Variable",
@@ -8208,7 +8665,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 41,
"character": 18
}
],
@@ -8218,7 +8675,7 @@
}
},
{
- "id": 23,
+ "id": 46,
"name": "eventType",
"kind": 32,
"kindString": "Variable",
@@ -8228,7 +8685,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 37,
+ "line": 42,
"character": 11
}
],
@@ -8251,7 +8708,7 @@
}
},
{
- "id": 26,
+ "id": 49,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -8264,7 +8721,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 46,
"character": 5
}
],
@@ -8274,7 +8731,7 @@
}
},
{
- "id": 27,
+ "id": 50,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -8287,7 +8744,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 48,
"character": 5
}
],
@@ -8297,7 +8754,7 @@
}
},
{
- "id": 24,
+ "id": 47,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -8307,7 +8764,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 43,
"character": 8
}
],
@@ -8317,7 +8774,7 @@
}
},
{
- "id": 25,
+ "id": 48,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -8327,7 +8784,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 44,
"character": 7
}
],
@@ -8342,19 +8799,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 22,
- 23,
- 26,
- 27,
- 24,
- 25
+ 45,
+ 46,
+ 49,
+ 50,
+ 47,
+ 48
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 40,
"character": 40
}
]
@@ -8363,13 +8820,21 @@
}
],
"groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 7
+ ]
+ },
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 7,
- 28,
- 19
+ 29,
+ 30,
+ 51,
+ 42
]
}
],
@@ -8437,14 +8902,15 @@
"title": "Modules",
"kind": 1,
"children": [
- 264,
- 331,
- 27,
- 173,
- 147,
- 1,
- 337,
- 4
+ 279,
+ 350,
+ 52,
+ 188,
+ 162,
+ 3,
+ 356,
+ 6,
+ 1
]
}
]
@@ -8457,7 +8923,7 @@
"originalName": "",
"children": [
{
- "id": 207,
+ "id": 185,
"name": "\"GoTrueApi\"",
"kind": 1,
"kindString": "Module",
@@ -8467,7 +8933,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
"children": [
{
- "id": 208,
+ "id": 186,
"name": "GoTrueApi",
"kind": 128,
"kindString": "Class",
@@ -8476,7 +8942,7 @@
},
"children": [
{
- "id": 215,
+ "id": 193,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -8485,7 +8951,7 @@
},
"signatures": [
{
- "id": 216,
+ "id": 194,
"name": "new GoTrueApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -8494,7 +8960,7 @@
},
"parameters": [
{
- "id": 217,
+ "id": 195,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -8505,7 +8971,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 196,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8514,7 +8980,7 @@
},
"children": [
{
- "id": 224,
+ "id": 202,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -8544,7 +9010,7 @@
}
},
{
- "id": 220,
+ "id": 198,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -8561,7 +9027,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8570,7 +9036,7 @@
},
"indexSignature": [
{
- "id": 222,
+ "id": 200,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -8579,7 +9045,7 @@
},
"parameters": [
{
- "id": 223,
+ "id": 201,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8602,7 +9068,7 @@
}
},
{
- "id": 219,
+ "id": 197,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -8628,9 +9094,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 224,
- 220,
- 219
+ 202,
+ 198,
+ 197
]
}
],
@@ -8647,7 +9113,7 @@
],
"type": {
"type": "reference",
- "id": 208,
+ "id": 186,
"name": "GoTrueApi"
}
}
@@ -8661,7 +9127,7 @@
]
},
{
- "id": 214,
+ "id": 192,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -8683,7 +9149,7 @@
}
},
{
- "id": 210,
+ "id": 188,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -8701,7 +9167,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 189,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8710,7 +9176,7 @@
},
"indexSignature": [
{
- "id": 212,
+ "id": 190,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -8719,7 +9185,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 191,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8749,7 +9215,7 @@
}
},
{
- "id": 209,
+ "id": 187,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -8770,7 +9236,7 @@
}
},
{
- "id": 305,
+ "id": 283,
"name": "_createRequestHeaders",
"kind": 2048,
"kindString": "Method",
@@ -8780,7 +9246,7 @@
},
"signatures": [
{
- "id": 306,
+ "id": 284,
"name": "_createRequestHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -8792,7 +9258,7 @@
},
"parameters": [
{
- "id": 307,
+ "id": 285,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -8811,7 +9277,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8831,7 +9297,7 @@
]
},
{
- "id": 336,
+ "id": 314,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -8840,7 +9306,7 @@
},
"signatures": [
{
- "id": 337,
+ "id": 315,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
@@ -8852,7 +9318,7 @@
},
"parameters": [
{
- "id": 338,
+ "id": 316,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -8868,7 +9334,7 @@
}
},
{
- "id": 339,
+ "id": 317,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -8890,7 +9356,7 @@
{
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8899,7 +9365,7 @@
},
"children": [
{
- "id": 342,
+ "id": 320,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8929,7 +9395,7 @@
}
},
{
- "id": 343,
+ "id": 321,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -8958,7 +9424,7 @@
}
},
{
- "id": 341,
+ "id": 319,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -8993,9 +9459,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 342,
- 343,
- 341
+ 320,
+ 321,
+ 319
]
}
],
@@ -9022,7 +9488,7 @@
]
},
{
- "id": 361,
+ "id": 339,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
@@ -9031,7 +9497,7 @@
},
"signatures": [
{
- "id": 362,
+ "id": 340,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
@@ -9043,7 +9509,7 @@
},
"parameters": [
{
- "id": 363,
+ "id": 341,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -9076,7 +9542,7 @@
}
},
{
- "id": 364,
+ "id": 342,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -9092,7 +9558,7 @@
}
},
{
- "id": 365,
+ "id": 343,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9102,7 +9568,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 366,
+ "id": 344,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9111,7 +9577,7 @@
},
"children": [
{
- "id": 368,
+ "id": 346,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9132,7 +9598,7 @@
}
},
{
- "id": 367,
+ "id": 345,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -9162,7 +9628,7 @@
}
},
{
- "id": 369,
+ "id": 347,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -9197,9 +9663,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 368,
- 367,
- 369
+ 346,
+ 345,
+ 347
]
}
],
@@ -9221,7 +9687,7 @@
{
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9230,7 +9696,7 @@
},
"children": [
{
- "id": 371,
+ "id": 349,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9268,7 +9734,7 @@
}
},
{
- "id": 372,
+ "id": 350,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9302,8 +9768,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 371,
- 372
+ 349,
+ 350
]
}
],
@@ -9330,7 +9796,7 @@
]
},
{
- "id": 314,
+ "id": 292,
"name": "getUrlForProvider",
"kind": 2048,
"kindString": "Method",
@@ -9339,7 +9805,7 @@
},
"signatures": [
{
- "id": 315,
+ "id": 293,
"name": "getUrlForProvider",
"kind": 4096,
"kindString": "Call signature",
@@ -9351,7 +9817,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 294,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -9368,7 +9834,7 @@
}
},
{
- "id": 317,
+ "id": 295,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9378,7 +9844,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 296,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9387,7 +9853,7 @@
},
"children": [
{
- "id": 319,
+ "id": 297,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -9417,7 +9883,7 @@
}
},
{
- "id": 320,
+ "id": 298,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -9452,8 +9918,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 319,
- 320
+ 297,
+ 298
]
}
],
@@ -9483,7 +9949,7 @@
]
},
{
- "id": 321,
+ "id": 299,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -9492,7 +9958,7 @@
},
"signatures": [
{
- "id": 322,
+ "id": 300,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -9504,7 +9970,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 301,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -9526,7 +9992,7 @@
{
"type": "reflection",
"declaration": {
- "id": 324,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9535,7 +10001,7 @@
},
"children": [
{
- "id": 326,
+ "id": 304,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9565,7 +10031,7 @@
}
},
{
- "id": 327,
+ "id": 305,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9594,7 +10060,7 @@
}
},
{
- "id": 325,
+ "id": 303,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9629,9 +10095,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 326,
- 327,
- 325
+ 304,
+ 305,
+ 303
]
}
],
@@ -9658,7 +10124,7 @@
]
},
{
- "id": 354,
+ "id": 332,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
@@ -9667,7 +10133,7 @@
},
"signatures": [
{
- "id": 355,
+ "id": 333,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -9679,7 +10145,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 334,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -9698,7 +10164,7 @@
{
"type": "reflection",
"declaration": {
- "id": 357,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9707,7 +10173,7 @@
},
"children": [
{
- "id": 359,
+ "id": 337,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9737,7 +10203,7 @@
}
},
{
- "id": 360,
+ "id": 338,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -9766,7 +10232,7 @@
}
},
{
- "id": 358,
+ "id": 336,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -9801,9 +10267,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 359,
- 360,
- 358
+ 337,
+ 338,
+ 336
]
}
],
@@ -9830,7 +10296,7 @@
]
},
{
- "id": 286,
+ "id": 264,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -9839,7 +10305,7 @@
},
"signatures": [
{
- "id": 287,
+ "id": 265,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -9851,7 +10317,7 @@
},
"parameters": [
{
- "id": 288,
+ "id": 266,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -9867,7 +10333,7 @@
}
},
{
- "id": 289,
+ "id": 267,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9877,7 +10343,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 290,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9886,7 +10352,7 @@
},
"children": [
{
- "id": 291,
+ "id": 269,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -9921,7 +10387,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 291
+ 269
]
}
],
@@ -9943,7 +10409,7 @@
{
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 270,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9952,7 +10418,7 @@
},
"children": [
{
- "id": 293,
+ "id": 271,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -9982,7 +10448,7 @@
}
},
{
- "id": 294,
+ "id": 272,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10016,8 +10482,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 293,
- 294
+ 271,
+ 272
]
}
],
@@ -10044,7 +10510,7 @@
]
},
{
- "id": 344,
+ "id": 322,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -10053,7 +10519,7 @@
},
"signatures": [
{
- "id": 345,
+ "id": 323,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -10065,7 +10531,7 @@
},
"parameters": [
{
- "id": 346,
+ "id": 324,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -10087,7 +10553,7 @@
{
"type": "reflection",
"declaration": {
- "id": 347,
+ "id": 325,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10096,7 +10562,7 @@
},
"children": [
{
- "id": 348,
+ "id": 326,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10126,7 +10592,7 @@
}
},
{
- "id": 349,
+ "id": 327,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10160,8 +10626,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 348,
- 349
+ 326,
+ 327
]
}
],
@@ -10188,7 +10654,7 @@
]
},
{
- "id": 295,
+ "id": 273,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -10197,7 +10663,7 @@
},
"signatures": [
{
- "id": 296,
+ "id": 274,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -10209,7 +10675,7 @@
},
"parameters": [
{
- "id": 297,
+ "id": 275,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -10225,7 +10691,7 @@
}
},
{
- "id": 298,
+ "id": 276,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10235,7 +10701,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 299,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10244,7 +10710,7 @@
},
"children": [
{
- "id": 300,
+ "id": 278,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -10279,7 +10745,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 300
+ 278
]
}
],
@@ -10301,7 +10767,7 @@
{
"type": "reflection",
"declaration": {
- "id": 301,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10310,7 +10776,7 @@
},
"children": [
{
- "id": 302,
+ "id": 280,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10330,7 +10796,7 @@
{
"type": "reflection",
"declaration": {
- "id": 303,
+ "id": 281,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10354,7 +10820,7 @@
}
},
{
- "id": 304,
+ "id": 282,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10388,8 +10854,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 302,
- 304
+ 280,
+ 282
]
}
],
@@ -10416,7 +10882,7 @@
]
},
{
- "id": 259,
+ "id": 237,
"name": "sendMagicLinkEmail",
"kind": 2048,
"kindString": "Method",
@@ -10425,7 +10891,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 238,
"name": "sendMagicLinkEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -10437,7 +10903,7 @@
},
"parameters": [
{
- "id": 261,
+ "id": 239,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -10453,7 +10919,7 @@
}
},
{
- "id": 262,
+ "id": 240,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10463,7 +10929,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 263,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10472,7 +10938,7 @@
},
"children": [
{
- "id": 264,
+ "id": 242,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -10507,7 +10973,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 264
+ 242
]
}
],
@@ -10529,7 +10995,7 @@
{
"type": "reflection",
"declaration": {
- "id": 265,
+ "id": 243,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10538,7 +11004,7 @@
},
"children": [
{
- "id": 266,
+ "id": 244,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10558,7 +11024,7 @@
{
"type": "reflection",
"declaration": {
- "id": 267,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10582,7 +11048,7 @@
}
},
{
- "id": 268,
+ "id": 246,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10616,8 +11082,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 266,
- 268
+ 244,
+ 246
]
}
],
@@ -10644,7 +11110,7 @@
]
},
{
- "id": 269,
+ "id": 247,
"name": "sendMobileOTP",
"kind": 2048,
"kindString": "Method",
@@ -10653,7 +11119,7 @@
},
"signatures": [
{
- "id": 270,
+ "id": 248,
"name": "sendMobileOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -10665,7 +11131,7 @@
},
"parameters": [
{
- "id": 271,
+ "id": 249,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -10687,7 +11153,7 @@
{
"type": "reflection",
"declaration": {
- "id": 272,
+ "id": 250,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10696,7 +11162,7 @@
},
"children": [
{
- "id": 273,
+ "id": 251,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -10716,7 +11182,7 @@
{
"type": "reflection",
"declaration": {
- "id": 274,
+ "id": 252,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10740,7 +11206,7 @@
}
},
{
- "id": 275,
+ "id": 253,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -10774,8 +11240,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 273,
- 275
+ 251,
+ 253
]
}
],
@@ -10802,7 +11268,7 @@
]
},
{
- "id": 350,
+ "id": 328,
"name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
@@ -10811,7 +11277,7 @@
},
"signatures": [
{
- "id": 351,
+ "id": 329,
"name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -10823,7 +11289,7 @@
},
"parameters": [
{
- "id": 352,
+ "id": 330,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -10836,7 +11302,7 @@
}
},
{
- "id": 353,
+ "id": 331,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -10864,7 +11330,7 @@
]
},
{
- "id": 235,
+ "id": 213,
"name": "signInWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -10873,7 +11339,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 214,
"name": "signInWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -10885,7 +11351,7 @@
},
"parameters": [
{
- "id": 237,
+ "id": 215,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -10901,7 +11367,7 @@
}
},
{
- "id": 238,
+ "id": 216,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -10917,7 +11383,7 @@
}
},
{
- "id": 239,
+ "id": 217,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -10927,7 +11393,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -10936,7 +11402,7 @@
},
"children": [
{
- "id": 241,
+ "id": 219,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -10971,7 +11437,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 241
+ 219
]
}
],
@@ -10993,7 +11459,7 @@
{
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 220,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11002,7 +11468,7 @@
},
"children": [
{
- "id": 243,
+ "id": 221,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11032,7 +11498,7 @@
}
},
{
- "id": 244,
+ "id": 222,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11066,8 +11532,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
- 244
+ 221,
+ 222
]
}
],
@@ -11094,7 +11560,7 @@
]
},
{
- "id": 252,
+ "id": 230,
"name": "signInWithPhone",
"kind": 2048,
"kindString": "Method",
@@ -11103,7 +11569,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 231,
"name": "signInWithPhone",
"kind": 4096,
"kindString": "Call signature",
@@ -11115,7 +11581,7 @@
},
"parameters": [
{
- "id": 254,
+ "id": 232,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -11131,7 +11597,7 @@
}
},
{
- "id": 255,
+ "id": 233,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -11153,7 +11619,7 @@
{
"type": "reflection",
"declaration": {
- "id": 256,
+ "id": 234,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11162,7 +11628,7 @@
},
"children": [
{
- "id": 257,
+ "id": 235,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11192,7 +11658,7 @@
}
},
{
- "id": 258,
+ "id": 236,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11226,8 +11692,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 257,
- 258
+ 235,
+ 236
]
}
],
@@ -11254,7 +11720,7 @@
]
},
{
- "id": 309,
+ "id": 287,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -11263,7 +11729,7 @@
},
"signatures": [
{
- "id": 310,
+ "id": 288,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -11275,7 +11741,7 @@
},
"parameters": [
{
- "id": 311,
+ "id": 289,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -11297,7 +11763,7 @@
{
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 290,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11306,7 +11772,7 @@
},
"children": [
{
- "id": 313,
+ "id": 291,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11340,7 +11806,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 313
+ 291
]
}
],
@@ -11367,7 +11833,7 @@
]
},
{
- "id": 225,
+ "id": 203,
"name": "signUpWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -11376,7 +11842,7 @@
},
"signatures": [
{
- "id": 226,
+ "id": 204,
"name": "signUpWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -11389,15 +11855,31 @@
},
"parameters": [
{
- "id": 272,
- "name": "phone",
+ "id": 205,
+ "name": "email",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The user's phone number WITH international prefix\n"
+ "text": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 206,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The password of the user."
},
"type": {
"type": "intrinsic",
@@ -11405,7 +11887,7 @@
}
},
{
- "id": 229,
+ "id": 207,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -11415,7 +11897,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 230,
+ "id": 208,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11424,7 +11906,7 @@
},
"children": [
{
- "id": 231,
+ "id": 209,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -11459,7 +11941,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 231
+ 209
]
}
],
@@ -11481,7 +11963,7 @@
{
"type": "reflection",
"declaration": {
- "id": 273,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11490,7 +11972,7 @@
},
"children": [
{
- "id": 274,
+ "id": 211,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11508,23 +11990,9 @@
"type": "union",
"types": [
{
- "type": "reflection",
- "declaration": {
- "id": 275,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 158,
- "character": 53
- }
- ]
- }
+ "type": "reference",
+ "id": 50,
+ "name": "Session"
},
{
"type": "reference",
@@ -11539,7 +12007,7 @@
}
},
{
- "id": 276,
+ "id": 212,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11573,16 +12041,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 274,
- 276
+ 211,
+ 212
]
}
],
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 158,
- "character": 46
+ "line": 45,
+ "character": 13
}
]
}
@@ -11595,76 +12063,14 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 158,
- "character": 21
- }
- ]
- },
- {
- "id": 351,
- "name": "setAuthCookie",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 352,
- "name": "setAuthCookie",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)."
- },
- "parameters": [
- {
- "id": 353,
- "name": "req",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 354,
- "name": "res",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 375,
- "character": 15
+ "line": 39,
+ "character": 23
}
]
},
{
- "id": 236,
- "name": "signInWithEmail",
+ "id": 223,
+ "name": "signUpWithPhone",
"kind": 2048,
"kindString": "Method",
"flags": {
@@ -11672,27 +12078,27 @@
},
"signatures": [
{
- "id": 237,
- "name": "signInWithEmail",
+ "id": 224,
+ "name": "signUpWithPhone",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
- "shortText": "Logs in an existing user using their email address."
+ "shortText": "Signs up a new user using their phone number and a password."
},
"parameters": [
{
- "id": 238,
- "name": "email",
+ "id": 225,
+ "name": "phone",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
- "text": "The email address of the user."
+ "text": "The phone number of the user."
},
"type": {
"type": "intrinsic",
@@ -11700,7 +12106,7 @@
}
},
{
- "id": 239,
+ "id": 226,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -11708,82 +12114,12 @@
"isExported": true
},
"comment": {
- "text": "The password of the user."
+ "text": "The password of the user.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
- },
- {
- "id": 240,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 241,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 242,
- "name": "redirectTo",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 71,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 242
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 70,
- "character": 12
- }
- ]
- }
- },
- "defaultValue": "{}"
}
],
"type": {
@@ -11792,7 +12128,7 @@
{
"type": "reflection",
"declaration": {
- "id": 243,
+ "id": 227,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -11801,7 +12137,7 @@
},
"children": [
{
- "id": 244,
+ "id": 228,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -11811,7 +12147,7 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 73,
+ "line": 97,
"character": 19
}
],
@@ -11823,6 +12159,11 @@
"id": 50,
"name": "Session"
},
+ {
+ "type": "reference",
+ "id": 58,
+ "name": "User"
+ },
{
"type": "intrinsic",
"name": "null"
@@ -11831,7 +12172,7 @@
}
},
{
- "id": 245,
+ "id": 229,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -11841,8 +12182,8 @@
"sources": [
{
"fileName": "GoTrueApi.ts",
- "line": 73,
- "character": 42
+ "line": 97,
+ "character": 49
}
],
"type": {
@@ -11865,173 +12206,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 244,
- 245
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 45,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 39,
- "character": 23
- }
- ]
- },
- {
- "id": 245,
- "name": "signUpWithPhone",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 246,
- "name": "signUpWithPhone",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Signs up a new user using their phone number and a password."
- },
- "parameters": [
- {
- "id": 247,
- "name": "phone",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The phone number of the user."
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 248,
- "name": "password",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The password of the user.\n"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 249,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 250,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 97,
- "character": 19
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 50,
- "name": "Session"
- },
- {
- "type": "reference",
- "id": 58,
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 251,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 97,
- "character": 49
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Error"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 250,
- 251
+ 228,
+ 229
]
}
],
@@ -12058,7 +12234,7 @@
]
},
{
- "id": 328,
+ "id": 306,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -12067,7 +12243,7 @@
},
"signatures": [
{
- "id": 329,
+ "id": 307,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -12079,7 +12255,7 @@
},
"parameters": [
{
- "id": 330,
+ "id": 308,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -12095,7 +12271,7 @@
}
},
{
- "id": 331,
+ "id": 309,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -12118,7 +12294,7 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12127,7 +12303,7 @@
},
"children": [
{
- "id": 334,
+ "id": 312,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -12157,7 +12333,7 @@
}
},
{
- "id": 335,
+ "id": 313,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -12186,7 +12362,7 @@
}
},
{
- "id": 333,
+ "id": 311,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -12221,9 +12397,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 334,
- 335,
- 333
+ 312,
+ 313,
+ 311
]
}
],
@@ -12250,242 +12426,7 @@
]
},
{
- "id": 276,
- "name": "verifyMobileOTP",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 277,
- "name": "verifyMobileOTP",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Send User supplied Mobile OTP to be verified"
- },
- "parameters": [
- {
- "id": 278,
- "name": "phone",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user's phone number WITH international prefix"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 279,
- "name": "token",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "token that user was sent to their mobile phone"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 280,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 281,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 282,
- "name": "redirectTo",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 178,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 282
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 177,
- "character": 12
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 283,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 284,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 180,
- "character": 19
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 50,
- "name": "Session"
- },
- {
- "type": "reference",
- "id": 58,
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 285,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 180,
- "character": 49
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Error"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 284,
- 285
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 180,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueApi.ts",
- "line": 174,
- "character": 23
- }
- ]
- },
- {
- "id": 277,
+ "id": 254,
"name": "verifyMobileOTP",
"kind": 2048,
"kindString": "Method",
@@ -12494,7 +12435,7 @@
},
"signatures": [
{
- "id": 278,
+ "id": 255,
"name": "verifyMobileOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -12506,7 +12447,7 @@
},
"parameters": [
{
- "id": 279,
+ "id": 256,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -12522,7 +12463,7 @@
}
},
{
- "id": 280,
+ "id": 257,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -12538,7 +12479,7 @@
}
},
{
- "id": 281,
+ "id": 258,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -12548,7 +12489,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 282,
+ "id": 259,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12557,7 +12498,7 @@
},
"children": [
{
- "id": 283,
+ "id": 260,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -12592,7 +12533,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 283
+ 260
]
}
],
@@ -12614,7 +12555,7 @@
{
"type": "reflection",
"declaration": {
- "id": 284,
+ "id": 261,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12623,7 +12564,7 @@
},
"children": [
{
- "id": 285,
+ "id": 262,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -12658,7 +12599,7 @@
}
},
{
- "id": 286,
+ "id": 263,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -12692,8 +12633,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 285,
- 286
+ 262,
+ 263
]
}
],
@@ -12725,41 +12666,41 @@
"title": "Constructors",
"kind": 512,
"children": [
- 215
+ 193
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 214,
- 210,
- 209
+ 192,
+ 188,
+ 187
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 305,
- 336,
- 361,
+ 283,
314,
- 321,
- 354,
- 286,
- 344,
- 295,
- 259,
- 269,
- 350,
- 235,
- 252,
- 309,
- 225,
- 245,
+ 339,
+ 292,
+ 299,
+ 332,
+ 264,
+ 322,
+ 273,
+ 237,
+ 247,
328,
- 276
+ 213,
+ 230,
+ 287,
+ 203,
+ 223,
+ 306,
+ 254
]
}
],
@@ -12777,7 +12718,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 208
+ 186
]
}
],
@@ -12790,7 +12731,7 @@
]
},
{
- "id": 376,
+ "id": 354,
"name": "\"GoTrueClient\"",
"kind": 1,
"kindString": "Module",
@@ -12800,7 +12741,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
- "id": 377,
+ "id": 355,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
@@ -12809,7 +12750,7 @@
},
"children": [
{
- "id": 386,
+ "id": 364,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -12821,7 +12762,7 @@
},
"signatures": [
{
- "id": 387,
+ "id": 365,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -12833,7 +12774,7 @@
},
"parameters": [
{
- "id": 388,
+ "id": 366,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -12843,7 +12784,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 367,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12852,7 +12793,7 @@
},
"children": [
{
- "id": 396,
+ "id": 374,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -12866,7 +12807,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 61,
+ "line": 72,
"character": 20
}
],
@@ -12889,7 +12830,7 @@
}
},
{
- "id": 399,
+ "id": 377,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -12900,7 +12841,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 64,
+ "line": 75,
"character": 17
}
],
@@ -12911,7 +12852,7 @@
}
},
{
- "id": 395,
+ "id": 373,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -12925,7 +12866,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 60,
+ "line": 71,
"character": 22
}
],
@@ -12948,7 +12889,7 @@
}
},
{
- "id": 391,
+ "id": 369,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -12962,7 +12903,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 59,
+ "line": 70,
"character": 11
}
],
@@ -12976,7 +12917,7 @@
{
"type": "reflection",
"declaration": {
- "id": 392,
+ "id": 370,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12985,7 +12926,7 @@
},
"indexSignature": [
{
- "id": 393,
+ "id": 371,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -12994,7 +12935,7 @@
},
"parameters": [
{
- "id": 394,
+ "id": 372,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -13019,7 +12960,7 @@
}
},
{
- "id": 398,
+ "id": 376,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -13033,17 +12974,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 63,
+ "line": 74,
"character": 16
}
],
"type": {
"type": "reference",
- "name": "Storage"
+ "id": 569,
+ "name": "SupportedStorage"
}
},
{
- "id": 397,
+ "id": 375,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -13057,7 +12999,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 62,
+ "line": 73,
"character": 18
}
],
@@ -13080,7 +13022,7 @@
}
},
{
- "id": 390,
+ "id": 368,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -13094,7 +13036,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 58,
+ "line": 69,
"character": 7
}
],
@@ -13118,20 +13060,20 @@
"title": "Variables",
"kind": 32,
"children": [
- 396,
- 399,
- 395,
- 391,
- 398,
- 397,
- 390
+ 374,
+ 377,
+ 373,
+ 369,
+ 376,
+ 375,
+ 368
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 57,
+ "line": 68,
"character": 22
}
]
@@ -13141,7 +13083,7 @@
],
"type": {
"type": "reference",
- "id": 377,
+ "id": 355,
"name": "GoTrueClient"
}
}
@@ -13149,13 +13091,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 46,
+ "line": 57,
"character": 61
}
]
},
{
- "id": 378,
+ "id": 356,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -13168,18 +13110,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 32,
+ "line": 43,
"character": 5
}
],
"type": {
"type": "reference",
- "id": 208,
+ "id": 186,
"name": "GoTrueApi"
}
},
{
- "id": 381,
+ "id": 359,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -13190,7 +13132,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 42,
+ "line": 53,
"character": 28
}
],
@@ -13200,7 +13142,7 @@
}
},
{
- "id": 380,
+ "id": 358,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -13214,7 +13156,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 40,
+ "line": 51,
"character": 26
}
],
@@ -13234,7 +13176,7 @@
}
},
{
- "id": 379,
+ "id": 357,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -13248,7 +13190,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 36,
+ "line": 47,
"character": 23
}
],
@@ -13268,7 +13210,7 @@
}
},
{
- "id": 383,
+ "id": 361,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -13279,17 +13221,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 44,
+ "line": 55,
"character": 24
}
],
"type": {
"type": "reference",
- "name": "Storage"
+ "id": 569,
+ "name": "SupportedStorage"
}
},
{
- "id": 382,
+ "id": 360,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -13300,7 +13243,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 43,
+ "line": 54,
"character": 26
}
],
@@ -13310,7 +13253,7 @@
}
},
{
- "id": 385,
+ "id": 363,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
@@ -13322,7 +13265,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 46,
+ "line": 57,
"character": 29
}
],
@@ -13341,7 +13284,7 @@
}
},
{
- "id": 384,
+ "id": 362,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -13352,7 +13295,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 45,
+ "line": 56,
"character": 31
}
],
@@ -13374,7 +13317,7 @@
"defaultValue": "new Map()"
},
{
- "id": 551,
+ "id": 529,
"name": "_callRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -13384,7 +13327,7 @@
},
"signatures": [
{
- "id": 552,
+ "id": 530,
"name": "_callRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -13393,7 +13336,7 @@
},
"parameters": [
{
- "id": 553,
+ "id": 531,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -13425,7 +13368,7 @@
{
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13434,7 +13377,7 @@
},
"children": [
{
- "id": 555,
+ "id": 533,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -13444,7 +13387,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 610,
+ "line": 621,
"character": 19
}
],
@@ -13455,7 +13398,7 @@
}
},
{
- "id": 556,
+ "id": 534,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -13465,7 +13408,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 610,
+ "line": 621,
"character": 26
}
],
@@ -13481,8 +13424,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 555,
- 556
+ 533,
+ 534
]
}
]
@@ -13491,7 +13434,7 @@
{
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 535,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13500,7 +13443,7 @@
},
"children": [
{
- "id": 558,
+ "id": 536,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -13510,7 +13453,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 612,
+ "line": 623,
"character": 19
}
],
@@ -13521,7 +13464,7 @@
"defaultValue": "null"
},
{
- "id": 559,
+ "id": 537,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -13531,7 +13474,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 612,
+ "line": 623,
"character": 32
}
],
@@ -13546,8 +13489,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 558,
- 559
+ 536,
+ 537
]
}
]
@@ -13563,13 +13506,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 598,
+ "line": 609,
"character": 33
}
]
},
{
- "id": 497,
+ "id": 475,
"name": "_handleEmailSignIn",
"kind": 2048,
"kindString": "Method",
@@ -13579,7 +13522,7 @@
},
"signatures": [
{
- "id": 498,
+ "id": 476,
"name": "_handleEmailSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -13588,7 +13531,7 @@
},
"parameters": [
{
- "id": 499,
+ "id": 477,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -13601,7 +13544,7 @@
}
},
{
- "id": 500,
+ "id": 478,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -13614,7 +13557,7 @@
}
},
{
- "id": 501,
+ "id": 479,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -13624,7 +13567,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 480,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13633,7 +13576,7 @@
},
"children": [
{
- "id": 503,
+ "id": 481,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -13644,7 +13587,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 473,
+ "line": 484,
"character": 16
}
],
@@ -13668,14 +13611,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 503
+ 481
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 472,
+ "line": 483,
"character": 12
}
]
@@ -13693,7 +13636,7 @@
{
"type": "reflection",
"declaration": {
- "id": 504,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13702,7 +13645,7 @@
},
"children": [
{
- "id": 505,
+ "id": 483,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -13712,7 +13655,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 19
}
],
@@ -13723,7 +13666,7 @@
}
},
{
- "id": 508,
+ "id": 486,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -13733,7 +13676,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 58
}
],
@@ -13744,7 +13687,7 @@
"defaultValue": "null"
},
{
- "id": 507,
+ "id": 485,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -13754,7 +13697,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 45
}
],
@@ -13766,7 +13709,7 @@
"defaultValue": "data"
},
{
- "id": 506,
+ "id": 484,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -13776,7 +13719,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 25
}
],
@@ -13802,10 +13745,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 505,
- 508,
- 507,
- 506
+ 483,
+ 486,
+ 485,
+ 484
]
}
]
@@ -13814,7 +13757,7 @@
{
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 487,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13823,7 +13766,7 @@
},
"children": [
{
- "id": 510,
+ "id": 488,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -13833,7 +13776,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 19
}
],
@@ -13844,7 +13787,7 @@
"defaultValue": "null"
},
{
- "id": 513,
+ "id": 491,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -13854,7 +13797,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 59
}
],
@@ -13864,7 +13807,7 @@
}
},
{
- "id": 512,
+ "id": 490,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -13874,7 +13817,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 46
}
],
@@ -13885,7 +13828,7 @@
"defaultValue": "null"
},
{
- "id": 511,
+ "id": 489,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -13895,7 +13838,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 31
}
],
@@ -13911,10 +13854,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 510,
- 513,
- 512,
- 511
+ 488,
+ 491,
+ 490,
+ 489
]
}
]
@@ -13930,13 +13873,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 469,
+ "line": 480,
"character": 34
}
]
},
{
- "id": 514,
+ "id": 492,
"name": "_handlePhoneSignIn",
"kind": 2048,
"kindString": "Method",
@@ -13946,7 +13889,7 @@
},
"signatures": [
{
- "id": 515,
+ "id": 493,
"name": "_handlePhoneSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -13955,7 +13898,7 @@
},
"parameters": [
{
- "id": 516,
+ "id": 494,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -13968,7 +13911,7 @@
}
},
{
- "id": 517,
+ "id": 495,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -13990,7 +13933,7 @@
{
"type": "reflection",
"declaration": {
- "id": 518,
+ "id": 496,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -13999,7 +13942,7 @@
},
"children": [
{
- "id": 519,
+ "id": 497,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -14009,7 +13952,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 19
}
],
@@ -14020,7 +13963,7 @@
}
},
{
- "id": 522,
+ "id": 500,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -14030,7 +13973,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 58
}
],
@@ -14041,7 +13984,7 @@
"defaultValue": "null"
},
{
- "id": 521,
+ "id": 499,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -14051,7 +13994,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 45
}
],
@@ -14063,7 +14006,7 @@
"defaultValue": "data"
},
{
- "id": 520,
+ "id": 498,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -14073,7 +14016,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 25
}
],
@@ -14099,10 +14042,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 519,
- 522,
- 521,
- 520
+ 497,
+ 500,
+ 499,
+ 498
]
}
]
@@ -14111,7 +14054,7 @@
{
"type": "reflection",
"declaration": {
- "id": 523,
+ "id": 501,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14120,7 +14063,7 @@
},
"children": [
{
- "id": 524,
+ "id": 502,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -14130,7 +14073,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 19
}
],
@@ -14141,7 +14084,7 @@
"defaultValue": "null"
},
{
- "id": 527,
+ "id": 505,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -14151,7 +14094,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 59
}
],
@@ -14161,7 +14104,7 @@
}
},
{
- "id": 526,
+ "id": 504,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -14171,7 +14114,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 46
}
],
@@ -14182,7 +14125,7 @@
"defaultValue": "null"
},
{
- "id": 525,
+ "id": 503,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -14192,7 +14135,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 31
}
],
@@ -14208,10 +14151,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 524,
- 527,
- 526,
- 525
+ 502,
+ 505,
+ 504,
+ 503
]
}
]
@@ -14227,13 +14170,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 493,
+ "line": 504,
"character": 34
}
]
},
{
- "id": 528,
+ "id": 506,
"name": "_handleProviderSignIn",
"kind": 2048,
"kindString": "Method",
@@ -14243,7 +14186,7 @@
},
"signatures": [
{
- "id": 529,
+ "id": 507,
"name": "_handleProviderSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -14252,7 +14195,7 @@
},
"parameters": [
{
- "id": 530,
+ "id": 508,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -14266,7 +14209,7 @@
}
},
{
- "id": 531,
+ "id": 509,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -14276,7 +14219,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14285,7 +14228,7 @@
},
"children": [
{
- "id": 533,
+ "id": 511,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -14296,7 +14239,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 512,
+ "line": 523,
"character": 16
}
],
@@ -14315,7 +14258,7 @@
}
},
{
- "id": 534,
+ "id": 512,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -14326,7 +14269,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 513,
+ "line": 524,
"character": 12
}
],
@@ -14350,15 +14293,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 533,
- 534
+ 511,
+ 512
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 511,
+ "line": 522,
"character": 12
}
]
@@ -14373,7 +14316,7 @@
{
"type": "reflection",
"declaration": {
- "id": 535,
+ "id": 513,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14382,7 +14325,7 @@
},
"children": [
{
- "id": 538,
+ "id": 516,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -14392,7 +14335,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 34
}
],
@@ -14403,7 +14346,7 @@
"defaultValue": "null"
},
{
- "id": 541,
+ "id": 519,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -14413,7 +14356,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 74
}
],
@@ -14424,7 +14367,7 @@
"defaultValue": "null"
},
{
- "id": 536,
+ "id": 514,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -14434,7 +14377,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 23
}
],
@@ -14445,7 +14388,7 @@
}
},
{
- "id": 539,
+ "id": 517,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -14455,7 +14398,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 49
}
],
@@ -14466,7 +14409,7 @@
"defaultValue": "null"
},
{
- "id": 537,
+ "id": 515,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -14476,7 +14419,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 28
}
],
@@ -14486,7 +14429,7 @@
}
},
{
- "id": 540,
+ "id": 518,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -14496,7 +14439,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 61
}
],
@@ -14512,12 +14455,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 538,
- 541,
- 536,
- 539,
- 537,
- 540
+ 516,
+ 519,
+ 514,
+ 517,
+ 515,
+ 518
]
}
]
@@ -14526,7 +14469,7 @@
{
"type": "reflection",
"declaration": {
- "id": 542,
+ "id": 520,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -14535,7 +14478,7 @@
},
"children": [
{
- "id": 543,
+ "id": 521,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -14545,7 +14488,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 19
}
],
@@ -14556,7 +14499,7 @@
"defaultValue": "null"
},
{
- "id": 546,
+ "id": 524,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -14566,7 +14509,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 59
}
],
@@ -14576,7 +14519,7 @@
}
},
{
- "id": 545,
+ "id": 523,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -14586,7 +14529,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 46
}
],
@@ -14597,7 +14540,7 @@
"defaultValue": "null"
},
{
- "id": 544,
+ "id": 522,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -14607,7 +14550,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 31
}
],
@@ -14623,10 +14566,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 543,
- 546,
- 545,
- 544
+ 521,
+ 524,
+ 523,
+ 522
]
}
]
@@ -14639,13 +14582,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 509,
+ "line": 520,
"character": 31
}
]
},
{
- "id": 560,
+ "id": 538,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -14655,7 +14598,7 @@
},
"signatures": [
{
- "id": 561,
+ "id": 539,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -14664,7 +14607,7 @@
},
"parameters": [
{
- "id": 562,
+ "id": 540,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -14687,13 +14630,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 616,
+ "line": 627,
"character": 31
}
]
},
{
- "id": 566,
+ "id": 544,
"name": "_persistSession",
"kind": 2048,
"kindString": "Method",
@@ -14703,7 +14646,7 @@
},
"signatures": [
{
- "id": 567,
+ "id": 545,
"name": "_persistSession",
"kind": 4096,
"kindString": "Call signature",
@@ -14712,7 +14655,7 @@
},
"parameters": [
{
- "id": 568,
+ "id": 546,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -14735,13 +14678,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 643,
+ "line": 654,
"character": 25
}
]
},
{
- "id": 549,
+ "id": 527,
"name": "_recoverAndRefresh",
"kind": 2048,
"kindString": "Method",
@@ -14751,7 +14694,7 @@
},
"signatures": [
{
- "id": 550,
+ "id": 528,
"name": "_recoverAndRefresh",
"kind": 4096,
"kindString": "Call signature",
@@ -14785,13 +14728,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 562,
+ "line": 573,
"character": 34
}
]
},
{
- "id": 547,
+ "id": 525,
"name": "_recoverSession",
"kind": 2048,
"kindString": "Method",
@@ -14801,7 +14744,7 @@
},
"signatures": [
{
- "id": 548,
+ "id": 526,
"name": "_recoverSession",
"kind": 4096,
"kindString": "Call signature",
@@ -14829,13 +14772,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 538,
+ "line": 549,
"character": 25
}
]
},
{
- "id": 569,
+ "id": 547,
"name": "_removeSession",
"kind": 2048,
"kindString": "Method",
@@ -14845,7 +14788,7 @@
},
"signatures": [
{
- "id": 570,
+ "id": 548,
"name": "_removeSession",
"kind": 4096,
"kindString": "Call signature",
@@ -14867,13 +14810,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 648,
+ "line": 659,
"character": 30
}
]
},
{
- "id": 563,
+ "id": 541,
"name": "_saveSession",
"kind": 2048,
"kindString": "Method",
@@ -14883,7 +14826,7 @@
},
"signatures": [
{
- "id": 564,
+ "id": 542,
"name": "_saveSession",
"kind": 4096,
"kindString": "Call signature",
@@ -14895,7 +14838,7 @@
},
"parameters": [
{
- "id": 565,
+ "id": 543,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -14918,13 +14861,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 624,
+ "line": 635,
"character": 22
}
]
},
{
- "id": 571,
+ "id": 549,
"name": "_startAutoRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -14934,7 +14877,7 @@
},
"signatures": [
{
- "id": 572,
+ "id": 550,
"name": "_startAutoRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -14946,7 +14889,7 @@
},
"parameters": [
{
- "id": 573,
+ "id": 551,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -14971,13 +14914,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 659,
+ "line": 670,
"character": 32
}
]
},
{
- "id": 475,
+ "id": 453,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -14986,7 +14929,7 @@
},
"signatures": [
{
- "id": 476,
+ "id": 454,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -14998,7 +14941,7 @@
},
"parameters": [
{
- "id": 477,
+ "id": 455,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -15016,7 +14959,7 @@
{
"type": "reflection",
"declaration": {
- "id": 478,
+ "id": 456,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15025,7 +14968,7 @@
},
"children": [
{
- "id": 479,
+ "id": 457,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -15039,7 +14982,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 379,
+ "line": 390,
"character": 16
}
],
@@ -15067,7 +15010,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 479
+ 457
]
}
]
@@ -15083,7 +15026,7 @@
{
"type": "reflection",
"declaration": {
- "id": 480,
+ "id": 458,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15092,7 +15035,7 @@
},
"children": [
{
- "id": 481,
+ "id": 459,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -15102,7 +15045,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 380,
+ "line": 391,
"character": 20
}
],
@@ -15122,7 +15065,7 @@
}
},
{
- "id": 482,
+ "id": 460,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -15132,7 +15075,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 380,
+ "line": 391,
"character": 43
}
],
@@ -15156,15 +15099,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 481,
- 482
+ 459,
+ 460
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 380,
+ "line": 391,
"character": 14
}
]
@@ -15178,13 +15121,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 378,
+ "line": 389,
"character": 25
}
]
},
{
- "id": 487,
+ "id": 465,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -15193,7 +15136,7 @@
},
"signatures": [
{
- "id": 488,
+ "id": 466,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -15206,7 +15149,7 @@
},
"parameters": [
{
- "id": 489,
+ "id": 467,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -15216,7 +15159,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 490,
+ "id": 468,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15225,7 +15168,7 @@
},
"signatures": [
{
- "id": 491,
+ "id": 469,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -15234,7 +15177,7 @@
},
"parameters": [
{
- "id": 492,
+ "id": 470,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -15248,7 +15191,7 @@
}
},
{
- "id": 493,
+ "id": 471,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -15280,7 +15223,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 450,
+ "line": 461,
"character": 13
}
]
@@ -15291,7 +15234,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 472,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15300,7 +15243,7 @@
},
"children": [
{
- "id": 495,
+ "id": 473,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -15310,7 +15253,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 451,
+ "line": 462,
"character": 11
}
],
@@ -15330,7 +15273,7 @@
}
},
{
- "id": 496,
+ "id": 474,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -15340,7 +15283,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 451,
+ "line": 462,
"character": 39
}
],
@@ -15364,15 +15307,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 495,
- 496
+ 473,
+ 474
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 451,
+ "line": 462,
"character": 4
}
]
@@ -15383,13 +15326,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 449,
+ "line": 460,
"character": 19
}
]
},
{
- "id": 453,
+ "id": 431,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -15398,7 +15341,7 @@
},
"signatures": [
{
- "id": 454,
+ "id": 432,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -15414,7 +15357,7 @@
{
"type": "reflection",
"declaration": {
- "id": 455,
+ "id": 433,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15423,7 +15366,7 @@
},
"children": [
{
- "id": 456,
+ "id": 434,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -15433,7 +15376,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 286,
+ "line": 297,
"character": 8
}
],
@@ -15453,7 +15396,7 @@
}
},
{
- "id": 458,
+ "id": 436,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -15463,7 +15406,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 288,
+ "line": 299,
"character": 9
}
],
@@ -15482,7 +15425,7 @@
}
},
{
- "id": 457,
+ "id": 435,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -15492,7 +15435,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 287,
+ "line": 298,
"character": 8
}
],
@@ -15517,16 +15460,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 456,
- 458,
- 457
+ 434,
+ 436,
+ 435
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 285,
+ "line": 296,
"character": 34
}
]
@@ -15540,13 +15483,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 285,
+ "line": 296,
"character": 22
}
]
},
{
- "id": 451,
+ "id": 429,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -15555,7 +15498,7 @@
},
"signatures": [
{
- "id": 452,
+ "id": 430,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -15584,13 +15527,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 278,
+ "line": 289,
"character": 9
}
]
},
{
- "id": 472,
+ "id": 450,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -15599,7 +15542,7 @@
},
"signatures": [
{
- "id": 473,
+ "id": 451,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -15611,7 +15554,7 @@
},
"parameters": [
{
- "id": 474,
+ "id": 452,
"name": "access_token",
"kind": 32768,
"kindString": "Parameter",
@@ -15637,13 +15580,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 363,
+ "line": 374,
"character": 9
}
]
},
{
- "id": 466,
+ "id": 444,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -15652,7 +15595,7 @@
},
"signatures": [
{
- "id": 467,
+ "id": 445,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -15664,7 +15607,7 @@
},
"parameters": [
{
- "id": 468,
+ "id": 446,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -15686,7 +15629,7 @@
{
"type": "reflection",
"declaration": {
- "id": 469,
+ "id": 447,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15695,7 +15638,7 @@
},
"children": [
{
- "id": 471,
+ "id": 449,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -15705,7 +15648,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 335,
+ "line": 346,
"character": 45
}
],
@@ -15724,7 +15667,7 @@
}
},
{
- "id": 470,
+ "id": 448,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -15734,7 +15677,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 335,
+ "line": 346,
"character": 22
}
],
@@ -15759,15 +15702,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 471,
- 470
+ 449,
+ 448
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 335,
+ "line": 346,
"character": 13
}
]
@@ -15781,13 +15724,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 333,
+ "line": 344,
"character": 18
}
]
},
{
- "id": 415,
+ "id": 393,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -15796,7 +15739,7 @@
},
"signatures": [
{
- "id": 416,
+ "id": 394,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -15808,7 +15751,7 @@
},
"parameters": [
{
- "id": 417,
+ "id": 395,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -15819,7 +15762,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 418,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15828,7 +15771,7 @@
},
"children": [
{
- "id": 419,
+ "id": 397,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -15841,7 +15784,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 11
}
],
@@ -15860,7 +15803,7 @@
}
},
{
- "id": 421,
+ "id": 399,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -15873,7 +15816,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 28
}
],
@@ -15892,7 +15835,7 @@
}
},
{
- "id": 420,
+ "id": 398,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -15902,7 +15845,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 18
}
],
@@ -15921,7 +15864,7 @@
}
},
{
- "id": 423,
+ "id": 401,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -15934,7 +15877,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 52
}
],
@@ -15989,7 +15932,7 @@
}
},
{
- "id": 422,
+ "id": 400,
"name": "refreshToken",
"kind": 32,
"kindString": "Variable",
@@ -16002,7 +15945,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 42
}
],
@@ -16026,18 +15969,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 419,
- 421,
- 420,
- 423,
- 422
+ 397,
+ 399,
+ 398,
+ 401,
+ 400
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 168,
"character": 15
}
]
@@ -16045,7 +15988,7 @@
}
},
{
- "id": 424,
+ "id": 402,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -16055,7 +15998,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 425,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16064,7 +16007,7 @@
},
"children": [
{
- "id": 426,
+ "id": 404,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -16075,7 +16018,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 160,
+ "line": 171,
"character": 16
}
],
@@ -16094,7 +16037,7 @@
}
},
{
- "id": 427,
+ "id": 405,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -16105,7 +16048,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 161,
+ "line": 172,
"character": 12
}
],
@@ -16129,15 +16072,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 426,
- 427
+ 404,
+ 405
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 159,
+ "line": 170,
"character": 12
}
]
@@ -16152,7 +16095,7 @@
{
"type": "reflection",
"declaration": {
- "id": 428,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16161,7 +16104,7 @@
},
"children": [
{
- "id": 434,
+ "id": 412,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -16171,7 +16114,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 169,
+ "line": 180,
"character": 8
}
],
@@ -16191,7 +16134,7 @@
}
},
{
- "id": 433,
+ "id": 411,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -16201,7 +16144,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 168,
+ "line": 179,
"character": 9
}
],
@@ -16220,7 +16163,7 @@
}
},
{
- "id": 431,
+ "id": 409,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -16231,7 +16174,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 166,
+ "line": 177,
"character": 12
}
],
@@ -16242,7 +16185,7 @@
}
},
{
- "id": 429,
+ "id": 407,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -16252,7 +16195,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 164,
+ "line": 175,
"character": 11
}
],
@@ -16272,7 +16215,7 @@
}
},
{
- "id": 432,
+ "id": 410,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -16283,7 +16226,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 167,
+ "line": 178,
"character": 7
}
],
@@ -16302,7 +16245,7 @@
}
},
{
- "id": 430,
+ "id": 408,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -16312,7 +16255,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 165,
+ "line": 176,
"character": 8
}
],
@@ -16337,19 +16280,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 434,
- 433,
- 431,
- 429,
- 432,
- 430
+ 412,
+ 411,
+ 409,
+ 407,
+ 410,
+ 408
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 163,
+ "line": 174,
"character": 13
}
]
@@ -16363,13 +16306,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 168,
"character": 14
}
]
},
{
- "id": 483,
+ "id": 461,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -16378,7 +16321,7 @@
},
"signatures": [
{
- "id": 484,
+ "id": 462,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -16395,7 +16338,7 @@
{
"type": "reflection",
"declaration": {
- "id": 485,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -16404,7 +16347,7 @@
},
"children": [
{
- "id": 486,
+ "id": 464,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -16414,7 +16357,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 434,
+ "line": 445,
"character": 34
}
],
@@ -16438,14 +16381,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 486
+ 464
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 434,
+ "line": 445,
"character": 27
}
]
@@ -16459,13 +16402,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 434,
+ "line": 445,
"character": 15
}
]
},
{
- "id": 400,
+ "id": 378,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -16474,7 +16417,7 @@
},
"signatures": [
{
- "id": 401,
+ "id": 379,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -16486,628 +16429,7 @@
},
"parameters": [
{
- "id": 402,
- "name": "__namedParameters",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "originalName": "__0",
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 403,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 404,
- "name": "email",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user's email address."
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 99,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 405,
- "name": "password",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user's password."
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 99,
- "character": 21
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 406,
- "name": "phone",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "comment": {
- "text": "The user's phone number."
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 99,
- "character": 28
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 404,
- 405,
- 406
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 98,
- "character": 15
- }
- ]
- }
- }
- },
- {
- "id": 407,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 408,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 409,
- "name": "redirectTo",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 101,
- "character": 16
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 409
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 100,
- "character": 12
- }
- ]
- }
- },
- "defaultValue": "{}"
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 410,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 414,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 107,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 50,
- "name": "Session"
- },
- {
- "type": "reference",
- "id": 58,
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 413,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 106,
- "character": 9
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Error"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 412,
- "name": "session",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 105,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 50,
- "name": "Session"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 411,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 104,
- "character": 8
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 58,
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 414,
- 413,
- 412,
- 411
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 103,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 98,
- "character": 14
- }
- ]
- },
- {
- "id": 459,
- "name": "update",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 460,
- "name": "update",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Updates user data, if there is a logged in user."
- },
- "parameters": [
- {
- "id": 461,
- "name": "attributes",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "id": 82,
- "name": "UserAttributes"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 462,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 463,
- "name": "data",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 308,
- "character": 19
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 58,
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 465,
- "name": "error",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 308,
- "character": 58
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "name": "Error"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- },
- {
- "id": 464,
- "name": "user",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 308,
- "character": 38
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 58,
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 463,
- 465,
- 464
- ]
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 308,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 306,
- "character": 14
- }
- ]
- },
- {
- "id": 449,
- "name": "user",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 450,
- "name": "user",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.",
- "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n"
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "id": 58,
- "name": "User"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 271,
- "character": 6
- }
- ]
- },
- {
- "id": 435,
- "name": "verifyOTP",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 436,
- "name": "verifyOTP",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "comment": {
- "shortText": "Log in a user given a User supplied OTP received via mobile."
- },
- "parameters": [
- {
- "id": 437,
+ "id": 380,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -17118,7 +16440,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 438,
+ "id": 381,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17127,31 +16449,40 @@
},
"children": [
{
- "id": 439,
- "name": "phone",
+ "id": 382,
+ "name": "email",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
- "text": "The user's phone number."
+ "text": "The user's email address."
},
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 223,
+ "line": 110,
"character": 11
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
},
{
- "id": 440,
- "name": "token",
+ "id": 383,
+ "name": "password",
"kind": 32,
"kindString": "Variable",
"flags": {
@@ -17163,13 +16494,54 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 223,
- "character": 18
+ "line": 110,
+ "character": 21
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 384,
+ "name": "phone",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's phone number."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 110,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
}
],
@@ -17178,23 +16550,24 @@
"title": "Variables",
"kind": 32,
"children": [
- 439,
- 440
+ 382,
+ 383,
+ 384
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 222,
- "character": 18
+ "line": 109,
+ "character": 15
}
]
}
}
},
{
- "id": 441,
+ "id": 385,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -17204,7 +16577,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 442,
+ "id": 386,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17213,7 +16586,7 @@
},
"children": [
{
- "id": 443,
+ "id": 387,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -17224,7 +16597,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 225,
+ "line": 112,
"character": 16
}
],
@@ -17248,14 +16621,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 443
+ 387
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 224,
+ "line": 111,
"character": 12
}
]
@@ -17270,7 +16643,7 @@
{
"type": "reflection",
"declaration": {
- "id": 444,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17279,7 +16652,7 @@
},
"children": [
{
- "id": 448,
+ "id": 392,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -17289,7 +16662,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 231,
+ "line": 118,
"character": 8
}
],
@@ -17314,7 +16687,7 @@
}
},
{
- "id": 447,
+ "id": 391,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -17324,7 +16697,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 230,
+ "line": 117,
"character": 9
}
],
@@ -17343,7 +16716,7 @@
}
},
{
- "id": 446,
+ "id": 390,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -17353,7 +16726,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 116,
"character": 11
}
],
@@ -17373,7 +16746,7 @@
}
},
{
- "id": 445,
+ "id": 389,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -17383,7 +16756,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 228,
+ "line": 115,
"character": 8
}
],
@@ -17408,17 +16781,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 448,
- 447,
- 446,
- 445
+ 392,
+ 391,
+ 390,
+ 389
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 227,
+ "line": 114,
"character": 13
}
]
@@ -17432,13 +16805,231 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 222,
- "character": 17
+ "line": 109,
+ "character": 14
}
]
},
{
- "id": 436,
+ "id": 437,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 438,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 439,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 82,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 440,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 441,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 319,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 58,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 443,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 319,
+ "character": 58
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 442,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 319,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 58,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 441,
+ 443,
+ 442
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 319,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 317,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 427,
+ "name": "user",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 428,
+ "name": "user",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.",
+ "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 58,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 282,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 413,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -17447,7 +17038,7 @@
},
"signatures": [
{
- "id": 437,
+ "id": 414,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -17459,7 +17050,7 @@
},
"parameters": [
{
- "id": 438,
+ "id": 415,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -17470,7 +17061,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 439,
+ "id": 416,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17479,7 +17070,7 @@
},
"children": [
{
- "id": 440,
+ "id": 417,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -17492,7 +17083,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 223,
+ "line": 234,
"character": 11
}
],
@@ -17502,7 +17093,7 @@
}
},
{
- "id": 441,
+ "id": 418,
"name": "token",
"kind": 32,
"kindString": "Variable",
@@ -17515,7 +17106,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 223,
+ "line": 234,
"character": 18
}
],
@@ -17530,15 +17121,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 440,
- 441
+ 417,
+ 418
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 222,
+ "line": 233,
"character": 18
}
]
@@ -17546,7 +17137,7 @@
}
},
{
- "id": 442,
+ "id": 419,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -17556,7 +17147,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 443,
+ "id": 420,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17565,7 +17156,7 @@
},
"children": [
{
- "id": 444,
+ "id": 421,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -17576,7 +17167,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 225,
+ "line": 236,
"character": 16
}
],
@@ -17600,14 +17191,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 444
+ 421
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 224,
+ "line": 235,
"character": 12
}
]
@@ -17622,7 +17213,7 @@
{
"type": "reflection",
"declaration": {
- "id": 445,
+ "id": 422,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -17631,7 +17222,7 @@
},
"children": [
{
- "id": 449,
+ "id": 426,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -17641,7 +17232,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 231,
+ "line": 242,
"character": 8
}
],
@@ -17666,7 +17257,7 @@
}
},
{
- "id": 448,
+ "id": 425,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -17676,7 +17267,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 230,
+ "line": 241,
"character": 9
}
],
@@ -17695,7 +17286,7 @@
}
},
{
- "id": 447,
+ "id": 424,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -17705,7 +17296,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 240,
"character": 11
}
],
@@ -17725,7 +17316,7 @@
}
},
{
- "id": 446,
+ "id": 423,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -17735,7 +17326,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 228,
+ "line": 239,
"character": 8
}
],
@@ -17760,17 +17351,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 449,
- 448,
- 447,
- 446
+ 426,
+ 425,
+ 424,
+ 423
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 227,
+ "line": 238,
"character": 13
}
]
@@ -17784,7 +17375,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 222,
+ "line": 233,
"character": 17
}
]
@@ -17795,63 +17386,255 @@
"title": "Constructors",
"kind": 512,
"children": [
- 386
+ 364
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 378,
- 381,
- 380,
- 379,
- 383,
- 382,
- 385,
- 384
+ 356,
+ 359,
+ 358,
+ 357,
+ 361,
+ 360,
+ 363,
+ 362
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 551,
- 497,
- 514,
- 528,
- 560,
- 566,
- 549,
- 547,
- 569,
- 563,
- 571,
+ 529,
475,
- 487,
+ 492,
+ 506,
+ 538,
+ 544,
+ 527,
+ 525,
+ 547,
+ 541,
+ 549,
453,
- 451,
- 472,
- 466,
- 415,
- 483,
- 400,
- 459,
- 449,
- 435
+ 465,
+ 431,
+ 429,
+ 450,
+ 444,
+ 393,
+ 461,
+ 378,
+ 437,
+ 427,
+ 413
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 27,
+ "line": 38,
"character": 33
}
]
},
{
- "id": 574,
+ "id": 560,
+ "name": "AnyFunction",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 27,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 561,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 562,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 563,
+ "name": "args",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isRest": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 27,
+ "character": 18
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 564,
+ "name": "MaybePromisify",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 565,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 28,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Promise"
+ }
+ ]
+ }
+ },
+ {
+ "id": 566,
+ "name": "PromisifyMethods",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 567,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 30,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 568,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 30,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 569,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 36,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 566,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "getItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "setItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 552,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -17860,7 +17643,7 @@
},
"children": [
{
- "id": 576,
+ "id": 554,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -17879,7 +17662,7 @@
"defaultValue": "true"
},
{
- "id": 579,
+ "id": 556,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -17887,7 +17670,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 24,
+ "line": 23,
"character": 20
}
],
@@ -17898,7 +17681,7 @@
"defaultValue": "true"
},
{
- "id": 580,
+ "id": 557,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -17906,21 +17689,21 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 25,
+ "line": 24,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 581,
+ "id": 558,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 582,
+ "id": 559,
"name": "X-Client-Info",
"kind": 32,
"kindString": "Variable",
@@ -17944,7 +17727,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 582
+ 559
]
}
]
@@ -17953,26 +17736,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 578,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 23,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- },
- "defaultValue": "globalThis.localStorage"
- },
- {
- "id": 577,
+ "id": 555,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -17991,7 +17755,7 @@
"defaultValue": "true"
},
{
- "id": 575,
+ "id": 553,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -18015,12 +17779,11 @@
"title": "Variables",
"kind": 32,
"children": [
- 576,
- 579,
- 580,
- 578,
- 577,
- 575
+ 554,
+ 556,
+ 557,
+ 555,
+ 553
]
}
],
@@ -18042,14 +17805,24 @@
"title": "Classes",
"kind": 128,
"children": [
- 377
+ 355
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 560,
+ 564,
+ 566,
+ 569
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 574
+ 552
]
}
],
@@ -18062,7 +17835,7 @@
]
},
{
- "id": 583,
+ "id": 570,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -18072,7 +17845,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
"children": [
{
- "id": 585,
+ "id": 572,
"name": "AuthChangeEvent",
"kind": 16777216,
"kindString": "Reference",
@@ -18082,7 +17855,7 @@
"target": 113
},
{
- "id": 590,
+ "id": 577,
"name": "CookieOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -18092,7 +17865,7 @@
"target": 97
},
{
- "id": 584,
+ "id": 571,
"name": "Provider",
"kind": 16777216,
"kindString": "Reference",
@@ -18102,7 +17875,7 @@
"target": 112
},
{
- "id": 586,
+ "id": 573,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
@@ -18112,7 +17885,7 @@
"target": 50
},
{
- "id": 589,
+ "id": 576,
"name": "Subscription",
"kind": 16777216,
"kindString": "Reference",
@@ -18122,7 +17895,7 @@
"target": 87
},
{
- "id": 587,
+ "id": 574,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
@@ -18132,7 +17905,7 @@
"target": 58
},
{
- "id": 588,
+ "id": 575,
"name": "UserAttributes",
"kind": 16777216,
"kindString": "Reference",
@@ -18142,7 +17915,7 @@
"target": 82
},
{
- "id": 591,
+ "id": 578,
"name": "UserCredentials",
"kind": 16777216,
"kindString": "Reference",
@@ -18152,7 +17925,7 @@
"target": 103
},
{
- "id": 592,
+ "id": 579,
"name": "VerifyOTPParams",
"kind": 16777216,
"kindString": "Reference",
@@ -18167,15 +17940,15 @@
"title": "References",
"kind": 16777216,
"children": [
- 585,
- 590,
- 584,
- 586,
- 589,
- 587,
- 588,
- 591,
- 592
+ 572,
+ 577,
+ 571,
+ 573,
+ 576,
+ 574,
+ 575,
+ 578,
+ 579
]
}
],
@@ -18188,7 +17961,7 @@
]
},
{
- "id": 114,
+ "id": 116,
"name": "\"lib/constants\"",
"kind": 1,
"kindString": "Module",
@@ -18198,7 +17971,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
"children": [
{
- "id": 117,
+ "id": 118,
"name": "AUDIENCE",
"kind": 32,
"kindString": "Variable",
@@ -18220,7 +17993,7 @@
"defaultValue": "\"\""
},
{
- "id": 120,
+ "id": 121,
"name": "EXPIRY_MARGIN",
"kind": 32,
"kindString": "Variable",
@@ -18242,7 +18015,7 @@
"defaultValue": "60 * 1000"
},
{
- "id": 116,
+ "id": 117,
"name": "GOTRUE_URL",
"kind": 32,
"kindString": "Variable",
@@ -18264,7 +18037,7 @@
"defaultValue": "\"http://localhost:9999\""
},
{
- "id": 121,
+ "id": 122,
"name": "STORAGE_KEY",
"kind": 32,
"kindString": "Variable",
@@ -18286,25 +18059,7 @@
"defaultValue": "\"supabase.auth.token\""
},
{
- "id": 115,
- "name": "version",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 1,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 122,
+ "id": 123,
"name": "COOKIE_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -18314,7 +18069,7 @@
},
"children": [
{
- "id": 125,
+ "id": 126,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -18335,7 +18090,7 @@
"defaultValue": "\"\""
},
{
- "id": 124,
+ "id": 125,
"name": "lifetime",
"kind": 32,
"kindString": "Variable",
@@ -18356,7 +18111,7 @@
"defaultValue": "60 * 60 * 8"
},
{
- "id": 123,
+ "id": 124,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -18377,7 +18132,7 @@
"defaultValue": "\"sb:token\""
},
{
- "id": 126,
+ "id": 127,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -18398,7 +18153,7 @@
"defaultValue": "\"/\""
},
{
- "id": 127,
+ "id": 128,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -18424,11 +18179,11 @@
"title": "Variables",
"kind": 32,
"children": [
+ 126,
125,
124,
- 123,
- 126,
- 127
+ 127,
+ 128
]
}
],
@@ -18445,7 +18200,7 @@
}
},
{
- "id": 118,
+ "id": 119,
"name": "DEFAULT_HEADERS",
"kind": 2097152,
"kindString": "Object literal",
@@ -18455,7 +18210,7 @@
},
"children": [
{
- "id": 119,
+ "id": 120,
"name": "X-Client-Info",
"kind": 32,
"kindString": "Variable",
@@ -18481,7 +18236,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 119
+ 120
]
}
],
@@ -18503,19 +18258,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 117,
- 120,
- 116,
+ 118,
121,
- 115
+ 117,
+ 122
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 122,
- 118
+ 123,
+ 119
]
}
],
@@ -18528,7 +18282,7 @@
]
},
{
- "id": 128,
+ "id": 129,
"name": "\"lib/cookies\"",
"kind": 1,
"kindString": "Module",
@@ -18538,7 +18292,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts",
"children": [
{
- "id": 129,
+ "id": 130,
"name": "Cookie",
"kind": 4194304,
"kindString": "Type alias",
@@ -18553,14 +18307,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 130,
+ "id": 131,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 134,
+ "id": 135,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -18589,7 +18343,7 @@
}
},
{
- "id": 133,
+ "id": 134,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -18607,7 +18361,7 @@
}
},
{
- "id": 131,
+ "id": 132,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -18625,7 +18379,7 @@
}
},
{
- "id": 135,
+ "id": 136,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -18654,7 +18408,7 @@
}
},
{
- "id": 136,
+ "id": 137,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -18683,7 +18437,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "value",
"kind": 32,
"kindString": "Variable",
@@ -18706,12 +18460,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 134,
- 133,
- 131,
135,
+ 134,
+ 132,
136,
- 132
+ 137,
+ 133
]
}
],
@@ -18726,7 +18480,7 @@
}
},
{
- "id": 167,
+ "id": 168,
"name": "deleteCookie",
"kind": 64,
"kindString": "Function",
@@ -18735,7 +18489,7 @@
},
"signatures": [
{
- "id": 168,
+ "id": 169,
"name": "deleteCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -18744,7 +18498,7 @@
},
"parameters": [
{
- "id": 169,
+ "id": 170,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -18757,7 +18511,7 @@
}
},
{
- "id": 170,
+ "id": 171,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -18770,7 +18524,7 @@
}
},
{
- "id": 171,
+ "id": 172,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -18798,14 +18552,14 @@
]
},
{
- "id": 150,
+ "id": 151,
"name": "isSecureEnvironment",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "isSecureEnvironment",
"kind": 4096,
"kindString": "Call signature",
@@ -18815,7 +18569,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 153,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -18841,14 +18595,14 @@
]
},
{
- "id": 137,
+ "id": 138,
"name": "serialize",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 138,
+ "id": 139,
"name": "serialize",
"kind": 4096,
"kindString": "Call signature",
@@ -18858,7 +18612,7 @@
},
"parameters": [
{
- "id": 139,
+ "id": 140,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -18869,7 +18623,7 @@
}
},
{
- "id": 140,
+ "id": 141,
"name": "val",
"kind": 32768,
"kindString": "Parameter",
@@ -18880,7 +18634,7 @@
}
},
{
- "id": 141,
+ "id": 142,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -18888,14 +18642,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 142,
+ "id": 143,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 144,
+ "id": 145,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -18913,7 +18667,7 @@
}
},
{
- "id": 146,
+ "id": 147,
"name": "expires",
"kind": 32,
"kindString": "Variable",
@@ -18931,7 +18685,7 @@
}
},
{
- "id": 147,
+ "id": 148,
"name": "httpOnly",
"kind": 32,
"kindString": "Variable",
@@ -18949,7 +18703,7 @@
}
},
{
- "id": 143,
+ "id": 144,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -18967,7 +18721,7 @@
}
},
{
- "id": 145,
+ "id": 146,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -18985,7 +18739,7 @@
}
},
{
- "id": 149,
+ "id": 150,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -19003,7 +18757,7 @@
}
},
{
- "id": 148,
+ "id": 149,
"name": "secure",
"kind": 32,
"kindString": "Variable",
@@ -19026,13 +18780,13 @@
"title": "Variables",
"kind": 32,
"children": [
+ 145,
+ 147,
+ 148,
144,
146,
- 147,
- 143,
- 145,
- 149,
- 148
+ 150,
+ 149
]
}
],
@@ -19062,14 +18816,14 @@
]
},
{
- "id": 153,
+ "id": 154,
"name": "serializeCookie",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 154,
+ "id": 155,
"name": "serializeCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -19079,19 +18833,19 @@
},
"parameters": [
{
- "id": 155,
+ "id": 156,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 129,
+ "id": 130,
"name": "Cookie"
}
},
{
- "id": 156,
+ "id": 157,
"name": "secure",
"kind": 32768,
"kindString": "Parameter",
@@ -19117,7 +18871,7 @@
]
},
{
- "id": 162,
+ "id": 163,
"name": "setCookie",
"kind": 64,
"kindString": "Function",
@@ -19126,7 +18880,7 @@
},
"signatures": [
{
- "id": 163,
+ "id": 164,
"name": "setCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -19138,7 +18892,7 @@
},
"parameters": [
{
- "id": 164,
+ "id": 165,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -19151,7 +18905,7 @@
}
},
{
- "id": 165,
+ "id": 166,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -19164,7 +18918,7 @@
}
},
{
- "id": 166,
+ "id": 167,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
@@ -19173,7 +18927,7 @@
},
"type": {
"type": "reference",
- "id": 129,
+ "id": 130,
"name": "Cookie"
}
}
@@ -19193,7 +18947,7 @@
]
},
{
- "id": 157,
+ "id": 158,
"name": "setCookies",
"kind": 64,
"kindString": "Function",
@@ -19202,7 +18956,7 @@
},
"signatures": [
{
- "id": 158,
+ "id": 159,
"name": "setCookies",
"kind": 4096,
"kindString": "Call signature",
@@ -19214,7 +18968,7 @@
},
"parameters": [
{
- "id": 159,
+ "id": 160,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -19227,7 +18981,7 @@
}
},
{
- "id": 160,
+ "id": 161,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -19240,7 +18994,7 @@
}
},
{
- "id": 161,
+ "id": 162,
"name": "cookies",
"kind": 32768,
"kindString": "Parameter",
@@ -19252,7 +19006,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 129,
+ "id": 130,
"name": "Cookie"
}
],
@@ -19280,19 +19034,19 @@
"title": "Type aliases",
"kind": 4194304,
"children": [
- 129
+ 130
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 167,
- 150,
- 137,
- 153,
- 162,
- 157
+ 168,
+ 151,
+ 138,
+ 154,
+ 163,
+ 158
]
}
],
@@ -19938,626 +19692,211 @@
"kind": 64,
"kindString": "Function",
"flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 40,
- "name": "put",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 41,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 42,
- "name": "body",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 43,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 2,
- "name": "FetchOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/fetch.ts",
- "line": 66,
- "character": 25
- }
- ]
- },
- {
- "id": 44,
- "name": "remove",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 45,
- "name": "remove",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 46,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 47,
- "name": "body",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 48,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 2,
- "name": "FetchOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/fetch.ts",
- "line": 70,
- "character": 28
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [
- 2
- ]
- },
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [
- 8
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 9,
- 16,
- 24,
- 30,
- 12,
- 34,
- 39,
- 44
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/fetch.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 172,
- "name": "\"lib/helpers\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
- "children": [
- {
- "id": 173,
- "name": "LocalStorage",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 175,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 176,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "children": [
- {
- "id": 178,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 179,
- "name": "new LocalStorage",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 180,
- "name": "localStorage",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Storage"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 173,
- "name": "LocalStorage"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 29,
- "character": 17
- }
- ]
- },
- {
- "id": 177,
- "name": "length",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 29,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 174,
- "name": "localStorage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 27,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- }
- },
+ "isExported": true
+ },
+ "signatures": [
{
- "id": 181,
- "name": "clear",
- "kind": 2048,
- "kindString": "Method",
+ "id": 40,
+ "name": "put",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {
"isExported": true
},
- "signatures": [
+ "parameters": [
{
- "id": 182,
- "name": "clear",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 41,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
- "name": "void"
+ "name": "string"
}
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 33,
- "character": 7
- }
- ]
- },
- {
- "id": 190,
- "name": "getItem",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 191,
- "name": "getItem",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 42,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
},
- "parameters": [
- {
- "id": 192,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "intrinsic",
+ "name": "object"
}
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 42,
- "character": 9
- }
- ]
- },
- {
- "id": 183,
- "name": "key",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 184,
- "name": "key",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 43,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
- "parameters": [
- {
- "id": 185,
- "name": "index",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
"type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
}
}
],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 36,
- "character": 5
- }
- ]
- },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
{
- "id": 193,
- "name": "removeItem",
- "kind": 2048,
- "kindString": "Method",
+ "fileName": "lib/fetch.ts",
+ "line": 66,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 44,
+ "name": "remove",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {
"isExported": true
},
- "signatures": [
+ "parameters": [
{
- "id": 194,
- "name": "removeItem",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 46,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
},
- "parameters": [
- {
- "id": 195,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"type": {
"type": "intrinsic",
- "name": "void"
+ "name": "string"
}
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 45,
- "character": 12
- }
- ]
- },
- {
- "id": 186,
- "name": "setItem",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 187,
- "name": "setItem",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 47,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
},
- "parameters": [
- {
- "id": 188,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 189,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
"type": {
"type": "intrinsic",
- "name": "void"
+ "name": "object"
}
- }
- ],
- "sources": [
+ },
{
- "fileName": "lib/helpers.ts",
- "line": 39,
- "character": 9
+ "id": 48,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
}
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 178
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 177,
- 174
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 181,
- 190,
- 183,
- 193,
- 186
- ]
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
}
],
"sources": [
{
- "fileName": "lib/helpers.ts",
- "line": 26,
- "character": 25
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "name": "Storage"
+ "fileName": "lib/fetch.ts",
+ "line": 70,
+ "character": 28
}
]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 8
+ ]
},
{
- "id": 196,
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 9,
+ 16,
+ 24,
+ 30,
+ 12,
+ 34,
+ 39,
+ 44
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 174,
"name": "expiresAt",
"kind": 64,
"kindString": "Function",
@@ -20566,7 +19905,7 @@
},
"signatures": [
{
- "id": 197,
+ "id": 175,
"name": "expiresAt",
"kind": 4096,
"kindString": "Call signature",
@@ -20575,7 +19914,7 @@
},
"parameters": [
{
- "id": 198,
+ "id": 176,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -20603,7 +19942,7 @@
]
},
{
- "id": 203,
+ "id": 181,
"name": "getParameterByName",
"kind": 64,
"kindString": "Function",
@@ -20612,7 +19951,7 @@
},
"signatures": [
{
- "id": 204,
+ "id": 182,
"name": "getParameterByName",
"kind": 4096,
"kindString": "Call signature",
@@ -20621,7 +19960,7 @@
},
"parameters": [
{
- "id": 205,
+ "id": 183,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -20634,7 +19973,7 @@
}
},
{
- "id": 206,
+ "id": 184,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -20681,7 +20020,7 @@
]
},
{
- "id": 201,
+ "id": 179,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -20691,7 +20030,7 @@
},
"signatures": [
{
- "id": 202,
+ "id": 180,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -20713,7 +20052,7 @@
]
},
{
- "id": 199,
+ "id": 177,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -20722,7 +20061,7 @@
},
"signatures": [
{
- "id": 200,
+ "id": 178,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -20745,21 +20084,14 @@
}
],
"groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 173
- ]
- },
{
"title": "Functions",
"kind": 64,
"children": [
- 196,
- 203,
- 201,
- 199
+ 174,
+ 181,
+ 179,
+ 177
]
}
],
@@ -20772,7 +20104,7 @@
]
},
{
- "id": 373,
+ "id": 351,
"name": "\"lib/polyfills\"",
"kind": 1,
"kindString": "Module",
@@ -20782,7 +20114,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts",
"children": [
{
- "id": 374,
+ "id": 352,
"name": "polyfillGlobalThis",
"kind": 64,
"kindString": "Function",
@@ -20791,7 +20123,7 @@
},
"signatures": [
{
- "id": 375,
+ "id": 353,
"name": "polyfillGlobalThis",
"kind": 4096,
"kindString": "Call signature",
@@ -20821,7 +20153,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 374
+ 352
]
}
],
@@ -22193,88 +21525,6 @@
}
]
}
- },
- {
- "id": 105,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 108,
- "character": 7
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 108,
- "name": "provider",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 112,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "id": 112,
- "name": "Provider"
- }
- },
- {
- "id": 107,
- "name": "refreshToken",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "lib/types.ts",
- "line": 110,
- "character": 14
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
}
],
"groups": [
@@ -22312,7 +21562,8 @@
"kind": 1024,
"kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
"sources": [
{
@@ -22423,7 +21674,8 @@
"kind": 1024,
"kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
"sources": [
{
@@ -22433,8 +21685,17 @@
}
],
"type": {
- "type": "intrinsic",
- "name": "string"
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
}
}
],
@@ -22662,7 +21923,7 @@
]
},
{
- "id": 593,
+ "id": 114,
"name": "\"lib/version\"",
"kind": 1,
"kindString": "Module",
@@ -22672,7 +21933,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts",
"children": [
{
- "id": 594,
+ "id": 115,
"name": "version",
"kind": 32,
"kindString": "Variable",
@@ -22699,7 +21960,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 594
+ 115
]
}
],
@@ -22717,16 +21978,16 @@
"title": "Modules",
"kind": 1,
"children": [
- 207,
- 376,
- 583,
- 114,
- 128,
+ 185,
+ 354,
+ 570,
+ 116,
+ 129,
1,
- 172,
- 373,
+ 173,
+ 351,
49,
- 593
+ 114
]
}
]
@@ -34423,7 +33684,7 @@
"originalName": "",
"children": [
{
- "id": 196,
+ "id": 200,
"name": "\"RealtimeClient\"",
"kind": 1,
"kindString": "Module",
@@ -34433,7 +33694,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts",
"children": [
{
- "id": 197,
+ "id": 201,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
@@ -34442,7 +33703,7 @@
},
"children": [
{
- "id": 228,
+ "id": 232,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34454,7 +33715,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 233,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -34466,7 +33727,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 234,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -34482,7 +33743,7 @@
}
},
{
- "id": 231,
+ "id": 235,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -34492,14 +33753,14 @@
},
"type": {
"type": "reference",
- "id": 303,
+ "id": 307,
"name": "Options"
}
}
],
"type": {
"type": "reference",
- "id": 197,
+ "id": 201,
"name": "RealtimeClient"
}
}
@@ -34513,7 +33774,7 @@
]
},
{
- "id": 198,
+ "id": 202,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -34531,14 +33792,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
},
"defaultValue": "[]"
},
{
- "id": 220,
+ "id": 224,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -34568,7 +33829,7 @@
"defaultValue": "null"
},
{
- "id": 218,
+ "id": 222,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -34588,7 +33849,7 @@
}
},
{
- "id": 217,
+ "id": 221,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -34608,7 +33869,7 @@
}
},
{
- "id": 199,
+ "id": 203,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -34629,7 +33890,7 @@
"defaultValue": "\"\""
},
{
- "id": 200,
+ "id": 204,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -34654,7 +33915,7 @@
{
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -34663,7 +33924,7 @@
},
"indexSignature": [
{
- "id": 202,
+ "id": 206,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -34672,7 +33933,7 @@
},
"parameters": [
{
- "id": 203,
+ "id": 207,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -34698,7 +33959,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 210,
+ "id": 214,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -34719,7 +33980,7 @@
"defaultValue": "30000"
},
{
- "id": 212,
+ "id": 216,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -34758,7 +34019,7 @@
"defaultValue": "undefined"
},
{
- "id": 216,
+ "id": 220,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -34779,7 +34040,7 @@
"defaultValue": "noop"
},
{
- "id": 211,
+ "id": 215,
"name": "longpollerTimeout",
"kind": 1024,
"kindString": "Property",
@@ -34800,7 +34061,7 @@
"defaultValue": "20000"
},
{
- "id": 204,
+ "id": 208,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -34825,7 +34086,7 @@
{
"type": "reflection",
"declaration": {
- "id": 205,
+ "id": 209,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -34834,7 +34095,7 @@
},
"indexSignature": [
{
- "id": 206,
+ "id": 210,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -34843,7 +34104,7 @@
},
"parameters": [
{
- "id": 207,
+ "id": 211,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -34868,7 +34129,7 @@
}
},
{
- "id": 213,
+ "id": 217,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -34898,7 +34159,7 @@
"defaultValue": "null"
},
{
- "id": 219,
+ "id": 223,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -34918,7 +34179,7 @@
}
},
{
- "id": 215,
+ "id": 219,
"name": "reconnectTimer",
"kind": 1024,
"kindString": "Property",
@@ -34939,7 +34200,7 @@
}
},
{
- "id": 214,
+ "id": 218,
"name": "ref",
"kind": 1024,
"kindString": "Property",
@@ -34960,7 +34221,7 @@
"defaultValue": "0"
},
{
- "id": 221,
+ "id": 225,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -34984,7 +34245,7 @@
"defaultValue": "[]"
},
{
- "id": 222,
+ "id": 226,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
@@ -35000,13 +34261,13 @@
],
"type": {
"type": "reference",
- "id": 172,
+ "id": 176,
"name": "Serializer"
},
"defaultValue": "new Serializer()"
},
{
- "id": 208,
+ "id": 212,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -35027,7 +34288,7 @@
"defaultValue": "DEFAULT_TIMEOUT"
},
{
- "id": 209,
+ "id": 213,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -35048,7 +34309,7 @@
"defaultValue": "WebSocket"
},
{
- "id": 290,
+ "id": 294,
"name": "_appendParams",
"kind": 2048,
"kindString": "Method",
@@ -35058,7 +34319,7 @@
},
"signatures": [
{
- "id": 291,
+ "id": 295,
"name": "_appendParams",
"kind": 4096,
"kindString": "Call signature",
@@ -35067,7 +34328,7 @@
},
"parameters": [
{
- "id": 292,
+ "id": 296,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -35080,7 +34341,7 @@
}
},
{
- "id": 293,
+ "id": 297,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -35090,7 +34351,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -35099,7 +34360,7 @@
},
"indexSignature": [
{
- "id": 295,
+ "id": 299,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -35108,7 +34369,7 @@
},
"parameters": [
{
- "id": 296,
+ "id": 300,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -35130,7 +34391,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 348,
"character": 44
}
]
@@ -35147,13 +34408,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 348,
"character": 23
}
]
},
{
- "id": 297,
+ "id": 301,
"name": "_flushSendBuffer",
"kind": 2048,
"kindString": "Method",
@@ -35163,7 +34424,7 @@
},
"signatures": [
{
- "id": 298,
+ "id": 302,
"name": "_flushSendBuffer",
"kind": 4096,
"kindString": "Call signature",
@@ -35179,13 +34440,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 357,
+ "line": 358,
"character": 26
}
]
},
{
- "id": 282,
+ "id": 286,
"name": "_onConnClose",
"kind": 2048,
"kindString": "Method",
@@ -35195,7 +34456,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 287,
"name": "_onConnClose",
"kind": 4096,
"kindString": "Call signature",
@@ -35204,7 +34465,7 @@
},
"parameters": [
{
- "id": 284,
+ "id": 288,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -35226,13 +34487,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 327,
+ "line": 328,
"character": 22
}
]
},
{
- "id": 285,
+ "id": 289,
"name": "_onConnError",
"kind": 2048,
"kindString": "Method",
@@ -35242,7 +34503,7 @@
},
"signatures": [
{
- "id": 286,
+ "id": 290,
"name": "_onConnError",
"kind": 4096,
"kindString": "Call signature",
@@ -35251,7 +34512,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 291,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -35273,13 +34534,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 335,
+ "line": 336,
"character": 22
}
]
},
{
- "id": 280,
+ "id": 284,
"name": "_onConnOpen",
"kind": 2048,
"kindString": "Method",
@@ -35289,7 +34550,7 @@
},
"signatures": [
{
- "id": 281,
+ "id": 285,
"name": "_onConnOpen",
"kind": 4096,
"kindString": "Call signature",
@@ -35305,13 +34566,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 319,
+ "line": 320,
"character": 21
}
]
},
{
- "id": 299,
+ "id": 303,
"name": "_resetHeartbeat",
"kind": 2048,
"kindString": "Method",
@@ -35321,7 +34582,7 @@
},
"signatures": [
{
- "id": 300,
+ "id": 304,
"name": "_resetHeartbeat",
"kind": 4096,
"kindString": "Call signature",
@@ -35337,13 +34598,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 364,
+ "line": 365,
"character": 25
}
]
},
{
- "id": 301,
+ "id": 305,
"name": "_sendHeartbeat",
"kind": 2048,
"kindString": "Method",
@@ -35353,7 +34614,7 @@
},
"signatures": [
{
- "id": 302,
+ "id": 306,
"name": "_sendHeartbeat",
"kind": 4096,
"kindString": "Call signature",
@@ -35369,13 +34630,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 373,
+ "line": 374,
"character": 24
}
]
},
{
- "id": 288,
+ "id": 292,
"name": "_triggerChanError",
"kind": 2048,
"kindString": "Method",
@@ -35385,7 +34646,7 @@
},
"signatures": [
{
- "id": 289,
+ "id": 293,
"name": "_triggerChanError",
"kind": 4096,
"kindString": "Call signature",
@@ -35401,13 +34662,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 341,
+ "line": 342,
"character": 27
}
]
},
{
- "id": 265,
+ "id": 269,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -35416,7 +34677,7 @@
},
"signatures": [
{
- "id": 266,
+ "id": 270,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
@@ -35425,7 +34686,7 @@
},
"parameters": [
{
- "id": 267,
+ "id": 271,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -35438,7 +34699,7 @@
}
},
{
- "id": 268,
+ "id": 272,
"name": "chanParams",
"kind": 32768,
"kindString": "Parameter",
@@ -35448,7 +34709,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 269,
+ "id": 273,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -35462,7 +34723,7 @@
],
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
}
@@ -35470,13 +34731,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 249,
+ "line": 250,
"character": 9
}
]
},
{
- "id": 232,
+ "id": 236,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -35485,7 +34746,7 @@
},
"signatures": [
{
- "id": 233,
+ "id": 237,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -35510,7 +34771,7 @@
]
},
{
- "id": 258,
+ "id": 262,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -35519,7 +34780,7 @@
},
"signatures": [
{
- "id": 259,
+ "id": 263,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -35555,13 +34816,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 218,
+ "line": 219,
"character": 17
}
]
},
{
- "id": 234,
+ "id": 238,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -35570,7 +34831,7 @@
},
"signatures": [
{
- "id": 235,
+ "id": 239,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -35582,7 +34843,7 @@
},
"parameters": [
{
- "id": 236,
+ "id": 240,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -35608,7 +34869,7 @@
}
},
{
- "id": 237,
+ "id": 241,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -35640,7 +34901,7 @@
{
"type": "reflection",
"declaration": {
- "id": 238,
+ "id": 242,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -35649,7 +34910,7 @@
},
"children": [
{
- "id": 240,
+ "id": 244,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -35669,7 +34930,7 @@
}
},
{
- "id": 239,
+ "id": 243,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -35703,8 +34964,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 240,
- 239
+ 244,
+ 243
]
}
],
@@ -35731,7 +34992,7 @@
]
},
{
- "id": 276,
+ "id": 280,
"name": "endPointURL",
"kind": 2048,
"kindString": "Method",
@@ -35740,7 +35001,7 @@
},
"signatures": [
{
- "id": 277,
+ "id": 281,
"name": "endPointURL",
"kind": 4096,
"kindString": "Call signature",
@@ -35759,13 +35020,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 298,
+ "line": 299,
"character": 13
}
]
},
{
- "id": 260,
+ "id": 264,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -35774,7 +35035,7 @@
},
"signatures": [
{
- "id": 261,
+ "id": 265,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -35793,13 +35054,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 234,
+ "line": 235,
"character": 13
}
]
},
{
- "id": 241,
+ "id": 245,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -35808,7 +35069,7 @@
},
"signatures": [
{
- "id": 242,
+ "id": 246,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -35820,7 +35081,7 @@
},
"parameters": [
{
- "id": 243,
+ "id": 247,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -35833,7 +35094,7 @@
}
},
{
- "id": 244,
+ "id": 248,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -35846,7 +35107,7 @@
}
},
{
- "id": 245,
+ "id": 249,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -35869,13 +35130,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 168,
"character": 5
}
]
},
{
- "id": 278,
+ "id": 282,
"name": "makeRef",
"kind": 2048,
"kindString": "Method",
@@ -35884,7 +35145,7 @@
},
"signatures": [
{
- "id": 279,
+ "id": 283,
"name": "makeRef",
"kind": 4096,
"kindString": "Call signature",
@@ -35903,13 +35164,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 308,
+ "line": 309,
"character": 9
}
]
},
{
- "id": 249,
+ "id": 253,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
@@ -35918,7 +35179,7 @@
},
"signatures": [
{
- "id": 250,
+ "id": 254,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
@@ -35936,7 +35197,7 @@
},
"parameters": [
{
- "id": 251,
+ "id": 255,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -35961,13 +35222,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 189,
+ "line": 190,
"character": 9
}
]
},
{
- "id": 273,
+ "id": 277,
"name": "onConnMessage",
"kind": 2048,
"kindString": "Method",
@@ -35976,7 +35237,7 @@
},
"signatures": [
{
- "id": 274,
+ "id": 278,
"name": "onConnMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -35985,7 +35246,7 @@
},
"parameters": [
{
- "id": 275,
+ "id": 279,
"name": "rawMessage",
"kind": 32768,
"kindString": "Parameter",
@@ -36007,13 +35268,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 270,
+ "line": 271,
"character": 15
}
]
},
{
- "id": 252,
+ "id": 256,
"name": "onError",
"kind": 2048,
"kindString": "Method",
@@ -36022,7 +35283,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 257,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
@@ -36040,7 +35301,7 @@
},
"parameters": [
{
- "id": 254,
+ "id": 258,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -36065,13 +35326,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 9
}
]
},
{
- "id": 255,
+ "id": 259,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
@@ -36080,7 +35341,7 @@
},
"signatures": [
{
- "id": 256,
+ "id": 260,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -36098,7 +35359,7 @@
},
"parameters": [
{
- "id": 257,
+ "id": 261,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -36123,13 +35384,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 211,
+ "line": 212,
"character": 11
}
]
},
{
- "id": 246,
+ "id": 250,
"name": "onOpen",
"kind": 2048,
"kindString": "Method",
@@ -36138,7 +35399,7 @@
},
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "onOpen",
"kind": 4096,
"kindString": "Call signature",
@@ -36156,7 +35417,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -36181,13 +35442,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 179,
"character": 8
}
]
},
{
- "id": 270,
+ "id": 274,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -36196,7 +35457,7 @@
},
"signatures": [
{
- "id": 271,
+ "id": 275,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -36205,7 +35466,7 @@
},
"parameters": [
{
- "id": 272,
+ "id": 276,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -36214,7 +35475,7 @@
},
"type": {
"type": "reference",
- "id": 321,
+ "id": 325,
"name": "Message"
}
}
@@ -36228,13 +35489,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 255,
+ "line": 256,
"character": 6
}
]
},
{
- "id": 262,
+ "id": 266,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -36243,7 +35504,7 @@
},
"signatures": [
{
- "id": 263,
+ "id": 267,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -36255,7 +35516,7 @@
},
"parameters": [
{
- "id": 264,
+ "id": 268,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -36267,7 +35528,7 @@
},
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
}
@@ -36281,13 +35542,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 243,
+ "line": 244,
"character": 8
}
]
},
{
- "id": 223,
+ "id": 227,
"name": "stateChangeCallbacks",
"kind": 2097152,
"kindString": "Object literal",
@@ -36296,7 +35557,7 @@
},
"children": [
{
- "id": 225,
+ "id": 229,
"name": "close",
"kind": 32,
"kindString": "Variable",
@@ -36320,7 +35581,7 @@
"defaultValue": "[]"
},
{
- "id": 226,
+ "id": 230,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -36344,7 +35605,7 @@
"defaultValue": "[]"
},
{
- "id": 227,
+ "id": 231,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -36368,7 +35629,7 @@
"defaultValue": "[]"
},
{
- "id": 224,
+ "id": 228,
"name": "open",
"kind": 32,
"kindString": "Variable",
@@ -36397,10 +35658,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 225,
- 226,
- 227,
- 224
+ 229,
+ 230,
+ 231,
+ 228
]
}
],
@@ -36422,68 +35683,68 @@
"title": "Constructors",
"kind": 512,
"children": [
- 228
+ 232
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 198,
- 220,
- 218,
- 217,
- 199,
- 200,
- 210,
- 212,
- 216,
- 211,
+ 202,
+ 224,
+ 222,
+ 221,
+ 203,
204,
- 213,
- 219,
- 215,
214,
- 221,
- 222,
+ 216,
+ 220,
+ 215,
208,
- 209
+ 217,
+ 223,
+ 219,
+ 218,
+ 225,
+ 226,
+ 212,
+ 213
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 290,
- 297,
- 282,
- 285,
- 280,
- 299,
+ 294,
301,
- 288,
- 265,
- 232,
- 258,
- 234,
- 276,
- 260,
- 241,
- 278,
- 249,
- 273,
- 252,
- 255,
- 246,
- 270,
- 262
+ 286,
+ 289,
+ 284,
+ 303,
+ 305,
+ 292,
+ 269,
+ 236,
+ 262,
+ 238,
+ 280,
+ 264,
+ 245,
+ 282,
+ 253,
+ 277,
+ 256,
+ 259,
+ 250,
+ 274,
+ 266
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 223
+ 227
]
}
],
@@ -36496,7 +35757,7 @@
]
},
{
- "id": 321,
+ "id": 325,
"name": "Message",
"kind": 4194304,
"kindString": "Type alias",
@@ -36511,14 +35772,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 324,
+ "id": 328,
"name": "event",
"kind": 32,
"kindString": "Variable",
@@ -36536,7 +35797,7 @@
}
},
{
- "id": 325,
+ "id": 329,
"name": "payload",
"kind": 32,
"kindString": "Variable",
@@ -36554,7 +35815,7 @@
}
},
{
- "id": 326,
+ "id": 330,
"name": "ref",
"kind": 32,
"kindString": "Variable",
@@ -36572,7 +35833,7 @@
}
},
{
- "id": 323,
+ "id": 327,
"name": "topic",
"kind": 32,
"kindString": "Variable",
@@ -36595,10 +35856,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 324,
- 325,
- 326,
- 323
+ 328,
+ 329,
+ 330,
+ 327
]
}
],
@@ -36613,7 +35874,7 @@
}
},
{
- "id": 303,
+ "id": 307,
"name": "Options",
"kind": 4194304,
"kindString": "Type alias",
@@ -36630,7 +35891,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 308,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -36639,7 +35900,7 @@
},
"children": [
{
- "id": 311,
+ "id": 315,
"name": "decode",
"kind": 32,
"kindString": "Variable",
@@ -36660,7 +35921,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "encode",
"kind": 32,
"kindString": "Variable",
@@ -36681,7 +35942,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -36706,7 +35967,7 @@
{
"type": "reflection",
"declaration": {
- "id": 314,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -36715,7 +35976,7 @@
},
"indexSignature": [
{
- "id": 315,
+ "id": 319,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -36724,7 +35985,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 320,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -36749,7 +36010,7 @@
}
},
{
- "id": 307,
+ "id": 311,
"name": "heartbeatIntervalMs",
"kind": 32,
"kindString": "Variable",
@@ -36779,7 +36040,7 @@
}
},
{
- "id": 309,
+ "id": 313,
"name": "logger",
"kind": 32,
"kindString": "Variable",
@@ -36800,7 +36061,7 @@
}
},
{
- "id": 308,
+ "id": 312,
"name": "longpollerTimeout",
"kind": 32,
"kindString": "Variable",
@@ -36830,7 +36091,7 @@
}
},
{
- "id": 317,
+ "id": 321,
"name": "params",
"kind": 32,
"kindString": "Variable",
@@ -36855,7 +36116,7 @@
{
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 322,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -36864,7 +36125,7 @@
},
"indexSignature": [
{
- "id": 319,
+ "id": 323,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -36873,7 +36134,7 @@
},
"parameters": [
{
- "id": 320,
+ "id": 324,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -36898,7 +36159,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "reconnectAfterMs",
"kind": 32,
"kindString": "Variable",
@@ -36919,7 +36180,7 @@
}
},
{
- "id": 306,
+ "id": 310,
"name": "timeout",
"kind": 32,
"kindString": "Variable",
@@ -36949,7 +36210,7 @@
}
},
{
- "id": 305,
+ "id": 309,
"name": "transport",
"kind": 32,
"kindString": "Variable",
@@ -36975,16 +36236,16 @@
"title": "Variables",
"kind": 32,
"children": [
+ 315,
+ 314,
+ 317,
311,
- 310,
313,
- 307,
- 309,
- 308,
- 317,
312,
- 306,
- 305
+ 321,
+ 316,
+ 310,
+ 309
]
}
],
@@ -36999,7 +36260,7 @@
}
},
{
- "id": 327,
+ "id": 331,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -37008,7 +36269,7 @@
},
"signatures": [
{
- "id": 328,
+ "id": 332,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
@@ -37033,22 +36294,22 @@
"title": "Classes",
"kind": 128,
"children": [
- 197
+ 201
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 321,
- 303
+ 325,
+ 307
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 327
+ 331
]
}
],
@@ -37061,7 +36322,7 @@
]
},
{
- "id": 92,
+ "id": 96,
"name": "\"RealtimeSubscription\"",
"kind": 1,
"kindString": "Module",
@@ -37071,7 +36332,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts",
"children": [
{
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription",
"kind": 128,
"kindString": "Class",
@@ -37080,7 +36341,7 @@
},
"children": [
{
- "id": 101,
+ "id": 105,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -37089,7 +36350,7 @@
},
"signatures": [
{
- "id": 105,
+ "id": 109,
"name": "new RealtimeSubscription",
"kind": 16384,
"kindString": "Constructor signature",
@@ -37098,7 +36359,7 @@
},
"parameters": [
{
- "id": 106,
+ "id": 110,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -37111,7 +36372,7 @@
}
},
{
- "id": 107,
+ "id": 111,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -37125,7 +36386,7 @@
"defaultValue": "{}"
},
{
- "id": 108,
+ "id": 112,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
@@ -37134,14 +36395,14 @@
},
"type": {
"type": "reference",
- "id": 197,
+ "id": 201,
"name": "RealtimeClient"
}
}
],
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
}
@@ -37155,7 +36416,7 @@
]
},
{
- "id": 94,
+ "id": 98,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -37179,7 +36440,7 @@
"defaultValue": "[]"
},
{
- "id": 98,
+ "id": 102,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -37200,7 +36461,7 @@
}
},
{
- "id": 97,
+ "id": 101,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -37221,7 +36482,7 @@
"defaultValue": "false"
},
{
- "id": 103,
+ "id": 107,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -37243,7 +36504,7 @@
}
},
{
- "id": 100,
+ "id": 104,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -37268,7 +36529,7 @@
"defaultValue": "[]"
},
{
- "id": 99,
+ "id": 103,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -37289,7 +36550,7 @@
}
},
{
- "id": 104,
+ "id": 108,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -37307,12 +36568,12 @@
],
"type": {
"type": "reference",
- "id": 197,
+ "id": 201,
"name": "RealtimeClient"
}
},
{
- "id": 96,
+ "id": 100,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -37334,7 +36595,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 95,
+ "id": 99,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -37354,7 +36615,7 @@
}
},
{
- "id": 102,
+ "id": 106,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -37376,7 +36637,7 @@
}
},
{
- "id": 127,
+ "id": 131,
"name": "canPush",
"kind": 2048,
"kindString": "Method",
@@ -37385,7 +36646,7 @@
},
"signatures": [
{
- "id": 128,
+ "id": 132,
"name": "canPush",
"kind": 4096,
"kindString": "Call signature",
@@ -37407,7 +36668,7 @@
]
},
{
- "id": 161,
+ "id": 165,
"name": "isClosed",
"kind": 2048,
"kindString": "Method",
@@ -37416,7 +36677,7 @@
},
"signatures": [
{
- "id": 162,
+ "id": 166,
"name": "isClosed",
"kind": 4096,
"kindString": "Call signature",
@@ -37438,7 +36699,7 @@
]
},
{
- "id": 163,
+ "id": 167,
"name": "isErrored",
"kind": 2048,
"kindString": "Method",
@@ -37447,7 +36708,7 @@
},
"signatures": [
{
- "id": 164,
+ "id": 168,
"name": "isErrored",
"kind": 4096,
"kindString": "Call signature",
@@ -37469,7 +36730,7 @@
]
},
{
- "id": 165,
+ "id": 169,
"name": "isJoined",
"kind": 2048,
"kindString": "Method",
@@ -37478,7 +36739,7 @@
},
"signatures": [
{
- "id": 166,
+ "id": 170,
"name": "isJoined",
"kind": 4096,
"kindString": "Call signature",
@@ -37500,7 +36761,7 @@
]
},
{
- "id": 167,
+ "id": 171,
"name": "isJoining",
"kind": 2048,
"kindString": "Method",
@@ -37509,7 +36770,7 @@
},
"signatures": [
{
- "id": 168,
+ "id": 172,
"name": "isJoining",
"kind": 4096,
"kindString": "Call signature",
@@ -37531,7 +36792,7 @@
]
},
{
- "id": 169,
+ "id": 173,
"name": "isLeaving",
"kind": 2048,
"kindString": "Method",
@@ -37540,7 +36801,7 @@
},
"signatures": [
{
- "id": 170,
+ "id": 174,
"name": "isLeaving",
"kind": 4096,
"kindString": "Call signature",
@@ -37562,7 +36823,7 @@
]
},
{
- "id": 142,
+ "id": 146,
"name": "isMember",
"kind": 2048,
"kindString": "Method",
@@ -37571,7 +36832,7 @@
},
"signatures": [
{
- "id": 143,
+ "id": 147,
"name": "isMember",
"kind": 4096,
"kindString": "Call signature",
@@ -37580,7 +36841,7 @@
},
"parameters": [
{
- "id": 144,
+ "id": 148,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -37608,7 +36869,7 @@
]
},
{
- "id": 145,
+ "id": 149,
"name": "joinRef",
"kind": 2048,
"kindString": "Method",
@@ -37617,7 +36878,7 @@
},
"signatures": [
{
- "id": 146,
+ "id": 150,
"name": "joinRef",
"kind": 4096,
"kindString": "Call signature",
@@ -37639,7 +36900,7 @@
]
},
{
- "id": 124,
+ "id": 128,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -37648,7 +36909,7 @@
},
"signatures": [
{
- "id": 125,
+ "id": 129,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -37657,7 +36918,7 @@
},
"parameters": [
{
- "id": 126,
+ "id": 130,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -37685,7 +36946,7 @@
]
},
{
- "id": 120,
+ "id": 124,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -37694,7 +36955,7 @@
},
"signatures": [
{
- "id": 121,
+ "id": 125,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -37703,7 +36964,7 @@
},
"parameters": [
{
- "id": 122,
+ "id": 126,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -37716,7 +36977,7 @@
}
},
{
- "id": 123,
+ "id": 127,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -37744,7 +37005,7 @@
]
},
{
- "id": 114,
+ "id": 118,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
@@ -37753,7 +37014,7 @@
},
"signatures": [
{
- "id": 115,
+ "id": 119,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
@@ -37762,7 +37023,7 @@
},
"parameters": [
{
- "id": 116,
+ "id": 120,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -37790,7 +37051,7 @@
]
},
{
- "id": 117,
+ "id": 121,
"name": "onError",
"kind": 2048,
"kindString": "Method",
@@ -37799,7 +37060,7 @@
},
"signatures": [
{
- "id": 118,
+ "id": 122,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
@@ -37808,7 +37069,7 @@
},
"parameters": [
{
- "id": 119,
+ "id": 123,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -37836,7 +37097,7 @@
]
},
{
- "id": 137,
+ "id": 141,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
@@ -37845,7 +37106,7 @@
},
"signatures": [
{
- "id": 138,
+ "id": 142,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -37858,7 +37119,7 @@
},
"parameters": [
{
- "id": 139,
+ "id": 143,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -37871,7 +37132,7 @@
}
},
{
- "id": 140,
+ "id": 144,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -37884,7 +37145,7 @@
}
},
{
- "id": 141,
+ "id": 145,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -37922,7 +37183,7 @@
]
},
{
- "id": 129,
+ "id": 133,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -37931,7 +37192,7 @@
},
"signatures": [
{
- "id": 130,
+ "id": 134,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -37940,7 +37201,7 @@
},
"parameters": [
{
- "id": 131,
+ "id": 135,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -37954,7 +37215,7 @@
}
},
{
- "id": 132,
+ "id": 136,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -37967,7 +37228,7 @@
}
},
{
- "id": 133,
+ "id": 137,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -37997,7 +37258,7 @@
]
},
{
- "id": 150,
+ "id": 154,
"name": "rejoin",
"kind": 2048,
"kindString": "Method",
@@ -38006,7 +37267,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 155,
"name": "rejoin",
"kind": 4096,
"kindString": "Call signature",
@@ -38015,7 +37276,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 156,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -38044,7 +37305,7 @@
]
},
{
- "id": 109,
+ "id": 113,
"name": "rejoinUntilConnected",
"kind": 2048,
"kindString": "Method",
@@ -38053,7 +37314,7 @@
},
"signatures": [
{
- "id": 110,
+ "id": 114,
"name": "rejoinUntilConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -38075,7 +37336,7 @@
]
},
{
- "id": 158,
+ "id": 162,
"name": "replyEventName",
"kind": 2048,
"kindString": "Method",
@@ -38084,7 +37345,7 @@
},
"signatures": [
{
- "id": 159,
+ "id": 163,
"name": "replyEventName",
"kind": 4096,
"kindString": "Call signature",
@@ -38093,7 +37354,7 @@
},
"parameters": [
{
- "id": 160,
+ "id": 164,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -38121,7 +37382,7 @@
]
},
{
- "id": 147,
+ "id": 151,
"name": "sendJoin",
"kind": 2048,
"kindString": "Method",
@@ -38130,7 +37391,7 @@
},
"signatures": [
{
- "id": 148,
+ "id": 152,
"name": "sendJoin",
"kind": 4096,
"kindString": "Call signature",
@@ -38139,7 +37400,7 @@
},
"parameters": [
{
- "id": 149,
+ "id": 153,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -38167,7 +37428,7 @@
]
},
{
- "id": 111,
+ "id": 115,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -38176,7 +37437,7 @@
},
"signatures": [
{
- "id": 112,
+ "id": 116,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -38185,7 +37446,7 @@
},
"parameters": [
{
- "id": 113,
+ "id": 117,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -38215,7 +37476,7 @@
]
},
{
- "id": 153,
+ "id": 157,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -38224,7 +37485,7 @@
},
"signatures": [
{
- "id": 154,
+ "id": 158,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -38233,7 +37494,7 @@
},
"parameters": [
{
- "id": 155,
+ "id": 159,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -38246,7 +37507,7 @@
}
},
{
- "id": 156,
+ "id": 160,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -38260,7 +37521,7 @@
}
},
{
- "id": 157,
+ "id": 161,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -38298,7 +37559,7 @@
]
},
{
- "id": 134,
+ "id": 138,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -38307,7 +37568,7 @@
},
"signatures": [
{
- "id": 135,
+ "id": 139,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -38320,7 +37581,7 @@
},
"parameters": [
{
- "id": 136,
+ "id": 140,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -38355,50 +37616,50 @@
"title": "Constructors",
"kind": 512,
"children": [
- 101
+ 105
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 94,
98,
- 97,
+ 102,
+ 101,
+ 107,
+ 104,
103,
+ 108,
100,
99,
- 104,
- 96,
- 95,
- 102
+ 106
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 127,
- 161,
- 163,
+ 131,
165,
167,
169,
- 142,
- 145,
+ 171,
+ 173,
+ 146,
+ 149,
+ 128,
124,
- 120,
- 114,
- 117,
- 137,
- 129,
- 150,
- 109,
- 158,
- 147,
- 111,
- 153,
- 134
+ 118,
+ 121,
+ 141,
+ 133,
+ 154,
+ 113,
+ 162,
+ 151,
+ 115,
+ 157,
+ 138
]
}
],
@@ -38416,7 +37677,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 93
+ 97
]
}
],
@@ -38429,7 +37690,7 @@
]
},
{
- "id": 415,
+ "id": 419,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -39041,7 +38302,7 @@
},
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
},
@@ -39133,7 +38394,7 @@
],
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
},
@@ -39503,7 +38764,7 @@
"defaultValue": "undefined"
},
{
- "id": 79,
+ "id": 83,
"name": "_cancelRefEvent",
"kind": 2048,
"kindString": "Method",
@@ -39513,7 +38774,7 @@
},
"signatures": [
{
- "id": 80,
+ "id": 84,
"name": "_cancelRefEvent",
"kind": 4096,
"kindString": "Call signature",
@@ -39535,7 +38796,7 @@
]
},
{
- "id": 81,
+ "id": 85,
"name": "_cancelTimeout",
"kind": 2048,
"kindString": "Method",
@@ -39545,7 +38806,7 @@
},
"signatures": [
{
- "id": 82,
+ "id": 86,
"name": "_cancelTimeout",
"kind": 4096,
"kindString": "Call signature",
@@ -39567,7 +38828,7 @@
]
},
{
- "id": 89,
+ "id": 93,
"name": "_hasReceived",
"kind": 2048,
"kindString": "Method",
@@ -39577,7 +38838,7 @@
},
"signatures": [
{
- "id": 90,
+ "id": 94,
"name": "_hasReceived",
"kind": 4096,
"kindString": "Call signature",
@@ -39586,7 +38847,7 @@
},
"parameters": [
{
- "id": 91,
+ "id": 95,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -39627,7 +38888,7 @@
]
},
{
- "id": 83,
+ "id": 87,
"name": "_matchReceive",
"kind": 2048,
"kindString": "Method",
@@ -39637,7 +38898,7 @@
},
"signatures": [
{
- "id": 84,
+ "id": 88,
"name": "_matchReceive",
"kind": 4096,
"kindString": "Call signature",
@@ -39646,7 +38907,7 @@
},
"parameters": [
{
- "id": 85,
+ "id": 89,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -39657,7 +38918,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -39666,7 +38927,7 @@
},
"children": [
{
- "id": 88,
+ "id": 92,
"name": "response",
"kind": 32,
"kindString": "Variable",
@@ -39686,7 +38947,7 @@
}
},
{
- "id": 87,
+ "id": 91,
"name": "status",
"kind": 32,
"kindString": "Variable",
@@ -39711,8 +38972,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 88,
- 87
+ 92,
+ 91
]
}
],
@@ -39742,7 +39003,7 @@
]
},
{
- "id": 77,
+ "id": 81,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -39751,7 +39012,7 @@
},
"signatures": [
{
- "id": 78,
+ "id": 82,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -39773,7 +39034,7 @@
]
},
{
- "id": 67,
+ "id": 71,
"name": "receive",
"kind": 2048,
"kindString": "Method",
@@ -40027,14 +39288,11 @@
"title": "Methods",
"kind": 2048,
"children": [
- 79,
- 81,
- 89,
83,
- 77,
- 67,
- 62,
- 65,
+ 85,
+ 93,
+ 87,
+ 81,
71,
66,
69,
@@ -40070,7 +39328,7 @@
]
},
{
- "id": 171,
+ "id": 175,
"name": "\"lib/serializer\"",
"kind": 1,
"kindString": "Module",
@@ -40080,7 +39338,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts",
"children": [
{
- "id": 172,
+ "id": 176,
"name": "Serializer",
"kind": 128,
"kindString": "Class",
@@ -40089,7 +39347,7 @@
},
"children": [
{
- "id": 173,
+ "id": 177,
"name": "HEADER_LENGTH",
"kind": 1024,
"kindString": "Property",
@@ -40110,7 +39368,7 @@
"defaultValue": "1"
},
{
- "id": 178,
+ "id": 182,
"name": "_binaryDecode",
"kind": 2048,
"kindString": "Method",
@@ -40120,7 +39378,7 @@
},
"signatures": [
{
- "id": 179,
+ "id": 183,
"name": "_binaryDecode",
"kind": 4096,
"kindString": "Call signature",
@@ -40129,7 +39387,7 @@
},
"parameters": [
{
- "id": 180,
+ "id": 184,
"name": "buffer",
"kind": 32768,
"kindString": "Parameter",
@@ -40145,7 +39403,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 181,
+ "id": 185,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40154,7 +39412,7 @@
},
"children": [
{
- "id": 184,
+ "id": 188,
"name": "event",
"kind": 32,
"kindString": "Variable",
@@ -40174,7 +39432,7 @@
}
},
{
- "id": 185,
+ "id": 189,
"name": "payload",
"kind": 32,
"kindString": "Variable",
@@ -40194,7 +39452,7 @@
}
},
{
- "id": 182,
+ "id": 186,
"name": "ref",
"kind": 32,
"kindString": "Variable",
@@ -40214,7 +39472,7 @@
}
},
{
- "id": 183,
+ "id": 187,
"name": "topic",
"kind": 32,
"kindString": "Variable",
@@ -40239,10 +39497,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 184,
- 185,
- 182,
- 183
+ 188,
+ 189,
+ 186,
+ 187
]
}
]
@@ -40259,7 +39517,7 @@
]
},
{
- "id": 186,
+ "id": 190,
"name": "_decodeBroadcast",
"kind": 2048,
"kindString": "Method",
@@ -40269,7 +39527,7 @@
},
"signatures": [
{
- "id": 187,
+ "id": 191,
"name": "_decodeBroadcast",
"kind": 4096,
"kindString": "Call signature",
@@ -40278,7 +39536,7 @@
},
"parameters": [
{
- "id": 188,
+ "id": 192,
"name": "buffer",
"kind": 32768,
"kindString": "Parameter",
@@ -40291,7 +39549,7 @@
}
},
{
- "id": 189,
+ "id": 193,
"name": "view",
"kind": 32768,
"kindString": "Parameter",
@@ -40304,7 +39562,7 @@
}
},
{
- "id": 190,
+ "id": 194,
"name": "decoder",
"kind": 32768,
"kindString": "Parameter",
@@ -40320,7 +39578,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -40329,7 +39587,7 @@
},
"children": [
{
- "id": 194,
+ "id": 198,
"name": "event",
"kind": 32,
"kindString": "Variable",
@@ -40349,7 +39607,7 @@
}
},
{
- "id": 195,
+ "id": 199,
"name": "payload",
"kind": 32,
"kindString": "Variable",
@@ -40369,7 +39627,7 @@
}
},
{
- "id": 192,
+ "id": 196,
"name": "ref",
"kind": 32,
"kindString": "Variable",
@@ -40389,7 +39647,7 @@
}
},
{
- "id": 193,
+ "id": 197,
"name": "topic",
"kind": 32,
"kindString": "Variable",
@@ -40414,10 +39672,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 194,
- 195,
- 192,
- 193
+ 198,
+ 199,
+ 196,
+ 197
]
}
],
@@ -40441,7 +39699,7 @@
]
},
{
- "id": 174,
+ "id": 178,
"name": "decode",
"kind": 2048,
"kindString": "Method",
@@ -40450,7 +39708,7 @@
},
"signatures": [
{
- "id": 175,
+ "id": 179,
"name": "decode",
"kind": 4096,
"kindString": "Call signature",
@@ -40459,7 +39717,7 @@
},
"parameters": [
{
- "id": 176,
+ "id": 180,
"name": "rawPayload",
"kind": 32768,
"kindString": "Parameter",
@@ -40481,7 +39739,7 @@
}
},
{
- "id": 177,
+ "id": 181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -40514,16 +39772,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 173
+ 177
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 178,
- 186,
- 174
+ 182,
+ 190,
+ 178
]
}
],
@@ -40541,7 +39799,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 172
+ 176
]
}
],
@@ -40853,7 +40111,7 @@
]
},
{
- "id": 329,
+ "id": 333,
"name": "\"lib/transformers\"",
"kind": 1,
"kindString": "Module",
@@ -40863,7 +40121,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts",
"children": [
{
- "id": 330,
+ "id": 334,
"name": "PostgresTypes",
"kind": 4,
"kindString": "Enumeration",
@@ -40875,7 +40133,7 @@
},
"children": [
{
- "id": 331,
+ "id": 335,
"name": "abstime",
"kind": 16,
"kindString": "Enumeration member",
@@ -40892,7 +40150,7 @@
"defaultValue": "\"abstime\""
},
{
- "id": 332,
+ "id": 336,
"name": "bool",
"kind": 16,
"kindString": "Enumeration member",
@@ -40909,7 +40167,7 @@
"defaultValue": "\"bool\""
},
{
- "id": 333,
+ "id": 337,
"name": "date",
"kind": 16,
"kindString": "Enumeration member",
@@ -40926,7 +40184,7 @@
"defaultValue": "\"date\""
},
{
- "id": 334,
+ "id": 338,
"name": "daterange",
"kind": 16,
"kindString": "Enumeration member",
@@ -40943,7 +40201,7 @@
"defaultValue": "\"daterange\""
},
{
- "id": 335,
+ "id": 339,
"name": "float4",
"kind": 16,
"kindString": "Enumeration member",
@@ -40960,7 +40218,7 @@
"defaultValue": "\"float4\""
},
{
- "id": 336,
+ "id": 340,
"name": "float8",
"kind": 16,
"kindString": "Enumeration member",
@@ -40977,7 +40235,7 @@
"defaultValue": "\"float8\""
},
{
- "id": 337,
+ "id": 341,
"name": "int2",
"kind": 16,
"kindString": "Enumeration member",
@@ -40994,7 +40252,7 @@
"defaultValue": "\"int2\""
},
{
- "id": 338,
+ "id": 342,
"name": "int4",
"kind": 16,
"kindString": "Enumeration member",
@@ -41011,7 +40269,7 @@
"defaultValue": "\"int4\""
},
{
- "id": 339,
+ "id": 343,
"name": "int4range",
"kind": 16,
"kindString": "Enumeration member",
@@ -41028,7 +40286,7 @@
"defaultValue": "\"int4range\""
},
{
- "id": 340,
+ "id": 344,
"name": "int8",
"kind": 16,
"kindString": "Enumeration member",
@@ -41045,7 +40303,7 @@
"defaultValue": "\"int8\""
},
{
- "id": 341,
+ "id": 345,
"name": "int8range",
"kind": 16,
"kindString": "Enumeration member",
@@ -41062,7 +40320,7 @@
"defaultValue": "\"int8range\""
},
{
- "id": 342,
+ "id": 346,
"name": "json",
"kind": 16,
"kindString": "Enumeration member",
@@ -41079,7 +40337,7 @@
"defaultValue": "\"json\""
},
{
- "id": 343,
+ "id": 347,
"name": "jsonb",
"kind": 16,
"kindString": "Enumeration member",
@@ -41096,7 +40354,7 @@
"defaultValue": "\"jsonb\""
},
{
- "id": 344,
+ "id": 348,
"name": "money",
"kind": 16,
"kindString": "Enumeration member",
@@ -41113,7 +40371,7 @@
"defaultValue": "\"money\""
},
{
- "id": 345,
+ "id": 349,
"name": "numeric",
"kind": 16,
"kindString": "Enumeration member",
@@ -41130,7 +40388,7 @@
"defaultValue": "\"numeric\""
},
{
- "id": 346,
+ "id": 350,
"name": "oid",
"kind": 16,
"kindString": "Enumeration member",
@@ -41147,7 +40405,7 @@
"defaultValue": "\"oid\""
},
{
- "id": 347,
+ "id": 351,
"name": "reltime",
"kind": 16,
"kindString": "Enumeration member",
@@ -41164,7 +40422,7 @@
"defaultValue": "\"reltime\""
},
{
- "id": 348,
+ "id": 352,
"name": "time",
"kind": 16,
"kindString": "Enumeration member",
@@ -41181,7 +40439,7 @@
"defaultValue": "\"time\""
},
{
- "id": 349,
+ "id": 353,
"name": "timestamp",
"kind": 16,
"kindString": "Enumeration member",
@@ -41198,7 +40456,7 @@
"defaultValue": "\"timestamp\""
},
{
- "id": 350,
+ "id": 354,
"name": "timestamptz",
"kind": 16,
"kindString": "Enumeration member",
@@ -41215,7 +40473,7 @@
"defaultValue": "\"timestamptz\""
},
{
- "id": 351,
+ "id": 355,
"name": "timetz",
"kind": 16,
"kindString": "Enumeration member",
@@ -41232,7 +40490,7 @@
"defaultValue": "\"timetz\""
},
{
- "id": 352,
+ "id": 356,
"name": "tsrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -41249,7 +40507,7 @@
"defaultValue": "\"tsrange\""
},
{
- "id": 353,
+ "id": 357,
"name": "tstzrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -41271,10 +40529,6 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 331,
- 332,
- 333,
- 334,
335,
336,
337,
@@ -41293,7 +40547,11 @@
350,
351,
352,
- 353
+ 353,
+ 354,
+ 355,
+ 356,
+ 357
]
}
],
@@ -41306,7 +40564,7 @@
]
},
{
- "id": 354,
+ "id": 358,
"name": "Column",
"kind": 4194304,
"kindString": "Type alias",
@@ -41321,14 +40579,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 355,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 356,
+ "id": 360,
"name": "flags",
"kind": 32,
"kindString": "Variable",
@@ -41349,7 +40607,7 @@
}
},
{
- "id": 357,
+ "id": 361,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -41367,7 +40625,7 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "type",
"kind": 32,
"kindString": "Variable",
@@ -41385,7 +40643,7 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "type_modifier",
"kind": 32,
"kindString": "Variable",
@@ -41408,10 +40666,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 356,
- 357,
- 358,
- 359
+ 360,
+ 361,
+ 362,
+ 363
]
}
],
@@ -41426,7 +40684,7 @@
}
},
{
- "id": 360,
+ "id": 364,
"name": "Records",
"kind": 4194304,
"kindString": "Type alias",
@@ -41441,21 +40699,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 361,
+ "id": 365,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": [
{
- "id": 362,
+ "id": 366,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 363,
+ "id": 367,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -41483,7 +40741,7 @@
}
},
{
- "id": 380,
+ "id": 384,
"name": "convertCell",
"kind": 64,
"kindString": "Function",
@@ -41510,7 +40768,7 @@
},
"signatures": [
{
- "id": 381,
+ "id": 385,
"name": "convertCell",
"kind": 4096,
"kindString": "Call signature",
@@ -41536,7 +40794,7 @@
},
"parameters": [
{
- "id": 382,
+ "id": 386,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -41552,7 +40810,7 @@
}
},
{
- "id": 383,
+ "id": 387,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -41583,7 +40841,7 @@
]
},
{
- "id": 364,
+ "id": 368,
"name": "convertChangeData",
"kind": 64,
"kindString": "Function",
@@ -41602,7 +40860,7 @@
},
"signatures": [
{
- "id": 365,
+ "id": 369,
"name": "convertChangeData",
"kind": 4096,
"kindString": "Call signature",
@@ -41620,7 +40878,7 @@
},
"parameters": [
{
- "id": 366,
+ "id": 370,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -41631,13 +40889,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 354,
+ "id": 358,
"name": "Column"
}
}
},
{
- "id": 367,
+ "id": 371,
"name": "records",
"kind": 32768,
"kindString": "Parameter",
@@ -41647,12 +40905,12 @@
"comment": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "Records"
}
},
{
- "id": 368,
+ "id": 372,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -41665,7 +40923,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 373,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41674,7 +40932,7 @@
},
"children": [
{
- "id": 370,
+ "id": 374,
"name": "skipTypes",
"kind": 32,
"kindString": "Variable",
@@ -41703,7 +40961,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 370
+ 374
]
}
],
@@ -41722,7 +40980,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 371,
+ "id": 375,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -41731,7 +40989,7 @@
},
"indexSignature": [
{
- "id": 372,
+ "id": 376,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -41740,7 +40998,7 @@
},
"parameters": [
{
- "id": 373,
+ "id": 377,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -41772,7 +41030,7 @@
]
},
{
- "id": 374,
+ "id": 378,
"name": "convertColumn",
"kind": 64,
"kindString": "Function",
@@ -41796,7 +41054,7 @@
},
"signatures": [
{
- "id": 375,
+ "id": 379,
"name": "convertColumn",
"kind": 4096,
"kindString": "Call signature",
@@ -41819,7 +41077,7 @@
},
"parameters": [
{
- "id": 376,
+ "id": 380,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
@@ -41835,7 +41093,7 @@
}
},
{
- "id": 377,
+ "id": 381,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -41846,13 +41104,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 354,
+ "id": 358,
"name": "Column"
}
}
},
{
- "id": 378,
+ "id": 382,
"name": "records",
"kind": 32768,
"kindString": "Parameter",
@@ -41864,12 +41122,12 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "Records"
}
},
{
- "id": 379,
+ "id": 383,
"name": "skipTypes",
"kind": 32768,
"kindString": "Parameter",
@@ -41903,7 +41161,7 @@
]
},
{
- "id": 384,
+ "id": 388,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -41912,14 +41170,14 @@
},
"signatures": [
{
- "id": 385,
+ "id": 389,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 386,
+ "id": 390,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -41945,7 +41203,7 @@
]
},
{
- "id": 408,
+ "id": 412,
"name": "toArray",
"kind": 64,
"kindString": "Function",
@@ -41968,7 +41226,7 @@
},
"signatures": [
{
- "id": 409,
+ "id": 413,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
@@ -41990,7 +41248,7 @@
},
"parameters": [
{
- "id": 410,
+ "id": 414,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42003,7 +41261,7 @@
}
},
{
- "id": 411,
+ "id": 415,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -42034,7 +41292,7 @@
]
},
{
- "id": 387,
+ "id": 391,
"name": "toBoolean",
"kind": 64,
"kindString": "Function",
@@ -42044,7 +41302,7 @@
},
"signatures": [
{
- "id": 388,
+ "id": 392,
"name": "toBoolean",
"kind": 4096,
"kindString": "Call signature",
@@ -42053,7 +41311,7 @@
},
"parameters": [
{
- "id": 389,
+ "id": 393,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42094,7 +41352,7 @@
]
},
{
- "id": 390,
+ "id": 394,
"name": "toDate",
"kind": 64,
"kindString": "Function",
@@ -42104,7 +41362,7 @@
},
"signatures": [
{
- "id": 391,
+ "id": 395,
"name": "toDate",
"kind": 4096,
"kindString": "Call signature",
@@ -42113,7 +41371,7 @@
},
"parameters": [
{
- "id": 392,
+ "id": 396,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42141,7 +41399,7 @@
]
},
{
- "id": 393,
+ "id": 397,
"name": "toDateRange",
"kind": 64,
"kindString": "Function",
@@ -42151,7 +41409,7 @@
},
"signatures": [
{
- "id": 394,
+ "id": 398,
"name": "toDateRange",
"kind": 4096,
"kindString": "Call signature",
@@ -42160,7 +41418,7 @@
},
"parameters": [
{
- "id": 395,
+ "id": 399,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42191,7 +41449,7 @@
]
},
{
- "id": 396,
+ "id": 400,
"name": "toFloat",
"kind": 64,
"kindString": "Function",
@@ -42201,7 +41459,7 @@
},
"signatures": [
{
- "id": 397,
+ "id": 401,
"name": "toFloat",
"kind": 4096,
"kindString": "Call signature",
@@ -42210,7 +41468,7 @@
},
"parameters": [
{
- "id": 398,
+ "id": 402,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42238,7 +41496,7 @@
]
},
{
- "id": 399,
+ "id": 403,
"name": "toInt",
"kind": 64,
"kindString": "Function",
@@ -42248,7 +41506,7 @@
},
"signatures": [
{
- "id": 400,
+ "id": 404,
"name": "toInt",
"kind": 4096,
"kindString": "Call signature",
@@ -42257,7 +41515,7 @@
},
"parameters": [
{
- "id": 401,
+ "id": 405,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42285,7 +41543,7 @@
]
},
{
- "id": 402,
+ "id": 406,
"name": "toIntRange",
"kind": 64,
"kindString": "Function",
@@ -42295,7 +41553,7 @@
},
"signatures": [
{
- "id": 403,
+ "id": 407,
"name": "toIntRange",
"kind": 4096,
"kindString": "Call signature",
@@ -42304,7 +41562,7 @@
},
"parameters": [
{
- "id": 404,
+ "id": 408,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42335,7 +41593,7 @@
]
},
{
- "id": 405,
+ "id": 409,
"name": "toJson",
"kind": 64,
"kindString": "Function",
@@ -42345,7 +41603,7 @@
},
"signatures": [
{
- "id": 406,
+ "id": 410,
"name": "toJson",
"kind": 4096,
"kindString": "Call signature",
@@ -42354,7 +41612,7 @@
},
"parameters": [
{
- "id": 407,
+ "id": 411,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42382,7 +41640,7 @@
]
},
{
- "id": 412,
+ "id": 416,
"name": "toTimestampString",
"kind": 64,
"kindString": "Function",
@@ -42401,7 +41659,7 @@
},
"signatures": [
{
- "id": 413,
+ "id": 417,
"name": "toTimestampString",
"kind": 4096,
"kindString": "Call signature",
@@ -42419,7 +41677,7 @@
},
"parameters": [
{
- "id": 414,
+ "id": 418,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -42452,34 +41710,34 @@
"title": "Enumerations",
"kind": 4,
"children": [
- 330
+ 334
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 354,
- 360
+ 358,
+ 364
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 380,
- 364,
- 374,
384,
- 408,
- 387,
- 390,
- 393,
- 396,
- 399,
- 402,
- 405,
- 412
+ 368,
+ 378,
+ 388,
+ 412,
+ 391,
+ 394,
+ 397,
+ 400,
+ 403,
+ 406,
+ 409,
+ 416
]
}
],
@@ -42547,14 +41805,15 @@
"title": "Modules",
"kind": 1,
"children": [
- 196,
- 92,
- 415,
- 1,
- 38,
- 171,
- 24,
- 329
+ 200,
+ 96,
+ 419,
+ 3,
+ 42,
+ 175,
+ 28,
+ 333,
+ 1
]
}
]
diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json
index eff58464413..7670a069264 100644
--- a/web/spec/gotrue.json
+++ b/web/spec/gotrue.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 207,
+ "id": 185,
"name": "\"GoTrueApi\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
"children": [
{
- "id": 208,
+ "id": 186,
"name": "GoTrueApi",
"kind": 128,
"kindString": "Class",
@@ -25,7 +25,7 @@
},
"children": [
{
- "id": 215,
+ "id": 193,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -34,7 +34,7 @@
},
"signatures": [
{
- "id": 216,
+ "id": 194,
"name": "new GoTrueApi",
"kind": 16384,
"kindString": "Constructor signature",
@@ -43,7 +43,7 @@
},
"parameters": [
{
- "id": 217,
+ "id": 195,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -54,7 +54,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 218,
+ "id": 196,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -63,7 +63,7 @@
},
"children": [
{
- "id": 224,
+ "id": 202,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -93,7 +93,7 @@
}
},
{
- "id": 220,
+ "id": 198,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -110,7 +110,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -119,7 +119,7 @@
},
"indexSignature": [
{
- "id": 222,
+ "id": 200,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -128,7 +128,7 @@
},
"parameters": [
{
- "id": 223,
+ "id": 201,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -151,7 +151,7 @@
}
},
{
- "id": 219,
+ "id": 197,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -177,9 +177,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 224,
- 220,
- 219
+ 202,
+ 198,
+ 197
]
}
],
@@ -196,7 +196,7 @@
],
"type": {
"type": "reference",
- "id": 208,
+ "id": 186,
"name": "GoTrueApi"
}
}
@@ -210,7 +210,7 @@
]
},
{
- "id": 214,
+ "id": 192,
"name": "cookieOptions",
"kind": 1024,
"kindString": "Property",
@@ -232,7 +232,7 @@
}
},
{
- "id": 210,
+ "id": 188,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -250,7 +250,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 211,
+ "id": 189,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -259,7 +259,7 @@
},
"indexSignature": [
{
- "id": 212,
+ "id": 190,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -268,7 +268,7 @@
},
"parameters": [
{
- "id": 213,
+ "id": 191,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -298,7 +298,7 @@
}
},
{
- "id": 209,
+ "id": 187,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -319,7 +319,7 @@
}
},
{
- "id": 305,
+ "id": 283,
"name": "_createRequestHeaders",
"kind": 2048,
"kindString": "Method",
@@ -329,7 +329,7 @@
},
"signatures": [
{
- "id": 306,
+ "id": 284,
"name": "_createRequestHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -341,7 +341,7 @@
},
"parameters": [
{
- "id": 307,
+ "id": 285,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -360,7 +360,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 308,
+ "id": 286,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -380,7 +380,7 @@
]
},
{
- "id": 336,
+ "id": 314,
"name": "deleteUser",
"kind": 2048,
"kindString": "Method",
@@ -389,7 +389,7 @@
},
"signatures": [
{
- "id": 337,
+ "id": 315,
"name": "deleteUser",
"kind": 4096,
"kindString": "Call signature",
@@ -401,7 +401,7 @@
},
"parameters": [
{
- "id": 338,
+ "id": 316,
"name": "uid",
"kind": 32768,
"kindString": "Parameter",
@@ -417,7 +417,7 @@
}
},
{
- "id": 339,
+ "id": 317,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -439,7 +439,7 @@
{
"type": "reflection",
"declaration": {
- "id": 340,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -448,7 +448,7 @@
},
"children": [
{
- "id": 342,
+ "id": 320,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -478,7 +478,7 @@
}
},
{
- "id": 343,
+ "id": 321,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -507,7 +507,7 @@
}
},
{
- "id": 341,
+ "id": 319,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -542,9 +542,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 342,
- 343,
- 341
+ 320,
+ 321,
+ 319
]
}
],
@@ -571,7 +571,7 @@
]
},
{
- "id": 361,
+ "id": 339,
"name": "generateLink",
"kind": 2048,
"kindString": "Method",
@@ -580,7 +580,7 @@
},
"signatures": [
{
- "id": 362,
+ "id": 340,
"name": "generateLink",
"kind": 4096,
"kindString": "Call signature",
@@ -592,7 +592,7 @@
},
"parameters": [
{
- "id": 363,
+ "id": 341,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -625,7 +625,7 @@
}
},
{
- "id": 364,
+ "id": 342,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -641,7 +641,7 @@
}
},
{
- "id": 365,
+ "id": 343,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -651,7 +651,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 366,
+ "id": 344,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -660,7 +660,7 @@
},
"children": [
{
- "id": 368,
+ "id": 346,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -681,7 +681,7 @@
}
},
{
- "id": 367,
+ "id": 345,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -711,7 +711,7 @@
}
},
{
- "id": 369,
+ "id": 347,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -746,9 +746,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 368,
- 367,
- 369
+ 346,
+ 345,
+ 347
]
}
],
@@ -770,7 +770,7 @@
{
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -779,7 +779,7 @@
},
"children": [
{
- "id": 371,
+ "id": 349,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -817,7 +817,7 @@
}
},
{
- "id": 372,
+ "id": 350,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -851,8 +851,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 371,
- 372
+ 349,
+ 350
]
}
],
@@ -879,7 +879,7 @@
]
},
{
- "id": 314,
+ "id": 292,
"name": "getUrlForProvider",
"kind": 2048,
"kindString": "Method",
@@ -888,7 +888,7 @@
},
"signatures": [
{
- "id": 315,
+ "id": 293,
"name": "getUrlForProvider",
"kind": 4096,
"kindString": "Call signature",
@@ -900,7 +900,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 294,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -917,7 +917,7 @@
}
},
{
- "id": 317,
+ "id": 295,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -927,7 +927,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 296,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -936,7 +936,7 @@
},
"children": [
{
- "id": 319,
+ "id": 297,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -966,7 +966,7 @@
}
},
{
- "id": 320,
+ "id": 298,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -1001,8 +1001,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 319,
- 320
+ 297,
+ 298
]
}
],
@@ -1032,7 +1032,7 @@
]
},
{
- "id": 321,
+ "id": 299,
"name": "getUser",
"kind": 2048,
"kindString": "Method",
@@ -1041,7 +1041,7 @@
},
"signatures": [
{
- "id": 322,
+ "id": 300,
"name": "getUser",
"kind": 4096,
"kindString": "Call signature",
@@ -1053,7 +1053,7 @@
},
"parameters": [
{
- "id": 323,
+ "id": 301,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -1075,7 +1075,7 @@
{
"type": "reflection",
"declaration": {
- "id": 324,
+ "id": 302,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1084,7 +1084,7 @@
},
"children": [
{
- "id": 326,
+ "id": 304,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1114,7 +1114,7 @@
}
},
{
- "id": 327,
+ "id": 305,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1143,7 +1143,7 @@
}
},
{
- "id": 325,
+ "id": 303,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -1178,9 +1178,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 326,
- 327,
- 325
+ 304,
+ 305,
+ 303
]
}
],
@@ -1207,7 +1207,7 @@
]
},
{
- "id": 354,
+ "id": 332,
"name": "getUserByCookie",
"kind": 2048,
"kindString": "Method",
@@ -1216,7 +1216,7 @@
},
"signatures": [
{
- "id": 355,
+ "id": 333,
"name": "getUserByCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -1228,7 +1228,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 334,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -1247,7 +1247,7 @@
{
"type": "reflection",
"declaration": {
- "id": 357,
+ "id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1256,7 +1256,7 @@
},
"children": [
{
- "id": 359,
+ "id": 337,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1286,7 +1286,7 @@
}
},
{
- "id": 360,
+ "id": 338,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1315,7 +1315,7 @@
}
},
{
- "id": 358,
+ "id": 336,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -1350,9 +1350,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 359,
- 360,
- 358
+ 337,
+ 338,
+ 336
]
}
],
@@ -1379,7 +1379,7 @@
]
},
{
- "id": 286,
+ "id": 264,
"name": "inviteUserByEmail",
"kind": 2048,
"kindString": "Method",
@@ -1388,7 +1388,7 @@
},
"signatures": [
{
- "id": 287,
+ "id": 265,
"name": "inviteUserByEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -1400,7 +1400,7 @@
},
"parameters": [
{
- "id": 288,
+ "id": 266,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -1416,7 +1416,7 @@
}
},
{
- "id": 289,
+ "id": 267,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1426,7 +1426,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 290,
+ "id": 268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1435,7 +1435,7 @@
},
"children": [
{
- "id": 291,
+ "id": 269,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -1470,7 +1470,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 291
+ 269
]
}
],
@@ -1492,7 +1492,7 @@
{
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 270,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1501,7 +1501,7 @@
},
"children": [
{
- "id": 293,
+ "id": 271,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1531,7 +1531,7 @@
}
},
{
- "id": 294,
+ "id": 272,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1565,8 +1565,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 293,
- 294
+ 271,
+ 272
]
}
],
@@ -1593,7 +1593,7 @@
]
},
{
- "id": 344,
+ "id": 322,
"name": "refreshAccessToken",
"kind": 2048,
"kindString": "Method",
@@ -1602,7 +1602,7 @@
},
"signatures": [
{
- "id": 345,
+ "id": 323,
"name": "refreshAccessToken",
"kind": 4096,
"kindString": "Call signature",
@@ -1614,7 +1614,7 @@
},
"parameters": [
{
- "id": 346,
+ "id": 324,
"name": "refreshToken",
"kind": 32768,
"kindString": "Parameter",
@@ -1636,7 +1636,7 @@
{
"type": "reflection",
"declaration": {
- "id": 347,
+ "id": 325,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1645,7 +1645,7 @@
},
"children": [
{
- "id": 348,
+ "id": 326,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1675,7 +1675,7 @@
}
},
{
- "id": 349,
+ "id": 327,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1709,8 +1709,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 348,
- 349
+ 326,
+ 327
]
}
],
@@ -1737,7 +1737,7 @@
]
},
{
- "id": 295,
+ "id": 273,
"name": "resetPasswordForEmail",
"kind": 2048,
"kindString": "Method",
@@ -1746,7 +1746,7 @@
},
"signatures": [
{
- "id": 296,
+ "id": 274,
"name": "resetPasswordForEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -1758,7 +1758,7 @@
},
"parameters": [
{
- "id": 297,
+ "id": 275,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -1774,7 +1774,7 @@
}
},
{
- "id": 298,
+ "id": 276,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1784,7 +1784,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 299,
+ "id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1793,7 +1793,7 @@
},
"children": [
{
- "id": 300,
+ "id": 278,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -1828,7 +1828,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 300
+ 278
]
}
],
@@ -1850,7 +1850,7 @@
{
"type": "reflection",
"declaration": {
- "id": 301,
+ "id": 279,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1859,7 +1859,7 @@
},
"children": [
{
- "id": 302,
+ "id": 280,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1879,7 +1879,7 @@
{
"type": "reflection",
"declaration": {
- "id": 303,
+ "id": 281,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1903,7 +1903,7 @@
}
},
{
- "id": 304,
+ "id": 282,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1937,8 +1937,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 302,
- 304
+ 280,
+ 282
]
}
],
@@ -1965,7 +1965,7 @@
]
},
{
- "id": 259,
+ "id": 237,
"name": "sendMagicLinkEmail",
"kind": 2048,
"kindString": "Method",
@@ -1974,7 +1974,7 @@
},
"signatures": [
{
- "id": 260,
+ "id": 238,
"name": "sendMagicLinkEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -1986,7 +1986,7 @@
},
"parameters": [
{
- "id": 261,
+ "id": 239,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -2002,7 +2002,7 @@
}
},
{
- "id": 262,
+ "id": 240,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2012,7 +2012,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 263,
+ "id": 241,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2021,7 +2021,7 @@
},
"children": [
{
- "id": 264,
+ "id": 242,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -2056,7 +2056,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 264
+ 242
]
}
],
@@ -2078,7 +2078,7 @@
{
"type": "reflection",
"declaration": {
- "id": 265,
+ "id": 243,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2087,7 +2087,7 @@
},
"children": [
{
- "id": 266,
+ "id": 244,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2107,7 +2107,7 @@
{
"type": "reflection",
"declaration": {
- "id": 267,
+ "id": 245,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2131,7 +2131,7 @@
}
},
{
- "id": 268,
+ "id": 246,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2165,8 +2165,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 266,
- 268
+ 244,
+ 246
]
}
],
@@ -2193,7 +2193,7 @@
]
},
{
- "id": 269,
+ "id": 247,
"name": "sendMobileOTP",
"kind": 2048,
"kindString": "Method",
@@ -2202,7 +2202,7 @@
},
"signatures": [
{
- "id": 270,
+ "id": 248,
"name": "sendMobileOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -2214,7 +2214,7 @@
},
"parameters": [
{
- "id": 271,
+ "id": 249,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -2236,7 +2236,7 @@
{
"type": "reflection",
"declaration": {
- "id": 272,
+ "id": 250,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2245,7 +2245,7 @@
},
"children": [
{
- "id": 273,
+ "id": 251,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2265,7 +2265,7 @@
{
"type": "reflection",
"declaration": {
- "id": 274,
+ "id": 252,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2289,7 +2289,7 @@
}
},
{
- "id": 275,
+ "id": 253,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2323,8 +2323,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 273,
- 275
+ 251,
+ 253
]
}
],
@@ -2351,7 +2351,7 @@
]
},
{
- "id": 350,
+ "id": 328,
"name": "setAuthCookie",
"kind": 2048,
"kindString": "Method",
@@ -2360,7 +2360,7 @@
},
"signatures": [
{
- "id": 351,
+ "id": 329,
"name": "setAuthCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -2372,7 +2372,7 @@
},
"parameters": [
{
- "id": 352,
+ "id": 330,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -2385,7 +2385,7 @@
}
},
{
- "id": 353,
+ "id": 331,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -2413,7 +2413,7 @@
]
},
{
- "id": 235,
+ "id": 213,
"name": "signInWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -2422,7 +2422,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 214,
"name": "signInWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -2434,7 +2434,7 @@
},
"parameters": [
{
- "id": 237,
+ "id": 215,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -2450,7 +2450,7 @@
}
},
{
- "id": 238,
+ "id": 216,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -2466,7 +2466,7 @@
}
},
{
- "id": 239,
+ "id": 217,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2476,7 +2476,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 240,
+ "id": 218,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2485,7 +2485,7 @@
},
"children": [
{
- "id": 241,
+ "id": 219,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -2520,7 +2520,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 241
+ 219
]
}
],
@@ -2542,7 +2542,7 @@
{
"type": "reflection",
"declaration": {
- "id": 242,
+ "id": 220,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2551,7 +2551,7 @@
},
"children": [
{
- "id": 243,
+ "id": 221,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2581,7 +2581,7 @@
}
},
{
- "id": 244,
+ "id": 222,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2615,8 +2615,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 243,
- 244
+ 221,
+ 222
]
}
],
@@ -2643,7 +2643,7 @@
]
},
{
- "id": 252,
+ "id": 230,
"name": "signInWithPhone",
"kind": 2048,
"kindString": "Method",
@@ -2652,7 +2652,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 231,
"name": "signInWithPhone",
"kind": 4096,
"kindString": "Call signature",
@@ -2664,7 +2664,7 @@
},
"parameters": [
{
- "id": 254,
+ "id": 232,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -2680,7 +2680,7 @@
}
},
{
- "id": 255,
+ "id": 233,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -2702,7 +2702,7 @@
{
"type": "reflection",
"declaration": {
- "id": 256,
+ "id": 234,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2711,7 +2711,7 @@
},
"children": [
{
- "id": 257,
+ "id": 235,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2741,7 +2741,7 @@
}
},
{
- "id": 258,
+ "id": 236,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2775,8 +2775,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 257,
- 258
+ 235,
+ 236
]
}
],
@@ -2803,7 +2803,7 @@
]
},
{
- "id": 309,
+ "id": 287,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -2812,7 +2812,7 @@
},
"signatures": [
{
- "id": 310,
+ "id": 288,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -2824,7 +2824,7 @@
},
"parameters": [
{
- "id": 311,
+ "id": 289,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -2846,7 +2846,7 @@
{
"type": "reflection",
"declaration": {
- "id": 312,
+ "id": 290,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2855,7 +2855,7 @@
},
"children": [
{
- "id": 313,
+ "id": 291,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2889,7 +2889,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 313
+ 291
]
}
],
@@ -2916,7 +2916,7 @@
]
},
{
- "id": 225,
+ "id": 203,
"name": "signUpWithEmail",
"kind": 2048,
"kindString": "Method",
@@ -2925,7 +2925,7 @@
},
"signatures": [
{
- "id": 226,
+ "id": 204,
"name": "signUpWithEmail",
"kind": 4096,
"kindString": "Call signature",
@@ -2938,7 +2938,7 @@
},
"parameters": [
{
- "id": 227,
+ "id": 205,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -2954,7 +2954,7 @@
}
},
{
- "id": 228,
+ "id": 206,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -2970,7 +2970,7 @@
}
},
{
- "id": 229,
+ "id": 207,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2980,7 +2980,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 230,
+ "id": 208,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2989,7 +2989,7 @@
},
"children": [
{
- "id": 231,
+ "id": 209,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3024,7 +3024,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 231
+ 209
]
}
],
@@ -3046,7 +3046,7 @@
{
"type": "reflection",
"declaration": {
- "id": 232,
+ "id": 210,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3055,7 +3055,7 @@
},
"children": [
{
- "id": 233,
+ "id": 211,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3090,7 +3090,7 @@
}
},
{
- "id": 234,
+ "id": 212,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3124,8 +3124,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 233,
- 234
+ 211,
+ 212
]
}
],
@@ -3152,7 +3152,7 @@
]
},
{
- "id": 245,
+ "id": 223,
"name": "signUpWithPhone",
"kind": 2048,
"kindString": "Method",
@@ -3161,7 +3161,7 @@
},
"signatures": [
{
- "id": 246,
+ "id": 224,
"name": "signUpWithPhone",
"kind": 4096,
"kindString": "Call signature",
@@ -3173,7 +3173,7 @@
},
"parameters": [
{
- "id": 247,
+ "id": 225,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -3189,7 +3189,7 @@
}
},
{
- "id": 248,
+ "id": 226,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -3211,7 +3211,7 @@
{
"type": "reflection",
"declaration": {
- "id": 249,
+ "id": 227,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3220,7 +3220,7 @@
},
"children": [
{
- "id": 250,
+ "id": 228,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3255,7 +3255,7 @@
}
},
{
- "id": 251,
+ "id": 229,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3289,8 +3289,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 250,
- 251
+ 228,
+ 229
]
}
],
@@ -3317,7 +3317,7 @@
]
},
{
- "id": 328,
+ "id": 306,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -3326,7 +3326,7 @@
},
"signatures": [
{
- "id": 329,
+ "id": 307,
"name": "updateUser",
"kind": 4096,
"kindString": "Call signature",
@@ -3338,7 +3338,7 @@
},
"parameters": [
{
- "id": 330,
+ "id": 308,
"name": "jwt",
"kind": 32768,
"kindString": "Parameter",
@@ -3354,7 +3354,7 @@
}
},
{
- "id": 331,
+ "id": 309,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -3377,7 +3377,7 @@
{
"type": "reflection",
"declaration": {
- "id": 332,
+ "id": 310,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3386,7 +3386,7 @@
},
"children": [
{
- "id": 334,
+ "id": 312,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3416,7 +3416,7 @@
}
},
{
- "id": 335,
+ "id": 313,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3445,7 +3445,7 @@
}
},
{
- "id": 333,
+ "id": 311,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3480,9 +3480,9 @@
"title": "Variables",
"kind": 32,
"children": [
- 334,
- 335,
- 333
+ 312,
+ 313,
+ 311
]
}
],
@@ -3509,7 +3509,7 @@
]
},
{
- "id": 276,
+ "id": 254,
"name": "verifyMobileOTP",
"kind": 2048,
"kindString": "Method",
@@ -3518,7 +3518,7 @@
},
"signatures": [
{
- "id": 277,
+ "id": 255,
"name": "verifyMobileOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -3530,7 +3530,7 @@
},
"parameters": [
{
- "id": 278,
+ "id": 256,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -3546,7 +3546,7 @@
}
},
{
- "id": 279,
+ "id": 257,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -3562,7 +3562,7 @@
}
},
{
- "id": 280,
+ "id": 258,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3572,7 +3572,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 281,
+ "id": 259,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3581,7 +3581,7 @@
},
"children": [
{
- "id": 282,
+ "id": 260,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3616,7 +3616,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 282
+ 260
]
}
],
@@ -3638,7 +3638,7 @@
{
"type": "reflection",
"declaration": {
- "id": 283,
+ "id": 261,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3647,7 +3647,7 @@
},
"children": [
{
- "id": 284,
+ "id": 262,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3682,7 +3682,7 @@
}
},
{
- "id": 285,
+ "id": 263,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3716,8 +3716,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 284,
- 285
+ 262,
+ 263
]
}
],
@@ -3749,41 +3749,41 @@
"title": "Constructors",
"kind": 512,
"children": [
- 215
+ 193
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 214,
- 210,
- 209
+ 192,
+ 188,
+ 187
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 305,
- 336,
- 361,
+ 283,
314,
- 321,
- 354,
- 286,
- 344,
- 295,
- 259,
- 269,
- 350,
- 235,
- 252,
- 309,
- 225,
- 245,
+ 339,
+ 292,
+ 299,
+ 332,
+ 264,
+ 322,
+ 273,
+ 237,
+ 247,
328,
- 276
+ 213,
+ 230,
+ 287,
+ 203,
+ 223,
+ 306,
+ 254
]
}
],
@@ -3801,7 +3801,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 208
+ 186
]
}
],
@@ -3814,7 +3814,7 @@
]
},
{
- "id": 376,
+ "id": 354,
"name": "\"GoTrueClient\"",
"kind": 1,
"kindString": "Module",
@@ -3824,7 +3824,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
"children": [
{
- "id": 377,
+ "id": 355,
"name": "GoTrueClient",
"kind": 128,
"kindString": "Class",
@@ -3833,7 +3833,7 @@
},
"children": [
{
- "id": 386,
+ "id": 364,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -3845,7 +3845,7 @@
},
"signatures": [
{
- "id": 387,
+ "id": 365,
"name": "new GoTrueClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -3857,7 +3857,7 @@
},
"parameters": [
{
- "id": 388,
+ "id": 366,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3867,7 +3867,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 389,
+ "id": 367,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3876,7 +3876,7 @@
},
"children": [
{
- "id": 396,
+ "id": 374,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -3890,7 +3890,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 61,
+ "line": 72,
"character": 20
}
],
@@ -3913,7 +3913,7 @@
}
},
{
- "id": 399,
+ "id": 377,
"name": "cookieOptions",
"kind": 32,
"kindString": "Variable",
@@ -3924,7 +3924,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 64,
+ "line": 75,
"character": 17
}
],
@@ -3935,7 +3935,7 @@
}
},
{
- "id": 395,
+ "id": 373,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -3949,7 +3949,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 60,
+ "line": 71,
"character": 22
}
],
@@ -3972,7 +3972,7 @@
}
},
{
- "id": 391,
+ "id": 369,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -3986,7 +3986,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 59,
+ "line": 70,
"character": 11
}
],
@@ -4000,7 +4000,7 @@
{
"type": "reflection",
"declaration": {
- "id": 392,
+ "id": 370,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4009,7 +4009,7 @@
},
"indexSignature": [
{
- "id": 393,
+ "id": 371,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4018,7 +4018,7 @@
},
"parameters": [
{
- "id": 394,
+ "id": 372,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4043,7 +4043,7 @@
}
},
{
- "id": 398,
+ "id": 376,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -4057,17 +4057,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 63,
+ "line": 74,
"character": 16
}
],
"type": {
"type": "reference",
- "name": "Storage"
+ "id": 569,
+ "name": "SupportedStorage"
}
},
{
- "id": 397,
+ "id": 375,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -4081,7 +4082,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 62,
+ "line": 73,
"character": 18
}
],
@@ -4104,7 +4105,7 @@
}
},
{
- "id": 390,
+ "id": 368,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -4118,7 +4119,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 58,
+ "line": 69,
"character": 7
}
],
@@ -4142,20 +4143,20 @@
"title": "Variables",
"kind": 32,
"children": [
- 396,
- 399,
- 395,
- 391,
- 398,
- 397,
- 390
+ 374,
+ 377,
+ 373,
+ 369,
+ 376,
+ 375,
+ 368
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 57,
+ "line": 68,
"character": 22
}
]
@@ -4165,7 +4166,7 @@
],
"type": {
"type": "reference",
- "id": 377,
+ "id": 355,
"name": "GoTrueClient"
}
}
@@ -4173,13 +4174,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 46,
+ "line": 57,
"character": 61
}
]
},
{
- "id": 378,
+ "id": 356,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -4192,18 +4193,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 32,
+ "line": 43,
"character": 5
}
],
"type": {
"type": "reference",
- "id": 208,
+ "id": 186,
"name": "GoTrueApi"
}
},
{
- "id": 381,
+ "id": 359,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -4214,7 +4215,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 42,
+ "line": 53,
"character": 28
}
],
@@ -4224,7 +4225,7 @@
}
},
{
- "id": 380,
+ "id": 358,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -4238,7 +4239,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 40,
+ "line": 51,
"character": 26
}
],
@@ -4258,7 +4259,7 @@
}
},
{
- "id": 379,
+ "id": 357,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -4272,7 +4273,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 36,
+ "line": 47,
"character": 23
}
],
@@ -4292,7 +4293,7 @@
}
},
{
- "id": 383,
+ "id": 361,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -4303,17 +4304,18 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 44,
+ "line": 55,
"character": 24
}
],
"type": {
"type": "reference",
- "name": "Storage"
+ "id": 569,
+ "name": "SupportedStorage"
}
},
{
- "id": 382,
+ "id": 360,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -4324,7 +4326,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 43,
+ "line": 54,
"character": 26
}
],
@@ -4334,7 +4336,7 @@
}
},
{
- "id": 385,
+ "id": 363,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
@@ -4346,7 +4348,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 46,
+ "line": 57,
"character": 29
}
],
@@ -4365,7 +4367,7 @@
}
},
{
- "id": 384,
+ "id": 362,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -4376,7 +4378,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 45,
+ "line": 56,
"character": 31
}
],
@@ -4398,7 +4400,7 @@
"defaultValue": "new Map()"
},
{
- "id": 551,
+ "id": 529,
"name": "_callRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -4408,7 +4410,7 @@
},
"signatures": [
{
- "id": 552,
+ "id": 530,
"name": "_callRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -4417,7 +4419,7 @@
},
"parameters": [
{
- "id": 553,
+ "id": 531,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -4449,7 +4451,7 @@
{
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4458,7 +4460,7 @@
},
"children": [
{
- "id": 555,
+ "id": 533,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4468,7 +4470,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 610,
+ "line": 621,
"character": 19
}
],
@@ -4479,7 +4481,7 @@
}
},
{
- "id": 556,
+ "id": 534,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4489,7 +4491,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 610,
+ "line": 621,
"character": 26
}
],
@@ -4505,8 +4507,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 555,
- 556
+ 533,
+ 534
]
}
]
@@ -4515,7 +4517,7 @@
{
"type": "reflection",
"declaration": {
- "id": 557,
+ "id": 535,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4524,7 +4526,7 @@
},
"children": [
{
- "id": 558,
+ "id": 536,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4534,7 +4536,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 612,
+ "line": 623,
"character": 19
}
],
@@ -4545,7 +4547,7 @@
"defaultValue": "null"
},
{
- "id": 559,
+ "id": 537,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4555,7 +4557,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 612,
+ "line": 623,
"character": 32
}
],
@@ -4570,8 +4572,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 558,
- 559
+ 536,
+ 537
]
}
]
@@ -4587,13 +4589,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 598,
+ "line": 609,
"character": 33
}
]
},
{
- "id": 497,
+ "id": 475,
"name": "_handleEmailSignIn",
"kind": 2048,
"kindString": "Method",
@@ -4603,7 +4605,7 @@
},
"signatures": [
{
- "id": 498,
+ "id": 476,
"name": "_handleEmailSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -4612,7 +4614,7 @@
},
"parameters": [
{
- "id": 499,
+ "id": 477,
"name": "email",
"kind": 32768,
"kindString": "Parameter",
@@ -4625,7 +4627,7 @@
}
},
{
- "id": 500,
+ "id": 478,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -4638,7 +4640,7 @@
}
},
{
- "id": 501,
+ "id": 479,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4648,7 +4650,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 502,
+ "id": 480,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4657,7 +4659,7 @@
},
"children": [
{
- "id": 503,
+ "id": 481,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -4668,7 +4670,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 473,
+ "line": 484,
"character": 16
}
],
@@ -4692,14 +4694,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 503
+ 481
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 472,
+ "line": 483,
"character": 12
}
]
@@ -4717,7 +4719,7 @@
{
"type": "reflection",
"declaration": {
- "id": 504,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4726,7 +4728,7 @@
},
"children": [
{
- "id": 505,
+ "id": 483,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4736,7 +4738,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 19
}
],
@@ -4747,7 +4749,7 @@
}
},
{
- "id": 508,
+ "id": 486,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4757,7 +4759,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 58
}
],
@@ -4768,7 +4770,7 @@
"defaultValue": "null"
},
{
- "id": 507,
+ "id": 485,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4778,7 +4780,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 45
}
],
@@ -4790,7 +4792,7 @@
"defaultValue": "data"
},
{
- "id": 506,
+ "id": 484,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4800,7 +4802,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 487,
+ "line": 498,
"character": 25
}
],
@@ -4826,10 +4828,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 505,
- 508,
- 507,
- 506
+ 483,
+ 486,
+ 485,
+ 484
]
}
]
@@ -4838,7 +4840,7 @@
{
"type": "reflection",
"declaration": {
- "id": 509,
+ "id": 487,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4847,7 +4849,7 @@
},
"children": [
{
- "id": 510,
+ "id": 488,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4857,7 +4859,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 19
}
],
@@ -4868,7 +4870,7 @@
"defaultValue": "null"
},
{
- "id": 513,
+ "id": 491,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4878,7 +4880,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 59
}
],
@@ -4888,7 +4890,7 @@
}
},
{
- "id": 512,
+ "id": 490,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4898,7 +4900,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 46
}
],
@@ -4909,7 +4911,7 @@
"defaultValue": "null"
},
{
- "id": 511,
+ "id": 489,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4919,7 +4921,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 489,
+ "line": 500,
"character": 31
}
],
@@ -4935,10 +4937,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 510,
- 513,
- 512,
- 511
+ 488,
+ 491,
+ 490,
+ 489
]
}
]
@@ -4954,13 +4956,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 469,
+ "line": 480,
"character": 34
}
]
},
{
- "id": 514,
+ "id": 492,
"name": "_handlePhoneSignIn",
"kind": 2048,
"kindString": "Method",
@@ -4970,7 +4972,7 @@
},
"signatures": [
{
- "id": 515,
+ "id": 493,
"name": "_handlePhoneSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -4979,7 +4981,7 @@
},
"parameters": [
{
- "id": 516,
+ "id": 494,
"name": "phone",
"kind": 32768,
"kindString": "Parameter",
@@ -4992,7 +4994,7 @@
}
},
{
- "id": 517,
+ "id": 495,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -5014,7 +5016,7 @@
{
"type": "reflection",
"declaration": {
- "id": 518,
+ "id": 496,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5023,7 +5025,7 @@
},
"children": [
{
- "id": 519,
+ "id": 497,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5033,7 +5035,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 19
}
],
@@ -5044,7 +5046,7 @@
}
},
{
- "id": 522,
+ "id": 500,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5054,7 +5056,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 58
}
],
@@ -5065,7 +5067,7 @@
"defaultValue": "null"
},
{
- "id": 521,
+ "id": 499,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5075,7 +5077,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 45
}
],
@@ -5087,7 +5089,7 @@
"defaultValue": "data"
},
{
- "id": 520,
+ "id": 498,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5097,7 +5099,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 503,
+ "line": 514,
"character": 25
}
],
@@ -5123,10 +5125,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 519,
- 522,
- 521,
- 520
+ 497,
+ 500,
+ 499,
+ 498
]
}
]
@@ -5135,7 +5137,7 @@
{
"type": "reflection",
"declaration": {
- "id": 523,
+ "id": 501,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5144,7 +5146,7 @@
},
"children": [
{
- "id": 524,
+ "id": 502,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5154,7 +5156,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 19
}
],
@@ -5165,7 +5167,7 @@
"defaultValue": "null"
},
{
- "id": 527,
+ "id": 505,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5175,7 +5177,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 59
}
],
@@ -5185,7 +5187,7 @@
}
},
{
- "id": 526,
+ "id": 504,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5195,7 +5197,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 46
}
],
@@ -5206,7 +5208,7 @@
"defaultValue": "null"
},
{
- "id": 525,
+ "id": 503,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5216,7 +5218,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 505,
+ "line": 516,
"character": 31
}
],
@@ -5232,10 +5234,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 524,
- 527,
- 526,
- 525
+ 502,
+ 505,
+ 504,
+ 503
]
}
]
@@ -5251,13 +5253,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 493,
+ "line": 504,
"character": 34
}
]
},
{
- "id": 528,
+ "id": 506,
"name": "_handleProviderSignIn",
"kind": 2048,
"kindString": "Method",
@@ -5267,7 +5269,7 @@
},
"signatures": [
{
- "id": 529,
+ "id": 507,
"name": "_handleProviderSignIn",
"kind": 4096,
"kindString": "Call signature",
@@ -5276,7 +5278,7 @@
},
"parameters": [
{
- "id": 530,
+ "id": 508,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
@@ -5290,7 +5292,7 @@
}
},
{
- "id": 531,
+ "id": 509,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5300,7 +5302,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 532,
+ "id": 510,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5309,7 +5311,7 @@
},
"children": [
{
- "id": 533,
+ "id": 511,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -5320,7 +5322,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 512,
+ "line": 523,
"character": 16
}
],
@@ -5339,7 +5341,7 @@
}
},
{
- "id": 534,
+ "id": 512,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -5350,7 +5352,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 513,
+ "line": 524,
"character": 12
}
],
@@ -5374,15 +5376,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 533,
- 534
+ 511,
+ 512
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 511,
+ "line": 522,
"character": 12
}
]
@@ -5397,7 +5399,7 @@
{
"type": "reflection",
"declaration": {
- "id": 535,
+ "id": 513,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5406,7 +5408,7 @@
},
"children": [
{
- "id": 538,
+ "id": 516,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5416,7 +5418,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 34
}
],
@@ -5427,7 +5429,7 @@
"defaultValue": "null"
},
{
- "id": 541,
+ "id": 519,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5437,7 +5439,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 74
}
],
@@ -5448,7 +5450,7 @@
"defaultValue": "null"
},
{
- "id": 536,
+ "id": 514,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -5458,7 +5460,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 23
}
],
@@ -5469,7 +5471,7 @@
}
},
{
- "id": 539,
+ "id": 517,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5479,7 +5481,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 49
}
],
@@ -5490,7 +5492,7 @@
"defaultValue": "null"
},
{
- "id": 537,
+ "id": 515,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -5500,7 +5502,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 28
}
],
@@ -5510,7 +5512,7 @@
}
},
{
- "id": 540,
+ "id": 518,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5520,7 +5522,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 526,
+ "line": 537,
"character": 61
}
],
@@ -5536,12 +5538,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 538,
- 541,
- 536,
- 539,
- 537,
- 540
+ 516,
+ 519,
+ 514,
+ 517,
+ 515,
+ 518
]
}
]
@@ -5550,7 +5552,7 @@
{
"type": "reflection",
"declaration": {
- "id": 542,
+ "id": 520,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5559,7 +5561,7 @@
},
"children": [
{
- "id": 543,
+ "id": 521,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -5569,7 +5571,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 19
}
],
@@ -5580,7 +5582,7 @@
"defaultValue": "null"
},
{
- "id": 546,
+ "id": 524,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -5590,7 +5592,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 59
}
],
@@ -5600,7 +5602,7 @@
}
},
{
- "id": 545,
+ "id": 523,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -5610,7 +5612,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 46
}
],
@@ -5621,7 +5623,7 @@
"defaultValue": "null"
},
{
- "id": 544,
+ "id": 522,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -5631,7 +5633,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 530,
+ "line": 541,
"character": 31
}
],
@@ -5647,10 +5649,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 543,
- 546,
- 545,
- 544
+ 521,
+ 524,
+ 523,
+ 522
]
}
]
@@ -5663,13 +5665,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 509,
+ "line": 520,
"character": 31
}
]
},
{
- "id": 560,
+ "id": 538,
"name": "_notifyAllSubscribers",
"kind": 2048,
"kindString": "Method",
@@ -5679,7 +5681,7 @@
},
"signatures": [
{
- "id": 561,
+ "id": 539,
"name": "_notifyAllSubscribers",
"kind": 4096,
"kindString": "Call signature",
@@ -5688,7 +5690,7 @@
},
"parameters": [
{
- "id": 562,
+ "id": 540,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -5711,13 +5713,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 616,
+ "line": 627,
"character": 31
}
]
},
{
- "id": 566,
+ "id": 544,
"name": "_persistSession",
"kind": 2048,
"kindString": "Method",
@@ -5727,7 +5729,7 @@
},
"signatures": [
{
- "id": 567,
+ "id": 545,
"name": "_persistSession",
"kind": 4096,
"kindString": "Call signature",
@@ -5736,7 +5738,7 @@
},
"parameters": [
{
- "id": 568,
+ "id": 546,
"name": "currentSession",
"kind": 32768,
"kindString": "Parameter",
@@ -5759,13 +5761,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 643,
+ "line": 654,
"character": 25
}
]
},
{
- "id": 549,
+ "id": 527,
"name": "_recoverAndRefresh",
"kind": 2048,
"kindString": "Method",
@@ -5775,7 +5777,7 @@
},
"signatures": [
{
- "id": 550,
+ "id": 528,
"name": "_recoverAndRefresh",
"kind": 4096,
"kindString": "Call signature",
@@ -5809,13 +5811,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 562,
+ "line": 573,
"character": 34
}
]
},
{
- "id": 547,
+ "id": 525,
"name": "_recoverSession",
"kind": 2048,
"kindString": "Method",
@@ -5825,7 +5827,7 @@
},
"signatures": [
{
- "id": 548,
+ "id": 526,
"name": "_recoverSession",
"kind": 4096,
"kindString": "Call signature",
@@ -5853,13 +5855,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 538,
+ "line": 549,
"character": 25
}
]
},
{
- "id": 569,
+ "id": 547,
"name": "_removeSession",
"kind": 2048,
"kindString": "Method",
@@ -5869,7 +5871,7 @@
},
"signatures": [
{
- "id": 570,
+ "id": 548,
"name": "_removeSession",
"kind": 4096,
"kindString": "Call signature",
@@ -5891,13 +5893,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 648,
+ "line": 659,
"character": 30
}
]
},
{
- "id": 563,
+ "id": 541,
"name": "_saveSession",
"kind": 2048,
"kindString": "Method",
@@ -5907,7 +5909,7 @@
},
"signatures": [
{
- "id": 564,
+ "id": 542,
"name": "_saveSession",
"kind": 4096,
"kindString": "Call signature",
@@ -5919,7 +5921,7 @@
},
"parameters": [
{
- "id": 565,
+ "id": 543,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -5942,13 +5944,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 624,
+ "line": 635,
"character": 22
}
]
},
{
- "id": 571,
+ "id": 549,
"name": "_startAutoRefreshToken",
"kind": 2048,
"kindString": "Method",
@@ -5958,7 +5960,7 @@
},
"signatures": [
{
- "id": 572,
+ "id": 550,
"name": "_startAutoRefreshToken",
"kind": 4096,
"kindString": "Call signature",
@@ -5970,7 +5972,7 @@
},
"parameters": [
{
- "id": 573,
+ "id": 551,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -5995,13 +5997,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 659,
+ "line": 670,
"character": 32
}
]
},
{
- "id": 475,
+ "id": 453,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -6010,7 +6012,7 @@
},
"signatures": [
{
- "id": 476,
+ "id": 454,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -6022,7 +6024,7 @@
},
"parameters": [
{
- "id": 477,
+ "id": 455,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -6040,7 +6042,7 @@
{
"type": "reflection",
"declaration": {
- "id": 478,
+ "id": 456,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6049,7 +6051,7 @@
},
"children": [
{
- "id": 479,
+ "id": 457,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -6063,7 +6065,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 379,
+ "line": 390,
"character": 16
}
],
@@ -6091,7 +6093,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 479
+ 457
]
}
]
@@ -6107,7 +6109,7 @@
{
"type": "reflection",
"declaration": {
- "id": 480,
+ "id": 458,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6116,7 +6118,7 @@
},
"children": [
{
- "id": 481,
+ "id": 459,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6126,7 +6128,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 380,
+ "line": 391,
"character": 20
}
],
@@ -6146,7 +6148,7 @@
}
},
{
- "id": 482,
+ "id": 460,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6156,7 +6158,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 380,
+ "line": 391,
"character": 43
}
],
@@ -6180,15 +6182,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 481,
- 482
+ 459,
+ 460
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 380,
+ "line": 391,
"character": 14
}
]
@@ -6202,13 +6204,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 378,
+ "line": 389,
"character": 25
}
]
},
{
- "id": 487,
+ "id": 465,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -6217,7 +6219,7 @@
},
"signatures": [
{
- "id": 488,
+ "id": 466,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -6230,7 +6232,7 @@
},
"parameters": [
{
- "id": 489,
+ "id": 467,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -6240,7 +6242,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 490,
+ "id": 468,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6249,7 +6251,7 @@
},
"signatures": [
{
- "id": 491,
+ "id": 469,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6258,7 +6260,7 @@
},
"parameters": [
{
- "id": 492,
+ "id": 470,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -6272,7 +6274,7 @@
}
},
{
- "id": 493,
+ "id": 471,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -6304,7 +6306,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 450,
+ "line": 461,
"character": 13
}
]
@@ -6315,7 +6317,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 472,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6324,7 +6326,7 @@
},
"children": [
{
- "id": 495,
+ "id": 473,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6334,7 +6336,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 451,
+ "line": 462,
"character": 11
}
],
@@ -6354,7 +6356,7 @@
}
},
{
- "id": 496,
+ "id": 474,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6364,7 +6366,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 451,
+ "line": 462,
"character": 39
}
],
@@ -6388,15 +6390,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 495,
- 496
+ 473,
+ 474
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 451,
+ "line": 462,
"character": 4
}
]
@@ -6407,13 +6409,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 449,
+ "line": 460,
"character": 19
}
]
},
{
- "id": 453,
+ "id": 431,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -6422,7 +6424,7 @@
},
"signatures": [
{
- "id": 454,
+ "id": 432,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -6438,7 +6440,7 @@
{
"type": "reflection",
"declaration": {
- "id": 455,
+ "id": 433,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6447,7 +6449,7 @@
},
"children": [
{
- "id": 456,
+ "id": 434,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -6457,7 +6459,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 286,
+ "line": 297,
"character": 8
}
],
@@ -6477,7 +6479,7 @@
}
},
{
- "id": 458,
+ "id": 436,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6487,7 +6489,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 288,
+ "line": 299,
"character": 9
}
],
@@ -6506,7 +6508,7 @@
}
},
{
- "id": 457,
+ "id": 435,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -6516,7 +6518,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 287,
+ "line": 298,
"character": 8
}
],
@@ -6541,16 +6543,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 456,
- 458,
- 457
+ 434,
+ 436,
+ 435
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 285,
+ "line": 296,
"character": 34
}
]
@@ -6564,13 +6566,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 285,
+ "line": 296,
"character": 22
}
]
},
{
- "id": 451,
+ "id": 429,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -6579,7 +6581,7 @@
},
"signatures": [
{
- "id": 452,
+ "id": 430,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -6608,13 +6610,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 278,
+ "line": 289,
"character": 9
}
]
},
{
- "id": 472,
+ "id": 450,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -6623,7 +6625,7 @@
},
"signatures": [
{
- "id": 473,
+ "id": 451,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -6635,7 +6637,7 @@
},
"parameters": [
{
- "id": 474,
+ "id": 452,
"name": "access_token",
"kind": 32768,
"kindString": "Parameter",
@@ -6661,13 +6663,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 363,
+ "line": 374,
"character": 9
}
]
},
{
- "id": 466,
+ "id": 444,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -6676,7 +6678,7 @@
},
"signatures": [
{
- "id": 467,
+ "id": 445,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -6688,7 +6690,7 @@
},
"parameters": [
{
- "id": 468,
+ "id": 446,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -6710,7 +6712,7 @@
{
"type": "reflection",
"declaration": {
- "id": 469,
+ "id": 447,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6719,7 +6721,7 @@
},
"children": [
{
- "id": 471,
+ "id": 449,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -6729,7 +6731,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 335,
+ "line": 346,
"character": 45
}
],
@@ -6748,7 +6750,7 @@
}
},
{
- "id": 470,
+ "id": 448,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -6758,7 +6760,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 335,
+ "line": 346,
"character": 22
}
],
@@ -6783,15 +6785,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 471,
- 470
+ 449,
+ 448
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 335,
+ "line": 346,
"character": 13
}
]
@@ -6805,13 +6807,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 333,
+ "line": 344,
"character": 18
}
]
},
{
- "id": 415,
+ "id": 393,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -6820,7 +6822,7 @@
},
"signatures": [
{
- "id": 416,
+ "id": 394,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -6832,7 +6834,7 @@
},
"parameters": [
{
- "id": 417,
+ "id": 395,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6843,7 +6845,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 418,
+ "id": 396,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6852,7 +6854,7 @@
},
"children": [
{
- "id": 419,
+ "id": 397,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -6865,7 +6867,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 11
}
],
@@ -6884,7 +6886,7 @@
}
},
{
- "id": 421,
+ "id": 399,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -6897,7 +6899,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 28
}
],
@@ -6916,7 +6918,7 @@
}
},
{
- "id": 420,
+ "id": 398,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -6926,7 +6928,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 18
}
],
@@ -6945,7 +6947,7 @@
}
},
{
- "id": 423,
+ "id": 401,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -6958,7 +6960,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 52
}
],
@@ -7013,7 +7015,7 @@
}
},
{
- "id": 422,
+ "id": 400,
"name": "refreshToken",
"kind": 32,
"kindString": "Variable",
@@ -7026,7 +7028,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 158,
+ "line": 169,
"character": 42
}
],
@@ -7050,18 +7052,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 419,
- 421,
- 420,
- 423,
- 422
+ 397,
+ 399,
+ 398,
+ 401,
+ 400
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 168,
"character": 15
}
]
@@ -7069,7 +7071,7 @@
}
},
{
- "id": 424,
+ "id": 402,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7079,7 +7081,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 425,
+ "id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7088,7 +7090,7 @@
},
"children": [
{
- "id": 426,
+ "id": 404,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -7099,7 +7101,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 160,
+ "line": 171,
"character": 16
}
],
@@ -7118,7 +7120,7 @@
}
},
{
- "id": 427,
+ "id": 405,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -7129,7 +7131,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 161,
+ "line": 172,
"character": 12
}
],
@@ -7153,15 +7155,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 426,
- 427
+ 404,
+ 405
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 159,
+ "line": 170,
"character": 12
}
]
@@ -7176,7 +7178,7 @@
{
"type": "reflection",
"declaration": {
- "id": 428,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7185,7 +7187,7 @@
},
"children": [
{
- "id": 434,
+ "id": 412,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -7195,7 +7197,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 169,
+ "line": 180,
"character": 8
}
],
@@ -7215,7 +7217,7 @@
}
},
{
- "id": 433,
+ "id": 411,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7225,7 +7227,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 168,
+ "line": 179,
"character": 9
}
],
@@ -7244,7 +7246,7 @@
}
},
{
- "id": 431,
+ "id": 409,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -7255,7 +7257,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 166,
+ "line": 177,
"character": 12
}
],
@@ -7266,7 +7268,7 @@
}
},
{
- "id": 429,
+ "id": 407,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -7276,7 +7278,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 164,
+ "line": 175,
"character": 11
}
],
@@ -7296,7 +7298,7 @@
}
},
{
- "id": 432,
+ "id": 410,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -7307,7 +7309,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 167,
+ "line": 178,
"character": 7
}
],
@@ -7326,7 +7328,7 @@
}
},
{
- "id": 430,
+ "id": 408,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -7336,7 +7338,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 165,
+ "line": 176,
"character": 8
}
],
@@ -7361,19 +7363,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 434,
- 433,
- 431,
- 429,
- 432,
- 430
+ 412,
+ 411,
+ 409,
+ 407,
+ 410,
+ 408
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 163,
+ "line": 174,
"character": 13
}
]
@@ -7387,13 +7389,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 157,
+ "line": 168,
"character": 14
}
]
},
{
- "id": 483,
+ "id": 461,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -7402,7 +7404,7 @@
},
"signatures": [
{
- "id": 484,
+ "id": 462,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -7419,7 +7421,7 @@
{
"type": "reflection",
"declaration": {
- "id": 485,
+ "id": 463,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7428,7 +7430,7 @@
},
"children": [
{
- "id": 486,
+ "id": 464,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7438,7 +7440,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 434,
+ "line": 445,
"character": 34
}
],
@@ -7462,14 +7464,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 486
+ 464
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 434,
+ "line": 445,
"character": 27
}
]
@@ -7483,13 +7485,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 434,
+ "line": 445,
"character": 15
}
]
},
{
- "id": 400,
+ "id": 378,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -7498,7 +7500,7 @@
},
"signatures": [
{
- "id": 401,
+ "id": 379,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -7510,7 +7512,7 @@
},
"parameters": [
{
- "id": 402,
+ "id": 380,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -7521,7 +7523,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 403,
+ "id": 381,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7530,7 +7532,7 @@
},
"children": [
{
- "id": 404,
+ "id": 382,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -7543,7 +7545,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 99,
+ "line": 110,
"character": 11
}
],
@@ -7562,7 +7564,7 @@
}
},
{
- "id": 405,
+ "id": 383,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -7575,7 +7577,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 99,
+ "line": 110,
"character": 21
}
],
@@ -7594,7 +7596,7 @@
}
},
{
- "id": 406,
+ "id": 384,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -7607,7 +7609,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 99,
+ "line": 110,
"character": 28
}
],
@@ -7631,16 +7633,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 404,
- 405,
- 406
+ 382,
+ 383,
+ 384
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 98,
+ "line": 109,
"character": 15
}
]
@@ -7648,7 +7650,7 @@
}
},
{
- "id": 407,
+ "id": 385,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7658,7 +7660,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 408,
+ "id": 386,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7667,7 +7669,7 @@
},
"children": [
{
- "id": 409,
+ "id": 387,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -7678,7 +7680,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 101,
+ "line": 112,
"character": 16
}
],
@@ -7702,14 +7704,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 409
+ 387
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 100,
+ "line": 111,
"character": 12
}
]
@@ -7724,7 +7726,7 @@
{
"type": "reflection",
"declaration": {
- "id": 410,
+ "id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7733,7 +7735,7 @@
},
"children": [
{
- "id": 414,
+ "id": 392,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -7743,7 +7745,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 107,
+ "line": 118,
"character": 8
}
],
@@ -7768,7 +7770,7 @@
}
},
{
- "id": 413,
+ "id": 391,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7778,7 +7780,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 106,
+ "line": 117,
"character": 9
}
],
@@ -7797,7 +7799,7 @@
}
},
{
- "id": 412,
+ "id": 390,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -7807,7 +7809,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 105,
+ "line": 116,
"character": 11
}
],
@@ -7827,7 +7829,7 @@
}
},
{
- "id": 411,
+ "id": 389,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -7837,7 +7839,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 104,
+ "line": 115,
"character": 8
}
],
@@ -7862,17 +7864,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 414,
- 413,
- 412,
- 411
+ 392,
+ 391,
+ 390,
+ 389
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 103,
+ "line": 114,
"character": 13
}
]
@@ -7886,13 +7888,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 98,
+ "line": 109,
"character": 14
}
]
},
{
- "id": 459,
+ "id": 437,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -7901,7 +7903,7 @@
},
"signatures": [
{
- "id": 460,
+ "id": 438,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -7913,7 +7915,7 @@
},
"parameters": [
{
- "id": 461,
+ "id": 439,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -7933,7 +7935,7 @@
{
"type": "reflection",
"declaration": {
- "id": 462,
+ "id": 440,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7942,7 +7944,7 @@
},
"children": [
{
- "id": 463,
+ "id": 441,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -7952,7 +7954,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 308,
+ "line": 319,
"character": 19
}
],
@@ -7972,7 +7974,7 @@
}
},
{
- "id": 465,
+ "id": 443,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -7982,7 +7984,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 308,
+ "line": 319,
"character": 58
}
],
@@ -8001,7 +8003,7 @@
}
},
{
- "id": 464,
+ "id": 442,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -8011,7 +8013,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 308,
+ "line": 319,
"character": 38
}
],
@@ -8036,16 +8038,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 463,
- 465,
- 464
+ 441,
+ 443,
+ 442
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 308,
+ "line": 319,
"character": 13
}
]
@@ -8059,13 +8061,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 306,
+ "line": 317,
"character": 14
}
]
},
{
- "id": 449,
+ "id": 427,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -8074,7 +8076,7 @@
},
"signatures": [
{
- "id": 450,
+ "id": 428,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -8104,13 +8106,13 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 271,
+ "line": 282,
"character": 6
}
]
},
{
- "id": 435,
+ "id": 413,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -8119,7 +8121,7 @@
},
"signatures": [
{
- "id": 436,
+ "id": 414,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -8131,7 +8133,7 @@
},
"parameters": [
{
- "id": 437,
+ "id": 415,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -8142,7 +8144,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 438,
+ "id": 416,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8151,7 +8153,7 @@
},
"children": [
{
- "id": 439,
+ "id": 417,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -8164,7 +8166,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 223,
+ "line": 234,
"character": 11
}
],
@@ -8174,7 +8176,7 @@
}
},
{
- "id": 440,
+ "id": 418,
"name": "token",
"kind": 32,
"kindString": "Variable",
@@ -8187,7 +8189,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 223,
+ "line": 234,
"character": 18
}
],
@@ -8202,15 +8204,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 439,
- 440
+ 417,
+ 418
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 222,
+ "line": 233,
"character": 18
}
]
@@ -8218,7 +8220,7 @@
}
},
{
- "id": 441,
+ "id": 419,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -8228,7 +8230,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 442,
+ "id": 420,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8237,7 +8239,7 @@
},
"children": [
{
- "id": 443,
+ "id": 421,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -8248,7 +8250,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 225,
+ "line": 236,
"character": 16
}
],
@@ -8272,14 +8274,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 443
+ 421
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 224,
+ "line": 235,
"character": 12
}
]
@@ -8294,7 +8296,7 @@
{
"type": "reflection",
"declaration": {
- "id": 444,
+ "id": 422,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8303,7 +8305,7 @@
},
"children": [
{
- "id": 448,
+ "id": 426,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -8313,7 +8315,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 231,
+ "line": 242,
"character": 8
}
],
@@ -8338,7 +8340,7 @@
}
},
{
- "id": 447,
+ "id": 425,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -8348,7 +8350,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 230,
+ "line": 241,
"character": 9
}
],
@@ -8367,7 +8369,7 @@
}
},
{
- "id": 446,
+ "id": 424,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -8377,7 +8379,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 229,
+ "line": 240,
"character": 11
}
],
@@ -8397,7 +8399,7 @@
}
},
{
- "id": 445,
+ "id": 423,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -8407,7 +8409,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 228,
+ "line": 239,
"character": 8
}
],
@@ -8432,17 +8434,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 448,
- 447,
- 446,
- 445
+ 426,
+ 425,
+ 424,
+ 423
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 227,
+ "line": 238,
"character": 13
}
]
@@ -8456,7 +8458,7 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 222,
+ "line": 233,
"character": 17
}
]
@@ -8467,99 +8469,291 @@
"title": "Constructors",
"kind": 512,
"children": [
- 386
+ 364
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 378,
- 381,
- 380,
- 379,
- 383,
- 382,
- 385,
- 384
+ 356,
+ 359,
+ 358,
+ 357,
+ 361,
+ 360,
+ 363,
+ 362
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 551,
- 497,
- 514,
- 528,
- 560,
- 566,
- 549,
- 547,
- 569,
- 563,
- 571,
+ 529,
475,
- 487,
+ 492,
+ 506,
+ 538,
+ 544,
+ 527,
+ 525,
+ 547,
+ 541,
+ 549,
453,
- 451,
- 472,
- 466,
- 415,
- 483,
- 400,
- 459,
- 449,
- 435
+ 465,
+ 431,
+ 429,
+ 450,
+ 444,
+ 393,
+ 461,
+ 378,
+ 437,
+ 427,
+ 413
]
}
],
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 27,
+ "line": 38,
"character": 33
}
]
},
{
- "id": 574,
- "name": "DEFAULT_OPTIONS",
- "kind": 2097152,
- "kindString": "Object literal",
- "flags": {
- "isConst": true
- },
- "children": [
+ "id": 560,
+ "name": "AnyFunction",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
{
- "id": 576,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
+ "fileName": "GoTrueClient.ts",
+ "line": 27,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 561,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
"flags": {},
- "sources": [
+ "signatures": [
{
- "fileName": "GoTrueClient.ts",
- "line": 21,
- "character": 18
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "true"
- },
- {
- "id": 579,
- "name": "detectSessionInUrl",
- "kind": 32,
+ "id": 562,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 563,
+ "name": "args",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isRest": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 27,
+ "character": 18
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 564,
+ "name": "MaybePromisify",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 565,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 28,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Promise"
+ }
+ ]
+ }
+ },
+ {
+ "id": 566,
+ "name": "PromisifyMethods",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 567,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 30,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 568,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 30,
+ "character": 26
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 569,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 36,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 566,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "getItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "setItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ },
+ {
+ "id": 552,
+ "name": "DEFAULT_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 554,
+ "name": "autoRefreshToken",
+ "kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 24,
+ "line": 21,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 556,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 23,
"character": 20
}
],
@@ -8570,7 +8764,7 @@
"defaultValue": "true"
},
{
- "id": 580,
+ "id": 557,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -8578,21 +8772,21 @@
"sources": [
{
"fileName": "GoTrueClient.ts",
- "line": 25,
+ "line": 24,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 581,
+ "id": 558,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 582,
+ "id": 559,
"name": "X-Client-Info",
"kind": 32,
"kindString": "Variable",
@@ -8616,7 +8810,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 582
+ 559
]
}
]
@@ -8625,26 +8819,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 578,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "GoTrueClient.ts",
- "line": 23,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- },
- "defaultValue": "globalThis.localStorage"
- },
- {
- "id": 577,
+ "id": 555,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -8663,7 +8838,7 @@
"defaultValue": "true"
},
{
- "id": 575,
+ "id": 553,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -8687,12 +8862,11 @@
"title": "Variables",
"kind": 32,
"children": [
- 576,
- 579,
- 580,
- 578,
- 577,
- 575
+ 554,
+ 556,
+ 557,
+ 555,
+ 553
]
}
],
@@ -8714,14 +8888,24 @@
"title": "Classes",
"kind": 128,
"children": [
- 377
+ 355
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 560,
+ 564,
+ 566,
+ 569
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 574
+ 552
]
}
],
@@ -8734,7 +8918,7 @@
]
},
{
- "id": 583,
+ "id": 570,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -8744,7 +8928,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
"children": [
{
- "id": 585,
+ "id": 572,
"name": "AuthChangeEvent",
"kind": 16777216,
"kindString": "Reference",
@@ -8754,7 +8938,7 @@
"target": 113
},
{
- "id": 590,
+ "id": 577,
"name": "CookieOptions",
"kind": 16777216,
"kindString": "Reference",
@@ -8764,7 +8948,7 @@
"target": 97
},
{
- "id": 584,
+ "id": 571,
"name": "Provider",
"kind": 16777216,
"kindString": "Reference",
@@ -8774,7 +8958,7 @@
"target": 112
},
{
- "id": 586,
+ "id": 573,
"name": "Session",
"kind": 16777216,
"kindString": "Reference",
@@ -8784,7 +8968,7 @@
"target": 50
},
{
- "id": 589,
+ "id": 576,
"name": "Subscription",
"kind": 16777216,
"kindString": "Reference",
@@ -8794,7 +8978,7 @@
"target": 87
},
{
- "id": 587,
+ "id": 574,
"name": "User",
"kind": 16777216,
"kindString": "Reference",
@@ -8804,7 +8988,7 @@
"target": 58
},
{
- "id": 588,
+ "id": 575,
"name": "UserAttributes",
"kind": 16777216,
"kindString": "Reference",
@@ -8814,7 +8998,7 @@
"target": 82
},
{
- "id": 591,
+ "id": 578,
"name": "UserCredentials",
"kind": 16777216,
"kindString": "Reference",
@@ -8824,7 +9008,7 @@
"target": 103
},
{
- "id": 592,
+ "id": 579,
"name": "VerifyOTPParams",
"kind": 16777216,
"kindString": "Reference",
@@ -8839,15 +9023,15 @@
"title": "References",
"kind": 16777216,
"children": [
- 585,
- 590,
- 584,
- 586,
- 589,
- 587,
- 588,
- 591,
- 592
+ 572,
+ 577,
+ 571,
+ 573,
+ 576,
+ 574,
+ 575,
+ 578,
+ 579
]
}
],
@@ -8860,7 +9044,7 @@
]
},
{
- "id": 114,
+ "id": 116,
"name": "\"lib/constants\"",
"kind": 1,
"kindString": "Module",
@@ -8870,7 +9054,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
"children": [
{
- "id": 117,
+ "id": 118,
"name": "AUDIENCE",
"kind": 32,
"kindString": "Variable",
@@ -8892,7 +9076,7 @@
"defaultValue": "\"\""
},
{
- "id": 120,
+ "id": 121,
"name": "EXPIRY_MARGIN",
"kind": 32,
"kindString": "Variable",
@@ -8914,7 +9098,7 @@
"defaultValue": "60 * 1000"
},
{
- "id": 116,
+ "id": 117,
"name": "GOTRUE_URL",
"kind": 32,
"kindString": "Variable",
@@ -8936,7 +9120,7 @@
"defaultValue": "\"http://localhost:9999\""
},
{
- "id": 121,
+ "id": 122,
"name": "STORAGE_KEY",
"kind": 32,
"kindString": "Variable",
@@ -8958,25 +9142,7 @@
"defaultValue": "\"supabase.auth.token\""
},
{
- "id": 115,
- "name": "version",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "lib/constants.ts",
- "line": 1,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 122,
+ "id": 123,
"name": "COOKIE_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -8986,7 +9152,7 @@
},
"children": [
{
- "id": 125,
+ "id": 126,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -9007,7 +9173,7 @@
"defaultValue": "\"\""
},
{
- "id": 124,
+ "id": 125,
"name": "lifetime",
"kind": 32,
"kindString": "Variable",
@@ -9028,7 +9194,7 @@
"defaultValue": "60 * 60 * 8"
},
{
- "id": 123,
+ "id": 124,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -9049,7 +9215,7 @@
"defaultValue": "\"sb:token\""
},
{
- "id": 126,
+ "id": 127,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -9070,7 +9236,7 @@
"defaultValue": "\"/\""
},
{
- "id": 127,
+ "id": 128,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -9096,11 +9262,11 @@
"title": "Variables",
"kind": 32,
"children": [
+ 126,
125,
124,
- 123,
- 126,
- 127
+ 127,
+ 128
]
}
],
@@ -9117,7 +9283,7 @@
}
},
{
- "id": 118,
+ "id": 119,
"name": "DEFAULT_HEADERS",
"kind": 2097152,
"kindString": "Object literal",
@@ -9127,7 +9293,7 @@
},
"children": [
{
- "id": 119,
+ "id": 120,
"name": "X-Client-Info",
"kind": 32,
"kindString": "Variable",
@@ -9153,7 +9319,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 119
+ 120
]
}
],
@@ -9175,19 +9341,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 117,
- 120,
- 116,
+ 118,
121,
- 115
+ 117,
+ 122
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 122,
- 118
+ 123,
+ 119
]
}
],
@@ -9200,7 +9365,7 @@
]
},
{
- "id": 128,
+ "id": 129,
"name": "\"lib/cookies\"",
"kind": 1,
"kindString": "Module",
@@ -9210,7 +9375,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/cookies.ts",
"children": [
{
- "id": 129,
+ "id": 130,
"name": "Cookie",
"kind": 4194304,
"kindString": "Type alias",
@@ -9225,14 +9390,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 130,
+ "id": 131,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 134,
+ "id": 135,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -9261,7 +9426,7 @@
}
},
{
- "id": 133,
+ "id": 134,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -9279,7 +9444,7 @@
}
},
{
- "id": 131,
+ "id": 132,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -9297,7 +9462,7 @@
}
},
{
- "id": 135,
+ "id": 136,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -9326,7 +9491,7 @@
}
},
{
- "id": 136,
+ "id": 137,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -9355,7 +9520,7 @@
}
},
{
- "id": 132,
+ "id": 133,
"name": "value",
"kind": 32,
"kindString": "Variable",
@@ -9378,12 +9543,12 @@
"title": "Variables",
"kind": 32,
"children": [
- 134,
- 133,
- 131,
135,
+ 134,
+ 132,
136,
- 132
+ 137,
+ 133
]
}
],
@@ -9398,7 +9563,7 @@
}
},
{
- "id": 167,
+ "id": 168,
"name": "deleteCookie",
"kind": 64,
"kindString": "Function",
@@ -9407,7 +9572,7 @@
},
"signatures": [
{
- "id": 168,
+ "id": 169,
"name": "deleteCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -9416,7 +9581,7 @@
},
"parameters": [
{
- "id": 169,
+ "id": 170,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -9429,7 +9594,7 @@
}
},
{
- "id": 170,
+ "id": 171,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -9442,7 +9607,7 @@
}
},
{
- "id": 171,
+ "id": 172,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -9470,14 +9635,14 @@
]
},
{
- "id": 150,
+ "id": 151,
"name": "isSecureEnvironment",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 151,
+ "id": 152,
"name": "isSecureEnvironment",
"kind": 4096,
"kindString": "Call signature",
@@ -9487,7 +9652,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 153,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -9513,14 +9678,14 @@
]
},
{
- "id": 137,
+ "id": 138,
"name": "serialize",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 138,
+ "id": 139,
"name": "serialize",
"kind": 4096,
"kindString": "Call signature",
@@ -9530,7 +9695,7 @@
},
"parameters": [
{
- "id": 139,
+ "id": 140,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -9541,7 +9706,7 @@
}
},
{
- "id": 140,
+ "id": 141,
"name": "val",
"kind": 32768,
"kindString": "Parameter",
@@ -9552,7 +9717,7 @@
}
},
{
- "id": 141,
+ "id": 142,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -9560,14 +9725,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 142,
+ "id": 143,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 144,
+ "id": 145,
"name": "domain",
"kind": 32,
"kindString": "Variable",
@@ -9585,7 +9750,7 @@
}
},
{
- "id": 146,
+ "id": 147,
"name": "expires",
"kind": 32,
"kindString": "Variable",
@@ -9603,7 +9768,7 @@
}
},
{
- "id": 147,
+ "id": 148,
"name": "httpOnly",
"kind": 32,
"kindString": "Variable",
@@ -9621,7 +9786,7 @@
}
},
{
- "id": 143,
+ "id": 144,
"name": "maxAge",
"kind": 32,
"kindString": "Variable",
@@ -9639,7 +9804,7 @@
}
},
{
- "id": 145,
+ "id": 146,
"name": "path",
"kind": 32,
"kindString": "Variable",
@@ -9657,7 +9822,7 @@
}
},
{
- "id": 149,
+ "id": 150,
"name": "sameSite",
"kind": 32,
"kindString": "Variable",
@@ -9675,7 +9840,7 @@
}
},
{
- "id": 148,
+ "id": 149,
"name": "secure",
"kind": 32,
"kindString": "Variable",
@@ -9698,13 +9863,13 @@
"title": "Variables",
"kind": 32,
"children": [
+ 145,
+ 147,
+ 148,
144,
146,
- 147,
- 143,
- 145,
- 149,
- 148
+ 150,
+ 149
]
}
],
@@ -9734,14 +9899,14 @@
]
},
{
- "id": 153,
+ "id": 154,
"name": "serializeCookie",
"kind": 64,
"kindString": "Function",
"flags": {},
"signatures": [
{
- "id": 154,
+ "id": 155,
"name": "serializeCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -9751,19 +9916,19 @@
},
"parameters": [
{
- "id": 155,
+ "id": 156,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 129,
+ "id": 130,
"name": "Cookie"
}
},
{
- "id": 156,
+ "id": 157,
"name": "secure",
"kind": 32768,
"kindString": "Parameter",
@@ -9789,7 +9954,7 @@
]
},
{
- "id": 162,
+ "id": 163,
"name": "setCookie",
"kind": 64,
"kindString": "Function",
@@ -9798,7 +9963,7 @@
},
"signatures": [
{
- "id": 163,
+ "id": 164,
"name": "setCookie",
"kind": 4096,
"kindString": "Call signature",
@@ -9810,7 +9975,7 @@
},
"parameters": [
{
- "id": 164,
+ "id": 165,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -9823,7 +9988,7 @@
}
},
{
- "id": 165,
+ "id": 166,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -9836,7 +10001,7 @@
}
},
{
- "id": 166,
+ "id": 167,
"name": "cookie",
"kind": 32768,
"kindString": "Parameter",
@@ -9845,7 +10010,7 @@
},
"type": {
"type": "reference",
- "id": 129,
+ "id": 130,
"name": "Cookie"
}
}
@@ -9865,7 +10030,7 @@
]
},
{
- "id": 157,
+ "id": 158,
"name": "setCookies",
"kind": 64,
"kindString": "Function",
@@ -9874,7 +10039,7 @@
},
"signatures": [
{
- "id": 158,
+ "id": 159,
"name": "setCookies",
"kind": 4096,
"kindString": "Call signature",
@@ -9886,7 +10051,7 @@
},
"parameters": [
{
- "id": 159,
+ "id": 160,
"name": "req",
"kind": 32768,
"kindString": "Parameter",
@@ -9899,7 +10064,7 @@
}
},
{
- "id": 160,
+ "id": 161,
"name": "res",
"kind": 32768,
"kindString": "Parameter",
@@ -9912,7 +10077,7 @@
}
},
{
- "id": 161,
+ "id": 162,
"name": "cookies",
"kind": 32768,
"kindString": "Parameter",
@@ -9924,7 +10089,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 129,
+ "id": 130,
"name": "Cookie"
}
],
@@ -9952,19 +10117,19 @@
"title": "Type aliases",
"kind": 4194304,
"children": [
- 129
+ 130
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 167,
- 150,
- 137,
- 153,
- 162,
- 157
+ 168,
+ 151,
+ 138,
+ 154,
+ 163,
+ 158
]
}
],
@@ -10653,583 +10818,168 @@
"name": "options",
"kind": 32768,
"kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 2,
- "name": "FetchOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/fetch.ts",
- "line": 66,
- "character": 25
- }
- ]
- },
- {
- "id": 44,
- "name": "remove",
- "kind": 64,
- "kindString": "Function",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 45,
- "name": "remove",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 46,
- "name": "url",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 47,
- "name": "body",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 48,
- "name": "options",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "id": 2,
- "name": "FetchOptions"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "any"
- }
- ],
- "name": "Promise"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/fetch.ts",
- "line": 70,
- "character": 28
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Interfaces",
- "kind": 256,
- "children": [
- 2
- ]
- },
- {
- "title": "Type aliases",
- "kind": 4194304,
- "children": [
- 8
- ]
- },
- {
- "title": "Functions",
- "kind": 64,
- "children": [
- 9,
- 16,
- 24,
- 30,
- 12,
- 34,
- 39,
- 44
- ]
- }
- ],
- "sources": [
- {
- "fileName": "lib/fetch.ts",
- "line": 1,
- "character": 0
- }
- ]
- },
- {
- "id": 172,
- "name": "\"lib/helpers\"",
- "kind": 1,
- "kindString": "Module",
- "flags": {
- "isExported": true
- },
- "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
- "children": [
- {
- "id": 173,
- "name": "LocalStorage",
- "kind": 128,
- "kindString": "Class",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 175,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 176,
- "name": "name",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "children": [
- {
- "id": 178,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 179,
- "name": "new LocalStorage",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 180,
- "name": "localStorage",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "reference",
- "name": "Storage"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 173,
- "name": "LocalStorage"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 29,
- "character": 17
- }
- ]
- },
- {
- "id": 177,
- "name": "length",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 29,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 174,
- "name": "localStorage",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 27,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- }
- },
- {
- "id": 181,
- "name": "clear",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 182,
- "name": "clear",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 33,
- "character": 7
- }
- ]
- },
- {
- "id": 190,
- "name": "getItem",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 191,
- "name": "getItem",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 192,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
- }
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 42,
- "character": 9
- }
- ]
- },
- {
- "id": 183,
- "name": "key",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
- {
- "id": 184,
- "name": "key",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 185,
- "name": "index",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
"type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "null"
- }
- ]
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
}
}
],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 36,
- "character": 5
- }
- ]
- },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
{
- "id": 193,
- "name": "removeItem",
- "kind": 2048,
- "kindString": "Method",
+ "fileName": "lib/fetch.ts",
+ "line": 66,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 44,
+ "name": "remove",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 45,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
"flags": {
"isExported": true
},
- "signatures": [
+ "parameters": [
{
- "id": 194,
- "name": "removeItem",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 46,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
},
- "parameters": [
- {
- "id": 195,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
"type": {
"type": "intrinsic",
- "name": "void"
+ "name": "string"
}
- }
- ],
- "sources": [
- {
- "fileName": "lib/helpers.ts",
- "line": 45,
- "character": 12
- }
- ]
- },
- {
- "id": 186,
- "name": "setItem",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isExported": true
- },
- "signatures": [
+ },
{
- "id": 187,
- "name": "setItem",
- "kind": 4096,
- "kindString": "Call signature",
+ "id": 47,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
"flags": {
"isExported": true
},
- "parameters": [
- {
- "id": 188,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 189,
- "name": "value",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
"type": {
"type": "intrinsic",
- "name": "void"
+ "name": "object"
}
- }
- ],
- "sources": [
+ },
{
- "fileName": "lib/helpers.ts",
- "line": 39,
- "character": 9
+ "id": 48,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
}
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [
- 178
- ]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [
- 177,
- 174
- ]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [
- 181,
- 190,
- 183,
- 193,
- 186
- ]
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
}
],
"sources": [
{
- "fileName": "lib/helpers.ts",
- "line": 26,
- "character": 25
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "name": "Storage"
+ "fileName": "lib/fetch.ts",
+ "line": 70,
+ "character": 28
}
]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 8
+ ]
},
{
- "id": 196,
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 9,
+ 16,
+ 24,
+ 30,
+ 12,
+ 34,
+ 39,
+ 44
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 174,
"name": "expiresAt",
"kind": 64,
"kindString": "Function",
@@ -11238,7 +10988,7 @@
},
"signatures": [
{
- "id": 197,
+ "id": 175,
"name": "expiresAt",
"kind": 4096,
"kindString": "Call signature",
@@ -11247,7 +10997,7 @@
},
"parameters": [
{
- "id": 198,
+ "id": 176,
"name": "expiresIn",
"kind": 32768,
"kindString": "Parameter",
@@ -11275,7 +11025,7 @@
]
},
{
- "id": 203,
+ "id": 181,
"name": "getParameterByName",
"kind": 64,
"kindString": "Function",
@@ -11284,7 +11034,7 @@
},
"signatures": [
{
- "id": 204,
+ "id": 182,
"name": "getParameterByName",
"kind": 4096,
"kindString": "Call signature",
@@ -11293,7 +11043,7 @@
},
"parameters": [
{
- "id": 205,
+ "id": 183,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -11306,7 +11056,7 @@
}
},
{
- "id": 206,
+ "id": 184,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -11353,7 +11103,7 @@
]
},
{
- "id": 201,
+ "id": 179,
"name": "isBrowser",
"kind": 64,
"kindString": "Function",
@@ -11363,7 +11113,7 @@
},
"signatures": [
{
- "id": 202,
+ "id": 180,
"name": "isBrowser",
"kind": 4096,
"kindString": "Call signature",
@@ -11385,7 +11135,7 @@
]
},
{
- "id": 199,
+ "id": 177,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -11394,7 +11144,7 @@
},
"signatures": [
{
- "id": 200,
+ "id": 178,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -11417,21 +11167,14 @@
}
],
"groups": [
- {
- "title": "Classes",
- "kind": 128,
- "children": [
- 173
- ]
- },
{
"title": "Functions",
"kind": 64,
"children": [
- 196,
- 203,
- 201,
- 199
+ 174,
+ 181,
+ 179,
+ 177
]
}
],
@@ -11444,7 +11187,7 @@
]
},
{
- "id": 373,
+ "id": 351,
"name": "\"lib/polyfills\"",
"kind": 1,
"kindString": "Module",
@@ -11454,7 +11197,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/polyfills.ts",
"children": [
{
- "id": 374,
+ "id": 352,
"name": "polyfillGlobalThis",
"kind": 64,
"kindString": "Function",
@@ -11463,7 +11206,7 @@
},
"signatures": [
{
- "id": 375,
+ "id": 353,
"name": "polyfillGlobalThis",
"kind": 4096,
"kindString": "Call signature",
@@ -11493,7 +11236,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 374
+ 352
]
}
],
@@ -13263,7 +13006,7 @@
]
},
{
- "id": 593,
+ "id": 114,
"name": "\"lib/version\"",
"kind": 1,
"kindString": "Module",
@@ -13273,7 +13016,7 @@
"originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/version.ts",
"children": [
{
- "id": 594,
+ "id": 115,
"name": "version",
"kind": 32,
"kindString": "Variable",
@@ -13300,7 +13043,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 594
+ 115
]
}
],
@@ -13318,16 +13061,16 @@
"title": "Modules",
"kind": 1,
"children": [
- 207,
- 376,
- 583,
- 114,
- 128,
+ 185,
+ 354,
+ 570,
+ 116,
+ 129,
1,
- 172,
- 373,
+ 173,
+ 351,
49,
- 593
+ 114
]
}
]
diff --git a/web/spec/realtime.json b/web/spec/realtime.json
index b2f7db256e1..6dd7a8be4ca 100644
--- a/web/spec/realtime.json
+++ b/web/spec/realtime.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 196,
+ "id": 200,
"name": "\"RealtimeClient\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts",
"children": [
{
- "id": 197,
+ "id": 201,
"name": "RealtimeClient",
"kind": 128,
"kindString": "Class",
@@ -25,7 +25,7 @@
},
"children": [
{
- "id": 228,
+ "id": 232,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -37,7 +37,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 233,
"name": "new RealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -49,7 +49,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 234,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -65,7 +65,7 @@
}
},
{
- "id": 231,
+ "id": 235,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -75,14 +75,14 @@
},
"type": {
"type": "reference",
- "id": 303,
+ "id": 307,
"name": "Options"
}
}
],
"type": {
"type": "reference",
- "id": 197,
+ "id": 201,
"name": "RealtimeClient"
}
}
@@ -96,7 +96,7 @@
]
},
{
- "id": 198,
+ "id": 202,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -114,14 +114,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
},
"defaultValue": "[]"
},
{
- "id": 220,
+ "id": 224,
"name": "conn",
"kind": 1024,
"kindString": "Property",
@@ -151,7 +151,7 @@
"defaultValue": "null"
},
{
- "id": 218,
+ "id": 222,
"name": "decode",
"kind": 1024,
"kindString": "Property",
@@ -171,7 +171,7 @@
}
},
{
- "id": 217,
+ "id": 221,
"name": "encode",
"kind": 1024,
"kindString": "Property",
@@ -191,7 +191,7 @@
}
},
{
- "id": 199,
+ "id": 203,
"name": "endPoint",
"kind": 1024,
"kindString": "Property",
@@ -212,7 +212,7 @@
"defaultValue": "\"\""
},
{
- "id": 200,
+ "id": 204,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -237,7 +237,7 @@
{
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 205,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -246,7 +246,7 @@
},
"indexSignature": [
{
- "id": 202,
+ "id": 206,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -255,7 +255,7 @@
},
"parameters": [
{
- "id": 203,
+ "id": 207,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -281,7 +281,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 210,
+ "id": 214,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -302,7 +302,7 @@
"defaultValue": "30000"
},
{
- "id": 212,
+ "id": 216,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -341,7 +341,7 @@
"defaultValue": "undefined"
},
{
- "id": 216,
+ "id": 220,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -362,7 +362,7 @@
"defaultValue": "noop"
},
{
- "id": 211,
+ "id": 215,
"name": "longpollerTimeout",
"kind": 1024,
"kindString": "Property",
@@ -383,7 +383,7 @@
"defaultValue": "20000"
},
{
- "id": 204,
+ "id": 208,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -408,7 +408,7 @@
{
"type": "reflection",
"declaration": {
- "id": 205,
+ "id": 209,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -417,7 +417,7 @@
},
"indexSignature": [
{
- "id": 206,
+ "id": 210,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -426,7 +426,7 @@
},
"parameters": [
{
- "id": 207,
+ "id": 211,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -451,7 +451,7 @@
}
},
{
- "id": 213,
+ "id": 217,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -481,7 +481,7 @@
"defaultValue": "null"
},
{
- "id": 219,
+ "id": 223,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -501,7 +501,7 @@
}
},
{
- "id": 215,
+ "id": 219,
"name": "reconnectTimer",
"kind": 1024,
"kindString": "Property",
@@ -522,7 +522,7 @@
}
},
{
- "id": 214,
+ "id": 218,
"name": "ref",
"kind": 1024,
"kindString": "Property",
@@ -543,7 +543,7 @@
"defaultValue": "0"
},
{
- "id": 221,
+ "id": 225,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -567,7 +567,7 @@
"defaultValue": "[]"
},
{
- "id": 222,
+ "id": 226,
"name": "serializer",
"kind": 1024,
"kindString": "Property",
@@ -583,13 +583,13 @@
],
"type": {
"type": "reference",
- "id": 172,
+ "id": 176,
"name": "Serializer"
},
"defaultValue": "new Serializer()"
},
{
- "id": 208,
+ "id": 212,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -610,7 +610,7 @@
"defaultValue": "DEFAULT_TIMEOUT"
},
{
- "id": 209,
+ "id": 213,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -631,7 +631,7 @@
"defaultValue": "WebSocket"
},
{
- "id": 290,
+ "id": 294,
"name": "_appendParams",
"kind": 2048,
"kindString": "Method",
@@ -641,7 +641,7 @@
},
"signatures": [
{
- "id": 291,
+ "id": 295,
"name": "_appendParams",
"kind": 4096,
"kindString": "Call signature",
@@ -650,7 +650,7 @@
},
"parameters": [
{
- "id": 292,
+ "id": 296,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -663,7 +663,7 @@
}
},
{
- "id": 293,
+ "id": 297,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -673,7 +673,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 294,
+ "id": 298,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -682,7 +682,7 @@
},
"indexSignature": [
{
- "id": 295,
+ "id": 299,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -691,7 +691,7 @@
},
"parameters": [
{
- "id": 296,
+ "id": 300,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -713,7 +713,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 348,
"character": 44
}
]
@@ -730,13 +730,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 347,
+ "line": 348,
"character": 23
}
]
},
{
- "id": 297,
+ "id": 301,
"name": "_flushSendBuffer",
"kind": 2048,
"kindString": "Method",
@@ -746,7 +746,7 @@
},
"signatures": [
{
- "id": 298,
+ "id": 302,
"name": "_flushSendBuffer",
"kind": 4096,
"kindString": "Call signature",
@@ -762,13 +762,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 357,
+ "line": 358,
"character": 26
}
]
},
{
- "id": 282,
+ "id": 286,
"name": "_onConnClose",
"kind": 2048,
"kindString": "Method",
@@ -778,7 +778,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 287,
"name": "_onConnClose",
"kind": 4096,
"kindString": "Call signature",
@@ -787,7 +787,7 @@
},
"parameters": [
{
- "id": 284,
+ "id": 288,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -809,13 +809,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 327,
+ "line": 328,
"character": 22
}
]
},
{
- "id": 285,
+ "id": 289,
"name": "_onConnError",
"kind": 2048,
"kindString": "Method",
@@ -825,7 +825,7 @@
},
"signatures": [
{
- "id": 286,
+ "id": 290,
"name": "_onConnError",
"kind": 4096,
"kindString": "Call signature",
@@ -834,7 +834,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 291,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -856,13 +856,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 335,
+ "line": 336,
"character": 22
}
]
},
{
- "id": 280,
+ "id": 284,
"name": "_onConnOpen",
"kind": 2048,
"kindString": "Method",
@@ -872,7 +872,7 @@
},
"signatures": [
{
- "id": 281,
+ "id": 285,
"name": "_onConnOpen",
"kind": 4096,
"kindString": "Call signature",
@@ -888,13 +888,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 319,
+ "line": 320,
"character": 21
}
]
},
{
- "id": 299,
+ "id": 303,
"name": "_resetHeartbeat",
"kind": 2048,
"kindString": "Method",
@@ -904,7 +904,7 @@
},
"signatures": [
{
- "id": 300,
+ "id": 304,
"name": "_resetHeartbeat",
"kind": 4096,
"kindString": "Call signature",
@@ -920,13 +920,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 364,
+ "line": 365,
"character": 25
}
]
},
{
- "id": 301,
+ "id": 305,
"name": "_sendHeartbeat",
"kind": 2048,
"kindString": "Method",
@@ -936,7 +936,7 @@
},
"signatures": [
{
- "id": 302,
+ "id": 306,
"name": "_sendHeartbeat",
"kind": 4096,
"kindString": "Call signature",
@@ -952,13 +952,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 373,
+ "line": 374,
"character": 24
}
]
},
{
- "id": 288,
+ "id": 292,
"name": "_triggerChanError",
"kind": 2048,
"kindString": "Method",
@@ -968,7 +968,7 @@
},
"signatures": [
{
- "id": 289,
+ "id": 293,
"name": "_triggerChanError",
"kind": 4096,
"kindString": "Call signature",
@@ -984,13 +984,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 341,
+ "line": 342,
"character": 27
}
]
},
{
- "id": 265,
+ "id": 269,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -999,7 +999,7 @@
},
"signatures": [
{
- "id": 266,
+ "id": 270,
"name": "channel",
"kind": 4096,
"kindString": "Call signature",
@@ -1008,7 +1008,7 @@
},
"parameters": [
{
- "id": 267,
+ "id": 271,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -1021,7 +1021,7 @@
}
},
{
- "id": 268,
+ "id": 272,
"name": "chanParams",
"kind": 32768,
"kindString": "Parameter",
@@ -1031,7 +1031,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 269,
+ "id": 273,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1045,7 +1045,7 @@
],
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
}
@@ -1053,13 +1053,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 249,
+ "line": 250,
"character": 9
}
]
},
{
- "id": 232,
+ "id": 236,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -1068,7 +1068,7 @@
},
"signatures": [
{
- "id": 233,
+ "id": 237,
"name": "connect",
"kind": 4096,
"kindString": "Call signature",
@@ -1093,7 +1093,7 @@
]
},
{
- "id": 258,
+ "id": 262,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -1102,7 +1102,7 @@
},
"signatures": [
{
- "id": 259,
+ "id": 263,
"name": "connectionState",
"kind": 4096,
"kindString": "Call signature",
@@ -1138,13 +1138,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 218,
+ "line": 219,
"character": 17
}
]
},
{
- "id": 234,
+ "id": 238,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -1153,7 +1153,7 @@
},
"signatures": [
{
- "id": 235,
+ "id": 239,
"name": "disconnect",
"kind": 4096,
"kindString": "Call signature",
@@ -1165,7 +1165,7 @@
},
"parameters": [
{
- "id": 236,
+ "id": 240,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -1191,7 +1191,7 @@
}
},
{
- "id": 237,
+ "id": 241,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -1223,7 +1223,7 @@
{
"type": "reflection",
"declaration": {
- "id": 238,
+ "id": 242,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1232,7 +1232,7 @@
},
"children": [
{
- "id": 240,
+ "id": 244,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -1252,7 +1252,7 @@
}
},
{
- "id": 239,
+ "id": 243,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1286,8 +1286,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 240,
- 239
+ 244,
+ 243
]
}
],
@@ -1314,7 +1314,7 @@
]
},
{
- "id": 276,
+ "id": 280,
"name": "endPointURL",
"kind": 2048,
"kindString": "Method",
@@ -1323,7 +1323,7 @@
},
"signatures": [
{
- "id": 277,
+ "id": 281,
"name": "endPointURL",
"kind": 4096,
"kindString": "Call signature",
@@ -1342,13 +1342,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 298,
+ "line": 299,
"character": 13
}
]
},
{
- "id": 260,
+ "id": 264,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -1357,7 +1357,7 @@
},
"signatures": [
{
- "id": 261,
+ "id": 265,
"name": "isConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -1376,13 +1376,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 234,
+ "line": 235,
"character": 13
}
]
},
{
- "id": 241,
+ "id": 245,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -1391,7 +1391,7 @@
},
"signatures": [
{
- "id": 242,
+ "id": 246,
"name": "log",
"kind": 4096,
"kindString": "Call signature",
@@ -1403,7 +1403,7 @@
},
"parameters": [
{
- "id": 243,
+ "id": 247,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -1416,7 +1416,7 @@
}
},
{
- "id": 244,
+ "id": 248,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -1429,7 +1429,7 @@
}
},
{
- "id": 245,
+ "id": 249,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -1452,13 +1452,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 167,
+ "line": 168,
"character": 5
}
]
},
{
- "id": 278,
+ "id": 282,
"name": "makeRef",
"kind": 2048,
"kindString": "Method",
@@ -1467,7 +1467,7 @@
},
"signatures": [
{
- "id": 279,
+ "id": 283,
"name": "makeRef",
"kind": 4096,
"kindString": "Call signature",
@@ -1486,13 +1486,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 308,
+ "line": 309,
"character": 9
}
]
},
{
- "id": 249,
+ "id": 253,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
@@ -1501,7 +1501,7 @@
},
"signatures": [
{
- "id": 250,
+ "id": 254,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
@@ -1519,7 +1519,7 @@
},
"parameters": [
{
- "id": 251,
+ "id": 255,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -1544,13 +1544,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 189,
+ "line": 190,
"character": 9
}
]
},
{
- "id": 273,
+ "id": 277,
"name": "onConnMessage",
"kind": 2048,
"kindString": "Method",
@@ -1559,7 +1559,7 @@
},
"signatures": [
{
- "id": 274,
+ "id": 278,
"name": "onConnMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -1568,7 +1568,7 @@
},
"parameters": [
{
- "id": 275,
+ "id": 279,
"name": "rawMessage",
"kind": 32768,
"kindString": "Parameter",
@@ -1590,13 +1590,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 270,
+ "line": 271,
"character": 15
}
]
},
{
- "id": 252,
+ "id": 256,
"name": "onError",
"kind": 2048,
"kindString": "Method",
@@ -1605,7 +1605,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 257,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
@@ -1623,7 +1623,7 @@
},
"parameters": [
{
- "id": 254,
+ "id": 258,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -1648,13 +1648,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 200,
+ "line": 201,
"character": 9
}
]
},
{
- "id": 255,
+ "id": 259,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
@@ -1663,7 +1663,7 @@
},
"signatures": [
{
- "id": 256,
+ "id": 260,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -1681,7 +1681,7 @@
},
"parameters": [
{
- "id": 257,
+ "id": 261,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -1706,13 +1706,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 211,
+ "line": 212,
"character": 11
}
]
},
{
- "id": 246,
+ "id": 250,
"name": "onOpen",
"kind": 2048,
"kindString": "Method",
@@ -1721,7 +1721,7 @@
},
"signatures": [
{
- "id": 247,
+ "id": 251,
"name": "onOpen",
"kind": 4096,
"kindString": "Call signature",
@@ -1739,7 +1739,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 252,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -1764,13 +1764,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 178,
+ "line": 179,
"character": 8
}
]
},
{
- "id": 270,
+ "id": 274,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -1779,7 +1779,7 @@
},
"signatures": [
{
- "id": 271,
+ "id": 275,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -1788,7 +1788,7 @@
},
"parameters": [
{
- "id": 272,
+ "id": 276,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -1797,7 +1797,7 @@
},
"type": {
"type": "reference",
- "id": 321,
+ "id": 325,
"name": "Message"
}
}
@@ -1811,13 +1811,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 255,
+ "line": 256,
"character": 6
}
]
},
{
- "id": 262,
+ "id": 266,
"name": "remove",
"kind": 2048,
"kindString": "Method",
@@ -1826,7 +1826,7 @@
},
"signatures": [
{
- "id": 263,
+ "id": 267,
"name": "remove",
"kind": 4096,
"kindString": "Call signature",
@@ -1838,7 +1838,7 @@
},
"parameters": [
{
- "id": 264,
+ "id": 268,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -1850,7 +1850,7 @@
},
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
}
@@ -1864,13 +1864,13 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 243,
+ "line": 244,
"character": 8
}
]
},
{
- "id": 223,
+ "id": 227,
"name": "stateChangeCallbacks",
"kind": 2097152,
"kindString": "Object literal",
@@ -1879,7 +1879,7 @@
},
"children": [
{
- "id": 225,
+ "id": 229,
"name": "close",
"kind": 32,
"kindString": "Variable",
@@ -1903,7 +1903,7 @@
"defaultValue": "[]"
},
{
- "id": 226,
+ "id": 230,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -1927,7 +1927,7 @@
"defaultValue": "[]"
},
{
- "id": 227,
+ "id": 231,
"name": "message",
"kind": 32,
"kindString": "Variable",
@@ -1951,7 +1951,7 @@
"defaultValue": "[]"
},
{
- "id": 224,
+ "id": 228,
"name": "open",
"kind": 32,
"kindString": "Variable",
@@ -1980,10 +1980,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 225,
- 226,
- 227,
- 224
+ 229,
+ 230,
+ 231,
+ 228
]
}
],
@@ -2005,68 +2005,68 @@
"title": "Constructors",
"kind": 512,
"children": [
- 228
+ 232
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 198,
- 220,
- 218,
- 217,
- 199,
- 200,
- 210,
- 212,
- 216,
- 211,
+ 202,
+ 224,
+ 222,
+ 221,
+ 203,
204,
- 213,
- 219,
- 215,
214,
- 221,
- 222,
+ 216,
+ 220,
+ 215,
208,
- 209
+ 217,
+ 223,
+ 219,
+ 218,
+ 225,
+ 226,
+ 212,
+ 213
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 290,
- 297,
- 282,
- 285,
- 280,
- 299,
+ 294,
301,
- 288,
- 265,
- 232,
- 258,
- 234,
- 276,
- 260,
- 241,
- 278,
- 249,
- 273,
- 252,
- 255,
- 246,
- 270,
- 262
+ 286,
+ 289,
+ 284,
+ 303,
+ 305,
+ 292,
+ 269,
+ 236,
+ 262,
+ 238,
+ 280,
+ 264,
+ 245,
+ 282,
+ 253,
+ 277,
+ 256,
+ 259,
+ 250,
+ 274,
+ 266
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 223
+ 227
]
}
],
@@ -2079,7 +2079,7 @@
]
},
{
- "id": 321,
+ "id": 325,
"name": "Message",
"kind": 4194304,
"kindString": "Type alias",
@@ -2094,14 +2094,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 322,
+ "id": 326,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 324,
+ "id": 328,
"name": "event",
"kind": 32,
"kindString": "Variable",
@@ -2119,7 +2119,7 @@
}
},
{
- "id": 325,
+ "id": 329,
"name": "payload",
"kind": 32,
"kindString": "Variable",
@@ -2137,7 +2137,7 @@
}
},
{
- "id": 326,
+ "id": 330,
"name": "ref",
"kind": 32,
"kindString": "Variable",
@@ -2155,7 +2155,7 @@
}
},
{
- "id": 323,
+ "id": 327,
"name": "topic",
"kind": 32,
"kindString": "Variable",
@@ -2178,10 +2178,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 324,
- 325,
- 326,
- 323
+ 328,
+ 329,
+ 330,
+ 327
]
}
],
@@ -2196,7 +2196,7 @@
}
},
{
- "id": 303,
+ "id": 307,
"name": "Options",
"kind": 4194304,
"kindString": "Type alias",
@@ -2213,7 +2213,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 304,
+ "id": 308,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2222,7 +2222,7 @@
},
"children": [
{
- "id": 311,
+ "id": 315,
"name": "decode",
"kind": 32,
"kindString": "Variable",
@@ -2243,7 +2243,7 @@
}
},
{
- "id": 310,
+ "id": 314,
"name": "encode",
"kind": 32,
"kindString": "Variable",
@@ -2264,7 +2264,7 @@
}
},
{
- "id": 313,
+ "id": 317,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -2289,7 +2289,7 @@
{
"type": "reflection",
"declaration": {
- "id": 314,
+ "id": 318,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2298,7 +2298,7 @@
},
"indexSignature": [
{
- "id": 315,
+ "id": 319,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2307,7 +2307,7 @@
},
"parameters": [
{
- "id": 316,
+ "id": 320,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2332,7 +2332,7 @@
}
},
{
- "id": 307,
+ "id": 311,
"name": "heartbeatIntervalMs",
"kind": 32,
"kindString": "Variable",
@@ -2362,7 +2362,7 @@
}
},
{
- "id": 309,
+ "id": 313,
"name": "logger",
"kind": 32,
"kindString": "Variable",
@@ -2383,7 +2383,7 @@
}
},
{
- "id": 308,
+ "id": 312,
"name": "longpollerTimeout",
"kind": 32,
"kindString": "Variable",
@@ -2413,7 +2413,7 @@
}
},
{
- "id": 317,
+ "id": 321,
"name": "params",
"kind": 32,
"kindString": "Variable",
@@ -2438,7 +2438,7 @@
{
"type": "reflection",
"declaration": {
- "id": 318,
+ "id": 322,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2447,7 +2447,7 @@
},
"indexSignature": [
{
- "id": 319,
+ "id": 323,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -2456,7 +2456,7 @@
},
"parameters": [
{
- "id": 320,
+ "id": 324,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -2481,7 +2481,7 @@
}
},
{
- "id": 312,
+ "id": 316,
"name": "reconnectAfterMs",
"kind": 32,
"kindString": "Variable",
@@ -2502,7 +2502,7 @@
}
},
{
- "id": 306,
+ "id": 310,
"name": "timeout",
"kind": 32,
"kindString": "Variable",
@@ -2532,7 +2532,7 @@
}
},
{
- "id": 305,
+ "id": 309,
"name": "transport",
"kind": 32,
"kindString": "Variable",
@@ -2558,16 +2558,16 @@
"title": "Variables",
"kind": 32,
"children": [
+ 315,
+ 314,
+ 317,
311,
- 310,
313,
- 307,
- 309,
- 308,
- 317,
312,
- 306,
- 305
+ 321,
+ 316,
+ 310,
+ 309
]
}
],
@@ -2582,7 +2582,7 @@
}
},
{
- "id": 327,
+ "id": 331,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -2591,7 +2591,7 @@
},
"signatures": [
{
- "id": 328,
+ "id": 332,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
@@ -2616,22 +2616,22 @@
"title": "Classes",
"kind": 128,
"children": [
- 197
+ 201
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 321,
- 303
+ 325,
+ 307
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 327
+ 331
]
}
],
@@ -2644,7 +2644,7 @@
]
},
{
- "id": 92,
+ "id": 96,
"name": "\"RealtimeSubscription\"",
"kind": 1,
"kindString": "Module",
@@ -2654,7 +2654,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts",
"children": [
{
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription",
"kind": 128,
"kindString": "Class",
@@ -2663,7 +2663,7 @@
},
"children": [
{
- "id": 101,
+ "id": 105,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2672,7 +2672,7 @@
},
"signatures": [
{
- "id": 105,
+ "id": 109,
"name": "new RealtimeSubscription",
"kind": 16384,
"kindString": "Constructor signature",
@@ -2681,7 +2681,7 @@
},
"parameters": [
{
- "id": 106,
+ "id": 110,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -2694,7 +2694,7 @@
}
},
{
- "id": 107,
+ "id": 111,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -2708,7 +2708,7 @@
"defaultValue": "{}"
},
{
- "id": 108,
+ "id": 112,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
@@ -2717,14 +2717,14 @@
},
"type": {
"type": "reference",
- "id": 197,
+ "id": 201,
"name": "RealtimeClient"
}
}
],
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
}
@@ -2738,7 +2738,7 @@
]
},
{
- "id": 94,
+ "id": 98,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -2762,7 +2762,7 @@
"defaultValue": "[]"
},
{
- "id": 98,
+ "id": 102,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -2783,7 +2783,7 @@
}
},
{
- "id": 97,
+ "id": 101,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -2804,7 +2804,7 @@
"defaultValue": "false"
},
{
- "id": 103,
+ "id": 107,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -2826,7 +2826,7 @@
}
},
{
- "id": 100,
+ "id": 104,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -2851,7 +2851,7 @@
"defaultValue": "[]"
},
{
- "id": 99,
+ "id": 103,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -2872,7 +2872,7 @@
}
},
{
- "id": 104,
+ "id": 108,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -2890,12 +2890,12 @@
],
"type": {
"type": "reference",
- "id": 197,
+ "id": 201,
"name": "RealtimeClient"
}
},
{
- "id": 96,
+ "id": 100,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -2917,7 +2917,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 95,
+ "id": 99,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -2937,7 +2937,7 @@
}
},
{
- "id": 102,
+ "id": 106,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -2959,7 +2959,7 @@
}
},
{
- "id": 127,
+ "id": 131,
"name": "canPush",
"kind": 2048,
"kindString": "Method",
@@ -2968,7 +2968,7 @@
},
"signatures": [
{
- "id": 128,
+ "id": 132,
"name": "canPush",
"kind": 4096,
"kindString": "Call signature",
@@ -2990,7 +2990,7 @@
]
},
{
- "id": 161,
+ "id": 165,
"name": "isClosed",
"kind": 2048,
"kindString": "Method",
@@ -2999,7 +2999,7 @@
},
"signatures": [
{
- "id": 162,
+ "id": 166,
"name": "isClosed",
"kind": 4096,
"kindString": "Call signature",
@@ -3021,7 +3021,7 @@
]
},
{
- "id": 163,
+ "id": 167,
"name": "isErrored",
"kind": 2048,
"kindString": "Method",
@@ -3030,7 +3030,7 @@
},
"signatures": [
{
- "id": 164,
+ "id": 168,
"name": "isErrored",
"kind": 4096,
"kindString": "Call signature",
@@ -3052,7 +3052,7 @@
]
},
{
- "id": 165,
+ "id": 169,
"name": "isJoined",
"kind": 2048,
"kindString": "Method",
@@ -3061,7 +3061,7 @@
},
"signatures": [
{
- "id": 166,
+ "id": 170,
"name": "isJoined",
"kind": 4096,
"kindString": "Call signature",
@@ -3083,7 +3083,7 @@
]
},
{
- "id": 167,
+ "id": 171,
"name": "isJoining",
"kind": 2048,
"kindString": "Method",
@@ -3092,7 +3092,7 @@
},
"signatures": [
{
- "id": 168,
+ "id": 172,
"name": "isJoining",
"kind": 4096,
"kindString": "Call signature",
@@ -3114,7 +3114,7 @@
]
},
{
- "id": 169,
+ "id": 173,
"name": "isLeaving",
"kind": 2048,
"kindString": "Method",
@@ -3123,7 +3123,7 @@
},
"signatures": [
{
- "id": 170,
+ "id": 174,
"name": "isLeaving",
"kind": 4096,
"kindString": "Call signature",
@@ -3145,7 +3145,7 @@
]
},
{
- "id": 142,
+ "id": 146,
"name": "isMember",
"kind": 2048,
"kindString": "Method",
@@ -3154,7 +3154,7 @@
},
"signatures": [
{
- "id": 143,
+ "id": 147,
"name": "isMember",
"kind": 4096,
"kindString": "Call signature",
@@ -3163,7 +3163,7 @@
},
"parameters": [
{
- "id": 144,
+ "id": 148,
"name": "topic",
"kind": 32768,
"kindString": "Parameter",
@@ -3191,7 +3191,7 @@
]
},
{
- "id": 145,
+ "id": 149,
"name": "joinRef",
"kind": 2048,
"kindString": "Method",
@@ -3200,7 +3200,7 @@
},
"signatures": [
{
- "id": 146,
+ "id": 150,
"name": "joinRef",
"kind": 4096,
"kindString": "Call signature",
@@ -3222,7 +3222,7 @@
]
},
{
- "id": 124,
+ "id": 128,
"name": "off",
"kind": 2048,
"kindString": "Method",
@@ -3231,7 +3231,7 @@
},
"signatures": [
{
- "id": 125,
+ "id": 129,
"name": "off",
"kind": 4096,
"kindString": "Call signature",
@@ -3240,7 +3240,7 @@
},
"parameters": [
{
- "id": 126,
+ "id": 130,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -3268,7 +3268,7 @@
]
},
{
- "id": 120,
+ "id": 124,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -3277,7 +3277,7 @@
},
"signatures": [
{
- "id": 121,
+ "id": 125,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -3286,7 +3286,7 @@
},
"parameters": [
{
- "id": 122,
+ "id": 126,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -3299,7 +3299,7 @@
}
},
{
- "id": 123,
+ "id": 127,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -3327,7 +3327,7 @@
]
},
{
- "id": 114,
+ "id": 118,
"name": "onClose",
"kind": 2048,
"kindString": "Method",
@@ -3336,7 +3336,7 @@
},
"signatures": [
{
- "id": 115,
+ "id": 119,
"name": "onClose",
"kind": 4096,
"kindString": "Call signature",
@@ -3345,7 +3345,7 @@
},
"parameters": [
{
- "id": 116,
+ "id": 120,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -3373,7 +3373,7 @@
]
},
{
- "id": 117,
+ "id": 121,
"name": "onError",
"kind": 2048,
"kindString": "Method",
@@ -3382,7 +3382,7 @@
},
"signatures": [
{
- "id": 118,
+ "id": 122,
"name": "onError",
"kind": 4096,
"kindString": "Call signature",
@@ -3391,7 +3391,7 @@
},
"parameters": [
{
- "id": 119,
+ "id": 123,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -3419,7 +3419,7 @@
]
},
{
- "id": 137,
+ "id": 141,
"name": "onMessage",
"kind": 2048,
"kindString": "Method",
@@ -3428,7 +3428,7 @@
},
"signatures": [
{
- "id": 138,
+ "id": 142,
"name": "onMessage",
"kind": 4096,
"kindString": "Call signature",
@@ -3441,7 +3441,7 @@
},
"parameters": [
{
- "id": 139,
+ "id": 143,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -3454,7 +3454,7 @@
}
},
{
- "id": 140,
+ "id": 144,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -3467,7 +3467,7 @@
}
},
{
- "id": 141,
+ "id": 145,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -3505,7 +3505,7 @@
]
},
{
- "id": 129,
+ "id": 133,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -3514,7 +3514,7 @@
},
"signatures": [
{
- "id": 130,
+ "id": 134,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
@@ -3523,7 +3523,7 @@
},
"parameters": [
{
- "id": 131,
+ "id": 135,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -3537,7 +3537,7 @@
}
},
{
- "id": 132,
+ "id": 136,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -3550,7 +3550,7 @@
}
},
{
- "id": 133,
+ "id": 137,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -3580,7 +3580,7 @@
]
},
{
- "id": 150,
+ "id": 154,
"name": "rejoin",
"kind": 2048,
"kindString": "Method",
@@ -3589,7 +3589,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 155,
"name": "rejoin",
"kind": 4096,
"kindString": "Call signature",
@@ -3598,7 +3598,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 156,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -3627,7 +3627,7 @@
]
},
{
- "id": 109,
+ "id": 113,
"name": "rejoinUntilConnected",
"kind": 2048,
"kindString": "Method",
@@ -3636,7 +3636,7 @@
},
"signatures": [
{
- "id": 110,
+ "id": 114,
"name": "rejoinUntilConnected",
"kind": 4096,
"kindString": "Call signature",
@@ -3658,7 +3658,7 @@
]
},
{
- "id": 158,
+ "id": 162,
"name": "replyEventName",
"kind": 2048,
"kindString": "Method",
@@ -3667,7 +3667,7 @@
},
"signatures": [
{
- "id": 159,
+ "id": 163,
"name": "replyEventName",
"kind": 4096,
"kindString": "Call signature",
@@ -3676,7 +3676,7 @@
},
"parameters": [
{
- "id": 160,
+ "id": 164,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -3704,7 +3704,7 @@
]
},
{
- "id": 147,
+ "id": 151,
"name": "sendJoin",
"kind": 2048,
"kindString": "Method",
@@ -3713,7 +3713,7 @@
},
"signatures": [
{
- "id": 148,
+ "id": 152,
"name": "sendJoin",
"kind": 4096,
"kindString": "Call signature",
@@ -3722,7 +3722,7 @@
},
"parameters": [
{
- "id": 149,
+ "id": 153,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -3750,7 +3750,7 @@
]
},
{
- "id": 111,
+ "id": 115,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -3759,7 +3759,7 @@
},
"signatures": [
{
- "id": 112,
+ "id": 116,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -3768,7 +3768,7 @@
},
"parameters": [
{
- "id": 113,
+ "id": 117,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -3798,7 +3798,7 @@
]
},
{
- "id": 153,
+ "id": 157,
"name": "trigger",
"kind": 2048,
"kindString": "Method",
@@ -3807,7 +3807,7 @@
},
"signatures": [
{
- "id": 154,
+ "id": 158,
"name": "trigger",
"kind": 4096,
"kindString": "Call signature",
@@ -3816,7 +3816,7 @@
},
"parameters": [
{
- "id": 155,
+ "id": 159,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -3829,7 +3829,7 @@
}
},
{
- "id": 156,
+ "id": 160,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -3843,7 +3843,7 @@
}
},
{
- "id": 157,
+ "id": 161,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
@@ -3881,7 +3881,7 @@
]
},
{
- "id": 134,
+ "id": 138,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -3890,7 +3890,7 @@
},
"signatures": [
{
- "id": 135,
+ "id": 139,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -3903,7 +3903,7 @@
},
"parameters": [
{
- "id": 136,
+ "id": 140,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -3938,50 +3938,50 @@
"title": "Constructors",
"kind": 512,
"children": [
- 101
+ 105
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 94,
98,
- 97,
+ 102,
+ 101,
+ 107,
+ 104,
103,
+ 108,
100,
99,
- 104,
- 96,
- 95,
- 102
+ 106
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 127,
- 161,
- 163,
+ 131,
165,
167,
169,
- 142,
- 145,
+ 171,
+ 173,
+ 146,
+ 149,
+ 128,
124,
- 120,
- 114,
- 117,
- 137,
- 129,
- 150,
- 109,
- 158,
- 147,
- 111,
- 153,
- 134
+ 118,
+ 121,
+ 141,
+ 133,
+ 154,
+ 113,
+ 162,
+ 151,
+ 115,
+ 157,
+ 138
]
}
],
@@ -3999,7 +3999,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 93
+ 97
]
}
],
@@ -4012,7 +4012,7 @@
]
},
{
- "id": 415,
+ "id": 419,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -4624,7 +4624,7 @@
},
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
},
@@ -4716,7 +4716,7 @@
],
"type": {
"type": "reference",
- "id": 93,
+ "id": 97,
"name": "RealtimeSubscription"
}
},
@@ -5086,7 +5086,7 @@
"defaultValue": "undefined"
},
{
- "id": 79,
+ "id": 83,
"name": "_cancelRefEvent",
"kind": 2048,
"kindString": "Method",
@@ -5096,7 +5096,7 @@
},
"signatures": [
{
- "id": 80,
+ "id": 84,
"name": "_cancelRefEvent",
"kind": 4096,
"kindString": "Call signature",
@@ -5118,7 +5118,7 @@
]
},
{
- "id": 81,
+ "id": 85,
"name": "_cancelTimeout",
"kind": 2048,
"kindString": "Method",
@@ -5128,7 +5128,7 @@
},
"signatures": [
{
- "id": 82,
+ "id": 86,
"name": "_cancelTimeout",
"kind": 4096,
"kindString": "Call signature",
@@ -5150,7 +5150,7 @@
]
},
{
- "id": 89,
+ "id": 93,
"name": "_hasReceived",
"kind": 2048,
"kindString": "Method",
@@ -5160,7 +5160,7 @@
},
"signatures": [
{
- "id": 90,
+ "id": 94,
"name": "_hasReceived",
"kind": 4096,
"kindString": "Call signature",
@@ -5169,7 +5169,7 @@
},
"parameters": [
{
- "id": 91,
+ "id": 95,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -5210,7 +5210,7 @@
]
},
{
- "id": 83,
+ "id": 87,
"name": "_matchReceive",
"kind": 2048,
"kindString": "Method",
@@ -5220,7 +5220,7 @@
},
"signatures": [
{
- "id": 84,
+ "id": 88,
"name": "_matchReceive",
"kind": 4096,
"kindString": "Call signature",
@@ -5229,7 +5229,7 @@
},
"parameters": [
{
- "id": 85,
+ "id": 89,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5240,7 +5240,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 86,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5249,7 +5249,7 @@
},
"children": [
{
- "id": 88,
+ "id": 92,
"name": "response",
"kind": 32,
"kindString": "Variable",
@@ -5269,7 +5269,7 @@
}
},
{
- "id": 87,
+ "id": 91,
"name": "status",
"kind": 32,
"kindString": "Variable",
@@ -5294,8 +5294,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 88,
- 87
+ 92,
+ 91
]
}
],
@@ -5325,7 +5325,7 @@
]
},
{
- "id": 77,
+ "id": 81,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
@@ -5334,7 +5334,7 @@
},
"signatures": [
{
- "id": 78,
+ "id": 82,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
@@ -5356,7 +5356,7 @@
]
},
{
- "id": 67,
+ "id": 71,
"name": "receive",
"kind": 2048,
"kindString": "Method",
@@ -5610,14 +5610,11 @@
"title": "Methods",
"kind": 2048,
"children": [
- 79,
- 81,
- 89,
83,
- 77,
- 67,
- 62,
- 65,
+ 85,
+ 93,
+ 87,
+ 81,
71,
66,
69,
@@ -5653,7 +5650,7 @@
]
},
{
- "id": 171,
+ "id": 175,
"name": "\"lib/serializer\"",
"kind": 1,
"kindString": "Module",
@@ -5663,7 +5660,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/serializer.ts",
"children": [
{
- "id": 172,
+ "id": 176,
"name": "Serializer",
"kind": 128,
"kindString": "Class",
@@ -5672,7 +5669,7 @@
},
"children": [
{
- "id": 173,
+ "id": 177,
"name": "HEADER_LENGTH",
"kind": 1024,
"kindString": "Property",
@@ -5693,7 +5690,7 @@
"defaultValue": "1"
},
{
- "id": 178,
+ "id": 182,
"name": "_binaryDecode",
"kind": 2048,
"kindString": "Method",
@@ -5703,7 +5700,7 @@
},
"signatures": [
{
- "id": 179,
+ "id": 183,
"name": "_binaryDecode",
"kind": 4096,
"kindString": "Call signature",
@@ -5712,7 +5709,7 @@
},
"parameters": [
{
- "id": 180,
+ "id": 184,
"name": "buffer",
"kind": 32768,
"kindString": "Parameter",
@@ -5728,7 +5725,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 181,
+ "id": 185,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5737,7 +5734,7 @@
},
"children": [
{
- "id": 184,
+ "id": 188,
"name": "event",
"kind": 32,
"kindString": "Variable",
@@ -5757,7 +5754,7 @@
}
},
{
- "id": 185,
+ "id": 189,
"name": "payload",
"kind": 32,
"kindString": "Variable",
@@ -5777,7 +5774,7 @@
}
},
{
- "id": 182,
+ "id": 186,
"name": "ref",
"kind": 32,
"kindString": "Variable",
@@ -5797,7 +5794,7 @@
}
},
{
- "id": 183,
+ "id": 187,
"name": "topic",
"kind": 32,
"kindString": "Variable",
@@ -5822,10 +5819,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 184,
- 185,
- 182,
- 183
+ 188,
+ 189,
+ 186,
+ 187
]
}
]
@@ -5842,7 +5839,7 @@
]
},
{
- "id": 186,
+ "id": 190,
"name": "_decodeBroadcast",
"kind": 2048,
"kindString": "Method",
@@ -5852,7 +5849,7 @@
},
"signatures": [
{
- "id": 187,
+ "id": 191,
"name": "_decodeBroadcast",
"kind": 4096,
"kindString": "Call signature",
@@ -5861,7 +5858,7 @@
},
"parameters": [
{
- "id": 188,
+ "id": 192,
"name": "buffer",
"kind": 32768,
"kindString": "Parameter",
@@ -5874,7 +5871,7 @@
}
},
{
- "id": 189,
+ "id": 193,
"name": "view",
"kind": 32768,
"kindString": "Parameter",
@@ -5887,7 +5884,7 @@
}
},
{
- "id": 190,
+ "id": 194,
"name": "decoder",
"kind": 32768,
"kindString": "Parameter",
@@ -5903,7 +5900,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 191,
+ "id": 195,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5912,7 +5909,7 @@
},
"children": [
{
- "id": 194,
+ "id": 198,
"name": "event",
"kind": 32,
"kindString": "Variable",
@@ -5932,7 +5929,7 @@
}
},
{
- "id": 195,
+ "id": 199,
"name": "payload",
"kind": 32,
"kindString": "Variable",
@@ -5952,7 +5949,7 @@
}
},
{
- "id": 192,
+ "id": 196,
"name": "ref",
"kind": 32,
"kindString": "Variable",
@@ -5972,7 +5969,7 @@
}
},
{
- "id": 193,
+ "id": 197,
"name": "topic",
"kind": 32,
"kindString": "Variable",
@@ -5997,10 +5994,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 194,
- 195,
- 192,
- 193
+ 198,
+ 199,
+ 196,
+ 197
]
}
],
@@ -6024,7 +6021,7 @@
]
},
{
- "id": 174,
+ "id": 178,
"name": "decode",
"kind": 2048,
"kindString": "Method",
@@ -6033,7 +6030,7 @@
},
"signatures": [
{
- "id": 175,
+ "id": 179,
"name": "decode",
"kind": 4096,
"kindString": "Call signature",
@@ -6042,7 +6039,7 @@
},
"parameters": [
{
- "id": 176,
+ "id": 180,
"name": "rawPayload",
"kind": 32768,
"kindString": "Parameter",
@@ -6064,7 +6061,7 @@
}
},
{
- "id": 177,
+ "id": 181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -6097,16 +6094,16 @@
"title": "Properties",
"kind": 1024,
"children": [
- 173
+ 177
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 178,
- 186,
- 174
+ 182,
+ 190,
+ 178
]
}
],
@@ -6124,7 +6121,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 172
+ 176
]
}
],
@@ -6436,7 +6433,7 @@
]
},
{
- "id": 329,
+ "id": 333,
"name": "\"lib/transformers\"",
"kind": 1,
"kindString": "Module",
@@ -6446,7 +6443,7 @@
"originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts",
"children": [
{
- "id": 330,
+ "id": 334,
"name": "PostgresTypes",
"kind": 4,
"kindString": "Enumeration",
@@ -6458,7 +6455,7 @@
},
"children": [
{
- "id": 331,
+ "id": 335,
"name": "abstime",
"kind": 16,
"kindString": "Enumeration member",
@@ -6475,7 +6472,7 @@
"defaultValue": "\"abstime\""
},
{
- "id": 332,
+ "id": 336,
"name": "bool",
"kind": 16,
"kindString": "Enumeration member",
@@ -6492,7 +6489,7 @@
"defaultValue": "\"bool\""
},
{
- "id": 333,
+ "id": 337,
"name": "date",
"kind": 16,
"kindString": "Enumeration member",
@@ -6509,7 +6506,7 @@
"defaultValue": "\"date\""
},
{
- "id": 334,
+ "id": 338,
"name": "daterange",
"kind": 16,
"kindString": "Enumeration member",
@@ -6526,7 +6523,7 @@
"defaultValue": "\"daterange\""
},
{
- "id": 335,
+ "id": 339,
"name": "float4",
"kind": 16,
"kindString": "Enumeration member",
@@ -6543,7 +6540,7 @@
"defaultValue": "\"float4\""
},
{
- "id": 336,
+ "id": 340,
"name": "float8",
"kind": 16,
"kindString": "Enumeration member",
@@ -6560,7 +6557,7 @@
"defaultValue": "\"float8\""
},
{
- "id": 337,
+ "id": 341,
"name": "int2",
"kind": 16,
"kindString": "Enumeration member",
@@ -6577,7 +6574,7 @@
"defaultValue": "\"int2\""
},
{
- "id": 338,
+ "id": 342,
"name": "int4",
"kind": 16,
"kindString": "Enumeration member",
@@ -6594,7 +6591,7 @@
"defaultValue": "\"int4\""
},
{
- "id": 339,
+ "id": 343,
"name": "int4range",
"kind": 16,
"kindString": "Enumeration member",
@@ -6611,7 +6608,7 @@
"defaultValue": "\"int4range\""
},
{
- "id": 340,
+ "id": 344,
"name": "int8",
"kind": 16,
"kindString": "Enumeration member",
@@ -6628,7 +6625,7 @@
"defaultValue": "\"int8\""
},
{
- "id": 341,
+ "id": 345,
"name": "int8range",
"kind": 16,
"kindString": "Enumeration member",
@@ -6645,7 +6642,7 @@
"defaultValue": "\"int8range\""
},
{
- "id": 342,
+ "id": 346,
"name": "json",
"kind": 16,
"kindString": "Enumeration member",
@@ -6662,7 +6659,7 @@
"defaultValue": "\"json\""
},
{
- "id": 343,
+ "id": 347,
"name": "jsonb",
"kind": 16,
"kindString": "Enumeration member",
@@ -6679,7 +6676,7 @@
"defaultValue": "\"jsonb\""
},
{
- "id": 344,
+ "id": 348,
"name": "money",
"kind": 16,
"kindString": "Enumeration member",
@@ -6696,7 +6693,7 @@
"defaultValue": "\"money\""
},
{
- "id": 345,
+ "id": 349,
"name": "numeric",
"kind": 16,
"kindString": "Enumeration member",
@@ -6713,7 +6710,7 @@
"defaultValue": "\"numeric\""
},
{
- "id": 346,
+ "id": 350,
"name": "oid",
"kind": 16,
"kindString": "Enumeration member",
@@ -6730,7 +6727,7 @@
"defaultValue": "\"oid\""
},
{
- "id": 347,
+ "id": 351,
"name": "reltime",
"kind": 16,
"kindString": "Enumeration member",
@@ -6747,7 +6744,7 @@
"defaultValue": "\"reltime\""
},
{
- "id": 348,
+ "id": 352,
"name": "time",
"kind": 16,
"kindString": "Enumeration member",
@@ -6764,7 +6761,7 @@
"defaultValue": "\"time\""
},
{
- "id": 349,
+ "id": 353,
"name": "timestamp",
"kind": 16,
"kindString": "Enumeration member",
@@ -6781,7 +6778,7 @@
"defaultValue": "\"timestamp\""
},
{
- "id": 350,
+ "id": 354,
"name": "timestamptz",
"kind": 16,
"kindString": "Enumeration member",
@@ -6798,7 +6795,7 @@
"defaultValue": "\"timestamptz\""
},
{
- "id": 351,
+ "id": 355,
"name": "timetz",
"kind": 16,
"kindString": "Enumeration member",
@@ -6815,7 +6812,7 @@
"defaultValue": "\"timetz\""
},
{
- "id": 352,
+ "id": 356,
"name": "tsrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -6832,7 +6829,7 @@
"defaultValue": "\"tsrange\""
},
{
- "id": 353,
+ "id": 357,
"name": "tstzrange",
"kind": 16,
"kindString": "Enumeration member",
@@ -6854,10 +6851,6 @@
"title": "Enumeration members",
"kind": 16,
"children": [
- 331,
- 332,
- 333,
- 334,
335,
336,
337,
@@ -6876,7 +6869,11 @@
350,
351,
352,
- 353
+ 353,
+ 354,
+ 355,
+ 356,
+ 357
]
}
],
@@ -6889,7 +6886,7 @@
]
},
{
- "id": 354,
+ "id": 358,
"name": "Column",
"kind": 4194304,
"kindString": "Type alias",
@@ -6904,14 +6901,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 355,
+ "id": 359,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 356,
+ "id": 360,
"name": "flags",
"kind": 32,
"kindString": "Variable",
@@ -6932,7 +6929,7 @@
}
},
{
- "id": 357,
+ "id": 361,
"name": "name",
"kind": 32,
"kindString": "Variable",
@@ -6950,7 +6947,7 @@
}
},
{
- "id": 358,
+ "id": 362,
"name": "type",
"kind": 32,
"kindString": "Variable",
@@ -6968,7 +6965,7 @@
}
},
{
- "id": 359,
+ "id": 363,
"name": "type_modifier",
"kind": 32,
"kindString": "Variable",
@@ -6991,10 +6988,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 356,
- 357,
- 358,
- 359
+ 360,
+ 361,
+ 362,
+ 363
]
}
],
@@ -7009,7 +7006,7 @@
}
},
{
- "id": 360,
+ "id": 364,
"name": "Records",
"kind": 4194304,
"kindString": "Type alias",
@@ -7024,21 +7021,21 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 361,
+ "id": 365,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": [
{
- "id": 362,
+ "id": 366,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 363,
+ "id": 367,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -7066,7 +7063,7 @@
}
},
{
- "id": 380,
+ "id": 384,
"name": "convertCell",
"kind": 64,
"kindString": "Function",
@@ -7093,7 +7090,7 @@
},
"signatures": [
{
- "id": 381,
+ "id": 385,
"name": "convertCell",
"kind": 4096,
"kindString": "Call signature",
@@ -7119,7 +7116,7 @@
},
"parameters": [
{
- "id": 382,
+ "id": 386,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -7135,7 +7132,7 @@
}
},
{
- "id": 383,
+ "id": 387,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7166,7 +7163,7 @@
]
},
{
- "id": 364,
+ "id": 368,
"name": "convertChangeData",
"kind": 64,
"kindString": "Function",
@@ -7185,7 +7182,7 @@
},
"signatures": [
{
- "id": 365,
+ "id": 369,
"name": "convertChangeData",
"kind": 4096,
"kindString": "Call signature",
@@ -7203,7 +7200,7 @@
},
"parameters": [
{
- "id": 366,
+ "id": 370,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -7214,13 +7211,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 354,
+ "id": 358,
"name": "Column"
}
}
},
{
- "id": 367,
+ "id": 371,
"name": "records",
"kind": 32768,
"kindString": "Parameter",
@@ -7230,12 +7227,12 @@
"comment": {},
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "Records"
}
},
{
- "id": 368,
+ "id": 372,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -7248,7 +7245,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 369,
+ "id": 373,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7257,7 +7254,7 @@
},
"children": [
{
- "id": 370,
+ "id": 374,
"name": "skipTypes",
"kind": 32,
"kindString": "Variable",
@@ -7286,7 +7283,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 370
+ 374
]
}
],
@@ -7305,7 +7302,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 371,
+ "id": 375,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7314,7 +7311,7 @@
},
"indexSignature": [
{
- "id": 372,
+ "id": 376,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -7323,7 +7320,7 @@
},
"parameters": [
{
- "id": 373,
+ "id": 377,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -7355,7 +7352,7 @@
]
},
{
- "id": 374,
+ "id": 378,
"name": "convertColumn",
"kind": 64,
"kindString": "Function",
@@ -7379,7 +7376,7 @@
},
"signatures": [
{
- "id": 375,
+ "id": 379,
"name": "convertColumn",
"kind": 4096,
"kindString": "Call signature",
@@ -7402,7 +7399,7 @@
},
"parameters": [
{
- "id": 376,
+ "id": 380,
"name": "columnName",
"kind": 32768,
"kindString": "Parameter",
@@ -7418,7 +7415,7 @@
}
},
{
- "id": 377,
+ "id": 381,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -7429,13 +7426,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 354,
+ "id": 358,
"name": "Column"
}
}
},
{
- "id": 378,
+ "id": 382,
"name": "records",
"kind": 32768,
"kindString": "Parameter",
@@ -7447,12 +7444,12 @@
},
"type": {
"type": "reference",
- "id": 360,
+ "id": 364,
"name": "Records"
}
},
{
- "id": 379,
+ "id": 383,
"name": "skipTypes",
"kind": 32768,
"kindString": "Parameter",
@@ -7486,7 +7483,7 @@
]
},
{
- "id": 384,
+ "id": 388,
"name": "noop",
"kind": 64,
"kindString": "Function",
@@ -7495,14 +7492,14 @@
},
"signatures": [
{
- "id": 385,
+ "id": 389,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 386,
+ "id": 390,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7528,7 +7525,7 @@
]
},
{
- "id": 408,
+ "id": 412,
"name": "toArray",
"kind": 64,
"kindString": "Function",
@@ -7551,7 +7548,7 @@
},
"signatures": [
{
- "id": 409,
+ "id": 413,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
@@ -7573,7 +7570,7 @@
},
"parameters": [
{
- "id": 410,
+ "id": 414,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7586,7 +7583,7 @@
}
},
{
- "id": 411,
+ "id": 415,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -7617,7 +7614,7 @@
]
},
{
- "id": 387,
+ "id": 391,
"name": "toBoolean",
"kind": 64,
"kindString": "Function",
@@ -7627,7 +7624,7 @@
},
"signatures": [
{
- "id": 388,
+ "id": 392,
"name": "toBoolean",
"kind": 4096,
"kindString": "Call signature",
@@ -7636,7 +7633,7 @@
},
"parameters": [
{
- "id": 389,
+ "id": 393,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7677,7 +7674,7 @@
]
},
{
- "id": 390,
+ "id": 394,
"name": "toDate",
"kind": 64,
"kindString": "Function",
@@ -7687,7 +7684,7 @@
},
"signatures": [
{
- "id": 391,
+ "id": 395,
"name": "toDate",
"kind": 4096,
"kindString": "Call signature",
@@ -7696,7 +7693,7 @@
},
"parameters": [
{
- "id": 392,
+ "id": 396,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7724,7 +7721,7 @@
]
},
{
- "id": 393,
+ "id": 397,
"name": "toDateRange",
"kind": 64,
"kindString": "Function",
@@ -7734,7 +7731,7 @@
},
"signatures": [
{
- "id": 394,
+ "id": 398,
"name": "toDateRange",
"kind": 4096,
"kindString": "Call signature",
@@ -7743,7 +7740,7 @@
},
"parameters": [
{
- "id": 395,
+ "id": 399,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7774,7 +7771,7 @@
]
},
{
- "id": 396,
+ "id": 400,
"name": "toFloat",
"kind": 64,
"kindString": "Function",
@@ -7784,7 +7781,7 @@
},
"signatures": [
{
- "id": 397,
+ "id": 401,
"name": "toFloat",
"kind": 4096,
"kindString": "Call signature",
@@ -7793,7 +7790,7 @@
},
"parameters": [
{
- "id": 398,
+ "id": 402,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7821,7 +7818,7 @@
]
},
{
- "id": 399,
+ "id": 403,
"name": "toInt",
"kind": 64,
"kindString": "Function",
@@ -7831,7 +7828,7 @@
},
"signatures": [
{
- "id": 400,
+ "id": 404,
"name": "toInt",
"kind": 4096,
"kindString": "Call signature",
@@ -7840,7 +7837,7 @@
},
"parameters": [
{
- "id": 401,
+ "id": 405,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7868,7 +7865,7 @@
]
},
{
- "id": 402,
+ "id": 406,
"name": "toIntRange",
"kind": 64,
"kindString": "Function",
@@ -7878,7 +7875,7 @@
},
"signatures": [
{
- "id": 403,
+ "id": 407,
"name": "toIntRange",
"kind": 4096,
"kindString": "Call signature",
@@ -7887,7 +7884,7 @@
},
"parameters": [
{
- "id": 404,
+ "id": 408,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7918,7 +7915,7 @@
]
},
{
- "id": 405,
+ "id": 409,
"name": "toJson",
"kind": 64,
"kindString": "Function",
@@ -7928,7 +7925,7 @@
},
"signatures": [
{
- "id": 406,
+ "id": 410,
"name": "toJson",
"kind": 4096,
"kindString": "Call signature",
@@ -7937,7 +7934,7 @@
},
"parameters": [
{
- "id": 407,
+ "id": 411,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -7965,7 +7962,7 @@
]
},
{
- "id": 412,
+ "id": 416,
"name": "toTimestampString",
"kind": 64,
"kindString": "Function",
@@ -7984,7 +7981,7 @@
},
"signatures": [
{
- "id": 413,
+ "id": 417,
"name": "toTimestampString",
"kind": 4096,
"kindString": "Call signature",
@@ -8002,7 +7999,7 @@
},
"parameters": [
{
- "id": 414,
+ "id": 418,
"name": "stringValue",
"kind": 32768,
"kindString": "Parameter",
@@ -8035,34 +8032,34 @@
"title": "Enumerations",
"kind": 4,
"children": [
- 330
+ 334
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 354,
- 360
+ 358,
+ 364
]
},
{
"title": "Functions",
"kind": 64,
"children": [
- 380,
- 364,
- 374,
384,
- 408,
- 387,
- 390,
- 393,
- 396,
- 399,
- 402,
- 405,
- 412
+ 368,
+ 378,
+ 388,
+ 412,
+ 391,
+ 394,
+ 397,
+ 400,
+ 403,
+ 406,
+ 409,
+ 416
]
}
],
@@ -8130,14 +8127,15 @@
"title": "Modules",
"kind": 1,
"children": [
- 196,
- 92,
- 415,
- 1,
- 38,
- 171,
- 24,
- 329
+ 200,
+ 96,
+ 419,
+ 3,
+ 42,
+ 175,
+ 28,
+ 333,
+ 1
]
}
]
diff --git a/web/spec/supabase.json b/web/spec/supabase.json
index 73f5e715ee7..7c73d87c4cb 100644
--- a/web/spec/supabase.json
+++ b/web/spec/supabase.json
@@ -6,7 +6,7 @@
"originalName": "",
"children": [
{
- "id": 264,
+ "id": 279,
"name": "\"SupabaseClient\"",
"kind": 1,
"kindString": "Module",
@@ -16,7 +16,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/SupabaseClient.ts",
"children": [
{
- "id": 265,
+ "id": 280,
"name": "SupabaseClient",
"kind": 128,
"kindString": "Class",
@@ -29,7 +29,7 @@
},
"children": [
{
- "id": 273,
+ "id": 288,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -41,7 +41,7 @@
},
"signatures": [
{
- "id": 276,
+ "id": 291,
"name": "new SupabaseClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -53,7 +53,7 @@
},
"parameters": [
{
- "id": 277,
+ "id": 292,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -69,7 +69,7 @@
}
},
{
- "id": 278,
+ "id": 293,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -85,7 +85,7 @@
}
},
{
- "id": 279,
+ "id": 294,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -95,14 +95,14 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 30,
"name": "SupabaseClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 265,
+ "id": 280,
"name": "SupabaseClient"
}
}
@@ -110,13 +110,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 34,
+ "line": 33,
"character": 36
}
]
},
{
- "id": 266,
+ "id": 281,
"name": "auth",
"kind": 1024,
"kindString": "Property",
@@ -129,18 +129,18 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 27,
+ "line": 26,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient"
}
},
{
- "id": 270,
+ "id": 285,
"name": "authUrl",
"kind": 1024,
"kindString": "Property",
@@ -151,7 +151,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 32,
+ "line": 31,
"character": 19
}
],
@@ -161,7 +161,7 @@
}
},
{
- "id": 272,
+ "id": 287,
"name": "realtime",
"kind": 1024,
"kindString": "Property",
@@ -172,7 +172,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 34,
+ "line": 33,
"character": 20
}
],
@@ -182,7 +182,7 @@
}
},
{
- "id": 269,
+ "id": 284,
"name": "realtimeUrl",
"kind": 1024,
"kindString": "Property",
@@ -193,7 +193,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 31,
+ "line": 30,
"character": 23
}
],
@@ -203,7 +203,7 @@
}
},
{
- "id": 268,
+ "id": 283,
"name": "restUrl",
"kind": 1024,
"kindString": "Property",
@@ -214,7 +214,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 30,
+ "line": 29,
"character": 19
}
],
@@ -224,7 +224,7 @@
}
},
{
- "id": 267,
+ "id": 282,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -235,7 +235,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 29,
+ "line": 28,
"character": 18
}
],
@@ -245,7 +245,7 @@
}
},
{
- "id": 271,
+ "id": 286,
"name": "storageUrl",
"kind": 1024,
"kindString": "Property",
@@ -256,7 +256,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 33,
+ "line": 32,
"character": 22
}
],
@@ -266,7 +266,7 @@
}
},
{
- "id": 275,
+ "id": 290,
"name": "supabaseKey",
"kind": 1024,
"kindString": "Property",
@@ -281,7 +281,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 49,
+ "line": 48,
"character": 25
}
],
@@ -291,7 +291,7 @@
}
},
{
- "id": 274,
+ "id": 289,
"name": "supabaseUrl",
"kind": 1024,
"kindString": "Property",
@@ -306,7 +306,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 48,
+ "line": 47,
"character": 25
}
],
@@ -316,7 +316,7 @@
}
},
{
- "id": 280,
+ "id": 295,
"name": "storage",
"kind": 262144,
"kindString": "Accessor",
@@ -328,7 +328,7 @@
},
"getSignature": [
{
- "id": 281,
+ "id": 296,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
@@ -347,13 +347,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 74,
+ "line": 73,
"character": 13
}
]
},
{
- "id": 320,
+ "id": 339,
"name": "_closeChannel",
"kind": 2048,
"kindString": "Method",
@@ -363,7 +363,7 @@
},
"signatures": [
{
- "id": 321,
+ "id": 340,
"name": "_closeChannel",
"kind": 4096,
"kindString": "Call signature",
@@ -372,7 +372,7 @@
},
"parameters": [
{
- "id": 322,
+ "id": 341,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -400,13 +400,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 186,
+ "line": 187,
"character": 23
}
]
},
{
- "id": 297,
+ "id": 312,
"name": "_closeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -416,7 +416,7 @@
},
"signatures": [
{
- "id": 298,
+ "id": 313,
"name": "_closeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -425,7 +425,7 @@
},
"parameters": [
{
- "id": 299,
+ "id": 314,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -453,13 +453,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 132,
+ "line": 131,
"character": 34
}
]
},
{
- "id": 315,
+ "id": 334,
"name": "_getAuthHeaders",
"kind": 2048,
"kindString": "Method",
@@ -469,7 +469,7 @@
},
"signatures": [
{
- "id": 316,
+ "id": 335,
"name": "_getAuthHeaders",
"kind": 4096,
"kindString": "Call signature",
@@ -479,7 +479,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 317,
+ "id": 336,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -488,7 +488,7 @@
},
"indexSignature": [
{
- "id": 318,
+ "id": 337,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -497,7 +497,7 @@
},
"parameters": [
{
- "id": 319,
+ "id": 338,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -519,7 +519,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 179,
"character": 28
}
]
@@ -530,13 +530,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 178,
+ "line": 179,
"character": 25
}
]
},
{
- "id": 313,
+ "id": 332,
"name": "_initPostgRESTClient",
"kind": 2048,
"kindString": "Method",
@@ -546,7 +546,7 @@
},
"signatures": [
{
- "id": 314,
+ "id": 333,
"name": "_initPostgRESTClient",
"kind": 4096,
"kindString": "Call signature",
@@ -562,13 +562,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 171,
+ "line": 172,
"character": 30
}
]
},
{
- "id": 310,
+ "id": 329,
"name": "_initRealtimeClient",
"kind": 2048,
"kindString": "Method",
@@ -578,7 +578,7 @@
},
"signatures": [
{
- "id": 311,
+ "id": 330,
"name": "_initRealtimeClient",
"kind": 4096,
"kindString": "Call signature",
@@ -587,7 +587,7 @@
},
"parameters": [
{
- "id": 312,
+ "id": 331,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -610,13 +610,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 164,
+ "line": 165,
"character": 29
}
]
},
{
- "id": 302,
+ "id": 317,
"name": "_initSupabaseAuthClient",
"kind": 2048,
"kindString": "Method",
@@ -626,7 +626,7 @@
},
"signatures": [
{
- "id": 303,
+ "id": 318,
"name": "_initSupabaseAuthClient",
"kind": 4096,
"kindString": "Call signature",
@@ -635,7 +635,7 @@
},
"parameters": [
{
- "id": 304,
+ "id": 319,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -646,7 +646,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 305,
+ "id": 320,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -655,7 +655,7 @@
},
"children": [
{
- "id": 306,
+ "id": 321,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -665,7 +665,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 146,
+ "line": 145,
"character": 20
}
],
@@ -688,7 +688,7 @@
}
},
{
- "id": 308,
+ "id": 323,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -698,7 +698,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 148,
+ "line": 147,
"character": 22
}
],
@@ -721,8 +721,8 @@
}
},
{
- "id": 309,
- "name": "localStorage",
+ "id": 325,
+ "name": "headers",
"kind": 32,
"kindString": "Variable",
"flags": {
@@ -732,6 +732,73 @@
{
"fileName": "src/SupabaseClient.ts",
"line": 149,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 326,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 327,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 328,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 324,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 148,
"character": 16
}
],
@@ -744,13 +811,42 @@
},
{
"type": "reference",
- "name": "Storage"
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "getItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "setItem"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
}
]
}
},
{
- "id": 307,
+ "id": 322,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -760,7 +856,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 147,
+ "line": 146,
"character": 18
}
],
@@ -788,17 +884,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 306,
- 308,
- 309,
- 307
+ 321,
+ 323,
+ 325,
+ 324,
+ 322
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 145,
+ "line": 144,
"character": 34
}
]
@@ -808,7 +905,7 @@
],
"type": {
"type": "reference",
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient"
}
}
@@ -816,13 +913,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 145,
+ "line": 144,
"character": 33
}
]
},
{
- "id": 282,
+ "id": 297,
"name": "from",
"kind": 2048,
"kindString": "Method",
@@ -831,7 +928,7 @@
},
"signatures": [
{
- "id": 283,
+ "id": 298,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
@@ -843,7 +940,7 @@
},
"typeParameter": [
{
- "id": 284,
+ "id": 299,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -854,7 +951,7 @@
],
"parameters": [
{
- "id": 285,
+ "id": 300,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
@@ -872,7 +969,7 @@
],
"type": {
"type": "reference",
- "id": 174,
+ "id": 189,
"typeArguments": [
{
"type": "typeParameter",
@@ -890,13 +987,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 83,
+ "line": 82,
"character": 6
}
]
},
{
- "id": 300,
+ "id": 315,
"name": "getSubscriptions",
"kind": 2048,
"kindString": "Method",
@@ -905,7 +1002,7 @@
},
"signatures": [
{
- "id": 301,
+ "id": 316,
"name": "getSubscriptions",
"kind": 4096,
"kindString": "Call signature",
@@ -927,13 +1024,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 141,
+ "line": 140,
"character": 18
}
]
},
{
- "id": 294,
+ "id": 309,
"name": "removeSubscription",
"kind": 2048,
"kindString": "Method",
@@ -942,7 +1039,7 @@
},
"signatures": [
{
- "id": 295,
+ "id": 310,
"name": "removeSubscription",
"kind": 4096,
"kindString": "Call signature",
@@ -954,7 +1051,7 @@
},
"parameters": [
{
- "id": 296,
+ "id": 311,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
@@ -985,13 +1082,13 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 115,
+ "line": 114,
"character": 20
}
]
},
{
- "id": 286,
+ "id": 301,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
@@ -1000,7 +1097,7 @@
},
"signatures": [
{
- "id": 287,
+ "id": 302,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
@@ -1012,7 +1109,7 @@
},
"typeParameter": [
{
- "id": 288,
+ "id": 303,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -1023,7 +1120,7 @@
],
"parameters": [
{
- "id": 289,
+ "id": 304,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
@@ -1039,7 +1136,7 @@
}
},
{
- "id": 290,
+ "id": 305,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
@@ -1065,7 +1162,7 @@
}
},
{
- "id": 291,
+ "id": 306,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1076,7 +1173,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 292,
+ "id": 307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -1085,7 +1182,7 @@
},
"children": [
{
- "id": 293,
+ "id": 308,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -1098,7 +1195,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 104,
+ "line": 103,
"character": 11
}
],
@@ -1131,14 +1228,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 293
+ 308
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 103,
+ "line": 102,
"character": 20
}
]
@@ -1162,7 +1259,7 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 101,
+ "line": 100,
"character": 5
}
]
@@ -1173,58 +1270,58 @@
"title": "Constructors",
"kind": 512,
"children": [
- 273
+ 288
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 266,
- 270,
- 272,
- 269,
- 268,
- 267,
- 271,
- 275,
- 274
+ 281,
+ 285,
+ 287,
+ 284,
+ 283,
+ 282,
+ 286,
+ 290,
+ 289
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
- 280
+ 295
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 320,
+ 339,
+ 312,
+ 334,
+ 332,
+ 329,
+ 317,
297,
315,
- 313,
- 310,
- 302,
- 282,
- 300,
- 294,
- 286
+ 309,
+ 301
]
}
],
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 23,
+ "line": 22,
"character": 35
}
]
},
{
- "id": 323,
+ "id": 342,
"name": "DEFAULT_OPTIONS",
"kind": 2097152,
"kindString": "Object literal",
@@ -1233,7 +1330,7 @@
},
"children": [
{
- "id": 325,
+ "id": 344,
"name": "autoRefreshToken",
"kind": 32,
"kindString": "Variable",
@@ -1252,7 +1349,7 @@
"defaultValue": "true"
},
{
- "id": 327,
+ "id": 346,
"name": "detectSessionInUrl",
"kind": 32,
"kindString": "Variable",
@@ -1271,7 +1368,7 @@
"defaultValue": "true"
},
{
- "id": 329,
+ "id": 347,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -1279,21 +1376,21 @@
"sources": [
{
"fileName": "src/SupabaseClient.ts",
- "line": 15,
+ "line": 14,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 330,
+ "id": 348,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 337,
+ "id": 349,
"name": "X-Client-Info",
"kind": 32,
"kindString": "Variable",
@@ -1317,7 +1414,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 337
+ 349
]
}
]
@@ -1326,26 +1423,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 328,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {},
- "sources": [
- {
- "fileName": "src/SupabaseClient.ts",
- "line": 14,
- "character": 14
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- },
- "defaultValue": "globalThis.localStorage"
- },
- {
- "id": 326,
+ "id": 345,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -1364,7 +1442,7 @@
"defaultValue": "true"
},
{
- "id": 324,
+ "id": 343,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -1388,12 +1466,11 @@
"title": "Variables",
"kind": 32,
"children": [
- 325,
- 327,
- 329,
- 328,
- 326,
- 324
+ 344,
+ 346,
+ 347,
+ 345,
+ 343
]
}
],
@@ -1415,14 +1492,14 @@
"title": "Classes",
"kind": 128,
"children": [
- 265
+ 280
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
- 323
+ 342
]
}
],
@@ -1435,7 +1512,7 @@
]
},
{
- "id": 331,
+ "id": 350,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
@@ -1445,7 +1522,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/index.ts",
"children": [
{
- "id": 332,
+ "id": 351,
"name": "createClient",
"kind": 64,
"kindString": "Function",
@@ -1458,7 +1535,7 @@
},
"signatures": [
{
- "id": 333,
+ "id": 352,
"name": "createClient",
"kind": 4096,
"kindString": "Call signature",
@@ -1470,7 +1547,7 @@
},
"parameters": [
{
- "id": 334,
+ "id": 353,
"name": "supabaseUrl",
"kind": 32768,
"kindString": "Parameter",
@@ -1483,7 +1560,7 @@
}
},
{
- "id": 335,
+ "id": 354,
"name": "supabaseKey",
"kind": 32768,
"kindString": "Parameter",
@@ -1496,7 +1573,7 @@
}
},
{
- "id": 336,
+ "id": 355,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1506,14 +1583,14 @@
},
"type": {
"type": "reference",
- "id": 7,
+ "id": 30,
"name": "SupabaseClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 265,
+ "id": 280,
"name": "SupabaseClient"
}
}
@@ -1532,7 +1609,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 332
+ 351
]
}
],
@@ -1545,7 +1622,7 @@
]
},
{
- "id": 29,
+ "id": 52,
"name": "\"lib/SupabaseAuthClient\"",
"kind": 1,
"kindString": "Module",
@@ -1555,7 +1632,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseAuthClient.ts",
"children": [
{
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient",
"kind": 128,
"kindString": "Class",
@@ -1564,7 +1641,7 @@
},
"children": [
{
- "id": 31,
+ "id": 54,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1573,7 +1650,7 @@
},
"signatures": [
{
- "id": 32,
+ "id": 55,
"name": "new SupabaseAuthClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -1582,7 +1659,7 @@
},
"parameters": [
{
- "id": 33,
+ "id": 56,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -1590,266 +1667,15 @@
"isExported": true
},
"type": {
- "type": "reflection",
- "declaration": {
- "id": 34,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "children": [
- {
- "id": 41,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 8,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 40,
- "name": "detectSessionInUrl",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 7,
- "character": 22
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 36,
- "name": "headers",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 6,
- "character": 11
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 37,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {
- "isExported": true
- },
- "indexSignature": [
- {
- "id": 38,
- "name": "__index",
- "kind": 8192,
- "kindString": "Index signature",
- "flags": {
- "isExported": true
- },
- "parameters": [
- {
- "id": 39,
- "name": "key",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isExported": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 43,
- "name": "localStorage",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 10,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "name": "Storage"
- }
- },
- {
- "id": 42,
- "name": "persistSession",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 9,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
- }
- },
- {
- "id": 35,
- "name": "url",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 5,
- "character": 7
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Variables",
- "kind": 32,
- "children": [
- 41,
- 40,
- 36,
- 43,
- 42,
- 35
- ]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 4,
- "character": 22
- }
- ]
- }
+ "type": "reference",
+ "id": 7,
+ "name": "SupabaseAuthClientOptions"
}
}
],
"type": {
"type": "reference",
- "id": 30,
+ "id": 53,
"name": "SupabaseAuthClient"
},
"overwrites": {
@@ -1861,7 +1687,7 @@
"sources": [
{
"fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 3,
+ "line": 4,
"character": 54
}
],
@@ -1871,7 +1697,7 @@
}
},
{
- "id": 44,
+ "id": 57,
"name": "api",
"kind": 1024,
"kindString": "Property",
@@ -1884,7 +1710,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 8,
+ "line": 14,
"character": 7
}
],
@@ -1894,12 +1720,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 44,
+ "id": 57,
"name": "GoTrueClient.api"
}
},
{
- "id": 47,
+ "id": 60,
"name": "autoRefreshToken",
"kind": 1024,
"kindString": "Property",
@@ -1910,7 +1736,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 17,
+ "line": 23,
"character": 30
}
],
@@ -1920,12 +1746,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 47,
+ "id": 60,
"name": "GoTrueClient.autoRefreshToken"
}
},
{
- "id": 46,
+ "id": 59,
"name": "currentSession",
"kind": 1024,
"kindString": "Property",
@@ -1939,7 +1765,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 16,
+ "line": 22,
"character": 28
}
],
@@ -1958,12 +1784,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 46,
+ "id": 59,
"name": "GoTrueClient.currentSession"
}
},
{
- "id": 45,
+ "id": 58,
"name": "currentUser",
"kind": 1024,
"kindString": "Property",
@@ -1977,7 +1803,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 12,
+ "line": 18,
"character": 25
}
],
@@ -1996,12 +1822,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 45,
+ "id": 58,
"name": "GoTrueClient.currentUser"
}
},
{
- "id": 49,
+ "id": 62,
"name": "localStorage",
"kind": 1024,
"kindString": "Property",
@@ -2012,22 +1838,22 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 19,
+ "line": 25,
"character": 26
}
],
"type": {
"type": "reference",
- "name": "Storage"
+ "name": "SupportedStorage"
},
"inheritedFrom": {
"type": "reference",
- "id": 49,
+ "id": 62,
"name": "GoTrueClient.localStorage"
}
},
{
- "id": 48,
+ "id": 61,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -2038,7 +1864,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 18,
+ "line": 24,
"character": 28
}
],
@@ -2048,12 +1874,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 48,
+ "id": 61,
"name": "GoTrueClient.persistSession"
}
},
{
- "id": 51,
+ "id": 64,
"name": "refreshTokenTimer",
"kind": 1024,
"kindString": "Property",
@@ -2065,7 +1891,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 21,
+ "line": 27,
"character": 31
}
],
@@ -2084,12 +1910,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 51,
+ "id": 64,
"name": "GoTrueClient.refreshTokenTimer"
}
},
{
- "id": 50,
+ "id": 63,
"name": "stateChangeEmitters",
"kind": 1024,
"kindString": "Property",
@@ -2100,7 +1926,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 20,
+ "line": 26,
"character": 33
}
],
@@ -2120,12 +1946,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 50,
+ "id": 63,
"name": "GoTrueClient.stateChangeEmitters"
}
},
{
- "id": 125,
+ "id": 140,
"name": "getSessionFromUrl",
"kind": 2048,
"kindString": "Method",
@@ -2134,7 +1960,7 @@
},
"signatures": [
{
- "id": 126,
+ "id": 141,
"name": "getSessionFromUrl",
"kind": 4096,
"kindString": "Call signature",
@@ -2146,7 +1972,7 @@
},
"parameters": [
{
- "id": 127,
+ "id": 142,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -2164,7 +1990,7 @@
{
"type": "reflection",
"declaration": {
- "id": 128,
+ "id": 143,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2173,7 +1999,7 @@
},
"children": [
{
- "id": 129,
+ "id": 144,
"name": "storeSession",
"kind": 32,
"kindString": "Variable",
@@ -2187,7 +2013,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 137,
+ "line": 143,
"character": 20
}
],
@@ -2215,7 +2041,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 129
+ 144
]
}
]
@@ -2231,7 +2057,7 @@
{
"type": "reflection",
"declaration": {
- "id": 130,
+ "id": 145,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2240,7 +2066,7 @@
},
"children": [
{
- "id": 131,
+ "id": 146,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2250,7 +2076,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 139,
+ "line": 145,
"character": 12
}
],
@@ -2269,7 +2095,7 @@
}
},
{
- "id": 132,
+ "id": 147,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2279,7 +2105,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 140,
+ "line": 146,
"character": 13
}
],
@@ -2303,15 +2129,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 131,
- 132
+ 146,
+ 147
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 138,
+ "line": 144,
"character": 16
}
]
@@ -2322,7 +2148,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 125,
+ "id": 140,
"name": "GoTrueClient.getSessionFromUrl"
}
}
@@ -2330,18 +2156,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 136,
+ "line": 142,
"character": 21
}
],
"inheritedFrom": {
"type": "reference",
- "id": 125,
+ "id": 140,
"name": "GoTrueClient.getSessionFromUrl"
}
},
{
- "id": 137,
+ "id": 152,
"name": "onAuthStateChange",
"kind": 2048,
"kindString": "Method",
@@ -2350,7 +2176,7 @@
},
"signatures": [
{
- "id": 138,
+ "id": 153,
"name": "onAuthStateChange",
"kind": 4096,
"kindString": "Call signature",
@@ -2363,7 +2189,7 @@
},
"parameters": [
{
- "id": 139,
+ "id": 154,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -2373,7 +2199,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 140,
+ "id": 155,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2382,7 +2208,7 @@
},
"signatures": [
{
- "id": 141,
+ "id": 156,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -2391,7 +2217,7 @@
},
"parameters": [
{
- "id": 142,
+ "id": 157,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -2404,7 +2230,7 @@
}
},
{
- "id": 143,
+ "id": 158,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -2435,7 +2261,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 155,
+ "line": 161,
"character": 31
}
]
@@ -2446,7 +2272,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 144,
+ "id": 159,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2455,7 +2281,7 @@
},
"children": [
{
- "id": 145,
+ "id": 160,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2465,7 +2291,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 156,
+ "line": 162,
"character": 12
}
],
@@ -2484,7 +2310,7 @@
}
},
{
- "id": 146,
+ "id": 161,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2494,7 +2320,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 157,
+ "line": 163,
"character": 13
}
],
@@ -2518,15 +2344,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 145,
- 146
+ 160,
+ 161
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 155,
+ "line": 161,
"character": 91
}
]
@@ -2534,7 +2360,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 137,
+ "id": 152,
"name": "GoTrueClient.onAuthStateChange"
}
}
@@ -2542,18 +2368,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 155,
+ "line": 161,
"character": 21
}
],
"inheritedFrom": {
"type": "reference",
- "id": 137,
+ "id": 152,
"name": "GoTrueClient.onAuthStateChange"
}
},
{
- "id": 103,
+ "id": 118,
"name": "refreshSession",
"kind": 2048,
"kindString": "Method",
@@ -2562,7 +2388,7 @@
},
"signatures": [
{
- "id": 104,
+ "id": 119,
"name": "refreshSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2578,7 +2404,7 @@
{
"type": "reflection",
"declaration": {
- "id": 105,
+ "id": 120,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2587,7 +2413,7 @@
},
"children": [
{
- "id": 106,
+ "id": 121,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -2597,7 +2423,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 107,
+ "line": 113,
"character": 12
}
],
@@ -2616,7 +2442,7 @@
}
},
{
- "id": 108,
+ "id": 123,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2626,7 +2452,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 109,
+ "line": 115,
"character": 13
}
],
@@ -2645,7 +2471,7 @@
}
},
{
- "id": 107,
+ "id": 122,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -2655,7 +2481,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 108,
+ "line": 114,
"character": 12
}
],
@@ -2679,16 +2505,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 106,
- 108,
- 107
+ 121,
+ 123,
+ 122
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 106,
+ "line": 112,
"character": 30
}
]
@@ -2699,7 +2525,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 103,
+ "id": 118,
"name": "GoTrueClient.refreshSession"
}
}
@@ -2707,18 +2533,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 106,
+ "line": 112,
"character": 18
}
],
"inheritedFrom": {
"type": "reference",
- "id": 103,
+ "id": 118,
"name": "GoTrueClient.refreshSession"
}
},
{
- "id": 101,
+ "id": 116,
"name": "session",
"kind": 2048,
"kindString": "Method",
@@ -2727,7 +2553,7 @@
},
"signatures": [
{
- "id": 102,
+ "id": 117,
"name": "session",
"kind": 4096,
"kindString": "Call signature",
@@ -2752,7 +2578,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 101,
+ "id": 116,
"name": "GoTrueClient.session"
}
}
@@ -2760,18 +2586,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 102,
+ "line": 108,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 101,
+ "id": 116,
"name": "GoTrueClient.session"
}
},
{
- "id": 122,
+ "id": 137,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -2780,7 +2606,7 @@
},
"signatures": [
{
- "id": 123,
+ "id": 138,
"name": "setAuth",
"kind": 4096,
"kindString": "Call signature",
@@ -2792,7 +2618,7 @@
},
"parameters": [
{
- "id": 124,
+ "id": 139,
"name": "access_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2814,7 +2640,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 137,
"name": "GoTrueClient.setAuth"
}
}
@@ -2822,18 +2648,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 131,
+ "line": 137,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 122,
+ "id": 137,
"name": "GoTrueClient.setAuth"
}
},
{
- "id": 116,
+ "id": 131,
"name": "setSession",
"kind": 2048,
"kindString": "Method",
@@ -2842,7 +2668,7 @@
},
"signatures": [
{
- "id": 117,
+ "id": 132,
"name": "setSession",
"kind": 4096,
"kindString": "Call signature",
@@ -2854,7 +2680,7 @@
},
"parameters": [
{
- "id": 118,
+ "id": 133,
"name": "refresh_token",
"kind": 32768,
"kindString": "Parameter",
@@ -2876,7 +2702,7 @@
{
"type": "reflection",
"declaration": {
- "id": 119,
+ "id": 134,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -2885,7 +2711,7 @@
},
"children": [
{
- "id": 121,
+ "id": 136,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -2895,7 +2721,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 125,
+ "line": 131,
"character": 13
}
],
@@ -2914,7 +2740,7 @@
}
},
{
- "id": 120,
+ "id": 135,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -2924,7 +2750,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 124,
+ "line": 130,
"character": 15
}
],
@@ -2948,15 +2774,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 121,
- 120
+ 136,
+ 135
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 123,
+ "line": 129,
"character": 47
}
]
@@ -2967,7 +2793,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 131,
"name": "GoTrueClient.setSession"
}
}
@@ -2975,18 +2801,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 123,
+ "line": 129,
"character": 14
}
],
"inheritedFrom": {
"type": "reference",
- "id": 116,
+ "id": 131,
"name": "GoTrueClient.setSession"
}
},
{
- "id": 65,
+ "id": 80,
"name": "signIn",
"kind": 2048,
"kindString": "Method",
@@ -2995,7 +2821,7 @@
},
"signatures": [
{
- "id": 66,
+ "id": 81,
"name": "signIn",
"kind": 4096,
"kindString": "Call signature",
@@ -3007,7 +2833,7 @@
},
"parameters": [
{
- "id": 67,
+ "id": 82,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3018,7 +2844,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 68,
+ "id": 83,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3027,7 +2853,7 @@
},
"children": [
{
- "id": 69,
+ "id": 84,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -3040,7 +2866,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 18
}
],
@@ -3059,7 +2885,7 @@
}
},
{
- "id": 71,
+ "id": 86,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -3072,7 +2898,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 35
}
],
@@ -3091,7 +2917,7 @@
}
},
{
- "id": 70,
+ "id": 85,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -3101,7 +2927,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 25
}
],
@@ -3120,36 +2946,7 @@
}
},
{
- "id": 73,
- "name": "provider",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true
- },
- "sources": [
- {
- "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
- "character": 59
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- },
- {
- "id": 75,
+ "id": 88,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3162,7 +2959,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 59
}
],
@@ -3217,7 +3014,7 @@
}
},
{
- "id": 72,
+ "id": 87,
"name": "refreshToken",
"kind": 32,
"kindString": "Variable",
@@ -3230,7 +3027,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 49
}
],
@@ -3254,18 +3051,18 @@
"title": "Variables",
"kind": 32,
"children": [
- 69,
- 71,
- 70,
- 73,
- 72
+ 84,
+ 86,
+ 85,
+ 88,
+ 87
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 11
}
]
@@ -3273,7 +3070,7 @@
}
},
{
- "id": 74,
+ "id": 89,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3291,7 +3088,7 @@
{
"type": "reflection",
"declaration": {
- "id": 75,
+ "id": 90,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3300,7 +3097,7 @@
},
"children": [
{
- "id": 76,
+ "id": 91,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3311,7 +3108,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 69,
+ "line": 75,
"character": 18
}
],
@@ -3330,7 +3127,7 @@
}
},
{
- "id": 77,
+ "id": 92,
"name": "scopes",
"kind": 32,
"kindString": "Variable",
@@ -3341,7 +3138,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 70,
+ "line": 76,
"character": 14
}
],
@@ -3365,8 +3162,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 76,
- 77
+ 91,
+ 92
]
}
]
@@ -3382,7 +3179,7 @@
{
"type": "reflection",
"declaration": {
- "id": 78,
+ "id": 93,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3391,7 +3188,7 @@
},
"children": [
{
- "id": 84,
+ "id": 99,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3401,7 +3198,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 77,
+ "line": 83,
"character": 12
}
],
@@ -3420,7 +3217,7 @@
}
},
{
- "id": 83,
+ "id": 98,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3430,7 +3227,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 76,
+ "line": 82,
"character": 13
}
],
@@ -3449,7 +3246,7 @@
}
},
{
- "id": 81,
+ "id": 96,
"name": "provider",
"kind": 32,
"kindString": "Variable",
@@ -3460,7 +3257,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 74,
+ "line": 80,
"character": 16
}
],
@@ -3470,7 +3267,7 @@
}
},
{
- "id": 79,
+ "id": 94,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -3480,7 +3277,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 72,
+ "line": 78,
"character": 15
}
],
@@ -3499,7 +3296,7 @@
}
},
{
- "id": 82,
+ "id": 97,
"name": "url",
"kind": 32,
"kindString": "Variable",
@@ -3510,7 +3307,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 75,
+ "line": 81,
"character": 11
}
],
@@ -3529,7 +3326,7 @@
}
},
{
- "id": 80,
+ "id": 95,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -3539,7 +3336,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 73,
+ "line": 79,
"character": 12
}
],
@@ -3563,19 +3360,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 84,
- 83,
- 81,
- 79,
- 82,
- 80
+ 99,
+ 98,
+ 96,
+ 94,
+ 97,
+ 95
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 71,
+ "line": 77,
"character": 16
}
]
@@ -3586,7 +3383,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 65,
+ "id": 80,
"name": "GoTrueClient.signIn"
}
}
@@ -3594,18 +3391,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 68,
+ "line": 74,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 65,
+ "id": 80,
"name": "GoTrueClient.signIn"
}
},
{
- "id": 133,
+ "id": 148,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -3614,7 +3411,7 @@
},
"signatures": [
{
- "id": 134,
+ "id": 149,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -3622,7 +3419,7 @@
"isExported": true
},
"comment": {
- "shortText": "Inside a browser context, `signOut()` will remove extract the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
+ "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.",
"text": "For server-side management, you can disable sessions by passing a JWT through to `auth.api.signOut(JWT: string)`\n"
},
"type": {
@@ -3631,7 +3428,7 @@
{
"type": "reflection",
"declaration": {
- "id": 135,
+ "id": 150,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3640,7 +3437,7 @@
},
"children": [
{
- "id": 136,
+ "id": 151,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -3650,7 +3447,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 149,
+ "line": 155,
"character": 13
}
],
@@ -3674,14 +3471,14 @@
"title": "Variables",
"kind": 32,
"children": [
- 136
+ 151
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 148,
+ "line": 154,
"character": 23
}
]
@@ -3692,7 +3489,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 148,
"name": "GoTrueClient.signOut"
}
}
@@ -3700,18 +3497,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 148,
+ "line": 154,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
- "id": 133,
+ "id": 148,
"name": "GoTrueClient.signOut"
}
},
{
- "id": 52,
+ "id": 65,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -3720,7 +3517,7 @@
},
"signatures": [
{
- "id": 53,
+ "id": 66,
"name": "signUp",
"kind": 4096,
"kindString": "Call signature",
@@ -3732,7 +3529,7 @@
},
"parameters": [
{
- "id": 54,
+ "id": 67,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -3743,7 +3540,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 55,
+ "id": 68,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3752,7 +3549,7 @@
},
"children": [
{
- "id": 56,
+ "id": 69,
"name": "email",
"kind": 32,
"kindString": "Variable",
@@ -3765,7 +3562,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 18
}
],
@@ -3784,7 +3581,7 @@
}
},
{
- "id": 57,
+ "id": 70,
"name": "password",
"kind": 32,
"kindString": "Variable",
@@ -3797,7 +3594,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 28
}
],
@@ -3816,7 +3613,7 @@
}
},
{
- "id": 56,
+ "id": 71,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -3829,7 +3626,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 35
}
],
@@ -3853,16 +3650,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 54,
- 55,
- 56
+ 69,
+ 70,
+ 71
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 11
}
]
@@ -3870,7 +3667,7 @@
}
},
{
- "id": 57,
+ "id": 72,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -3888,7 +3685,7 @@
{
"type": "reflection",
"declaration": {
- "id": 58,
+ "id": 73,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3897,7 +3694,7 @@
},
"children": [
{
- "id": 59,
+ "id": 74,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -3908,7 +3705,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 51,
+ "line": 57,
"character": 18
}
],
@@ -3932,7 +3729,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 59
+ 74
]
}
]
@@ -3948,7 +3745,7 @@
{
"type": "reflection",
"declaration": {
- "id": 60,
+ "id": 75,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -3957,7 +3754,7 @@
},
"children": [
{
- "id": 64,
+ "id": 79,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -3967,7 +3764,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 56,
+ "line": 62,
"character": 12
}
],
@@ -3990,7 +3787,7 @@
}
},
{
- "id": 63,
+ "id": 78,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4000,7 +3797,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 55,
+ "line": 61,
"character": 13
}
],
@@ -4019,7 +3816,7 @@
}
},
{
- "id": 62,
+ "id": 77,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4029,7 +3826,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 54,
+ "line": 60,
"character": 15
}
],
@@ -4048,7 +3845,7 @@
}
},
{
- "id": 61,
+ "id": 76,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4058,7 +3855,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 53,
+ "line": 59,
"character": 12
}
],
@@ -4082,17 +3879,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 64,
- 63,
- 62,
- 61
+ 79,
+ 78,
+ 77,
+ 76
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 52,
+ "line": 58,
"character": 16
}
]
@@ -4103,7 +3900,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 52,
+ "id": 65,
"name": "GoTrueClient.signUp"
}
}
@@ -4111,18 +3908,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 50,
+ "line": 56,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 52,
+ "id": 65,
"name": "GoTrueClient.signUp"
}
},
{
- "id": 109,
+ "id": 124,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -4131,7 +3928,7 @@
},
"signatures": [
{
- "id": 110,
+ "id": 125,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -4143,7 +3940,7 @@
},
"parameters": [
{
- "id": 111,
+ "id": 126,
"name": "attributes",
"kind": 32768,
"kindString": "Parameter",
@@ -4162,7 +3959,7 @@
{
"type": "reflection",
"declaration": {
- "id": 112,
+ "id": 127,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4171,7 +3968,7 @@
},
"children": [
{
- "id": 113,
+ "id": 128,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4181,17 +3978,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 115,
+ "line": 121,
"character": 12
}
],
"type": {
"type": "union",
"types": [
- {
- "type": "reference",
- "name": "Session"
- },
{
"type": "reference",
"name": "User"
@@ -4204,7 +3997,7 @@
}
},
{
- "id": 115,
+ "id": 130,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4214,7 +4007,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 117,
+ "line": 123,
"character": 13
}
],
@@ -4233,7 +4026,7 @@
}
},
{
- "id": 114,
+ "id": 129,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4243,7 +4036,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 116,
+ "line": 122,
"character": 12
}
],
@@ -4267,16 +4060,16 @@
"title": "Variables",
"kind": 32,
"children": [
- 113,
- 115,
- 114
+ 128,
+ 130,
+ 129
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 114,
+ "line": 120,
"character": 48
}
]
@@ -4287,7 +4080,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 109,
+ "id": 124,
"name": "GoTrueClient.update"
}
}
@@ -4295,18 +4088,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 114,
+ "line": 120,
"character": 10
}
],
"inheritedFrom": {
"type": "reference",
- "id": 109,
+ "id": 124,
"name": "GoTrueClient.update"
}
},
{
- "id": 99,
+ "id": 114,
"name": "user",
"kind": 2048,
"kindString": "Method",
@@ -4315,7 +4108,7 @@
},
"signatures": [
{
- "id": 100,
+ "id": 115,
"name": "user",
"kind": 4096,
"kindString": "Call signature",
@@ -4341,7 +4134,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 114,
"name": "GoTrueClient.user"
}
}
@@ -4349,18 +4142,18 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 98,
+ "line": 104,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
- "id": 99,
+ "id": 114,
"name": "GoTrueClient.user"
}
},
{
- "id": 85,
+ "id": 100,
"name": "verifyOTP",
"kind": 2048,
"kindString": "Method",
@@ -4369,7 +4162,7 @@
},
"signatures": [
{
- "id": 86,
+ "id": 101,
"name": "verifyOTP",
"kind": 4096,
"kindString": "Call signature",
@@ -4381,7 +4174,7 @@
},
"parameters": [
{
- "id": 87,
+ "id": 102,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4392,7 +4185,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 88,
+ "id": 103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4401,7 +4194,7 @@
},
"children": [
{
- "id": 89,
+ "id": 104,
"name": "phone",
"kind": 32,
"kindString": "Variable",
@@ -4414,7 +4207,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 21
}
],
@@ -4424,7 +4217,7 @@
}
},
{
- "id": 90,
+ "id": 105,
"name": "token",
"kind": 32,
"kindString": "Variable",
@@ -4437,7 +4230,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 28
}
],
@@ -4452,15 +4245,15 @@
"title": "Variables",
"kind": 32,
"children": [
- 89,
- 90
+ 104,
+ 105
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 14
}
]
@@ -4468,7 +4261,7 @@
}
},
{
- "id": 91,
+ "id": 106,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -4486,7 +4279,7 @@
{
"type": "reflection",
"declaration": {
- "id": 92,
+ "id": 107,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4495,7 +4288,7 @@
},
"children": [
{
- "id": 93,
+ "id": 108,
"name": "redirectTo",
"kind": 32,
"kindString": "Variable",
@@ -4506,7 +4299,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 86,
+ "line": 92,
"character": 18
}
],
@@ -4530,7 +4323,7 @@
"title": "Variables",
"kind": 32,
"children": [
- 93
+ 108
]
}
]
@@ -4546,7 +4339,7 @@
{
"type": "reflection",
"declaration": {
- "id": 94,
+ "id": 109,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4555,7 +4348,7 @@
},
"children": [
{
- "id": 98,
+ "id": 113,
"name": "data",
"kind": 32,
"kindString": "Variable",
@@ -4565,7 +4358,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 91,
+ "line": 97,
"character": 12
}
],
@@ -4588,7 +4381,7 @@
}
},
{
- "id": 97,
+ "id": 112,
"name": "error",
"kind": 32,
"kindString": "Variable",
@@ -4598,7 +4391,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 90,
+ "line": 96,
"character": 13
}
],
@@ -4617,7 +4410,7 @@
}
},
{
- "id": 96,
+ "id": 111,
"name": "session",
"kind": 32,
"kindString": "Variable",
@@ -4627,7 +4420,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 89,
+ "line": 95,
"character": 15
}
],
@@ -4646,7 +4439,7 @@
}
},
{
- "id": 95,
+ "id": 110,
"name": "user",
"kind": 32,
"kindString": "Variable",
@@ -4656,7 +4449,7 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 88,
+ "line": 94,
"character": 12
}
],
@@ -4680,17 +4473,17 @@
"title": "Variables",
"kind": 32,
"children": [
- 98,
- 97,
- 96,
- 95
+ 113,
+ 112,
+ 111,
+ 110
]
}
],
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 87,
+ "line": 93,
"character": 16
}
]
@@ -4701,7 +4494,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 85,
+ "id": 100,
"name": "GoTrueClient.verifyOTP"
}
}
@@ -4709,13 +4502,13 @@
"sources": [
{
"fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
- "line": 85,
+ "line": 91,
"character": 13
}
],
"inheritedFrom": {
"type": "reference",
- "id": 85,
+ "id": 100,
"name": "GoTrueClient.verifyOTP"
}
}
@@ -4725,46 +4518,46 @@
"title": "Constructors",
"kind": 512,
"children": [
- 31
+ 54
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 44,
- 47,
- 46,
- 45,
- 49,
- 48,
- 51,
- 50
+ 57,
+ 60,
+ 59,
+ 58,
+ 62,
+ 61,
+ 64,
+ 63
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 125,
- 137,
- 103,
- 101,
- 122,
+ 140,
+ 152,
+ 118,
116,
+ 137,
+ 131,
+ 80,
+ 148,
65,
- 133,
- 50,
- 109,
- 99,
- 85
+ 124,
+ 114,
+ 100
]
}
],
"sources": [
{
"fileName": "src/lib/SupabaseAuthClient.ts",
- "line": 3,
+ "line": 4,
"character": 31
}
],
@@ -4781,7 +4574,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 30
+ 53
]
}
],
@@ -4794,7 +4587,7 @@
]
},
{
- "id": 173,
+ "id": 188,
"name": "\"lib/SupabaseQueryBuilder\"",
"kind": 1,
"kindString": "Module",
@@ -4804,7 +4597,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseQueryBuilder.ts",
"children": [
{
- "id": 174,
+ "id": 189,
"name": "SupabaseQueryBuilder",
"kind": 128,
"kindString": "Class",
@@ -4813,7 +4606,7 @@
},
"typeParameter": [
{
- "id": 175,
+ "id": 190,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -4824,7 +4617,7 @@
],
"children": [
{
- "id": 178,
+ "id": 193,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -4833,7 +4626,7 @@
},
"signatures": [
{
- "id": 179,
+ "id": 194,
"name": "new SupabaseQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4842,7 +4635,7 @@
},
"parameters": [
{
- "id": 180,
+ "id": 195,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
@@ -4855,7 +4648,7 @@
}
},
{
- "id": 181,
+ "id": 196,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -4866,7 +4659,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 182,
+ "id": 197,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4875,7 +4668,7 @@
},
"children": [
{
- "id": 183,
+ "id": 198,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -4892,7 +4685,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 184,
+ "id": 199,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -4901,7 +4694,7 @@
},
"indexSignature": [
{
- "id": 185,
+ "id": 200,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -4910,7 +4703,7 @@
},
"parameters": [
{
- "id": 186,
+ "id": 201,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -4933,7 +4726,7 @@
}
},
{
- "id": 188,
+ "id": 203,
"name": "realtime",
"kind": 32,
"kindString": "Variable",
@@ -4953,7 +4746,7 @@
}
},
{
- "id": 187,
+ "id": 202,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -4973,7 +4766,7 @@
}
},
{
- "id": 189,
+ "id": 204,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -4998,10 +4791,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 183,
- 188,
- 187,
- 189
+ 198,
+ 203,
+ 202,
+ 204
]
}
],
@@ -5018,7 +4811,7 @@
],
"type": {
"type": "reference",
- "id": 174,
+ "id": 189,
"name": "SupabaseQueryBuilder"
},
"overwrites": {
@@ -5040,7 +4833,7 @@
}
},
{
- "id": 177,
+ "id": 192,
"name": "_realtime",
"kind": 1024,
"kindString": "Property",
@@ -5061,7 +4854,7 @@
}
},
{
- "id": 176,
+ "id": 191,
"name": "_subscription",
"kind": 1024,
"kindString": "Property",
@@ -5078,12 +4871,12 @@
],
"type": {
"type": "reference",
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient"
}
},
{
- "id": 248,
+ "id": 263,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -5129,12 +4922,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 248,
+ "id": 263,
"name": "PostgrestBuilder.body"
}
},
{
- "id": 243,
+ "id": 258,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -5152,7 +4945,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 244,
+ "id": 259,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5161,7 +4954,7 @@
},
"indexSignature": [
{
- "id": 245,
+ "id": 260,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -5170,7 +4963,7 @@
},
"parameters": [
{
- "id": 246,
+ "id": 261,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -5200,12 +4993,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 243,
+ "id": 258,
"name": "PostgrestBuilder.headers"
}
},
{
- "id": 241,
+ "id": 256,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -5247,12 +5040,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 241,
+ "id": 256,
"name": "PostgrestBuilder.method"
}
},
{
- "id": 247,
+ "id": 262,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -5283,12 +5076,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 247,
+ "id": 262,
"name": "PostgrestBuilder.schema"
}
},
{
- "id": 249,
+ "id": 264,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -5323,12 +5116,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 249,
+ "id": 264,
"name": "PostgrestBuilder.shouldThrowOnError"
}
},
{
- "id": 242,
+ "id": 257,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -5349,12 +5142,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 242,
+ "id": 257,
"name": "PostgrestBuilder.url"
}
},
{
- "id": 235,
+ "id": 250,
"name": "delete",
"kind": 2048,
"kindString": "Method",
@@ -5363,7 +5156,7 @@
},
"signatures": [
{
- "id": 236,
+ "id": 251,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
@@ -5375,7 +5168,7 @@
},
"parameters": [
{
- "id": 237,
+ "id": 252,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5387,7 +5180,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 238,
+ "id": 253,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5396,7 +5189,7 @@
},
"children": [
{
- "id": 240,
+ "id": 255,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5440,7 +5233,7 @@
}
},
{
- "id": 239,
+ "id": 254,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5481,8 +5274,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 240,
- 239
+ 255,
+ 254
]
}
],
@@ -5509,7 +5302,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 250,
"name": "PostgrestQueryBuilder.delete"
}
}
@@ -5523,12 +5316,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 235,
+ "id": 250,
"name": "PostgrestQueryBuilder.delete"
}
},
{
- "id": 204,
+ "id": 219,
"name": "insert",
"kind": 2048,
"kindString": "Method",
@@ -5537,7 +5330,7 @@
},
"signatures": [
{
- "id": 205,
+ "id": 220,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5549,7 +5342,7 @@
},
"parameters": [
{
- "id": 206,
+ "id": 221,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5589,7 +5382,7 @@
}
},
{
- "id": 207,
+ "id": 222,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5607,7 +5400,7 @@
{
"type": "reflection",
"declaration": {
- "id": 208,
+ "id": 223,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5616,7 +5409,7 @@
},
"children": [
{
- "id": 210,
+ "id": 225,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5654,7 +5447,7 @@
}
},
{
- "id": 209,
+ "id": 224,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5689,8 +5482,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 210,
- 209
+ 225,
+ 224
]
}
]
@@ -5712,12 +5505,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 204,
+ "id": 219,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 211,
+ "id": 226,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
@@ -5734,7 +5527,7 @@
},
"parameters": [
{
- "id": 212,
+ "id": 227,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -5771,7 +5564,7 @@
}
},
{
- "id": 213,
+ "id": 228,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -5789,7 +5582,7 @@
{
"type": "reflection",
"declaration": {
- "id": 214,
+ "id": 229,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -5798,7 +5591,7 @@
},
"children": [
{
- "id": 218,
+ "id": 233,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -5836,7 +5629,7 @@
}
},
{
- "id": 216,
+ "id": 231,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -5866,7 +5659,7 @@
}
},
{
- "id": 217,
+ "id": 232,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -5896,7 +5689,7 @@
}
},
{
- "id": 215,
+ "id": 230,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
@@ -5935,10 +5728,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 218,
- 216,
- 217,
- 215
+ 233,
+ 231,
+ 232,
+ 230
]
}
]
@@ -5960,7 +5753,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 204,
+ "id": 219,
"name": "PostgrestQueryBuilder.insert"
}
}
@@ -5979,12 +5772,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 204,
+ "id": 219,
"name": "PostgrestQueryBuilder.insert"
}
},
{
- "id": 190,
+ "id": 205,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -5993,7 +5786,7 @@
},
"signatures": [
{
- "id": 191,
+ "id": 206,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -6005,7 +5798,7 @@
},
"parameters": [
{
- "id": 192,
+ "id": 207,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -6017,12 +5810,12 @@
},
"type": {
"type": "reference",
- "id": 28,
+ "id": 51,
"name": "SupabaseEventTypes"
}
},
{
- "id": 193,
+ "id": 208,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -6035,7 +5828,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 194,
+ "id": 209,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6044,7 +5837,7 @@
},
"signatures": [
{
- "id": 195,
+ "id": 210,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6053,7 +5846,7 @@
},
"parameters": [
{
- "id": 196,
+ "id": 211,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -6062,7 +5855,7 @@
},
"type": {
"type": "reference",
- "id": 19,
+ "id": 42,
"typeArguments": [
{
"type": "typeParameter",
@@ -6092,7 +5885,7 @@
],
"type": {
"type": "reference",
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient"
}
}
@@ -6106,7 +5899,7 @@
]
},
{
- "id": 197,
+ "id": 212,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -6115,7 +5908,7 @@
},
"signatures": [
{
- "id": 198,
+ "id": 213,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
@@ -6127,7 +5920,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 214,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -6153,7 +5946,7 @@
}
},
{
- "id": 200,
+ "id": 215,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6165,7 +5958,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 201,
+ "id": 216,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6174,7 +5967,7 @@
},
"children": [
{
- "id": 203,
+ "id": 218,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6218,7 +6011,7 @@
}
},
{
- "id": 202,
+ "id": 217,
"name": "head",
"kind": 32,
"kindString": "Variable",
@@ -6259,8 +6052,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 203,
- 202
+ 218,
+ 217
]
}
],
@@ -6287,7 +6080,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 197,
+ "id": 212,
"name": "PostgrestQueryBuilder.select"
}
}
@@ -6301,12 +6094,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 197,
+ "id": 212,
"name": "PostgrestQueryBuilder.select"
}
},
{
- "id": 252,
+ "id": 267,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -6315,7 +6108,7 @@
},
"signatures": [
{
- "id": 253,
+ "id": 268,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
@@ -6324,7 +6117,7 @@
},
"typeParameter": [
{
- "id": 254,
+ "id": 269,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
@@ -6333,7 +6126,7 @@
}
},
{
- "id": 255,
+ "id": 270,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -6344,7 +6137,7 @@
],
"parameters": [
{
- "id": 256,
+ "id": 271,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -6358,7 +6151,7 @@
{
"type": "reflection",
"declaration": {
- "id": 257,
+ "id": 272,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6367,7 +6160,7 @@
},
"signatures": [
{
- "id": 258,
+ "id": 273,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6376,7 +6169,7 @@
},
"parameters": [
{
- "id": 259,
+ "id": 274,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
@@ -6457,7 +6250,7 @@
}
},
{
- "id": 260,
+ "id": 275,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -6471,7 +6264,7 @@
{
"type": "reflection",
"declaration": {
- "id": 261,
+ "id": 276,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6480,7 +6273,7 @@
},
"signatures": [
{
- "id": 262,
+ "id": 277,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -6489,7 +6282,7 @@
},
"parameters": [
{
- "id": 263,
+ "id": 278,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -6587,7 +6380,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 252,
+ "id": 267,
"name": "PostgrestBuilder.then"
}
}
@@ -6601,12 +6394,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 252,
+ "id": 267,
"name": "PostgrestBuilder.then"
}
},
{
- "id": 250,
+ "id": 265,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -6615,7 +6408,7 @@
},
"signatures": [
{
- "id": 251,
+ "id": 266,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -6638,7 +6431,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 250,
+ "id": 265,
"name": "PostgrestBuilder.throwOnError"
}
}
@@ -6652,12 +6445,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 250,
+ "id": 265,
"name": "PostgrestBuilder.throwOnError"
}
},
{
- "id": 228,
+ "id": 243,
"name": "update",
"kind": 2048,
"kindString": "Method",
@@ -6666,7 +6459,7 @@
},
"signatures": [
{
- "id": 229,
+ "id": 244,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
@@ -6678,7 +6471,7 @@
},
"parameters": [
{
- "id": 230,
+ "id": 245,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6700,7 +6493,7 @@
}
},
{
- "id": 231,
+ "id": 246,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6712,7 +6505,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 232,
+ "id": 247,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6721,7 +6514,7 @@
},
"children": [
{
- "id": 234,
+ "id": 249,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6765,7 +6558,7 @@
}
},
{
- "id": 233,
+ "id": 248,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -6806,8 +6599,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 234,
- 233
+ 249,
+ 248
]
}
],
@@ -6834,7 +6627,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 228,
+ "id": 243,
"name": "PostgrestQueryBuilder.update"
}
}
@@ -6848,12 +6641,12 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 228,
+ "id": 243,
"name": "PostgrestQueryBuilder.update"
}
},
{
- "id": 219,
+ "id": 234,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
@@ -6862,7 +6655,7 @@
},
"signatures": [
{
- "id": 220,
+ "id": 235,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
@@ -6874,7 +6667,7 @@
},
"parameters": [
{
- "id": 221,
+ "id": 236,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
@@ -6914,7 +6707,7 @@
}
},
{
- "id": 222,
+ "id": 237,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6926,7 +6719,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 223,
+ "id": 238,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -6935,7 +6728,7 @@
},
"children": [
{
- "id": 226,
+ "id": 241,
"name": "count",
"kind": 32,
"kindString": "Variable",
@@ -6979,7 +6772,7 @@
}
},
{
- "id": 227,
+ "id": 242,
"name": "ignoreDuplicates",
"kind": 32,
"kindString": "Variable",
@@ -7015,7 +6808,7 @@
}
},
{
- "id": 224,
+ "id": 239,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
@@ -7047,7 +6840,7 @@
}
},
{
- "id": 225,
+ "id": 240,
"name": "returning",
"kind": 32,
"kindString": "Variable",
@@ -7088,10 +6881,10 @@
"title": "Variables",
"kind": 32,
"children": [
- 226,
- 227,
- 224,
- 225
+ 241,
+ 242,
+ 239,
+ 240
]
}
],
@@ -7118,7 +6911,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 219,
+ "id": 234,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -7132,7 +6925,7 @@
],
"inheritedFrom": {
"type": "reference",
- "id": 219,
+ "id": 234,
"name": "PostgrestQueryBuilder.upsert"
}
}
@@ -7142,35 +6935,35 @@
"title": "Constructors",
"kind": 512,
"children": [
- 178
+ 193
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 177,
- 176,
- 248,
- 243,
- 241,
- 247,
- 249,
- 242
+ 192,
+ 191,
+ 263,
+ 258,
+ 256,
+ 262,
+ 264,
+ 257
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 235,
- 204,
- 190,
- 197,
- 252,
250,
- 228,
- 219
+ 219,
+ 205,
+ 212,
+ 267,
+ 265,
+ 243,
+ 234
]
}
],
@@ -7218,7 +7011,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 174
+ 189
]
}
],
@@ -7231,7 +7024,7 @@
]
},
{
- "id": 147,
+ "id": 162,
"name": "\"lib/SupabaseRealtimeClient\"",
"kind": 1,
"kindString": "Module",
@@ -7241,7 +7034,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/SupabaseRealtimeClient.ts",
"children": [
{
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient",
"kind": 128,
"kindString": "Class",
@@ -7250,7 +7043,7 @@
},
"children": [
{
- "id": 150,
+ "id": 165,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7259,7 +7052,7 @@
},
"signatures": [
{
- "id": 151,
+ "id": 166,
"name": "new SupabaseRealtimeClient",
"kind": 16384,
"kindString": "Constructor signature",
@@ -7268,7 +7061,7 @@
},
"parameters": [
{
- "id": 152,
+ "id": 167,
"name": "socket",
"kind": 32768,
"kindString": "Parameter",
@@ -7281,7 +7074,7 @@
}
},
{
- "id": 153,
+ "id": 168,
"name": "schema",
"kind": 32768,
"kindString": "Parameter",
@@ -7294,7 +7087,7 @@
}
},
{
- "id": 154,
+ "id": 169,
"name": "tableName",
"kind": 32768,
"kindString": "Parameter",
@@ -7309,7 +7102,7 @@
],
"type": {
"type": "reference",
- "id": 148,
+ "id": 163,
"name": "SupabaseRealtimeClient"
}
}
@@ -7323,7 +7116,7 @@
]
},
{
- "id": 149,
+ "id": 164,
"name": "subscription",
"kind": 1024,
"kindString": "Property",
@@ -7343,7 +7136,7 @@
}
},
{
- "id": 155,
+ "id": 170,
"name": "getPayloadRecords",
"kind": 2048,
"kindString": "Method",
@@ -7353,7 +7146,7 @@
},
"signatures": [
{
- "id": 156,
+ "id": 171,
"name": "getPayloadRecords",
"kind": 4096,
"kindString": "Call signature",
@@ -7362,7 +7155,7 @@
},
"parameters": [
{
- "id": 157,
+ "id": 172,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -7378,7 +7171,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 158,
+ "id": 173,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7387,7 +7180,7 @@
},
"children": [
{
- "id": 159,
+ "id": 174,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -7404,7 +7197,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 160,
+ "id": 175,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7415,7 +7208,7 @@
}
},
{
- "id": 161,
+ "id": 176,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -7432,7 +7225,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 162,
+ "id": 177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7448,8 +7241,8 @@
"title": "Variables",
"kind": 32,
"children": [
- 159,
- 161
+ 174,
+ 176
]
}
]
@@ -7466,7 +7259,7 @@
]
},
{
- "id": 163,
+ "id": 178,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -7475,7 +7268,7 @@
},
"signatures": [
{
- "id": 164,
+ "id": 179,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -7487,7 +7280,7 @@
},
"parameters": [
{
- "id": 165,
+ "id": 180,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
@@ -7499,12 +7292,12 @@
},
"type": {
"type": "reference",
- "id": 28,
+ "id": 51,
"name": "SupabaseEventTypes"
}
},
{
- "id": 166,
+ "id": 181,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -7517,7 +7310,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 167,
+ "id": 182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7526,7 +7319,7 @@
},
"signatures": [
{
- "id": 168,
+ "id": 183,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
@@ -7535,7 +7328,7 @@
},
"parameters": [
{
- "id": 169,
+ "id": 184,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -7544,7 +7337,7 @@
},
"type": {
"type": "reference",
- "id": 19,
+ "id": 42,
"typeArguments": [
{
"type": "intrinsic",
@@ -7587,7 +7380,7 @@
]
},
{
- "id": 170,
+ "id": 185,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -7596,7 +7389,7 @@
},
"signatures": [
{
- "id": 171,
+ "id": 186,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -7608,7 +7401,7 @@
},
"parameters": [
{
- "id": 172,
+ "id": 187,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -7642,23 +7435,23 @@
"title": "Constructors",
"kind": 512,
"children": [
- 150
+ 165
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 149
+ 164
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 155,
- 163,
- 170
+ 170,
+ 178,
+ 185
]
}
],
@@ -7676,7 +7469,7 @@
"title": "Classes",
"kind": 128,
"children": [
- 148
+ 163
]
}
],
@@ -7770,7 +7563,7 @@
]
},
{
- "id": 337,
+ "id": 356,
"name": "\"lib/helpers\"",
"kind": 1,
"kindString": "Module",
@@ -7780,7 +7573,7 @@
"originalName": "/home/runner/work/supabase-js/supabase-js/src/lib/helpers.ts",
"children": [
{
- "id": 338,
+ "id": 357,
"name": "uuid",
"kind": 64,
"kindString": "Function",
@@ -7789,7 +7582,7 @@
},
"signatures": [
{
- "id": 339,
+ "id": 358,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
@@ -7816,7 +7609,7 @@
"title": "Functions",
"kind": 64,
"children": [
- 338
+ 357
]
}
],
@@ -7840,91 +7633,715 @@
"children": [
{
"id": 7,
- "name": "SupabaseClientOptions",
- "kind": 4194304,
- "kindString": "Type alias",
+ "name": "SupabaseAuthClientOptions",
+ "kind": 256,
+ "kindString": "Interface",
"flags": {
"isExported": true
},
- "sources": [
+ "children": [
{
- "fileName": "src/lib/types.ts",
- "line": 3,
- "character": 33
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 8,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
+ "id": 25,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
"flags": {
- "isExported": true
+ "isExported": true,
+ "isOptional": true
},
- "children": [
+ "sources": [
{
- "id": 14,
- "name": "autoRefreshToken",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "comment": {
- "shortText": "Automatically refreshes the token for logged in users."
+ {
+ "type": "intrinsic",
+ "name": "false"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 15,
- "character": 18
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "false"
- },
- {
- "type": "intrinsic",
- "name": "true"
- }
- ]
+ {
+ "type": "intrinsic",
+ "name": "true"
}
- },
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 15,
+ "name": "__type.autoRefreshToken"
+ }
+ },
+ {
+ "id": 28,
+ "name": "cookieOptions",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
{
- "id": 16,
- "name": "detectSessionInUrl",
- "kind": 32,
- "kindString": "Variable",
- "flags": {
- "isExported": true,
- "isOptional": true
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CookieOptions"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 18,
+ "name": "__type.cookieOptions"
+ }
+ },
+ {
+ "id": 24,
+ "name": "detectSessionInUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
},
- "comment": {
- "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ {
+ "type": "intrinsic",
+ "name": "false"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 23,
- "character": 20
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 14,
+ "name": "__type.detectSessionInUrl"
+ }
+ },
+ {
+ "id": 20,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 21,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 22,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 23,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 10,
+ "name": "__type.headers"
+ }
+ },
+ {
+ "id": 27,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 45,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupportedStorage"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 17,
+ "name": "__type.localStorage"
+ }
+ },
+ {
+ "id": 26,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 44,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 16,
+ "name": "__type.persistSession"
+ }
+ },
+ {
+ "id": 19,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 38,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 9,
+ "name": "__type.url"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 25,
+ 28,
+ 24,
+ 20,
+ 27,
+ 26,
+ 19
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 42
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 15,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 18,
+ "name": "cookieOptions",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CookieOptions"
+ }
+ },
+ {
+ "id": 14,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 10,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 39,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 11,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 12,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 13,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 17,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 45,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "SupportedStorage"
+ }
+ },
+ {
+ "id": 16,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 44,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 9,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 38,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 15,
+ 18,
+ 14,
+ 10,
+ 17,
+ 16,
+ 9
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 50
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 29,
+ "name": "GoTrueClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 4,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "unknown",
+ "name": "0"
+ },
+ "objectType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "name": "GoTrueClient"
+ }
+ }
+ ],
+ "name": "ConstructorParameters"
+ }
+ }
+ },
+ {
+ "id": 30,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 31,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 37,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Automatically refreshes the token for logged in users."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 20,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 39,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
"name": "undefined"
},
{
@@ -7939,7 +8356,7 @@
}
},
{
- "id": 10,
+ "id": 33,
"name": "headers",
"kind": 32,
"kindString": "Variable",
@@ -7953,7 +8370,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 11,
+ "line": 16,
"character": 9
}
],
@@ -7967,7 +8384,7 @@
{
"type": "reflection",
"declaration": {
- "id": 11,
+ "id": 34,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -7976,7 +8393,7 @@
},
"indexSignature": [
{
- "id": 12,
+ "id": 35,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
@@ -7985,7 +8402,7 @@
},
"parameters": [
{
- "id": 13,
+ "id": 36,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
@@ -8010,7 +8427,7 @@
}
},
{
- "id": 17,
+ "id": 40,
"name": "localStorage",
"kind": 32,
"kindString": "Variable",
@@ -8024,17 +8441,24 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 27,
+ "line": 32,
"character": 14
}
],
"type": {
- "type": "reference",
- "name": "Storage"
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "stringLiteral",
+ "value": "localStorage"
+ },
+ "objectType": {
+ "type": "reference",
+ "name": "SupabaseAuthClientOptions"
+ }
}
},
{
- "id": 15,
+ "id": 38,
"name": "persistSession",
"kind": 32,
"kindString": "Variable",
@@ -8048,7 +8472,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 19,
+ "line": 24,
"character": 16
}
],
@@ -8071,7 +8495,7 @@
}
},
{
- "id": 18,
+ "id": 41,
"name": "realtime",
"kind": 32,
"kindString": "Variable",
@@ -8085,7 +8509,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 32,
+ "line": 37,
"character": 10
}
],
@@ -8095,7 +8519,7 @@
}
},
{
- "id": 9,
+ "id": 32,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -8109,7 +8533,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 7,
+ "line": 12,
"character": 8
}
],
@@ -8133,20 +8557,20 @@
"title": "Variables",
"kind": 32,
"children": [
- 14,
- 16,
- 10,
- 17,
- 15,
- 18,
- 9
+ 37,
+ 39,
+ 33,
+ 40,
+ 38,
+ 41,
+ 32
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 3,
+ "line": 8,
"character": 35
}
]
@@ -8154,7 +8578,7 @@
}
},
{
- "id": 28,
+ "id": 51,
"name": "SupabaseEventTypes",
"kind": 4194304,
"kindString": "Type alias",
@@ -8164,7 +8588,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 51,
"character": 30
}
],
@@ -8191,7 +8615,7 @@
}
},
{
- "id": 19,
+ "id": 42,
"name": "SupabaseRealtimePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -8200,7 +8624,7 @@
},
"typeParameter": [
{
- "id": 20,
+ "id": 43,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -8212,14 +8636,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 40,
"character": 35
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 21,
+ "id": 44,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -8228,7 +8652,7 @@
},
"children": [
{
- "id": 22,
+ "id": 45,
"name": "commit_timestamp",
"kind": 32,
"kindString": "Variable",
@@ -8238,7 +8662,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 41,
"character": 18
}
],
@@ -8248,7 +8672,7 @@
}
},
{
- "id": 23,
+ "id": 46,
"name": "eventType",
"kind": 32,
"kindString": "Variable",
@@ -8258,7 +8682,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 37,
+ "line": 42,
"character": 11
}
],
@@ -8281,7 +8705,7 @@
}
},
{
- "id": 26,
+ "id": 49,
"name": "new",
"kind": 32,
"kindString": "Variable",
@@ -8294,7 +8718,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 41,
+ "line": 46,
"character": 5
}
],
@@ -8304,7 +8728,7 @@
}
},
{
- "id": 27,
+ "id": 50,
"name": "old",
"kind": 32,
"kindString": "Variable",
@@ -8317,7 +8741,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 43,
+ "line": 48,
"character": 5
}
],
@@ -8327,7 +8751,7 @@
}
},
{
- "id": 24,
+ "id": 47,
"name": "schema",
"kind": 32,
"kindString": "Variable",
@@ -8337,7 +8761,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 38,
+ "line": 43,
"character": 8
}
],
@@ -8347,7 +8771,7 @@
}
},
{
- "id": 25,
+ "id": 48,
"name": "table",
"kind": 32,
"kindString": "Variable",
@@ -8357,7 +8781,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 39,
+ "line": 44,
"character": 7
}
],
@@ -8372,19 +8796,19 @@
"title": "Variables",
"kind": 32,
"children": [
- 22,
- 23,
- 26,
- 27,
- 24,
- 25
+ 45,
+ 46,
+ 49,
+ 50,
+ 47,
+ 48
]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 35,
+ "line": 40,
"character": 40
}
]
@@ -8393,13 +8817,21 @@
}
],
"groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 7
+ ]
+ },
{
"title": "Type aliases",
"kind": 4194304,
"children": [
- 7,
- 28,
- 19
+ 29,
+ 30,
+ 51,
+ 42
]
}
],
@@ -8467,14 +8899,15 @@
"title": "Modules",
"kind": 1,
"children": [
- 264,
- 331,
- 27,
- 173,
- 147,
- 1,
- 337,
- 4
+ 279,
+ 350,
+ 52,
+ 188,
+ 162,
+ 3,
+ 356,
+ 6,
+ 1
]
}
]