dexie-cloud-addon 4.3.4 → 4.3.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/modern/dexie-cloud-addon.js +22 -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/service-worker.js +22 -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 +22 -3
- 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 +22 -3
- 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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.3.
|
|
11
|
+
* Version 4.3.5, Fri Jan 23 2026
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -2897,6 +2897,25 @@
|
|
|
2897
2897
|
public_key,
|
|
2898
2898
|
};
|
|
2899
2899
|
}
|
|
2900
|
+
else if ((hints === null || hints === void 0 ? void 0 : hints.grant_type) === 'otp' || (hints === null || hints === void 0 ? void 0 : hints.email)) {
|
|
2901
|
+
// User explicitly requested OTP flow - skip provider selection
|
|
2902
|
+
const email = (hints === null || hints === void 0 ? void 0 : hints.email) || (yield promptForEmail(userInteraction, 'Enter email address'));
|
|
2903
|
+
if (/@demo.local$/.test(email)) {
|
|
2904
|
+
tokenRequest = {
|
|
2905
|
+
demo_user: email,
|
|
2906
|
+
grant_type: 'demo',
|
|
2907
|
+
scopes: ['ACCESS_DB'],
|
|
2908
|
+
public_key
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2911
|
+
else {
|
|
2912
|
+
tokenRequest = {
|
|
2913
|
+
email,
|
|
2914
|
+
grant_type: 'otp',
|
|
2915
|
+
scopes: ['ACCESS_DB'],
|
|
2916
|
+
};
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2900
2919
|
else {
|
|
2901
2920
|
// Check for available auth providers (OAuth + OTP)
|
|
2902
2921
|
const socialAuthEnabled = ((_c = db.cloud.options) === null || _c === void 0 ? void 0 : _c.socialAuth) !== false;
|
|
@@ -18145,7 +18164,7 @@
|
|
|
18145
18164
|
const syncComplete = new rxjs.Subject();
|
|
18146
18165
|
dexie.cloud = {
|
|
18147
18166
|
// @ts-ignore
|
|
18148
|
-
version: "4.3.
|
|
18167
|
+
version: "4.3.5",
|
|
18149
18168
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
18150
18169
|
schema: null,
|
|
18151
18170
|
get currentUserId() {
|
|
@@ -18524,7 +18543,7 @@
|
|
|
18524
18543
|
}
|
|
18525
18544
|
}
|
|
18526
18545
|
// @ts-ignore
|
|
18527
|
-
dexieCloud.version = "4.3.
|
|
18546
|
+
dexieCloud.version = "4.3.5";
|
|
18528
18547
|
Dexie.Cloud = dexieCloud;
|
|
18529
18548
|
|
|
18530
18549
|
exports.default = dexieCloud;
|