shared-ritm 1.3.46 → 1.3.48

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.
@@ -16783,16 +16783,9 @@ class kn {
16783
16783
  const t = n.config;
16784
16784
  if (t != null && t._retry)
16785
16785
  throw n;
16786
- return ((r = n.response) == null ? void 0 : r.status) === 401 || ((o = n.response) == null ? void 0 : o.status) === 403 ? this.getAccessToken() && !this.isRefresh ? (t._retry = !0, this.isRefresh = !0, this.refresh().then((a) => {
16787
- if (!(a != null && a.accessToken)) {
16788
- this.logoutUser();
16789
- return;
16790
- }
16791
- if (a != null && a.accessToken) {
16792
- this.setAccessToken(a.accessToken), this.axiosInstance(t);
16793
- return;
16794
- }
16795
- })) : this.logoutUser() : Promise.reject(n);
16786
+ return (((r = n.response) == null ? void 0 : r.status) === 401 || ((o = n.response) == null ? void 0 : o.status) === 403) && this.getAccessToken() ? this.isRefresh ? this.logoutUser() : (t._retry = !0, this.isRefresh = !0, this.refresh().then((a) => {
16787
+ a != null && a.accessToken || this.logoutUser(), a != null && a.accessToken && (this.setAccessToken(a.accessToken), this.axiosInstance(t));
16788
+ })) : Promise.reject(n);
16796
16789
  }
16797
16790
  );
16798
16791
  }
@@ -17218,6 +17211,14 @@ class ES extends kn {
17218
17211
  password_confirmation: r
17219
17212
  });
17220
17213
  }
17214
+ changePasswordAndActivate(n, t, r, o) {
17215
+ return this.post("/v2/auth/users/activate", {
17216
+ email: n,
17217
+ currentPassword: t,
17218
+ password: r,
17219
+ passwordConfirmation: o
17220
+ });
17221
+ }
17221
17222
  }
17222
17223
  let bl;
17223
17224
  function oM() {