@tapni/auth 1.0.72 → 1.0.74

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.
package/README.md CHANGED
@@ -31,3 +31,14 @@ and then run
31
31
  ```sh
32
32
  npm publish
33
33
  ```
34
+
35
+ ### Deploying auth changes to tapni-app
36
+
37
+ When you change auth (e.g. Billing.vue or other auth UI), the app must use the new build:
38
+
39
+ 1. **Bump the auth package version** in `packages/auth/package.json` (e.g. `1.0.72` → `1.0.73`).
40
+ 2. **Build and publish** the auth package:
41
+ ```sh
42
+ cd packages/auth && npm run build-lib && npm publish
43
+ ```
44
+ 3. **Bump the dependency in tapni-app**: in `apps/app/package.json`, set `"@tapni/auth": "^1.0.73"` (or the new version) and run `npm install` in `apps/app`.
@@ -1,33 +1,33 @@
1
1
  {
2
- "_install-Ct-hQgCR.js": {
3
- "file": "install-Ct-hQgCR.js",
4
- "name": "install",
5
- "dynamicImports": [
6
- "src/views/QR.vue",
7
- "src/views/Apps.vue",
8
- "src/views/CustomApp.vue",
9
- "node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
10
- "node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
11
- "node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js"
12
- ]
2
+ "../../node_modules/.pnpm/@capacitor+preferences@5.0.8_@capacitor+core@6.2.1/node_modules/@capacitor/preferences/dist/esm/web.js": {
3
+ "file": "web-LIfHmYL2.js",
4
+ "name": "web",
5
+ "src": "../../node_modules/.pnpm/@capacitor+preferences@5.0.8_@capacitor+core@6.2.1/node_modules/@capacitor/preferences/dist/esm/web.js",
6
+ "isDynamicEntry": true
13
7
  },
14
- "node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js": {
8
+ "../../node_modules/.pnpm/@capacitor-community+apple-sign-in@6.0.0_@capacitor+core@6.2.1/node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js": {
15
9
  "file": "web-XbruGdlD.js",
16
10
  "name": "web",
17
- "src": "node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
11
+ "src": "../../node_modules/.pnpm/@capacitor-community+apple-sign-in@6.0.0_@capacitor+core@6.2.1/node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
18
12
  "isDynamicEntry": true
19
13
  },
20
- "node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js": {
14
+ "../../node_modules/.pnpm/@codetrix-studio+capacitor-google-auth@3.4.0-rc.4_@capacitor+core@6.2.1/node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js": {
21
15
  "file": "web-UrTMimK1.js",
22
16
  "name": "web",
23
- "src": "node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
17
+ "src": "../../node_modules/.pnpm/@codetrix-studio+capacitor-google-auth@3.4.0-rc.4_@capacitor+core@6.2.1/node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
24
18
  "isDynamicEntry": true
25
19
  },
26
- "node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js": {
27
- "file": "web-LIfHmYL2.js",
28
- "name": "web",
29
- "src": "node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js",
30
- "isDynamicEntry": true
20
+ "_install-C1jLtDf_.js": {
21
+ "file": "install-C1jLtDf_.js",
22
+ "name": "install",
23
+ "dynamicImports": [
24
+ "src/views/QR.vue",
25
+ "src/views/Apps.vue",
26
+ "src/views/CustomApp.vue",
27
+ "../../node_modules/.pnpm/@codetrix-studio+capacitor-google-auth@3.4.0-rc.4_@capacitor+core@6.2.1/node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
28
+ "../../node_modules/.pnpm/@capacitor-community+apple-sign-in@6.0.0_@capacitor+core@6.2.1/node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
29
+ "../../node_modules/.pnpm/@capacitor+preferences@5.0.8_@capacitor+core@6.2.1/node_modules/@capacitor/preferences/dist/esm/web.js"
30
+ ]
31
31
  },
32
32
  "src/install.js": {
33
33
  "file": "TapniAuth.umd.js",
@@ -36,30 +36,30 @@
36
36
  "isEntry": true
37
37
  },
38
38
  "src/views/Apps.vue": {
39
- "file": "Apps-Cz5rdOWu.js",
39
+ "file": "Apps-Ca-YMuAn.js",
40
40
  "name": "Apps",
41
41
  "src": "src/views/Apps.vue",
42
42
  "isDynamicEntry": true,
43
43
  "imports": [
44
- "_install-Ct-hQgCR.js"
44
+ "_install-C1jLtDf_.js"
45
45
  ]
46
46
  },
47
47
  "src/views/CustomApp.vue": {
48
- "file": "CustomApp-C2_MFR0o.js",
48
+ "file": "CustomApp-C6PBysID.js",
49
49
  "name": "CustomApp",
50
50
  "src": "src/views/CustomApp.vue",
51
51
  "isDynamicEntry": true,
52
52
  "imports": [
53
- "_install-Ct-hQgCR.js"
53
+ "_install-C1jLtDf_.js"
54
54
  ]
55
55
  },
56
56
  "src/views/QR.vue": {
57
- "file": "QR-BnhhTtpP.js",
57
+ "file": "QR-DWC2Q2sk.js",
58
58
  "name": "QR",
59
59
  "src": "src/views/QR.vue",
60
60
  "isDynamicEntry": true,
61
61
  "imports": [
62
- "_install-Ct-hQgCR.js"
62
+ "_install-C1jLtDf_.js"
63
63
  ]
64
64
  },
65
65
  "style.css": {
@@ -1,5 +1,5 @@
1
- import { a as l, _ as g, A as u, E as _ } from "./install-Ct-hQgCR.js";
2
- import { resolveComponent as h, openBlock as o, createElementBlock as a, createElementVNode as e, createCommentVNode as r, createBlock as f, withCtx as m, toDisplayString as i, Fragment as b, renderList as y } from "vue";
1
+ import { a as l, _ as g, A as u, E as _ } from "./install-C1jLtDf_.js";
2
+ import { resolveComponent as h, createElementBlock as a, openBlock as o, createCommentVNode as r, createElementVNode as e, createBlock as f, withCtx as m, toDisplayString as i, Fragment as b, renderList as y } from "vue";
3
3
  const k = {
4
4
  async getRecordById(t) {
5
5
  return l().post("/objects/record/" + t.id, t);
@@ -50,7 +50,7 @@ function $(t, n, N, S, d, c) {
50
50
  onClick: n[0] || (n[0] = (...s) => c.close && c.close(...s)),
51
51
  class: "color-black pull-right pointer",
52
52
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
53
- }, n[1] || (n[1] = [
53
+ }, [...n[1] || (n[1] = [
54
54
  e("i", { class: "font-17 color-black" }, [
55
55
  e("img", {
56
56
  src: "https://cdn.tapni.co/icons/down-arrow.png",
@@ -58,7 +58,7 @@ function $(t, n, N, S, d, c) {
58
58
  style: { width: "35%" }
59
59
  })
60
60
  ], -1)
61
- ]))) : r("", !0),
61
+ ])])) : r("", !0),
62
62
  e("div", x, [
63
63
  t.isModal ? r("", !0) : (o(), f(p, {
64
64
  key: 0,
@@ -1,5 +1,5 @@
1
- import { _ as d, A as u, b as g, E as m } from "./install-Ct-hQgCR.js";
2
- import { resolveComponent as _, openBlock as s, createElementBlock as a, createElementVNode as t, createCommentVNode as r, createBlock as h, withCtx as f, toDisplayString as i } from "vue";
1
+ import { _ as d, A as u, E as g, b as m } from "./install-C1jLtDf_.js";
2
+ import { resolveComponent as _, createElementBlock as a, openBlock as s, createCommentVNode as r, createElementVNode as t, createBlock as h, withCtx as f, toDisplayString as i } from "vue";
3
3
  const y = {
4
4
  name: "AuthCustomApp",
5
5
  mixins: [u],
@@ -17,7 +17,7 @@ const y = {
17
17
  },
18
18
  async mounted() {
19
19
  this.isLoggedIn || this.$router.push("/login");
20
- const e = await g.getRecordById({
20
+ const e = await m.getRecordById({
21
21
  id: this.$route.params.app,
22
22
  query: {
23
23
  fields: ["t_apps_name", "t_apps_icon", "t_apps_url"],
@@ -28,7 +28,7 @@ const y = {
28
28
  },
29
29
  methods: {
30
30
  close() {
31
- m.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
31
+ g.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
32
32
  }
33
33
  }
34
34
  }, b = { class: "page-login content-boxed content-boxed-padding" }, v = { class: "subheaderContainer full-top" }, x = ["src"], k = {
@@ -43,7 +43,7 @@ function C(e, o, B, E, l, n) {
43
43
  onClick: o[0] || (o[0] = (...c) => n.close && n.close(...c)),
44
44
  class: "color-black pull-right pointer",
45
45
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
46
- }, o[1] || (o[1] = [
46
+ }, [...o[1] || (o[1] = [
47
47
  t("i", { class: "font-17 color-black" }, [
48
48
  t("img", {
49
49
  src: "https://cdn.tapni.co/icons/down-arrow.png",
@@ -51,7 +51,7 @@ function C(e, o, B, E, l, n) {
51
51
  style: { width: "35%" }
52
52
  })
53
53
  ], -1)
54
- ]))) : r("", !0),
54
+ ])])) : r("", !0),
55
55
  t("div", v, [
56
56
  e.isModal ? r("", !0) : (s(), h(p, {
57
57
  key: 0,
@@ -1,12 +1,12 @@
1
- import { _ as s, A as i, Q as a } from "./install-Ct-hQgCR.js";
2
- import { resolveComponent as r, openBlock as u, createElementBlock as p, createElementVNode as o, toDisplayString as t, createVNode as d, withCtx as g, createTextVNode as _ } from "vue";
1
+ import { _ as s, A as i, Q as a } from "./install-C1jLtDf_.js";
2
+ import { resolveComponent as r, createElementBlock as u, openBlock as p, createElementVNode as o, toDisplayString as t, createVNode as d, withCtx as g, createTextVNode as _ } from "vue";
3
3
  const m = {
4
4
  name: "AuthQR",
5
5
  mixins: [i, a]
6
6
  }, L = { class: "page-login content-boxed content-boxed-padding" }, h = { style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "130px" } }, b = { class: "center-text" }, f = { style: { margin: "0 auto", width: "85%", "text-align": "left" } }, y = { class: "center-text" };
7
7
  function v(e, n, k, w, C, q) {
8
8
  const l = r("router-link");
9
- return u(), p("div", L, [
9
+ return p(), u("div", L, [
10
10
  o("h5", h, t(e.ssoLang[e.appLanguage].use_tapni_on_the_web), 1),
11
11
  n[6] || (n[6] = o("br", null, null, -1)),
12
12
  o("div", b, [
@@ -1,4 +1,4 @@
1
- import { i as f } from "./install-Ct-hQgCR.js";
1
+ import { i as f } from "./install-C1jLtDf_.js";
2
2
  export {
3
3
  f as default
4
4
  };