@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.
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  __configure,
8
8
  getRuntime
9
- } from "../chunk-2VURERR2.js";
9
+ } from "../chunk-ZEGPZL5O.js";
10
10
  import "../chunk-6DGCUHSO.js";
11
11
  import {
12
12
  environmentRefFromPublishableApiKey
@@ -9428,7 +9428,7 @@ function defaultSessionStorage(key) {
9428
9428
  }
9429
9429
 
9430
9430
  // src/version.ts
9431
- var VERSION = "7.3.5";
9431
+ var VERSION = "7.3.7";
9432
9432
 
9433
9433
  // src/runtime.ts
9434
9434
  function buildRuntime(config) {
@@ -9436,15 +9436,11 @@ function buildRuntime(config) {
9436
9436
  if (projectRef === "") {
9437
9437
  throw new Error("PalbeConfig.apiKey does not contain a valid publishable project identity");
9438
9438
  }
9439
- let runtimeURL;
9440
9439
  try {
9441
- runtimeURL = new URL(config.url);
9440
+ new URL(config.url);
9442
9441
  } catch {
9443
9442
  throw new Error("PalbeConfig.url must be a valid URL");
9444
9443
  }
9445
- if (runtimeURL.hostname.endsWith(".palbase.studio") && runtimeURL.hostname.split(".")[0] !== projectRef) {
9446
- throw new Error("PalbeConfig.url must match the project identity in apiKey for palbase.studio");
9447
- }
9448
9444
  const http = new HttpClient(config.apiKey, {
9449
9445
  url: config.url,
9450
9446
  headers: { "X-Client-Info": `palbe-web/${VERSION}`, ...config.headers }