chrome-webstore-upload 1.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/readme.md +3 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrome-webstore-upload",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "Upload Chrome Extensions to the Chrome Web Store",
5
5
  "keywords": [
6
6
  "chrome",
@@ -38,14 +38,14 @@
38
38
  "space": 4
39
39
  },
40
40
  "dependencies": {
41
- "got": "^11.8.2"
41
+ "got": "^14.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "ava": "^3.15.0",
45
- "sinon": "^11.1.2",
46
- "xo": "^0.44.0"
44
+ "ava": "^6.0.1",
45
+ "sinon": "^17.0.1",
46
+ "xo": "^0.56.0"
47
47
  },
48
48
  "engines": {
49
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
49
+ "node": ">=18"
50
50
  }
51
51
  }
package/readme.md CHANGED
@@ -12,13 +12,11 @@ npm install --save-dev chrome-webstore-upload
12
12
 
13
13
  ## Setup
14
14
 
15
- You will need a Google API `clientId` and a `refreshToken`. Read [the guide](./How%20to%20generate%20Google%20API%20keys.md).
16
-
17
- Note: If you created the APIs before version 0.5.0 (September 2021), you might have to follow [the guide](./How%20to%20generate%20Google%20API%20keys.md) again. [Leave a comment](https://github.com/fregante/chrome-webstore-upload-cli/issues/44) if that happened to you.
15
+ You will need a Google API `clientId`, `clientSecret` and `refreshToken`. Read [the guide](./How%20to%20generate%20Google%20API%20keys.md).
18
16
 
19
17
  ## Usage
20
18
 
21
- All methods return an ES2015-compliant promise.
19
+ All methods return a promise.
22
20
 
23
21
  ### Create a new client
24
22
 
@@ -28,6 +26,7 @@ import chromeWebstoreUpload from 'chrome-webstore-upload';
28
26
  const store = chromeWebstoreUpload({
29
27
  extensionId: 'ecnglinljpjkbgmdpeiglonddahpbkeb',
30
28
  clientId: 'xxxxxxxxxx',
29
+ clientSecret: 'xxxxxxxxxx',
31
30
  refreshToken: 'xxxxxxxxxx',
32
31
  });
33
32
  ```