1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Revert "What's new - OpenSea security provider (#16831)" (#17968)

This reverts commit 932282e638.
This commit is contained in:
vthomas13 2023-03-22 12:51:37 -04:00 committed by GitHub
parent 1eb102fd96
commit 16fa967740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 1 additions and 603 deletions

View File

@ -329,9 +329,6 @@
"message": "$1 erlauben, bis zu dem folgenden Betrag abzuheben und auszugeben:", "message": "$1 erlauben, bis zu dem folgenden Betrag abzuheben und auszugeben:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Gehen Sie immer mit Sorgfalt vor, bevor Sie irgendwelche Anfragen genehmigen."
},
"amount": { "amount": {
"message": "Betrag" "message": "Betrag"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Verwenden Sie die OpenSea's API, um NFT-Daten abzurufen. Die NFT-Auto-Erkennung basiert auf der OpenSea's API und wird nicht verfügbar sein, wenn diese deaktiviert ist." "message": "Verwenden Sie die OpenSea's API, um NFT-Daten abzurufen. Die NFT-Auto-Erkennung basiert auf der OpenSea's API und wird nicht verfügbar sein, wenn diese deaktiviert ist."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Sicherheitsanbieter aktivieren"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Intelligente Transaktionen ermöglichen" "message": "Intelligente Transaktionen ermöglichen"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Allgemein" "message": "Allgemein"
}, },
"getWarningsFromOpenSea": {
"message": "Erhalten Sie Warnungen von OpenSea, wenn Sie eine bekannte bösartige Anfrage erhalten."
},
"goBack": { "goBack": {
"message": "Zurück" "message": "Zurück"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Nicht genügend Gas" "message": "Nicht genügend Gas"
}, },
"notNow": {
"message": "Nicht jetzt"
},
"notifications": { "notifications": {
"message": "Benachrichtigungen" "message": "Benachrichtigungen"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "OpenSea-Sicherheitsanbieter"
},
"openSeaDescription": {
"message": "OpenSea ist der erset Sicherheitsanbieter für diese Funktion. Mehr Anbieter folgen in Kürze!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Nicht verbunden" "message": "Nicht verbunden"
}, },
"staySafeWithOpenSea": {
"message": "Mit OpenSea sicher bleiben"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Verbinden Sie Ihr Lattice1" "message": "Verbinden Sie Ihr Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "Επιτρέψτε στο $1 να κάνει ανάληψη και να ξοδέψει μέχρι το ακόλουθο ποσό:", "message": "Επιτρέψτε στο $1 να κάνει ανάληψη και να ξοδέψει μέχρι το ακόλουθο ποσό:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Φροντίστε πάντα να κάνετε τη δική σας επιμελή έρευνα προτού εγκρίνετε οποιαδήποτε αιτήματα."
},
"amount": { "amount": {
"message": "Ποσό" "message": "Ποσό"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Χρησιμοποιήστε το API OpenSea για λήψη δεδομένων NFT. Η αυτόματη ανίχνευση NFT βασίζεται στο API του OpenSea, και δεν θα είναι διαθέσιμη όταν αυτό είναι απενεργοποιημένο." "message": "Χρησιμοποιήστε το API OpenSea για λήψη δεδομένων NFT. Η αυτόματη ανίχνευση NFT βασίζεται στο API του OpenSea, και δεν θα είναι διαθέσιμη όταν αυτό είναι απενεργοποιημένο."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Ενεργοποίηση παρόχου ασφάλειας"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Ενεργοποίηση Έξυπνων Συναλλαγών" "message": "Ενεργοποίηση Έξυπνων Συναλλαγών"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Γενικά" "message": "Γενικά"
}, },
"getWarningsFromOpenSea": {
"message": "Λάβετε προειδοποιήσεις από το OpenSea όποτε λαβαίνετε ένα αναγνωρισμένο κακόβουλο αίτημα."
},
"goBack": { "goBack": {
"message": "Μετάβαση Πίσω" "message": "Μετάβαση Πίσω"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Δεν Υπάρχει Αρκετό τέλος συναλλαγής" "message": "Δεν Υπάρχει Αρκετό τέλος συναλλαγής"
}, },
"notNow": {
"message": "Όχι τώρα"
},
"notifications": { "notifications": {
"message": "Ειδοποιήσεις" "message": "Ειδοποιήσεις"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "Πάροχος ασφάλειας OpenSea"
},
"openSeaDescription": {
"message": "Το OpenSea είναι ο πρώτος πάροχος ασφάλειας για αυτή τη λειτουργία. Σύντομα θα προστεθούν και άλλοι πάροχοι!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Δεν έχει συνδεθεί" "message": "Δεν έχει συνδεθεί"
}, },
"staySafeWithOpenSea": {
"message": "Μείνετε ασφαλείς με το OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Συνδέστε το Lattice1 σας" "message": "Συνδέστε το Lattice1 σας"
}, },

View File

