Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"@oclif/plugin-help": "6.2.36",
"@oclif/plugin-not-found": "3.2.73",
"@oclif/table": "0.5.1",
"@pkcprotocol/pkc-js": "0.0.62",
"@pkcprotocol/pkc-js": "0.0.69",
"dataobject-parser": "1.2.22",
"decompress": "4.2.1",
"env-paths": "2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/community/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ For modifying complex settings like challenges, consider using a web UI instead:
try {
const community = await pkc.createCommunity({ address: args.address });

const mergedState = remeda.pick(community, remeda.keys.strict(editOptions) as (keyof typeof community)[]);
const mergedState = remeda.pick(community, remeda.keys(editOptions) as (keyof typeof community)[]);
// JSON file edits use RFC 7396 JSON Merge Patch semantics (arrays replace, objects merge).
// CLI flag edits use concat semantics (arrays extend with new values).
const finalMergedState = mergeDeep(mergedState, editOptions, flags.jsonFile ? "replace" : "concat");
Expand Down
Loading