@mu-cabin/opms-permission 0.8.6 → 0.8.7

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.
package/dist/index.cjs CHANGED
@@ -303,7 +303,7 @@ var Permission = class {
303
303
  /**
304
304
  * Logout and clear userInfo
305
305
  */
306
- async logout(clearData = false) {
306
+ async logout(clearData = true) {
307
307
  await logout(this.baseUrl);
308
308
  clearData && this.clear();
309
309
  }
package/dist/index.mjs CHANGED
@@ -265,7 +265,7 @@ var Permission = class {
265
265
  /**
266
266
  * Logout and clear userInfo
267
267
  */
268
- async logout(clearData = false) {
268
+ async logout(clearData = true) {
269
269
  await logout(this.baseUrl);
270
270
  clearData && this.clear();
271
271
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",