@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.esm.js
CHANGED
|
@@ -21523,6 +21523,7 @@ const CUBE_FILES = /^(.*)\.cube\.(ya?ml|js)$/;
|
|
|
21523
21523
|
const PRESET_FILES = /^(.*)\.(sc|cc)\.ya?ml$/;
|
|
21524
21524
|
let ora$1;
|
|
21525
21525
|
var push = async () => {
|
|
21526
|
+
var _a;
|
|
21526
21527
|
await initLogger("push");
|
|
21527
21528
|
const breadcrumbs = [];
|
|
21528
21529
|
let spinnerPushing;
|
|
@@ -21562,7 +21563,7 @@ var push = async () => {
|
|
|
21562
21563
|
spinnerPushing === null || spinnerPushing === void 0 ? void 0 : spinnerPushing.fail("Publishing failed");
|
|
21563
21564
|
await logError({ command: "push", breadcrumbs, error });
|
|
21564
21565
|
await reportErrorToRollbar(error);
|
|
21565
|
-
console.log(error);
|
|
21566
|
+
console.log(((_a = error.response) === null || _a === void 0 ? void 0 : _a.data) || error);
|
|
21566
21567
|
process.exit(1);
|
|
21567
21568
|
}
|
|
21568
21569
|
};
|
|
@@ -21958,7 +21959,7 @@ const REGION_CONFIGS = {
|
|
|
21958
21959
|
audienceUrl: "https://auth.eu.embeddable.com",
|
|
21959
21960
|
previewBaseUrl: "https://app.eu.embeddable.com",
|
|
21960
21961
|
authDomain: "auth.eu.embeddable.com",
|
|
21961
|
-
authClientId: "
|
|
21962
|
+
authClientId: "6OGPwIQsVmtrBKhNrwAaXhz4ePb0kBGV",
|
|
21962
21963
|
},
|
|
21963
21964
|
US: {
|
|
21964
21965
|
pushBaseUrl: "https://api.us.embeddable.com",
|
|
@@ -21977,7 +21978,7 @@ const REGION_CONFIGS = {
|
|
|
21977
21978
|
};
|
|
21978
21979
|
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 = {}, }) => {
|
|
21979
21980
|
if (region && !REGION_CONFIGS[region]) {
|
|
21980
|
-
throw new Error(`Unsupported region: ${region}. Supported regions are:
|
|
21981
|
+
throw new Error(`Unsupported region: ${region}. Supported regions are: ${Object.keys(REGION_CONFIGS).join(", ")}`);
|
|
21981
21982
|
}
|
|
21982
21983
|
const regionConfig = REGION_CONFIGS[region];
|
|
21983
21984
|
const coreRoot = path.resolve(__dirname, "..");
|
|
@@ -22039,7 +22040,7 @@ var defineConfig = ({ plugins, region = "legacy-US", pushBaseUrl, audienceUrl, a
|
|
|
22039
22040
|
};
|
|
22040
22041
|
|
|
22041
22042
|
var name = "@embeddable.com/sdk-core";
|
|
22042
|
-
var version = "3.12.
|
|
22043
|
+
var version = "3.12.3";
|
|
22043
22044
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
22044
22045
|
var keywords = [
|
|
22045
22046
|
"embeddable",
|