mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #2429 from MetaMask/i2428-AltEnsTlds
Add support for alternative ENS TLDs
This commit is contained in:
commit
61eea51310
@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
- Add support for alternative ENS TLDs (Ethereum Name Service Top-Level Domains).
|
||||||
|
|
||||||
|
## 3.11.2 2017-10-21
|
||||||
|
|
||||||
|
- Fix bug where reject button would sometimes not work.
|
||||||
|
- Fixed bug where sometimes MetaMask's connection to a page would be unreliable.
|
||||||
|
|
||||||
## 3.11.1 2017-10-20
|
## 3.11.1 2017-10-20
|
||||||
|
|
||||||
- Fix bug where log filters were not populated correctly
|
- Fix bug where log filters were not populated correctly
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "MetaMask",
|
"name": "MetaMask",
|
||||||
"short_name": "Metamask",
|
"short_name": "Metamask",
|
||||||
"version": "3.11.1",
|
"version": "3.11.2",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"author": "https://metamask.io",
|
"author": "https://metamask.io",
|
||||||
"description": "Ethereum Browser Extension",
|
"description": "Ethereum Browser Extension",
|
||||||
|
@ -51,6 +51,10 @@ module.exports = class NetworkController extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lookupNetwork () {
|
lookupNetwork () {
|
||||||
|
// Prevent firing when provider is not defined.
|
||||||
|
if (!this.ethQuery || !this.ethQuery.sendAsync) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.ethQuery.sendAsync({ method: 'net_version' }, (err, network) => {
|
this.ethQuery.sendAsync({ method: 'net_version' }, (err, network) => {
|
||||||
if (err) return this.setNetworkState('loading')
|
if (err) return this.setNetworkState('loading')
|
||||||
log.info('web3.getNetwork returned ' + network)
|
log.info('web3.getNetwork returned ' + network)
|
||||||
|
@ -6,7 +6,7 @@ const debounce = require('debounce')
|
|||||||
const copyToClipboard = require('copy-to-clipboard')
|
const copyToClipboard = require('copy-to-clipboard')
|
||||||
const ENS = require('ethjs-ens')
|
const ENS = require('ethjs-ens')
|
||||||
const networkMap = require('ethjs-ens/lib/network-map.json')
|
const networkMap = require('ethjs-ens/lib/network-map.json')
|
||||||
const ensRE = /.+\.eth$/
|
const ensRE = /.+\..+$/
|
||||||
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'
|
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user