vedatrace 0.1.5 → 0.1.6

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 CHANGED
@@ -105,7 +105,7 @@ class VedaTraceLogger {
105
105
  this.config = {
106
106
  service: config.service,
107
107
  apiKey: config.apiKey,
108
- endpoint: config.endpoint ?? "https://api.vedatrace.io/v1/logs",
108
+ endpoint: config.endpoint ?? "https://ingest.vedatrace.dev/v1/logs",
109
109
  environment: config.environment,
110
110
  batchSize: config.batchSize ?? 100,
111
111
  flushInterval: config.flushInterval ?? 5e3,
package/dist/index.mjs CHANGED
@@ -101,7 +101,7 @@ class VedaTraceLogger {
101
101
  this.config = {
102
102
  service: config.service,
103
103
  apiKey: config.apiKey,
104
- endpoint: config.endpoint ?? "https://api.vedatrace.io/v1/logs",
104
+ endpoint: config.endpoint ?? "https://ingest.vedatrace.dev/v1/logs",
105
105
  environment: config.environment,
106
106
  batchSize: config.batchSize ?? 100,
107
107
  flushInterval: config.flushInterval ?? 5e3,
@@ -84,7 +84,7 @@ class VedaTraceHttpTransport {
84
84
  headers;
85
85
  constructor(config) {
86
86
  this.apiKey = config.apiKey;
87
- this.endpoint = config.endpoint ?? "https://api.vedatrace.io/v1/logs";
87
+ this.endpoint = config.endpoint ?? "https://ingest.vedatrace.dev/v1/logs";
88
88
  this.timeout = config.timeout ?? 3e4;
89
89
  this.headers = config.headers ?? {};
90
90
  }
@@ -82,7 +82,7 @@ class VedaTraceHttpTransport {
82
82
  headers;
83
83
  constructor(config) {
84
84
  this.apiKey = config.apiKey;
85
- this.endpoint = config.endpoint ?? "https://api.vedatrace.io/v1/logs";
85
+ this.endpoint = config.endpoint ?? "https://ingest.vedatrace.dev/v1/logs";
86
86
  this.timeout = config.timeout ?? 3e4;
87
87
  this.headers = config.headers ?? {};
88
88
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vedatrace",
3
3
  "description": "Universal JavaScript logging SDK for VedaTrace - type-safe, lightweight, and developer-friendly",
4
- "version": "0.1.5",
4
+ "version": "0.1.6",
5
5
  "scripts": {
6
6
  "setup": "rm -rf node_modules && npm i && git init && husky",
7
7
  "prepublishOnly": "npm run build",