@metamask/snaps-controllers 19.0.0 → 19.0.1

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.
Files changed (74) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/dist/cronjob/CronjobController-method-action-types.cjs +1 -1
  3. package/dist/cronjob/CronjobController-method-action-types.cjs.map +1 -1
  4. package/dist/cronjob/CronjobController-method-action-types.d.cts +1 -1
  5. package/dist/cronjob/CronjobController-method-action-types.d.mts +1 -1
  6. package/dist/cronjob/CronjobController-method-action-types.mjs +1 -1
  7. package/dist/cronjob/CronjobController-method-action-types.mjs.map +1 -1
  8. package/dist/cronjob/CronjobController.cjs.map +1 -1
  9. package/dist/cronjob/CronjobController.d.cts +2 -2
  10. package/dist/cronjob/CronjobController.d.cts.map +1 -1
  11. package/dist/cronjob/CronjobController.d.mts +2 -2
  12. package/dist/cronjob/CronjobController.d.mts.map +1 -1
  13. package/dist/cronjob/CronjobController.mjs.map +1 -1
  14. package/dist/insights/SnapInsightsController.cjs.map +1 -1
  15. package/dist/insights/SnapInsightsController.d.cts +2 -2
  16. package/dist/insights/SnapInsightsController.d.cts.map +1 -1
  17. package/dist/insights/SnapInsightsController.d.mts +2 -2
  18. package/dist/insights/SnapInsightsController.d.mts.map +1 -1
  19. package/dist/insights/SnapInsightsController.mjs.map +1 -1
  20. package/dist/interface/SnapInterfaceController-method-action-types.cjs +1 -1
  21. package/dist/interface/SnapInterfaceController-method-action-types.cjs.map +1 -1
  22. package/dist/interface/SnapInterfaceController-method-action-types.d.cts +1 -1
  23. package/dist/interface/SnapInterfaceController-method-action-types.d.mts +1 -1
  24. package/dist/interface/SnapInterfaceController-method-action-types.mjs +1 -1
  25. package/dist/interface/SnapInterfaceController-method-action-types.mjs.map +1 -1
  26. package/dist/interface/SnapInterfaceController.cjs.map +1 -1
  27. package/dist/interface/SnapInterfaceController.d.cts +2 -2
  28. package/dist/interface/SnapInterfaceController.d.cts.map +1 -1
  29. package/dist/interface/SnapInterfaceController.d.mts +2 -2
  30. package/dist/interface/SnapInterfaceController.d.mts.map +1 -1
  31. package/dist/interface/SnapInterfaceController.mjs.map +1 -1
  32. package/dist/multichain/MultichainRoutingService-method-action-types.cjs +1 -1
  33. package/dist/multichain/MultichainRoutingService-method-action-types.cjs.map +1 -1
  34. package/dist/multichain/MultichainRoutingService-method-action-types.d.cts +1 -1
  35. package/dist/multichain/MultichainRoutingService-method-action-types.d.mts +1 -1
  36. package/dist/multichain/MultichainRoutingService-method-action-types.mjs +1 -1
  37. package/dist/multichain/MultichainRoutingService-method-action-types.mjs.map +1 -1
  38. package/dist/multichain/MultichainRoutingService.cjs.map +1 -1
  39. package/dist/multichain/MultichainRoutingService.d.cts +2 -2
  40. package/dist/multichain/MultichainRoutingService.d.cts.map +1 -1
  41. package/dist/multichain/MultichainRoutingService.d.mts +2 -2
  42. package/dist/multichain/MultichainRoutingService.d.mts.map +1 -1
  43. package/dist/multichain/MultichainRoutingService.mjs.map +1 -1
  44. package/dist/services/ExecutionService-method-action-types.cjs +1 -1
  45. package/dist/services/ExecutionService-method-action-types.cjs.map +1 -1
  46. package/dist/services/ExecutionService-method-action-types.d.cts +1 -1
  47. package/dist/services/ExecutionService-method-action-types.d.mts +1 -1
  48. package/dist/services/ExecutionService-method-action-types.mjs +1 -1
  49. package/dist/services/ExecutionService-method-action-types.mjs.map +1 -1
  50. package/dist/snaps/SnapController-method-action-types.cjs +1 -1
  51. package/dist/snaps/SnapController-method-action-types.cjs.map +1 -1
  52. package/dist/snaps/SnapController-method-action-types.d.cts +1 -1
  53. package/dist/snaps/SnapController-method-action-types.d.mts +1 -1
  54. package/dist/snaps/SnapController-method-action-types.mjs +1 -1
  55. package/dist/snaps/SnapController-method-action-types.mjs.map +1 -1
  56. package/dist/snaps/SnapController.cjs.map +1 -1
  57. package/dist/snaps/SnapController.d.cts +2 -2
  58. package/dist/snaps/SnapController.d.cts.map +1 -1
  59. package/dist/snaps/SnapController.d.mts +2 -2
  60. package/dist/snaps/SnapController.d.mts.map +1 -1
  61. package/dist/snaps/SnapController.mjs.map +1 -1
  62. package/dist/snaps/registry/SnapRegistryController-method-action-types.cjs +1 -1
  63. package/dist/snaps/registry/SnapRegistryController-method-action-types.cjs.map +1 -1
  64. package/dist/snaps/registry/SnapRegistryController-method-action-types.d.cts +1 -1
  65. package/dist/snaps/registry/SnapRegistryController-method-action-types.d.mts +1 -1
  66. package/dist/snaps/registry/SnapRegistryController-method-action-types.mjs +1 -1
  67. package/dist/snaps/registry/SnapRegistryController-method-action-types.mjs.map +1 -1
  68. package/dist/websocket/WebSocketService-method-action-types.cjs +1 -1
  69. package/dist/websocket/WebSocketService-method-action-types.cjs.map +1 -1
  70. package/dist/websocket/WebSocketService-method-action-types.d.cts +1 -1
  71. package/dist/websocket/WebSocketService-method-action-types.d.mts +1 -1
  72. package/dist/websocket/WebSocketService-method-action-types.mjs +1 -1
  73. package/dist/websocket/WebSocketService-method-action-types.mjs.map +1 -1
  74. package/package.json +10 -10
