@blinkdotnew/sdk 0.18.5 → 0.18.7

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
@@ -1468,7 +1468,7 @@ var BlinkAuth = class {
1468
1468
  popup.close();
1469
1469
  }
1470
1470
  reject(new BlinkAuthError("AUTH_TIMEOUT" /* AUTH_TIMEOUT */, "Authentication timed out"));
1471
- }, 3e4);
1471
+ }, 3e5);
1472
1472
  const checkClosed = setInterval(() => {
1473
1473
  if (popup.closed) {
1474
1474
  clearInterval(checkClosed);
@@ -4850,11 +4850,7 @@ function createClient(config) {
4850
4850
  if (!config.projectId) {
4851
4851
  throw new Error("projectId is required");
4852
4852
  }
4853
- const clientConfig = {
4854
- authRequired: true,
4855
- ...config
4856
- };
4857
- return new BlinkClientImpl(clientConfig);
4853
+ return new BlinkClientImpl(config);
4858
4854
  }
4859
4855
 
4860
4856
  exports.BlinkAIImpl = BlinkAIImpl;
package/dist/index.mjs CHANGED
@@ -1466,7 +1466,7 @@ var BlinkAuth = class {
1466
1466
  popup.close();
1467
1467
  }
1468
1468
  reject(new BlinkAuthError("AUTH_TIMEOUT" /* AUTH_TIMEOUT */, "Authentication timed out"));
1469
- }, 3e4);
1469
+ }, 3e5);
1470
1470
  const checkClosed = setInterval(() => {
1471
1471
  if (popup.closed) {
1472
1472
  clearInterval(checkClosed);
@@ -4848,11 +4848,7 @@ function createClient(config) {
4848
4848
  if (!config.projectId) {
4849
4849
  throw new Error("projectId is required");
4850
4850
  }
4851
- const clientConfig = {
4852
- authRequired: true,
4853
- ...config
4854
- };
4855
- return new BlinkClientImpl(clientConfig);
4851
+ return new BlinkClientImpl(config);
4856
4852
  }
4857
4853
 
4858
4854
  export { BlinkAIImpl, BlinkAnalyticsImpl, BlinkDataImpl, BlinkDatabase, BlinkRealtimeChannel, BlinkRealtimeImpl, BlinkStorageImpl, BlinkTable, createClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blinkdotnew/sdk",
3
- "version": "0.18.5",
3
+ "version": "0.18.7",
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",