1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts/controllers
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
..
ens @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
network Add MAX_SAFE_CHAIN_ID and refactor chain ID validation (#10224) 2021-01-20 15:37:18 -08:00
permissions Fix site metadata JSON-RPC handler (#10243) 2021-01-22 10:27:07 -08:00
transactions eth-rpc-errors@4.0.2 (#10226) 2021-01-20 22:06:41 -08:00
alert.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
app-state.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
cached-balances.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
detect-tokens.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
incoming-transactions.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
metametrics.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
onboarding.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
preferences.js eth-rpc-errors@4.0.2 (#10226) 2021-01-20 22:06:41 -08:00
swaps.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
threebox.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
token-rates.js Fetch with a timeout everywhere (#10101) 2021-01-19 08:41:57 -08:00