skyllful-auth-integration 1.0.2 → 1.0.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.
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export interface UserInfo {
5
5
  hasSimulatorPermission: boolean;
6
6
  hasIqPermission: boolean;
7
7
  hasStudioPermission: boolean;
8
+ hasAdminPermission: boolean;
8
9
  }
9
10
  /**
10
11
  * Get user information from the current browser URL
package/dist/index.js CHANGED
@@ -109,7 +109,8 @@ async function getUserInfo() {
109
109
  lastName,
110
110
  hasSimulatorPermission: permissions.includes('simulator'),
111
111
  hasIqPermission: permissions.includes('iq'),
112
- hasStudioPermission: permissions.includes('studio')
112
+ hasStudioPermission: permissions.includes('studio'),
113
+ hasAdminPermission: permissions.includes('admin')
113
114
  };
114
115
  }
115
116
  exports.default = getUserInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skyllful-auth-integration",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Parse authentication parameters from URL and extract user information",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",