@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-core",
3
- "version": "3.12.3",
3
+ "version": "3.12.4",
4
4
  "description": "Core Embeddable SDK module responsible for web-components bundling and publishing.",
5
5
  "keywords": [
6
6
  "embeddable",
@@ -98,7 +98,7 @@ describe("defineConfig", () => {
98
98
  expect(config.audienceUrl).toBe("https://auth.eu.embeddable.com");
99
99
  expect(config.previewBaseUrl).toBe("https://app.eu.embeddable.com");
100
100
  expect(config.authDomain).toBe("auth.eu.embeddable.com");
101
- expect(config.authClientId).toBe("6OGPwIQsVmtrBKhNrwAaXh4ePb0kBGV");
101
+ expect(config.authClientId).toBe("6OGPwIQsVmtrBKhNrwAaXhz4ePb0kBGV");
102
102
  });
103
103
 
104
104
  it("configures US region correctly", () => {
@@ -38,7 +38,7 @@ const REGION_CONFIGS = {
38
38
  audienceUrl: "https://auth.eu.embeddable.com",
39
39
  previewBaseUrl: "https://app.eu.embeddable.com",
40
40
  authDomain: "auth.eu.embeddable.com",
41
- authClientId: "6OGPwIQsVmtrBKhNrwAaXh4ePb0kBGV",
41
+ authClientId: "6OGPwIQsVmtrBKhNrwAaXhz4ePb0kBGV",
42
42
  },
43
43
  US: {
44
44
  pushBaseUrl: "https://api.us.embeddable.com",
package/src/push.ts CHANGED
@@ -82,7 +82,7 @@ export default async () => {
82
82
  spinnerPushing?.fail("Publishing failed");
83
83
  await logError({ command: "push", breadcrumbs, error });
84
84
  await reportErrorToRollbar(error);
85
- console.log(error);
85
+ console.log(error.response?.data || error);
86
86
  process.exit(1);
87
87
  }
88
88
  };