1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/shared/constants
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
..
alarms.js Replace setInterval with chrome alarms for MetaMetrics FinalizeEventFragment (#16003) 2022-10-04 13:03:50 -04:00
alerts.ts feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
app.ts Move desktop code to flask build type (#17960) 2023-03-06 19:35:00 +00:00
bridge.ts Disable Bridge button on unsupported networks (#18268) 2023-03-23 14:54:10 -02:30
common.ts add numeric module (#17324) 2023-01-20 15:16:56 -06:00
desktop.ts Add extension desktop UI (#17748) 2023-02-23 16:39:48 +00:00
environment.js Pass excludedPermissions to SnapController (#17321) 2023-02-15 11:09:47 +01:00
gas.ts Fixing/extending type definitions for later usage (#17514) 2023-02-01 11:53:21 -06:00
hardware-wallets.ts Refactor KeyringTypes constant (#17490) 2023-03-21 12:13:22 -02:30
keyring.ts Refactor KeyringTypes constant (#17490) 2023-03-21 12:13:22 -02:30
labels.ts Convert shared/constants/labels.js -> Typescript (#17309) 2023-01-20 08:02:09 -06:00
metametrics.js Fix Sign-in With Ethereum (SIWE) metametric, add tests, and clean RPC method middleware event logic (#18008) 2023-03-29 15:25:01 -03:00
network.ts fix: update zkevm feature toggle date (#18307) 2023-03-23 17:26:07 -02:30
permissions.test.js Pass excludedPermissions to SnapController (#17321) 2023-02-15 11:09:47 +01:00
permissions.ts [FLASK] BREAKING - snaps-monorepo@0.30.0 (#17718) 2023-03-08 13:29:23 -05:00
preferences.ts Move THEME_TYPE to new preferences.ts file (#17515) 2023-01-31 17:49:00 -06:00
smartTransactions.js Swaps / STX improvements (#14622) 2022-05-09 18:48:14 +02:00
snaps.ts [FLASK] Add hardcoded derivation paths (#18176) 2023-03-16 10:39:25 -04:00
swaps.ts feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
time.ts Add initial Typescript Files (#15596) 2022-08-16 10:15:29 -05:00
tokens.js Fixing error when user input some letter in token allowance flow (#17117) 2023-01-18 10:53:10 +01:00
transaction.ts [MMI] Move mmi actions to extension (#18057) 2023-03-14 10:57:05 +00:00