@tapni/auth 1.0.56 → 1.0.59

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.56", qn = {
1394
+ }, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.59", 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(() => ip), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => dp), Ma = () => import("./QR-BrzkfUU3.js"), Na = () => Promise.resolve().then(() => qu), Oa = () => import("./Apps-NKrqklKY.js"), La = () => import("./Billing-BUzKx9xh.js"), za = () => import("./CustomApp-BsHMfNck.js"), xa = () => Promise.resolve().then(() => Pd), Ua = [
5831
+ }, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() => ip), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => dp), Ma = () => import("./QR-bIeEDwMm.js"), Na = () => Promise.resolve().then(() => qu), Oa = () => import("./Apps-BgB6SKS2.js"), La = () => import("./Billing-CTH6Rjus.js"), za = () => import("./CustomApp-CkmOXQEr.js"), xa = () => Promise.resolve().then(() => Pd), Ua = [
5832
5832
  {
5833
5833
  path: "/welcome",
5834
5834
  name: "AuthWelcome",
@@ -5931,34 +5931,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5931
5931
  redirect_uri: "https://tapni.com/app/callback/auth",
5932
5932
  response_type: "token",
5933
5933
  state: "",
5934
- allowedOriginsAuth: [
5935
- "https://business.tapni.com",
5936
- "https://business-dev.tapni.com",
5937
- "https://tapni.com",
5938
- "https://tapni.co",
5939
- "https://t.link",
5940
- "https://my.tapni.com",
5941
- "https://my.tapni.co",
5942
- "https://dev.tapni.co",
5943
- "https://dev.tapni.com",
5944
- "https://auth.tapni.com",
5945
- "https://auth.tapni.co",
5946
- "https://mailsign.link",
5947
- "https://sign.tapni.com",
5948
- "https://qrcodetoolkit.com",
5949
- "https://qr.tapni.com",
5950
- "https://designer.tapni.com",
5951
- "https://designer-dev.tapni.com",
5952
- "http://localhost:8082",
5953
- "http://localhost:7777",
5954
- "https://localhost:7777",
5955
- "http://localhost:8086",
5956
- "https://localhost:8085",
5957
- "http://localhost:8085",
5958
- "capacitor://localhost",
5959
- "http://localhost",
5960
- "https://localhost"
5961
- ]
5934
+ allowedOriginsAuth: ["https://business.tapni.com", "https://business-dev.tapni.com", "https://tapni.com", "https://tapni.co", "https://t.link", "https://my.tapni.com", "https://my.tapni.co", "https://dev.tapni.co", "https://dev.tapni.com", "https://auth.tapni.com", "https://auth.tapni.co", "https://mailsign.link", "https://sign.tapni.com", "https://qrcodetoolkit.com", "https://qr.tapni.com", "https://designer.tapni.com", "https://designer-dev.tapni.com", "http://localhost:8081", "http://localhost:7777", "https://localhost:7777", "http://localhost:8086", "https://localhost:8085", "http://localhost:8085", "http://localhost", "https://localhost", "https://bigeye.tapni.com", "https://bigeye-dev.tapni.com", "capacitor://localhost"]
5962
5935
  },
5963
5936
  mutations: {
5964
5937
  setAccountSettings(n, e) {
@@ -6019,9 +5992,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6019
5992
  },
6020
5993
  actions: {
6021
5994
  async getAccountSettings({ state: n, commit: e, dispatch: t }) {
6022
- const [r, o] = await we(
6023
- nt.getAccountSettings()
6024
- );
5995
+ const [r, o] = await we(nt.getAccountSettings());
6025
5996
  if (r) return t("errorHandler", r);
6026
5997
  o.data.success && e("setAccountSettings", o.data.data);
6027
5998
  },
@@ -6057,15 +6028,11 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6057
6028
  document.getElementById("snackbar").classList.remove("show-snack"), document.getElementById("successSnack").classList.remove("active-snack"), document.getElementById("errorSnack").classList.remove("active-snack");
6058
6029
  },
6059
6030
  async eventLog({ commit: n, dispatch: e }, t) {
6060
- const [r, o] = await we(
6061
- qn.eventLog(t)
6062
- );
6031
+ const [r, o] = await we(qn.eventLog(t));
6063
6032
  return r ? e("errorHandler", r) : o;
6064
6033
  },
6065
6034
  async maintenance({ commit: n }) {
6066
- const [e, t] = await we(
6067
- ao.get("https://status.tapni.co/data/maintenance.json")
6068
- );
6035
+ const [e, t] = await we(ao.get("https://status.tapni.co/data/maintenance.json"));
6069
6036
  if (e) return console.error(e);
6070
6037
  if (t) {
6071
6038
  let r = t.data;
@@ -6115,15 +6082,10 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6115
6082
  },
6116
6083
  loginSuccess({ commit: n, state: e, dispatch: t, getters: r }, o) {
6117
6084
  if (e.display === "redirect")
6118
- return e.redirect_uri && !e.allowedOriginsAuth.some(
6119
- (i) => e.redirect_uri.startsWith(i)
6120
- ) ? console.error("Redirect URI not allowed") : No.push("/account");
6085
+ return e.redirect_uri && !e.allowedOriginsAuth.some((i) => e.redirect_uri.startsWith(i)) ? console.error("Redirect URI not allowed") : No.push("/account");
6121
6086
  e.display === "popup" ? e.allowedOriginsAuth.forEach((i) => {
6122
6087
  var a;
6123
- (a = window.parent) == null || a.postMessage(
6124
- { code: o.data.auth_code, state: e.state },
6125
- i
6126
- );
6088
+ (a = window.parent) == null || a.postMessage({ code: o.data.auth_code, state: e.state }, i);
6127
6089
  }) : e.display === "npm" && (ne.$emit("ssoEvent", { name: "setLoading", data: !0 }), ne.$emit("ssoEvent", { name: "setStorage", data: e.$storex }), ne.$emit("ssoEvent", { name: "getUser", data: { username: o.data.data.username } }), t("setLoggedInAccounts", [
6128
6090
  {
6129
6091
  id: o.data.data.id,
@@ -6137,9 +6099,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6137
6099
  }, 1500)), ne.$emit("ssoEvent", { name: "redirect", data: "/" + o.data.data.username + "#edit" }));
6138
6100
  },
6139
6101
  async register({ commit: n, dispatch: e }, t) {
6140
- const [r, o] = await we(
6141
- nt.register(t)
6142
- );
6102
+ const [r, o] = await we(nt.register(t));
6143
6103
  return r ? e("errorHandler", r) : o;
6144
6104
  },
6145
6105
  async verify({ commit: n, dispatch: e }, t) {
@@ -6147,9 +6107,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6147
6107
  return r ? e("errorHandler", r) : o;
6148
6108
  },
6149
6109
  async reset({ commit: n, state: e, getters: t, dispatch: r }, o) {
6150
- const [i, a] = await we(
6151
- nt.sendResetEmail(o)
6152
- );
6110
+ const [i, a] = await we(nt.sendResetEmail(o));
6153
6111
  if (i) return r("errorHandler", i);
6154
6112
  a.data.success && r("successSnack", e.ssoLang[t.appLanguage].password_reset_success);
6155
6113
  },
@@ -6159,21 +6117,15 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6159
6117
  await e("loginSetup", o), await e("getLoggedInAccounts"), e("loginSuccess", o);
6160
6118
  },
6161
6119
  async changePassword({ commit: n, dispatch: e }, t) {
6162
- const [r, o] = await we(
6163
- nt.changePassword(t)
6164
- );
6120
+ const [r, o] = await we(nt.changePassword(t));
6165
6121
  return r ? e("errorHandler", r) : o.data.success;
6166
6122
  },
6167
6123
  async newPassword({ commit: n, dispatch: e }, t) {
6168
- const [r, o] = await we(
6169
- qn.newPassword(t)
6170
- );
6124
+ const [r, o] = await we(qn.newPassword(t));
6171
6125
  return r ? e("errorHandler", r) : o.data.success;
6172
6126
  },
6173
6127
  async deleteAccount({ commit: n, dispatch: e }, t) {
6174
- const [r, o] = await we(
6175
- qn.deleteAccount(t)
6176
- );
6128
+ const [r, o] = await we(qn.deleteAccount(t));
6177
6129
  return r ? e("errorHandler", r) : o.data.success;
6178
6130
  },
6179
6131
  async registerDevice({ commit: n, dispatch: e }) {
@@ -6190,21 +6142,15 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6190
6142
  webViewVersion: r.webViewVersion
6191
6143
  }
6192
6144
  };
6193
- const [i, a] = await we(
6194
- Po.registerDevice(o)
6195
- );
6145
+ const [i, a] = await we(Po.registerDevice(o));
6196
6146
  return i ? e("errorHandler", i) : a;
6197
6147
  },
