Closed ghost closed 4 years ago
Work in progress while I get tests passing.
Current hypothesis on the tests is that CI needs a newer version of dfx
.
Ready for review since the master
build is also failing.
Merging after getting verbal approval from Enzo this afternoon.
Oh wait. Not building with the latest dfx
. Hold up.
Travis hasn’t worked ever as far as I know on this repo.
There was actually a change in Prim
that I hadn't accounted for. All good now.
Overview
The addition of pulling caller ID from the request and leaning on UserLib for identity management opens the door to simplifying much of our canister code. This PR attempts to streamline the
profile
API down to the actual business logic, removing much of the message construction and parsing mechanisms.Also, to prepare for hiding addresses (which I don't feel should be user-facing) I made the search by first and last name.
Changes
{ caller }
syntax for determining request caller IDsprofile
canisterprofile
into submodules for directory and type declarationsmain.js
to reduce duplicationprofile
canister, removeindex
canister