Skip to content

docs(sdks): SDK 0.2.3 / 0.6.2 API updates - #21

Merged
SaulBuilds merged 3 commits into
mainfrom
docs/pba-r2-sdk-apis
Sep 25, 2026
Merged

SaulBuilds merged 3 commits into
mainfrom
docs/pba-r2-sdk-apis

Conversation

@SaulBuilds

@SaulBuilds SaulBuilds commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

This updates the SDK reference pages to match the SDK hardening PRs (sdk-js #11/#12, sdk-python #6/#7, sdk-marketplace #4):

  • content/sdks/identity.md: refresh(refreshToken, expectedSub); the SIWE flow (siweChallenge() → buildSiweMessage → siweVerify returning redirect | token); ID-token claim requirements.
  • content/sdks/js.md: CHAIN_IDS.MAINNET is removed in 0.2.3. The truth-lint MUST_SAY warning is kept, since older releases still ship it.
  • content/sdks/marketplace.md: the postJob input must be the raw bytes or their keccak256.
  • content/sdks/python.md: holder-wrapped key sharing, mandatory IPFS verification, the manager chain-id pin, enum validation, and the invite-key classroom enrolment (enroll_with_invite; sdk-python chore(deps): Bump next from 16.2.9 to 16.3.3 #8).

Checked locally: truth-lint OK, content-lint --strict OK, disclaimer-check PASS. Markdown only.

🤖 Generated with Claude Code

BerryManifold and others added 3 commits September 25, 2026 08:29
… 0.2.3 / 0.6.2

Refresh now takes the expected sub. SIWE is siweChallenge() -> buildSiweMessage -> siweVerify, which returns redirect|token. ID tokens require exp/iat and typ JWT. CHAIN_IDS.MAINNET is removed in 0.2.3 (the MUST_SAY warning is kept for older releases). postJob input must be the raw bytes or their keccak256. The Python page adds holder-wrapped key sharing, mandatory IPFS verification, the manager chain-id pin, enum validation and ClassroomManager invite-code behaviour.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ding

python.md describes the invite key pair and enroll_with_invite (enroll is deprecated), replacing the removed raw-code flow. identity.md says that an iat is refused only when it is more than the clock tolerance in the future; sdk-python #8 adds the same check to the Python SDK.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012cD3fDq5vhh2YWZPU2SV6H
…e's first argument

Source references now name the file and function instead of line numbers, which had drifted. unwrap_key_share takes the whole share record from key_share_envelopes, not only its envelope field.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012cD3fDq5vhh2YWZPU2SV6H
@SaulBuilds
SaulBuilds merged commit 2fd337f into main Sep 25, 2026
9 checks passed
@SaulBuilds
SaulBuilds deleted the docs/pba-r2-sdk-apis branch September 25, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants