Files
TheGame/packages/utils/package.json
Pacien Boisson d094e1c4ba Quest create handlers (#340)
* create quest handler

* Updating action schema and removing backend-only insert permissions

* Better handle auth bearer token

* Basic tests for creating quests

* Check if player has > 100 pSEED to allow creating a quest

* move quests actions into its own router

* create quest completion

* updateCompletion handler

* update types

* Improving handler input types

* Improve types and logic

* Removing types file and using autogenerated ones

* Reject other submissions when accepting a unique quest completion

* Fix linting errors

* Fix CreateQuestCompletionInput maybe

* error messages

* Puttin pSEED contractnaddress in config file

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2021-02-22 12:58:31 +04:00

25 lines
497 B
JSON

{
"name": "@metafam/utils",
"version": "1.0.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"private": true,
"scripts": {
"start": "yarn dev",
"build": "tsc -b",
"dev": "yarn build --watch",
"typecheck": "yarn build",
"precommit": "yarn lint-staged"
},
"dependencies": {
"bignumber.js": "^9.0.1",
"ethers": "5.0.17",
"js-base64": "3.5.2",
"uuid": "8.3.2"
},
"devDependencies": {
"@types/uuid": "8.3.0"
}
}