trainfabric 0.1.66 → 0.1.67

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.
Files changed (2) hide show
  1. package/dist/index.cjs +2 -6
  2. 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
- const [summary, records] = await Promise.all([
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.66";
9363
+ var CLI_VERSION = "0.1.67";
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trainfabric",
3
- "version": "0.1.66",
3
+ "version": "0.1.67",
4
4
  "description": "Trainfabric CLI for launching GPU training jobs on the hosted Trainfabric backend.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",