@screenshotscout/cli 0.4.0 → 0.5.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.
- package/README.md +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -57,6 +57,8 @@ $env:SCREENSHOTSCOUT_SECRET_KEY = "YOUR_SECRET_KEY"
|
|
|
57
57
|
|
|
58
58
|
`SCREENSHOTSCOUT_ACCESS_KEY` is required. `SCREENSHOTSCOUT_SECRET_KEY` is optional; omit its assignment for unsigned requests. When the secret key is configured, generated capture URLs and captures are signed automatically, while the secret key stays local.
|
|
59
59
|
|
|
60
|
+
To send requests to another server, such as your own proxy or a mock server, set `SCREENSHOTSCOUT_BASE_URL` to its base URL. Captures then go to that URL plus `/v1/capture`, and generated capture URLs point there too.
|
|
61
|
+
|
|
60
62
|
## Commands
|
|
61
63
|
|
|
62
64
|
### Capture a URL
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@screenshotscout/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Official command-line interface for the Screenshot Scout screenshot API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"node": ">=22"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@screenshotscout/sdk": "0.
|
|
52
|
+
"@screenshotscout/sdk": "0.6.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@eslint/js": "10.0.1",
|