@base44-preview/platform 0.4.0-pr.345.357a9ca → 0.5.0-pr.346.138d91a

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 CHANGED
@@ -213,7 +213,7 @@ Every exported shape and field has JSDoc. `npm run docs` validates it into `docs
213
213
  and `npm run copy-docs-local -- --target <mintlify-docs>` copies the result into
214
214
  `developers/references/platform-sdk/docs`. The pipeline's config for this package lives
215
215
  in `scripts/mintlify-post-processing/`, including `reference.ts`, the docs-only entry that combines
216
- the client and server entrypoints into one reference. The Socket messages page is built in mintlify-docs from
216
+ the client, server and React entrypoints into one reference. The Socket messages page is built in mintlify-docs from
217
217
  the service's AsyncAPI document, not here.
218
218
 
219
219
  `PlatformSocketError` extends `Error` with `code` and optional `appId`. Original
@@ -296,6 +296,8 @@ export interface ChatOptions {
296
296
  /**
297
297
  * Called with the new app after {@link UseChatResult.create} succeeds. The chat already follows it.
298
298
  * Pass its ID back as `appId` to keep it in your own state.
299
+ *
300
+ * @param app - The app that was created.
299
301
  */
300
302
  onAppCreated?: (app: ChatApp) => void;
301
303
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/platform",
3
- "version": "0.4.0-pr.345.357a9ca",
3
+ "version": "0.5.0-pr.346.138d91a",
4
4
  "description": "Base44 Platform SDK for white-label platforms: a browser client for following the AI chat and a server entrypoint for webhooks",
5
5
  "main": "dist/client/index.js",
6
6
  "types": "dist/client/index.d.ts",