Skip to content

Commit

Permalink
Prepare for v1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lisandrobigi-onfleet committed Aug 26, 2024
1 parent ca3071c commit 000e9a7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.6] - 2024-08-23
## [1.3.7] - 2024-08-23
### Added
- Added Custom field support for node API wrapper

Expand Down Expand Up @@ -128,7 +128,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release on npm

[Unreleased]: https://github.com/onfleet/node-onfleet/compare/v1.3.0...HEAD
[1.3.6]: https://github.com/onfleet/node-onfleet/compare/v1.3.4...v1.3.6
[1.3.6]: https://github.com/onfleet/node-onfleet/compare/v1.3.4...v1.3.7
[1.3.4]: https://github.com/onfleet/node-onfleet/compare/v1.3.3...v1.3.4
[1.3.3]: https://github.com/onfleet/node-onfleet/compare/v1.3.2...v1.3.3
[1.3.2]: https://github.com/onfleet/node-onfleet/compare/v1.3.1...v1.3.2
Expand Down
4 changes: 4 additions & 0 deletions lib/Methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ const Methods = (key, api, ...args) => {
hasBody = true;
}
}
if (['PUT', 'DELETE'].includes(operations) && url.includes('customFields') && Array.isArray(args)) {
body = args[0]; // eslint-disable-line
hasBody = true;
}
// POST Prep - 3 different cases
if (operations === 'POST') {
if (util.isBase64Encoded(args[0])) { // forceComplete, clone, and autoDispatch (with ID)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onfleet/node-onfleet",
"version": "1.3.6",
"version": "1.3.7",
"description": "Onfleet's Node.js API Wrapper Package",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 000e9a7

Please sign in to comment.