@base44-preview/platform 0.6.0-pr.356.0052aed → 0.6.0-pr.364.6994ab8
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/client.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type { PlatformClient } from "./client.types.js";
|
|
|
11
11
|
* [`createPlatformServer()`](/developers/references/platform-sdk/docs/functions/createPlatformServer)
|
|
12
12
|
* from `@base44/platform/server`.
|
|
13
13
|
*
|
|
14
|
-
* @returns A new platform client.
|
|
14
|
+
* @returns A new platform client, with one property for each module.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```typescript
|
package/dist/client/client.js
CHANGED
|
@@ -11,7 +11,7 @@ import { createChat } from "./modules/chat.js";
|
|
|
11
11
|
* [`createPlatformServer()`](/developers/references/platform-sdk/docs/functions/createPlatformServer)
|
|
12
12
|
* from `@base44/platform/server`.
|
|
13
13
|
*
|
|
14
|
-
* @returns A new platform client.
|
|
14
|
+
* @returns A new platform client, with one property for each module.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```typescript
|
|
@@ -89,7 +89,8 @@ export interface ChatBackend {
|
|
|
89
89
|
* whenever the session expires. Sessions last one hour.
|
|
90
90
|
*
|
|
91
91
|
* @param appId - ID of the app to follow.
|
|
92
|
-
* @returns Promise resolving to the session
|
|
92
|
+
* @returns Promise resolving to the three fields of a [Create socket session](/api-reference/create-socket-session)
|
|
93
|
+
* response that the browser needs. Keep the response's `session_id` on your server.
|
|
93
94
|
*
|
|
94
95
|
* @example
|
|
95
96
|
* ```typescript
|
package/dist/server/server.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { PlatformServer } from "./server.types.js";
|
|
|
7
7
|
* such as [`webhooks`](/developers/references/platform-sdk/docs/interfaces/webhooks). It takes no
|
|
8
8
|
* options and makes no network requests. Each module takes what it needs when you call it.
|
|
9
9
|
*
|
|
10
|
-
* @returns A new platform server client.
|
|
10
|
+
* @returns A new platform server client, with one property for each module.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
package/dist/server/server.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createWebhooks } from "./modules/webhooks.js";
|
|
|
7
7
|
* such as [`webhooks`](/developers/references/platform-sdk/docs/interfaces/webhooks). It takes no
|
|
8
8
|
* options and makes no network requests. Each module takes what it needs when you call it.
|
|
9
9
|
*
|
|
10
|
-
* @returns A new platform server client.
|
|
10
|
+
* @returns A new platform server client, with one property for each module.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/platform",
|
|
3
|
-
"version": "0.6.0-pr.
|
|
3
|
+
"version": "0.6.0-pr.364.6994ab8",
|
|
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",
|