@base44-preview/platform 0.2.0-pr.319.0f5c92a → 0.2.0-pr.319.da23fec
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 +9 -4
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
npm install @base44/platform
|
|
5
5
|
```
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
The Platform SDK for white-label platforms built on Base44. It is independent of the app SDK
|
|
8
|
+
(`@base44/sdk`) and has two entrypoints:
|
|
9
|
+
|
|
10
|
+
- `@base44/platform`, for the browser: implements the read-only white-label builder socket
|
|
11
|
+
contract. A partner's browser watches the builder chat of up to eight apps over the platform's
|
|
12
|
+
shared socket. The workspace must have white-label sockets enabled; this SDK does not open sessions.
|
|
13
|
+
- `@base44/platform/server`, for your backend: verify the webhooks Base44 sends when apps are
|
|
14
|
+
created, published, unpublished, trashed or restored. See
|
|
15
|
+
[Receiving webhooks](#receiving-webhooks-server).
|
|
11
16
|
|
|
12
17
|
```ts
|
|
13
18
|
import { createPlatformClient } from "@base44/platform";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/platform",
|
|
3
|
-
"version": "0.2.0-pr.319.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0-pr.319.da23fec",
|
|
4
|
+
"description": "Base44 Platform SDK for white-label platforms: a browser client for watching the builder and a server entrypoint for webhooks",
|
|
5
5
|
"main": "dist/client/index.js",
|
|
6
6
|
"types": "dist/client/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"keywords": [
|
|
54
54
|
"base44",
|
|
55
55
|
"platform",
|
|
56
|
-
"white-label"
|
|
56
|
+
"white-label",
|
|
57
|
+
"webhooks"
|
|
57
58
|
],
|
|
58
59
|
"author": "Base44",
|
|
59
60
|
"license": "MIT",
|