Skip to content

Commit

Permalink
Merge pull request #163 from SIMRAN88/master
Browse files Browse the repository at this point in the history
fix: updating usage.md with the correct import for specific header values
  • Loading branch information
reubenae authored Oct 26, 2021
2 parents d7b5c55 + 0820452 commit 3149341
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If you want only a specific header value, then you can use below functions that

* To get Gov-Client-Browser_plugins HMRC Fraud prevention header:
```js
import getGovClientBrowserPluginsHeader from 'user-data-for-fraud-prevention';
import {getGovClientBrowserPluginsHeader} from 'user-data-for-fraud-prevention';
const {headerValue, error} = getGovClientBrowserPluginsHeader();
```
* To get Gov-Client-Browser-JS-User-Agent HMRC Fraud prevention header:
Expand All @@ -38,13 +38,13 @@ const { headerValue, error } = getGovClientBrowserJSUserAgentHeader();
```
* To get Gov-Client-Device Id HMRC Fraud prevention header:
```js
import getGovClientDeviceID from 'user-data-for-fraud-prevention';
import {getGovClientDeviceID}from 'user-data-for-fraud-prevention';
const {headerValue, error} = getGovClientDeviceID();
```

* To get Gov-Client-Browser-Do-Not-Track HMRC Fraud prevention header:
```js
import getGovClientBrowserDoNotTrackHeader from 'user-data-for-fraud-prevention';
import {getGovClientBrowserDoNotTrackHeader} from 'user-data-for-fraud-prevention';
const {headerValue, error} = getGovClientBrowserDoNotTrackHeader();
```

Expand Down

0 comments on commit 3149341

Please sign in to comment.