@tapni/auth 0.0.1 → 0.0.3
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/dist/.vite/manifest.json +11 -0
- package/dist/TapniAuth.es.js +6806 -0
- package/dist/TapniAuth.umd.js +102 -0
- package/dist/style.css +1 -0
- package/package.json +6 -2
- package/.env.development +0 -5
- package/.env.production +0 -8
- package/.env.staging +0 -8
- package/.env.standalone +0 -4
- package/.vscode/extensions.json +0 -3
- package/index.html +0 -35
- package/jsconfig.json +0 -8
- package/vite.config.js +0 -58
- /package/{public → dist}/.gitkeep +0 -0
- /package/{public → dist}/.well-known/apple-app-site-association +0 -0
- /package/{public → dist}/.well-known/assetlinks.json +0 -0
- /package/{public → dist}/.well-known/microsoft-identity-association.json +0 -0
- /package/{public → dist}/android-chrome-192x192.png +0 -0
- /package/{public → dist}/android-chrome-512x512.png +0 -0
- /package/{public → dist}/apple-touch-icon.png +0 -0
- /package/{public → dist}/favicon-16x16.png +0 -0
- /package/{public → dist}/favicon-32x32.png +0 -0
- /package/{public → dist}/favicon.ico +0 -0
- /package/{public → dist}/icon.png +0 -0
- /package/{public → dist}/site.webmanifest +0 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-store-icon[data-v-bf520ec5]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-2fd511e2],#emailInput[data-v-2fd511e2],#emailInput[data-v-220c28f9]{text-align:center;padding-right:15%;font-size:17px}.fade-enter-to[data-v-a128c2fa]{opacity:1}.sso-img[data-v-256337c2]{margin:2px auto 0;width:35px}input[data-v-256337c2]{margin:0 auto;height:25px}.sso-img[data-v-33bfb54b]{margin:2px auto 0;width:35px}input[data-v-33bfb54b]{margin:0 auto;height:25px}.link-grid,.user-link-img{width:100%;display:inline-table;position:relative}.link-grid{width:30%;margin:1.6%;padding:1.6%}.link-grid .user-link-img img{border-radius:25%!important}.link-grid .edit-icon{border-radius:20px;right:-3%;top:-3%;position:absolute;z-index:3;max-width:23%;overflow:hidden;min-width:30px}.link-grid .direct-icon{border-radius:20px;left:-3%;top:-3%;position:absolute;z-index:555;max-width:23%;overflow:hidden;min-width:30px}.link-grid .link-text{min-height:20px;margin-top:3px!important;display:block;text-align:center;line-height:normal;overflow-wrap:anywhere}.link-list{width:93%;max-height:67px!important;margin:0 auto;display:flex;border-radius:15px!important;background-color:#fff;border:solid 1px #e8e8e8;position:relative;align-items:center}.link-list .user-link-img{display:inline-block;width:65px;border-radius:25%!important}.link-list .link-text{display:inline-block;padding:18px 0% 17px 10%;font-size:15px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;text-align:left;border-radius:15px!important}.link-list .edit-icon{border-radius:20px;right:7%;top:30%;position:absolute;z-index:3;width:26px;overflow:hidden}.link-list .switching{width:45px}.link-list .direct-icon{border-radius:20px;left:-2%;top:-13%;position:absolute;z-index:555;width:26px;overflow:hidden}.small{width:22%!important;margin:2% 4% 0%;padding:0%}.small .link-text{margin-top:0!important;font-size:13px}.linkExternal{margin-right:20px;width:20px;display:inline-block!important;height:20px;background:#000;-webkit-mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;transform:scale(1.5)}.user-img[data-v-e5a7ac07]{margin:2px auto 0;width:65px}input[data-v-e5a7ac07]{margin:0 auto;height:25px}html *{font-family:Inter,sans-serif}.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}
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapni/auth",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/TapniAuth.umd.js",
|
|
6
6
|
"module": "./dist/TapniAuth.es.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"src"
|
|
10
|
+
],
|
|
7
11
|
"exports": {
|
|
8
12
|
".": {
|
|
9
13
|
"import": "./dist/TapniAuth.es.js",
|
|
@@ -30,9 +34,9 @@
|
|
|
30
34
|
"@capacitor/preferences": "^5.0.6",
|
|
31
35
|
"@codetrix-studio/capacitor-google-auth": "^3.3.6",
|
|
32
36
|
"@recognizebv/capacitor-plugin-msauth": "^3.5.1",
|
|
37
|
+
"@tapni/capacitor-reactive-localstorage-vue3": "^0.0.4",
|
|
33
38
|
"await-to-js": "^3.0.0",
|
|
34
39
|
"axios": "^1.6.5",
|
|
35
|
-
"capacitor-reactive-localstorage-vue3": "^2.0.1",
|
|
36
40
|
"jwt-decode": "^4.0.0",
|
|
37
41
|
"qr-code-styling": "^1.6.0-rc.1",
|
|
38
42
|
"vue": "^3.3.11",
|
package/.env.development
DELETED
package/.env.production
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
VITE_APP_MODE=npm
|
|
2
|
-
#VITE_APP_APP_ROOT=http://localhost:7777
|
|
3
|
-
VITE_APP_APP_ROOT=https://t.link
|
|
4
|
-
#VITE_APP_API_ROOT=http://localhost:8888
|
|
5
|
-
VITE_APP_API_ROOT=https://api.tapni.co
|
|
6
|
-
VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY='6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk'
|
|
7
|
-
VITE_APP_SSO_ID='9cd47053-080a-4df8-8fd8-ca4389163fde'
|
|
8
|
-
VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN=https://auth.tapni.com
|
package/.env.staging
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
VITE_APP_MODE=npm
|
|
2
|
-
#VITE_APP_APP_ROOT=http://localhost:7777
|
|
3
|
-
VITE_APP_APP_ROOT=https://dev.t.link
|
|
4
|
-
#VITE_APP_API_ROOT=http://localhost:8888
|
|
5
|
-
VITE_APP_API_ROOT=https://api-dev.tapni.co
|
|
6
|
-
VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY='6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk'
|
|
7
|
-
VITE_APP_SSO_ID='9cd47053-080a-4df8-8fd8-ca4389163fde'
|
|
8
|
-
VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN=https://auth.tapni.com
|
package/.env.standalone
DELETED
package/.vscode/extensions.json
DELETED
package/index.html
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta name="google-signin-client_id" content="977665455842-5d5ar2comte3muk65oaf4g5jrmcsvu1m.apps.googleusercontent.com">
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
|
|
7
|
-
<meta name="format-detection" content="telephone=no">
|
|
8
|
-
<meta name="msapplication-tap-highlight" content="no">
|
|
9
|
-
<meta name="format-detection" content="telephone=no">
|
|
10
|
-
<link rel="icon" href="/favicon.ico" class="next-head"/>
|
|
11
|
-
<title>Tapni - Share everything with just a tap</title>
|
|
12
|
-
<meta name="description" content="Your new connecting experience. Tapni allows you to share all your socials and contact information in a smart, contactless, and sustainable way. One TAP is all it takes. Keep all your links in one place. Bring your business card to life. Impress anyone you meet. Connecting made effortless with just a simple tap!">
|
|
13
|
-
<!-- Open Graph / Facebook -->
|
|
14
|
-
<meta property="og:type" content="website">
|
|
15
|
-
<meta property="og:title" content="Tapni - Share with just a tap">
|
|
16
|
-
<meta property="og:description" content="Share everything in a smart, contactless,and sustainable way">
|
|
17
|
-
<meta property="og:image" content="https://cdn.tapni.co/images/banner-sticker.png">
|
|
18
|
-
<meta property="og:url" content="https://tapni.com">
|
|
19
|
-
|
|
20
|
-
<!-- Twitter -->
|
|
21
|
-
<meta property="twitter:url" content="https://tapni.com">
|
|
22
|
-
<meta property="twitter:card" content="summary_large_image">
|
|
23
|
-
<meta property="twitter:site" content="@tapni_co">
|
|
24
|
-
<meta property="twitter:title" content="Tapni - Share everything with just a tap">
|
|
25
|
-
<meta property="twitter:description" content="Your new connecting experience. Tapni allows you to share all your socials and contact information in a smart, contactless, and sustainable way. One TAP is all it takes. Keep all your links in one place. Bring your business card to life. Impress anyone you meet. Connecting made effortless with just a simple tap!">
|
|
26
|
-
<meta property="twitter:image" content="https://cdn.tapni.co/images/banner-sticker.png">
|
|
27
|
-
|
|
28
|
-
<link rel="apple-touch-icon" href="/icon.png">
|
|
29
|
-
<link rel="android-touch-icon" href="/icon.png" />
|
|
30
|
-
</head>
|
|
31
|
-
<body id="bodyId" class="lazy-scroll no-select">
|
|
32
|
-
<div id="app"></div>
|
|
33
|
-
<script type="module" src="/src/main.js"></script>
|
|
34
|
-
</body>
|
|
35
|
-
</html>
|
package/jsconfig.json
DELETED
package/vite.config.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite';
|
|
2
|
-
import vue from '@vitejs/plugin-vue';
|
|
3
|
-
import { fileURLToPath, URL } from 'node:url'
|
|
4
|
-
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
server: {
|
|
7
|
-
port: 8083
|
|
8
|
-
},
|
|
9
|
-
plugins: [vue()],
|
|
10
|
-
resolve: {
|
|
11
|
-
alias: {
|
|
12
|
-
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
build: {
|
|
16
|
-
manifest: true,
|
|
17
|
-
// minify: true,
|
|
18
|
-
reportCompressedSize: true,
|
|
19
|
-
lib: {
|
|
20
|
-
entry: './src/install.js', // Update this path
|
|
21
|
-
name: 'TapniAuth', // The name of your library
|
|
22
|
-
fileName: (format) => `TapniAuth.${format}.js`
|
|
23
|
-
},
|
|
24
|
-
rollupOptions: {
|
|
25
|
-
// Externalize dependencies that shouldn't be bundled
|
|
26
|
-
// into your library
|
|
27
|
-
external: [
|
|
28
|
-
'vue',
|
|
29
|
-
'vuex',
|
|
30
|
-
'axios',
|
|
31
|
-
// Add other dependencies you want to exclude from the bundle
|
|
32
|
-
'@braintree/sanitize-url',
|
|
33
|
-
'@capacitor-community/apple-sign-in',
|
|
34
|
-
'@capacitor-community/facebook-login',
|
|
35
|
-
'@capacitor/app',
|
|
36
|
-
'@capacitor/browser',
|
|
37
|
-
'@capacitor/core',
|
|
38
|
-
'@capacitor/device',
|
|
39
|
-
'@codetrix-studio/capacitor-google-auth',
|
|
40
|
-
'@recognizebv/capacitor-plugin-msauth',
|
|
41
|
-
'@tapni/capacitor-reactive-localstorage-vue3',
|
|
42
|
-
'await-to-js',
|
|
43
|
-
'@tapni/capacitor-reactive-localstorage-vue3',
|
|
44
|
-
'jwt-decode',
|
|
45
|
-
'qr-code-styling',
|
|
46
|
-
'vue-cookies',
|
|
47
|
-
'vue-router'
|
|
48
|
-
],
|
|
49
|
-
output: {
|
|
50
|
-
// Provide global variables to use in the UMD build
|
|
51
|
-
// for externalized deps
|
|
52
|
-
globals: {
|
|
53
|
-
vue: 'Vue'
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|