@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 +2 -6
- package/dist/index.mjs +2 -6
- package/package.json +1 -1
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
|
-
},
|
|
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
|
-
|
|
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
|
-
},
|
|
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
|
-
|
|
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