@b3dotfun/sdk 0.1.70-alpha.2 → 0.1.70-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -192,7 +192,7 @@ function useAuthentication(partnerId, { skipAutoConnect = false } = {}) {
|
|
|
192
192
|
localStorage.removeItem("lastAuthProvider");
|
|
193
193
|
localStorage.removeItem("b3-user");
|
|
194
194
|
}
|
|
195
|
-
app_1.default.logout();
|
|
195
|
+
await app_1.default.logout();
|
|
196
196
|
debug("@@logout:loggedOut");
|
|
197
197
|
setIsAuthenticated(false);
|
|
198
198
|
setIsConnected(false);
|
|
@@ -186,7 +186,7 @@ export function useAuthentication(partnerId, { skipAutoConnect = false } = {}) {
|
|
|
186
186
|
localStorage.removeItem("lastAuthProvider");
|
|
187
187
|
localStorage.removeItem("b3-user");
|
|
188
188
|
}
|
|
189
|
-
app.logout();
|
|
189
|
+
await app.logout();
|
|
190
190
|
debug("@@logout:loggedOut");
|
|
191
191
|
setIsAuthenticated(false);
|
|
192
192
|
setIsConnected(false);
|
package/package.json
CHANGED