@tapni/auth 0.0.157 → 0.0.162

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.
@@ -1195,7 +1195,7 @@ Li(q);
1195
1195
  const aa = {
1196
1196
  computed: {
1197
1197
  home() {
1198
- return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username : "/welcome";
1198
+ return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username + "#gg" : "/welcome";
1199
1199
  },
1200
1200
  isAndroid() {
1201
1201
  return /Android/i.test(navigator.userAgent) || Yn.getPlatform() === "android";
@@ -1317,6 +1317,7 @@ const aa = {
1317
1317
  "setResponseType",
1318
1318
  "switchAccount",
1319
1319
  "loginSetup",
1320
+ "loginSuccess",
1320
1321
  "refreshTokenAction"
1321
1322
  ])
1322
1323
  },
@@ -1411,7 +1412,7 @@ function ka(n, e, t, r, o, i) {
1411
1412
  const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed484"]]), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1412
1413
  __proto__: null,
1413
1414
  default: po
1414
- }, Symbol.toStringTag, { value: "Module" })), Ea = "0.0.157", hr = {
1415
+ }, Symbol.toStringTag, { value: "Module" })), Ea = "0.0.162", hr = {
1415
1416
  getMe() {
1416
1417
  return ce().get("/users/me");
1417
1418
  },
@@ -5552,7 +5553,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5552
5553
  choose_other_login_methods: "다른 로그인 방법 선택하기",
5553
5554
  no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
5554
5555
  }
5555
- }, Ao = () => Promise.resolve().then(() => Ca), Sa = () => Promise.resolve().then(() => qc), Ia = () => Promise.resolve().then(() => Ul), Aa = () => Promise.resolve().then(() => wd), Ra = () => import("./Account-XsXHrL3D.js"), Pa = () => Promise.resolve().then(() => du), Ma = () => Promise.resolve().then(() => Id), Na = () => import("./QR-p4J-6CqC.js"), Oa = () => Promise.resolve().then(() => xu), La = [
5556
+ }, Ao = () => Promise.resolve().then(() => Ca), Sa = () => Promise.resolve().then(() => qc), Ia = () => Promise.resolve().then(() => Ul), Aa = () => Promise.resolve().then(() => wd), Ra = () => import("./Account-5TJRQFEr.js"), Pa = () => Promise.resolve().then(() => du), Ma = () => Promise.resolve().then(() => Id), Na = () => import("./QR-KFsWzDOM.js"), Oa = () => Promise.resolve().then(() => xu), La = [
5556
5557
  {
5557
5558
  path: "/welcome",
5558
5559
  name: "AuthWelcome",
@@ -5611,7 +5612,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5611
5612
  namespaced: !0,
5612
5613
  state: {
5613
5614
  $storex: {},
5614
- view: "AuthWelcome",
5615
+ view: "",
5615
5616
  lang: "en",
5616
5617
  realm: "app",
5617
5618
  refreshing: !1,
@@ -18297,7 +18298,7 @@ const Pp = { id: "ssoapp" }, Mp = {
18297
18298
  props: {
18298
18299
  viewProp: {
18299
18300
  type: String,
18300
- default: "AuthWelcome"
18301
+ default: ""
18301
18302
  },
18302
18303
  isModal: {
18303
18304
  type: Boolean,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "0.0.157",
3
+ "version": "0.0.162",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
package/src/App.vue CHANGED
@@ -116,7 +116,7 @@ export default {
116
116
  props: {
117
117
  viewProp: {
118
118
  type: String,
119
- default: 'AuthWelcome'
119
+ default: ''
120
120
  },
121
121
  isModal: {
122
122
  type: Boolean,
@@ -61,6 +61,7 @@ export default {
61
61
  'setResponseType',
62
62
  'switchAccount',
63
63
  'loginSetup',
64
+ 'loginSuccess',
64
65
  'refreshTokenAction'
65
66
  ])
66
67
  },
@@ -4,7 +4,7 @@ export default {
4
4
  computed: {
5
5
  home() {
6
6
  if (this.$storex && this.$storex.token && this.$storex.username) {
7
- if (import.meta.env.VITE_APP_MODE === 'npm') return '/' + this.$storex.username
7
+ if (import.meta.env.VITE_APP_MODE === 'npm') return '/' + this.$storex.username + '#gg'
8
8
  if (import.meta.env.VITE_APP_MODE === 'redirect') return '/account'
9
9
  } else return '/welcome'
10
10
  },
package/src/store/auth.js CHANGED
@@ -20,7 +20,7 @@ export default {
20
20
  namespaced: true,
21
21
  state: {
22
22
  $storex: {},
23
- view: "AuthWelcome",
23
+ view: "",
24
24
  lang: "en",
25
25
  realm: "app",
26
26
  refreshing: false,