Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mailbox): adding user api (#386)
Changelog ======== * Major release includes public Key based inboxing!!! * Improved API authentication, authorization, scoping methods. * Migrates from default identity Typescript types to more robust interfaces with encrypt and decrypt methods. * Improved API response types, docs, organization. Users ========= Entirely new API client that consolidates User APIs and includes newly released inboxing methods. Use these new APIs to send encrypted direct messages between your app users based only on ed2559 public key. * `listThreads` and `getThreads` moved to Users API class * `setupMailbox`, `sendMessage`, `listInboxMessages`, `listSentboxMessages`, `deleteInboxMessage`, etc. * subscription methods for inbox and sentbox * Read more here: Buckets =========== Updated API client class methods with improved response types. * Replaces all `AsObject` response types with named response types. * Adds `copyAuth` method for sharing authentication setup between Buckets and Users API client classes * Updates `listPath` method to walk tree. * Adds `listPathFlat` method to return a flat list of files & directories in a Bucket. * Read more here: Threads ================== * Updated `listen` response format includes action type and id. * Deprecates `listThreads` and `getThread` from the Threads Client class, now available in `Users` and to be removed from `Client` at a future date. * Removes `Database` class from `@textile/hub` as per textileio/js-threads#414 Crypto Library ============== Provides a new set of crypto functions available through `@textile/hub`. Projects can now migrate from Libp2pcrypto identities to TweetNacl with backward compatibility. * Better `encrypt` and `decrypt` support based on PrivateKey and PublicKey identities. * Read more here: Docs ==== * Improved and added many more examples * Added new Users class & crypto methods.
- Loading branch information