@tapni/auth 1.0.39 → 1.0.40

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 sa(n, e, t, r, o, i) {
1391
1391
  const ro = /* @__PURE__ */ pn(ea, [["render", sa], ["__scopeId", "data-v-cb61958b"]]), ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1392
1392
  __proto__: null,
1393
1393
  default: ro
1394
- }, Symbol.toStringTag, { value: "Module" })), la = "1.0.39", ar = {
1394
+ }, Symbol.toStringTag, { value: "Module" })), la = "1.0.40", ar = {
1395
1395
  getMe() {
1396
1396
  return le().get("/users/me");
1397
1397
  },
@@ -5825,7 +5825,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5825
5825
  app_region: "지역",
5826
5826
  app_region_p: "맞춤형 결제 및 지원을 위해 지역을 선택하세요"
5827
5827
  }
5828
- }, ko = () => Promise.resolve().then(() => ca), da = () => Promise.resolve().then(() => mc), pa = () => Promise.resolve().then(() => cl), ha = () => Promise.resolve().then(() => Xu), fa = () => Promise.resolve().then(() => zc), ma = () => Promise.resolve().then(() => Cl), ga = () => Promise.resolve().then(() => od), _a = () => import("./QR-BgbkqsG2.js"), va = () => Promise.resolve().then(() => Cu), ya = () => import("./Apps-DGnyocsW.js"), wa = () => import("./Billing-BPi5eI_Y.js"), ba = () => import("./CustomApp-MvC6iFwQ.js"), ka = () => import("./General-D0Lk3y8B.js"), Ca = [
5828
+ }, ko = () => Promise.resolve().then(() => ca), da = () => Promise.resolve().then(() => mc), pa = () => Promise.resolve().then(() => cl), ha = () => Promise.resolve().then(() => Xu), fa = () => Promise.resolve().then(() => zc), ma = () => Promise.resolve().then(() => Cl), ga = () => Promise.resolve().then(() => od), _a = () => import("./QR-BggM4sho.js"), va = () => Promise.resolve().then(() => Cu), ya = () => import("./Apps-6ypFWJLS.js"), wa = () => import("./Billing-BbCDJam9.js"), ba = () => import("./CustomApp-B9h0A7fd.js"), ka = () => import("./General-i2-GCJse.js"), Ca = [
5829
5829
  {
5830
5830
  path: "/welcome",
5831
5831
  name: "AuthWelcome",
@@ -15525,7 +15525,7 @@ const Ms = Er("MsAuthPlugin", {
15525
15525
  "message",
15526
15526
  async (i) => {
15527
15527
  var u;
15528
- if (!this.allowedOriginsAuth.includes(i.origin)) return;
15528
+ if (!this.allowedOriginsAuth.includes(i.origin)) return console.error("Origin is not allowed! " + i.origin);
15529
15529
  const a = i.data.code, s = localStorage.getItem("pkce_code_verifier");
15530
15530
  if (a) {
15531
15531
  if (o.display === "popup")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -49,7 +49,7 @@ export default {
49
49
  window.addEventListener(
50
50
  'message',
51
51
  async (message) => {
52
- if (!this.allowedOriginsAuth.includes(message.origin)) return;
52
+ if (!this.allowedOriginsAuth.includes(message.origin)) return console.error('Origin is not allowed! ' + message.origin);
53
53
  const code = message.data.code;
54
54
  const pkce = localStorage.getItem('pkce_code_verifier');
55
55
  if (code) {