@base44-preview/sdk 0.8.35-pr.212.1d74ede → 0.8.35-pr.212.645b456

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.
@@ -21,7 +21,7 @@ export function createRealtimeModule(config) {
21
21
  activeSockets.set(key, ws);
22
22
  // Fetch token and attach on connect
23
23
  config.getToken(handlerName, instanceId).then((token) => {
24
- ws.updateProperties({ party: handlerName, room: instanceId, query: { token } });
24
+ ws.updateProperties({ query: { token } });
25
25
  });
26
26
  ws.addEventListener("message", (ev) => {
27
27
  try {
@@ -37,7 +37,7 @@ export function createRealtimeModule(config) {
37
37
  return; // replaced
38
38
  try {
39
39
  const newToken = await config.getToken(handlerName, instanceId);
40
- ws.updateProperties({ party: handlerName, room: instanceId, query: { token: newToken } });
40
+ ws.updateProperties({ query: { token: newToken } });
41
41
  }
42
42
  catch (_a) {
43
43
  // ignore token refresh failure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/sdk",
3
- "version": "0.8.35-pr.212.1d74ede",
3
+ "version": "0.8.35-pr.212.645b456",
4
4
  "description": "JavaScript SDK for Base44 API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",