@blinkdotnew/sdk 0.10.4 → 0.10.5

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
@@ -2620,7 +2620,7 @@ var BlinkRealtimeChannel = class {
2620
2620
  try {
2621
2621
  const httpClient = this.httpClient;
2622
2622
  const coreUrl = httpClient.coreUrl || "https://core.blink.new";
2623
- const baseUrl = coreUrl.includes("localhost") ? "ws://localhost:3000" : coreUrl.replace("https://", "wss://").replace("http://", "ws://");
2623
+ const baseUrl = coreUrl.replace("https://", "wss://").replace("http://", "ws://");
2624
2624
  const wsUrl = `${baseUrl}?project_id=${this.projectId}`;
2625
2625
  const WSClass = getWebSocketClass();
2626
2626
  this.websocket = new WSClass(wsUrl);
package/dist/index.mjs CHANGED
@@ -2618,7 +2618,7 @@ var BlinkRealtimeChannel = class {
2618
2618
  try {
2619
2619
  const httpClient = this.httpClient;
2620
2620
  const coreUrl = httpClient.coreUrl || "https://core.blink.new";
2621
- const baseUrl = coreUrl.includes("localhost") ? "ws://localhost:3000" : coreUrl.replace("https://", "wss://").replace("http://", "ws://");
2621
+ const baseUrl = coreUrl.replace("https://", "wss://").replace("http://", "ws://");
2622
2622
  const wsUrl = `${baseUrl}?project_id=${this.projectId}`;
2623
2623
  const WSClass = getWebSocketClass();
2624
2624
  this.websocket = new WSClass(wsUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blinkdotnew/sdk",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
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",