@metamask-previews/keyring-controller 19.2.0-preview-a1eb992b → 19.2.0-preview-dbdf1da

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/CHANGELOG.md CHANGED
@@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Changed
11
11
 
12
- - Bump `@metamask/keyring-internal-api` from `^4.0.1` to `^4.0.2` ([#5356](https://github.com/MetaMask/core/pull/5356))
12
+ - Bump `@metamask/keyring-api"` from `^17.0.0` to `^17.2.0` ([#5366](https://github.com/MetaMask/core/pull/5366))
13
+ - Bump `@metamask/keyring-internal-api` from `^4.0.1` to `^4.0.3` ([#5356](https://github.com/MetaMask/core/pull/5356)), ([#5366](https://github.com/MetaMask/core/pull/5366))
13
14
 
14
15
  ## [19.2.0]
15
16
 
@@ -700,6 +700,9 @@ class KeyringController extends base_controller_1.BaseController {
700
700
  }
701
701
  const { chainId, nonce } = params;
702
702
  const contractAddress = (0, eth_sig_util_1.normalize)(params.contractAddress);
703
+ if (contractAddress === undefined) {
704
+ throw new Error(constants_1.KeyringControllerError.MissingEip7702AuthorizationContractAddress);
705
+ }
703
706
  return await keyring.signEip7702Authorization(from, [
704
707
  chainId,
705
708
  contractAddress,