Skip to content

docs(core-sdk): document AncoreClient.createWallet and AncoreClient.refreshSessionKeyTtl (closes #1272) - #1389

Open
rupesh-kumar-sah wants to merge 1 commit into
ancore-org:mainfrom
rupesh-kumar-sah:docs/issue-1272-sdk-wrappers-missing-methods
Open

rupesh-kumar-sah wants to merge 1 commit into
ancore-org:mainfrom
rupesh-kumar-sah:docs/issue-1272-sdk-wrappers-missing-methods

Conversation

@rupesh-kumar-sah

Copy link
Copy Markdown

Summary

Closes #1272

This PR documents the two exported AncoreClient methods that were missing from docs/sdk-wrappers.md and docs/api-reference.yaml:

  1. AncoreClient.createWallet(params?: CreateWalletParams): Promise<CreateWalletResult>
  2. AncoreClient.refreshSessionKeyTtl(params: RefreshSessionKeyTtlParams, options?: RefreshSessionKeyTtlOptions): InvocationArgs | Promise<RefreshSessionKeyTtlResult>

Changes

  • Added documentation for client.createWallet and client.refreshSessionKeyTtl under AncoreClient in docs/sdk-wrappers.md following the exact pattern of client.addSessionKey and client.revokeSessionKey.
  • Added standalone function sections for createWallet and refreshSessionKeyTtl.
  • Documented parameter interfaces (CreateWalletParams, CreateWalletResult, RefreshSessionKeyTtlParams, RefreshSessionKeyTtlOptions, RefreshSessionKeyTtlResult), validation rules, error tables, and TypeScript code examples.
  • Updated docs/api-reference.yaml machine-readable spec with the method definitions.

Verification

  • Ran node scripts/validate-doc-links.js: Passed with 0 errors.
  • Ran node scripts/check-docs-repo-structure.mjs: In sync.

…efreshSessionKeyTtl (closes ancore-org#1272)

- Add AncoreClient.createWallet documentation with parameter types, return values, and usage example
- Add AncoreClient.refreshSessionKeyTtl documentation with validation rules, error table, and examples
- Add standalone createWallet and refreshSessionKeyTtl sections to docs/sdk-wrappers.md
- Add AncoreClient.createWallet and AncoreClient.refreshSessionKeyTtl to docs/api-reference.yaml
@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: d98612df-a10d-4d1c-8cda-b824d3b731d3


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

[DOCS] sdk-wrappers.md is missing AncoreClient.createWallet and AncoreClient.refreshSessionKeyTtl

2 participants