axios-easy-auth
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "axios-easy-auth", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Modified axios with a simple addition of headers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,4 +27,3 @@ <h1>Were there any problems adding headers to the request?</h1> | ||
<p> | ||
`const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')` | ||
<code>const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')</code> | ||
<pre>`const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')`</pre> | ||
Для начала нужно создать класс EasyAuth. Параметрами принимает url сайта, access токен. | ||
@@ -31,0 +30,0 @@ </p> |
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
3574
39