@contentful/experiences-sdk-react 3.8.3-dev-20251010T1235-2d92513.0 → 3.8.3-dev-20251013T1057-2d4f2cd.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.
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["import type { SchemaVersions } from '@contentful/experiences-core/types';\n\n// this is the array of version which currently LATEST_SCHEMA_VERSION is compatible with\nexport const compatibleVersions: SchemaVersions[] = ['2023-09-28'];\n\nexport { SDK_VERSION } from './sdkVersion';\n"],"names":[],"mappings":"AAEA;AACa,MAAA,kBAAkB,GAAqB,CAAC,YAAY;;;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["// TODO: With the next major version bump, we will drop the \"/types\" subpath but only export types through the index export file.\nimport type { SchemaVersions } from '@contentful/experiences-core/types';\n\n// this is the array of version which currently LATEST_SCHEMA_VERSION is compatible with\nexport const compatibleVersions: SchemaVersions[] = ['2023-09-28'];\n\nexport { SDK_VERSION } from './sdkVersion';\n"],"names":[],"mappings":"AAGA;AACa,MAAA,kBAAkB,GAAqB,CAAC,YAAY;;;;"}
package/dist/index.d.ts CHANGED
@@ -2,14 +2,13 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as _contentful_experiences_core from '@contentful/experiences-core';
3
3
  import { EntityStore, VisualEditorMode } from '@contentful/experiences-core';
4
4
  export { VisualEditorMode, createExperience, defineBreakpoints, defineDesignTokens, detachExperienceStyles, extractLeafLinksReferencedFromExperience, extractReferencesFromEntries, extractReferencesFromEntriesAsIds, fetchById, fetchBySlug, fetchExperienceEntry, fetchReferencedEntities, inMemoryEntities, isArrayOfLinks, isAsset, isEntry, isLink, isLinkToAsset, isLinkToEntry, localizeEntity, useInMemoryEntities } from '@contentful/experiences-core';
5
- import * as _contentful_experiences_core_types from '@contentful/experiences-core/types';
6
5
  import { Experience, ComponentRegistration, ComponentRegistrationOptions } from '@contentful/experiences-core/types';
7
6
  export { ComponentDefinition, ComponentRegistration, Experience } from '@contentful/experiences-core/types';
8
7
  import * as _contentful_experiences_core_constants from '@contentful/experiences-core/constants';
9
8
  export { CF_STYLE_ATTRIBUTES, CONTENTFUL_COMPONENTS, LATEST_SCHEMA_VERSION } from '@contentful/experiences-core/constants';
10
9
  import { ContentfulClientApi } from 'contentful';
11
10
 
12
- declare const SDK_VERSION = "3.8.3-dev-20251010T1235-2d92513.0";
11
+ declare const SDK_VERSION = "3.8.3-dev-20251013T1057-2d4f2cd.0";
13
12
 
