@vatio-ai/cli 0.48.1 → 0.49.0
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.
|
@@ -71,7 +71,8 @@ export async function auth(config, args) {
|
|
|
71
71
|
[ `"aud": ${JSON.stringify(slug)},`, "this workspace, always" ],
|
|
72
72
|
[ '"exp": <unix seconds>,', "required; keep it short" ],
|
|
73
73
|
[ '"name": "Ada Lovelace",', "optional, fills the CRM" ],
|
|
74
|
-
[ '"email": "ada@example.com"', "optional, fills the CRM" ]
|
|
74
|
+
[ '"email": "ada@example.com",', "optional, fills the CRM" ],
|
|
75
|
+
[ '"metadata": { ... }', "optional, profile link + badges in the inbox" ]
|
|
75
76
|
];
|
|
76
77
|
const width = Math.max(...claims.map(([ claim ]) => claim.length));
|
|
77
78
|
console.log(" {");
|
|
@@ -82,6 +83,7 @@ export async function auth(config, args) {
|
|
|
82
83
|
console.log("");
|
|
83
84
|
console.log("Put it on the widget as data-visitor-token, and push.");
|
|
84
85
|
console.log("Full examples: https://docs.vatio.ai/authentication/");
|
|
86
|
+
console.log("Inbox metadata: https://docs.vatio.ai/authentication/#enrich-the-inbox");
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
function ignorePrivateKey(root) {
|