@@ -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":"SnapRegistryController-method-action-types.cjs","sourceRoot":"","sources":["../../../src/snaps/registry/SnapRegistryController-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 { SnapRegistryController } from './SnapRegistryController';\n\n/**\n * Triggers an update of the registry database.\n *\n * If an existing update is in progress this function will await that update.\n */\nexport type SnapRegistryControllerRequestUpdateAction = {\n type: `SnapRegistryController:requestUpdate`;\n handler: SnapRegistryController['requestUpdate'];\n};\n\nexport type SnapRegistryControllerGetAction = {\n type: `SnapRegistryController:get`;\n handler: SnapRegistryController['get'];\n};\n\n/**\n * Find an allowlisted version within a specified version range. Otherwise return the version range itself.\n *\n * @param snapId - The ID of the snap we are trying to resolve a version for.\n * @param versionRange - The version range.\n * @param refetch - An optional flag used to determine if we are refetching the registry.\n * @returns An allowlisted version within the specified version range if available otherwise returns the input version range.\n */\nexport type SnapRegistryControllerResolveVersionAction = {\n type: `SnapRegistryController:resolveVersion`;\n handler: SnapRegistryController['resolveVersion'];\n};\n\n/**\n * Get metadata for the given snap ID, if available, without updating registry.\n *\n * @param snapId - The ID of the snap to get metadata for.\n * @returns The metadata for the given snap ID, or `null` if the snap is not\n * verified.\n */\nexport type SnapRegistryControllerGetMetadataAction = {\n type: `SnapRegistryController:getMetadata`;\n handler: SnapRegistryController['getMetadata'];\n};\n\n/**\n * Union of all SnapRegistryController action types.\n */\nexport type SnapRegistryControllerMethodActions =\n | SnapRegistryControllerRequestUpdateAction\n | SnapRegistryControllerGetAction\n | SnapRegistryControllerResolveVersionAction\n | SnapRegistryControllerGetMetadataAction;\n"]}
1
+ {"version":3,"file":"SnapRegistryController-method-action-types.cjs","sourceRoot":"","sources":["../../../src/snaps/registry/SnapRegistryController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { SnapRegistryController } from './SnapRegistryController';\n\n/**\n * Triggers an update of the registry database.\n *\n * If an existing update is in progress this function will await that update.\n */\nexport type SnapRegistryControllerRequestUpdateAction = {\n type: `SnapRegistryController:requestUpdate`;\n handler: SnapRegistryController['requestUpdate'];\n};\n\nexport type SnapRegistryControllerGetAction = {\n type: `SnapRegistryController:get`;\n handler: SnapRegistryController['get'];\n};\n\n/**\n * Find an allowlisted version within a specified version range. Otherwise return the version range itself.\n *\n * @param snapId - The ID of the snap we are trying to resolve a version for.\n * @param versionRange - The version range.\n * @param refetch - An optional flag used to determine if we are refetching the registry.\n * @returns An allowlisted version within the specified version range if available otherwise returns the input version range.\n */\nexport type SnapRegistryControllerResolveVersionAction = {\n type: `SnapRegistryController:resolveVersion`;\n handler: SnapRegistryController['resolveVersion'];\n};\n\n/**\n * Get metadata for the given snap ID, if available, without updating registry.\n *\n * @param snapId - The ID of the snap to get metadata for.\n * @returns The metadata for the given snap ID, or `null` if the snap is not\n * verified.\n */\nexport type SnapRegistryControllerGetMetadataAction = {\n type: `SnapRegistryController:getMetadata`;\n handler: SnapRegistryController['getMetadata'];\n};\n\n/**\n * Union of all SnapRegistryController action types.\n */\nexport type SnapRegistryControllerMethodActions =\n | SnapRegistryControllerRequestUpdateAction\n | SnapRegistryControllerGetAction\n | SnapRegistryControllerResolveVersionAction\n | SnapRegistryControllerGetMetadataAction;\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 { SnapRegistryController } from "./SnapRegistryController.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 { SnapRegistryController } from "./SnapRegistryController.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":"SnapRegistryController-method-action-types.mjs","sourceRoot":"","sources":["../../../src/snaps/registry/SnapRegistryController-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 { SnapRegistryController } from './SnapRegistryController';\n\n/**\n * Triggers an update of the registry database.\n *\n * If an existing update is in progress this function will await that update.\n */\nexport type SnapRegistryControllerRequestUpdateAction = {\n type: `SnapRegistryController:requestUpdate`;\n handler: SnapRegistryController['requestUpdate'];\n};\n\nexport type SnapRegistryControllerGetAction = {\n type: `SnapRegistryController:get`;\n handler: SnapRegistryController['get'];\n};\n\n/**\n * Find an allowlisted version within a specified version range. Otherwise return the version range itself.\n *\n * @param snapId - The ID of the snap we are trying to resolve a version for.\n * @param versionRange - The version range.\n * @param refetch - An optional flag used to determine if we are refetching the registry.\n * @returns An allowlisted version within the specified version range if available otherwise returns the input version range.\n */\nexport type SnapRegistryControllerResolveVersionAction = {\n type: `SnapRegistryController:resolveVersion`;\n handler: SnapRegistryController['resolveVersion'];\n};\n\n/**\n * Get metadata for the given snap ID, if available, without updating registry.\n *\n * @param snapId - The ID of the snap to get metadata for.\n * @returns The metadata for the given snap ID, or `null` if the snap is not\n * verified.\n */\nexport type SnapRegistryControllerGetMetadataAction = {\n type: `SnapRegistryController:getMetadata`;\n handler: SnapRegistryController['getMetadata'];\n};\n\n/**\n * Union of all SnapRegistryController action types.\n */\nexport type SnapRegistryControllerMethodActions =\n | SnapRegistryControllerRequestUpdateAction\n | SnapRegistryControllerGetAction\n | SnapRegistryControllerResolveVersionAction\n | SnapRegistryControllerGetMetadataAction;\n"]}
1
+ {"version":3,"file":"SnapRegistryController-method-action-types.mjs","sourceRoot":"","sources":["../../../src/snaps/registry/SnapRegistryController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { SnapRegistryController } from './SnapRegistryController';\n\n/**\n * Triggers an update of the registry database.\n *\n * If an existing update is in progress this function will await that update.\n */\nexport type SnapRegistryControllerRequestUpdateAction = {\n type: `SnapRegistryController:requestUpdate`;\n handler: SnapRegistryController['requestUpdate'];\n};\n\nexport type SnapRegistryControllerGetAction = {\n type: `SnapRegistryController:get`;\n handler: SnapRegistryController['get'];\n};\n\n/**\n * Find an allowlisted version within a specified version range. Otherwise return the version range itself.\n *\n * @param snapId - The ID of the snap we are trying to resolve a version for.\n * @param versionRange - The version range.\n * @param refetch - An optional flag used to determine if we are refetching the registry.\n * @returns An allowlisted version within the specified version range if available otherwise returns the input version range.\n */\nexport type SnapRegistryControllerResolveVersionAction = {\n type: `SnapRegistryController:resolveVersion`;\n handler: SnapRegistryController['resolveVersion'];\n};\n\n/**\n * Get metadata for the given snap ID, if available, without updating registry.\n *\n * @param snapId - The ID of the snap to get metadata for.\n * @returns The metadata for the given snap ID, or `null` if the snap is not\n * verified.\n */\nexport type SnapRegistryControllerGetMetadataAction = {\n type: `SnapRegistryController:getMetadata`;\n handler: SnapRegistryController['getMetadata'];\n};\n\n/**\n * Union of all SnapRegistryController action types.\n */\nexport type SnapRegistryControllerMethodActions =\n | SnapRegistryControllerRequestUpdateAction\n | SnapRegistryControllerGetAction\n | SnapRegistryControllerResolveVersionAction\n | SnapRegistryControllerGetMetadataAction;\n"]}
@@ -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":"WebSocketService-method-action-types.cjs","sourceRoot":"","sources":["../../src/websocket/WebSocketService-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 { WebSocketService } from './WebSocketService';\n\n/**\n * Open a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param url - The URL for the WebSocket connection.\n * @param protocols - An optional parameter for protocols.\n * @returns The identifier for the opened connection.\n * @throws If the connection fails.\n */\nexport type WebSocketServiceOpenAction = {\n type: `WebSocketService:open`;\n handler: WebSocketService['open'];\n};\n\n/**\n * Close a given WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n */\nexport type WebSocketServiceCloseAction = {\n type: `WebSocketService:close`;\n handler: WebSocketService['close'];\n};\n\n/**\n * Send a message from a given Snap ID to a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n * @param data - The message to send.\n */\nexport type WebSocketServiceSendMessageAction = {\n type: `WebSocketService:sendMessage`;\n handler: WebSocketService['sendMessage'];\n};\n\n/**\n * Get a list of all open WebSocket connections for a Snap ID.\n *\n * @param snapId - The Snap ID.\n * @returns A list of WebSocket connections.\n */\nexport type WebSocketServiceGetAllAction = {\n type: `WebSocketService:getAll`;\n handler: WebSocketService['getAll'];\n};\n\n/**\n * Union of all WebSocketService action types.\n */\nexport type WebSocketServiceMethodActions =\n | WebSocketServiceOpenAction\n | WebSocketServiceCloseAction\n | WebSocketServiceSendMessageAction\n | WebSocketServiceGetAllAction;\n"]}
1
+ {"version":3,"file":"WebSocketService-method-action-types.cjs","sourceRoot":"","sources":["../../src/websocket/WebSocketService-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { WebSocketService } from './WebSocketService';\n\n/**\n * Open a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param url - The URL for the WebSocket connection.\n * @param protocols - An optional parameter for protocols.\n * @returns The identifier for the opened connection.\n * @throws If the connection fails.\n */\nexport type WebSocketServiceOpenAction = {\n type: `WebSocketService:open`;\n handler: WebSocketService['open'];\n};\n\n/**\n * Close a given WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n */\nexport type WebSocketServiceCloseAction = {\n type: `WebSocketService:close`;\n handler: WebSocketService['close'];\n};\n\n/**\n * Send a message from a given Snap ID to a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n * @param data - The message to send.\n */\nexport type WebSocketServiceSendMessageAction = {\n type: `WebSocketService:sendMessage`;\n handler: WebSocketService['sendMessage'];\n};\n\n/**\n * Get a list of all open WebSocket connections for a Snap ID.\n *\n * @param snapId - The Snap ID.\n * @returns A list of WebSocket connections.\n */\nexport type WebSocketServiceGetAllAction = {\n type: `WebSocketService:getAll`;\n handler: WebSocketService['getAll'];\n};\n\n/**\n * Union of all WebSocketService action types.\n */\nexport type WebSocketServiceMethodActions =\n | WebSocketServiceOpenAction\n | WebSocketServiceCloseAction\n | WebSocketServiceSendMessageAction\n | WebSocketServiceGetAllAction;\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 { WebSocketService } from "./WebSocketService.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 { WebSocketService } from "./WebSocketService.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":"WebSocketService-method-action-types.mjs","sourceRoot":"","sources":["../../src/websocket/WebSocketService-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 { WebSocketService } from './WebSocketService';\n\n/**\n * Open a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param url - The URL for the WebSocket connection.\n * @param protocols - An optional parameter for protocols.\n * @returns The identifier for the opened connection.\n * @throws If the connection fails.\n */\nexport type WebSocketServiceOpenAction = {\n type: `WebSocketService:open`;\n handler: WebSocketService['open'];\n};\n\n/**\n * Close a given WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n */\nexport type WebSocketServiceCloseAction = {\n type: `WebSocketService:close`;\n handler: WebSocketService['close'];\n};\n\n/**\n * Send a message from a given Snap ID to a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n * @param data - The message to send.\n */\nexport type WebSocketServiceSendMessageAction = {\n type: `WebSocketService:sendMessage`;\n handler: WebSocketService['sendMessage'];\n};\n\n/**\n * Get a list of all open WebSocket connections for a Snap ID.\n *\n * @param snapId - The Snap ID.\n * @returns A list of WebSocket connections.\n */\nexport type WebSocketServiceGetAllAction = {\n type: `WebSocketService:getAll`;\n handler: WebSocketService['getAll'];\n};\n\n/**\n * Union of all WebSocketService action types.\n */\nexport type WebSocketServiceMethodActions =\n | WebSocketServiceOpenAction\n | WebSocketServiceCloseAction\n | WebSocketServiceSendMessageAction\n | WebSocketServiceGetAllAction;\n"]}
1
+ {"version":3,"file":"WebSocketService-method-action-types.mjs","sourceRoot":"","sources":["../../src/websocket/WebSocketService-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { WebSocketService } from './WebSocketService';\n\n/**\n * Open a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param url - The URL for the WebSocket connection.\n * @param protocols - An optional parameter for protocols.\n * @returns The identifier for the opened connection.\n * @throws If the connection fails.\n */\nexport type WebSocketServiceOpenAction = {\n type: `WebSocketService:open`;\n handler: WebSocketService['open'];\n};\n\n/**\n * Close a given WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n */\nexport type WebSocketServiceCloseAction = {\n type: `WebSocketService:close`;\n handler: WebSocketService['close'];\n};\n\n/**\n * Send a message from a given Snap ID to a WebSocket connection.\n *\n * @param snapId - The Snap ID.\n * @param id - The identifier for the WebSocket connection.\n * @param data - The message to send.\n */\nexport type WebSocketServiceSendMessageAction = {\n type: `WebSocketService:sendMessage`;\n handler: WebSocketService['sendMessage'];\n};\n\n/**\n * Get a list of all open WebSocket connections for a Snap ID.\n *\n * @param snapId - The Snap ID.\n * @returns A list of WebSocket connections.\n */\nexport type WebSocketServiceGetAllAction = {\n type: `WebSocketService:getAll`;\n handler: WebSocketService['getAll'];\n};\n\n/**\n * Union of all WebSocketService action types.\n */\nexport type WebSocketServiceMethodActions =\n | WebSocketServiceOpenAction\n | WebSocketServiceCloseAction\n | WebSocketServiceSendMessageAction\n | WebSocketServiceGetAllAction;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/snaps-controllers",
3
- "version": "19.0.0",
3
+ "version": "19.0.1",
4
4
  "description": "Controllers for MetaMask Snaps",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -62,7 +62,7 @@
62
62
  "build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
63
63
  "changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-controllers",
64
64
  "changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-controllers",
65
- "generate-method-action-types": "tsx ../../scripts/generate-method-action-types.mts",
65
+ "generate-method-action-types": "messenger-generate-action-types",
66
66
  "lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies",
67
67
  "lint:ci": "yarn lint",
68
68
  "lint:dependencies": "depcheck",
@@ -80,21 +80,21 @@
80
80
  "test:watch": "jest --watch"
81
81
  },
82
82
  "dependencies": {
83
- "@metamask/approval-controller": "^9.0.0",
84
- "@metamask/base-controller": "^9.0.0",
85
- "@metamask/json-rpc-engine": "^10.2.3",
83
+ "@metamask/approval-controller": "^9.0.1",
84
+ "@metamask/base-controller": "^9.0.1",
85
+ "@metamask/json-rpc-engine": "^10.2.4",
86
86
  "@metamask/json-rpc-middleware-stream": "^8.0.8",
87
87
  "@metamask/key-tree": "^10.1.1",
88
- "@metamask/messenger": "^0.3.0",
88
+ "@metamask/messenger": "^1.1.0",
89
89
  "@metamask/object-multiplex": "^2.1.0",
90
- "@metamask/permission-controller": "^12.2.1",
90
+ "@metamask/permission-controller": "^12.3.0",
91
91
  "@metamask/post-message-stream": "^10.0.0",
92
92
  "@metamask/rpc-errors": "^7.0.3",
93
93
  "@metamask/snaps-registry": "^4.0.0",
94
- "@metamask/snaps-rpc-methods": "^15.0.1",
94
+ "@metamask/snaps-rpc-methods": "^15.0.2",
95
95
  "@metamask/snaps-sdk": "^11.0.0",
96
- "@metamask/snaps-utils": "^12.1.2",
97
- "@metamask/storage-service": "^1.0.0",
96
+ "@metamask/snaps-utils": "^12.1.3",
97
+ "@metamask/storage-service": "^1.0.1",
98
98
  "@metamask/superstruct": "^3.2.1",
99
99
  "@metamask/utils": "^11.10.0",
100
100
  "@xstate/fsm": "^2.0.0",