@ -342,9 +342,6 @@
"message": "Allow $1 to withdraw and spend up to the following amount:", "message": "Allow $1 to withdraw and spend up to the following amount:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Always be sure to do your own due diligence before approving any requests."
},
"amount": { "amount": {
"message": "Amount" "message": "Amount"
}, },
@ -1249,9 +1246,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Use OpenSea's API to fetch NFT data. NFT auto-detection relies on OpenSea's API, and will not be available when this is turned off." "message": "Use OpenSea's API to fetch NFT data. NFT auto-detection relies on OpenSea's API, and will not be available when this is turned off."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Enable security provider"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Enable smart transactions" "message": "Enable smart transactions"
}, },
@ -1555,9 +1549,6 @@
"general": { "general": {
"message": "General" "message": "General"
}, },
"getWarningsFromOpenSea": {
"message": "Get warnings from OpenSea whenever you receive a known malicious request."
},
"goBack": { "goBack": {
"message": "Go back" "message": "Go back"
}, },
@ -2332,9 +2323,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Not enough gas" "message": "Not enough gas"
}, },
"notNow": {
"message": "Not now"
},
"notifications": { "notifications": {
"message": "Notifications" "message": "Notifications"
}, },
@ -2695,12 +2683,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "OpenSea security provider"
},
"openSeaDescription": {
"message": "OpenSea is the first security provider for this feature. More providers coming soon!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3709,9 +3691,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Not connected" "message": "Not connected"
}, },
"staySafeWithOpenSea": {
"message": "Stay safe with OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Connect your Lattice1" "message": "Connect your Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "Permitir que se retire $1 y gastar hasta el siguiente importe:", "message": "Permitir que se retire $1 y gastar hasta el siguiente importe:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Asegúrese siempre de hacer su propia diligencia debida antes de aprobar cualquier solicitud."
},
"amount": { "amount": {
"message": "Importe" "message": "Importe"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Utilice la API de OpenSea para obtener los datos de NFT. La autodetección de NFT depende de la API de OpenSea y no estará disponible si la API está desactivada." "message": "Utilice la API de OpenSea para obtener los datos de NFT. La autodetección de NFT depende de la API de OpenSea y no estará disponible si la API está desactivada."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Habilitar proveedor de seguridad"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Habilitar transacciones inteligentes" "message": "Habilitar transacciones inteligentes"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "General" "message": "General"
}, },
"getWarningsFromOpenSea": {
"message": "Reciba advertencias de OpenSea cada vez que reciba una solicitud maliciosa conocida."
},
"goBack": { "goBack": {
"message": "Volver" "message": "Volver"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "No hay gas suficiente" "message": "No hay gas suficiente"
}, },
"notNow": {
"message": "Por ahora no"
},
"notifications": { "notifications": {
"message": "Notificaciones" "message": "Notificaciones"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "Proveedor de seguridad de OpenSea"
},
"openSeaDescription": {
"message": "OpenSea es el primer proveedor de seguridad para esta función. ¡Más proveedores próximamente!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "No conectado" "message": "No conectado"
}, },
"staySafeWithOpenSea": {
"message": "Manténgase seguro con OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Conecte su Lattice1" "message": "Conecte su Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "Permettre à $1 de retirer et de dépenser jusquau montant suivant:", "message": "Permettre à $1 de retirer et de dépenser jusquau montant suivant:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Vous devez faire preuve de diligence raisonnable avant dapprouver toute demande."
},
"amount": { "amount": {
"message": "Montant" "message": "Montant"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Utilisez lAPI OpenSea pour récupérer les données de NFT. La détection automatique de NFT repose sur lAPI OpenSea et ne sera pas disponible si elle est désactivée." "message": "Utilisez lAPI OpenSea pour récupérer les données de NFT. La détection automatique de NFT repose sur lAPI OpenSea et ne sera pas disponible si elle est désactivée."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Activer le fournisseur de services de sécurité"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Activer les transactions intelligentes" "message": "Activer les transactions intelligentes"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Général" "message": "Général"
}, },
"getWarningsFromOpenSea": {
"message": "OpenSea vous avertira dès que vous recevrez une requête malveillante."
},
"goBack": { "goBack": {
"message": "Retour" "message": "Retour"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Pas assez de gaz" "message": "Pas assez de gaz"
}, },
"notNow": {
"message": "Pas maintenant"
},
"notifications": { "notifications": {
"message": "Notifications" "message": "Notifications"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "Fournisseur de services de sécurité OpenSea"
},
"openSeaDescription": {
"message": "OpenSea est le premier fournisseur de services de sécurité à offrir cette fonctionnalité. Dautres fournisseurs seront bientôt ajoutés !"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Non connecté" "message": "Non connecté"
}, },
"staySafeWithOpenSea": {
"message": "Restez en sécurité avec OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Connectez votre Lattice1" "message": "Connectez votre Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "$1 को निम्नलिखित तक राशि निकालने और खर्च करने की अनुमति दें:", "message": "$1 को निम्नलिखित तक राशि निकालने और खर्च करने की अनुमति दें:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "किसी भी अनुरोध को मंजूरी देने से पहले हमेशा अपनी खुद की उचित कर्मठता सुनिश्चित करें।"
},
"amount": { "amount": {
"message": "राशि" "message": "राशि"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "NFT डेटा लाने के लिए OpenSea के API का उपयोग करें। NFT ऑटो-डिटेक्शन OpenSea के API पर निर्भर करता है, और इसके बंद होने पर उपलब्ध नहीं होगा।" "message": "NFT डेटा लाने के लिए OpenSea के API का उपयोग करें। NFT ऑटो-डिटेक्शन OpenSea के API पर निर्भर करता है, और इसके बंद होने पर उपलब्ध नहीं होगा।"
}, },
"enableOpenSeaSecurityProvider": {
"message": "सुरक्षा प्रदाता सक्षम करें"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "स्मार्ट लेनदेन को सक्षम करें" "message": "स्मार्ट लेनदेन को सक्षम करें"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "सामान्य" "message": "सामान्य"
}, },
"getWarningsFromOpenSea": {
"message": "जब भी आप एक ज्ञात दुर्भावनापूर्ण अनुरोध प्राप्त करते हैं, OpenSea से चेतावनी प्राप्त करें।"
},
"goBack": { "goBack": {
"message": "वापस जाएं" "message": "वापस जाएं"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "पर्याप्त गैस नहीं" "message": "पर्याप्त गैस नहीं"
}, },
"notNow": {
"message": "अभी नहीं"
},
"notifications": { "notifications": {
"message": "सूचनाएं" "message": "सूचनाएं"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (बीटा)" "message": "OpenSea (बीटा)"
}, },
"openSeaAltText": {
"message": "OpenSea सुरक्षा प्रदाता"
},
"openSeaDescription": {
"message": "OpenSea इस सुविधा के लिए पहला सुरक्षा प्रदाता है।अधिक प्रदाता जल्द ही आ रहे हैं!"
},
"openSeaNew": { "openSeaNew": {
"message": "ओपनसी" "message": "ओपनसी"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "कनेक्ट नहीं है" "message": "कनेक्ट नहीं है"
}, },
"staySafeWithOpenSea": {
"message": "OpenSea के साथ सुरक्षित रहें"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "अपना Lattice1 कनेक्ट करें" "message": "अपना Lattice1 कनेक्ट करें"
}, },

