@djangocfg/monitor 2.1.360 → 2.1.362

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/client.mjs CHANGED
@@ -203,6 +203,7 @@ function defaultBaseUrl() {
203
203
  }
204
204
  __name(defaultBaseUrl, "defaultBaseUrl");
205
205
  function defaultApiKey() {
206
+ if (isBrowser) return null;
206
207
  try {
207
208
  if (typeof process !== "undefined" && process.env?.NEXT_PUBLIC_API_KEY) {
208
209
  return process.env.NEXT_PUBLIC_API_KEY;
@@ -1448,7 +1449,7 @@ __name(sendBatch, "sendBatch");
1448
1449
  // src/client/utils/env.ts
1449
1450
  var isDevelopment = process.env.NODE_ENV === "development";
1450
1451
  var isProduction = !isDevelopment;
1451
- var MONITOR_VERSION = "2.1.360";
1452
+ var MONITOR_VERSION = "2.1.362";
1452
1453
 
1453
1454
  // src/client/constants.ts
1454
1455
  var MONITOR_INGEST_PATTERN = /cfg\/monitor\/ingest/;