Skip to content

Conversation

@superKalo
Copy link

📝 Description

This PR updates the usage example of SignerEthBuilder:

- const signerEth = new SignerEthBuilder({ sdk, sessionId })
+ const signerEth = new SignerEthBuilder({ dmk, sessionId })

The correct parameter name is dmk, not sdk. This change aligns the example with the actual constructor signature.

Changelog

  • Fixed: The correct parameter name is dmk, not sdk, to match the actual SignerEthBuilder constructor.

Copilot AI review requested due to automatic review settings May 23, 2025 08:26
@superKalo superKalo requested a review from a team as a code owner May 23, 2025 08:26
@vercel
Copy link

vercel bot commented May 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
device-sdk-ts-sample ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 8:29am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
doc-device-management-kit ⬜️ Ignored (Inspect) Visit Preview May 23, 2025 8:29am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The PR corrects the parameter name in SignerEthBuilder usage examples from sdk to dmk to match the actual constructor signature.

  • Updated the default and customized context module examples to use dmk instead of sdk in the README.
  • Applied the same fix in the MDX reference documentation.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/signer/signer-eth/README.md Changed { sdk, sessionId } to { dmk, sessionId } in examples
apps/docs/pages/docs/references/signers/eth.mdx Updated example to use dmk parameter instead of sdk

Copy link
Member

@mbertin-ledger mbertin-ledger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for contributing 🙏

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