watcher-ts/packages/cache
prathamesh0 198d3e65db
Add payments config and charge according to configured rates (#395)
* Track amount paid on payment channels and charge as per query cost

* Add payments manager config

* Fix received payment checks

* Separate out payment not received and amount insufficient errors

* Serve a query for free if its rate is not configured

* Load open payment channels from the stored state

* Take list of free queries from config

* Take mutation rates from config

* Rename query rates config fields

* Take cache settings and request timeout from config

* Upgrade ts-nitro packages

* Upgrade package versions
2023-07-27 15:52:36 +05:30
..
src Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
types/common Add APGL license and copyright notices (#212) 2021-08-12 15:28:13 +05:30
.eslintignore Implement typescript strict mode and ESLint in ipld-eth-client and cache packages (#37) 2021-06-04 12:04:12 +05:30
.eslintrc.json Upgrade dependency versions to remove vulnerabilities from dependabot (#343) 2023-03-28 13:17:53 +05:30
.npmignore Changes to use packages in uniswap-watcher (#196) 2022-10-11 13:41:26 +05:30
index.ts Add APGL license and copyright notices (#212) 2021-08-12 15:28:13 +05:30
package.json Add payments config and charge according to configured rates (#395) 2023-07-27 15:52:36 +05:30
tsconfig.json Enable source maps for transpiled files (#242) 2021-09-07 16:01:15 +05:30