View File

@ -329,9 +329,6 @@
"message": "Izinkan $1 untuk ditarik dan digunakan hingga jumlah berikut:", "message": "Izinkan $1 untuk ditarik dan digunakan hingga jumlah berikut:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Selalu pastikan untuk melakukan uji tuntas Anda sendiri sebelum menyetujui permintaan apa pun."
},
"amount": { "amount": {
"message": "Jumlah" "message": "Jumlah"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Gunakan API OpenSea untuk mengambil data NFT. Deteksi otomatis NFT bergantung pada API OpenSea, dan tidak akan tersedia saat API ditutup." "message": "Gunakan API OpenSea untuk mengambil data NFT. Deteksi otomatis NFT bergantung pada API OpenSea, dan tidak akan tersedia saat API ditutup."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Aktifkan penyedia keamanan"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Aktifkan transaksi pintar" "message": "Aktifkan transaksi pintar"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Umum" "message": "Umum"
}, },
"getWarningsFromOpenSea": {
"message": "Dapatkan peringatan dari OpenSea setiap kali Anda menerima permintaan berbahaya yang diketahui."
},
"goBack": { "goBack": {
"message": "Kembali" "message": "Kembali"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Gas tidak cukup" "message": "Gas tidak cukup"
}, },
"notNow": {
"message": "Tidak sekarang"
},
"notifications": { "notifications": {
"message": "Notifikasi" "message": "Notifikasi"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "Penyedia keamanan OpenSea"
},
"openSeaDescription": {
"message": "OpenSea merupakan penyedia keamanan pertama untuk fitur ini. Penyedia lainnya akan segera hadir!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Tidak terhubung" "message": "Tidak terhubung"
}, },
"staySafeWithOpenSea": {
"message": "Tetap aman bersama OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Hubungkan Lattice1 Anda" "message": "Hubungkan Lattice1 Anda"
}, },

View File

@ -329,9 +329,6 @@
"message": "$1に以下の額までの引き出しと使用を許可します。", "message": "$1に以下の額までの引き出しと使用を許可します。",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "リクエストを承認する前に、必ず独自のデューデリジェンスを行ってください。"
},
"amount": { "amount": {
"message": "金額" "message": "金額"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "OpenSea APIを使用してNFTデータを取得します。NFT自動検出はOpenSea APIを使用するため、この設定をオフにすると利用できなくなります。" "message": "OpenSea APIを使用してNFTデータを取得します。NFT自動検出はOpenSea APIを使用するため、この設定をオフにすると利用できなくなります。"
}, },
"enableOpenSeaSecurityProvider": {
"message": "セキュリティプロバイダーを有効にする"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "スマートトランザクションを有効にする" "message": "スマートトランザクションを有効にする"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "一般" "message": "一般"
}, },
"getWarningsFromOpenSea": {
"message": "既知の悪質なリクエストを受けた際に OpenSea から警告を受けられます。"
},
"goBack": { "goBack": {
"message": "戻る" "message": "戻る"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "ガスが不足しています" "message": "ガスが不足しています"
}, },
"notNow": {
"message": "また後で"
},
"notifications": { "notifications": {
"message": "通知" "message": "通知"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (ベータ)" "message": "OpenSea (ベータ)"
}, },
"openSeaAltText": {
"message": "OpenSea セキュリティプロバイダー"
},
"openSeaDescription": {
"message": "OpenSea は、この機能を提供する最初のセキュリティプロバイダーです。他のプロバイダーも近日追加予定です!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "未接続" "message": "未接続"
}, },
"staySafeWithOpenSea": {
"message": "OpenSea で安全を確保"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Lattice1を接続する" "message": "Lattice1を接続する"
}, },

