@nerdfolio/ba-guest-list 0.0.9 → 0.1.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.cjs +7 -5
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +7 -5
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -82,7 +82,7 @@ var guestList = (options) => {
|
|
|
82
82
|
}),
|
|
83
83
|
metadata: {
|
|
84
84
|
openapi: {
|
|
85
|
-
description: "Sign in
|
|
85
|
+
description: "Sign in via a guest list",
|
|
86
86
|
responses: {
|
|
87
87
|
200: {
|
|
88
88
|
description: "Sign in as a guest successful",
|
|
@@ -91,13 +91,15 @@ var guestList = (options) => {
|
|
|
91
91
|
schema: {
|
|
92
92
|
type: "object",
|
|
93
93
|
properties: {
|
|
94
|
+
token: {
|
|
95
|
+
type: "string",
|
|
96
|
+
description: "Session token for the authenticated session"
|
|
97
|
+
},
|
|
94
98
|
user: {
|
|
95
99
|
$ref: "#/components/schemas/User"
|
|
96
|
-
},
|
|
97
|
-
session: {
|
|
98
|
-
$ref: "#/components/schemas/Session"
|
|
99
100
|
}
|
|
100
|
-
}
|
|
101
|
+
},
|
|
102
|
+
required: ["token", "user"]
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -91,13 +91,15 @@ declare const guestList: (options?: GuestListOptions) => {
|
|
|
91
91
|
schema: {
|
|
92
92
|
type: "object";
|
|
93
93
|
properties: {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
token: {
|
|
95
|
+
type: string;
|
|
96
|
+
description: string;
|
|
96
97
|
};
|
|
97
|
-
|
|
98
|
+
user: {
|
|
98
99
|
$ref: string;
|
|
99
100
|
};
|
|
100
101
|
};
|
|
102
|
+
required: string[];
|
|
101
103
|
};
|
|
102
104
|
};
|
|
103
105
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -91,13 +91,15 @@ declare const guestList: (options?: GuestListOptions) => {
|
|
|
91
91
|
schema: {
|
|
92
92
|
type: "object";
|
|
93
93
|
properties: {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
token: {
|
|
95
|
+
type: string;
|
|
96
|
+
description: string;
|
|
96
97
|
};
|
|
97
|
-
|
|
98
|
+
user: {
|
|
98
99
|
$ref: string;
|
|
99
100
|
};
|
|
100
101
|
};
|
|
102
|
+
required: string[];
|
|
101
103
|
};
|
|
102
104
|
};
|
|
103
105
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -55,7 +55,7 @@ var guestList = (options) => {
|
|
|
55
55
|
}),
|
|
56
56
|
metadata: {
|
|
57
57
|
openapi: {
|
|
58
|
-
description: "Sign in
|
|
58
|
+
description: "Sign in via a guest list",
|
|
59
59
|
responses: {
|
|
60
60
|
200: {
|
|
61
61
|
description: "Sign in as a guest successful",
|
|
@@ -64,13 +64,15 @@ var guestList = (options) => {
|
|
|
64
64
|
schema: {
|
|
65
65
|
type: "object",
|
|
66
66
|
properties: {
|
|
67
|
+
token: {
|
|
68
|
+
type: "string",
|
|
69
|
+
description: "Session token for the authenticated session"
|
|
70
|
+
},
|
|
67
71
|
user: {
|
|
68
72
|
$ref: "#/components/schemas/User"
|
|
69
|
-
},
|
|
70
|
-
session: {
|
|
71
|
-
$ref: "#/components/schemas/Session"
|
|
72
73
|
}
|
|
73
|
-
}
|
|
74
|
+
},
|
|
75
|
+
required: ["token", "user"]
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nerdfolio/ba-guest-list",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Similar to anonymous, but with a name that must be on a guest list. Useful for testing or demo with fixed logins",
|
|
5
5
|
"repository": "https://github.com/nerdfolio/better-auth-goodies",
|
|
6
6
|
"type": "module",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/lodash-es": "^4.17.12",
|
|
32
|
-
"better-auth": "1.2.
|
|
32
|
+
"better-auth": "1.2.12"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"better-auth": "1.2.
|
|
35
|
+
"better-auth": "1.2.12"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"lodash-es": "^4.17.21",
|