You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/website/content/docs/licensing/getting-started/introduction.mdx
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Introduction
2
2
3
-
`@ngaf/licensing` is the shared license-check helper used by the framework packages. It verifies compact Ed25519-signed tokens offline, evaluates the result into a small status set, emits non-blocking warnings, and sends non-blocking license telemetry when asked.
3
+
`@ngaf/licensing` is the shared license-check helper used by the framework packages. It verifies compact Ed25519-signed tokens offline, evaluates the result into a small status set, and emits non-blocking warningswhen appropriate.
4
4
5
5
The package itself is MIT licensed. `COMMERCIAL.md` states that the libraries in this repository are free to use, modify, and distribute in commercial and noncommercial projects. The proprietary part called out there is the internal minting service, not this package.
6
6
@@ -12,11 +12,10 @@ The main entry point exports:
12
12
|-----|---------|
13
13
|`verifyLicense()`| verifies token signature against a public key |
14
14
|`evaluateLicense()`| turns a verify result and current time into a status |
15
-
|`runLicenseCheck()`| verifies, evaluates, warns once, and sends non-blocking telemetry|
15
+
|`runLicenseCheck()`| verifies, evaluates, and warns once|
16
16
|`emitNag()`| emits the warning for non-licensed statuses |
17
17
|`signLicense()`| signs claims with an Ed25519 private key |
18
18
|`inferNoncommercial()`| returns a default noncommercial hint from `NODE_ENV`|
19
-
|`createTelemetryClient()`| sends a license telemetry POST |
20
19
|`LICENSE_PUBLIC_KEY`| bundled public key |
21
20
22
21
`@noble/ed25519` is the only peer dependency.
@@ -66,7 +65,6 @@ The higher-level check is designed not to block app startup:
66
65
67
66
- signature verification is local;
68
67
- warning output goes through `console.warn` unless a custom `warn` function is supplied;
69
-
- telemetry is fire-and-forget;
70
-
- telemetry send failures are swallowed by the telemetry client.
68
+
- no network request is made by the licensing check.
71
69
72
70
The code returns statuses instead of throwing for normal license states. Consumers can choose what to do with the status, but the framework packages use it as a warning and visibility mechanism, not as an app kill switch.
0 commit comments