@cosmicdrift/kumiko-bundled-features 0.404.0 → 0.405.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/auth-email-password/mail-notifications.d.ts +3 -3
- package/dist/auth-email-password/mail-notifications.js +10 -34
- package/dist/auth-email-password/web/auth-gate.js +4 -0
- package/dist/auth-email-password/web/default-topbar-actions.d.ts +6 -1
- package/dist/auth-email-password/web/default-topbar-actions.js +2 -2
- package/dist/auth-email-password/web/index.d.ts +2 -0
- package/dist/auth-email-password/web/index.js +1 -0
- package/dist/auth-email-password/web/invite-accept-screen.js +6 -41
- package/dist/auth-email-password/web/tenant-label.d.ts +2 -0
- package/dist/auth-email-password/web/tenant-label.js +10 -0
- package/dist/auth-email-password/web/tenant-menu-items.js +2 -7
- package/dist/auth-email-password/web/tenant-switcher.js +5 -12
- package/dist/auth-email-password/web/use-redirect-authed-from-login.d.ts +7 -0
- package/dist/auth-email-password/web/use-redirect-authed-from-login.js +30 -0
- package/dist/auth-foundation/feature.js +8 -21
- package/dist/auth-mfa/handlers/reencrypt.job.js +7 -15
- package/dist/auth-mfa/hmac-token-codec.d.ts +6 -1
- package/dist/auth-mfa/hmac-token-codec.js +8 -10
- package/dist/auth-mfa/mfa-challenge-token.js +2 -8
- package/dist/auth-mfa/mfa-preauth-setup-token.js +2 -8
- package/dist/auth-mfa/mfa-setup-token.d.ts +2 -8
- package/dist/auth-mfa/mfa-setup-token.js +8 -45
- package/dist/billing-foundation/consumer-protection/termination-revoke.js +3 -11
- package/dist/billing-foundation/feature.js +1 -5
- package/dist/billing-foundation/handlers/process-event.write.js +2 -6
- package/dist/billing-foundation/handlers/process-payment-event.write.js +2 -6
- package/dist/billing-foundation/index.d.ts +2 -0
- package/dist/billing-foundation/index.js +2 -0
- package/dist/billing-foundation/projection.js +12 -21
- package/dist/billing-foundation/provider-event-seen.d.ts +5 -0
- package/dist/billing-foundation/provider-event-seen.js +7 -0
- package/dist/billing-foundation/provider-shared.d.ts +11 -0
- package/dist/billing-foundation/provider-shared.js +44 -0
- package/dist/billing-foundation/tenant-destroy-hook.js +5 -4
- package/dist/channel-email/feature.js +1 -1
- package/dist/config/handlers/reencrypt.job.js +7 -15
- package/dist/delivery/delivery-service.js +2 -8
- package/dist/file-derivatives/feature.js +9 -21
- package/dist/file-foundation/feature.js +2 -6
- package/dist/files-tenant-data/hooks.js +1 -6
- package/dist/folders/feature.js +2 -9
- package/dist/folders/web/folder-manager.js +7 -26
- package/dist/folders/web/folder-section.js +5 -24
- package/dist/form-draft/handlers/save.write.d.ts +9 -0
- package/dist/form-draft/handlers/save.write.js +3 -7
- package/dist/inbound-mail-foundation/feature.js +2 -6
- package/dist/inbound-mail-foundation/handlers/thread-rollup.js +1 -0
- package/dist/inbound-mail-foundation/oauth-state.js +5 -13
- package/dist/inbound-mail-foundation/tenant-destroy-hook.d.ts +1 -1
- package/dist/inbound-mail-foundation/tenant-destroy-hook.js +3 -18
- package/dist/jobs/handlers/tenant-failures.query.js +1 -15
- package/dist/jobs/handlers/tenant-runs.query.js +1 -14
- package/dist/jobs/job-run-logger.js +19 -23
- package/dist/jobs/parse-subject.d.ts +1 -0
- package/dist/jobs/parse-subject.js +15 -0
- package/dist/ledger/feature.js +2 -8
- package/dist/mail-foundation/feature.js +3 -7
- package/dist/managed-pages/render-page-body.js +4 -12
- package/dist/notes-history/feature.js +2 -9
- package/dist/personal-access-tokens/handlers/list.query.js +1 -9
- package/dist/personal-access-tokens/hash.js +2 -2
- package/dist/personal-access-tokens/parse-scope-names.d.ts +1 -0
- package/dist/personal-access-tokens/parse-scope-names.js +10 -0
- package/dist/personal-access-tokens/resolver.js +1 -9
- package/dist/renderer-foundation/feature.js +3 -14
- package/dist/secrets/handlers/rotate.job.js +7 -18
- package/dist/shared/collect-extension-options.d.ts +4 -0
- package/dist/shared/collect-extension-options.js +8 -0
- package/dist/shared/hmac-signature.d.ts +2 -0
- package/dist/shared/hmac-signature.js +10 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.js +6 -0
- package/dist/shared/is-unique-constraint-failure.d.ts +2 -0
- package/dist/shared/is-unique-constraint-failure.js +7 -0
- package/dist/shared/mail-locale-templates.d.ts +12 -0
- package/dist/shared/mail-locale-templates.js +36 -0
- package/dist/shared/resolve-feature-access.d.ts +7 -0
- package/dist/shared/resolve-feature-access.js +8 -0
- package/dist/shared/signed-token.js +4 -14
- package/dist/shared/single-use-token-store.js +2 -2
- package/dist/shared/stream-tenant-derived-state.js +1 -5
- package/dist/shared/tenant-db-cache.d.ts +3 -0
- package/dist/shared/tenant-db-cache.js +14 -0
- package/dist/shared/web/status-banner.d.ts +15 -0
- package/dist/shared/web/status-banner.js +13 -0
- package/dist/shared/web/use-dispatched-writes.d.ts +8 -0
- package/dist/shared/web/use-dispatched-writes.js +29 -0
- package/dist/subscription-paddle/feature.js +2 -15
- package/dist/subscription-paddle/price-methods.d.ts +2 -5
- package/dist/subscription-paddle/price-methods.js +5 -26
- package/dist/subscription-paddle/runtime.d.ts +1 -1
- package/dist/subscription-paddle/runtime.js +3 -16
- package/dist/subscription-stripe/feature.js +2 -17
- package/dist/subscription-stripe/plugin-methods.d.ts +2 -5
- package/dist/subscription-stripe/plugin-methods.js +3 -18
- package/dist/subscription-stripe/runtime.js +3 -19
- package/dist/tags/feature.js +2 -9
- package/dist/tags/web/tag-manager.js +5 -24
- package/dist/tags/web/tag-section.js +3 -12
- package/dist/template-resolver/document-sanitizer.js +3 -2
- package/dist/template-resolver/handlers/tenant-overrides.query.js +3 -9
- package/dist/template-resolver/web/collection-entry-create-form.js +1 -0
- package/dist/tenant/handlers/decrypt-member-users.d.ts +10 -0
- package/dist/tenant/handlers/decrypt-member-users.js +17 -0
- package/dist/tenant/handlers/members.query.js +2 -17
- package/dist/tenant/handlers/team-list.query.js +4 -17
- package/dist/tenant-lifecycle/archive-and-delete-tenant-rows.d.ts +5 -0
- package/dist/tenant-lifecycle/archive-and-delete-tenant-rows.js +20 -0
- package/dist/tenant-lifecycle/index.d.ts +1 -0
- package/dist/tenant-lifecycle/index.js +1 -0
- package/dist/tier-engine/feature.js +1 -1
- package/dist/user-data-rights/build-hook-db.d.ts +11 -0
- package/dist/user-data-rights/build-hook-db.js +22 -0
- package/dist/user-data-rights/handlers/request-export.write.js +2 -12
- package/dist/user-data-rights/mail-notifications.d.ts +3 -3
- package/dist/user-data-rights/mail-notifications.js +10 -34
- package/dist/user-data-rights/run-forget-cleanup.d.ts +1 -1
- package/dist/user-data-rights/run-forget-cleanup.js +2 -21
- package/dist/user-data-rights/run-user-export.d.ts +1 -1
- package/dist/user-data-rights/run-user-export.js +2 -21
- package/dist/user-data-rights/token-helpers.js +2 -14
- package/dist/user-data-rights/web/privacy-center-screen.js +1 -11
- package/dist/user-data-rights/web/public-deletion-gate.js +1 -0
- package/dist/user-profile/web/profile-screen.js +1 -11
- package/package.json +35 -35
- package/src/auth-email-password/changes.json +6 -0
- package/src/auth-mfa/changes.json +6 -0
- package/src/billing-foundation/changes.json +6 -0
- package/src/documents/changes.json +8 -0
- package/src/shared/changes.json +6 -0
- package/src/tenant-lifecycle/changes.json +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-bundled-features",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.405.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>",
|
|
@@ -570,41 +570,41 @@
|
|
|
570
570
|
}
|
|
571
571
|
},
|
|
572
572
|
"dependencies": {
|
|
573
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
574
|
-
"@cosmicdrift/kumiko-renderer": "0.
|
|
575
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
576
|
-
"@mollie/api-client": "^4.
|
|
577
|
-
"@node-rs/argon2": "^2.
|
|
578
|
-
"@tiptap/core": "^3.
|
|
579
|
-
"@tiptap/extension-link": "^3.
|
|
580
|
-
"@tiptap/extension-list": "^3.
|
|
581
|
-
"@tiptap/extension-table": "^3.
|
|
582
|
-
"@tiptap/html": "^3.
|
|
583
|
-
"@tiptap/extensions": "^3.
|
|
584
|
-
"@tiptap/pm": "^3.
|
|
585
|
-
"@tiptap/react": "^3.
|
|
586
|
-
"@tiptap/starter-kit": "^3.
|
|
587
|
-
"@types/mailparser": "^3.
|
|
588
|
-
"@types/qrcode": "^1.5.
|
|
573
|
+
"@cosmicdrift/kumiko-framework": "0.405.0",
|
|
574
|
+
"@cosmicdrift/kumiko-renderer": "0.405.0",
|
|
575
|
+
"@cosmicdrift/kumiko-types": "0.405.0",
|
|
576
|
+
"@mollie/api-client": "^4.6.0",
|
|
577
|
+
"@node-rs/argon2": "^2.2.2",
|
|
578
|
+
"@tiptap/core": "^3.32.2",
|
|
579
|
+
"@tiptap/extension-link": "^3.32.2",
|
|
580
|
+
"@tiptap/extension-list": "^3.32.2",
|
|
581
|
+
"@tiptap/extension-table": "^3.32.2",
|
|
582
|
+
"@tiptap/html": "^3.32.2",
|
|
583
|
+
"@tiptap/extensions": "^3.32.2",
|
|
584
|
+
"@tiptap/pm": "^3.32.2",
|
|
585
|
+
"@tiptap/react": "^3.32.2",
|
|
586
|
+
"@tiptap/starter-kit": "^3.32.2",
|
|
587
|
+
"@types/mailparser": "^3.9.0",
|
|
588
|
+
"@types/qrcode": "^1.5.6",
|
|
589
589
|
"clsx": "^2.1.1",
|
|
590
590
|
"happy-dom": "^21.0.4",
|
|
591
591
|
"hono": "^4.13.14",
|
|
592
592
|
"imapflow": "^1.7.8",
|
|
593
|
-
"ioredis": "^5.
|
|
594
|
-
"jose": "^6.2.
|
|
595
|
-
"lucide-react": "^1.
|
|
596
|
-
"mailparser": "^3.
|
|
597
|
-
"marked": "^18.
|
|
598
|
-
"nodemailer": "^10.
|
|
593
|
+
"ioredis": "^5.11.1",
|
|
594
|
+
"jose": "^6.2.14",
|
|
595
|
+
"lucide-react": "^1.65.0",
|
|
596
|
+
"mailparser": "^3.14.1",
|
|
597
|
+
"marked": "^18.1.2",
|
|
598
|
+
"nodemailer": "^10.3.1",
|
|
599
599
|
"pdf-lib": "^1.17.1",
|
|
600
600
|
"qrcode": "^1.5.4",
|
|
601
|
-
"react": "^19.
|
|
602
|
-
"react-dom": "^19.
|
|
601
|
+
"react": "^19.3.1",
|
|
602
|
+
"react-dom": "^19.3.1",
|
|
603
603
|
"sharp": "^0.35.5",
|
|
604
604
|
"stripe": "^22.6.2",
|
|
605
|
-
"tailwind-merge": "^3.
|
|
605
|
+
"tailwind-merge": "^3.7.0",
|
|
606
606
|
"temporal-polyfill": "^0.3.2",
|
|
607
|
-
"uuid": "^14.0.
|
|
607
|
+
"uuid": "^14.0.3",
|
|
608
608
|
"zod": "^4.6.7"
|
|
609
609
|
},
|
|
610
610
|
"publishConfig": {
|
|
@@ -1166,17 +1166,17 @@
|
|
|
1166
1166
|
],
|
|
1167
1167
|
"devDependencies": {
|
|
1168
1168
|
"@testing-library/user-event": "^14.6.8",
|
|
1169
|
-
"@cosmicdrift/kumiko-locale-de": "0.
|
|
1170
|
-
"@cosmicdrift/kumiko-locale-es": "0.
|
|
1171
|
-
"@cosmicdrift/kumiko-locale-fr": "0.
|
|
1172
|
-
"@cosmicdrift/kumiko-locale-it": "0.
|
|
1173
|
-
"@cosmicdrift/kumiko-renderer-mail-html": "0.
|
|
1169
|
+
"@cosmicdrift/kumiko-locale-de": "0.405.0",
|
|
1170
|
+
"@cosmicdrift/kumiko-locale-es": "0.405.0",
|
|
1171
|
+
"@cosmicdrift/kumiko-locale-fr": "0.405.0",
|
|
1172
|
+
"@cosmicdrift/kumiko-locale-it": "0.405.0",
|
|
1173
|
+
"@cosmicdrift/kumiko-renderer-mail-html": "0.405.0",
|
|
1174
1174
|
"jsqr": "^1.4.0",
|
|
1175
|
-
"unpdf": "^1.
|
|
1176
|
-
"@cosmicdrift/kumiko-testing": "0.
|
|
1175
|
+
"unpdf": "^1.9.1",
|
|
1176
|
+
"@cosmicdrift/kumiko-testing": "0.405.0"
|
|
1177
1177
|
},
|
|
1178
1178
|
"peerDependencies": {
|
|
1179
|
-
"@cosmicdrift/kumiko-testing": "0.
|
|
1179
|
+
"@cosmicdrift/kumiko-testing": "0.405.0"
|
|
1180
1180
|
},
|
|
1181
1181
|
"peerDependenciesMeta": {
|
|
1182
1182
|
"@cosmicdrift/kumiko-testing": {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Login-path redirect hook and topbar without UserMenu",
|
|
6
|
+
"detail": "auth-email-password/web exports useRedirectAuthedFromLogin({ loginPath, target }), which replaces the URL with target while a signed-in user sits on the login path, also after Browser-Back, and isAuthedOnLoginPath. DefaultTopbarActions takes userMenu (default true) to hide the UserMenu and themeToggleTestId for the ThemeToggle button."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.394.0",
|
|
4
10
|
"type": "improvement",
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "MFA setup token uses the shared HMAC token codec",
|
|
6
|
+
"detail": "signMfaSetupToken and verifyMfaSetupToken run on createHmacTokenCodec with the domain mfa-setup. Tokens issued before the change still verify, and new tokens are byte-identical for the same input. The challenge and preauth-setup tokens share one payload guard, and signed-token and the inbound-mail OAuth state use the same HMAC signature helper."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.391.0",
|
|
4
10
|
"type": "fix",
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Provider helpers shared through billing-foundation",
|
|
6
|
+
"detail": "billing-foundation exports validateOneOffPriceIds, parseStoredSecret, createTtlPriceCache and hasSeenProviderEvent. subscription-stripe and subscription-paddle use them instead of their own copies, with the same error texts as before. The subscription projection reuses one apply body for created/updated and one for canceled/invoice-paid; the exported apply names stay."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.399.0",
|
|
4
10
|
"type": "improvement",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.404.1",
|
|
4
|
+
"type": "fix",
|
|
5
|
+
"title": "Documents recipe has a README and gen-sample-index rejects a primarySample without one",
|
|
6
|
+
"detail": "feature-reference linked to /en/samples/recipes-documents/, a page the docs site never generated because the recipe had no README.md. The README is added, and gen-sample-index aborts with the feature, the sample and the fix when a primarySample from sample-index.overrides.json has no README.md."
|
|
7
|
+
}
|
|
8
|
+
]
|
package/src/shared/changes.json
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Bundled features share internal helpers",
|
|
6
|
+
"detail": "Access resolution for folders, ledger, notes-history and tags, the folders/tags write hook, the system-mode TenantDb cache of the re-encryption and rotation jobs, the mail locale templates of auth-email-password and user-data-rights, extension option collection for delivery and renderers, PAT scope parsing, user-data-rights hook DBs, unique-constraint failure checks, tenant member PII decryption, the status banner, the invite-accept request, the tenant label and the jobs subject parser each live in one internal module now. Empty onRegister callbacks are dropped. No behavior change."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.364.0",
|
|
4
10
|
"type": "improvement",
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "archiveAndDeleteTenantRows for tenant-destroy hooks",
|
|
6
|
+
"detail": "@cosmicdrift/kumiko-bundled-features/tenant-lifecycle exports archiveAndDeleteTenantRows(ctx, table, aggregateType, escapeHatchReason), which archives each row's event stream and then deletes the tenant's rows, plus the TENANT_DESTROY_ARCHIVED_BY and TENANT_DESTROY_ARCHIVE_REASON constants. inbound-mail-foundation uses the helper, billing-foundation the constants."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.389.0",
|
|
4
10
|
"type": "fix",
|