View File

@ -329,9 +329,6 @@
"message": "$1에서 다음 금액까지 인출 및 지출하도록 허용:", "message": "$1에서 다음 금액까지 인출 및 지출하도록 허용:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "모든 요청을 승인하기 전에 주의 깊게 직접 확인하세요."
},
"amount": { "amount": {
"message": "금액" "message": "금액"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "OpenSea의 API를 사용하여 NFT 데이터를 가져옵니다. NFT 자동 감지는 OpenSea의 API에 의존하며 이 API가 꺼져 있으면 사용할 수 없습니다." "message": "OpenSea의 API를 사용하여 NFT 데이터를 가져옵니다. NFT 자동 감지는 OpenSea의 API에 의존하며 이 API가 꺼져 있으면 사용할 수 없습니다."
}, },
"enableOpenSeaSecurityProvider": {
"message": "보안 업체 활성화"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "스마트 트랜잭션 활성화" "message": "스마트 트랜잭션 활성화"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "일반" "message": "일반"
}, },
"getWarningsFromOpenSea": {
"message": "알려진 악성 요청을 받을 때마다 OpenSea로부터 경고 알림을 받으세요."
},
"goBack": { "goBack": {
"message": "뒤로 가기" "message": "뒤로 가기"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "가스 부족" "message": "가스 부족"
}, },
"notNow": {
"message": "나중에"
},
"notifications": { "notifications": {
"message": "알림" "message": "알림"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (베타)" "message": "OpenSea (베타)"
}, },
"openSeaAltText": {
"message": "OpenSea 보안 업체"
},
"openSeaDescription": {
"message": "이 기능의 1차 보안 업체는 OpenSea입니다. 곧 다른 보안 업체도 마련하겠습니다!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "연결되지 않음" "message": "연결되지 않음"
}, },
"staySafeWithOpenSea": {
"message": "OpenSea로 보안을 유지하세요"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Lattice1을 연결하세요." "message": "Lattice1을 연결하세요."
}, },

View File

