shared-ritm 1.3.46 → 1.3.49

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