skapi-js 2.2.8 → 2.2.10
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/skapi.browser.mjs +5 -5
- package/dist/skapi.browser.mjs.map +1 -1
- package/dist/skapi.cjs +4 -4
- package/dist/skapi.cjs.map +1 -1
- package/dist/skapi.d.mts +6 -3
- package/dist/skapi.d.ts +6 -3
- package/dist/skapi.js +5 -5
- package/dist/skapi.js.map +1 -1
- package/dist/skapi.mjs +4 -4
- package/dist/skapi.mjs.map +1 -1
- package/package.json +1 -1
package/dist/skapi.d.mts
CHANGED
|
@@ -3125,7 +3125,10 @@ declare class Skapi {
|
|
|
3125
3125
|
};
|
|
3126
3126
|
}): Promise<string>;
|
|
3127
3127
|
/**
|
|
3128
|
-
* Sends a password reset
|
|
3128
|
+
* Sends a password reset code to the user's e-mail. The e-mail comes from the service's
|
|
3129
|
+
* "forgot_password" template (the Password Reset Email on the Automated Emails page), or
|
|
3130
|
+
* from `options.template.forgot_password` for this call alone; a message_id that does not
|
|
3131
|
+
* exist falls back to the template in use, or the built-in default.
|
|
3129
3132
|
* @param params Payload for the request.
|
|
3130
3133
|
* @returns A promise that resolves to Promise<"SUCCESS: Verification code has been sent.">.
|
|
3131
3134
|
*/
|
|
@@ -3134,8 +3137,8 @@ declare class Skapi {
|
|
|
3134
3137
|
email: string;
|
|
3135
3138
|
}>, options?: {
|
|
3136
3139
|
template?: {
|
|
3137
|
-
/** message_id of the template to use for
|
|
3138
|
-
|
|
3140
|
+
/** message_id of the password reset template to use for this call. */
|
|
3141
|
+
forgot_password?: string;
|
|
3139
3142
|
};
|
|
3140
3143
|
}): Promise<'SUCCESS: Verification code has been sent.'>;
|
|
3141
3144
|
/**
|
package/dist/skapi.d.ts
CHANGED
|
@@ -3125,7 +3125,10 @@ declare class Skapi {
|
|
|
3125
3125
|
};
|
|
3126
3126
|
}): Promise<string>;
|
|
3127
3127
|
/**
|
|
3128
|
-
* Sends a password reset
|
|
3128
|
+
* Sends a password reset code to the user's e-mail. The e-mail comes from the service's
|
|
3129
|
+
* "forgot_password" template (the Password Reset Email on the Automated Emails page), or
|
|
3130
|
+
* from `options.template.forgot_password` for this call alone; a message_id that does not
|
|
3131
|
+
* exist falls back to the template in use, or the built-in default.
|
|
3129
3132
|
* @param params Payload for the request.
|
|
3130
3133
|
* @returns A promise that resolves to Promise<"SUCCESS: Verification code has been sent.">.
|
|
3131
3134
|
*/
|
|
@@ -3134,8 +3137,8 @@ declare class Skapi {
|
|
|
3134
3137
|
email: string;
|
|
3135
3138
|
}>, options?: {
|
|
3136
3139
|
template?: {
|
|
3137
|
-
/** message_id of the template to use for
|
|
3138
|
-
|
|
3140
|
+
/** message_id of the password reset template to use for this call. */
|
|
3141
|
+
forgot_password?: string;
|
|
3139
3142
|
};
|
|
3140
3143
|
}): Promise<'SUCCESS: Verification code has been sent.'>;
|
|
3141
3144
|
/**
|