@iankibetsh/shframework 0.8.9 → 1.0.0

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/library.js CHANGED
@@ -4161,7 +4161,7 @@ const useUserStore = pinia.defineStore('user-store', {
4161
4161
  this.user = user;
4162
4162
  shApis.doGet('auth/user').then(res => {
4163
4163
  const user = res.data.user;
4164
- ShStorage.setItem('user',res.data);
4164
+ ShStorage.setItem('user',res.data.user);
4165
4165
  user.isAllowedTo = function (slug) {
4166
4166
  if (this.permissions) {
4167
4167
  let permissions = [];
package/dist/library.mjs CHANGED
@@ -4149,7 +4149,7 @@ const useUserStore = defineStore('user-store', {
4149
4149
  this.user = user;
4150
4150
  shApis.doGet('auth/user').then(res => {
4151
4151
  const user = res.data.user;
4152
- ShStorage.setItem('user',res.data);
4152
+ ShStorage.setItem('user',res.data.user);
4153
4153
  user.isAllowedTo = function (slug) {
4154
4154
  if (this.permissions) {
4155
4155
  let permissions = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "0.8.9",
3
+ "version": "1.0.0",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",