authhero 0.27.0 → 0.29.0
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/authhero.cjs +47 -19
- package/dist/authhero.d.ts +3 -0
- package/dist/authhero.mjs +11783 -9458
- package/package.json +2 -1
package/dist/authhero.d.ts
CHANGED
|
@@ -4398,11 +4398,14 @@ export type OnExecuteCredentialsExchangeAPI = {
|
|
|
4398
4398
|
};
|
|
4399
4399
|
export type OnExecuteCredentialsExchange = (event: OnExecuteCredentialsExchangeEvent, access: OnExecuteCredentialsExchangeAPI) => Promise<void>;
|
|
4400
4400
|
export type SendEmailParams = {
|
|
4401
|
+
emailProvider: EmailProvider;
|
|
4401
4402
|
to: string;
|
|
4402
4403
|
from: string;
|
|
4403
4404
|
subject: string;
|
|
4404
4405
|
html?: string;
|
|
4405
4406
|
text?: string;
|
|
4407
|
+
template: string;
|
|
4408
|
+
data: Record<string, string>;
|
|
4406
4409
|
};
|
|
4407
4410
|
export type SendEmailResponse = {};
|
|
4408
4411
|
export type EmailService = (param: SendEmailParams) => Promise<SendEmailResponse>;
|