@orangecheck/legal 0.7.23 → 0.7.29
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 +8 -6
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +252 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +252 -54
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,20 +11,22 @@ variants they genuinely need.
|
|
|
11
11
|
## Why this exists
|
|
12
12
|
|
|
13
13
|
The ecosystem outgrew "one Terms page on ochk.io". The non-custodial protocol
|
|
14
|
-
sites, a consumer product that pays users in sats, a paid encrypted vault
|
|
15
|
-
|
|
14
|
+
sites, a consumer product that pays users in sats, and a paid encrypted vault
|
|
15
|
+
cannot share one legal document. This package keeps
|
|
16
16
|
the boilerplate shared and the divergence explicit.
|
|
17
17
|
|
|
18
18
|
## Profiles
|
|
19
19
|
|
|
20
20
|
| Profile | Sites |
|
|
21
21
|
|------------|-------------------------------------------------------------------|
|
|
22
|
-
| `protocol` | ochk.io +
|
|
23
|
-
| `me` |
|
|
22
|
+
| `protocol` | ochk.io + 12 linked sites (`PROTOCOL_LINKED_SITES`), one doc |
|
|
23
|
+
| `me` | ochk.app — consumer identity that pays users in sats |
|
|
24
24
|
| `vault` | vault.ochk.io — paid end-to-end-encrypted secrets vault |
|
|
25
25
|
|
|
26
|
-
The
|
|
27
|
-
|
|
26
|
+
The twelve linked `protocol` sites (attest, lock, vote, stamp, agent, pledge,
|
|
27
|
+
docs, analytics, chat, cosign, btc, globe) do **not** host their own pages —
|
|
28
|
+
their footers link to ochk.io. Three sites self-host: ochk.io, which hosts the
|
|
29
|
+
protocol document, and the two commercial products, ochk.app and vault.
|
|
28
30
|
|
|
29
31
|
## Usage
|
|
30
32
|
|
package/dist/index.d.mts
CHANGED
|
@@ -56,6 +56,7 @@ interface SiteContext {
|
|
|
56
56
|
contact: string;
|
|
57
57
|
securityContact: string;
|
|
58
58
|
selfHosted: boolean;
|
|
59
|
+
brand?: string;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
declare function buildDoc(siteSlug: string, kind: DocKind): LegalDoc;
|
|
@@ -72,7 +73,7 @@ interface SecurityDisclosureProps {
|
|
|
72
73
|
declare function SecurityDisclosure({ securityContact, heading, }: SecurityDisclosureProps): react_jsx_runtime.JSX.Element;
|
|
73
74
|
|
|
74
75
|
declare const LEGAL_SITES: Record<string, SiteContext>;
|
|
75
|
-
declare const PROTOCOL_LINKED_SITES: readonly ["attest", "lock", "vote", "stamp", "agent", "pledge", "docs", "analytics"];
|
|
76
|
+
declare const PROTOCOL_LINKED_SITES: readonly ["attest", "lock", "vote", "stamp", "agent", "pledge", "docs", "analytics", "chat", "cosign", "btc", "globe"];
|
|
76
77
|
declare function getSiteContext(slug: string): SiteContext;
|
|
77
78
|
declare function legalHref(siteSlug: string, kind: 'terms' | 'privacy' | 'security'): string;
|
|
78
79
|
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ interface SiteContext {
|
|
|
56
56
|
contact: string;
|
|
57
57
|
securityContact: string;
|
|
58
58
|
selfHosted: boolean;
|
|
59
|
+
brand?: string;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
declare function buildDoc(siteSlug: string, kind: DocKind): LegalDoc;
|
|
@@ -72,7 +73,7 @@ interface SecurityDisclosureProps {
|
|
|
72
73
|
declare function SecurityDisclosure({ securityContact, heading, }: SecurityDisclosureProps): react_jsx_runtime.JSX.Element;
|
|
73
74
|
|
|
74
75
|
declare const LEGAL_SITES: Record<string, SiteContext>;
|
|
75
|
-
declare const PROTOCOL_LINKED_SITES: readonly ["attest", "lock", "vote", "stamp", "agent", "pledge", "docs", "analytics"];
|
|
76
|
+
declare const PROTOCOL_LINKED_SITES: readonly ["attest", "lock", "vote", "stamp", "agent", "pledge", "docs", "analytics", "chat", "cosign", "btc", "globe"];
|
|
76
77
|
declare function getSiteContext(slug: string): SiteContext;
|
|
77
78
|
declare function legalHref(siteSlug: string, kind: 'terms' | 'privacy' | 'security'): string;
|
|
78
79
|
|