unstale

npm / @metamask/gator-permissions-snap

@metamask/gator-permissions-snap

What changed in @metamask/gator-permissions-snap 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.

1 breaking9 new APIs and options1 behavior and defaults1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.12 on npm

@metamask/gator-permissions-snap 25 changes

New APIs and options 4

  • Add the Snaps page-home permission to enable a home page for the package.

    2.0.0release notes

  • Users can adjust permissions requested by a DApp.

    2.0.0release notes

  • Build the package with the appropriate PRICE_API_BASE_URL environment variable configured.

    2.0.0release notes

  • Homepage context appears in a dialog on first installation and on the Snap homepage.

    2.0.0release notes

Fixes and other changes 1

  • Fixes issues with permission data binding and resolving user input data.

    2.0.0release notes

@metamask/gator-permissions-snap 17 changes

Breaking changes 1

  • Updates 7715 types to match the proposed MetaMask types, which may affect integrations using those types.

    1.0.0release notes

New APIs and options 5

  • Implements the happy path for native-token-stream orchestration.

    1.0.0release notes

  • Adds validation logic for native token stream permission data.

    1.0.0release notes

  • Registers event handlers for permission confirmation dialog events.

    1.0.0release notes

  • Adds a specific interface for permission orchestrators, allowing permission handling to use multiple orchestrators.

    1.0.0release notes

  • Adds PermissionsContextBuilder and builds caveats for native token stream.

    1.0.0release notes

Behavior and default changes 1