@storyblok/js 3.0.0 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import StoryblokJSClient, { ISbConfig, ISbComponentType, ISbStoryData } from "storyblok-js-client";
2
- export declare type StoryblokClient = StoryblokJSClient;
2
+ export type StoryblokClient = StoryblokJSClient;
3
3
  declare global {
4
4
  interface Window {
5
5
  storyblokRegisterEvent: (cb: Function) => void;
@@ -11,8 +11,8 @@ declare global {
11
11
  export interface SbInitResult {
12
12
  storyblokApi?: StoryblokClient;
13
13
  }
14
- export declare type SbPluginFactory = (options: SbSDKOptions) => any;
15
- export declare type SbBlokKeyDataTypes = string | number | object | boolean | undefined;
14
+ export type SbPluginFactory = (options: SbSDKOptions) => any;
15
+ export type SbBlokKeyDataTypes = string | number | object | boolean | undefined;
16
16
  export interface SbBlokData extends ISbComponentType<string> {
17
17
  [index: string]: SbBlokKeyDataTypes;
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storyblok/js",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
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",
@@ -28,17 +28,17 @@
28
28
  "prepublishOnly": "npm run build && cp ../README.md ./"
29
29
  },
30
30
  "dependencies": {
31
- "storyblok-js-client": "^6.4.1"
31
+ "storyblok-js-client": "^6.5.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@tsconfig/recommended": "^1.0.3",
35
- "cypress": "^13.2.0",
35
+ "cypress": "^13.6.2",
36
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": "^2.0.1",
40
- "vite": "^4.0.4",
41
- "vitest": "^0.34.5"
39
+ "start-server-and-test": "^2.0.3",
40
+ "vite": "^5.0.11",
41
+ "vitest": "^1.1.3"
42
42
  },
43
43
  "babel": {
44
44
  "presets": [