pipedrive 13.3.0 → 13.3.3
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.
- package/CHANGELOG.md +19 -0
- package/dist/ApiClient.js +5 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
@@ -7,6 +7,25 @@ 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
|
+
### Changed
|
11
|
+
- Added babel/runtime to dependencies
|
12
|
+
|
13
|
+
## 13.3.2
|
14
|
+
### Changed
|
15
|
+
- Moved the following dependencies to devDependencies:
|
16
|
+
- `@babel/cli`
|
17
|
+
- `@babel/runtime`
|
18
|
+
- `jest-environment-node`
|
19
|
+
|
20
|
+
## 13.3.1
|
21
|
+
### Fixed
|
22
|
+
- Date formatting in responses in the following entities and their respective fields:
|
23
|
+
- **activities**: `due_date`
|
24
|
+
- **deals**: `expected_close_date`
|
25
|
+
- **leads**: `expected_close_date`
|
26
|
+
- **subscriptions**: `due_at`, `start_date`, `end_date`
|
27
|
+
|
28
|
+
Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.000Z" in the request response.
|
10
29
|
|
11
30
|
## 13.3.0
|
12
31
|
### Added
|
package/dist/ApiClient.js
CHANGED
@@ -1056,7 +1056,11 @@ var ApiClient = /*#__PURE__*/function () {
|
|
1056
1056
|
return String(data);
|
1057
1057
|
|
1058
1058
|
case 'Date':
|
1059
|
-
|
1059
|
+
if (typeof data === 'string') {
|
1060
|
+
return String(data);
|
1061
|
+
} else {
|
1062
|
+
return ApiClient.parseDate(String(data));
|
1063
|
+
}
|
1060
1064
|
|
1061
1065
|
case 'Blob':
|
1062
1066
|
return data;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pipedrive",
|
3
|
-
"version": "13.3.
|
3
|
+
"version": "13.3.3",
|
4
4
|
"description": "Pipedrive REST client for NodeJS",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "dist/index.js",
|
@@ -18,13 +18,12 @@
|
|
18
18
|
"fs": false
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@babel/
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"superagent": "^5.3.0",
|
25
|
-
"lodash": "^4.17.21"
|
21
|
+
"@babel/runtime": "^7.17.0",
|
22
|
+
"lodash": "^4.17.21",
|
23
|
+
"superagent": "^5.3.0"
|
26
24
|
},
|
27
25
|
"devDependencies": {
|
26
|
+
"@babel/cli": "^7.0.0",
|
28
27
|
"@babel/core": "^7.0.0",
|
29
28
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
30
29
|
"@babel/plugin-proposal-decorators": "^7.0.0",
|
@@ -45,11 +44,13 @@
|
|
45
44
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
46
45
|
"@babel/preset-env": "^7.0.0",
|
47
46
|
"@babel/register": "^7.0.0",
|
47
|
+
"@babel/runtime": "^7.14.0",
|
48
48
|
"@pipedrive/sonar-scanner": "^3.3.1",
|
49
49
|
"axios": "^0.21.0",
|
50
50
|
"expect.js": "^0.3.1",
|
51
51
|
"get-port": "^5.1.1",
|
52
52
|
"jest": "^26.6.3",
|
53
|
+
"jest-environment-node": "^27.4.4",
|
53
54
|
"minimist": "^1.2.5",
|
54
55
|
"mocha": "^8.0.1",
|
55
56
|
"mockserver-client": "^5.11.2",
|