cauthy-auth 0.38.0 → 0.38.2
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/{cauthy-C-GoRXy9.d.mts → cauthy-3h6d8YXl.d.mts} +1 -1
- package/dist/{cauthy-BUozWD72.d.ts → cauthy-C-_Bj6-L.d.ts} +1 -1
- package/dist/cli.js +3 -2
- package/dist/client.d.mts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/express.d.mts +2 -2
- package/dist/express.d.ts +2 -2
- package/dist/fastify.d.mts +2 -2
- package/dist/fastify.d.ts +2 -2
- package/dist/hono.d.mts +2 -2
- package/dist/hono.d.ts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/next.d.mts +2 -2
- package/dist/next.d.ts +2 -2
- package/dist/svelte.d.mts +2 -2
- package/dist/svelte.d.ts +2 -2
- package/dist/{system-DUGV040y.d.mts → system-CqPa5xR5.d.mts} +6 -0
- package/dist/{system-Bz4haPrI.d.ts → system-Dssq1JUJ.d.ts} +6 -0
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/next.d.mts
CHANGED
package/dist/next.d.ts
CHANGED
package/dist/svelte.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SessionStore, SessionState, SessionStoreOptions } from './client.mjs';
|
|
2
2
|
export { Account, AccountSession, AuthClient, AuthError, AuthMethods, AuthResult, Passkey, PasskeyKind, SSOConnection } from './client.mjs';
|
|
3
|
-
import { q as PublicSession } from './system-
|
|
4
|
-
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-
|
|
3
|
+
import { q as PublicSession } from './system-CqPa5xR5.mjs';
|
|
4
|
+
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-CqPa5xR5.mjs';
|
|
5
5
|
import './theme.mjs';
|
|
6
6
|
import './validate-sEXG82po.mjs';
|
|
7
7
|
import 'jose';
|
package/dist/svelte.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SessionStore, SessionState, SessionStoreOptions } from './client.js';
|
|
2
2
|
export { Account, AccountSession, AuthClient, AuthError, AuthMethods, AuthResult, Passkey, PasskeyKind, SSOConnection } from './client.js';
|
|
3
|
-
import { q as PublicSession } from './system-
|
|
4
|
-
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-
|
|
3
|
+
import { q as PublicSession } from './system-Dssq1JUJ.js';
|
|
4
|
+
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-Dssq1JUJ.js';
|
|
5
5
|
import './theme.js';
|
|
6
6
|
import './validate-sEXG82po.js';
|
|
7
7
|
import 'jose';
|
|
@@ -439,6 +439,12 @@ interface SystemKey {
|
|
|
439
439
|
privateKey: string | JWK;
|
|
440
440
|
/** The id the public key is published under (`kid`). */
|
|
441
441
|
keyId: string;
|
|
442
|
+
/**
|
|
443
|
+
* The client the key belongs to, when it is not the one people sign in
|
|
444
|
+
* with: a public sign-in client has no key of its own, and the system's
|
|
445
|
+
* identity is a confidential client beside it. Default: the client id.
|
|
446
|
+
*/
|
|
447
|
+
clientId?: string;
|
|
442
448
|
}
|
|
443
449
|
interface SystemOptions {
|
|
444
450
|
/** Cauthy's address. Default: `CAUTHY_ISSUER`. */
|
|
@@ -439,6 +439,12 @@ interface SystemKey {
|
|
|
439
439
|
privateKey: string | JWK;
|
|
440
440
|
/** The id the public key is published under (`kid`). */
|
|
441
441
|
keyId: string;
|
|
442
|
+
/**
|
|
443
|
+
* The client the key belongs to, when it is not the one people sign in
|
|
444
|
+
* with: a public sign-in client has no key of its own, and the system's
|
|
445
|
+
* identity is a confidential client beside it. Default: the client id.
|
|
446
|
+
*/
|
|
447
|
+
clientId?: string;
|
|
442
448
|
}
|
|
443
449
|
interface SystemOptions {
|
|
444
450
|
/** Cauthy's address. Default: `CAUTHY_ISSUER`. */
|
package/dist/vue.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ShallowRef, Plugin } from 'vue';
|
|
2
2
|
import { SessionStore, SessionState, SessionStoreOptions, AuthClient } from './client.mjs';
|
|
3
3
|
export { Account, AccountSession, AuthError, AuthMethods, AuthResult, Passkey, PasskeyKind, SSOConnection } from './client.mjs';
|
|
4
|
-
import { q as PublicSession } from './system-
|
|
5
|
-
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-
|
|
4
|
+
import { q as PublicSession } from './system-CqPa5xR5.mjs';
|
|
5
|
+
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-CqPa5xR5.mjs';
|
|
6
6
|
import './theme.mjs';
|
|
7
7
|
import './validate-sEXG82po.mjs';
|
|
8
8
|
import 'jose';
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ShallowRef, Plugin } from 'vue';
|
|
2
2
|
import { SessionStore, SessionState, SessionStoreOptions, AuthClient } from './client.js';
|
|
3
3
|
export { Account, AccountSession, AuthError, AuthMethods, AuthResult, Passkey, PasskeyKind, SSOConnection } from './client.js';
|
|
4
|
-
import { q as PublicSession } from './system-
|
|
5
|
-
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-
|
|
4
|
+
import { q as PublicSession } from './system-Dssq1JUJ.js';
|
|
5
|
+
export { P as PermissionOf, m as Policy, R as RoleOf, s as SessionOrganization, u as SessionUser, y as can, B as definePolicy } from './system-Dssq1JUJ.js';
|
|
6
6
|
import './theme.js';
|
|
7
7
|
import './validate-sEXG82po.js';
|
|
8
8
|
import 'jose';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cauthy-auth",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.2",
|
|
4
4
|
"description": "Sign in with Cauthy: one route to mount, getSession on the server, useSession in the browser. No database, no screens to build.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|