6198
6148
  async addFcmToken({ commit: n, dispatch: e }, t) {
6199
- const [r, o] = await we(
6200
- Po.addFcmToken(t)
6201
- );
6149
+ const [r, o] = await we(Po.addFcmToken(t));
6202
6150
  return r ? e("errorHandler", r) : o;
6203
6151
  },
6204
6152
  async acceptCompanyInvitation({ commit: n, dispatch: e }, t) {
6205
- const [r, o] = await we(
6206
- Qr.acceptCompanyInvitation(t)
6207
- );
6153
+ const [r, o] = await we(Qr.acceptCompanyInvitation(t));
6208
6154
  return r ? e("errorHandler", r) : o;
6209
6155
  },
6210
6156
  async logout({ commit: n, dispatch: e, state: t }, { refreshToken: r, sendRequest: o = !0 }) {
@@ -6227,26 +6173,20 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
6227
6173
  }
6228
6174
  },
6229
6175
  async getCompanyBySSOEmail({ commit: n, dispatch: e }, t) {
6230
- const [r, o] = await we(
6231
- Qr.getBySSOEmail(t.email)
6232
- );
6176
+ const [r, o] = await we(Qr.getBySSOEmail(t.email));
6233
6177
  if (r) return e("errorHandler", r);
6234
6178
  if (o.data.success)
6235
6179
  return o.data;
6236
6180
  },
