@storyblok/js 2.2.12 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,7 @@ export interface SbSDKOptions {
26
26
  use?: any[];
27
27
  apiOptions?: ISbConfig;
28
28
  richText?: SbRichTextOptions;
29
+ bridgeUrl?: string;
29
30
  }
30
31
  export interface ISbEventPayload<S extends ISbComponentType<string> = any> {
31
32
  action: "customEvent" | "published" | "input" | "change" | "unpublished" | "enterEditmode";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storyblok/js",
3
- "version": "2.2.12",
3
+ "version": "3.0.0",
4
4
  "description": "SDK to integrate Storyblok into your project using JavaScript.",
5
5
  "main": "./dist/storyblok-js.js",
6
6
  "module": "./dist/storyblok-js.mjs",
@@ -21,24 +21,24 @@
21
21
  "test": "npm run test:unit && npm run test:e2e",
22
22
  "test:unit": "vitest run",
23
23
  "test:e2e": "start-server-and-test cy:playground http://localhost:5173/ cy:run",
24
- "test:e2e-watch": "start-server-and-test cy:playground http-get://localhost:5173/ cy:open",
24
+ "test:e2e-watch": "start-server-and-test cy:playground http://localhost:5173/ cy:open",
25
25
  "cy:playground": "npm run demo --prefix ../playground",
26
26
  "cy:run": "cypress run",
27
27
  "cy:open": "cypress open",
28
28
  "prepublishOnly": "npm run build && cp ../README.md ./"
29
29
  },
30
30
  "dependencies": {
31
- "storyblok-js-client": "^5.14.2"
31
+ "storyblok-js-client": "^6.4.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@tsconfig/recommended": "^1.0.1",
35
- "cypress": "^12.3.0",
36
- "eslint-plugin-cypress": "^2.14.0",
34
+ "@tsconfig/recommended": "^1.0.3",
35
+ "cypress": "^13.2.0",
36
+ "eslint-plugin-cypress": "^2.15.1",
37
37
  "eslint-plugin-jest": "^26.9.0",
38
38
  "isomorphic-fetch": "^3.0.0",
39
- "start-server-and-test": "^1.15.2",
39
+ "start-server-and-test": "^2.0.1",
40
40
  "vite": "^4.0.4",
41
- "vitest": "^0.34.2"
41
+ "vitest": "^0.34.5"
42
42
  },
43
43
  "babel": {
44
44
  "presets": [