@djangocfg/monitor 2.1.360 → 2.1.361

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.cjs CHANGED
@@ -237,6 +237,7 @@ function defaultBaseUrl() {
237
237
  }
238
238
  __name(defaultBaseUrl, "defaultBaseUrl");
239
239
  function defaultApiKey() {
240
+ if (isBrowser) return null;
240
241
  try {
241
242
  if (typeof process !== "undefined" && process.env?.NEXT_PUBLIC_API_KEY) {
242
243
  return process.env.NEXT_PUBLIC_API_KEY;
@@ -1482,7 +1483,7 @@ __name(sendBatch, "sendBatch");
1482
1483
  // src/client/utils/env.ts
1483
1484
  var isDevelopment = process.env.NODE_ENV === "development";
1484
1485
  var isProduction = !isDevelopment;
1485
- var MONITOR_VERSION = "2.1.360";
1486
+ var MONITOR_VERSION = "2.1.361";
1486
1487
 
1487
1488
  // src/client/constants.ts
1488
1489
  var MONITOR_INGEST_PATTERN = /cfg\/monitor\/ingest/;