Goal
Bump @pkcprotocol/pkc-js from 0.0.99 to 0.0.101, the latest on npm.
Notable upstream changes since 0.0.99
Why now
5chan-board-manager's default preset is moving to exclude.roles (bitsocialnet/5chan-board-manager#11). On a node running pkc-js 0.0.99, that key is accepted but ignored, so moderators lose their challenge exemption until bitsocial-cli ships pkc-js >= 0.0.101.
Plan
npm install --save-exact @pkcprotocol/pkc-js@0.0.101
npm run build && npm run build:test
npm run test:cli
- Fix any CLI breakage the tests surface
- Open a PR with
Closes #N
Goal
Bump
@pkcprotocol/pkc-jsfrom 0.0.99 to 0.0.101, the latest on npm.Notable upstream changes since 0.0.99
max-age,If-None-Matchis fixed, and records are published with a 20s TTL (perf(community): pace gateway polls on max-age, fix If-None-Match, publish 20s record ttl pkcprotocol/pkc-js#338).exclude.addressis removed and replaced byexclude.publicKeys/exclude.names.exclude.roleis renamed toexclude.roles. Community settings that still use either old field are rejected (ERR_CHALLENGE_EXCLUDE_ROLE_FIELD_RENAMEDforrole). DB_VERSION goes from 41 to 42 and migrates stored settings to the new fields.Why now
5chan-board-manager's default preset is moving to
exclude.roles(bitsocialnet/5chan-board-manager#11). On a node running pkc-js 0.0.99, that key is accepted but ignored, so moderators lose their challenge exemption until bitsocial-cli ships pkc-js >= 0.0.101.Plan
npm install --save-exact @pkcprotocol/pkc-js@0.0.101npm run build && npm run build:testnpm run test:cliCloses #N