@tapni/auth 1.0.49 → 1.0.50

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.
@@ -1391,7 +1391,7 @@ function wa(n, e, t, r, o, i) {
1391
1391
  const lo = /* @__PURE__ */ an(fa, [["render", wa], ["__scopeId", "data-v-cb61958b"]]), ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1392
1392
  __proto__: null,
1393
1393
  default: lo
1394
- }, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.49", qn = {
1394
+ }, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.50", qn = {
1395
1395
  getMe() {
1396
1396
  return pe().get("/users/me");
1397
1397
  },
@@ -5828,7 +5828,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5828
5828
  app_region: "지역",
5829
5829
  app_region_p: "맞춤형 결제 및 지원을 위해 지역을 선택하세요"
5830
5830
  }
5831
- }, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() => ap), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => pp), Ma = () => import("./QR-DXrAYZV9.js"), Na = () => Promise.resolve().then(() => Ku), Oa = () => import("./Apps-HQa2BJ6I.js"), La = () => import("./Billing-CdKnzPQ0.js"), za = () => import("./CustomApp-Bne3_0ER.js"), xa = () => Promise.resolve().then(() => Md), Ua = [
5831
+ }, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() => ap), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => pp), Ma = () => import("./QR-DKPnI_w_.js"), Na = () => Promise.resolve().then(() => Ku), Oa = () => import("./Apps-DyDHRehu.js"), La = () => import("./Billing-wTlBU1az.js"), za = () => import("./CustomApp-CjjOiY2H.js"), xa = () => Promise.resolve().then(() => Md), Ua = [
5832
5832
  {
5833
5833
  path: "/welcome",
5834
5834
  name: "AuthWelcome",
@@ -18222,6 +18222,14 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18222
18222
  loading: !1
18223
18223
  };
18224
18224
  },
18225
+ watch: {
18226
+ "account.lang": {
18227
+ handler(n) {
18228
+ n && this.updateLang(n);
18229
+ },
18230
+ immediate: !0
18231
+ }
18232
+ },
18225
18233
  async mounted() {
18226
18234
  this.isLoggedIn || this.$router.push("/login"), this.isEmpty(this.account) && this.$router.push("/account");
18227
18235
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -126,6 +126,16 @@ export default {
126
126
  loading: false,
127
127
  }
128
128
  },
129
+ watch: {
130
+ 'account.lang': {
131
+ handler(newLang) {
132
+ if (newLang) {
133
+ this.updateLang(newLang);
134
+ }
135
+ },
136
+ immediate: true
137
+ }
138
+ },
129
139
  async mounted() {
130
140
  if (!this.isLoggedIn) this.$router.push('/login');
131
141
  if (this.isEmpty(this.account)) this.$router.push('/account');