1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/test/unit
Thomas Huang 1dad4abfdc
Fix site metadata JSON-RPC handler (#10243)
* Fix getting the site metadata from the request origin params.

Regressed from inpage-provider ts migration the request. The property domainMetadata is now set as a params key for the request.

https://github.com/MetaMask/inpage-provider/blob/v7.0.0/src/siteMetadata.js#L19-L25
vs
https://github.com/MetaMask/inpage-provider/blob/main/src/siteMetadata.ts#L19-L27

* Change hardcoded mocked response of the request to the prod response.
2021-01-22 10:27:07 -08:00
..
actions Add NETWORK_TYPE_RPC constant (#10203) 2021-01-20 08:49:05 -08:00
app Fix site metadata JSON-RPC handler (#10243) 2021-01-22 10:27:07 -08:00
lib Fix import/order issues (#9239) 2020-08-18 16:48:25 -02:30
migrations Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
responsive/components [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
ui Tighten up loading indication logic (#10103) 2020-12-17 21:34:43 -08:00
balance-formatter-test.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
localhostState.js Add NETWORK_TYPE_RPC constant (#10203) 2021-01-20 08:49:05 -08:00