watcher-ts/packages/solidity-mapper/package.json
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

41 lines
1.2 KiB
JSON

{
"name": "@cerc-io/solidity-mapper",
"version": "0.2.50",
"main": "dist/index.js",
"license": "AGPL-3.0",
"devDependencies": {
"@cerc-io/ipld-eth-client": "^0.2.50",
"@ethersproject/abi": "^5.3.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@types/chai": "^4.2.18",
"@types/lodash": "^4.14.168",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"chai": "^4.3.4",
"eslint": "^8.35.0",
"eslint-config-semistandard": "^15.0.1",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"ethereum-waffle": "^3.1.1",
"ethers": "^5.4.4",
"hardhat": "^2.3.0",
"lodash": "^4.17.21",
"typescript": "^5.0.2"
},
"scripts": {
"lint": "eslint .",
"test:init": "cp .env.example .env",
"test": "hardhat test",
"build": "tsc",
"test:geth-rpc": "hardhat --network private test",
"test:ipld-gql": "IPLD_GQL=true hardhat --network private test"
},
"dependencies": {
"dotenv": "^10.0.0"
}
}