Skip to content

Conversation

@AyushBherwani1998
Copy link
Member

@AyushBherwani1998 AyushBherwani1998 commented Dec 16, 2025

Description

Update next js version for templates


Note

Upgrade dependencies and rebrand references

  • Bump @metamask/smart-accounts-kit to ^0.3.0 and next/eslint-config-next to 15.4.10 across Next.js and Vite templates
  • Update intro/outro messaging to “MetaMask Smart Accounts Kit” and adjust app metadata titles/descriptions

Docs and copy updates

  • Replace all docs.metamask.io/delegation-toolkit links with docs.metamask.io/smart-accounts-kit equivalents in Steps.tsx components and footer
  • Wording tweaks: “smart contract account” -> “smart account”; “caveats” -> “delegation scopes”
  • Ensure Learn More links point to new guides for creating smart accounts, delegation scopes, and redeeming delegations

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

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners December 16, 2025 07:40
Copy link

@mj-kiwi mj-kiwi left a comment

Choose a reason for hiding this comment

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

Issue 1: Incomplete Branding Update (14 missed references)

This PR only updates the CLI intro/outro files, but several other references to “Delegation Toolkit” were missed and should also be updated.

Page titles (2 files):

  • examples/smart-accounts/signers/dynamic/src/app/layout.tsx:18
    "Delegation Toolkit Starter App"
  • packages/create-gator-app/templates/nextjs/delegation-starter/src/app/layout.tsx:19
    "Delegation Toolkit Starter App"

Documentation links (11 references across 6 files):

  • examples/smart-accounts/signers/dynamic/src/components/Footer.tsx:7
  • packages/create-gator-app/templates/nextjs/delegation-starter/src/components/Steps.tsx
    – 5 instances (lines 100, 113, 130, 140, 172)
  • packages/create-gator-app/templates/nextjs/farcaster-starter/src/components/Steps.tsx
    – 5 instances
  • packages/create-gator-app/templates/nextjs/advanced-permissions-starter/src/components/Steps.tsx:87
  • packages/create-gator-app/templates/vite-react/delegation-starter/src/components/Steps.tsx
    – 5 instances
  • packages/create-gator-app/templates/vite-react/delegation-starter/src/components/Footer.tsx:8

Changelog (1 file):

  • packages/create-gator-app/CHANGELOG.md:59

Issue 2: Missed Version Updates in the Examples Directory

The following file was not updated and still contains outdated dependency versions:

File:

  • examples/smart-accounts/signers/dynamic/package.json

Outdated dependencies:

  • @metamask/smart-accounts-kit: ^0.1.0 → should be ^0.3.0
  • next: 15.3.4 → should be 15.4.10
  • eslint-config-next: 15.3.4 → should be 15.4.10

@AyushBherwani1998
Copy link
Member Author

I have not included Dynamic changes, as I'm moving examples to a different repo. https://github.com/MetaMask/smart-accounts-kit-examples

I have a PR raised for updating Dynamic example, will push those changes there. MetaMask/smart-accounts-kit-examples#1

packages/create-gator-app/CHANGELOG.md:59

I don't think we should update Changelog, as it's for older version which is factually correct.

Copy link
Contributor

@jeffsmale90 jeffsmale90 left a comment

Choose a reason for hiding this comment

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

lgtm!

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.

4 participants