1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
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
..
account-import-strategies Create custom addHexPrefix function (#9306) 2020-11-06 13:18:00 -08:00
constants Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
controllers Fix site metadata JSON-RPC handler (#10243) 2021-01-22 10:27:07 -08:00
lib eth-rpc-errors@4.0.2 (#10226) 2021-01-20 22:06:41 -08:00
migrations Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
platforms Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
background.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
chromereload.js
contentscript.js Restore support for @metamask/inpage provider@"< 8.0.0" (#10179) 2021-01-12 17:43:45 -08:00
disable-console.js Use late-bound noop function when disabling console (#10110) 2020-12-19 16:58:49 -03:30
first-time-state.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
initSentry.js Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
inpage.js @metamask/inpage-provider@^8.0.0 (#8640) 2020-12-08 11:48:47 -08:00
metamask-controller.js Add MAX_SAFE_CHAIN_ID and refactor chain ID validation (#10224) 2021-01-20 15:37:18 -08:00
phishing-detect.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
runLockdown.js Fix contentscript injection failure on Firefox 56 (#10034) 2020-12-10 14:03:04 -03:30
ui.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00