Ariella Vu
058c571fab
Fix Sign-in With Ethereum (SIWE) metametric, add tests, and clean RPC method middleware event logic (#18008)
* rpc middleware: update comment
* rpc middleware: use errorCodes const
* rpc middleware: only create event props once
* rpc middleware: rn properties -> eventProperties
* rpc middleware: use TransactionStatus const
* rpc middleware: use const for ui_customizations
* rpc middleware: no need to push null eventProp
- also removes === null check which makes this logic a bit more robust
* rpc middleware: rn METRIC..OPTIONS -> METRIC..OPT
* clean: add consistency
* rpc middleware: refactor let msgParams
* lint: rm unused METAMETRIC_KEY
* fix test: do not pass ui_customizations: null
* rpc middleware test: consolidate tests
* rpc middleware: fix siwe event
.push returns length of mutated array
* rpc middleware test: add siwe test
* rpc middleware test: rm redudant set
2023-03-29 15:25:01 -03:00
..
2022-09-28 20:26:01 -07:00
2023-01-18 08:47:29 -06:00
2022-07-27 08:28:05 -05:00
2023-03-21 13:58:38 -02:30
2022-11-08 04:33:03 +05:30
2023-01-24 08:10:36 -06:00
2023-03-06 09:48:28 -08:00
2022-11-24 16:29:07 -03:30
2022-11-24 16:29:07 -03:30
2022-12-02 21:08:12 +05:30
2022-12-07 12:56:57 -06:00
2023-02-27 13:19:08 -03:30
2022-10-10 17:10:44 -05:00
2023-03-29 15:25:01 -03:00
2023-03-29 15:25:01 -03:00
2023-01-20 14:20:18 -06:00
2023-01-20 14:20:18 -06:00
2022-10-31 16:48:51 -05:00
2022-07-27 08:28:05 -05:00
2023-01-23 10:18:22 -06:00
2022-10-10 17:10:44 -05:00
2022-09-16 14:05:21 -05:00
2022-08-16 18:21:35 +05:30
2022-10-10 17:10:44 -05:00
2023-03-02 16:50:00 +00:00
2023-03-02 16:50:00 +00:00
2023-03-23 14:01:51 -03:00
2023-03-21 12:13:22 -02:30
2023-03-21 12:13:22 -02:30
2022-08-23 16:14:14 -02:30
2023-02-20 17:13:12 +00:00
2022-12-16 11:56:23 -03:30
2022-11-18 20:57:01 +07:00
2023-01-18 08:47:29 -06:00
2023-01-23 10:18:22 -06:00