@clivly/auth-workos 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
|
@@ -6,10 +6,10 @@ interface WorkOSLikeUser {
|
|
|
6
6
|
id: string;
|
|
7
7
|
lastName?: string | null;
|
|
8
8
|
}
|
|
9
|
-
declare function workosUserToClivlyUser(user: WorkOSLikeUser): ClivlyUser | null;
|
|
9
|
+
export declare function workosUserToClivlyUser(user: WorkOSLikeUser): ClivlyUser | null;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/index.d.ts
|
|
12
|
-
interface WorkOSAuthAdapterOptions {
|
|
12
|
+
export interface WorkOSAuthAdapterOptions {
|
|
13
13
|
/** WorkOS API key (sk_…). */
|
|
14
14
|
apiKey: string;
|
|
15
15
|
/** WorkOS client ID (client_…). */
|
|
@@ -24,6 +24,6 @@ interface WorkOSAuthAdapterOptions {
|
|
|
24
24
|
* resolves the CRM end-user's identity. Answers "who is this person?" only —
|
|
25
25
|
* CRM authorization lives in the separate `crm_members` layer.
|
|
26
26
|
*/
|
|
27
|
-
declare function createWorkOSAuthAdapter(options: WorkOSAuthAdapterOptions): ClivlyAuthAdapter;
|
|
27
|
+
export declare function createWorkOSAuthAdapter(options: WorkOSAuthAdapterOptions): ClivlyAuthAdapter;
|
|
28
28
|
//#endregion
|
|
29
|
-
export {
|
|
29
|
+
export type { WorkOSLikeUser };
|
package/dist/index.d.mts
CHANGED
|
@@ -6,10 +6,10 @@ interface WorkOSLikeUser {
|
|
|
6
6
|
id: string;
|
|
7
7
|
lastName?: string | null;
|
|
8
8
|
}
|
|
9
|
-
declare function workosUserToClivlyUser(user: WorkOSLikeUser): ClivlyUser | null;
|
|
9
|
+
export declare function workosUserToClivlyUser(user: WorkOSLikeUser): ClivlyUser | null;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/index.d.ts
|
|
12
|
-
interface WorkOSAuthAdapterOptions {
|
|
12
|
+
export interface WorkOSAuthAdapterOptions {
|
|
13
13
|
/** WorkOS API key (sk_…). */
|
|
14
14
|
apiKey: string;
|
|
15
15
|
/** WorkOS client ID (client_…). */
|
|
@@ -24,6 +24,6 @@ interface WorkOSAuthAdapterOptions {
|
|
|
24
24
|
* resolves the CRM end-user's identity. Answers "who is this person?" only —
|
|
25
25
|
* CRM authorization lives in the separate `crm_members` layer.
|
|
26
26
|
*/
|
|
27
|
-
declare function createWorkOSAuthAdapter(options: WorkOSAuthAdapterOptions): ClivlyAuthAdapter;
|
|
27
|
+
export declare function createWorkOSAuthAdapter(options: WorkOSAuthAdapterOptions): ClivlyAuthAdapter;
|
|
28
28
|
//#endregion
|
|
29
|
-
export {
|
|
29
|
+
export type { WorkOSLikeUser };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clivly/auth-workos",
|
|
3
|
-
"version": "0.11.0
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "WorkOS 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
|
"@workos-inc/node": "^10.8.0",
|