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
12 changes: 6 additions & 6 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.83",
"@pkcprotocol/pkc-js": "0.0.85",
"dataobject-parser": "1.2.22",
"decompress": "4.2.1",
"env-paths": "2.2.1",
Expand Down
15 changes: 14 additions & 1 deletion test/cli/mintpass-integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,20 @@ describe.skipIf(process.platform === "win32")("@bitsocial/mintpass-challenge int
const sub = await pkc.createCommunity();
await sub.edit({
settings: {
challenges: [{ name: "@bitsocial/mintpass-challenge" }]
challenges: [
{
name: "@bitsocial/mintpass-challenge",
// pkc-js >= 0.0.85 validates settings.challenges against each challenge file's
// optionInputs, and mintpass marks these three `required`. `default` there is a UI
// hint that core never applies, so they have to be passed explicitly. The values
// match the package's own runtime fallbacks, so challenge behaviour is unchanged.
options: {
chainTicker: "base",
contractAddress: "0x13d41d6B8EA5C86096bb7a94C3557FCF184491b9",
requiredTokenType: "0"
}
}
]
}
});
await sub.start();
Expand Down