@verdocs/js-sdk 4.2.76 → 4.2.79
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.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -864,6 +864,13 @@ const changePassword = (endpoint, params) => endpoint.api //
|
|
|
864
864
|
* if (status !== 'OK') {
|
|
865
865
|
* window.alert(`Please check your email for instructions on how to reset your password.`);
|
|
866
866
|
* }
|
|
867
|
+
*
|
|
868
|
+
* // Collect code and new password from the user, then call:
|
|
869
|
+
*
|
|
870
|
+
* const {success} = await resetPassword({ email, code, new_password });
|
|
871
|
+
* if (status !== 'OK') {
|
|
872
|
+
* window.alert(`Please check your verification code and try again.`);
|
|
873
|
+
* }
|
|
867
874
|
* ```
|
|
868
875
|
*/
|
|
869
876
|
const resetPassword = (endpoint, params) => endpoint.api //
|