14
13
  type ExperienceRootProps = {
15
14
  experience?: Experience<EntityStore> | string | null;
@@ -33,7 +32,7 @@ type UseFetchByIdArgs = {
33
32
  };
34
33
  declare const useFetchById: ({ id, localeCode, client, experienceTypeId, hyperlinkPattern, }: UseFetchByIdArgs) => {
35
34
  error: Error | undefined;
36
- experience: _contentful_experiences_core_types.Experience<_contentful_experiences_core.EntityStore> | undefined;
35
+ experience: _contentful_experiences_core.Experience<_contentful_experiences_core.EntityStore> | undefined;
37
36
  isLoading: boolean;
38
37
  mode: _contentful_experiences_core_constants.StudioCanvasMode;
39
38
  };
@@ -48,7 +47,7 @@ type UseFetchBySlugArgs = {
48
47
  };
49
48
  declare const useFetchBySlug: ({ slug, localeCode, client, experienceTypeId, hyperlinkPattern, }: UseFetchBySlugArgs) => {
50
49
  error: Error | undefined;
51
- experience: _contentful_experiences_core_types.Experience<_contentful_experiences_core.EntityStore> | undefined;
50
+ experience: _contentful_experiences_core.Experience<_contentful_experiences_core.EntityStore> | undefined;
52
51
  isLoading: boolean;
53
52
  mode: _contentful_experiences_core_constants.StudioCanvasMode;
54
53
  };
@@ -1,4 +1,4 @@
1
- const SDK_VERSION = '3.8.3-dev-20251010T1235-2d92513.0';
1
+ const SDK_VERSION = '3.8.3-dev-20251013T1057-2d4f2cd.0';
2
2
 
3
3
  export { SDK_VERSION };
4
4
  //# sourceMappingURL=sdkVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdkVersion.js","sources":["../../src/sdkVersion.ts"],"sourcesContent":["export const SDK_VERSION = '3.8.3-dev-20251010T1235-2d92513.0';\n"],"names":[],"mappings":"AAAO,MAAM,WAAW,GAAG;;;;"}
1
+ {"version":3,"file":"sdkVersion.js","sources":["../../src/sdkVersion.ts"],"sourcesContent":["export const SDK_VERSION = '3.8.3-dev-20251013T1057-2d4f2cd.0';\n"],"names":[],"mappings":"AAAO,MAAM,WAAW,GAAG;;;;"}
@@ -8,7 +8,7 @@ export type UseFetchByIdArgs = {
8
8
  };
9
9
  export declare const useFetchById: ({ id, localeCode, client, experienceTypeId, hyperlinkPattern, }: UseFetchByIdArgs) => {
10
10
  error: Error | undefined;
11
- experience: import("@contentful/experiences-core/types").Experience<import("@contentful/experiences-core").EntityStore> | undefined;
11
+ experience: import("@contentful/experiences-core").Experience<import("@contentful/experiences-core").EntityStore> | undefined;
12
12
  isLoading: boolean;
13
13
  mode: import("@contentful/experiences-core/constants").StudioCanvasMode;
14
14
  };
@@ -9,7 +9,7 @@ export type UseFetchBySlugArgs = {
9
9
  };
10
10
  export declare const useFetchBySlug: ({ slug, localeCode, client, experienceTypeId, hyperlinkPattern, }: UseFetchBySlugArgs) => {
11
11
  error: Error | undefined;
12
- experience: import("@contentful/experiences-core/types").Experience<import("@contentful/experiences-core").EntityStore> | undefined;
12
+ experience: import("@contentful/experiences-core").Experience<import("@contentful/experiences-core").EntityStore> | undefined;
13
13
  isLoading: boolean;
14
14
  mode: import("@contentful/experiences-core/constants").StudioCanvasMode;
15
15
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.8.3-dev-20251010T1235-2d92513.0";
1
+ export declare const SDK_VERSION = "3.8.3-dev-20251013T1057-2d4f2cd.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-sdk-react",
3
- "version": "3.8.3-dev-20251010T1235-2d92513.0",
3
+ "version": "3.8.3-dev-20251013T1057-2d4f2cd.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "typings": "./dist/src/index.d.ts",
@@ -41,10 +41,10 @@
41
41
  "depcruise": "depcruise src"
42
42
  },
43
43
  "dependencies": {
44
- "@contentful/experiences-components-react": "3.8.3-dev-20251010T1235-2d92513.0",
45
- "@contentful/experiences-core": "3.8.3-dev-20251010T1235-2d92513.0",
46
- "@contentful/experiences-validators": "3.8.3-dev-20251010T1235-2d92513.0",
47
- "@contentful/experiences-visual-editor-react": "3.8.3-dev-20251010T1235-2d92513.0",
44
+ "@contentful/experiences-components-react": "3.8.3-dev-20251013T1057-2d4f2cd.0",
45
+ "@contentful/experiences-core": "3.8.3-dev-20251013T1057-2d4f2cd.0",
46
+ "@contentful/experiences-validators": "3.8.3-dev-20251013T1057-2d4f2cd.0",
47
+ "@contentful/experiences-visual-editor-react": "3.8.3-dev-20251013T1057-2d4f2cd.0",
48
48
  "@contentful/rich-text-types": "^17.0.0",
49
49
  "csstype": "^3.1.2",
50
50
  "immer": "^10.0.3",
@@ -95,5 +95,5 @@
95
95
  "dist",
96
96
  "package.json"
97
97
  ],
98
- "gitHead": "a8ab174bebaa73568fbb25990d2a5febb012d84b"
98
+ "gitHead": "34132a603e53e211354ffae65a1771893454269e"
99
99
  }