@fonderie/client 0.31.0 → 1.0.1
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 +3 -3
- package/brain/signatures.md +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ phone OTP, profile updates, and MFA setup/verify/disable, with every DTO
|
|
|
33
33
|
(`IUserDTO`, `ITokens`, `ILoginResult`, …) exported for your own signatures.
|
|
34
34
|
|
|
35
35
|
Pairs with any API built on
|
|
36
|
-
[@fonderie/core](https://github.com/fonderiejs/
|
|
36
|
+
[@fonderie/core](https://github.com/fonderiejs/fonderie/tree/main/packages/core);
|
|
37
37
|
the types stay in lockstep because both sides live in the same monorepo.
|
|
38
38
|
|
|
39
39
|
## Why this exists
|
|
@@ -41,7 +41,7 @@ the types stay in lockstep because both sides live in the same monorepo.
|
|
|
41
41
|
You've shipped this plumbing before — auth, teams, billing, messaging —
|
|
42
42
|
and the next project will ask for it again. Fonderie packages it once:
|
|
43
43
|
plain TypeScript modules for
|
|
44
|
-
[`@fonderie/core`](https://github.com/fonderiejs/
|
|
44
|
+
[`@fonderie/core`](https://github.com/fonderiejs/fonderie/tree/main/packages/core),
|
|
45
45
|
PostgreSQL-backed, self-hosted, MIT. No external control plane, no
|
|
46
46
|
per-seat anything. Register the modules you need; skip the ones you don't.
|
|
47
47
|
|
|
@@ -50,7 +50,7 @@ browser, Node, or edge — with request/response shapes that stay in lockstep
|
|
|
50
50
|
with the server because both live in this monorepo.
|
|
51
51
|
|
|
52
52
|
Browse the whole set at
|
|
53
|
-
[fonderiejs/
|
|
53
|
+
[fonderiejs/fonderie](https://github.com/fonderiejs/fonderie) · follow
|
|
54
54
|
[@fonderiejs](https://x.com/fonderiejs)
|
|
55
55
|
|
|
56
56
|
## License
|
package/brain/signatures.md
CHANGED
|
@@ -279,7 +279,7 @@ new AdminClient(opts: IAdminClientOptions): AdminClient
|
|
|
279
279
|
.attention(): Promise<IApiResponse<IAdminAttention>>
|
|
280
280
|
.manifest(): Promise<IApiResponse<IAdminManifest>>
|
|
281
281
|
.doctor(): Promise<IApiResponse<IAdminDoctorReport>>
|
|
282
|
-
.
|
|
282
|
+
.environment(): Promise<IApiResponse<IAdminEnvironmentReport>>
|
|
283
283
|
.routes(): Promise<IApiResponse<IAdminRoutesReport>>
|
|
284
284
|
.tokens(): Promise<IApiResponse<IAdminTokensReport>>
|
|
285
285
|
.adminLog(query?: IAdminLogQuery): Promise<IApiResponse<IAdminLogPage>>
|
|
@@ -745,7 +745,7 @@ interface IAdminCheckResult {
|
|
|
745
745
|
durationMs: number;
|
|
746
746
|
}
|
|
747
747
|
|
|
748
|
-
interface
|
|
748
|
+
interface IAdminEnvironmentReport {
|
|
749
749
|
generatedAt: string;
|
|
750
750
|
readiness: IAdminReadiness;
|
|
751
751
|
modules: Array<{
|
package/dist/index.cjs
CHANGED
|
@@ -1804,8 +1804,8 @@ var AdminClient = class {
|
|
|
1804
1804
|
doctor() {
|
|
1805
1805
|
return this.get("/doctor");
|
|
1806
1806
|
}
|
|
1807
|
-
|
|
1808
|
-
return this.get("/
|
|
1807
|
+
environment() {
|
|
1808
|
+
return this.get("/environment");
|
|
1809
1809
|
}
|
|
1810
1810
|
routes() {
|
|
1811
1811
|
return this.get("/routes");
|