@meistrari/auth-nuxt 3.23.0 → 3.23.1

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/auth-nuxt",
3
3
  "configKey": "telaAuth",
4
- "version": "3.23.0",
4
+ "version": "3.23.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -79,12 +79,12 @@ export interface UseTelaApplicationOrganizationReturn {
79
79
  *
80
80
  * For an application-scoped invitation, accepting **grants the user access to
81
81
  * the associated application** (the Auth API writes an entitlement rule) and
82
- * returns that application's `homeUrl`. For an invitation with no application,
83
- * `homeUrl` is `null`. The active organization's member list is refreshed
84
- * afterwards.
82
+ * returns that application's identity and `homeUrl`. For an invitation with no
83
+ * application, it returns the configured post-acceptance URL. The active
84
+ * organization's member list is refreshed afterwards.
85
85
  *
86
86
  * @param id - The invitation id to accept.
87
- * @returns The accepted member and the application's home URL, or `null`.
87
+ * @returns The accepted member and the invitation's post-acceptance context.
88
88
  */
89
89
  acceptInvitation: (id: string) => Promise<AcceptInvitationResult>;
90
90
  /**
@@ -46,8 +46,8 @@ export interface UseTelaOrganizationReturn {
46
46
  /**
47
47
  * Accepts an organization invitation and updates the active organization state.
48
48
  * @param id - The invitation ID to accept
49
- * @returns The accepted member and the application's `homeUrl` when the invitation
50
- * is scoped to an application that defines one; otherwise `null`.
49
+ * @returns The accepted member, application context for app-scoped invitations,
50
+ * and the configured post-acceptance URL for plain organization invitations.
51
51
  */
52
52
  acceptInvitation: (id: string) => Promise<AcceptInvitationResult>;
53
53
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/auth-nuxt",
3
- "version": "3.23.0",
3
+ "version": "3.23.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -36,7 +36,7 @@
36
36
  "docs": "nuxt-module-build prepare && typedoc"
37
37
  },
38
38
  "dependencies": {
39
- "@meistrari/auth-core": "1.33.0",
39
+ "@meistrari/auth-core": "1.33.1",
40
40
  "jose": "6.1.3"
41
41
  },
42
42
  "peerDependencies": {