commet 0.7.2 → 0.7.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/dist/index.js +5 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -249,7 +249,7 @@ var linkCommand = new import_commander2.Command("link").description("Link this p
|
|
|
249
249
|
}
|
|
250
250
|
const baseURL = getBaseURL(auth.environment);
|
|
251
251
|
const result = await apiRequest(
|
|
252
|
-
`${baseURL}/cli/organizations`
|
|
252
|
+
`${baseURL}/api/cli/organizations`
|
|
253
253
|
);
|
|
254
254
|
if (result.error || !result.data) {
|
|
255
255
|
spinner.fail("Failed to fetch organizations");
|
|
@@ -335,7 +335,7 @@ var listCommand = new import_commander3.Command("list").description("List event
|
|
|
335
335
|
const spinner = (0, import_ora2.default)(`Fetching ${type}...`).start();
|
|
336
336
|
const baseURL = getBaseURL(projectConfig.environment);
|
|
337
337
|
const result = await apiRequest(
|
|
338
|
-
`${baseURL}/cli/types?orgId=${projectConfig.orgId}`
|
|
338
|
+
`${baseURL}/api/cli/types?orgId=${projectConfig.orgId}`
|
|
339
339
|
);
|
|
340
340
|
if (result.error || !result.data) {
|
|
341
341
|
spinner.fail(`Failed to fetch ${type}`);
|
|
@@ -702,7 +702,7 @@ var pullCommand = new import_commander6.Command("pull").description("Pull type d
|
|
|
702
702
|
const spinner = (0, import_ora4.default)("Fetching type definitions...").start();
|
|
703
703
|
const baseURL = getBaseURL(projectConfig.environment);
|
|
704
704
|
const result = await apiRequest(
|
|
705
|
-
`${baseURL}/cli/types?orgId=${projectConfig.orgId}`
|
|
705
|
+
`${baseURL}/api/cli/types?orgId=${projectConfig.orgId}`
|
|
706
706
|
);
|
|
707
707
|
if (result.error || !result.data) {
|
|
708
708
|
spinner.fail("Failed to fetch types");
|
|
@@ -793,7 +793,7 @@ var switchCommand = new import_commander7.Command("switch").description("Switch
|
|
|
793
793
|
}
|
|
794
794
|
const baseURL = getBaseURL(auth.environment);
|
|
795
795
|
const result = await apiRequest(
|
|
796
|
-
`${baseURL}/cli/organizations`
|
|
796
|
+
`${baseURL}/api/cli/organizations`
|
|
797
797
|
);
|
|
798
798
|
if (result.error || !result.data) {
|
|
799
799
|
spinner.fail("Failed to fetch organizations");
|
|
@@ -888,7 +888,7 @@ var whoamiCommand = new import_commander9.Command("whoami").description("Display
|
|
|
888
888
|
// package.json
|
|
889
889
|
var package_default = {
|
|
890
890
|
name: "commet",
|
|
891
|
-
version: "0.7.
|
|
891
|
+
version: "0.7.4",
|
|
892
892
|
description: "Commet CLI - Manage your billing platform from the command line",
|
|
893
893
|
bin: {
|
|
894
894
|
commet: "./bin/commet"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commet",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Commet CLI - Manage your billing platform from the command line",
|
|
5
5
|
"bin": {
|
|
6
6
|
"commet": "./bin/commet"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"jsonc-parser": "^3.3.1",
|
|
26
26
|
"open": "^10.0.0",
|
|
27
27
|
"ora": "^7.0.1",
|
|
28
|
-
"@commet/node": "0.
|
|
28
|
+
"@commet/node": "0.8.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^20.10.0",
|