Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@storyblok/js

Package Overview
Dependencies
Maintainers
0
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storyblok/js - npm Package Compare versions

Comparing version 3.1.0-next.1 to 3.1.0-next.2

6

dist/types/index.d.ts

@@ -0,5 +1,5 @@

import { type SbRichTextOptions as stdSbRichTextOptions } from "@storyblok/richtext";
import { SbSDKOptions, StoryblokBridgeConfigV2, ISbStoryData, SbInitResult, ISbRichtext, StoryblokComponentType, SbRichTextOptions } from "./types";
import { RichtextResolver } from "storyblok-js-client";
import { type SbRichTextOptions as stdSbRichTextOptions } from "@storyblok/richtext";
export declare const useStoryblokBridge: <T extends StoryblokComponentType<string> = any>(id: Number, cb: (newStory: ISbStoryData<T>) => void, options?: StoryblokBridgeConfigV2) => void;
export declare const useStoryblokBridge: <T extends StoryblokComponentType<string> = any>(id: number, cb: (newStory: ISbStoryData<T>) => void, options?: StoryblokBridgeConfigV2) => void;
export declare const storyblokInit: (pluginOptions?: SbSDKOptions) => SbInitResult;

@@ -18,3 +18,3 @@ export declare const isRichTextEmpty: (data?: ISbRichtext) => boolean;

*/
export type newSbRichTextOptions = stdSbRichTextOptions;
export type newSbRichTextOptions<T = string, S = (tag: string, attrs: Record<string, any>, text: string) => T> = stdSbRichTextOptions<T, S>;
export { BlockTypes, MarkTypes, richTextResolver, TextTypes, type SbRichTextDocumentNode, type SbRichTextNodeTypes, type SbRichTextNode, type SbRichTextResolvers, type SbRichTextNodeResolver, type SbRichTextImageOptimizationOptions, } from "@storyblok/richtext";
{
"name": "@storyblok/js",
"version": "3.1.0-next.1",
"version": "3.1.0-next.2",
"description": "SDK to integrate Storyblok into your project using JavaScript.",

@@ -5,0 +5,0 @@ "main": "./dist/storyblok-js.js",

@@ -34,2 +34,3 @@ <div align="center">

## Kickstart a new project
Are you eager to dive into coding? **[Follow these steps to kickstart a new project with Storyblok and a JavaScript frontend framework](https://www.storyblok.com/technologies?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-js)**, and get started in just a few minutes!

@@ -148,3 +149,3 @@

resolveRelations: ["Article.author"],
resolveLinks: "url"
resolveLinks: "url",
});

@@ -151,0 +152,0 @@ ```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc