pipedrive 17.5.2 → 17.5.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -7,7 +7,6 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
7
7
  For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).
8
8
 
9
9
  ## [Unreleased]
10
-
11
10
  ## 17.5.2
12
11
  ### Changed
13
12
  - Updated endpoint descriptions to warn about permanently removing deleted entities:
package/dist/ApiClient.js CHANGED
@@ -689,7 +689,8 @@ var ApiClient = /*#__PURE__*/function () {
689
689
  for (var key in obj) {
690
690
  var keyValue = obj[key];
691
691
  var isArray = Array.isArray(keyValue);
692
- var isObject = (0, _typeof2["default"])(keyValue) === 'object' && !isArray;
692
+ var isNull = keyValue === null;
693
+ var isObject = (0, _typeof2["default"])(keyValue) === 'object' && !isArray && !isNull;
693
694
  var isHash = /^[a-f0-9]{40}$|^[a-f0-9]{40}_[a-z0-9]+$/i.test(key);
694
695
  if (isArray) keyValue = keyValue.map(function (kv) {
695
696
  return (0, _typeof2["default"])(kv) === 'object' ? _this3.replaceCamelCaseObj(kv) : kv;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "17.5.2",
3
+ "version": "17.5.3",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",