vega-frontend-monorepo/libs/network-stats
Sam Keen f133200c7f
fix(2380): fixed block duration field to account for the new api format (#2423)
* fix(2380): fixed block duration field to account for the new api format

* fix(2380): removed unneeded import

* fix(2380): a little more hardened against duration being undefined and different environments returning different data

* fix(2380): improved comment
2022-12-16 12:25:20 +00:00
..
src fix(2380): fixed block duration field to account for the new api format (#2423) 2022-12-16 12:25:20 +00:00
.babelrc frontend-monorepo-127 Generalize stats page to work for all environments 2022-03-24 12:04:01 +00:00
.eslintrc.json Fix/1083: Update type generator (#1219) 2022-09-06 10:03:10 +01:00
jest.config.ts feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
package.json frontend-monorepo-127 Generalize stats page to work for all environments 2022-03-24 12:04:01 +00:00
project.json chore: add build-spec targets and execute on affected apps and libs on CI (#1745) 2022-10-25 09:41:16 +02:00
README.md fix: cleanup more env things (#1383) 2022-09-18 11:15:05 +00:00
tsconfig.json feat: toast component (1677) (#1998) 2022-11-15 15:26:13 +01:00
tsconfig.lib.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
tsconfig.spec.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00

network-stats

This library was generated with Nx.

Prerequisites

Two environment variables need to be present for any app consuming this library.

NX_VEGA_ENV is the name of the environment.

For examples, see Block Explorer's .env files here

Running unit tests

Run nx test network-stats to execute the unit tests via Jest.