1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/app
Mark Stacey 703a063ad1
Fix metrics error when options are not used (#9985)
Attempts to send metrics would fail when no `options` were used. This
was because when the options parameter was not set, it was often sent
over our RPC connection as `undefined`, which gets serialized to `null`
when the message is converted to JSON. This `null` parameter didn't
trigger the default parameter set in the metametrics controller, as
default parameters are only used for `undefined`.

Instead the `options` parameter is now treated as fully optional, with
no default value set. The optional chaining operator is used to ensure
it won't blow up if it's not set. A fallback of `{}` was used for the
one destructure case as well.
2020-12-03 15:35:11 -03:30
..
_locales Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates (#9867) 2020-12-02 19:55:19 -03:30
fonts Add euclid fontface (#9018) 2020-07-27 17:15:44 -05:00
images Revert view quote design updates (#9904) 2020-11-18 22:10:24 -03:30
manifest Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
scripts Fix metrics error when options are not used (#9985) 2020-12-03 15:35:11 -03:30
vendor/trezor Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
home.html Add optional portal to Popover component (#8253) 2020-03-30 18:25:17 -02:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
phishing.html Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
popup.html Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00