@metamask-previews/name-controller 9.1.0-preview-2d89a26 → 9.1.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * This file is auto generated.
3
+ * This file is auto generated by `scripts/generate-method-action-types.ts`.
4
4
  * Do not edit manually.
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"NameController-method-action-types.cjs","sourceRoot":"","sources":["../src/NameController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { NameController } from './NameController';\n\n/**\n * Set the user specified name for a value.\n *\n * @param request - Request object.\n * @param request.name - Name to set.\n * @param request.sourceId - Optional ID of the source of the proposed name.\n * @param request.type - Type of value to set the name for.\n * @param request.value - Value to set the name for.\n * @param request.variation - Variation of the raw value to set the name for. The chain ID if the type is Ethereum address.\n */\nexport type NameControllerSetNameAction = {\n type: `NameController:setName`;\n handler: NameController['setName'];\n};\n\n/**\n * Generate the proposed names for a value using the name providers and store them in the state.\n *\n * @param request - Request object.\n * @param request.value - Value to update the proposed names for.\n * @param request.type - Type of value to update the proposed names for.\n * @param request.sourceIds - Optional array of source IDs to limit which sources are used by the providers. If not provided, all sources in all providers will be used.\n * @param request.variation - Variation of the raw value to update proposed names for. The chain ID if the type is Ethereum address.\n * @returns The updated proposed names for the value.\n */\nexport type NameControllerUpdateProposedNamesAction = {\n type: `NameController:updateProposedNames`;\n handler: NameController['updateProposedNames'];\n};\n\n/**\n * Union of all NameController action types.\n */\nexport type NameControllerMethodActions =\n | NameControllerSetNameAction\n | NameControllerUpdateProposedNamesAction;\n"]}
1
+ {"version":3,"file":"NameController-method-action-types.cjs","sourceRoot":"","sources":["../src/NameController-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 { NameController } from './NameController';\n\n/**\n * Set the user specified name for a value.\n *\n * @param request - Request object.\n * @param request.name - Name to set.\n * @param request.sourceId - Optional ID of the source of the proposed name.\n * @param request.type - Type of value to set the name for.\n * @param request.value - Value to set the name for.\n * @param request.variation - Variation of the raw value to set the name for. The chain ID if the type is Ethereum address.\n */\nexport type NameControllerSetNameAction = {\n type: `NameController:setName`;\n handler: NameController['setName'];\n};\n\n/**\n * Generate the proposed names for a value using the name providers and store them in the state.\n *\n * @param request - Request object.\n * @param request.value - Value to update the proposed names for.\n * @param request.type - Type of value to update the proposed names for.\n * @param request.sourceIds - Optional array of source IDs to limit which sources are used by the providers. If not provided, all sources in all providers will be used.\n * @param request.variation - Variation of the raw value to update proposed names for. The chain ID if the type is Ethereum address.\n * @returns The updated proposed names for the value.\n */\nexport type NameControllerUpdateProposedNamesAction = {\n type: `NameController:updateProposedNames`;\n handler: NameController['updateProposedNames'];\n};\n\n/**\n * Union of all NameController action types.\n */\nexport type NameControllerMethodActions =\n | NameControllerSetNameAction\n | NameControllerUpdateProposedNamesAction;\n"]}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is auto generated.
2
+ * This file is auto generated by `scripts/generate-method-action-types.ts`.
3
3
  * Do not edit manually.
4
4
  */
5
5
  import type { NameController } from "./NameController.cjs";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is auto generated.
2
+ * This file is auto generated by `scripts/generate-method-action-types.ts`.
3
3
  * Do not edit manually.
4
4
  */
5
5
  import type { NameController } from "./NameController.mjs";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is auto generated.
2
+ * This file is auto generated by `scripts/generate-method-action-types.ts`.
3
3
  * Do not edit manually.
4
4
  */
5
5
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"NameController-method-action-types.mjs","sourceRoot":"","sources":["../src/NameController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { NameController } from './NameController';\n\n/**\n * Set the user specified name for a value.\n *\n * @param request - Request object.\n * @param request.name - Name to set.\n * @param request.sourceId - Optional ID of the source of the proposed name.\n * @param request.type - Type of value to set the name for.\n * @param request.value - Value to set the name for.\n * @param request.variation - Variation of the raw value to set the name for. The chain ID if the type is Ethereum address.\n */\nexport type NameControllerSetNameAction = {\n type: `NameController:setName`;\n handler: NameController['setName'];\n};\n\n/**\n * Generate the proposed names for a value using the name providers and store them in the state.\n *\n * @param request - Request object.\n * @param request.value - Value to update the proposed names for.\n * @param request.type - Type of value to update the proposed names for.\n * @param request.sourceIds - Optional array of source IDs to limit which sources are used by the providers. If not provided, all sources in all providers will be used.\n * @param request.variation - Variation of the raw value to update proposed names for. The chain ID if the type is Ethereum address.\n * @returns The updated proposed names for the value.\n */\nexport type NameControllerUpdateProposedNamesAction = {\n type: `NameController:updateProposedNames`;\n handler: NameController['updateProposedNames'];\n};\n\n/**\n * Union of all NameController action types.\n */\nexport type NameControllerMethodActions =\n | NameControllerSetNameAction\n | NameControllerUpdateProposedNamesAction;\n"]}
1
+ {"version":3,"file":"NameController-method-action-types.mjs","sourceRoot":"","sources":["../src/NameController-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 { NameController } from './NameController';\n\n/**\n * Set the user specified name for a value.\n *\n * @param request - Request object.\n * @param request.name - Name to set.\n * @param request.sourceId - Optional ID of the source of the proposed name.\n * @param request.type - Type of value to set the name for.\n * @param request.value - Value to set the name for.\n * @param request.variation - Variation of the raw value to set the name for. The chain ID if the type is Ethereum address.\n */\nexport type NameControllerSetNameAction = {\n type: `NameController:setName`;\n handler: NameController['setName'];\n};\n\n/**\n * Generate the proposed names for a value using the name providers and store them in the state.\n *\n * @param request - Request object.\n * @param request.value - Value to update the proposed names for.\n * @param request.type - Type of value to update the proposed names for.\n * @param request.sourceIds - Optional array of source IDs to limit which sources are used by the providers. If not provided, all sources in all providers will be used.\n * @param request.variation - Variation of the raw value to update proposed names for. The chain ID if the type is Ethereum address.\n * @returns The updated proposed names for the value.\n */\nexport type NameControllerUpdateProposedNamesAction = {\n type: `NameController:updateProposedNames`;\n handler: NameController['updateProposedNames'];\n};\n\n/**\n * Union of all NameController action types.\n */\nexport type NameControllerMethodActions =\n | NameControllerSetNameAction\n | NameControllerUpdateProposedNamesAction;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/name-controller",
3
- "version": "9.1.0-preview-2d89a26",
3
+ "version": "9.1.0-preview-a0caca0c0",
4
4
  "description": "Stores and suggests names for values such as Ethereum addresses",
5
5
  "keywords": [
6
6
  "MetaMask",