Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "grpc-mod", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "GRPC Client that mods requests/response and more", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -34,3 +34,3 @@ # **gRPC-Mod** | ||
```sh | ||
npm install grpc-promise | ||
npm install grpc-mod | ||
``` | ||
@@ -240,4 +240,3 @@ | ||
}, { | ||
noDefaults: true, | ||
noNilProps: true | ||
noDefaults: true | ||
}) | ||
@@ -316,3 +315,3 @@ | ||
#### Creating custom mods | ||
The configuration object accepts a 'mods' props where you can specify one or a list of mods that you build. | ||
The configuration object accepts a 'mods' prop where you can specify one or a list of mods that you build. | ||
@@ -420,3 +419,3 @@ ```js | ||
// reduce the todo entries and create a new object | ||
Object.entries(todo).reduce((acc, [key, value]) => { | ||
return Object.entries(todo).reduce((acc, [key, value]) => { | ||
// if the current property is of type `int64` we parse it into a number | ||
@@ -448,4 +447,4 @@ return { | ||
...response, | ||
created: Date(response.created), | ||
completed: Date(response.completed) | ||
created: new Date(response.created).toString(), | ||
completed: new Date(response.completed).toString() | ||
} | ||
@@ -452,0 +451,0 @@ } |
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
64182
471