Skip to content

Commit

Permalink
chore: Updated README.md version 1.6.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Apr 12, 2020
1 parent 4a7b34f commit 9226784
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -22,7 +22,7 @@ npm install @firstclasspostcodes/js
or directly in HTML with:

```html
<script src="https://js.firstclasspostcodes.com/v1.5.2.js"></script>
<script src="https://js.firstclasspostcodes.com/v1.6.0.js"></script>
```

**Note on older browsers:** We recommend using a polyfill service, the following example covers all of the required language features:
Expand All @@ -37,13 +37,13 @@ Where the libary is loaded on pages including sensitive information, we recommen
Every version of the library is accompanied by an SRI hash file, the hash can be accessed directly using:

```sh
$ curl https://js.firstclasspostcodes.com/v1.5.2.sri.txt # => "sha256-45tfd... sha384-43567ytr..."
$ curl https://js.firstclasspostcodes.com/v1.6.0.sri.txt # => "sha256-45tfd... sha384-43567ytr..."
```

You can then update the above `<script>` tag, adding the integrity attribute:

```html
<script src="https://js.firstclasspostcodes.com/v1.5.2.js"
<script src="https://js.firstclasspostcodes.com/v1.6.0.js"
integrity="sha256-45tfd... sha384-43567ytr..."
crossorigin="anonymous"></script>
```
Expand Down

0 comments on commit 9226784

Please sign in to comment.