@palbase/web 7.3.8 → 7.3.9

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.8";
209
+ declare const VERSION = "7.3.9";
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.8";
209
+ declare const VERSION = "7.3.9";
210
210
 
211
211
  export { VERSION, initMls };
package/dist/index.js CHANGED
@@ -11,12 +11,12 @@ import {
11
11
  localStorageSessionStorage,
12
12
  memorySessionStorage,
13
13
  pb
14
- } from "./chunk-A42CPPQ7.js";
14
+ } from "./chunk-H6YSCGQC.js";
15
15
  import {
16
16
  BackendError,
17
17
  isBackendError
18
- } from "./chunk-6DGCUHSO.js";
19
- import "./chunk-CFDU23TB.js";
18
+ } from "./chunk-EAOROUSW.js";
19
+ import "./chunk-Q5DUDL77.js";
20
20
  import "./chunk-PZ5AY32C.js";
21
21
  export {
22
22
  BackendError,
package/dist/internal.cjs CHANGED
@@ -179,7 +179,7 @@ function wirePlatform() {
179
179
  return host === "browser" ? "web" : host;
180
180
  }
181
181
  var PALBASE_DEFAULT_HOST = "api.palbase.studio";
182
- var API_KEY_RE = /^pb_([a-z0-9]{4,24})_c[A-Za-z0-9]{20}$/;
182
+ var API_KEY_RE = /^pb_([a-z0-9]{4,24})_c[A-Za-z0-9]{20,}$/;
183
183
  function parseEnvironmentRef(apiKey) {
184
184
  return API_KEY_RE.exec(apiKey)?.[1] ?? null;
185
185
  }
@@ -255,7 +255,7 @@ var HttpClient = class _HttpClient {
255
255
  if (this.apiKey && parseEnvironmentRef(this.apiKey) === null) {
256
256
  throw new PalbaseError(
257
257
  "invalid_api_key",
258
- 'Invalid API key format. Expected pb_{environment_ref}_c{20_base62_chars}. For dev/staging pass `url: "https://api.dev.palbase.studio"` via options.',
258
+ 'Invalid API key format. Expected pb_{environment_ref}_c{at least 20 base62 chars}. For dev/staging pass `url: "https://api.dev.palbase.studio"` via options.',
259
259
  0
260
260
  );
261
261
  }
@@ -1594,7 +1594,7 @@ var PalbeAnalytics = class {
1594
1594
  };
1595
1595
 
1596
1596
  // src/api-key.ts
1597
- var PUBLISHABLE_API_KEY_RE = /^pb_([a-z0-9]{4,24})_c[A-Za-z0-9]{20}$/;
1597
+ var PUBLISHABLE_API_KEY_RE = /^pb_([a-z0-9]{4,24})_c[A-Za-z0-9]{20,}$/;
1598
1598
  function environmentRefFromPublishableApiKey(apiKey) {
1599
1599
  const match = PUBLISHABLE_API_KEY_RE.exec(apiKey);
1600
1600
  return match ? match[1] ?? "" : "";
@@ -9419,7 +9419,7 @@ function defaultSessionStorage(key) {
9419
9419
  }
9420
9420
 
9421
9421
  // src/version.ts
9422
- var VERSION = "7.3.8";
9422
+ var VERSION = "7.3.9";
9423
9423
 
9424
9424
  // src/runtime.ts
9425
9425
  function buildRuntime(config) {