Skip to content

Reorder README to lead with interact().#58

Merged
djscruggs merged 4 commits into
mainfrom
reorder-readme-interact-first
Jun 26, 2026
Merged

Reorder README to lead with interact().#58
djscruggs merged 4 commits into
mainfrom
reorder-readme-interact-first

Conversation

@djscruggs

Copy link
Copy Markdown
Contributor

Summary

Reorders the README so interact() is presented as the recommended
relying-party entry point, with get() / store() moved into a clearly
deprecated section below it. Follow-up to the merged interact() PR (#57).

What changed

  • interact() promoted to directly after "Loading the Polyfill" and framed
    as the recommended path for issuers and verifiers.
  • get() / store() marked deprecated in a dedicated section, with a
    callout pointing readers to interact(). WebCredential and "Handling Empty
    Results" move down with them.
  • Wallet-provider "Advanced Operations" (manifest, requestPermission())
    left as-is — not deprecated; wallet registration is unaffected.
  • Clarifies that an interaction URL covers a credential request, a store, or
    both: the operation is deferred to the exchange layer and is never expressed
    to or via CHAPI, so callers no longer make the get/store distinction.
  • Fixes the prior "interact() always generates a request" wording, which
    contradicted the get-or-store-or-both behavior.

Scope

Documentation only. The code does not yet mark get() / store() as
deprecated — that is intentionally deferred to a later change. "Load the
polyfill first" guidance is preserved.

🤖 Generated with Claude Code

Promote interact() to the recommended relying-party entry point, directly
after polyfill loading, and move get()/store() into a clearly deprecated
section below it. Explain that an interaction URL covers credential request,
storage, or both -- the operation is deferred to the exchange layer and is
never expressed to or via CHAPI -- so callers no longer make the get/store
distinction. Documentation only; the code does not yet mark get()/store()
deprecated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@djscruggs djscruggs requested a review from dlongley June 26, 2026 19:12
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Wrap loadOnce() examples in try/catch, add a setGlobal: false load
example, tighten the interact() intro wording, and expand the
interactionUrl comment to explain trusted-origin and TLS-authentication
behavior. Addresses review comments on PR #58.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@djscruggs djscruggs requested a review from dlongley June 26, 2026 19:38
Comment thread README.md Outdated
Comment thread README.md Outdated
@djscruggs djscruggs merged commit 4a18114 into main Jun 26, 2026
2 checks passed
djscruggs added a commit that referenced this pull request Jun 26, 2026
Wrap loadOnce() examples in try/catch, add a setGlobal: false load
example, tighten the interact() intro wording, and expand the
interactionUrl comment to explain trusted-origin and TLS-authentication
behavior. Addresses review comments on PR #58.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dlongley dlongley deleted the reorder-readme-interact-first branch June 26, 2026 22:56
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