@gitgov/core 1.12.0 → 1.13.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/dist/src/index.js CHANGED
@@ -15765,9 +15765,10 @@ var LocalBackend = class {
15765
15765
  }
15766
15766
  if (typeof result === "object") {
15767
15767
  const obj = result;
15768
- const output = {
15769
- data: obj["data"] ?? obj
15770
- };
15768
+ const output = {};
15769
+ if (obj["data"] !== void 0) {
15770
+ output.data = obj["data"];
15771
+ }
15771
15772
  const message = obj["message"];
15772
15773
  if (typeof message === "string") {
15773
15774
  output.message = message;