@clivly/auth-clerk 0.11.0-next.0 → 0.11.0
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.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -10,10 +10,10 @@ interface ClerkLikeUser {
|
|
|
10
10
|
lastName?: string | null;
|
|
11
11
|
primaryEmailAddressId?: string | null;
|
|
12
12
|
}
|
|
13
|
-
declare function clerkUserToClivlyUser(user: ClerkLikeUser): ClivlyUser | null;
|
|
13
|
+
export declare function clerkUserToClivlyUser(user: ClerkLikeUser): ClivlyUser | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/index.d.ts
|
|
16
|
-
interface ClerkAuthAdapterOptions {
|
|
16
|
+
export interface ClerkAuthAdapterOptions {
|
|
17
17
|
/** Origins allowed to make authenticated requests (CSRF protection). */
|
|
18
18
|
authorizedParties?: string[];
|
|
19
19
|
/** Clerk publishable key (pk_…) — improves handshake reliability. */
|
|
@@ -26,6 +26,6 @@ interface ClerkAuthAdapterOptions {
|
|
|
26
26
|
* app's Clerk session on each request. Answers "who is this person?" only —
|
|
27
27
|
* CRM authorization lives in the separate `crm_members` layer.
|
|
28
28
|
*/
|
|
29
|
-
declare function createClerkAuthAdapter(options: ClerkAuthAdapterOptions): ClivlyAuthAdapter;
|
|
29
|
+
export declare function createClerkAuthAdapter(options: ClerkAuthAdapterOptions): ClivlyAuthAdapter;
|
|
30
30
|
//#endregion
|
|
31
|
-
export {
|
|
31
|
+
export type { ClerkLikeUser };
|
package/dist/index.d.mts
CHANGED
|
@@ -10,10 +10,10 @@ interface ClerkLikeUser {
|
|
|
10
10
|
lastName?: string | null;
|
|
11
11
|
primaryEmailAddressId?: string | null;
|
|
12
12
|
}
|
|
13
|
-
declare function clerkUserToClivlyUser(user: ClerkLikeUser): ClivlyUser | null;
|
|
13
|
+
export declare function clerkUserToClivlyUser(user: ClerkLikeUser): ClivlyUser | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/index.d.ts
|
|
16
|
-
interface ClerkAuthAdapterOptions {
|
|
16
|
+
export interface ClerkAuthAdapterOptions {
|
|
17
17
|
/** Origins allowed to make authenticated requests (CSRF protection). */
|
|
18
18
|
authorizedParties?: string[];
|
|
19
19
|
/** Clerk publishable key (pk_…) — improves handshake reliability. */
|
|
@@ -26,6 +26,6 @@ interface ClerkAuthAdapterOptions {
|
|
|
26
26
|
* app's Clerk session on each request. Answers "who is this person?" only —
|
|
27
27
|
* CRM authorization lives in the separate `crm_members` layer.
|
|
28
28
|
*/
|
|
29
|
-
declare function createClerkAuthAdapter(options: ClerkAuthAdapterOptions): ClivlyAuthAdapter;
|
|
29
|
+
export declare function createClerkAuthAdapter(options: ClerkAuthAdapterOptions): ClivlyAuthAdapter;
|
|
30
30
|
//#endregion
|
|
31
|
-
export {
|
|
31
|
+
export type { ClerkLikeUser };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clivly/auth-clerk",
|
|
3
|
-
"version": "0.11.0
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Clerk implementation of Clivly's ClivlyAuthAdapter.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@clivly/core": "0.11.0
|
|
26
|
+
"@clivly/core": "0.11.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@clerk/backend": "^3.16.1",
|