openhome-cli 0.1.10 → 0.1.12

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/cli.js CHANGED
@@ -367,7 +367,7 @@ async function loginCommand() {
367
367
  "",
368
368
  `${chalk2.bold("4.")} Paste this command and press Enter:`,
369
369
  "",
370
- ` ${chalk2.green("copy(localStorage.getItem('token'))")}`,
370
+ ` ${chalk2.green("copy(localStorage.getItem('access_token')), '\u2713 Token copied to clipboard!'")}`,
371
371
  "",
372
372
  `${chalk2.bold("5.")} Your token is copied to clipboard \u2014 paste it back here.`
373
373
  ].join("\n"),
@@ -3180,7 +3180,7 @@ async function setJwtCommand(token) {
3180
3180
  "",
3181
3181
  `${chalk13.bold("4.")} Paste this command and press Enter:`,
3182
3182
  "",
3183
- ` ${chalk13.green("copy(localStorage.getItem('token'))")}`,
3183
+ ` ${chalk13.green("copy(localStorage.getItem('access_token')), '\u2713 Token copied to clipboard!'")}`,
3184
3184
  "",
3185
3185
  `${chalk13.bold("5.")} Your token is copied to clipboard \u2014 paste it back here.`
3186
3186
  ].join("\n"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openhome-cli",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "CLI for managing OpenHome voice AI abilities",
5
5
  "type": "module",
6
6
  "bin": {
@@ -115,7 +115,7 @@ export async function loginCommand(): Promise<void> {
115
115
  "",
116
116
  `${chalk.bold("4.")} Paste this command and press Enter:`,
117
117
  "",
118
- ` ${chalk.green("copy(localStorage.getItem('token'))")}`,
118
+ ` ${chalk.green("copy(localStorage.getItem('access_token')), '✓ Token copied to clipboard!'")}`,
119
119
  "",
120
120
  `${chalk.bold("5.")} Your token is copied to clipboard — paste it back here.`,
121
121
  ].join("\n"),
@@ -42,7 +42,7 @@ export async function setJwtCommand(token?: string): Promise<void> {
42
42
  "",
43
43
  `${chalk.bold("4.")} Paste this command and press Enter:`,
44
44
  "",
45
- ` ${chalk.green("copy(localStorage.getItem('token'))")}`,
45
+ ` ${chalk.green("copy(localStorage.getItem('access_token')), '✓ Token copied to clipboard!'")}`,
46
46
  "",
47
47
  `${chalk.bold("5.")} Your token is copied to clipboard — paste it back here.`,
48
48
  ].join("\n"),