@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/package.json
CHANGED
package/src/defineConfig.test.ts
CHANGED
|
@@ -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("
|
|
101
|
+
expect(config.authClientId).toBe("6OGPwIQsVmtrBKhNrwAaXhz4ePb0kBGV");
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
it("configures US region correctly", () => {
|
package/src/defineConfig.ts
CHANGED
|
@@ -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: "
|
|
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
|
};
|