@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.
package/dist/index.d.cts CHANGED
@@ -206,6 +206,6 @@ interface MlsGlue {
206
206
  */
207
207
  declare function initMls(): Promise<MlsGlue>;
208
208
 
209
- declare const VERSION = "7.3.5";
209
+ declare const VERSION = "7.3.7";
210
210
 
211
211
  export { VERSION, initMls };
package/dist/index.d.ts CHANGED
@@ -206,6 +206,6 @@ interface MlsGlue {
206
206
  */
207
207
  declare function initMls(): Promise<MlsGlue>;
208
208
 
209
- declare const VERSION = "7.3.5";
209
+ declare const VERSION = "7.3.7";
210
210
 
211
211
  export { VERSION, initMls };
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  localStorageSessionStorage,
12
12
  memorySessionStorage,
13
13
  pb
14
- } from "./chunk-2VURERR2.js";
14
+ } from "./chunk-ZEGPZL5O.js";
15
15
  import {
16
16
  BackendError,
17
17
  isBackendError
package/dist/internal.cjs CHANGED
@@ -9419,7 +9419,7 @@ function defaultSessionStorage(key) {
9419
9419
  }
9420
9420
 
9421
9421
  // src/version.ts
9422
- var VERSION = "7.3.5";
9422
+ var VERSION = "7.3.7";
9423
9423
 
9424
9424
  // src/runtime.ts
9425
9425
  function buildRuntime(config) {
@@ -9427,15 +9427,11 @@ function buildRuntime(config) {
9427
9427
  if (projectRef === "") {
9428
9428
  throw new Error("PalbeConfig.apiKey does not contain a valid publishable project identity");
9429
9429
  }
9430
- let runtimeURL;
9431
9430
  try {
9432
- runtimeURL = new URL(config.url);
9431
+ new URL(config.url);
9433
9432
  } catch {
9434
9433
  throw new Error("PalbeConfig.url must be a valid URL");
9435
9434
  }
9436
- if (runtimeURL.hostname.endsWith(".palbase.studio") && runtimeURL.hostname.split(".")[0] !== projectRef) {
9437
- throw new Error("PalbeConfig.url must match the project identity in apiKey for palbase.studio");
9438
- }
9439
9435
  const http = new HttpClient(config.apiKey, {
9440
9436
  url: config.url,
9441
9437
  headers: { "X-Client-Info": `palbe-web/${VERSION}`, ...config.headers }