Merge pull request #4316 from lbryio/feat-installNewDomain
install_new domain parameter
This commit is contained in:
commit
25e6d5501b
3 changed files with 22 additions and 13 deletions
|
@ -136,7 +136,7 @@
|
|||
"json-loader": "^0.5.4",
|
||||
"lbry-format": "https://github.com/lbryio/lbry-format.git",
|
||||
"lbry-redux": "lbryio/lbry-redux#a9f1f7b61d6d3abe836a8f72eee392f66786a26f",
|
||||
"lbryinc": "lbryio/lbryinc#c21bc3075ca3f8bb130893107c11215eb7d5f4d5",
|
||||
"lbryinc": "lbryio/lbryinc#9c4f620ec04193d8206eea577b1e090435749366",
|
||||
"lint-staged": "^7.0.2",
|
||||
"localforage": "^1.7.1",
|
||||
"lodash-es": "^4.17.14",
|
||||
|
|
|
@ -6,6 +6,7 @@ import { ipcRenderer, remote } from 'electron';
|
|||
import path from 'path';
|
||||
import * as ACTIONS from 'constants/action_types';
|
||||
import * as MODALS from 'constants/modal_types';
|
||||
import { DOMAIN } from 'config';
|
||||
import {
|
||||
Lbry,
|
||||
doBalanceSubscribe,
|
||||
|
@ -333,17 +334,25 @@ export function doDaemonReady() {
|
|||
const shareUsageData = IS_WEB || window.localStorage.getItem(SHARE_INTERNAL) === 'true';
|
||||
|
||||
dispatch(
|
||||
doAuthenticate(appVersion, undefined, undefined, shareUsageData, status => {
|
||||
const trendingAlgorithm =
|
||||
status &&
|
||||
status.wallet &&
|
||||
status.wallet.connected_features &&
|
||||
status.wallet.connected_features.trending_algorithm;
|
||||
doAuthenticate(
|
||||
appVersion,
|
||||
undefined,
|
||||
undefined,
|
||||
shareUsageData,
|
||||
status => {
|
||||
const trendingAlgorithm =
|
||||
status &&
|
||||
status.wallet &&
|
||||
status.wallet.connected_features &&
|
||||
status.wallet.connected_features.trending_algorithm;
|
||||
|
||||
if (trendingAlgorithm) {
|
||||
analytics.trendingAlgorithmEvent(trendingAlgorithm);
|
||||
}
|
||||
})
|
||||
if (trendingAlgorithm) {
|
||||
analytics.trendingAlgorithmEvent(trendingAlgorithm);
|
||||
}
|
||||
},
|
||||
null,
|
||||
DOMAIN
|
||||
)
|
||||
);
|
||||
dispatch({ type: ACTIONS.DAEMON_READY });
|
||||
|
||||
|
|
|
@ -6215,9 +6215,9 @@ lbry-redux@lbryio/lbry-redux#a9f1f7b61d6d3abe836a8f72eee392f66786a26f:
|
|||
reselect "^3.0.0"
|
||||
uuid "^3.3.2"
|
||||
|
||||
lbryinc@lbryio/lbryinc#c21bc3075ca3f8bb130893107c11215eb7d5f4d5:
|
||||
lbryinc@lbryio/lbryinc#9c4f620ec04193d8206eea577b1e090435749366:
|
||||
version "0.0.1"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/c21bc3075ca3f8bb130893107c11215eb7d5f4d5"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/9c4f620ec04193d8206eea577b1e090435749366"
|
||||
dependencies:
|
||||
reselect "^3.0.0"
|
||||
|
||||
|
|
Loading…
Reference in a new issue