@storyblok/js 3.5.0 → 4.0.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.
@@ -16,16 +16,11 @@ export type SbBlokKeyDataTypes = string | number | object | boolean | undefined;
16
16
  export interface SbBlokData extends ISbComponentType<string> {
17
17
  [index: string]: SbBlokKeyDataTypes;
18
18
  }
19
- export interface SbRichTextOptions {
20
- schema?: ISbConfig['richTextSchema'];
21
- resolver?: ISbConfig['componentResolver'];
22
- }
23
19
  export interface SbSDKOptions {
24
20
  bridge?: boolean;
25
21
  accessToken?: string;
26
22
  use?: any[];
27
23
  apiOptions?: ISbConfig;
28
- richText?: SbRichTextOptions;
29
24
  bridgeUrl?: string;
30
25
  }
31
26
  export interface ISbEventPayload<S extends ISbComponentType<string> = any> {
@@ -54,8 +49,7 @@ export type { ArrayFn, AsyncFn, ISbAlternateObject, // previously AlternateObjec
54
49
  ISbCache, // previously StoryblokCache
55
50
  ISbComponentType as StoryblokComponentType, ISbConfig, // previously StoryblokConfig
56
51
  ISbContentMangmntAPI, ISbDimensions, ISbError, ISbManagmentApiResult, // previously StoryblokManagmentApiResult
57
- ISbNode, ISbResponse, ISbResult, // previously StoryblokResult
58
- ISbRichtext, // previously Richtext
52
+ ISbResponse, ISbResult, // previously StoryblokResult
59
53
  ISbSchema, ISbStories, // previously Stories
60
54
  ISbStoriesParams, // previously StoriesParams
61
55
  ISbStory, // previously Story
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@storyblok/js",
3
3
  "type": "module",
4
- "version": "3.5.0",
4
+ "version": "4.0.0",
5
5
  "private": false,
6
6
  "packageManager": "pnpm@10.2.0",
7
7
  "description": "SDK to integrate Storyblok into your project using JavaScript.",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@storyblok/richtext": "3.2.0",
47
- "storyblok-js-client": "6.11.0"
47
+ "storyblok-js-client": "7.0.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@commitlint/cli": "^19.7.1",