@base44-preview/sdk 0.8.54-pr.333.b2eeefe → 0.8.54-pr.335.2bd5f4f
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/dist/client.types.d.ts +4 -6
- package/package.json +1 -1
package/dist/client.types.d.ts
CHANGED
|
@@ -17,12 +17,10 @@ import type { FetchWithAuthInit } from "./utils/fetch-with-auth.js";
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateClientOptions {
|
|
19
19
|
/**
|
|
20
|
-
* Optional error handler that
|
|
20
|
+
* Optional error handler that will be called whenever an API error occurs.
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* Errors are usually {@linkcode Base44Error} instances. Check `error.status` for the HTTP status code. Returns `undefined` for network errors.
|
|
22
|
+
* Also receives {@link ActorsModule | actors} connection failures. Errors
|
|
23
|
+
* are usually {@linkcode Base44Error} instances — check `error.status`.
|
|
26
24
|
*/
|
|
27
25
|
onError?: (error: Error) => void;
|
|
28
26
|
/**
|
|
@@ -129,7 +127,7 @@ export interface Base44Client {
|
|
|
129
127
|
appLogs: AppLogsModule;
|
|
130
128
|
/** {@link AppModule | App module} for reading the app's own public configuration. */
|
|
131
129
|
app: AppModule;
|
|
132
|
-
/** {@link ActorsModule | Actors module} for
|
|
130
|
+
/** {@link ActorsModule | Actors module} for subscribing to and sending messages via Cloudflare Durable Object-backed Actors. */
|
|
133
131
|
actors: ActorsModule;
|
|
134
132
|
/** {@link AuthModule | Auth module} for user authentication and management. */
|
|
135
133
|
auth: AuthModule;
|