Skip to content

Conversation

@adonesky1
Copy link
Contributor

@adonesky1 adonesky1 commented Oct 15, 2025

Refactor: Rename SDK to Connect

Summary

Migrates terminology from "SDK" to "Connect" across sdk-multichain and sdk-multichain-ui packages in preparation for the new connect package.

Changes

  • Classes: MultichainSDKMultichainConnect
  • Types: SDKStateConnectState, SDKEventsConnectEvents
  • Functions: createMetamaskSDKcreateMetamaskConnect
  • Components: SDKVersionConnectVersion
  • Properties: sdkVersionconnectVersion
  • Build config: Global names updated (MetaMaskSDKMetaMaskConnect)
  • Documentation: Updated to use "MetaMask Connect Module" terminology

Note

Renames SDK to Connect across core, UI, APIs, build artifacts, and tests, including types, props, logger namespaces, globals, and docs.

  • Core/Domain:
    • Rename MultichainSDKMultichainConnect, SDKStateConnectState, SDKEventsConnectEvents.
    • Update public factory createMetamaskSDKcreateMetamaskConnect in index.*.
    • Change metadata key metadata.sdkmetadata.connect and logger namespaces metamask-sdk:*metamask-connect:*.
  • UI (Web/RN/Node):
    • Replace component SDKVersionConnectVersion and prop sdkVersionconnectVersion across mm-install-modal and mm-otp-modal.
    • Update web modal mounting to set connectVersion and example index.html attribute/title.
    • UMD global name for UI build MetaMaskSDKInstallModalMetaMaskConnectInstallModal.
  • Build/Packaging:
    • Change browser IIFE global MetaMaskSDKMetaMaskConnect in tsup.config.ts and related rollup configs.
    • Adjust package descriptions from "SDK" to "Connect".
  • Tests:
    • Align types, factories, props, log namespaces, and expectations with "Connect" naming.
  • Docs:
    • Update READMEs and terminology to "MetaMask Connect Module".

Written by Cursor Bugbot for commit dc8ac18. This will update automatically on new commits. Configure here.

- Rename MultichainSDK to MultichainConnect
- Rename SDKState to ConnectState
- Rename SDKEvents to ConnectEvents
- Rename createMetamaskSDK to createMetamaskConnect
- Rename SDKVersion to ConnectVersion component
- Update sdkVersion to connectVersion properties
- Update build configuration global names
- Update documentation and comments to use 'MetaMask Connect Module'
- Update test files and mock references
- Update logger namespaces and package descriptions
@adonesky1 adonesky1 requested a review from a team as a code owner October 15, 2025 16:48
@adonesky1 adonesky1 changed the title refactor: rename SDK terminology to Connect terminology chore: Renaming Classes and variable SDK -> Connect Oct 15, 2025
@adonesky1 adonesky1 changed the title chore: Renaming Classes and variable SDK -> Connect chore: Renaming Classes and variables SDK -> Connect Oct 15, 2025
Copy link

@Agrament Agrament left a comment

Choose a reason for hiding this comment

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

Znsjnsm@)$($)2?

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.

3 participants