@jskit-ai/auth-web 0.1.48 → 0.1.49

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.
@@ -1,7 +1,7 @@
1
1
  export default Object.freeze({
2
2
  "packageVersion": 1,
3
3
  "packageId": "@jskit-ai/auth-web",
4
- "version": "0.1.48",
4
+ "version": "0.1.49",
5
5
  "kind": "runtime",
6
6
  "description": "Auth web module: Fastify auth routes plus web login/sign-out scaffolds.",
7
7
  "dependsOn": [
@@ -220,10 +220,10 @@ export default Object.freeze({
220
220
  "@tanstack/vue-query": "5.92.12",
221
221
  "@mdi/js": "^7.4.47",
222
222
  "@fastify/type-provider-typebox": "^6.1.0",
223
- "@jskit-ai/auth-core": "0.1.46",
224
- "@jskit-ai/http-runtime": "0.1.46",
225
- "@jskit-ai/kernel": "0.1.47",
226
- "@jskit-ai/shell-web": "0.1.46",
223
+ "@jskit-ai/auth-core": "0.1.47",
224
+ "@jskit-ai/http-runtime": "0.1.47",
225
+ "@jskit-ai/kernel": "0.1.48",
226
+ "@jskit-ai/shell-web": "0.1.47",
227
227
  "vuetify": "^4.0.0"
228
228
  },
229
229
  "dev": {}
@@ -282,7 +282,7 @@ export default Object.freeze({
282
282
  "file": "src/placement.js",
283
283
  "position": "bottom",
284
284
  "skipIfContains": "id: \"auth.profile.widget\"",
285
- "value": "\naddPlacement({\n id: \"auth.profile.widget\",\n target: \"shell-layout:top-right\",\n surfaces: [\"*\"],\n order: 1000,\n componentToken: \"auth.web.profile.widget\"\n});\n\naddPlacement({\n id: \"auth.profile.menu.sign-in\",\n target: \"auth-profile-menu:primary-menu\",\n surfaces: [\"*\"],\n order: 200,\n componentToken: \"auth.web.profile.menu.link-item\",\n props: {\n label: \"Sign in\",\n to: \"/auth/login\"\n },\n when: ({ auth }) => !Boolean(auth?.authenticated)\n});\n\naddPlacement({\n id: \"auth.profile.menu.sign-out\",\n target: \"auth-profile-menu:primary-menu\",\n surfaces: [\"*\"],\n order: 1000,\n componentToken: \"auth.web.profile.menu.link-item\",\n props: {\n label: \"Sign out\",\n to: \"/auth/signout\"\n },\n when: ({ auth }) => Boolean(auth?.authenticated)\n});\n",
285
+ "value": "\naddPlacement({\n id: \"auth.profile.widget\",\n target: \"shell-layout:top-right\",\n surfaces: [\"*\"],\n order: 1000,\n componentToken: \"auth.web.profile.widget\"\n});\n\naddPlacement({\n id: \"auth.profile.menu.sign-in\",\n target: \"auth-profile-menu:primary-menu\",\n surfaces: [\"*\"],\n order: 200,\n componentToken: \"auth.web.profile.menu.link-item\",\n props: {\n label: \"Sign in\",\n to: \"/auth/login\"\n },\n when: ({ auth }) => auth?.authenticated !== true\n});\n\naddPlacement({\n id: \"auth.profile.menu.sign-out\",\n target: \"auth-profile-menu:primary-menu\",\n surfaces: [\"*\"],\n order: 1000,\n componentToken: \"auth.web.profile.menu.link-item\",\n props: {\n label: \"Sign out\",\n to: \"/auth/signout\"\n },\n when: ({ auth }) => auth?.authenticated === true\n});\n",
286
286
  "reason": "Append auth profile placement entries into app-owned placement registry.",
287
287
  "category": "auth-web",
288
288
  "id": "auth-web-placement-block"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/auth-web",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tanstack/vue-query": "^5.90.5",
21
- "@jskit-ai/auth-core": "0.1.46",
21
+ "@jskit-ai/auth-core": "0.1.47",
22
22
  "@mdi/js": "^7.4.47",
23
23
  "@fastify/type-provider-typebox": "^6.1.0",
24
- "@jskit-ai/kernel": "0.1.47",
25
- "@jskit-ai/shell-web": "0.1.46",
24
+ "@jskit-ai/kernel": "0.1.48",
25
+ "@jskit-ai/shell-web": "0.1.47",
26
26
  "pinia": "^3.0.4",
27
27
  "vuetify": "^4.0.0",
28
- "@jskit-ai/http-runtime": "0.1.46"
28
+ "@jskit-ai/http-runtime": "0.1.47"
29
29
  }
30
30
  }