@ -329,9 +329,6 @@
"message": "Permitir que $1 saque e gaste até o seguinte valor:", "message": "Permitir que $1 saque e gaste até o seguinte valor:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Certifique-se sempre de fazer sua devida diligência antes de aprovar qualquer solicitação."
},
"amount": { "amount": {
"message": "Valor" "message": "Valor"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Use a API OpenSea para recuperar dados de NFTs. A detecção automática de NFTs depende da API OpenSea e não estará disponível quando essa opção estiver desativada." "message": "Use a API OpenSea para recuperar dados de NFTs. A detecção automática de NFTs depende da API OpenSea e não estará disponível quando essa opção estiver desativada."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Habilitar provedor de segurança"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Ativar transações inteligentes" "message": "Ativar transações inteligentes"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Geral" "message": "Geral"
}, },
"getWarningsFromOpenSea": {
"message": "Receba avisos do OpenSea sempre que receber uma solicitação maliciosa conhecida."
},
"goBack": { "goBack": {
"message": "Voltar" "message": "Voltar"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Não há gás suficiente" "message": "Não há gás suficiente"
}, },
"notNow": {
"message": "Agora não"
},
"notifications": { "notifications": {
"message": "Notificações" "message": "Notificações"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "Provedor de segurança OpenSea"
},
"openSeaDescription": {
"message": "O OpenSea é o primeiro provedor de segurança para este recurso. Mais provedores chegarão em breve!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Não conectado" "message": "Não conectado"
}, },
"staySafeWithOpenSea": {
"message": "Fique seguro com o OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Conecte seu Lattice1" "message": "Conecte seu Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "Разрешить $1 снять и потратить до следующей суммы:", "message": "Разрешить $1 снять и потратить до следующей суммы:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Всегда обязательно проводите собственную комплексную проверку, прежде чем утверждать какие-либо запросы."
},
"amount": { "amount": {
"message": "Сумма" "message": "Сумма"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Используйте API OpenSea для получения данных NFT. Для автоматического обнаружения NFT используется API OpenSea, и такое обнаружение будет недоступно, если этот API отключен." "message": "Используйте API OpenSea для получения данных NFT. Для автоматического обнаружения NFT используется API OpenSea, и такое обнаружение будет недоступно, если этот API отключен."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Включить поставщика услуг безопасности"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Включить смарт-транзакции" "message": "Включить смарт-транзакции"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Общее" "message": "Общее"
}, },
"getWarningsFromOpenSea": {
"message": "Получайте предупреждения от OpenSea всякий раз, когда вы получаете заведомо вредоносный запрос."
},
"goBack": { "goBack": {
"message": "Назад" "message": "Назад"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Недостаточно газа" "message": "Недостаточно газа"
}, },
"notNow": {
"message": "Не сейчас"
},
"notifications": { "notifications": {
"message": "Уведомления" "message": "Уведомления"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (бета-версия)" "message": "OpenSea (бета-версия)"
}, },
"openSeaAltText": {
"message": "Поставщик услуг безопасности OpenSea"
},
"openSeaDescription": {
"message": "OpenSea является первым поставщиком услуг безопасности для этой функции. Скоро появятся новые поставщики!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Не подключено" "message": "Не подключено"
}, },
"staySafeWithOpenSea": {
"message": "Оставайтесь в безопасности с OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Подключите Lattice1" "message": "Подключите Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "Payagan ang $1 na mag-withdraw at gastusin ang sumusunod na halaga:", "message": "Payagan ang $1 na mag-withdraw at gastusin ang sumusunod na halaga:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Laging siguraduhin na gawin ang iyong sariling angkop na pagsusumikap bago aprubahan ang anumang mga kahilingan."
},
"amount": { "amount": {
"message": "Halaga" "message": "Halaga"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Gamitin ang API ng Opensea upang kunin ang NFT data. ang NFT auto-detection ay umaasa sa API ng OpenSea, at hindi magiging available kapag ito ay isinara." "message": "Gamitin ang API ng Opensea upang kunin ang NFT data. ang NFT auto-detection ay umaasa sa API ng OpenSea, at hindi magiging available kapag ito ay isinara."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Paganahin ang tagapagbigay ng seguridad"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Payagan ang mga smart transaction" "message": "Payagan ang mga smart transaction"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Pangkalahatan" "message": "Pangkalahatan"
}, },
"getWarningsFromOpenSea": {
"message": "Makakuha ng mga babala mula sa OpenSea sa tuwing makakatanggap ka ng kilalang malisyosong kahilingan."
},
"goBack": { "goBack": {
"message": "Bumalik" "message": "Bumalik"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Hindi Sapat ang Gas" "message": "Hindi Sapat ang Gas"
}, },
"notNow": {
"message": "Hindi ngayon"
},
"notifications": { "notifications": {
"message": "Mga Abiso" "message": "Mga Abiso"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea na (Beta)" "message": "OpenSea na (Beta)"
}, },
"openSeaAltText": {
"message": "Tagapagbigay ng seguridad ng OpenSea"
},
"openSeaDescription": {
"message": "Ang OpenSea ay ang unang tagapagbigay ng seguridad para sa tampok na ito. Marami pang mga provider ang paparating!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Hindi konektado" "message": "Hindi konektado"
}, },
"staySafeWithOpenSea": {
"message": "Manatiling ligtas sa OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Ikonekta ang iyong Lattice1" "message": "Ikonekta ang iyong Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "$1 için şu tutara kadar para çekme ve harcama izni ver:", "message": "$1 için şu tutara kadar para çekme ve harcama izni ver:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Talepleri onaylamadan önce her zaman bunu gerekli özeni göstererek yaptığınızdan emin olun."
},
"amount": { "amount": {
"message": "Tutar" "message": "Tutar"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "NFT verilerini almak için OpenSea API'sini kullanın. NFT otomatik algılama OpenSea API'ye dayalıdır ve bu kapatılırsa mevcut olmayacaktır." "message": "NFT verilerini almak için OpenSea API'sini kullanın. NFT otomatik algılama OpenSea API'ye dayalıdır ve bu kapatılırsa mevcut olmayacaktır."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Güvenlik sağlayıcısını etkinleştir"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Akıllı işlemleri etkinleştir" "message": "Akıllı işlemleri etkinleştir"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Genel" "message": "Genel"
}, },
"getWarningsFromOpenSea": {
"message": "Bilinen bir kötü amaçlı talep aldığınızda OpenSea'den uyarı alın."
},
"goBack": { "goBack": {
"message": "Geri git" "message": "Geri git"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Yeterli gaz yok" "message": "Yeterli gaz yok"
}, },
"notNow": {
"message": "Şimdi değil"
},
"notifications": { "notifications": {
"message": "Bildirimler" "message": "Bildirimler"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "OpenSea güvenlik sağlayıcısı"
},
"openSeaDescription": {
"message": "OpenSea bu özellik için birinci güvenlik sağlayıcısıdır. Daha fazla sağlayıcı çok yakında gelecektir!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Bağlanmadı" "message": "Bağlanmadı"
}, },
"staySafeWithOpenSea": {
"message": "OpenSea ile güvende kalın"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Lattice1'inizi bağlayın" "message": "Lattice1'inizi bağlayın"
}, },

View File

