Skip to content

Remove SDK node.js snippet#2148

Merged
alexandratran merged 1 commit into
mainfrom
remove-sdk-nodejs
Jul 15, 2025
Merged

Remove SDK node.js snippet#2148
alexandratran merged 1 commit into
mainfrom
remove-sdk-nodejs

Conversation

@alexandratran

@alexandratran alexandratran commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

Description

Remove Node.js snippet from SDK JS guide. The SDK cannot run in Node.js because it's designed to work only in browser environments. The SDK requires:

  • Access to the window object (which doesn't exist in Node.js)
  • A user interface to connect MetaMask and request accounts
  • Interaction with MetaMask extension or MetaMask mobile via browser

Preview

https://metamask-docs-3tgauc2lo-consensys-ddffed67.vercel.app/sdk/connect/javascript/

Checklist

Complete this checklist before merging your PR:

  • If this PR contains a major change to the documentation content, I have added an entry to the top of the "What's new?" page.
  • The proposed changes have been reviewed and approved by a member of the documentation team.

@alexandratran alexandratran requested review from a team as code owners July 15, 2025 02:38
@vercel

vercel Bot commented Jul 15, 2025

Copy link
Copy Markdown

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

Name Status Preview Comments Updated (UTC)
metamask-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2025 2:39am

@bgravenorst bgravenorst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@alexandratran alexandratran merged commit f409e9f into main Jul 15, 2025
19 checks passed
@alexandratran alexandratran deleted the remove-sdk-nodejs branch July 15, 2025 15:22
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