@burn0/burn0 0.2.1 → 0.2.2

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.
@@ -755,7 +755,7 @@ function createTicker(init) {
755
755
  }
756
756
 
757
757
  // src/index.ts
758
- var BURN0_API_URL = process.env.BURN0_API_URL ?? "https://api.burn0.dev";
758
+ var BURN0_API_URL = process.env.BURN0_API_URL ?? "https://burn0-server-production.up.railway.app";
759
759
  var apiKey = getApiKey();
760
760
  var mode = detectMode({ isTTY: isTTY(), apiKey });
761
761
  var { track, startSpan, enrichEvent } = createTracker();
@@ -841,4 +841,4 @@ export {
841
841
  startSpan,
842
842
  restore
843
843
  };
844
- //# sourceMappingURL=chunk-KKYHE4ZV.mjs.map
844
+ //# sourceMappingURL=chunk-QJYKRVCP.mjs.map
package/dist/cli/index.js CHANGED
@@ -18174,7 +18174,7 @@ async function _runInit() {
18174
18174
  });
18175
18175
  if (apiKey) {
18176
18176
  try {
18177
- const apiUrl = process.env.BURN0_API_URL ?? "https://api.burn0.dev";
18177
+ const apiUrl = process.env.BURN0_API_URL ?? "https://burn0-server-production.up.railway.app";
18178
18178
  const res = await fetch(`${apiUrl}/v1/projects/config`, {
18179
18179
  method: "POST",
18180
18180
  headers: {
@@ -18668,7 +18668,7 @@ var init_report = __esm({
18668
18668
  init_local();
18669
18669
  init_local_pricing();
18670
18670
  init_env();
18671
- BURN0_API_URL = process.env.BURN0_API_URL ?? "https://api.burn0.dev";
18671
+ BURN0_API_URL = process.env.BURN0_API_URL ?? "https://burn0-server-production.up.railway.app";
18672
18672
  }
18673
18673
  });
18674
18674
 
package/dist/index.js CHANGED
@@ -816,7 +816,7 @@ function createTicker(init) {
816
816
  }
817
817
 
818
818
  // src/index.ts
819
- var BURN0_API_URL = process.env.BURN0_API_URL ?? "https://api.burn0.dev";
819
+ var BURN0_API_URL = process.env.BURN0_API_URL ?? "https://burn0-server-production.up.railway.app";
820
820
  var apiKey = getApiKey();
821
821
  var mode = detectMode({ isTTY: isTTY(), apiKey });
822
822
  var { track, startSpan, enrichEvent } = createTracker();
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  restore,
3
3
  startSpan,
4
4
  track
5
- } from "./chunk-KKYHE4ZV.mjs";
5
+ } from "./chunk-QJYKRVCP.mjs";
6
6
  import "./chunk-DJ72YN4C.mjs";
7
7
  export {
8
8
  restore,
package/dist/register.js CHANGED
@@ -802,7 +802,7 @@ function createTicker(init) {
802
802
  }
803
803
 
804
804
  // src/index.ts
805
- var BURN0_API_URL = process.env.BURN0_API_URL ?? "https://api.burn0.dev";
805
+ var BURN0_API_URL = process.env.BURN0_API_URL ?? "https://burn0-server-production.up.railway.app";
806
806
  var apiKey = getApiKey();
807
807
  var mode = detectMode({ isTTY: isTTY(), apiKey });
808
808
  var { track, startSpan, enrichEvent } = createTracker();
package/dist/register.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import "./chunk-KKYHE4ZV.mjs";
1
+ import "./chunk-QJYKRVCP.mjs";
2
2
  import "./chunk-DJ72YN4C.mjs";
3
3
  //# sourceMappingURL=register.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burn0/burn0",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Lightweight cost observability for every API call in your stack",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",