@tapni/auth 1.0.70 → 1.0.71

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.
@@ -6846,7 +6846,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6846
6846
  app_region: "Região",
6847
6847
  app_region_p: "Selecione sua região para experiência de faturamento e suporte personalizada"
6848
6848
  }
6849
- }, Mo = () => Promise.resolve().then(() => Ea), Aa = () => Promise.resolve().then(() => Nc), Ra = () => Promise.resolve().then(() => Ul), Pa = () => Promise.resolve().then(() => Wp), Ma = () => Promise.resolve().then(() => ul), Na = () => Promise.resolve().then(() => Xl), La = () => Promise.resolve().then(() => nh), Oa = () => import("./QR-pLFnqgwB.js"), za = () => Promise.resolve().then(() => Xu), xa = () => import("./Apps-DFOHxbFY.js"), Ua = () => Promise.resolve().then(() => Od), Ba = () => import("./CustomApp-RPcm2S7a.js"), Da = () => Promise.resolve().then(() => wp), ja = [
6849
+ }, Mo = () => Promise.resolve().then(() => Ea), Aa = () => Promise.resolve().then(() => Nc), Ra = () => Promise.resolve().then(() => Ul), Pa = () => Promise.resolve().then(() => Wp), Ma = () => Promise.resolve().then(() => ul), Na = () => Promise.resolve().then(() => Xl), La = () => Promise.resolve().then(() => nh), Oa = () => import("./QR-CBgahgDr.js"), za = () => Promise.resolve().then(() => Xu), xa = () => import("./Apps-sXUoXUKA.js"), Ua = () => Promise.resolve().then(() => Od), Ba = () => import("./CustomApp-CEhqf3l-.js"), Da = () => Promise.resolve().then(() => wp), ja = [
6850
6850
  {
6851
6851
  path: "/welcome",
6852
6852
  name: "AuthWelcome",
@@ -19506,14 +19506,13 @@ const Qd = /* @__PURE__ */ Lr(Kd, [["render", Vd], ["__scopeId", "data-v-ed86631
19506
19506
  te.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
19507
19507
  },
19508
19508
  async submitGeneralUpdate() {
19509
- this.loading = !0, console.log(this.account);
19509
+ var r;
19510
+ this.loading = !0;
19510
19511
  const n = {
19511
19512
  name: this.account.name,
19512
19513
  lang: this.account.lang,
19513
19514
  email: this.account.email,
19514
- billing: this.account.billing ? {
19515
- region: this.account.billing.region
19516
- } : void 0
19515
+ region: (r = this.account.billing) == null ? void 0 : r.region
19517
19516
  }, [e, t] = await ke(Hn.updateAccount(n));
19518
19517
  e ? this.errorHandler(e) : t.data.success && (this.successSnack(this.ssoLang[this.appLanguage].profile_update_success), await this.getAccountSettings()), this.loading = !1;
19519
19518
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -131,16 +131,11 @@ export default {
131
131
  },
132
132
  async submitGeneralUpdate() {
133
133
  this.loading = true;
134
- console.log(this.account);
135
134
  const data = {
136
135
  name: this.account.name,
137
136
  lang: this.account.lang,
138
137
  email: this.account.email,
139
- billing: this.account.billing
140
- ? {
141
- region: this.account.billing.region
142
- }
143
- : undefined
138
+ region: this.account.billing?.region
144
139
  };
145
140
 
146
141
  const [err, response] = await to(UserService.updateAccount(data));