@agimon-ai/po-git 0.0.0-alpha.206 → 0.0.0-alpha.208

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.
@@ -2783,9 +2783,17 @@ var start_native_default = defineWebLifecycle((runtime) => {
2783
2783
  });
2784
2784
  //#endregion
2785
2785
  //#region generated/native.ts
2786
- const via = (identity, value) => value === void 0 ? void 0 : {
2787
- ...identity,
2788
- ...value
2786
+ const via = (identity, value) => {
2787
+ if (value === void 0) return void 0;
2788
+ const declaration = value;
2789
+ return {
2790
+ ...identity,
2791
+ ...declaration,
2792
+ ...declaration.relations === void 0 ? {} : { relations: declaration.relations.map((relation) => ({
2793
+ evidence: "declared",
2794
+ ...relation
2795
+ })) }
2796
+ };
2789
2797
  };
2790
2798
  const nativePlugin = defineNativePlugin({
2791
2799
  id: "git",