ywana-core8 0.1.30 → 0.1.32

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.umd.js CHANGED
@@ -2996,7 +2996,7 @@
2996
2996
  unlockUser: function unlockUser(id) {
2997
2997
  try {
2998
2998
  return Promise.resolve(_catch$6(function () {
2999
- return Promise.resolve(API.changePassword(id, {
2999
+ return Promise.resolve(LOGIN_API.changePassword(id, {
3000
3000
  unlock: true
3001
3001
  })).then(function () {});
3002
3002
  }, function (error) {
@@ -3015,7 +3015,7 @@
3015
3015
  forgetUserPassword: function forgetUserPassword(email) {
3016
3016
  try {
3017
3017
  return Promise.resolve(_catch$6(function () {
3018
- return Promise.resolve(API.forgetUserPassword(email)).then(function () {});
3018
+ return Promise.resolve(LOGIN_API.forgetUserPassword(email)).then(function () {});
3019
3019
  }, function (error) {
3020
3020
  console.log("forgetUserPassword error", error);
3021
3021
  throw error;
@@ -3035,7 +3035,7 @@
3035
3035
  resetUserPassword: function resetUserPassword(token, password, onError, onSuccess) {
3036
3036
  try {
3037
3037
  var _temp = _catch$6(function () {
3038
- return Promise.resolve(API.resetUserPassword(token, password)).then(function () {
3038
+ return Promise.resolve(LOGIN_API.resetUserPassword(token, password)).then(function () {
3039
3039
  onSuccess();
3040
3040
  });
3041
3041
  }, function (error) {