@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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * This file is auto generated by `scripts/generate-method-action-types.ts`.
3
+ * This file is auto generated.
4
4
  * Do not edit manually.
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 by `scripts/generate-method-action-types.ts`.\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
+ {"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,5 +1,5 @@
1
1
  /**
2
- * This file is auto generated by `scripts/generate-method-action-types.ts`.
2
+ * This file is auto generated.
3
3
  * Do not edit manually.
4
4
  */
5
5
  import type { ShieldController } from "./ShieldController.cjs";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is auto generated by `scripts/generate-method-action-types.ts`.
2
+ * This file is auto generated.
3
3
  * Do not edit manually.
4
4
  */
5
5
  import type { ShieldController } from "./ShieldController.mjs";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is auto generated by `scripts/generate-method-action-types.ts`.
2
+ * This file is auto generated.
3
3
  * Do not edit manually.
4
4
  */
5
5
  export {};
@@ -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 by `scripts/generate-method-action-types.ts`.\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
+ {"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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/shield-controller",
3
- "version": "5.0.2-preview-84c63ff0e",
3
+ "version": "5.0.2-preview-2d89a26",
4
4
  "description": "Controller handling shield transaction coverage logic",
5
5
  "keywords": [
6
6
  "MetaMask",