Skip to content

Commit

Permalink
Merge pull request #31 from AnnaKudriasheva/update-version
Browse files Browse the repository at this point in the history
Update package version
  • Loading branch information
AnnaKudriasheva committed Sep 13, 2021
2 parents f8f1c2f + ea5a4b1 commit 74fde75
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ VGSCollect.init(state => { console.log(state); });

Full abilities of VGS Collect.js and integration details you can find in our [documentation](https://www.verygoodsecurity.com/docs/vgs-collect/js/integration).

## CSP directives

We strongly recommend to add the CSP to your application. Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. Please create CSP directives for the following domains:

`connect-src https://js.verygoodvault.com https://js3.verygoodvault.com`
`frame-src https://js.verygoodvault.com https://js3.verygoodvault.com`
`script-src https://js.verygoodvault.com https://js3.verygoodvault.com`

## Examples

- [VGS Collect + React](https://stackblitz.com/edit/vgs-collect-js-react?file=src/App.js)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vgs/collect-js",
"version": "0.4.0",
"version": "0.5.0",
"description": "VGS Collect.js script loading module",
"license": "MIT",
"main": "dist/index.js",
Expand Down

0 comments on commit 74fde75

Please sign in to comment.