@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
1 lines • 481 B
Source Map (JSON)
{"version":3,"file":"get-locale.mjs","sourceRoot":"","sources":["../../../src/types/methods/get-locale.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * The request parameters for the `snap_getLocale` method.\n *\n * This method does not accept any parameters.\n */\nexport type GetLocaleParams = never;\n\n/**\n * The result returned by the `snap_getLocale` method.\n *\n * It is the locale of the user's MetaMask extension.\n */\nexport type GetLocaleResult = string;\n"]}