@lunora/privacy 1.0.0-alpha.1 → 1.0.0-alpha.2

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/README.md CHANGED
@@ -8,7 +8,7 @@ erasure, and retention holds for records the law says to keep.
8
8
  > questions are in `docs/legal.mdx`. Do not rely on a default until a qualified
9
9
  > lawyer and a tax adviser have reviewed it against your own processing.
10
10
  >
11
- > **Experimental.** The package is under development and is not released.
11
+ > **Experimental.** The package is published as an alpha (`1.0.0-alpha.*`), and its API may still change.
12
12
 
13
13
  ## What is built
14
14
 
@@ -29,7 +29,9 @@ erasure, and retention holds for records the law says to keep.
29
29
  tombstones, the retention archive purge and the operator surface.
30
30
  - The Studio has a Privacy requests tab. It appears only when the app declares
31
31
  `@lunora/privacy`.
32
- - Not finished: the runnable example app (`examples/privacy`) is not merged, the
33
- workerd suite for the storage paths is not written, and registering the workflow
34
- handlers from the per-call factory has not been checked against codegen (plan §4.2).
32
+ - Not finished: there is no end-to-end demo (`examples/privacy` has no sign-in, declares no
33
+ `authDataset` and does not use `retain()`; there is no payments dataset, only `retain()` with
34
+ the `de.voucher` rule bound to the app's own tables), the workerd suite for the storage paths
35
+ is not written, and registering the workflow handlers from the per-call factory has not been
36
+ checked against codegen (plan §4.2).
35
37
  - Not reviewed: every legal and tax value. See `docs/legal.mdx`.
package/dist/de.mjs CHANGED
@@ -1 +1 @@
1
- const t=e=>e===8?"Set to the statutory 8 years (HGB §257(4) S. 1, AO §147(3) S. 1). Regulated institutions keep 10 years. Confirm with a tax adviser.":"Set to 10 years, the decided conservative value. The statute sets 8 years for Buchungsbelege (HGB §257(4) S. 1, AO §147(3) S. 1) and 10 years for regulated institutions. Keeping 10 years for non-regulated businesses conflicts with GDPR Art. 5(1)(e). Maintainer decision pending.",a=(e={})=>{const r=e.voucherYears??10;return{id:"de",retention:[{citation:"HGB §257(1) Nr. 1, (4) S. 1; AO §147(1) Nr. 1, (3) S. 1 (10 years, Handelsbücher and Jahresabschlüsse)",id:"de.books",reviewRequired:!0,start:"endOfCalendarYear",years:10},{citation:"HGB §257(1) Nr. 4, (4) S. 1; AO §147(1) Nr. 4, (3) S. 1 (statute: 8 years; see note)",id:"de.voucher",note:t(r),reviewRequired:!0,start:"endOfCalendarYear",years:r},{citation:"HGB §257(4) S. 2 (10 years for Kreditinstitute, Versicherungsunternehmen, Wertpapierinstitute)",id:"de.voucher.regulated",reviewRequired:!0,start:"endOfCalendarYear",years:10},{citation:"HGB §257(1) Nr. 2, 3, (4) S. 1; AO §147(1) Nr. 2, 3, (3) S. 1 (6 years, Handels- and Geschäftsbriefe)",id:"de.correspondence",reviewRequired:!0,start:"endOfCalendarYear",years:6}]}},s={citation:"BGB §195, §199(1)",id:"de.legalClaims",reviewRequired:!0,start:"endOfCalendarYear",years:3};export{a as germany,s as legalClaimsHold};
1
+ const t=e=>e===8?"Set to the statutory 8 years (HGB §257(4) S. 1, AO §147(3) S. 1). Regulated institutions keep 10 years. Confirm with a tax adviser.":"Set to 10 years for every voucher, a maintainer decision. The statute sets 8 years for Buchungsbelege (HGB §257(4) S. 1, AO §147(3) S. 1) and 10 years for regulated institutions. Pass voucherYears: 8 for the statutory period.",a=(e={})=>{const r=e.voucherYears??10;return{id:"de",retention:[{citation:"HGB §257(1) Nr. 1, (4) S. 1; AO §147(1) Nr. 1, (3) S. 1 (10 years, Handelsbücher and Jahresabschlüsse)",id:"de.books",reviewRequired:!0,start:"endOfCalendarYear",years:10},{citation:"HGB §257(1) Nr. 4, (4) S. 1; AO §147(1) Nr. 4, (3) S. 1 (statute: 8 years; see note)",id:"de.voucher",note:t(r),reviewRequired:!0,start:"endOfCalendarYear",years:r},{citation:"HGB §257(4) S. 2 (10 years for Kreditinstitute, Versicherungsunternehmen, Wertpapierinstitute)",id:"de.voucher.regulated",reviewRequired:!0,start:"endOfCalendarYear",years:10},{citation:"HGB §257(1) Nr. 2, 3, (4) S. 1; AO §147(1) Nr. 2, 3, (3) S. 1 (6 years, Handels- and Geschäftsbriefe)",id:"de.correspondence",reviewRequired:!0,start:"endOfCalendarYear",years:6}]}},s={citation:"BGB §195, §199(1)",id:"de.legalClaims",reviewRequired:!0,start:"endOfCalendarYear",years:3};export{a as germany,s as legalClaimsHold};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/privacy",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "Reusable data-subject rights for Lunora apps: export, erasure and retention holds (GDPR Art. 15, 17, 20).",
5
5
  "keywords": [
6
6
  "data-subject-rights",