@embeddable.com/sdk-core 3.12.3 → 3.12.4
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/lib/index.esm.js +5 -4
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +5 -4
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/defineConfig.test.ts +1 -1
- package/src/defineConfig.ts +1 -1
- package/src/push.ts +1 -1
package/lib/index.js
CHANGED
|
@@ -21552,6 +21552,7 @@ const CUBE_FILES = /^(.*)\.cube\.(ya?ml|js)$/;
|
|
|
21552
21552
|
const PRESET_FILES = /^(.*)\.(sc|cc)\.ya?ml$/;
|
|
21553
21553
|
let ora$1;
|
|
21554
21554
|
var push = async () => {
|
|
21555
|
+
var _a;
|
|
21555
21556
|
await initLogger("push");
|
|
21556
21557
|
const breadcrumbs = [];
|
|
21557
21558
|
let spinnerPushing;
|
|
@@ -21591,7 +21592,7 @@ var push = async () => {
|
|
|
21591
21592
|
spinnerPushing === null || spinnerPushing === void 0 ? void 0 : spinnerPushing.fail("Publishing failed");
|
|
21592
21593
|
await logError({ command: "push", breadcrumbs, error });
|
|
21593
21594
|
await reportErrorToRollbar(error);
|
|
21594
|
-
console.log(error);
|
|
21595
|
+
console.log(((_a = error.response) === null || _a === void 0 ? void 0 : _a.data) || error);
|
|
21595
21596
|
process.exit(1);
|
|
21596
21597
|
}
|
|
21597
21598
|
};
|
|
@@ -21987,7 +21988,7 @@ const REGION_CONFIGS = {
|
|
|
21987
21988
|
audienceUrl: "https://auth.eu.embeddable.com",
|
|
21988
21989
|
previewBaseUrl: "https://app.eu.embeddable.com",
|
|
21989
21990
|
authDomain: "auth.eu.embeddable.com",
|
|
21990
|
-
authClientId: "
|
|
21991
|
+
authClientId: "6OGPwIQsVmtrBKhNrwAaXhz4ePb0kBGV",
|
|
21991
21992
|
},
|
|
21992
21993
|
US: {
|
|
21993
21994
|
pushBaseUrl: "https://api.us.embeddable.com",
|
|
@@ -22006,7 +22007,7 @@ const REGION_CONFIGS = {
|
|
|
22006
22007
|
};
|
|
22007
22008
|
var defineConfig = ({ plugins, region = "legacy-US", pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc = "src", presetsSrc = "src", componentsSrc = "src", globalCss = "src/global.css", viteConfig = {}, rollupOptions = {}, }) => {
|
|
22008
22009
|
if (region && !REGION_CONFIGS[region]) {
|
|
22009
|
-
throw new Error(`Unsupported region: ${region}. Supported regions are:
|
|
22010
|
+
throw new Error(`Unsupported region: ${region}. Supported regions are: ${Object.keys(REGION_CONFIGS).join(", ")}`);
|
|
22010
22011
|
}
|
|
22011
22012
|
const regionConfig = REGION_CONFIGS[region];
|
|
22012
22013
|
const coreRoot = path__namespace.resolve(__dirname, "..");
|
|
@@ -22068,7 +22069,7 @@ var defineConfig = ({ plugins, region = "legacy-US", pushBaseUrl, audienceUrl, a
|
|
|
22068
22069
|
};
|
|
22069
22070
|
|
|
22070
22071
|
var name = "@embeddable.com/sdk-core";
|
|
22071
|
-
var version = "3.12.
|
|
22072
|
+
var version = "3.12.3";
|
|
22072
22073
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22073
22074
|
var keywords = [
|
|
22074
22075
|
"embeddable",
|