@metamask-previews/announcement-controller 8.0.0-preview-419030b03 → 8.0.0-preview-3f2e0ea
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/AnnouncementController-method-action-types.cjs +1 -1
- package/dist/AnnouncementController-method-action-types.cjs.map +1 -1
- package/dist/AnnouncementController-method-action-types.d.cts +1 -1
- package/dist/AnnouncementController-method-action-types.d.mts +1 -1
- package/dist/AnnouncementController-method-action-types.mjs +1 -1
- package/dist/AnnouncementController-method-action-types.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file is auto generated by
|
|
3
|
+
* This file is auto generated by `@metamask/messenger/generate-action-types`.
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnouncementController-method-action-types.cjs","sourceRoot":"","sources":["../src/AnnouncementController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by
|
|
1
|
+
{"version":3,"file":"AnnouncementController-method-action-types.cjs","sourceRoot":"","sources":["../src/AnnouncementController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by `@metamask/messenger/generate-action-types`.\n * Do not edit manually.\n */\n\nimport type { AnnouncementController } from './AnnouncementController';\n\n/**\n * Resets the isShown status for all announcements\n */\nexport type AnnouncementControllerResetViewedAction = {\n type: `AnnouncementController:resetViewed`;\n handler: AnnouncementController['resetViewed'];\n};\n\n/**\n * Updates the status of the status of the specified announcements\n * once it is read by the user.\n *\n * @param viewedIds - The announcement IDs to mark as viewed.\n */\nexport type AnnouncementControllerUpdateViewedAction = {\n type: `AnnouncementController:updateViewed`;\n handler: AnnouncementController['updateViewed'];\n};\n\n/**\n * Union of all AnnouncementController action types.\n */\nexport type AnnouncementControllerMethodActions =\n | AnnouncementControllerResetViewedAction\n | AnnouncementControllerUpdateViewedAction;\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file is auto generated by
|
|
2
|
+
* This file is auto generated by `@metamask/messenger/generate-action-types`.
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
5
|
import type { AnnouncementController } from "./AnnouncementController.cjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file is auto generated by
|
|
2
|
+
* This file is auto generated by `@metamask/messenger/generate-action-types`.
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
5
|
import type { AnnouncementController } from "./AnnouncementController.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnouncementController-method-action-types.mjs","sourceRoot":"","sources":["../src/AnnouncementController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by
|
|
1
|
+
{"version":3,"file":"AnnouncementController-method-action-types.mjs","sourceRoot":"","sources":["../src/AnnouncementController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated by `@metamask/messenger/generate-action-types`.\n * Do not edit manually.\n */\n\nimport type { AnnouncementController } from './AnnouncementController';\n\n/**\n * Resets the isShown status for all announcements\n */\nexport type AnnouncementControllerResetViewedAction = {\n type: `AnnouncementController:resetViewed`;\n handler: AnnouncementController['resetViewed'];\n};\n\n/**\n * Updates the status of the status of the specified announcements\n * once it is read by the user.\n *\n * @param viewedIds - The announcement IDs to mark as viewed.\n */\nexport type AnnouncementControllerUpdateViewedAction = {\n type: `AnnouncementController:updateViewed`;\n handler: AnnouncementController['updateViewed'];\n};\n\n/**\n * Union of all AnnouncementController action types.\n */\nexport type AnnouncementControllerMethodActions =\n | AnnouncementControllerResetViewedAction\n | AnnouncementControllerUpdateViewedAction;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/announcement-controller",
|
|
3
|
-
"version": "8.0.0-preview-
|
|
3
|
+
"version": "8.0.0-preview-3f2e0ea",
|
|
4
4
|
"description": "Manages in-app announcements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"build:docs": "typedoc",
|
|
41
41
|
"changelog:update": "../../scripts/update-changelog.sh @metamask/announcement-controller",
|
|
42
42
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/announcement-controller",
|
|
43
|
-
"generate-method-action-types": "tsx ../../
|
|
43
|
+
"generate-method-action-types": "tsx ../../packages/messenger/src/generate-action-types/cli.ts",
|
|
44
44
|
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
45
45
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
|
|
46
46
|
"test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
|