Skip to content

Generate API reference for invisible-wallet-sdk #90

@Miracle656

Description

@Miracle656

Background

The @veil/sdk package exposes 11 methods (register, deploy, login, signAuthEntry, getNonce, addSigner, removeSigner, getSigners, setGuardian, initiateRecovery, completeRecovery). The docs site has a manually-written reference page but lacks parameter types, return types, and usage examples for several methods.

What to build

Improve the SDK reference page in the Nextra docs site to include full TypeScript signatures, parameter descriptions, and a short usage example for every method.

Key files

  • frontend/docs/pages/sdk-reference.mdx — page to improve
  • sdk/src/useInvisibleWallet.ts — source of truth for types/signatures

Suggested execution

git checkout -b docs/sdk-api-reference-improvements
  1. For each of the 11 methods, add: TypeScript function signature, parameter table (name, type, description), return type, and a 3-5 line usage example
  2. Consider using TypeDoc to auto-generate and then copy the output into MDX
  3. Verify all code examples are syntactically correct

Example commit message:
docs: add full parameter and return type reference for all 11 SDK methods

Acceptance criteria

  • All 11 methods documented with types and examples
  • No method left with empty description
  • Page renders without errors in Nextra

Drips Wave · Complexity: Trivial · 100 points
Comment below to request assignment. PR must include Closes #[this issue].

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions