@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.1.70-alpha.2",
3
+ "version": "0.1.70-alpha.3",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -216,7 +216,7 @@ export function useAuthentication(partnerId: string, { skipAutoConnect = false }
216
216
  localStorage.removeItem("b3-user");
217
217
  }
218
218
 
219
- app.logout();
219
+ await app.logout();
220
220
  debug("@@logout:loggedOut");
221
221
 
222
222
  setIsAuthenticated(false);