diff --git a/CHANGELOG.md b/CHANGELOG.md index 5957b96b92ca..2cdc5ac8fddb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,12 @@ ## Current Develop Branch +## 0.6.8 Thu May 27 2021 + +- feat: new domain for testnet faucet (#344) + ## 0.6.7 Thu May 27 2021 + - feat: @conflux-chain to @confluxnetwork (#341) ## 0.6.6 Tue May 18 2021 diff --git a/app/_locales/bn/messages.json b/app/_locales/bn/messages.json index 4ec8cf28fe21..f757cc653e88 100644 --- a/app/_locales/bn/messages.json +++ b/app/_locales/bn/messages.json @@ -738,7 +738,7 @@ "message": "আপনার সীড ফ্রেজ বিষয়ে সাবধান থাকুন — এমন ওয়েবসাইটগুলির রিপোর্ট পাওয়া গেছে যেগুলি ConfluxPortal কে অনুকরণ করার চেষ্টা করে। ConfluxPortal কখনও আপনার সীড ফ্রেজ জিজ্ঞাসা করবে না।" }, "protectYourKeysMessage2": { - "message": "আপনার ফ্রেজটিকে নিরাপদে রাখুন।সন্দেহজনক কিছু দেখলে, বা একটি ওয়েবসাইট সম্পর্কে নিশ্চিত না হলে, portal@conflux-chain.org এ ইমেল করুন" + "message": "আপনার ফ্রেজটিকে নিরাপদে রাখুন।সন্দেহজনক কিছু দেখলে, বা একটি ওয়েবসাইট সম্পর্কে নিশ্চিত না হলে, portal@confluxnetwork.org এ ইমেল করুন" }, "rpcUrl": { "message": "নতুন RPC URL" diff --git a/app/manifest.json b/app/manifest.json index f557860b2ca0..d87a42be023b 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,9 +1,9 @@ { "name": "ConfluxPortal", "short_name": "ConfluxPortal", - "version": "0.6.7", + "version": "0.6.8", "manifest_version": 2, - "author": "https://conflux-chain.org", + "author": "https://confluxnetwork.org", "description": "__MSG_appDescription__", "commands": { "_execute_browser_action": { @@ -92,7 +92,7 @@ "matches": [ "https://confluxscan.io/*", "https://testnet.confluxscan.io/*", - "https://conflux-chain.org/*", + "https://confluxnetwork.org/*", "https://portal-main.confluxrpc.com/*", "https://portal-test.confluxrpc.com/*" ], diff --git a/app/scripts/lib/buy-eth-url.js b/app/scripts/lib/buy-eth-url.js index 4e91d012bc4e..732fade62027 100644 --- a/app/scripts/lib/buy-eth-url.js +++ b/app/scripts/lib/buy-eth-url.js @@ -12,7 +12,7 @@ export default getBuyEthUrl * network does not match any of the specified cases, or if no network is given, returns undefined. * */ -function getBuyEthUrl ({ network, /* amount, */ address, service, type }) { +function getBuyEthUrl({ network, /* amount, */ address, service, type }) { // default service by network if not specified if (type && !service) { service = getDefaultServiceForType(type) @@ -26,13 +26,13 @@ function getBuyEthUrl ({ network, /* amount, */ address, service, type }) { case 'conflux-main-faucet': return `https://confluxscan.io/sponsor` case 'conflux-test-faucet': - return `http://test-faucet.conflux-chain.org:18088/dev/ask?address=${address}` + return `http://test-faucet.confluxnetwork.org:18088/dev/ask?address=${address}` default: throw new Error(`Unknown cryptocurrency exchange or faucet: "${service}"`) } } -function getDefaultServiceForNetwork (network) { +function getDefaultServiceForNetwork(network) { switch (network) { case '1029': return 'conflux-main-faucet' @@ -43,7 +43,7 @@ function getDefaultServiceForNetwork (network) { } } -function getDefaultServiceForType (type) { +function getDefaultServiceForType(type) { switch (type) { case 'mainnet': return 'conflux-main-faucet' diff --git a/test/unit/app/buy-eth-url.spec.js b/test/unit/app/buy-eth-url.spec.js index a3b2d299ceaf..81c7ccdf7274 100644 --- a/test/unit/app/buy-eth-url.spec.js +++ b/test/unit/app/buy-eth-url.spec.js @@ -33,7 +33,7 @@ describe('buy-eth-url', function() { const testnetUrl = getBuyEthUrl(testnet) assert.equal( testnetUrl, - 'http://test-faucet.conflux-chain.org:18088/dev/ask?address=0x1dcd5d886577d5081b0c52e242ef29e70be3e7bc' + 'http://test-faucet.confluxnetwork.org:18088/dev/ask?address=0x1dcd5d886577d5081b0c52e242ef29e70be3e7bc' ) })