No description
Find a file
infiinte-persistence 0b4e41ef90
doFetchViewCount: support multiple claimIds
## Issue
Show content view counts on channel pages (https://github.com/lbryio/lbry-desktop/issues/3587)

## Changes
Updated the action and reducer to handle CSV input. This wouldn't affect existing clients as it is backward compatible with a single claimId.

In the unlikely event that requested count !== results count, we just fail silently for now.
2021-09-09 13:41:56 +08:00
dist doFetchViewCount: support multiple claimIds 2021-09-09 13:41:56 +08:00
src doFetchViewCount: support multiple claimIds 2021-09-09 13:41:56 +08:00
.babelrc Add rollup es build, major cleanup 2019-04-03 16:34:07 -05:00
.eslintrc.json reward/new => reward/claim 2020-01-03 14:20:14 -05:00
.flowconfig actually treat lbry-redux as a peerDependency 2019-03-13 01:06:43 -04:00
.gitignore provides file list_filtered api 2019-07-09 18:11:20 -04:00
.lintstagedrc.json [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
.prettierrc.json [WIP] lbryio internal API calls and rewards component (#1) 2018-07-23 14:12:18 +01:00
LICENSE Update LICENSE 2020-02-03 04:38:56 +07:00
package.json fix error when listBlocked response is null and remove unneccesary lbry-redux non-peer dependency 2020-01-03 14:06:35 -05:00
README.md Update README.md 2021-06-14 11:12:17 -04:00
rollup.config.js add User type and allow lbryinc types to be used by apps 2019-09-16 16:12:43 -04:00
webpack.config.js add User type and allow lbryinc types to be used by apps 2019-09-16 16:12:43 -04:00
yarn.lock fix error when listBlocked response is null and remove unneccesary lbry-redux non-peer dependency 2020-01-03 14:06:35 -05:00

lbryinc

lbryinc is a module which contains common api.lbry.io and rewards code shared between lbry-desktop and lbry-android.

Installation

Add lbryinc as a dependency to your package.json file. "lbryinc": "lbryio/lbryinc"

Local development

If you intend to make changes to the module and test immediately, you can use npm link to add the package to your node_modules folder. This will create a symlink to the folder where lbry-redux was cloned to.

cd lbryinc
yarn link
cd /<path>/<to>/<project> (ex: cd ~/lbry-desktop)
yarn link lbryinc

Build

Run $ yarn build. If the symlink does not work, just build the file and move the bundle.js file in to the node_modules/ folder.

Automatic rebuild

To have the code automatically rebuild upon changes you can run $ yarn dev which will use rollup to watch the files and build upon detection of updated source code.

License

MIT © LBRY