@storyblok/js 1.3.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
- import StoryblokClient, { StoryblokConfig, StoryblokComponent } from "storyblok-js-client";
1
+ import StoryblokJSClient, { StoryblokConfig, StoryblokComponent } from "storyblok-js-client";
2
+ export declare type StoryblokClient = typeof StoryblokJSClient;
2
3
  declare global {
3
4
  interface Window {
4
5
  storyblokRegisterEvent: (cb: Function) => void;
@@ -30,4 +31,4 @@ export interface StoryblokBridgeV2 {
30
31
  enterEditmode: () => void;
31
32
  on: (event: "customEvent" | "published" | "input" | "change" | "unpublished" | "enterEditmode" | string[], callback: (payload?: StoryblokEventPayload) => void) => void;
32
33
  }
33
- export type { StoryblokConfig, StoryblokCache, StoryblokCacheProvider, StoryblokResult, StoryblokManagmentApiResult, StoryblokComponent, StoryData, AlternateObject, Stories, Story, StoriesParams, StoryParams, Richtext, RichtextInstance, } from "storyblok-js-client";
34
+ export type { StoryblokConfig, StoryblokCache, StoryblokCacheProvider, StoryblokResult, StoryblokManagmentApiResult, StoryblokComponent as StoryblokComponentType, StoryData, AlternateObject, Stories, Story, StoriesParams, StoryParams, Richtext, RichtextInstance, } from "storyblok-js-client";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storyblok/js",
3
- "version": "1.3.0",
3
+ "version": "1.6.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",