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

@storyblok/vue

Package Overview
Dependencies
Maintainers
7
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storyblok/vue - npm Package Compare versions

Comparing version 7.1.3 to 7.1.4

8

package.json
{
"name": "@storyblok/vue",
"version": "7.1.3",
"version": "7.1.4",
"description": "Storyblok directive for get editable elements.",

@@ -30,3 +30,3 @@ "main": "./dist/storyblok-vue.js",

"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/core": "^7.21.4",
"@cypress/vite-dev-server": "^5.0.5",

@@ -36,7 +36,7 @@ "@cypress/vue": "^5.0.5",

"@vue/babel-preset-app": "^5.0.8",
"@vue/test-utils": "2.3.1",
"@vue/test-utils": "2.3.2",
"@vue/tsconfig": "^0.1.3",
"@vue/vue3-jest": "^29.2.3",
"babel-jest": "^29.4.3",
"cypress": "^12.8.1",
"cypress": "^12.10.0",
"eslint-plugin-cypress": "^2.13.2",

@@ -43,0 +43,0 @@ "eslint-plugin-jest": "^27.2.1",

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

You can use an `apiOptions` object. This is passed down to the (storyblok-js-client config object](https://github.com/storyblok/storyblok-js-client#class-storyblok). For spaces created in the United States, you have to set the `region` parameter accordingly `{ apiOptions: { region: 'us' } }`.
You can use an `apiOptions` object. This is passed down to the (storyblok-js-client config object](https://github.com/storyblok/storyblok-js-client#class-storyblok).

@@ -298,2 +298,24 @@ ```js

#### Region parameter
Possible values:
- `eu` (default): For spaces created in the EU
- `us`: For spaces created in the US
- `cn`: For spaces created in China
Full example for a space created in the US:
```js
app.use(StoryblokVue, {
accessToken: "<your-token>",
use: [apiPlugin],
apiOptions: {
region: "us",
},
});
```
> Note: For spaces created in the United States or China, the `region` parameter **must** be specified.
#### Storyblok Bridge

@@ -323,2 +345,6 @@

## The Storyblok JavaScript SDK Ecosystem
![A visual representation of the Storyblok JavaScript SDK Ecosystem](https://a.storyblok.com/f/88751/2400x1350/be4a4a4180/sdk-ecosystem.png/m/1200x0)
## 🔗 Related Links

@@ -325,0 +351,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