UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

1 lines 910 B
{"version":3,"file":"get-client-status.mjs","sourceRoot":"","sources":["../../../src/types/methods/get-client-status.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * This method does not accept any parameters.\n */\nexport type GetClientStatusParams = never;\n\n/**\n * An object containing information about the client that the Snap is running\n * in.\n */\nexport type GetClientStatusResult = {\n /**\n * The semantic version of the client that the Snap is running in.\n */\n clientVersion: string;\n\n /**\n * The Snaps platform version that the client is running.\n */\n platformVersion: string;\n\n /**\n * A boolean flag that indicates whether the client is locked or not.\n */\n locked: boolean;\n\n /**\n * A boolean flag that indicates whether the client is active or not. The\n * client is considered active if the client is visible.\n */\n active: boolean;\n};\n"]}