v0.4.13
- Document versioning scheme
- Rework WASM API to return
TSResult<T> = { Success: T } | { Error: JsErrorData }without triggering exceptions - Rework
sumandcurrencyinto a coherentSumtype that's ready for multi-currency and exchange rates (breaking DB change) - Refactor the transport layer to distinguish between protocol and the rest and to use
borshfor serialization on our side - Add strong types for
SchnorrSignature,Sha256Hash,BlockId,Filetypes,Minttypes and usePublicKeyandSecretKeyin protocol types (breaking DB change) - Use bytes without encoding for bill data (breaking DB change)
- Fix plaintext-chain rendering - the nesting of
datanow works properly and oneJSON.parsecall is enough (breaking API change) - Add
IdentityTypetoIdentityCreateBlockDataandIdentityUpdateBlockData - Remove
BackupServiceandBackupStoresince it's unused - Remove file-based
FileUpload- we use surreal/nostr-based everywhere - Refactoring & Restructuring, removing cross-crate exports (breaking for Library dependents)
- Properly separate
protocolparts fromapplicationinbcr-ebill-core(breaking for Library dependents, breaking DB change) - Remove email from anon identities and contacts
- Change document max file size to 10 MB and max files on bill to 20
- Add request deadlines to BillHistoryBlock
- Remove
identity_proofAPI and adapt and move to new email confirmation API - Add dev mode flag
disable_mandatory_email_confirmations, to make it easier for testing - Identity Confirmation via Email
- Add persistence
- Adapt
create_identityanddeanonymizeto require a confirmed email for identified users - Add endpoints to
confirm,verifyan email address and toget_email_confirmations - Adapt
IdentityProofBlock to include the email confirmation signed by the mint - Split up
update_identityandupdate_emailfor identity and create identity proof block on email update - Change flow for company creation to first call
create_company_keysto get a key pair and node id, then confirm email of creator, then create company- Add
emailto signatory and use a data structure for signatories (breaking API and DB change)
- Add
- Adapt signatory handling for companies
- API for inviting signatories
- API to accept/reject company invites
- Restructured company persistence -
companytable is now a cache, calculated from the chain (similar to bills) - Added possibility to locally hide past invites
- Add notification when being invited to a company
- Add
signer_identity_proofto bill block data and verify it
- Add Contact Handshake
Version: v0.4.13