@contentful/experiences-sdk-react 0.0.1-alpha.8 → 0.0.1-beta.0

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.d.ts CHANGED
@@ -47,5 +47,13 @@ declare const useFetchBySlug: ({ slug, localeCode, client, experienceTypeId, }:
47
47
  * @returns void
48
48
  */
49
49
  declare const defineComponents: (componentRegistrations: ComponentRegistration[], options?: ComponentRegistrationOptions) => void;
50
+ /**
51
+ * @deprecated This method is used to maintain the basic component ids (without the prefix 'contentful-') in order to be compatible
52
+ * with experiences created with an older alpha version of the SDK. Components in these experiences should be migrated to use
53
+ * the components with the 'contentful-' prefix. To do so, load the experience in the editor, and replace any older basic components
54
+ * (marked with [OLD] in the UI) with the new components (without the [OLD]). This method (and functionality for the older components)
55
+ * will be removed in the next major release.
56
+ */
57
+ declare const maintainBasicComponentIdsWithoutPrefix: () => void;
50
58
 
51
- export { ExperienceRoot, defineComponents, useFetchById, useFetchBySlug };
59
+ export { ExperienceRoot, defineComponents, maintainBasicComponentIdsWithoutPrefix, useFetchById, useFetchBySlug };