@ -329,9 +329,6 @@
"message": "Cho phép $1 rút và chi tiêu tối đa số tiền sau đây:", "message": "Cho phép $1 rút và chi tiêu tối đa số tiền sau đây:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "Nhớ luôn tự thẩm định trước khi phê duyệt bất kỳ yêu cầu nào."
},
"amount": { "amount": {
"message": "Số tiền" "message": "Số tiền"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "Sử dụng API của OpenSea để tìm nạp dữ liệu NFT. Tính năng tự động phát hiện NFT dựa vào API của OpenSea và sẽ không khả dụng nếu tính năng này bị tắt." "message": "Sử dụng API của OpenSea để tìm nạp dữ liệu NFT. Tính năng tự động phát hiện NFT dựa vào API của OpenSea và sẽ không khả dụng nếu tính năng này bị tắt."
}, },
"enableOpenSeaSecurityProvider": {
"message": "Kích hoạt nhà cung cấp bảo mật"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "Bật giao dịch thông minh" "message": "Bật giao dịch thông minh"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "Chung" "message": "Chung"
}, },
"getWarningsFromOpenSea": {
"message": "Nhận cảnh báo từ OpenSea bất cứ khi nào bạn nhận được một yêu cầu độc hại đã biết."
},
"goBack": { "goBack": {
"message": "Quay Lại" "message": "Quay Lại"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "Không đủ gas" "message": "Không đủ gas"
}, },
"notNow": {
"message": "Không phải bây giờ"
},
"notifications": { "notifications": {
"message": "Thông báo" "message": "Thông báo"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea (Beta)" "message": "OpenSea (Beta)"
}, },
"openSeaAltText": {
"message": "Nhà cung cấp bảo mật OpenSea"
},
"openSeaDescription": {
"message": "OpenSea là nhà cung cấp bảo mật đầu tiên cho tính năng này. Sắp có thêm nhiều nhà cung cấp khác!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "Chưa kết nối" "message": "Chưa kết nối"
}, },
"staySafeWithOpenSea": {
"message": "Đảm bảo an toàn với OpenSea"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "Kết nối với Lattice1" "message": "Kết nối với Lattice1"
}, },

View File

@ -329,9 +329,6 @@
"message": "允许 $1 提取和消费最高以下金额:", "message": "允许 $1 提取和消费最高以下金额:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"alwaysBeSureTo": {
"message": "在批准任何请求之前,始终确保执行自身尽职调查。"
},
"amount": { "amount": {
"message": "数额" "message": "数额"
}, },
@ -1225,9 +1222,6 @@
"enableOpenSeaAPIDescription": { "enableOpenSeaAPIDescription": {
"message": "使用 OpenSea 的 API 获取 NFT 数据。NFT 自动检测依赖于 OpenSea 的 API在后者关闭时自动检测将不可用。" "message": "使用 OpenSea 的 API 获取 NFT 数据。NFT 自动检测依赖于 OpenSea 的 API在后者关闭时自动检测将不可用。"
}, },
"enableOpenSeaSecurityProvider": {
"message": "启用安全服务提供商"
},
"enableSmartTransactions": { "enableSmartTransactions": {
"message": "启用智能交易" "message": "启用智能交易"
}, },
@ -1519,9 +1513,6 @@
"general": { "general": {
"message": "常规" "message": "常规"
}, },
"getWarningsFromOpenSea": {
"message": "每当收到已知恶意请求,即从 OpenSea 获取警告。"
},
"goBack": { "goBack": {
"message": "返回" "message": "返回"
}, },
@ -2275,9 +2266,6 @@
"notEnoughGas": { "notEnoughGas": {
"message": "燃料不足" "message": "燃料不足"
}, },
"notNow": {
"message": "暂时不"
},
"notifications": { "notifications": {
"message": "通知" "message": "通知"
}, },
@ -2608,12 +2596,6 @@
"openSea": { "openSea": {
"message": "OpenSea测试版" "message": "OpenSea测试版"
}, },
"openSeaAltText": {
"message": "OpenSea 安全服务提供商"
},
"openSeaDescription": {
"message": "OpenSea 是该功能的第一个安全服务提供商。即将推出更多提供商!"
},
"openSeaNew": { "openSeaNew": {
"message": "OpenSea" "message": "OpenSea"
}, },
@ -3508,9 +3490,6 @@
"statusNotConnected": { "statusNotConnected": {
"message": "未连接" "message": "未连接"
}, },
"staySafeWithOpenSea": {
"message": "通过 OpenSea 确保安全"
},
"step1LatticeWallet": { "step1LatticeWallet": {
"message": "关联您的 Lattice1" "message": "关联您的 Lattice1"
}, },

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 314 KiB

View File

