@kredits/contracts 7.3.0 (pulled in here) decodes IPFS chunks with Uint8Array#toString(), which returns comma-separated byte values instead of text under ipfs-http-client 56. Every contributor profile read then fails:
SyntaxError: Unexpected non-whitespace character after JSON at position 3 (line 1 column 4)
at deserialize (…/@kredits/contracts/lib/serializers/contributor.js:105:14)
so the GitHub/Gitea/Zoom/MediaWiki integrations cannot resolve contributors and stop proposing kredits.
Fix
Require @kredits/contracts^7.5.1, which fixes the decoding (kredits/contracts#251).
## Problem
`@kredits/contracts` 7.3.0 (pulled in here) decodes IPFS chunks with `Uint8Array#toString()`, which returns comma-separated byte values instead of text under `ipfs-http-client` 56. Every contributor profile read then fails:
```
SyntaxError: Unexpected non-whitespace character after JSON at position 3 (line 1 column 4)
at deserialize (…/@kredits/contracts/lib/serializers/contributor.js:105:14)
```
so the GitHub/Gitea/Zoom/MediaWiki integrations cannot resolve contributors and stop proposing kredits.
## Fix
Require `@kredits/contracts` `^7.5.1`, which fixes the decoding (`kredits/contracts#251`).
7.5.1 fixes IPFS cat() decoding for ipfs-http-client 56 (Uint8Array chunks).
Before it, every contributor profile read failed with "Unexpected
non-whitespace character after JSON at position 3", so the GitHub/Gitea/
Zoom/MediaWiki integrations could not resolve contributors and stopped
proposing kredits.
raucao
merged commit a4a8bc8b79 into master2026-10-29 17:42:59 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
@kredits/contracts7.3.0 (pulled in here) decodes IPFS chunks withUint8Array#toString(), which returns comma-separated byte values instead of text underipfs-http-client56. Every contributor profile read then fails:so the GitHub/Gitea/Zoom/MediaWiki integrations cannot resolve contributors and stop proposing kredits.
Fix
Require
@kredits/contracts^7.5.1, which fixes the decoding (kredits/contracts#251).