@metamask-previews/shield-controller 5.0.2-preview-84c63ff0e → 5.0.2-preview-2d89a26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ShieldController-method-action-types.cjs +1 -1
- package/dist/ShieldController-method-action-types.cjs.map +1 -1
- package/dist/ShieldController-method-action-types.d.cts +1 -1
- package/dist/ShieldController-method-action-types.d.mts +1 -1
- package/dist/ShieldController-method-action-types.mjs +1 -1
- package/dist/ShieldController-method-action-types.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShieldController-method-action-types.cjs","sourceRoot":"","sources":["../src/ShieldController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"ShieldController-method-action-types.cjs","sourceRoot":"","sources":["../src/ShieldController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { ShieldController } from './ShieldController';\n\n/**\n * Start the ShieldController and subscribe to the transaction and signature controller state changes.\n */\nexport type ShieldControllerStartAction = {\n type: `ShieldController:start`;\n handler: ShieldController['start'];\n};\n\n/**\n * Stop the ShieldController and unsubscribe from the transaction and signature controller state changes.\n */\nexport type ShieldControllerStopAction = {\n type: `ShieldController:stop`;\n handler: ShieldController['stop'];\n};\n\n/**\n * Clears the shield state and resets to default values.\n */\nexport type ShieldControllerClearStateAction = {\n type: `ShieldController:clearState`;\n handler: ShieldController['clearState'];\n};\n\n/**\n * Checks the coverage of a transaction.\n *\n * @param txMeta - The transaction to check coverage for.\n * @returns The coverage result.\n */\nexport type ShieldControllerCheckCoverageAction = {\n type: `ShieldController:checkCoverage`;\n handler: ShieldController['checkCoverage'];\n};\n\n/**\n * Checks the coverage of a signature request.\n *\n * @param signatureRequest - The signature request to check coverage for.\n * @returns The coverage result.\n */\nexport type ShieldControllerCheckSignatureCoverageAction = {\n type: `ShieldController:checkSignatureCoverage`;\n handler: ShieldController['checkSignatureCoverage'];\n};\n\n/**\n * Union of all ShieldController action types.\n */\nexport type ShieldControllerMethodActions =\n | ShieldControllerStartAction\n | ShieldControllerStopAction\n | ShieldControllerClearStateAction\n | ShieldControllerCheckCoverageAction\n | ShieldControllerCheckSignatureCoverageAction;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShieldController-method-action-types.mjs","sourceRoot":"","sources":["../src/ShieldController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"ShieldController-method-action-types.mjs","sourceRoot":"","sources":["../src/ShieldController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { ShieldController } from './ShieldController';\n\n/**\n * Start the ShieldController and subscribe to the transaction and signature controller state changes.\n */\nexport type ShieldControllerStartAction = {\n type: `ShieldController:start`;\n handler: ShieldController['start'];\n};\n\n/**\n * Stop the ShieldController and unsubscribe from the transaction and signature controller state changes.\n */\nexport type ShieldControllerStopAction = {\n type: `ShieldController:stop`;\n handler: ShieldController['stop'];\n};\n\n/**\n * Clears the shield state and resets to default values.\n */\nexport type ShieldControllerClearStateAction = {\n type: `ShieldController:clearState`;\n handler: ShieldController['clearState'];\n};\n\n/**\n * Checks the coverage of a transaction.\n *\n * @param txMeta - The transaction to check coverage for.\n * @returns The coverage result.\n */\nexport type ShieldControllerCheckCoverageAction = {\n type: `ShieldController:checkCoverage`;\n handler: ShieldController['checkCoverage'];\n};\n\n/**\n * Checks the coverage of a signature request.\n *\n * @param signatureRequest - The signature request to check coverage for.\n * @returns The coverage result.\n */\nexport type ShieldControllerCheckSignatureCoverageAction = {\n type: `ShieldController:checkSignatureCoverage`;\n handler: ShieldController['checkSignatureCoverage'];\n};\n\n/**\n * Union of all ShieldController action types.\n */\nexport type ShieldControllerMethodActions =\n | ShieldControllerStartAction\n | ShieldControllerStopAction\n | ShieldControllerClearStateAction\n | ShieldControllerCheckCoverageAction\n | ShieldControllerCheckSignatureCoverageAction;\n"]}
|