shipmail-cli 0.6.5 → 0.6.6
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 +6 -0
- package/dist/cli.js +4 -1
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -221,3 +221,9 @@ shipmail audiences feed update aud_123 \
|
|
|
221
221
|
```
|
|
222
222
|
|
|
223
223
|
Run `shipmail --help` for flags and examples.
|
|
224
|
+
|
|
225
|
+
## Links
|
|
226
|
+
|
|
227
|
+
- [CLI guide](https://shipmail.to/docs/cli)
|
|
228
|
+
- [Source](https://github.com/shipmail-to/shipmail-node/tree/main/packages/shipmail-cli)
|
|
229
|
+
- [Issues](https://github.com/shipmail-to/shipmail-node/issues)
|
package/dist/cli.js
CHANGED
|
@@ -351,6 +351,7 @@ var OAuthError = class extends Error {
|
|
|
351
351
|
this.code = code;
|
|
352
352
|
this.name = "OAuthError";
|
|
353
353
|
}
|
|
354
|
+
code;
|
|
354
355
|
};
|
|
355
356
|
function trimSlash(value) {
|
|
356
357
|
return value.replace(/\/+$/, "");
|
|
@@ -650,7 +651,7 @@ async function login(options) {
|
|
|
650
651
|
}
|
|
651
652
|
|
|
652
653
|
// src/version.ts
|
|
653
|
-
var VERSION = "0.6.
|
|
654
|
+
var VERSION = "0.6.6";
|
|
654
655
|
|
|
655
656
|
// src/cli.ts
|
|
656
657
|
var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";
|
|
@@ -686,6 +687,8 @@ var CliHttpError = class extends Error {
|
|
|
686
687
|
this.body = body;
|
|
687
688
|
this.name = "CliHttpError";
|
|
688
689
|
}
|
|
690
|
+
status;
|
|
691
|
+
body;
|
|
689
692
|
};
|
|
690
693
|
function parseCliArgs(argv) {
|
|
691
694
|
const positional = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shipmail-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Official CLI for the Shipmail API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,9 +31,12 @@
|
|
|
31
31
|
"homepage": "https://shipmail.to/docs/cli",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/shipmail-to/
|
|
34
|
+
"url": "git+https://github.com/shipmail-to/shipmail-node.git",
|
|
35
35
|
"directory": "packages/shipmail-cli"
|
|
36
36
|
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/shipmail-to/shipmail-node/issues"
|
|
39
|
+
},
|
|
37
40
|
"engines": {
|
|
38
41
|
"node": ">=18"
|
|
39
42
|
},
|
|
@@ -41,7 +44,7 @@
|
|
|
41
44
|
"access": "public"
|
|
42
45
|
},
|
|
43
46
|
"dependencies": {
|
|
44
|
-
"shipmail": "0.6.
|
|
47
|
+
"shipmail": "0.6.7",
|
|
45
48
|
"zod": "^4.6.5"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|