6237
6181
  async getLoggedInAccounts({ getters: n, dispatch: e }) {
6238
6182
  if (n.refreshTokens && n.refreshTokens.length >= 1) {
6239
- const [t, r] = await we(
6240
- nt.getLoggedInAccounts({ refreshTokens: n.refreshTokens })
6241
- );
6183
+ const [t, r] = await we(nt.getLoggedInAccounts({ refreshTokens: n.refreshTokens }));
6242
6184
  if (t) return e("errorHandler", t);
6243
6185
  r && r.data && r.data.success && e("setLoggedInAccounts", r.data.accounts);
6244
6186
  }
6245
6187
  },
6246
6188
  async loginUsingQR({ commit: n, dispatch: e }, t) {
6247
- const [r, o] = await we(
6248
- qn.loginUsingQR(t)
6249
- );
6189
+ const [r, o] = await we(qn.loginUsingQR(t));
6250
6190
  return r ? e("errorHandler", r) : o.data.success;
6251
6191
  },
6252
6192
  setLoggedInAccounts({ commit: n }, e) {
@@ -6362,7 +6302,13 @@ const nt = {
6362
6302
  });
6363
6303
  },
6364
6304
  verify(n) {
6365
- return pe().get("/users/verify?c=" + n.code + "&e=" + n.email + "&captchatoken=" + n.captchaToken);
6305
+ return pe().get("/users/verify", {
6306
+ params: {
6307
+ c: n.code,
6308
+ e: n.email,
6309
+ captchatoken: n.captchaToken
6310
+ }
6311
+ });
6366
6312
  },
6367
6313
  googleUrl(n) {
6368
6314
  return pe().get("/users/google/url");
@@ -16472,7 +16418,7 @@ const bo = /* @__PURE__ */ an(nl, [["render", Il]]), Al = /* @__PURE__ */ Object
16472
16418
  },
16473
16419
  methods: {
16474
16420
  init() {
16475
- this.isLoggedIn ? this.$router.push(this.home) : (this.$storex.verifyEmail && (this.email = this.$storex.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), ne.$emit("ssoEvent", { name: "setLoading", data: !1 }));
16421
+ this.$storex.verifyEmail && (this.email = this.$storex.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), ne.$emit("ssoEvent", { name: "setLoading", data: !1 });
16476
16422
  },
16477
16423
  async submit() {
16478
16424
  if (this.code.length !== 6)
@@ -16635,7 +16581,7 @@ function Fl(n, e, t, r, o, i) {
16635
16581
  ]))
16636
16582
  ], 36);
16637
16583
  }
16638
- const wo = /* @__PURE__ */ an(Rl, [["render", Fl], ["__scopeId", "data-v-7d5cdeb9"]]), ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16584
+ const wo = /* @__PURE__ */ an(Rl, [["render", Fl], ["__scopeId", "data-v-6ab8e3d4"]]), ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16639
16585
  __proto__: null,
16640
16586
  default: wo
16641
16587
  }, Symbol.toStringTag, { value: "Module" }));
@@ -17499,7 +17445,6 @@ const Kl = {
17499
17445
  default: {}
17500
17446
  }
17501
17447
  },
