@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/{chunk-2VURERR2.js → chunk-SQWG3PTU.js} +3 -7
- package/dist/{chunk-2VURERR2.js.map → chunk-SQWG3PTU.js.map} +1 -1
- package/dist/gen/cli.cjs +0 -3
- package/dist/gen/cli.cjs.map +1 -1
- package/dist/gen/cli.js +0 -3
- package/dist/gen/cli.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +2 -6
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/dist/next/client.cjs +2 -6
- package/dist/next/client.cjs.map +1 -1
- package/dist/next/client.js +1 -1
- package/dist/next/index.cjs +2 -6
- package/dist/next/index.cjs.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +2 -2
|
@@ -8881,7 +8881,7 @@ function defaultSessionStorage(key) {
|
|
|
8881
8881
|
}
|
|
8882
8882
|
|
|
8883
8883
|
// src/version.ts
|
|
8884
|
-
var VERSION = "7.3.
|
|
8884
|
+
var VERSION = "7.3.6";
|
|
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
|
-
|
|
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-
|
|
9304
|
+
//# sourceMappingURL=chunk-SQWG3PTU.js.map
|