@rockcarver/frodo-lib 0.13.0 → 0.13.2-0

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 CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.13.2-0] - 2022-10-04
11
+
12
+ ### Added
13
+
14
+ - rockcarver/frodo-cli#70: Added ability to create custom logging noise filters
15
+
16
+ ## [0.13.1] - 2022-10-04
17
+
18
+ ### Fixed
19
+
20
+ - \#113: Frodo now properly enables and disables journeys.
21
+
10
22
  ## [0.13.0] - 2022-10-04
11
23
 
12
24
  ### Added
@@ -583,7 +595,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
583
595
  - Fixed problem with adding connection profiles
584
596
  - Miscellaneous bug fixes
585
597
 
586
- [Unreleased]: https://github.com/rockcarver/frodo-lib/compare/v0.13.0...HEAD
598
+ [Unreleased]: https://github.com/rockcarver/frodo-lib/compare/v0.13.2-0...HEAD
599
+
600
+ [0.13.2-0]: https://github.com/rockcarver/frodo-lib/compare/v0.13.1...v0.13.2-0
601
+
602
+ [0.13.1]: https://github.com/rockcarver/frodo-lib/compare/v0.13.0...v0.13.1
587
603
 
588
604
  [0.13.0]: https://github.com/rockcarver/frodo-lib/compare/v0.12.7...v0.13.0
589
605
 
@@ -2017,9 +2017,11 @@ function _enableJourney() {
2017
2017
  try {
2018
2018
  var treeObject = yield (0, _TreeApi.getTree)(journeyId);
2019
2019
  treeObject['enabled'] = true;
2020
+ delete treeObject._rev;
2020
2021
  var newTreeObject = yield (0, _TreeApi.putTree)(journeyId, treeObject);
2021
2022
  return newTreeObject['enabled'] === true;
2022
2023
  } catch (error) {
2024
+ (0, _Console.printMessage)(error.response.data, 'error');
2023
2025
  return false;
2024
2026
  }
2025
2027
  });
@@ -2035,9 +2037,11 @@ function _disableJourney() {
2035
2037
  try {
2036
2038
  var treeObject = yield (0, _TreeApi.getTree)(journeyId);
2037
2039
  treeObject['enabled'] = false;
2040
+ delete treeObject._rev;
2038
2041
  var newTreeObject = yield (0, _TreeApi.putTree)(journeyId, treeObject);
2039
2042
  return newTreeObject['enabled'] === false;
2040
2043
  } catch (error) {
2044
+ (0, _Console.printMessage)(error.response.data, 'error');
2041
2045
  return false;
2042
2046
  }
2043
2047
  });