dexie-cloud-addon 4.3.3 → 4.3.4

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.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * ==========================================================================
10
10
  *
11
- * Version 4.3.3, Thu Jan 22 2026
11
+ * Version 4.3.4, Fri Jan 23 2026
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -13261,7 +13261,7 @@
13261
13261
  *
13262
13262
  * ==========================================================================
13263
13263
  *
13264
- * Version 4.2.2, Tue Jan 20 2026
13264
+ * Version 4.2.2, Fri Jan 23 2026
13265
13265
  *
13266
13266
  * https://dexie.org
13267
13267
  *
@@ -17974,7 +17974,7 @@
17974
17974
  const syncComplete = new rxjs.Subject();
17975
17975
  dexie.cloud = {
17976
17976
  // @ts-ignore
17977
- version: "4.3.3",
17977
+ version: "4.3.4",
17978
17978
  options: Object.assign({}, DEFAULT_OPTIONS),
17979
17979
  schema: null,
17980
17980
  get currentUserId() {
@@ -18042,6 +18042,16 @@
18042
18042
  : yield logout(DexieCloudDB(dexie));
18043
18043
  });
18044
18044
  },
18045
+ getAuthProviders() {
18046
+ return __awaiter(this, void 0, void 0, function* () {
18047
+ const options = dexie.cloud.options;
18048
+ if (!(options === null || options === void 0 ? void 0 : options.databaseUrl)) {
18049
+ throw new Error('Dexie Cloud not configured. Call db.cloud.configure() first.');
18050
+ }
18051
+ const socialAuthEnabled = options.socialAuth !== false;
18052
+ return fetchAuthProviders(options.databaseUrl, socialAuthEnabled);
18053
+ });
18054
+ },
18045
18055
  sync() {
18046
18056
  return __awaiter(this, arguments, void 0, function* ({ wait, purpose } = { wait: true, purpose: 'push' }) {
18047
18057
  var _a;
@@ -18343,7 +18353,7 @@
18343
18353
  }
18344
18354
  }
18345
18355
  // @ts-ignore
18346
- dexieCloud.version = "4.3.3";
18356
+ dexieCloud.version = "4.3.4";
18347
18357
  Dexie.Cloud = dexieCloud;
18348
18358
 
18349
18359
  // In case the SW lives for a while, let it reuse already opened connections: