@autofleet/node-common 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -19,7 +19,7 @@ Implement:
19
19
 
20
20
  The API is just like [axios](https://github.com/axios/axios) api but the creation of new instance **must** have either `serviceName` or `serviceUrl` in options.
21
21
 
22
- In case `serviceName` used the constractor will look for an environment varible with the the name `SERVICE_URL_<SERVICE_NAME>`.
22
+ In case `serviceName` used the constractor will look for an environment varible with the the name `<SERVICE_NAME>_SERVICE_HOST`.
23
23
 
24
24
  For Example:
25
25
  ```
@@ -31,7 +31,7 @@ n.get('/posts/1');
31
31
  ```
32
32
  .env file:
33
33
  ```
34
- SERVICE_URL_TEST=https://jsonplaceholder.typicode.com
34
+ RIDE_SERVICE_HOST=jsonplaceholder.typicode.com
35
35
  ```
36
36
 
37
- To learn more [click here](https://blog.risingstack.com/designing-microservices-architecture-for-failure/).
37
+ To learn more [click here](https://blog.risingstack.com/designing-microservices-architecture-for-failure/).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/node-common",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {