@volr/react 0.1.3 → 0.1.4

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
@@ -354,6 +354,10 @@ var SessionSync = class {
354
354
  var DEFAULT_API_BASE_URL = "https://api.volr.io";
355
355
  function resolveApiBaseUrl(config) {
356
356
  const anyConfig = config;
357
+ const devOverride = anyConfig.__devApiBaseUrl;
358
+ if (devOverride && typeof devOverride === "string") {
359
+ return devOverride.replace(/\/+$/, "");
360
+ }
357
361
  const override = anyConfig.apiBaseUrl;
358
362
  if (override && typeof override === "string") {
359
363
  return override.replace(/\/+$/, "");