@storyblok/vue
Advanced tools
Comparing version 7.1.3 to 7.1.4
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66632
364