@rockcarver/frodo-cli 2.0.1-0 → 2.0.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
+ ### Fixed
11
+
12
+ - \#430: Frodo now properly supports exporting and importing of the email service with secondary configurations.
13
+
14
+ ## [2.0.1-0] - 2024-07-27
15
+
10
16
  ## [2.0.0] - 2024-07-20
11
17
 
12
18
  ### Changed
@@ -1891,7 +1897,8 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1891
1897
  - Fixed problem with adding connection profiles
1892
1898
  - Miscellaneous bug fixes
1893
1899
 
1894
- [unreleased]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0...HEAD
1900
+ [unreleased]: https://github.com/rockcarver/frodo-cli/compare/v2.0.1-0...HEAD
1901
+ [2.0.1-0]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0...v2.0.1-0
1895
1902
  [2.0.0]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0-70...v2.0.0
1896
1903
  [2.0.0-70]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0-69...v2.0.0-70
1897
1904
  [2.0.0-69]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0-68...v2.0.0-69
package/dist/app.cjs CHANGED
@@ -123284,7 +123284,7 @@ function stringify(obj) {
123284
123284
  }
123285
123285
  var package_default = {
123286
123286
  name: "@rockcarver/frodo-lib",
123287
- version: "2.0.1-1",
123287
+ version: "2.0.1",
123288
123288
  type: "commonjs",
123289
123289
  main: "./dist/index.js",
123290
123290
  module: "./dist/esm/index.js",
@@ -164475,6 +164475,7 @@ async function putFullService({
164475
164475
  message: `ServiceOps.putFullService: start, serviceId=${serviceId}, globalConfig=${globalConfig}`,
164476
164476
  state: state2
164477
164477
  });
164478
+ const fullServiceDataCopy = cloneDeep(fullServiceData);
164478
164479
  const nextDescendents = fullServiceData.nextDescendents;
164479
164480
  delete fullServiceData.nextDescendents;
164480
164481
  delete fullServiceData._rev;
@@ -164493,7 +164494,10 @@ async function putFullService({
164493
164494
  }
164494
164495
  }
164495
164496
  delete fullServiceData.location;
164496
- const result2 = await putService({
164497
+ if (serviceId === "email" && fullServiceData.transportType) {
164498
+ delete fullServiceData.transportType;
164499
+ }
164500
+ let result2 = await putService({
164497
164501
  serviceId,
164498
164502
  serviceData: fullServiceData,
164499
164503
  globalConfig,
@@ -164533,6 +164537,15 @@ async function putFullService({
164533
164537
  return result22;
164534
164538
  })
164535
164539
  );
164540
+ if (serviceId === "email" && fullServiceDataCopy.transportType) {
164541
+ fullServiceData.transportType = fullServiceDataCopy.transportType;
164542
+ result2 = await putService({
164543
+ serviceId,
164544
+ serviceData: fullServiceData,
164545
+ globalConfig,
164546
+ state: state2
164547
+ });
164548
+ }
164536
164549
  result2.nextDescendents = nextDescendentResult;
164537
164550
  debugMessage({
164538
164551
  message: `ServiceOps.putFullService: end (w/ descendents)`,
@@ -186512,7 +186525,7 @@ var compareVersions = (v12, v2) => {
186512
186525
  // package.json
186513
186526
  var package_default2 = {
186514
186527
  name: "@rockcarver/frodo-cli",
186515
- version: "2.0.1-0",
186528
+ version: "2.0.1",
186516
186529
  type: "module",
186517
186530
  description: "A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.",
186518
186531
  keywords: [
@@ -186626,7 +186639,7 @@ var package_default2 = {
186626
186639
  ]
186627
186640
  },
186628
186641
  devDependencies: {
186629
- "@rockcarver/frodo-lib": "2.0.1-1",
186642
+ "@rockcarver/frodo-lib": "2.0.1",
186630
186643
  "@types/colors": "^1.2.1",
186631
186644
  "@types/fs-extra": "^11.0.1",
186632
186645
  "@types/jest": "^29.2.3",