@cosmicdrift/kumiko-bundled-features 0.409.0 → 0.410.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.
Files changed (31) hide show
  1. package/dist/auth-email-password/handlers/login-options.query.js +1 -1
  2. package/dist/auth-email-password/handlers/self-registration-status.query.js +1 -1
  3. package/dist/compliance-profiles/handlers/sub-processors.query.js +4 -1
  4. package/dist/contact/client/contact-website-client.d.ts +26 -0
  5. package/dist/contact/client/contact-website-client.js +1 -0
  6. package/dist/contact/client/index.d.ts +2 -0
  7. package/dist/contact/client/index.js +1 -0
  8. package/dist/contact/feature.js +4 -0
  9. package/dist/contact/handlers/access.js +1 -1
  10. package/dist/contact/handlers/challenge.query.js +1 -1
  11. package/dist/contact/handlers/submit.write.js +1 -1
  12. package/dist/contact/i18n.js +4 -1
  13. package/dist/contact/options.d.ts +1 -1
  14. package/dist/contact/screens.js +1 -0
  15. package/dist/file-derivatives/handlers/public-variant-by-file-ref.query.js +1 -1
  16. package/dist/file-derivatives/handlers/public-variant.query.js +1 -1
  17. package/dist/managed-pages/handlers/branding.query.js +1 -1
  18. package/dist/managed-pages/handlers/by-slug.query.js +1 -1
  19. package/dist/managed-pages/handlers/by-tenant-published.query.js +1 -1
  20. package/dist/seo/handlers/seo-config.query.js +1 -1
  21. package/dist/subscription-paddle/checkout-config.query.js +1 -1
  22. package/dist/template-resolver/handlers/by-slug.query.js +1 -1
  23. package/dist/template-resolver/handlers/by-tenant.query.js +1 -1
  24. package/dist/tenant-inactivity/handlers/keep-account.write.js +4 -1
  25. package/dist/user-data-rights/handlers/confirm-deletion-by-token.write.js +4 -1
  26. package/dist/user-data-rights/handlers/download-by-token.query.js +1 -0
  27. package/dist/user-data-rights/handlers/request-deletion-by-email.write.js +4 -1
  28. package/dist/waitlist/handlers/submit.write.js +1 -2
  29. package/package.json +19 -11
  30. package/src/contact/changes.json +6 -0
  31. package/src/waitlist/changes.json +6 -0
