@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 +2 -1
- package/dist/KeyringController.cjs +3 -0
- package/dist/KeyringController.cjs.map +1 -1
- package/dist/KeyringController.d.cts.map +1 -1
- package/dist/KeyringController.d.mts.map +1 -1
- package/dist/KeyringController.mjs +3 -0
- package/dist/KeyringController.mjs.map +1 -1
- package/dist/constants.cjs +1 -0
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +1 -0
- package/dist/constants.d.cts.map +1 -1
- package/dist/constants.d.mts +1 -0
- package/dist/constants.d.mts.map +1 -1
- package/dist/constants.mjs +1 -0
- package/dist/constants.mjs.map +1 -1
- package/package.json +3 -3
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-
|
|
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,
|