@tapni/auth 1.0.72 → 1.0.73
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 +11 -0
- package/dist/.vite/manifest.json +26 -26
- package/dist/{Apps-Cz5rdOWu.js → Apps-Dys7WVIh.js} +4 -4
- package/dist/{CustomApp-C2_MFR0o.js → CustomApp-tARqhmAA.js} +6 -6
- package/dist/{QR-BnhhTtpP.js → QR-NKmxwqC3.js} +3 -3
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +25 -20
- package/dist/{install-Ct-hQgCR.js → install-BIhtHWTM.js} +6559 -5485
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/views/Billing.vue +76 -2
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`.
|
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"file": "
|
|
4
|
-
"name": "
|
|
5
|
-
"
|
|
6
|
-
|
|
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
|
-
"
|
|
27
|
-
"file": "
|
|
28
|
-
"name": "
|
|
29
|
-
"
|
|
30
|
-
|
|
20
|
+
"_install-BIhtHWTM.js": {
|
|
21
|
+
"file": "install-BIhtHWTM.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-
|
|
39
|
+
"file": "Apps-Dys7WVIh.js",
|
|
40
40
|
"name": "Apps",
|
|
41
41
|
"src": "src/views/Apps.vue",
|
|
42
42
|
"isDynamicEntry": true,
|
|
43
43
|
"imports": [
|
|
44
|
-
"_install-
|
|
44
|
+
"_install-BIhtHWTM.js"
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"src/views/CustomApp.vue": {
|
|
48
|
-
"file": "CustomApp-
|
|
48
|
+
"file": "CustomApp-tARqhmAA.js",
|
|
49
49
|
"name": "CustomApp",
|
|
50
50
|
"src": "src/views/CustomApp.vue",
|
|
51
51
|
"isDynamicEntry": true,
|
|
52
52
|
"imports": [
|
|
53
|
-
"_install-
|
|
53
|
+
"_install-BIhtHWTM.js"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
"src/views/QR.vue": {
|
|
57
|
-
"file": "QR-
|
|
57
|
+
"file": "QR-NKmxwqC3.js",
|
|
58
58
|
"name": "QR",
|
|
59
59
|
"src": "src/views/QR.vue",
|
|
60
60
|
"isDynamicEntry": true,
|
|
61
61
|
"imports": [
|
|
62
|
-
"_install-
|
|
62
|
+
"_install-BIhtHWTM.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-
|
|
2
|
-
import { resolveComponent as h,
|
|
1
|
+
import { a as l, _ as g, A as u, E as _ } from "./install-BIhtHWTM.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,
|
|
2
|
-
import { resolveComponent as _,
|
|
1
|
+
import { _ as d, A as u, E as g, b as m } from "./install-BIhtHWTM.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
|
|
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
|
-
|
|
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-
|
|
2
|
-
import { resolveComponent as r,
|
|
1
|
+
import { _ as s, A as i, Q as a } from "./install-BIhtHWTM.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
|
|
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, [
|
package/dist/TapniAuth.es.js
CHANGED