@mccaskie-labs/workbench-accounts 0.1.2 → 0.1.4
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/CHANGELOG.md +16 -0
- package/dist/forms.d.ts +12 -12
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @mccaskie-labs/workbench-accounts
|
|
2
2
|
|
|
3
|
+
## 0.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @mccaskie-labs/workbench-forms@0.14.0
|
|
9
|
+
- @mccaskie-labs/workbench-supabase@0.6.3
|
|
10
|
+
|
|
11
|
+
## 0.1.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [c8797b1]
|
|
16
|
+
- @mccaskie-labs/workbench-forms@0.13.0
|
|
17
|
+
- @mccaskie-labs/workbench-supabase@0.6.2
|
|
18
|
+
|
|
3
19
|
## 0.1.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/forms.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { type Bound, type Context } from "@mccaskie-labs/workbench-forms";
|
|
1
|
+
import { type Bound, type Context, type EmailField, type Form, type TextField, type TickField } from "@mccaskie-labs/workbench-forms";
|
|
2
2
|
/** A display name: not unique, changeable (authentication standard C8). */
|
|
3
3
|
export declare const NAME_LIMIT = "accounts.name";
|
|
4
4
|
export declare const NAME_MAX = 80;
|
|
5
|
-
export declare const SIGN_IN_FORM:
|
|
6
|
-
email:
|
|
5
|
+
export declare const SIGN_IN_FORM: Form<{
|
|
6
|
+
email: EmailField;
|
|
7
7
|
}>;
|
|
8
|
-
export declare const JOIN_FORM:
|
|
9
|
-
email:
|
|
10
|
-
name:
|
|
8
|
+
export declare const JOIN_FORM: Form<{
|
|
9
|
+
email: EmailField;
|
|
10
|
+
name: TextField;
|
|
11
11
|
}>;
|
|
12
12
|
/** Join with the "I am 18 or over" tick: a statement recorded with its time, never proof (C7). */
|
|
13
|
-
export declare const JOIN_ADULT_FORM:
|
|
14
|
-
email:
|
|
15
|
-
name:
|
|
16
|
-
adult:
|
|
13
|
+
export declare const JOIN_ADULT_FORM: Form<{
|
|
14
|
+
email: EmailField;
|
|
15
|
+
name: TextField;
|
|
16
|
+
adult: TickField;
|
|
17
17
|
}>;
|
|
18
|
-
export declare const NAME_FORM:
|
|
19
|
-
name:
|
|
18
|
+
export declare const NAME_FORM: Form<{
|
|
19
|
+
name: TextField;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const BOUNDS: Readonly<Record<string, Bound>>;
|
|
22
22
|
export declare const FORM_CONTEXT: Context;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mccaskie-labs/workbench-accounts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "The ways people sign in to a Workbench app and the account features that go with them: an emailed six-digit code (on in every project), Join, and Your account with the person's name. The Worker makes every Supabase Auth call, the session is one sealed cookie, and codes are sent only after a Turnstile check and per-IP and per-address limits. Passwords, Google and two-step sign-in come later. No Gateway call of its own.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"prepack": "node scripts/build.mjs"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@mccaskie-labs/workbench-forms": "^0.
|
|
47
|
-
"@mccaskie-labs/workbench-supabase": "^0.6.
|
|
46
|
+
"@mccaskie-labs/workbench-forms": "^0.14.0",
|
|
47
|
+
"@mccaskie-labs/workbench-supabase": "^0.6.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "24.19.2",
|