diff --git a/USAGE.md b/USAGE.md index 23f5a2f..c333cdc 100644 --- a/USAGE.md +++ b/USAGE.md @@ -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: @@ -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(); ```