docs(sdks): SDK 0.2.3 / 0.6.2 API updates - #21
Merged
Merged
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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→siweVerifyreturningredirect | token); ID-token claim requirements.content/sdks/js.md:CHAIN_IDS.MAINNETis removed in 0.2.3. The truth-lint MUST_SAY warning is kept, since older releases still ship it.content/sdks/marketplace.md: thepostJobinputmust 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-lintOK,content-lint --strictOK, disclaimer-check PASS. Markdown only.🤖 Generated with Claude Code