@rockcarver/frodo-lib 0.13.0 → 0.13.1
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,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.13.1] - 2022-10-04
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- \#113: Frodo now properly enables and disables journeys.
|
|
15
|
+
|
|
10
16
|
## [0.13.0] - 2022-10-04
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -583,7 +589,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
583
589
|
- Fixed problem with adding connection profiles
|
|
584
590
|
- Miscellaneous bug fixes
|
|
585
591
|
|
|
586
|
-
[Unreleased]: https://github.com/rockcarver/frodo-lib/compare/v0.13.
|
|
592
|
+
[Unreleased]: https://github.com/rockcarver/frodo-lib/compare/v0.13.1...HEAD
|
|
593
|
+
|
|
594
|
+
[0.13.1]: https://github.com/rockcarver/frodo-lib/compare/v0.13.0...v0.13.1
|
|
587
595
|
|
|
588
596
|
[0.13.0]: https://github.com/rockcarver/frodo-lib/compare/v0.12.7...v0.13.0
|
|
589
597
|
|
package/cjs/ops/JourneyOps.js
CHANGED
|
@@ -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
|
});
|