@palbase/web 7.3.5 → 7.3.6

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/internal.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  createBoundClient,
7
7
  getRuntime,
8
8
  onConfigured
9
- } from "./chunk-2VURERR2.js";
9
+ } from "./chunk-SQWG3PTU.js";
10
10
  import "./chunk-6DGCUHSO.js";
11
11
  import "./chunk-CFDU23TB.js";
12
12
  import "./chunk-PZ5AY32C.js";
@@ -9219,7 +9219,7 @@ function defaultSessionStorage(key) {
9219
9219
  }
9220
9220
 
9221
9221
  // src/version.ts
9222
- var VERSION = "7.3.5";
9222
+ var VERSION = "7.3.6";
9223
9223
 
9224
9224
  // src/runtime.ts
9225
9225
  function buildRuntime(config) {
@@ -9227,15 +9227,11 @@ function buildRuntime(config) {
9227
9227
  if (projectRef === "") {
9228
9228
  throw new Error("PalbeConfig.apiKey does not contain a valid publishable project identity");
9229
9229
  }
9230
- let runtimeURL;
9231
9230
  try {
9232
- runtimeURL = new URL(config.url);
9231
+ new URL(config.url);
9233
9232
  } catch {
9234
9233
  throw new Error("PalbeConfig.url must be a valid URL");
9235
9234
  }
9236
- if (runtimeURL.hostname.endsWith(".palbase.studio") && runtimeURL.hostname.split(".")[0] !== projectRef) {
9237
- throw new Error("PalbeConfig.url must match the project identity in apiKey for palbase.studio");
9238
- }
9239
9235
  const http = new HttpClient(config.apiKey, {
9240
9236
  url: config.url,
9241
9237
  headers: { "X-Client-Info": `palbe-web/${VERSION}`, ...config.headers }