@base44-preview/sdk 0.6.0-pr.23.c0dc7dc → 0.7.0-dev.e78162e

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.
@@ -52,6 +52,8 @@ export function createAuthModule(axios, functionsAxiosClient, appId) {
52
52
  if (typeof window !== "undefined" && window.localStorage) {
53
53
  try {
54
54
  window.localStorage.removeItem("base44_access_token");
55
+ // Remove "token" that is set by the built-in SDK of platform version 2
56
+ window.localStorage.removeItem("token");
55
57
  }
56
58
  catch (e) {
57
59
  console.error("Failed to remove token from localStorage:", e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.6.0-pr.23.c0dc7dc",
3
+ "version": "0.7.0-dev.e78162e",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",