Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Unified API Anchorage examples (#106)
* Migration, data is persisted per-connection (#88) * schema migration to scope all data per connection * data migration script * fix provider type per connection * unique keys order * fixed failing tests * added connectionId to mock data in transfer and sync tests * handle known destination connections to connectionId * abstract away single tie to connection change from known destinations * filter on correct row in wallet repository * updated migration script to duplicate provider resources * updates existing transfers * Pass through known destination (#90) * Add CSR public key format for FB connection (#92) * Add CSR public key format for FB connection * Add optional CSR format in the public key DTO * Add describe block * Pin node-forge version * Remove wallet connections list (#95) * Scope operations by connection (#96) * Scope operations by connection * Scope sync operations by connection * Fix supertest wrapper to work with query method * Use signed request util in the wallet E2E tests * Fix flaky tests * Add back connection list endpoint * Fix address E2E tests * Bump SDK version * Add network and asset endpoints in the SDK * Adding BitGo connection * ScopedSync by RawAccounts (#84) * duplicated sync, poc working * fixed rebase conflicts and format * cleanup rebase merge, correctly insert connectionId on scope sync * fireblocks scoped-sync updates * use vault label * added updates to anchorage's scoped sync service * add tests on anchorage scoped sync * cleaned up anchorage scope sync tests * map fireblocks assetWallets to network specific accounts * fixed not found test expectation * test fireblocks scoped sync * fixed rebase conflicts * changed externalId standard * Adding Raw Accounts endpoint & Assed/Network bootstrap * Adding includeAddress query param so fireblocks does not always fetch addresses * Cache assets & refactor network cache (#98) * Cache asset Refactor network to use cache manager * Remove draft config * Pin cache-manager version * Lower case cache keys * Fix findAll method * Endpoints to fetch scoped-syncs (#101) * scoped sync persists stringified raw accounts * add status fetching endpoints for scoped syncs * use prismaservice methods to json stringify and parse * Minor fixes before release connection-specific (#102) * Add back the nested wallet and account endpoints in the connection * Minor fix on scope sync logs Connection ID is mandatory in the Vault Client * connect a new connection triggers full sync on anchorage (#103) * connect a new connection triggers full sync on anchorage * fix test excpetation for empty raw accounts on anchorage * Add listProviderRawAccounts method in the Vault SDK * removed references to 'sync' and dropped table * removed syncService from connection test * deleted sync e2e test * re-generated sdk without scoped sync methods * Revert "re-generated sdk without scoped sync methods" This reverts commit 66dccdfa2bd909d2f6c015b153e87c3728004dd2. * Revert "removed references to 'sync' and dropped table" This reverts commit 9c2cd022b95439ce9bc4a45a44d7c67da0cdc535. * Revert "deleted sync e2e test" This reverts commit 2f4a252650fb871662cbe92ba149aa9e2dc5d0c6. * Revert "removed syncService from connection test" This reverts commit 450ece6a34ec5ef04bf170c176f56de4e71b97c9. * removed sync functionality except list * removed deprecated imports --------- Co-authored-by: Ptroger <[email protected]> Co-authored-by: Pierre Troger <[email protected]> * Feature/nar 2059 make scoped sync quicker (#104) * fireblocks query uniquely scoped accounts, handle duplicated rawAccounts * optimized queries per wallet * anchorage scoped syncs swallow not found errors * batch requests to control rate limiting * removed connection-sync event handler * manage error handling in promiseAllSettled * use httpstatus * expect precisely one account * Asset fallback (#105) * Asset fallback for Anchorage and Fireblocks * Add TransferAssetService * Remove findTransferAsset from AssetService * Remove fallback type * Refactor TransferAssetService * Fix integration test types * Fix E2E tests * Fix provider * Update Unified API examples * Remove pagination * Update README * Update quickstart README * Quickstart, Select Accounts section * Adding `.` before quickstart readme so it orders first in gist * Update SDK version * Ignore config.*.yaml files in git --------- Co-authored-by: Ptroger <[email protected]> Co-authored-by: Matt Schoch <[email protected]> Co-authored-by: Pierre Troger <[email protected]>
- Loading branch information