@fluxbase/sdk 0.0.1-rc.18 → 0.0.1-rc.19
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.cjs +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -21
- package/dist/index.d.ts +28 -21
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -453,10 +453,13 @@ var FluxbaseAuth = class {
|
|
|
453
453
|
*/
|
|
454
454
|
async sendMagicLink(email, options) {
|
|
455
455
|
return wrapAsync(async () => {
|
|
456
|
-
return await this.fetch.post(
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
456
|
+
return await this.fetch.post(
|
|
457
|
+
"/api/v1/auth/magiclink",
|
|
458
|
+
{
|
|
459
|
+
email,
|
|
460
|
+
redirect_to: options?.redirect_to
|
|
461
|
+
}
|
|
462
|
+
);
|
|
460
463
|
});
|
|
461
464
|
}
|
|
462
465
|
/**
|