chrome-webstore-upload-keys 1.1.0 → 1.1.2

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.
Files changed (3) hide show
  1. package/cli.js +4 -3
  2. package/dist/index.js +4 -3
  3. package/package.json +2 -2
package/cli.js CHANGED
@@ -124,16 +124,17 @@ await tasks([
124
124
  {
125
125
  title: 'Opening the login page in the browser',
126
126
  async task() {
127
+ const instructions = 'Complete the process in the browser. Follow its steps and warnings (this is your own personal app)';
127
128
  if (group.open) {
128
129
  await open(getLoginUrl(group.clientId));
129
- return 'Page opened';
130
+ return instructions;
130
131
  }
131
132
 
132
- return 'Continue in: ' + getLoginUrl(group.clientId);
133
+ return instructions + '\n\n ' + getLoginUrl(group.clientId);
133
134
  },
134
135
  },
135
136
  {
136
- title: 'Waiting for you to complete the process in the browser. Follow its steps and warnings (this is your own personal app)',
137
+ title: 'Waiting for you in the browser',
137
138
  async task() {
138
139
  code = await approvalCode.promise;
139
140
  return 'Approval code received from Google';
package/dist/index.js CHANGED
@@ -370,16 +370,17 @@ await tasks([
370
370
  {
371
371
  title: 'Opening the login page in the browser',
372
372
  async task() {
373
+ const instructions = 'Complete the process in the browser. Follow its steps and warnings (this is your own personal app)';
373
374
  if (group.open) {
374
375
  await (0,openurl__WEBPACK_IMPORTED_MODULE_3__/* .open */ .b)(getLoginUrl(group.clientId));
375
- return 'Page opened';
376
+ return instructions;
376
377
  }
377
378
 
378
- return 'Continue in: ' + getLoginUrl(group.clientId);
379
+ return instructions + '\n\n ' + getLoginUrl(group.clientId);
379
380
  },
380
381
  },
381
382
  {
382
- title: 'Waiting for you to complete the process in the browser. Follow its steps and warnings (this is your own personal app)',
383
+ title: 'Waiting for you in the browser',
383
384
  async task() {
384
385
  code = await approvalCode.promise;
385
386
  return 'Approval code received from Google';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrome-webstore-upload-keys",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "CLI tool to generate OAuth keys for the Chrome Web Store",
5
5
  "keywords": [
6
6
  "chrome",
@@ -18,7 +18,7 @@
18
18
  "license": "MIT",
19
19
  "author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
20
20
  "type": "module",
21
- "bin": "./dist/cli.js",
21
+ "bin": "./dist/index.js",
22
22
  "scripts": {
23
23
  "build": "ncc build cli.js",
24
24
  "prepack": "npm run build",