17502
- emits: ["update:viewProp"],
17503
17448
  data() {
17504
17449
  return {
17505
17450
  accountDelete: !1,
@@ -17520,7 +17465,7 @@ const Kl = {
17520
17465
  },
17521
17466
  methods: {
17522
17467
  close() {
17523
- ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 }), this.$emit("update:viewProp", "AuthAccount");
17468
+ ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
17524
17469
  },
17525
17470
  async deleteAccountSubmit() {
17526
17471
  await this.deleteAccount() === !0 && (this.successSnack(this.ssoLang[this.appLanguage].profile_delete_account_success), setTimeout(this.$store.dispatch("logout"), 1e3));
@@ -17820,11 +17765,11 @@ function Fu(n, e, t, r, o, i) {
17820
17765
  _("h4", null, B(n.ssoLang[n.appLanguage].active_account), 1),
17821
17766
  _("div", xu, [
17822
17767
  _e(_("input", {
17823
- id: "active-open-switch",
17824
- "onUpdate:modelValue": e[13] || (e[13] = (s) => n.account.is_active = s),
17825
17768
  type: "checkbox",
17826
17769
  name: "ios-switch",
17827
- class: "ios-switch-checkbox"
17770
+ class: "ios-switch-checkbox",
17771
+ id: "active-open-switch",
17772
+ "onUpdate:modelValue": e[13] || (e[13] = (s) => n.account.is_active = s)
17828
17773
  }, null, 512), [
17829
17774
  [Io, n.account.is_active]
17830
17775
  ]),
@@ -17851,7 +17796,7 @@ function Fu(n, e, t, r, o, i) {
17851
17796
  ])
17852
17797
  ]);
17853
17798
  }
17854
- const ko = /* @__PURE__ */ an(Kl, [["render", Fu], ["__scopeId", "data-v-7a17de90"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17799
+ const ko = /* @__PURE__ */ an(Kl, [["render", Fu], ["__scopeId", "data-v-64ae2517"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17855
17800
  __proto__: null,
17856
17801
  default: ko
17857
17802
  }, Symbol.toStringTag, { value: "Module" }));
@@ -18203,10 +18148,10 @@ const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed86631
18203
18148
  }
18204
18149
  }), pd = /* @__PURE__ */ Mr(dd, [["__scopeId", "data-v-7f19f42a"]]), hd = {
18205
18150
  name: "AuthGeneral",
18151
+ mixins: [Qt],
18206
18152
  components: {
18207
18153
  VueSelect: pd
18208
18154
  },
18209
- mixins: [Qt],
18210
18155
  props: {
18211
18156
  isModal: {
18212
18157
  type: Boolean,
@@ -18217,7 +18162,6 @@ const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed86631
18217
18162
  default: {}
18218
18163
  }
18219
18164
  },
18220
- emits: ["update:viewProp"],
18221
18165
  data() {
18222
18166
  return {
18223
18167
  loading: !1
@@ -18236,7 +18180,7 @@ const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed86631
18236
18180
  },
18237
18181
  methods: {
18238
18182
  close() {
18239
- ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 }), this.$emit("update:viewProp", "AuthAccount");
18183
+ ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
18240
18184
  },
18241
18185
  async submitGeneralUpdate() {
18242
18186
  this.loading = !0, console.log(this.account);
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .app-store-icon[data-v-cb61958b]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-7d5cdeb9],#emailInput[data-v-7d5cdeb9]{text-align:center;padding-right:15%;font-size:17px}.firstRow img[data-v-7a17de90]{width:25px;height:25px;position:absolute;top:50%;right:0;transform:translate(-50%,-50%)}#emailInput[data-v-707a4b16]{text-align:center;padding-right:15%;font-size:17px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:667px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}@media (max-width: 768px){#bodyId{margin-top:0;border-radius:0;height:100%!important}.header-logo{margin-top:15px}}.withBackground[data-v-2f7f5584],.withBackground[data-v-4d3e1bec],.withBackground[data-v-36b27d1f]{height:50px}
1
+ .app-store-icon[data-v-cb61958b]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-6ab8e3d4],#emailInput[data-v-6ab8e3d4]{text-align:center;padding-right:15%;font-size:17px}.firstRow img[data-v-64ae2517]{width:25px;height:25px;position:absolute;top:50%;right:0;transform:translate(-50%,-50%)}#emailInput[data-v-707a4b16]{text-align:center;padding-right:15%;font-size:17px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:667px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}@media (max-width: 768px){#bodyId{margin-top:0;border-radius:0;height:100%!important}.header-logo{margin-top:15px}}.withBackground[data-v-2f7f5584],.withBackground[data-v-4d3e1bec],.withBackground[data-v-36b27d1f]{height:50px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "1.0.56",
3
+ "version": "1.0.59",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -33,7 +33,13 @@ export default {
33
33
  })
34
34
  },
35
35
  verify (data) {
36
- return api().get('/users/verify?c=' + data.code + '&e=' + data.email + '&captchatoken=' + data.captchaToken)
36
+ return api().get('/users/verify', {
37
+ params: {
38
+ c: data.code,
39
+ e: data.email,
40
+ captchatoken: data.captchaToken
41
+ }
42
+ });
37
43
  },
38
44
  googleUrl (storage) {
39
45
  return api().get('/users/google/url')