@contentful/experiences-sdk-react 0.0.1-alpha.12 → 0.0.1-alpha.13
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/src/sdkVersion.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import * as Components from '@contentful/experiences-components-react';
|
|
|
9
9
|
import { ContentfulContainer, Columns, SingleColumn } from '@contentful/experiences-components-react';
|
|
10
10
|
import styleInject from 'style-inject';
|
|
11
11
|
|
|
12
|
-
const SDK_VERSION = '0.0.1-alpha.
|
|
12
|
+
const SDK_VERSION = '0.0.1-alpha.12';
|
|
13
13
|
|
|
14
14
|
var util;
|
|
15
15
|
(function (util) {
|
|
@@ -4487,7 +4487,7 @@ const optionalBuiltInComponents = [
|
|
|
4487
4487
|
];
|
|
4488
4488
|
const sendRegisteredComponentsMessage = () => {
|
|
4489
4489
|
// Send the definitions (without components) via the connection message to the experience builder
|
|
4490
|
-
const registeredDefinitions = Array.from(componentRegistry.values());
|
|
4490
|
+
const registeredDefinitions = Array.from(componentRegistry.values()).map(({ definition }) => definition);
|
|
4491
4491
|
sendMessage(OUTGOING_EVENTS.RegisteredComponents, {
|
|
4492
4492
|
definitions: registeredDefinitions,
|
|
4493
4493
|
});
|