@metamask-previews/permission-log-controller 5.0.0-preview-2d89a26 → 5.0.0-preview-a0caca0c0
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/PermissionLogController-method-action-types.cjs +1 -1
- package/dist/PermissionLogController-method-action-types.cjs.map +1 -1
- package/dist/PermissionLogController-method-action-types.d.cts +1 -1
- package/dist/PermissionLogController-method-action-types.d.mts +1 -1
- package/dist/PermissionLogController-method-action-types.mjs +1 -1
- package/dist/PermissionLogController-method-action-types.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionLogController-method-action-types.cjs","sourceRoot":"","sources":["../src/PermissionLogController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"PermissionLogController-method-action-types.cjs","sourceRoot":"","sources":["../src/PermissionLogController-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 { PermissionLogController } from './PermissionLogController';\n\n/**\n * Updates the exposed account history for the given origin.\n * Sets the 'last seen' time to Date.now() for the given accounts.\n * Does **not** update the 'lastApproved' time for the permission itself.\n * Returns if the accounts array is empty.\n *\n * @param origin - The origin that the accounts are exposed to.\n * @param accounts - The accounts.\n */\nexport type PermissionLogControllerUpdateAccountsHistoryAction = {\n type: `PermissionLogController:updateAccountsHistory`;\n handler: PermissionLogController['updateAccountsHistory'];\n};\n\n/**\n * Create a permissions log middleware. Records permissions activity and history:\n *\n * Activity: requests and responses for restricted and most wallet_ methods.\n *\n * History: for each origin, the last time a permission was granted, including\n * which accounts were exposed, if any.\n *\n * @returns The permissions log middleware.\n */\nexport type PermissionLogControllerCreateMiddlewareAction = {\n type: `PermissionLogController:createMiddleware`;\n handler: PermissionLogController['createMiddleware'];\n};\n\n/**\n * Union of all PermissionLogController action types.\n */\nexport type PermissionLogControllerMethodActions =\n | PermissionLogControllerUpdateAccountsHistoryAction\n | PermissionLogControllerCreateMiddlewareAction;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionLogController-method-action-types.mjs","sourceRoot":"","sources":["../src/PermissionLogController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"PermissionLogController-method-action-types.mjs","sourceRoot":"","sources":["../src/PermissionLogController-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 { PermissionLogController } from './PermissionLogController';\n\n/**\n * Updates the exposed account history for the given origin.\n * Sets the 'last seen' time to Date.now() for the given accounts.\n * Does **not** update the 'lastApproved' time for the permission itself.\n * Returns if the accounts array is empty.\n *\n * @param origin - The origin that the accounts are exposed to.\n * @param accounts - The accounts.\n */\nexport type PermissionLogControllerUpdateAccountsHistoryAction = {\n type: `PermissionLogController:updateAccountsHistory`;\n handler: PermissionLogController['updateAccountsHistory'];\n};\n\n/**\n * Create a permissions log middleware. Records permissions activity and history:\n *\n * Activity: requests and responses for restricted and most wallet_ methods.\n *\n * History: for each origin, the last time a permission was granted, including\n * which accounts were exposed, if any.\n *\n * @returns The permissions log middleware.\n */\nexport type PermissionLogControllerCreateMiddlewareAction = {\n type: `PermissionLogController:createMiddleware`;\n handler: PermissionLogController['createMiddleware'];\n};\n\n/**\n * Union of all PermissionLogController action types.\n */\nexport type PermissionLogControllerMethodActions =\n | PermissionLogControllerUpdateAccountsHistoryAction\n | PermissionLogControllerCreateMiddlewareAction;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/permission-log-controller",
|
|
3
|
-
"version": "5.0.0-preview-
|
|
3
|
+
"version": "5.0.0-preview-a0caca0c0",
|
|
4
4
|
"description": "Controller with middleware for logging requests and responses to restricted and permissions-related methods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|