From cb64522fa9756a07817f5dbe159e4d7b2478280d Mon Sep 17 00:00:00 2001 From: jessop Date: Thu, 4 Jun 2020 13:43:36 -0400 Subject: [PATCH] install_new domain parameter --- package.json | 2 +- ui/redux/actions/app.js | 29 +++++++++++++++++++---------- yarn.lock | 4 ++-- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 21a83ab61..5fe74936a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/ui/redux/actions/app.js b/ui/redux/actions/app.js index 152f5a955..c7fb849f6 100644 --- a/ui/redux/actions/app.js +++ b/ui/redux/actions/app.js @@ -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 }); diff --git a/yarn.lock b/yarn.lock index ab59c58b4..25b77ce62 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"