@togglhq/cli 1.13.172 → 1.13.174
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/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BfqCX9NP.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-BfqCX9NP.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -16632,7 +16632,9 @@ async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal
|
|
|
16632
16632
|
//#endregion
|
|
16633
16633
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
16634
16634
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
16635
|
-
|
|
16635
|
+
const response = await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal });
|
|
16636
|
+
if ([204, 205].includes(response.status)) return null;
|
|
16637
|
+
return response.json();
|
|
16636
16638
|
}
|
|
16637
16639
|
async function getFeaturesUpsell(httpClient, organization_id, signal) {
|
|
16638
16640
|
return (await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal })).json();
|
|
@@ -32493,4 +32495,4 @@ Common commands:
|
|
|
32493
32495
|
//#endregion
|
|
32494
32496
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
32495
32497
|
|
|
32496
|
-
//# sourceMappingURL=program-
|
|
32498
|
+
//# sourceMappingURL=program-BfqCX9NP.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-BfqCX9NP.js";
|
|
2
2
|
export { createProgram };
|