@palbase/web 7.3.5 → 7.3.7

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.
@@ -8881,7 +8881,7 @@ function defaultSessionStorage(key) {
8881
8881
  }
8882
8882
 
8883
8883
  // src/version.ts
8884
- var VERSION = "7.3.5";
8884
+ var VERSION = "7.3.7";
8885
8885
 
8886
8886
  // src/runtime.ts
8887
8887
  function buildRuntime(config) {
@@ -8889,15 +8889,11 @@ function buildRuntime(config) {
8889
8889
  if (projectRef === "") {
8890
8890
  throw new Error("PalbeConfig.apiKey does not contain a valid publishable project identity");
8891
8891
  }
8892
- let runtimeURL;
8893
8892
  try {
8894
- runtimeURL = new URL(config.url);
8893
+ new URL(config.url);
8895
8894
  } catch {
8896
8895
  throw new Error("PalbeConfig.url must be a valid URL");
8897
8896
  }
8898
- if (runtimeURL.hostname.endsWith(".palbase.studio") && runtimeURL.hostname.split(".")[0] !== projectRef) {
8899
- throw new Error("PalbeConfig.url must match the project identity in apiKey for palbase.studio");
8900
- }
8901
8897
  const http = new HttpClient(config.apiKey, {
8902
8898
  url: config.url,
8903
8899
  headers: { "X-Client-Info": `palbe-web/${VERSION}`, ...config.headers }
@@ -9305,4 +9301,4 @@ export {
9305
9301
  pb,
9306
9302
  createBoundClient
9307
9303
  };
9308
- //# sourceMappingURL=chunk-2VURERR2.js.map
9304
+ //# sourceMappingURL=chunk-ZEGPZL5O.js.map