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@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.
Users can adjust permissions requested by a DApp.
Build the package with the appropriate PRICE_API_BASE_URL environment variable configured.
Homepage context appears in a dialog on first installation and on the Snap homepage.
Fixes and other changes 1
Fixes issues with permission data binding and resolving user input data.
@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.
New APIs and options 5
Implements the happy path for native-token-stream orchestration.
Adds validation logic for native token stream permission data.
Registers event handlers for permission confirmation dialog events.
Adds a specific interface for permission orchestrators, allowing permission handling to use multiple orchestrators.
Adds PermissionsContextBuilder and builds caveats for native token stream.
Behavior and default changes 1
Renders rules specific to each permission.