Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/website/content/docs/licensing/guides/ci-and-offline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ No network call is needed to know whether a token is signed correctly.
For CI builds, treat the license token like any other secret:

```bash
NGAF_LICENSE=... npm test
THREADPLANE_LICENSE=... npm test
```

Then pass it through `provideChat()`.

```ts
provideChat({ license: process.env['NGAF_LICENSE'] });
provideChat({ license: process.env['THREADPLANE_LICENSE'] });
```

If you call `runLicenseCheck()` directly, inject the current time only when you need deterministic tests:
Expand Down
2 changes: 1 addition & 1 deletion apps/website/content/docs/licensing/guides/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {

const status = await runLicenseCheck({
package: '@ngaf/example',
token: process.env.NGAF_LICENSE,
token: process.env.THREADPLANE_LICENSE,
publicKey: LICENSE_PUBLIC_KEY,
isNoncommercial: inferNoncommercial(),
});
Expand Down
Loading