@storyblok/astro 2.0.1 → 2.0.2

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.
@@ -5,7 +5,7 @@ import type { SbBlokData } from "./types";
5
5
 
6
6
  interface Props {
7
7
  blok: SbBlokData;
8
- props: object;
8
+ [prop: string]: unknown;
9
9
  }
10
10
 
11
11
  const { blok, ...props } = Astro.props;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
+ import { StoryblokClient } from "@storyblok/js";
1
2
  import type { AstroIntegration } from "astro";
2
3
  import type { ISbConfig, ISbRichtext, SbRichTextOptions } from "./types";
3
4
  export { storyblokEditable, loadStoryblokBridge, RichTextResolver, RichTextSchema, } from "@storyblok/js";
4
- export declare function useStoryblokApi(): any;
5
+ export declare function useStoryblokApi(): StoryblokClient;
5
6
  export declare function renderRichText(data: ISbRichtext, options?: SbRichTextOptions): string;
6
7
  export interface IntegrationOptions {
7
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storyblok/astro",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Official Astro integration for the Storyblok Headless CMS",
5
5
  "main": "./dist/storyblok-astro.js",
6
6
  "module": "./dist/storyblok-astro.mjs",