trainfabric 0.1.66 → 0.1.68
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.cjs +2 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8170,11 +8170,7 @@ var BillingClient = class extends ResourceClient {
|
|
|
8170
8170
|
return this.requestGet(`/v1/billing/usage${query ? `?${query}` : ""}`);
|
|
8171
8171
|
}
|
|
8172
8172
|
async getRunUsage(runId) {
|
|
8173
|
-
|
|
8174
|
-
this.requestGet(`/v1/runs/${encodeURIComponent(runId)}/usage`),
|
|
8175
|
-
this.getUsage(void 0, runId)
|
|
8176
|
-
]);
|
|
8177
|
-
return { ...summary, usage: records };
|
|
8173
|
+
return this.requestGet(`/v1/runs/${encodeURIComponent(runId)}/usage`);
|
|
8178
8174
|
}
|
|
8179
8175
|
listInvoices() {
|
|
8180
8176
|
return this.requestGet("/v1/billing/invoices");
|
|
@@ -9364,7 +9360,7 @@ function buildComputeSpec(options) {
|
|
|
9364
9360
|
|
|
9365
9361
|
// src/index.ts
|
|
9366
9362
|
var DEFAULT_TRAINFABRIC_API_URL2 = "https://api.trainfabric.com";
|
|
9367
|
-
var CLI_VERSION = "0.1.
|
|
9363
|
+
var CLI_VERSION = "0.1.68";
|
|
9368
9364
|
var CONFIG_DIR = import_node_path3.default.join(import_node_os2.default.homedir(), ".trainfabric");
|
|
9369
9365
|
var CONFIG_PATH = import_node_path3.default.join(CONFIG_DIR, "config.json");
|
|
9370
9366
|
var FALLBACK_SECRET_PATH = import_node_path3.default.join(CONFIG_DIR, "session.enc");
|