@metamask-previews/ens-controller 19.1.0-preview-a0caca0c0 → 19.1.0-preview-afe010990
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/EnsController-method-action-types.cjs +1 -1
- package/dist/EnsController-method-action-types.cjs.map +1 -1
- package/dist/EnsController-method-action-types.d.cts +1 -1
- package/dist/EnsController-method-action-types.d.mts +1 -1
- package/dist/EnsController-method-action-types.mjs +1 -1
- package/dist/EnsController-method-action-types.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnsController-method-action-types.cjs","sourceRoot":"","sources":["../src/EnsController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"EnsController-method-action-types.cjs","sourceRoot":"","sources":["../src/EnsController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { EnsController } from './EnsController';\n\n/**\n * Clears ensResolutionsByAddress state property.\n */\nexport type EnsControllerResetStateAction = {\n type: `EnsController:resetState`;\n handler: EnsController['resetState'];\n};\n\n/**\n * Remove all chain Ids and ENS entries from state.\n */\nexport type EnsControllerClearAction = {\n type: `EnsController:clear`;\n handler: EnsController['clear'];\n};\n\n/**\n * Delete an ENS entry.\n *\n * @param chainId - Parent chain of the ENS entry to delete.\n * @param ensName - Name of the ENS entry to delete.\n * @returns Boolean indicating if the entry was deleted.\n */\nexport type EnsControllerDeleteAction = {\n type: `EnsController:delete`;\n handler: EnsController['delete'];\n};\n\n/**\n * Retrieve a DNS entry.\n *\n * @param chainId - Parent chain of the ENS entry to retrieve.\n * @param ensName - Name of the ENS entry to retrieve.\n * @returns The EnsEntry or null if it does not exist.\n */\nexport type EnsControllerGetAction = {\n type: `EnsController:get`;\n handler: EnsController['get'];\n};\n\n/**\n * Add or update an ENS entry by chainId and ensName.\n *\n * A null address indicates that the ENS name does not resolve.\n *\n * @param chainId - Id of the associated chain.\n * @param ensName - The ENS name.\n * @param address - Associated address (or null) to add or update.\n * @returns Boolean indicating if the entry was set.\n */\nexport type EnsControllerSetAction = {\n type: `EnsController:set`;\n handler: EnsController['set'];\n};\n\n/**\n * Resolve ens by address.\n *\n * @param nonChecksummedAddress - address\n * @returns ens resolution\n */\nexport type EnsControllerReverseResolveAddressAction = {\n type: `EnsController:reverseResolveAddress`;\n handler: EnsController['reverseResolveAddress'];\n};\n\n/**\n * Union of all EnsController action types.\n */\nexport type EnsControllerMethodActions =\n | EnsControllerResetStateAction\n | EnsControllerClearAction\n | EnsControllerDeleteAction\n | EnsControllerGetAction\n | EnsControllerSetAction\n | EnsControllerReverseResolveAddressAction;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnsController-method-action-types.mjs","sourceRoot":"","sources":["../src/EnsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"EnsController-method-action-types.mjs","sourceRoot":"","sources":["../src/EnsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { EnsController } from './EnsController';\n\n/**\n * Clears ensResolutionsByAddress state property.\n */\nexport type EnsControllerResetStateAction = {\n type: `EnsController:resetState`;\n handler: EnsController['resetState'];\n};\n\n/**\n * Remove all chain Ids and ENS entries from state.\n */\nexport type EnsControllerClearAction = {\n type: `EnsController:clear`;\n handler: EnsController['clear'];\n};\n\n/**\n * Delete an ENS entry.\n *\n * @param chainId - Parent chain of the ENS entry to delete.\n * @param ensName - Name of the ENS entry to delete.\n * @returns Boolean indicating if the entry was deleted.\n */\nexport type EnsControllerDeleteAction = {\n type: `EnsController:delete`;\n handler: EnsController['delete'];\n};\n\n/**\n * Retrieve a DNS entry.\n *\n * @param chainId - Parent chain of the ENS entry to retrieve.\n * @param ensName - Name of the ENS entry to retrieve.\n * @returns The EnsEntry or null if it does not exist.\n */\nexport type EnsControllerGetAction = {\n type: `EnsController:get`;\n handler: EnsController['get'];\n};\n\n/**\n * Add or update an ENS entry by chainId and ensName.\n *\n * A null address indicates that the ENS name does not resolve.\n *\n * @param chainId - Id of the associated chain.\n * @param ensName - The ENS name.\n * @param address - Associated address (or null) to add or update.\n * @returns Boolean indicating if the entry was set.\n */\nexport type EnsControllerSetAction = {\n type: `EnsController:set`;\n handler: EnsController['set'];\n};\n\n/**\n * Resolve ens by address.\n *\n * @param nonChecksummedAddress - address\n * @returns ens resolution\n */\nexport type EnsControllerReverseResolveAddressAction = {\n type: `EnsController:reverseResolveAddress`;\n handler: EnsController['reverseResolveAddress'];\n};\n\n/**\n * Union of all EnsController action types.\n */\nexport type EnsControllerMethodActions =\n | EnsControllerResetStateAction\n | EnsControllerClearAction\n | EnsControllerDeleteAction\n | EnsControllerGetAction\n | EnsControllerSetAction\n | EnsControllerReverseResolveAddressAction;\n"]}
|