@nhost/hasura-auth-js
Advanced tools
Comparing version
@@ -836,3 +836,3 @@ "use strict"; | ||
if (!error) return [3 /*break*/, 6]; | ||
if (!(error.message === 'Request failed with status code 401')) return [3 /*break*/, 6]; | ||
if (!(error.status === 401)) return [3 /*break*/, 6]; | ||
return [4 /*yield*/, this._clearSession()]; | ||
@@ -839,0 +839,0 @@ case 5: |
@@ -830,3 +830,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
if (!error) return [3 /*break*/, 6]; | ||
if (!(error.message === 'Request failed with status code 401')) return [3 /*break*/, 6]; | ||
if (!(error.status === 401)) return [3 /*break*/, 6]; | ||
return [4 /*yield*/, this._clearSession()]; | ||
@@ -833,0 +833,0 @@ case 5: |
{ | ||
"name": "@nhost/hasura-auth-js", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Hasura Auth JS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -12,1 +12,2 @@ # Hasura Auth JS SDK | ||
[https://docs.nhost.io/reference/sdk/authentication](https://docs.nhost.io/reference/sdk/authentication) | ||
13
8.33%153842
-0.04%