Ben Congdon
c5efd5b7d0
Market Resolution API ( #600 )
...
* Add market resolution API
* Add additional free market resolution validation
* Address review comments
* Refactor resolution validation code somewhat
Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-06-30 15:11:45 -07:00
Marshall Polaris
4f9e303daa
Clean up definition of v2 cloud function URLs ( #562 )
2022-06-23 16:46:49 -07:00
Marshall Polaris
08632a3a07
Correctly proxy GET and HEAD requests instead of dying ( #542 )
2022-06-18 02:09:44 -07:00
Marshall Polaris
d9eb9798e5
Point client at new v2 versions of createmarket
and placebet
( #433 )
...
* Kill 'warmup spam' for createContract and placeBet
* Point v2 function calls at v2 endpoints
* Add real prod placebet and createmarket endpoints
2022-06-06 12:46:06 -07:00
Marshall Polaris
069b88d6fd
Fix API calls to hit emulated Firebase ( #424 )
2022-06-04 15:19:46 -07:00
Marshall Polaris
420ea9e90e
Add more linting to web
package ( #343 )
...
* Import React a lot
* Fix misc. linting concerns
* Turn on many recommended lints for `web` package
2022-05-26 14:41:24 -07:00
Marshall Polaris
3987baa11b
Add Vercel routes for public write API ( #280 )
...
* Improve typing of client CORS helper
* Take node-fetch as a dependency
* Add explicit Firebase region into config
* Add new Vercel proxy API routes that talk to backend
* Call Vercel proxy routes from `api-call` module
* Tweak import to try to get Vercel happy
* Tidy up a tiny bit
2022-05-23 14:16:56 -07:00
Marshall Polaris
731e5d5b7c
Apply permissive CORS headers to API ( #115 )
...
* Take cors package as dependency
* Apply permissive CORS headers to all API routes
2022-04-30 13:30:49 -07:00