@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.
@@ -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 the SDK calls when:
20
+ * Optional error handler that will be called whenever an API error occurs.
21
21
  *
22
- * - An API request fails.
23
- * - A client can't connect to an {@link ActorsModule | actor}.
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 connecting to actor sessions and exchanging messages with actors. */
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.54-pr.333.b2eeefe",
3
+ "version": "0.8.54-pr.335.2bd5f4f",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",