@lobb-js/lobb-ext-auth 0.1.64 → 0.1.65
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/CHANGELOG.md +8 -0
- package/package.json +2 -2
- package/src/auth.ts +2 -2
- package/src/index.ts +3 -3
- package/src/lib/components/pages/settings/index.svelte +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
|
|
3
3
|
|
|
4
4
|
- - -
|
|
5
|
+
## auth-ext-studio@0.1.65 - 2026-02-22
|
|
6
|
+
#### Bug Fixes
|
|
7
|
+
- adding a studio prefix for the studio app - (6607b5a) - malik ben
|
|
8
|
+
#### Miscellaneous Chores
|
|
9
|
+
- (**version**) 0.14.2 - (6ecdc1d) - Cocogitto Bot
|
|
10
|
+
|
|
11
|
+
- - -
|
|
12
|
+
|
|
5
13
|
## auth-ext-studio@0.1.64 - 2026-02-21
|
|
6
14
|
#### Bug Fixes
|
|
7
15
|
- using default export instead of named export for extensions - (37dd485) - malik ben
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobb-js/lobb-ext-auth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.65",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./src/index.ts"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@lobb-js/studio": "0.3.
|
|
15
|
+
"@lobb-js/studio": "0.3.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@lucide/svelte": "^0.563.1",
|
package/src/auth.ts
CHANGED
|
@@ -43,7 +43,7 @@ export class Auth {
|
|
|
43
43
|
this.utils.lobb.setHeaders({
|
|
44
44
|
Authorization: `Bearer ${session.access_token.token}`,
|
|
45
45
|
});
|
|
46
|
-
this.utils.location.navigate("/");
|
|
46
|
+
this.utils.location.navigate("/studio");
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
public async logout() {
|
|
@@ -52,6 +52,6 @@ export class Auth {
|
|
|
52
52
|
route: "/api/extensions/auth/logout",
|
|
53
53
|
});
|
|
54
54
|
localStorage.removeItem("lobb_session");
|
|
55
|
-
this.utils.location.navigate("/extensions/auth/login_page");
|
|
55
|
+
this.utils.location.navigate("/studio/extensions/auth/login_page");
|
|
56
56
|
}
|
|
57
57
|
}
|
package/src/index.ts
CHANGED
|
@@ -20,7 +20,7 @@ export default function extension(utils: ExtensionUtils): Extension {
|
|
|
20
20
|
{
|
|
21
21
|
label: "Auth",
|
|
22
22
|
icon: utils.components.Icons.Key,
|
|
23
|
-
href: "/extensions/auth/settings/users",
|
|
23
|
+
href: "/studio/extensions/auth/settings/users",
|
|
24
24
|
},
|
|
25
25
|
],
|
|
26
26
|
bottom: [
|
|
@@ -28,14 +28,14 @@ export default function extension(utils: ExtensionUtils): Extension {
|
|
|
28
28
|
label: "My User",
|
|
29
29
|
icon: utils.components.Icons.User,
|
|
30
30
|
onclick: () => {
|
|
31
|
-
utils.location.navigate("/extensions/auth/user_settings");
|
|
31
|
+
utils.location.navigate("/studio/extensions/auth/user_settings");
|
|
32
32
|
},
|
|
33
33
|
navs: [
|
|
34
34
|
{
|
|
35
35
|
label: "User Settings",
|
|
36
36
|
icon: utils.components.Icons.Settings,
|
|
37
37
|
onclick: () => {
|
|
38
|
-
utils.location.navigate("/extensions/auth/user_settings");
|
|
38
|
+
utils.location.navigate("/studio/extensions/auth/user_settings");
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
41
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
const components = props.utils.components;
|
|
9
9
|
const { Sidebar } = components;
|
|
10
10
|
const { Icons } = components;
|
|
11
|
-
const auth_settings_page = $derived(props.utils.location.url.pathname.split("/")[
|
|
11
|
+
const auth_settings_page = $derived(props.utils.location.url.pathname.split("/")[5]);
|
|
12
12
|
const isSmall = $derived(!props.utils.mediaQueries.sm.current);
|
|
13
13
|
</script>
|
|
14
14
|
|
|
@@ -23,23 +23,23 @@
|
|
|
23
23
|
title="Auth settings"
|
|
24
24
|
showSearch={false}
|
|
25
25
|
isSelected={(element: any) => {
|
|
26
|
-
const element_page = element.href?.split("/")[
|
|
26
|
+
const element_page = element.href?.split("/")[5];
|
|
27
27
|
return element_page === auth_settings_page;
|
|
28
28
|
}}
|
|
29
29
|
data={[
|
|
30
30
|
{
|
|
31
31
|
name: "Users",
|
|
32
|
-
href: "/extensions/auth/settings/users",
|
|
32
|
+
href: "/studio/extensions/auth/settings/users",
|
|
33
33
|
icon: Icons.Users
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
name: "roles and permissions",
|
|
37
|
-
href: "/extensions/auth/settings/roles_and_permissions",
|
|
37
|
+
href: "/studio/extensions/auth/settings/roles_and_permissions",
|
|
38
38
|
icon: Icons.ShieldUser
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
name: "activity feed",
|
|
42
|
-
href: "/extensions/auth/settings/activity_feed",
|
|
42
|
+
href: "/studio/extensions/auth/settings/activity_feed",
|
|
43
43
|
icon: Icons.ClipboardList
|
|
44
44
|
},
|
|
45
45
|
]} >
|