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.
- package/dist/modern/DexieCloudAPI.d.ts +12 -1
- package/dist/modern/dexie-cloud-addon.js +13 -3
- package/dist/modern/dexie-cloud-addon.js.map +1 -1
- package/dist/modern/dexie-cloud-addon.min.js +1 -1
- package/dist/modern/dexie-cloud-addon.min.js.map +1 -1
- package/dist/modern/dexie-cloud-client.d.ts +1 -1
- package/dist/modern/service-worker.js +13 -3
- package/dist/modern/service-worker.js.map +1 -1
- package/dist/modern/service-worker.min.js +1 -1
- package/dist/modern/service-worker.min.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.js +14 -4
- package/dist/umd/dexie-cloud-addon.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.min.js +1 -1
- package/dist/umd/dexie-cloud-addon.min.js.map +1 -1
- package/dist/umd/service-worker.js +14 -4
- package/dist/umd/service-worker.js.map +1 -1
- package/dist/umd/service-worker.min.js +1 -1
- package/dist/umd/service-worker.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { DXCWebSocketStatus } from './DXCWebSocketStatus';
|
|
|
6
6
|
import { UserLogin } from './db/entities/UserLogin';
|
|
7
7
|
export { DexieCloudTable } from './DexieCloudTable';
|
|
8
8
|
export * from './getTiedRealmId';
|
|
9
|
-
export { DBRealm, DBRealmMember, DBRealmRole, DBSyncedObject, DBPermissionSet, } from 'dexie-cloud-common';
|
|
9
|
+
export { DBRealm, DBRealmMember, DBRealmRole, DBSyncedObject, DBPermissionSet, AuthProvidersResponse, OAuthProviderInfo, } from 'dexie-cloud-common';
|
|
10
10
|
export { resolveText } from './helpers/resolveText';
|
|
11
11
|
export { Invite } from './Invite';
|
|
12
12
|
export type { UserLogin, DXCWebSocketStatus, SyncState };
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.3.
|
|
11
|
+
* Version 4.3.4, Fri Jan 23 2026
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -6744,7 +6744,7 @@ function dexieCloud(dexie) {
|
|
|
6744
6744
|
const syncComplete = new Subject();
|
|
6745
6745
|
dexie.cloud = {
|
|
6746
6746
|
// @ts-ignore
|
|
6747
|
-
version: "4.3.
|
|
6747
|
+
version: "4.3.4",
|
|
6748
6748
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6749
6749
|
schema: null,
|
|
6750
6750
|
get currentUserId() {
|
|
@@ -6812,6 +6812,16 @@ function dexieCloud(dexie) {
|
|
|
6812
6812
|
: yield logout(DexieCloudDB(dexie));
|
|
6813
6813
|
});
|
|
6814
6814
|
},
|
|
6815
|
+
getAuthProviders() {
|
|
6816
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6817
|
+
const options = dexie.cloud.options;
|
|
6818
|
+
if (!(options === null || options === void 0 ? void 0 : options.databaseUrl)) {
|
|
6819
|
+
throw new Error('Dexie Cloud not configured. Call db.cloud.configure() first.');
|
|
6820
|
+
}
|
|
6821
|
+
const socialAuthEnabled = options.socialAuth !== false;
|
|
6822
|
+
return fetchAuthProviders(options.databaseUrl, socialAuthEnabled);
|
|
6823
|
+
});
|
|
6824
|
+
},
|
|
6815
6825
|
sync() {
|
|
6816
6826
|
return __awaiter(this, arguments, void 0, function* ({ wait, purpose } = { wait: true, purpose: 'push' }) {
|
|
6817
6827
|
var _a;
|
|
@@ -7113,7 +7123,7 @@ function dexieCloud(dexie) {
|
|
|
7113
7123
|
}
|
|
7114
7124
|
}
|
|
7115
7125
|
// @ts-ignore
|
|
7116
|
-
dexieCloud.version = "4.3.
|
|
7126
|
+
dexieCloud.version = "4.3.4";
|
|
7117
7127
|
Dexie.Cloud = dexieCloud;
|
|
7118
7128
|
|
|
7119
7129
|
// In case the SW lives for a while, let it reuse already opened connections:
|