zopassport 0.1.2 → 0.1.4
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/LICENSE +1 -0
- package/README.md +3 -1
- package/app/index.html +26 -0
- package/app/src/main.tsx +11 -0
- package/package.json +2 -1
- package/scripts/init.js +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -30,7 +30,9 @@ npm install && npm run dev
|
|
|
30
30
|
|
|
31
31
|
That's it! 🎉 Your full Zo Passport app is running at http://localhost:5173
|
|
32
32
|
|
|
33
|
-
🔑 **
|
|
33
|
+
🔑 **Get your client key from a Zo House near you**
|
|
34
|
+
|
|
35
|
+
📦 **Repository:** https://github.com/ZoHouse/zopassport
|
|
34
36
|
|
|
35
37
|
---
|
|
36
38
|
|
package/app/index.html
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/png" href="/assets/figma-assets/landing-zo-logo.png" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<meta name="description" content="Zo Passport - One line reputation to rule the world" />
|
|
9
|
+
<title>Zo Passport</title>
|
|
10
|
+
<style>
|
|
11
|
+
/* Prevent flash of unstyled content */
|
|
12
|
+
html, body, #root {
|
|
13
|
+
margin: 0;
|
|
14
|
+
padding: 0;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
background-color: #000;
|
|
18
|
+
}
|
|
19
|
+
</style>
|
|
20
|
+
</head>
|
|
21
|
+
<body>
|
|
22
|
+
<div id="root"></div>
|
|
23
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
26
|
+
|
package/app/src/main.tsx
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zopassport",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Zo Passport SDK - Phone to Avatar to Passport. Complete authentication and onboarding flow for Zo World.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"assets",
|
|
33
33
|
"app/src",
|
|
34
34
|
"app/public",
|
|
35
|
+
"app/index.html",
|
|
35
36
|
"app/package.json",
|
|
36
37
|
"app/README.md",
|
|
37
38
|
"app/vite.config.ts",
|
package/scripts/init.js
CHANGED
|
@@ -174,7 +174,7 @@ async function init() {
|
|
|
174
174
|
log('║ ║', GREEN);
|
|
175
175
|
log('║ 2. Edit .env with your Zo client key: ║', GREEN);
|
|
176
176
|
log('║ ' + BOLD + 'VITE_ZO_CLIENT_KEY=your-key-here' + RESET + GREEN + ' ║', GREEN);
|
|
177
|
-
log('║ Get
|
|
177
|
+
log('║ Get token from a Zo House near you ║', GREEN);
|
|
178
178
|
log('║ ║', GREEN);
|
|
179
179
|
log('║ 3. Install dependencies: ║', GREEN);
|
|
180
180
|
log('║ ' + BOLD + 'npm install' + RESET + GREEN + ' ║', GREEN);
|