@@ -7,7 +7,7 @@ import { AuthHandlers } from "../web/constants.js";
7
7
  export const loginOptionsQuery = defineQueryHandler({
8
8
  name: "login-options",
9
9
  schema: z.object({}),
10
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
10
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
11
11
  rateLimit: { per: "ip+handler", limit: 30, windowSeconds: 60 },
12
12
  description: "Reports which optional login-page flows (password reset, account unlock) are available, readable without signing in, so the login screen links only to flows that exist.",
13
13
  handler: async (_query, ctx) => ({
@@ -12,7 +12,7 @@ import { AUTH_SELF_REGISTRATION_FEATURE } from "../self-registration-toggle.js";
12
12
  export const selfRegistrationStatusQuery = defineQueryHandler({
13
13
  name: "signup-registration-status",
14
14
  schema: z.object({}),
15
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
15
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
16
16
  rateLimit: { per: "ip+handler", limit: 30, windowSeconds: 60 },
17
17
  description: "Reports whether self-registration is currently switched on, readable without signing in, so a signup page can hide its own form instead of collecting an address that would be silently ignored.",
18
18
  handler: async (_query, ctx) => {
@@ -16,7 +16,10 @@ import * as z from "zod";
16
16
  export const subProcessorsQuery = defineQueryHandler({
17
17
  name: "sub-processors",
18
18
  schema: z.object({}),
19
- access: { roles: ["anonymous", "Member", "User", "TenantAdmin", "SystemAdmin"] },
19
+ access: {
20
+ roles: ["anonymous", "Member", "User", "TenantAdmin", "SystemAdmin"],
21
+ anySignedIn: true,
22
+ },
20
23
  rateLimit: { per: "ip+handler", limit: 30, windowSeconds: 60 },
21
24
  description: "Returns the publicly readable Kumiko sub-processor list split into active and planned entries, for the GDPR Art. 28(2) disclosure a privacy policy or data-processing agreement links to.",
22
25
  handler: async () => {
@@ -0,0 +1,26 @@
1
+ import type * as z from "zod";
2
+ import type { ContactSubmitSchema } from "../payloads.ts";
3
+ import type { CONTACT_WEBSITE_KINDS, ContactPhoneMode } from "../web/constants.ts";
4
+ export type ContactWebsiteKind = (typeof CONTACT_WEBSITE_KINDS)[number];
5
+ export type ContactWebsiteFormOptions = {
6
+ readonly phone: ContactPhoneMode;
7
+ readonly kinds: readonly ContactWebsiteKind[];
8
+ };
9
+ export type ContactWebsiteSubmitFields = Omit<z.input<typeof ContactSubmitSchema>, "challenge" | "nonce" | "locale"> & {
10
+ readonly locale?: z.input<typeof ContactSubmitSchema>["locale"];
11
+ };
12
+ export type ContactWebsiteSubmitResult = {
13
+ readonly kind: "sent";
14
+ } | {
15
+ readonly kind: "rate-limited";
16
+ readonly retryAfterSeconds?: number;
17
+ } | {
18
+ readonly kind: "failed";
19
+ };
20
+ export type ContactWebsiteClient = {
21
+ load(): Promise<ContactWebsiteFormOptions>;
22
+ submit(fields: ContactWebsiteSubmitFields): Promise<ContactWebsiteSubmitResult>;
23
+ };
24
+ export type ContactWebsiteWindow = {
25
+ readonly KumikoContact?: ContactWebsiteClient;
26
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export { CONTACT_CLIENT_SOURCE } from "./contact-client-source.ts";
2
+ export type { ContactWebsiteClient, ContactWebsiteFormOptions, ContactWebsiteKind, ContactWebsiteSubmitFields, ContactWebsiteSubmitResult, ContactWebsiteWindow, } from "./contact-website-client.ts";
@@ -0,0 +1 @@
1
+ export { CONTACT_CLIENT_SOURCE } from "./contact-client-source.js";
@@ -36,8 +36,12 @@ export function createContactFeature(opts) {
36
36
  r.uiHints({ displayLabel: "Contact", category: "communication", recommended: false });
37
37
  r.systemScope();
38
38
  r.requires({ features: ["config", "delivery", "user-data-rights", "files", "notes-history"] });
39
+ // The feature manifest and reference are built from one mounted instance, so the off
40
+ // default still names Telegram as an optional dependency.
39
41
  if (telegram)
40
42
  r.requires({ features: [TELEGRAM_FEATURE] });
43
+ else
44
+ r.optionalRequires(TELEGRAM_FEATURE);
41
45
  r.adoptsBundledLists();
42
46
  r.translations({ keys: createContactI18n() });
43
47
  r.config({
@@ -1,5 +1,5 @@
1
1
  import { access } from "@cosmicdrift/kumiko-framework/engine";
2
- // The website client sends without a session (credentials: "omit"), so it always arrives as anonymous; the signed-in roles only cover other callers.
2
+ // The website client sends without a session (credentials: "omit"), so it arrives as anonymous; other callers that carry a session pass through anySignedIn on the handlers.
3
3
  export const SUBMIT_ROLES = access.roles(...access.anonymous, ...access.authenticated, "Member", "TenantAdmin");
4
4
  export const REPORT_ACCESS = {
5
5
  openToAll: {
@@ -9,7 +9,7 @@ export function createChallengeQuery(settings) {
9
9
  return defineQueryHandler({
10
10
  name: "challenge",
11
11
  schema: ContactEmptySchema,
12
- access: { roles: SUBMIT_ROLES, personalData: "public-intake" },
12
+ access: { roles: SUBMIT_ROLES, personalData: "public-intake", anySignedIn: true },
13
13
  rateLimit: CHALLENGE_RATE_LIMIT,
14
14
  agent: { expose: false },
15
15
  description: "Public contact form bootstrap: issues a single-use proof-of-work challenge and reports which fields the form shows (phone mode, request kinds).",
@@ -75,7 +75,7 @@ export function createSubmitHandler(opts, settings) {
75
75
  return defineWriteHandler({
76
76
  name: "submit",
77
77
  schema: ContactSubmitSchema,
78
- access: { roles: SUBMIT_ROLES, personalData: "public-intake" },
78
+ access: { roles: SUBMIT_ROLES, personalData: "public-intake", anySignedIn: true },
79
79
  rateLimit: opts.rateLimit ?? DEFAULT_SUBMIT_RATE_LIMIT,
80
80
  agent: { expose: false },
81
81
  description: "Public contact form: stores a question, contact request or problem report from a website visitor after a single-use proof-of-work challenge, forwards it to the SystemAdmins (mail, optional Telegram) and mails the sender a copy. Spam (honeypot, unknown or reused challenge, too fast, wrong proof of work) gets the same success body but nothing is stored or sent.",
@@ -42,7 +42,10 @@ export function createContactI18n() {
42
42
  "contact:entity:contact-request:field:answeredAt": { en: "Answered", de: "Beantwortet" },
43
43
  "contact:entity:contact-request:field:closedAt": { en: "Closed", de: "Abgeschlossen" },
44
44
  "contact:entity:contact-request:field:replyCount": { en: "Replies", de: "Antworten" },
45
- "contact:report.hint": { en: "Goes straight to our team", de: "Geht direkt an unser Team" },
45
+ "contact:report.hint": {
46
+ en: "Goes straight to the {appName} team",
47
+ de: "Geht direkt an das Team von {appName}",
48
+ },
46
49
  "contact:config.send-test.description": {
47
50
  en: "Now sends a test message to the chat.",
48
51
  de: "Schickt jetzt eine Testnachricht an den Chat.",
@@ -1,7 +1,7 @@
1
1
  import type { PayloadRateLimitOption, RateLimitDeclaration, RateLimitOption } from "@cosmicdrift/kumiko-types/handlers";
2
2
  import { type ContactPhoneMode } from "./web/constants.ts";
3
3
  export type ContactOptions = {
4
- /** Name shown in the notification mails ("Testnachricht von <appName>"); the static screen texts do not name it. */
4
+ /** Name shown in the notification mails ("Testnachricht von <appName>") and in the hint of the report form. */
5
5
  readonly appName: string;
6
6
  /** Default { phone: "off" }. Controls both the public form (challenge query reports it) and the admin report form. */
7
7
  readonly fields?: {
@@ -29,6 +29,7 @@ function createReportScreen(opts, settings) {
29
29
  summary: {
30
30
  title: `${CONTACT_FEATURE}:report.hint`,
31
31
  subtitle: `${CONTACT_FEATURE}:report.summary`,
32
+ params: { appName: opts.appName },
32
33
  },
33
34
  fields: {
34
35
  kind: { type: "select", options: CONTACT_ADMIN_KINDS, required: true, display: "radio" },
@@ -9,7 +9,7 @@ export const PUBLIC_VARIANT_BY_FILE_REF_QN = "file-derivatives:query:public-vari
9
9
  export const publicVariantByFileRefQuery = defineQueryHandler({
10
10
  name: "public-variant-by-file-ref",
11
11
  schema: publicVariantPayloadSchema,
12
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
12
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
13
13
  agent: { expose: false },
14
14
  rateLimit: { per: "ip", limit: 60, windowSeconds: 60 },
15
15
  escapeHatch: {
@@ -51,7 +51,7 @@ export const publicVariantPayloadSchema = z.object({
51
51
  export const publicVariantQuery = defineQueryHandler({
52
52
  name: "public-variant",
53
53
  schema: publicVariantPayloadSchema,
54
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
54
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
55
55
  agent: { expose: false },
56
56
  // ponytail: "ip" is the ONLY throttle on an anonymous, internet-facing
57
57
  // render/storage-cost route — its accuracy depends on the server's
@@ -17,7 +17,7 @@ export function createBrandingQuery(opts) {
17
17
  return defineQueryHandler({
18
18
  name: "branding",
19
19
  schema: z.object({}),
20
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
20
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
21
21
  rateLimit: { per: "ip+handler", limit: 60, windowSeconds: 60 },
22
22
  description: "Reads the tenant's public branding values for the rendered page shell, adding the raw custom CSS only when the app opted in and the per-tenant CSS toggle is on; anonymous callers may read it because it dresses public pages.",
23
23
  handler: async (_query, ctx) => {
@@ -14,7 +14,7 @@ export const bySlugQuery = defineQueryHandler({
14
14
  slug: z.string().min(1).max(64),
15
15
  lang: z.string().min(2).max(8),
16
16
  }),
17
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
17
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
18
18
  rateLimit: { per: "ip+handler", limit: 60, windowSeconds: 60 },
19
19
  description: "Reads the body and metadata of one published managed page of the caller's tenant by slug and language, returning null for drafts and bodyless pages; use it to render a public page, not to load one for editing.",
20
20
  handler: async (query, ctx) => {
@@ -9,7 +9,7 @@ export const byTenantPublishedQuery = defineQueryHandler({
9
9
  * logic in by-slug.query. */
10
10
  tenantIdOverride: z.string().min(1).optional(),
11
11
  }),
12
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
12
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
13
13
  rateLimit: { per: "ip+handler", limit: 60, windowSeconds: 60 },
14
14
  description: "Lists every published page of a tenant with slug, language, title and last-change time but no body; use it to enumerate the public pages for sitemap.xml or llms.txt, rather than by-slug which fetches one page's content.",
15
15
  handler: async (query, ctx) => {
@@ -16,7 +16,7 @@ import { SEO_CONFIG_QN } from "../constants.js";
16
16
  export const seoConfigQuery = defineQueryHandler({
17
17
  name: "config",
18
18
  schema: z.object({}),
19
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
19
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
20
20
  rateLimit: { per: "ip+handler", limit: 60, windowSeconds: 60 },
21
21
  description: "Reads the tenant's SEO metadata settings — organization name and logo URL, Twitter site handle, LLMs summary and default OG image — as plain strings; use it to inspect what the sitemap, llms.txt and page meta tags will publish.",
22
22
  handler: async (_query, ctx) => {
@@ -6,7 +6,7 @@ export function makeCheckoutConfigQuery(readCheckoutConfig) {
6
6
  return defineQueryHandler({
7
7
  name: "checkout-config",
8
8
  schema: z.object({}),
9
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
9
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
10
10
  rateLimit: { per: "ip+handler", limit: 60, windowSeconds: 60 },
11
11
  description: "Answers the public Paddle.js client token and the Paddle environment for the checkout page; the client token is public by design and no other config leaves this handler.",
12
12
  handler: async (_query, ctx) => readCheckoutConfig(ctx),
@@ -25,7 +25,7 @@ export const bySlugQuery = defineQueryHandler({
25
25
  /** Optional cross-tenant read — SystemAdmin only. See set.write.ts. */
26
26
  tenantIdOverride: z.string().min(1).optional(),
27
27
  }),
28
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
28
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
29
29
  rateLimit: { per: "ip+handler", limit: 60, windowSeconds: 60 },
30
30
  description: "Reads one text-block of a tenant by slug and locale together with its body and format; it is pinned to the text-block kind so mail templates and AI prompts in the same table stay unreachable through this anonymous-capable path.",
31
31
  handler: async (query, ctx) => {
@@ -11,7 +11,7 @@ export const byTenantQuery = defineQueryHandler({
11
11
  /** Optional cross-tenant read — SystemAdmin only. Symmetric to by-slug. */
12
12
  tenantIdOverride: z.string().min(1).optional(),
13
13
  }),
14
- access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"] },
14
+ access: { roles: ["anonymous", "User", "TenantAdmin", "SystemAdmin"], anySignedIn: true },
15
15
  rateLimit: { per: "ip+handler", limit: 60, windowSeconds: 60 },
16
16
  description: "Lists every text-block of a tenant with slug, locale, title and body so a public content tree can be rendered in one call; use it for the whole sidebar, and by-slug when only one block is needed.",
17
17
  handler: async (query, ctx) => {
@@ -9,7 +9,10 @@ export function createKeepAccountHandler(opts) {
9
9
  return defineWriteHandler({
10
10
  name: "keep-account",
11
11
  schema: z.object({ token: z.string().min(1) }),
12
- access: { roles: ["anonymous", "Member", "User", "TenantAdmin", "TenantOwner", "SystemAdmin"] },
12
+ access: {
13
+ roles: ["anonymous", "Member", "User", "TenantAdmin", "TenantOwner", "SystemAdmin"],
14
+ anySignedIn: true,
15
+ },
13
16
  escapeHatch: { grants: ["unsafeRaw"], reason: KEEP_ACCOUNT_ESCAPE_HATCH_REASON },
14
17
  agent: { expose: false },
15
18
  rateLimit: { per: "ip+handler", limit: 10, windowSeconds: 60 },
@@ -47,7 +47,10 @@ export function createConfirmDeletionByTokenHandler(opts = {}) {
47
47
  return defineWriteHandler({
48
48
  name: "confirm-deletion-by-token",
49
49
  schema: z.object({ token: z.string().min(1) }),
50
- access: { roles: ["anonymous", "Member", "User", "TenantAdmin", "SystemAdmin"] },
50
+ access: {
51
+ roles: ["anonymous", "Member", "User", "TenantAdmin", "SystemAdmin"],
52
+ anySignedIn: true,
53
+ },
51
54
  escapeHatch: {
52
55
  reason: "resolveGracePeriod reads the tenant compliance profile via ctx.dispatch.queryAs(SYSTEM, " +
53
56
  "...) to compute the grace period end — the anonymous token holder has no read access " +
@@ -51,6 +51,7 @@ export const downloadByTokenQuery = defineQueryHandler({
51
51
  access: {
52
52
  roles: ["anonymous", "Member", "User", "TenantAdmin", "SystemAdmin"],
53
53
  personalData: "public-intake",
54
+ anySignedIn: true,
54
55
  },
55
56
  agent: { expose: false },
56
57
  // Brute-force protection for token-hash probing. This anonymous endpoint uses a
@@ -29,7 +29,10 @@ export function createRequestDeletionByEmailHandler(opts = {}) {
29
29
  return defineWriteHandler({
30
30
  name: "request-deletion-by-email",
31
31
  schema: z.object({ email: z.email() }),
32
- access: { roles: ["anonymous", "Member", "User", "TenantAdmin", "SystemAdmin"] },
32
+ access: {
33
+ roles: ["anonymous", "Member", "User", "TenantAdmin", "SystemAdmin"],
34
+ anySignedIn: true,
35
+ },
33
36
  description: "Mails an account-deletion verification link to the given address, for a user who wants to be erased but can no longer log in; it answers identically whether or not the address belongs to an active account and never returns the link.",
34
37
  // Mails a deletion link to any address the caller names.
35
38
  agent: { risk: "high" },
@@ -11,7 +11,6 @@ import { WAITLIST_NOTIFICATION_TYPES, WAITLIST_STATUS } from "../web/constants.j
11
11
  // framework's other fixed advisory-lock keys.
12
12
  const SUBMIT_LOCK_NAMESPACE = 0x776c7374;
13
13
  const SUBMIT_LOCK_REASON = "takes the per-email advisory lock so parallel submits cannot both pass the duplicate check and wraps the admin-recipient resolver in a savepoint so a failing statement cannot abort the submit transaction; TenantDb has neither API";
14
- // Logged-in callers carry no anonymous role, so every signed-in role must be listed.
15
14
  const SUBMIT_ROLES = access.roles(...access.anonymous, ...access.authenticated, "Member", "TenantAdmin");
16
15
  const OPEN_STATUSES = [WAITLIST_STATUS.Pending, WAITLIST_STATUS.Invited];
17
16
  // Identical body for new, duplicate and honeypot submits so the response does not
@@ -82,7 +81,7 @@ export function createSubmitHandler(opts) {
82
81
  return defineWriteHandler({
83
82
  name: "submit",
84
83
  schema: WaitlistSubmitSchema,
85
- access: { roles: SUBMIT_ROLES, personalData: "public-intake" },
84
+ access: { roles: SUBMIT_ROLES, personalData: "public-intake", anySignedIn: true },
86
85
  rateLimit: opts.rateLimit ?? DEFAULT_SUBMIT_RATE_LIMIT,
87
86
  // An empty array means "disabled"; boot validation rejects an empty additionalRateLimits.
88
87
  ...(emailRateLimits.length > 0 && { additionalRateLimits: emailRateLimits }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-bundled-features",
3
- "version": "0.409.0",
3
+ "version": "0.410.0",
4
4
  "description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
5
5
  "license": "MIT",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -548,6 +548,10 @@
548
548
  "types": "./dist/contact/web/index.d.ts",
549
549
  "default": "./dist/contact/web/index.js"
550
550
  },
551
+ "./contact/client": {
552
+ "types": "./dist/contact/client/index.d.ts",
553
+ "default": "./dist/contact/client/index.js"
554
+ },
551
555
  "./waitlist": {
552
556
  "types": "./dist/waitlist/index.d.ts",
553
557
  "default": "./dist/waitlist/index.js"
@@ -586,9 +590,9 @@
586
590
  }
587
591
  },
588
592
  "dependencies": {
589
- "@cosmicdrift/kumiko-framework": "0.409.0",
590
- "@cosmicdrift/kumiko-renderer": "0.409.0",
591
- "@cosmicdrift/kumiko-types": "0.409.0",
593
+ "@cosmicdrift/kumiko-framework": "0.410.0",
594
+ "@cosmicdrift/kumiko-renderer": "0.410.0",
595
+ "@cosmicdrift/kumiko-types": "0.410.0",
592
596
  "@mollie/api-client": "^4.6.0",
593
597
  "@node-rs/argon2": "^2.2.2",
594
598
  "@tiptap/core": "^3.32.2",
@@ -1152,6 +1156,10 @@
1152
1156
  "types": "./dist/contact/web/index.d.ts",
1153
1157
  "default": "./dist/contact/web/index.js"
1154
1158
  },
1159
+ "./contact/client": {
1160
+ "types": "./dist/contact/client/index.d.ts",
1161
+ "default": "./dist/contact/client/index.js"
1162
+ },
1155
1163
  "./waitlist": {
1156
1164
  "types": "./dist/waitlist/index.d.ts",
1157
1165
  "default": "./dist/waitlist/index.js"
@@ -1198,19 +1206,19 @@
1198
1206
  "LICENSE"
1199
1207
  ],
1200
1208
  "devDependencies": {
1201
- "@cosmicdrift/kumiko-locale-de": "0.409.0",
1202
- "@cosmicdrift/kumiko-locale-es": "0.409.0",
1203
- "@cosmicdrift/kumiko-locale-fr": "0.409.0",
1204
- "@cosmicdrift/kumiko-locale-it": "0.409.0",
1205
- "@cosmicdrift/kumiko-renderer-mail-html": "0.409.0",
1206
- "@cosmicdrift/kumiko-testing": "0.409.0",
1209
+ "@cosmicdrift/kumiko-locale-de": "0.410.0",
1210
+ "@cosmicdrift/kumiko-locale-es": "0.410.0",
1211
+ "@cosmicdrift/kumiko-locale-fr": "0.410.0",
1212
+ "@cosmicdrift/kumiko-locale-it": "0.410.0",
1213
+ "@cosmicdrift/kumiko-renderer-mail-html": "0.410.0",
1214
+ "@cosmicdrift/kumiko-testing": "0.410.0",
1207
1215
  "@testing-library/user-event": "^14.6.8",
1208
1216
  "@types/sanitize-html": "^2.16.2",
1209
1217
  "jsqr": "^1.4.0",
1210
1218
  "unpdf": "^1.9.1"
1211
1219
  },
1212
1220
  "peerDependencies": {
1213
- "@cosmicdrift/kumiko-testing": "0.409.0"
1221
+ "@cosmicdrift/kumiko-testing": "0.410.0"
1214
1222
  },
1215
1223
  "peerDependenciesMeta": {
1216
1224
  "@cosmicdrift/kumiko-testing": {
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": "0.410.0",
4
+ "type": "improvement",
5
+ "title": "contact/client subpath, app name in the report hint, Telegram documented as optional",
6
+ "detail": "`@cosmicdrift/kumiko-bundled-features/contact/client` exports `CONTACT_CLIENT_SOURCE` and the website client types `ContactWebsiteClient`, `ContactWebsiteWindow`, `ContactWebsiteSubmitFields`, `ContactWebsiteSubmitResult`, `ContactWebsiteFormOptions` and `ContactWebsiteKind`. The report form hint reads \"Goes straight to the {appName} team\" with the `appName` option (de, en, es, fr, it). With the default `telegram: false` the feature lists `channel-telegram` as an optional dependency only; the feature manifest, the recipe and the docs no longer show the Telegram config key or `contact:write:send-test` for that default. A signed-in visitor with any role can submit the website form and fetch the challenge."
7
+ },
2
8
  {
3
9
  "version": "0.409.0",
4
10
  "type": "improvement",
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": "0.410.0",
4
+ "type": "fix",
5
+ "title": "Signed-in visitors can join the waitlist whatever their roles",
6
+ "detail": "`waitlist:write:submit` used to answer 403 when the browser sent the session cookie of a user without one of the listed roles. It now admits every signed-in caller through `anySignedIn`."
7
+ },
2
8
  {
3
9
  "version": "0.389.0",
4
10
  "type": "fix",