@blinkdotnew/sdk 0.10.8 → 0.10.9

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/index.js CHANGED
@@ -2697,7 +2697,7 @@ var BlinkRealtimeChannel = class {
2697
2697
  case "presence":
2698
2698
  this.presenceCallbacks.forEach((callback) => {
2699
2699
  try {
2700
- const users = message.payload.data?.users || message.payload.data || [];
2700
+ const users = message.payload.data?.users || [];
2701
2701
  callback(users);
2702
2702
  } catch (error) {
2703
2703
  console.error("Error in presence callback:", error);
package/dist/index.mjs CHANGED
@@ -2695,7 +2695,7 @@ var BlinkRealtimeChannel = class {
2695
2695
  case "presence":
2696
2696
  this.presenceCallbacks.forEach((callback) => {
2697
2697
  try {
2698
- const users = message.payload.data?.users || message.payload.data || [];
2698
+ const users = message.payload.data?.users || [];
2699
2699
  callback(users);
2700
2700
  } catch (error) {
2701
2701
  console.error("Error in presence callback:", error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blinkdotnew/sdk",
3
- "version": "0.10.8",
3
+ "version": "0.10.9",
4
4
  "description": "Blink TypeScript SDK for client-side applications - Zero-boilerplate CRUD + auth + AI + analytics + notifications for modern SaaS/AI apps",
5
5
  "keywords": [
6
6
  "blink",