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

storyblok-js-client

Package Overview
Dependencies
Maintainers
7
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storyblok-js-client - npm Package Compare versions

Comparing version 5.11.0 to 5.11.1

11

package.json
{
"name": "storyblok-js-client",
"version": "5.11.0",
"version": "5.11.1",
"description": "Universal JavaScript SDK for Storyblok's API",

@@ -15,11 +15,14 @@ "license": "MIT",

"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
"require": "./dist/index.umd.js",
"types": "./dist/types/entry.esm.d.ts"
},
"./richTextResolver": {
"import": "./dist/richTextResolver.mjs",
"require": "./dist/richTextResolver.umd.js"
"require": "./dist/richTextResolver.umd.js",
"types": "./dist/types/richTextResolver.d.ts"
},
"./schema": {
"import": "./dist/schema.mjs",
"require": "./dist/schema.umd.js"
"require": "./dist/schema.umd.js",
"types": "./dist/types/schema.d.ts"
}

@@ -26,0 +29,0 @@ },

@@ -150,4 +150,5 @@ <div align="center">

When initializing the Storyblok client you can define a cache provider for caching the requests in memory.
To clear the cache you can call `Storyblok.flushCache()` or activate the automatic clear with clear: 'auto'.
The default behavior of the cache is `clear: 'manual'`, that is, if you need to clear the cache, you need to call `Storyblok.flushCache()` or activate the automatic clear with `clear: 'auto'`, as in the example below.
```javascript

@@ -558,23 +559,2 @@ let Storyblok = new StoryblokClient({

#### Initialize with a proxy server
```javascript
const proxy = {
host: host,
port: port,
auth: {
username: 'username',
password: 'password'
}
}
const storyblok = new StoryblokClient({
...
https: false,
proxy: proxy
})
```
Read more about proxy settings in axios [documentation](https://github.com/axios/axios)
#### How to define a custom schema for the RichTextRenderer

@@ -581,0 +561,0 @@

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