@ -67,7 +67,6 @@ export default class PreferencesController {
: LedgerTransportTypes.u2f, : LedgerTransportTypes.u2f,
transactionSecurityCheckEnabled: false, transactionSecurityCheckEnabled: false,
theme: ThemeType.os, theme: ThemeType.os,
openSeaTransactionSecurityProviderPopoverHasBeenShown: false,
...opts.initState, ...opts.initState,
}; };
@ -204,16 +203,6 @@ export default class PreferencesController {
}); });
} }
/**
* Setter for the `openSeaTransactionSecurityProviderPopoverHasBeenShown` property
*
*/
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown() {
this.store.updateState({
openSeaTransactionSecurityProviderPopoverHasBeenShown: true,
});
}
/** /**
* Add new methodData to state, to avoid requesting this information again through Infura * Add new methodData to state, to avoid requesting this information again through Infura
* *

View File

@ -330,28 +330,4 @@ describe('preferences controller', function () {
); );
}); });
}); });
describe('setOpenSeaTransactionSecurityProviderPopoverHasBeenShown', function () {
it('should default to value "false"', function () {
const state = preferencesController.store.getState();
assert.equal(
state.openSeaTransactionSecurityProviderPopoverHasBeenShown,
false,
);
});
it('should set the openSeaTransactionSecurityProviderPopoverHasBeenShown to true', function () {
const state = preferencesController.store.getState();
assert.equal(
state.openSeaTransactionSecurityProviderPopoverHasBeenShown,
false,
);
preferencesController.setOpenSeaTransactionSecurityProviderPopoverHasBeenShown();
assert.equal(
preferencesController.store.getState()
.openSeaTransactionSecurityProviderPopoverHasBeenShown,
true,
);
});
});
}); });

View File

@ -1861,10 +1861,6 @@ export default class MetamaskController extends EventEmitter {
preferencesController.setTransactionSecurityCheckEnabled.bind( preferencesController.setTransactionSecurityCheckEnabled.bind(
preferencesController, preferencesController,
), ),
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown:
preferencesController.setOpenSeaTransactionSecurityProviderPopoverHasBeenShown.bind(
preferencesController,
),
// AssetsContractController // AssetsContractController
getTokenStandardAndDetails: this.getTokenStandardAndDetails.bind(this), getTokenStandardAndDetails: this.getTokenStandardAndDetails.bind(this),

View File

@ -245,8 +245,6 @@ function defaultFixture() {
useTokenDetection: false, useTokenDetection: false,
useCurrencyRateCheck: true, useCurrencyRateCheck: true,
useMultiAccountBalanceChecker: true, useMultiAccountBalanceChecker: true,
transactionSecurityCheckEnabled: true,
openSeaTransactionSecurityProviderPopoverHasBeenShown: true,
}, },
SmartTransactionsController: { SmartTransactionsController: {
smartTransactionsState: { smartTransactionsState: {
@ -360,8 +358,6 @@ function onboardingFixture() {
useTokenDetection: false, useTokenDetection: false,
useCurrencyRateCheck: true, useCurrencyRateCheck: true,
useMultiAccountBalanceChecker: true, useMultiAccountBalanceChecker: true,
transactionSecurityCheckEnabled: true,
openSeaTransactionSecurityProviderPopoverHasBeenShown: true,
}, },
SmartTransactionsController: { SmartTransactionsController: {
smartTransactionsState: { smartTransactionsState: {

View File

@ -1 +0,0 @@
export { default } from './open-sea-whats-new-popover';

View File

@ -1,6 +0,0 @@
.open-sea-whats-new-popover {
&__enable-security-provider-button {
width: fit-content;
font-weight: 400;
}
}

View File

@ -1,124 +0,0 @@
import React, { useContext } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { useHistory } from 'react-router-dom';
import { I18nContext } from '../../../contexts/i18n';
import Popover from '../../ui/popover';
import {
DISPLAY,
FLEX_DIRECTION,
FONT_WEIGHT,
TextColor,
TextVariant,
} from '../../../helpers/constants/design-system';
import Button from '../../ui/button';
import Box from '../../ui/box';
import {
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown,
setTransactionSecurityCheckEnabled,
} from '../../../store/actions';
import { getHasTheOpenSeaTransactionSecurityProviderPopoverBeenShown } from '../../../selectors';
import { Text } from '../../component-library';
import { EXPERIMENTAL_ROUTE } from '../../../helpers/constants/routes';
export default function OpenSeaWhatsNewPopover() {
const t = useContext(I18nContext);
const dispatch = useDispatch();
const history = useHistory();
const hasThePopoverBeenShown = useSelector(
getHasTheOpenSeaTransactionSecurityProviderPopoverBeenShown,
);
return (
process.env.TRANSACTION_SECURITY_PROVIDER &&
!hasThePopoverBeenShown && (
<Popover
title={
<Text
variant={TextVariant.headingSm}
color={TextColor.textAlternative}
fontWeight={FONT_WEIGHT.BOLD}
>
{t('staySafeWithOpenSea')}
</Text>
}
footer={
<>
<Button
type="primary"
onClick={() => {
dispatch(setTransactionSecurityCheckEnabled(true));
dispatch(
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown(),
);
history.push(
`${EXPERIMENTAL_ROUTE}#transaction-security-check`,
);
}}
className="open-sea-whats-new-popover__enable-security-provider-button"
>
{t('enableOpenSeaSecurityProvider')}
</Button>
<Box marginTop={2}>
<Text variant={TextVariant.bodySm}>
<Button
type="link"
onClick={() =>
dispatch(
setOpenSeaTransactionSecurityProviderPopoverHasBeenShown(),
)
}
>
{t('notNow')}
</Button>
</Text>
</Box>
</>
}
footerClassName="smart-transactions-popover__footer"
className="smart-transactions-popover"
onClose={() =>
dispatch(setOpenSeaTransactionSecurityProviderPopoverHasBeenShown())
}
>
<Box
paddingRight={6}
paddingLeft={6}
paddingTop={0}
paddingBottom={0}
display={DISPLAY.FLEX}
className="smart-transactions-popover__content"
>
<Box
marginTop={1}
marginBottom={1}
display={DISPLAY.FLEX}
flexDirection={FLEX_DIRECTION.COLUMN}
>
<img
src="./images/open-sea-security-provider.svg"
alt={t('openSeaAltText')}
/>
</Box>
<Text variant={TextVariant.bodySm}>
{t('getWarningsFromOpenSea')}
</Text>
<Text
variant={TextVariant.bodySm}
marginTop={4}
fontWeight={FONT_WEIGHT.BOLD}
>
{t('openSeaDescription')}
</Text>
<Text
variant={TextVariant.bodySm}
color={TextColor.textAlternative}
marginTop={4}
>
{t('alwaysBeSureTo')}
</Text>
</Box>
</Popover>
)
);
}

View File

@ -54,7 +54,6 @@ import {
ONBOARDING_SECURE_YOUR_WALLET_ROUTE, ONBOARDING_SECURE_YOUR_WALLET_ROUTE,
} from '../../helpers/constants/routes'; } from '../../helpers/constants/routes';
import ZENDESK_URLS from '../../helpers/constants/zendesk-url'; import ZENDESK_URLS from '../../helpers/constants/zendesk-url';
import OpenSeaWhatsNewPopover from '../../components/app/open-sea-whats-new-popover/open-sea-whats-new-popover';
///: BEGIN:ONLY_INCLUDE_IN(main) ///: BEGIN:ONLY_INCLUDE_IN(main)
import { SUPPORT_LINK } from '../../../shared/lib/ui-utils'; import { SUPPORT_LINK } from '../../../shared/lib/ui-utils';
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
@ -632,7 +631,6 @@ export default class Home extends PureComponent {
/> />
<div className="home__container"> <div className="home__container">
{showWhatsNew ? <WhatsNewPopup onClose={hideWhatsNewPopup} /> : null} {showWhatsNew ? <WhatsNewPopup onClose={hideWhatsNewPopup} /> : null}
{showWhatsNew ? <OpenSeaWhatsNewPopover /> : null}
{!showWhatsNew && showRecoveryPhraseReminder ? ( {!showWhatsNew && showRecoveryPhraseReminder ? (
<RecoveryPhraseReminder <RecoveryPhraseReminder
hasBackedUp={seedPhraseBackedUp} hasBackedUp={seedPhraseBackedUp}

View File

@ -1363,9 +1363,3 @@ export function getIsDesktopEnabled(state) {
return state.metamask.desktopEnabled; return state.metamask.desktopEnabled;
} }
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
export function getHasTheOpenSeaTransactionSecurityProviderPopoverBeenShown(
state,
) {
return state.metamask.openSeaTransactionSecurityProviderPopoverHasBeenShown;
}

View File

@ -4575,12 +4575,11 @@ export function hideBetaHeader() {
export function setTransactionSecurityCheckEnabled( export function setTransactionSecurityCheckEnabled(
transactionSecurityCheckEnabled: boolean, transactionSecurityCheckEnabled: boolean,
): ThunkAction<void, MetaMaskReduxState, unknown, AnyAction> { ): ThunkAction<void, MetaMaskReduxState, unknown, AnyAction> {
return async (dispatch) => { return async () => {
try { try {
await submitRequestToBackground('setTransactionSecurityCheckEnabled', [ await submitRequestToBackground('setTransactionSecurityCheckEnabled', [
transactionSecurityCheckEnabled, transactionSecurityCheckEnabled,
]); ]);
await forceUpdateMetamaskState(dispatch);
} catch (error) { } catch (error) {
logErrorWithMessage(error); logErrorWithMessage(error);
} }
@ -4591,19 +4590,6 @@ export function setFirstTimeUsedNetwork(chainId: string) {
return submitRequestToBackground('setFirstTimeUsedNetwork', [chainId]); return submitRequestToBackground('setFirstTimeUsedNetwork', [chainId]);
} }
export function setOpenSeaTransactionSecurityProviderPopoverHasBeenShown(): ThunkAction<
void,
MetaMaskReduxState,
unknown,
AnyAction
> {
return async () => {
await submitRequestToBackground(
'setOpenSeaTransactionSecurityProviderPopoverHasBeenShown',
);
};
}
// QR Hardware Wallets // QR Hardware Wallets
export async function submitQRHardwareCryptoHDKey(cbor: Hex) { export async function submitQRHardwareCryptoHDKey(cbor: Hex) {
await submitRequestToBackground('submitQRHardwareCryptoHDKey', [cbor]); await submitRequestToBackground('submitQRHardwareCryptoHDKey', [cbor]);