@siteqwality/cli 0.1.3 → 0.1.4
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 +3 -3
- package/bin/siteqwality.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @siteqwality/cli
|
|
2
2
|
|
|
3
|
-
Version 0.1.
|
|
3
|
+
Version 0.1.4, Node.js 22+. Install:
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
npm install --save-dev @siteqwality/cli
|
|
@@ -72,7 +72,7 @@ Unchanged injected pairs can be processed repeatedly. If injected JavaScript cha
|
|
|
72
72
|
|
|
73
73
|
## Upload and deletion
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
Each upload runs these steps:
|
|
76
76
|
|
|
77
77
|
1. Create the app-scoped release.
|
|
78
78
|
2. Presign at most 50 maps per batch, with unique filenames and Debug IDs. Declare exact gzip byte sizes and JSON/gzip headers.
|
|
@@ -82,7 +82,7 @@ Uploads follow the Phase 4 API contract:
|
|
|
82
82
|
|
|
83
83
|
Both raw JSON and gzip output are limited to 32 MiB per map. The client retries network failures, timeouts, HTTP 408/429 and 5xx responses with bounded backoff. It respects `Retry-After` up to 30 seconds and fails for longer requested waits. A storage 403 triggers a fresh presign and re-upload, bounded by `--retries`. Other permanent failures stop the command. An incomplete or mismatched presign/confirmation response fails closed. Failed uploads may leave pending server records; retrying gets new IDs. Earlier confirmed batches may remain ready, but no local map is removed when a later batch fails.
|
|
84
84
|
|
|
85
|
-
Confirmation
|
|
85
|
+
Confirmation means the map is stored and its metadata accepted. To check symbolication end to end, open a new error from that release in Site Qwality.
|
|
86
86
|
|
|
87
87
|
## JavaScript API
|
|
88
88
|
|
package/bin/siteqwality.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
|
|
11
11
|
const program = new Command()
|
|
12
12
|
.name('siteqwality')
|
|
13
|
-
.version('0.1.
|
|
13
|
+
.version('0.1.4')
|
|
14
14
|
.description('Site Qwality source maps, releases, incidents and on-call');
|
|
15
15
|
const integer = (value) => {
|
|
16
16
|
if (!/^\d+$/.test(value)) throw new InvalidArgumentError('Expected an integer');
|