Skip to content

v1.0.0

Compare
Choose a tag to compare
@polymesh-bot polymesh-bot released this 23 Jul 07:37
· 14 commits to master since this release
f64cc27

1.0.0 (2024-07-23)

Bug Fixes

  • 🐛 Add transformer for checkpoint value conversion (8a3455c)
  • 🐛 Allow for space after , when passing mnemonics and dids (39c66b0)
  • 🐛 Build assets in dockerfile (#46) (fec6f78)
  • 🐛 Build assets in dockerfile (#46) (#47) (651ac1c)
  • 🐛 bump dependencies (8414c85)
  • 🐛 bump nestjs dependencies (75857ce)
  • 🐛 bump SDK to v19.2.0-alpha.3 (7870b1e)
  • 🐛 bump sdk version for 5.4 asset fix (a269b29)
  • 🐛 Correct parsing of date attributes for paginated data (c4f3916)
  • 🐛 default for developer utils env variable (2308191)
  • 🐛 error when optional arg methods given no args (d02482a)
  • 🐛 finding default portfolio when id 0 is given (#197) (a8dfae5)
  • 🐛 Fix breaking test case (4f10c5d)
  • 🐛 Fix breaking test case (7dc7ad9)
  • 🐛 fix involved tx + venues endpoints (373bfb8)
  • 🐛 Fix lint errors (e0ef268)
  • 🐛 fix vault signing erroring on large payloads (#117) (a3ef90c)
  • 🐛 Ignore release commit from commitlint (3cb2216)
  • 🐛 include latest sdk bug fix (1dd25aa)
  • 🐛 InstructionIdModel path update (c4d530e)
  • 🐛 Modify authorizations accept/remove service logic (#116) (503c816)
  • 🐛 offline tx hash was not being recorded (effede2)
  • 🐛 pass constructor parameters to TQ constructor (beaf27e)
  • 🐛 proof generation would fail for some legs (4a3e2d8)
  • 🐛 Remove lint error (8ce4bbd)
  • 🐛 Remove use of PolymeshError in checkpoints specs (f550565)
  • 🐛 rename missing endpoint (6bee27d)
  • 🐛 resolve linting error and refactor params dto (22e4308)
  • 🐛 Run husky install as prepare script (#37) (930ea27)
  • 🐛 startup error by where main was not found (#138) (b180c60)
  • 🐛 Update commitlint ignore regex to suppport prereleases (87b2d9f)
  • 🐛 Update create checkpoint + affirm instruction params (de9e656)
  • 🐛 Update IsBigNumber decerator name (edc2b8c)
  • 🐛 Update max validation check in paginated-params.dto.ts (8005c0d)
  • 🐛 Update parse permission method usage (2ae50e9)
  • 🐛 Upgrade SDK to v20.1.0 (5e3e291)
  • 🐛 upgrade signing managers to latest versions (159dd24)
  • 🐛 use fixed SDK version (055452c)
  • 🐛 use proper format for array examples (3fa5fd0)
  • 🐛 use proper nested validation for inputs (1abb00a)
  • 🐛 use proper return type for settlement endpoints (d71eb32)
  • 🐛 use proper validation decorators for input DTOs (2be668d)
  • make funding round optional (2c7cfb6)
  • missing import (bdfb101)
  • use proper response (1131367)

chore

  • 🤖 Bump SDK version to 15.0.0-alpha.10 (facc00c)
  • 🤖 Rename variable in asset utils (98555dc)
  • 🤖 Upgrade sdk version to 12.0.0-alpha.4 (7986eed)

Code Refactoring

Features

  • 🎸 add /identities/:did/pending-instructions (GET) (5fb35ea)
  • 🎸 Add ApiPropertyOneOf decorator (e827b52)
  • 🎸 Add GET confidential-transactions/:id/created-at (400676e)
  • 🎸 add isFrozen to data returned by /assets/:ticker (15d8ccf)
  • 🎸 Add MiddlewareInterceptor (3cb2dcf)
  • 🎸 add options field for tx details, like signer (45bb420)
  • 🎸 add options field for tx details, like signer (e7a0de8)
  • 🎸 add options field for tx details, like signer (3977339)
  • 🎸 Add ability to create assets (#20) (646e73a)
  • 🎸 add address and nonce to tx model (aaf685b)
  • 🎸 Add an endpoint to get Asset's operation history (3d37201)
  • 🎸 Add API Key Swagger support (8c7b3e6)
  • 🎸 Add API to apply all incoming balances (55abd84)
  • 🎸 Add API to burn confidential asset (48c9751)
  • 🎸 Add API to check if confidential account is frozen (ca720d9)
  • 🎸 Add API to decrypt balance for a confidential account (8cf6c1b)
  • 🎸 Add API to get confidential venues for a DID (47b6b96)
  • 🎸 Add API to get creation event data for CA (fb9c7e0)
  • 🎸 Add API to get held confidential assets for an identity (bd02558)
  • 🎸 Add API to get involved confidential txs for a DID (f759712)
  • 🎸 Add API to get involved parties for Confidential tx (e9b2386)
  • 🎸 Add API to get pending affirmation count (dc759e9)
  • 🎸 Add API to set venue filtering for a confidential asset (460cc6d)
  • 🎸 Add API to update Asset Documents (#90) (bf8edea)
  • 🎸 Add API to verify sender proofs as auditor/receiver (4dd939c)
  • 🎸 Add APIs to freeze/unfreeze confidential asset/account (99e438c)
  • 🎸 Add APIs to get balances and incoming balances for CA (f988d23)
  • 🎸 Add Asset APIs (35a5350)
  • 🎸 Add Asset Metadata endpoints (#145) (1addc2f)
  • 🎸 add asset tranaction history end point (7741a33)
  • 🎸 add authentication mechanism (#121) (286b0a8)
  • 🎸 add basic amqp flow (6b6510d)
  • 🎸 Add Claim APIs (2027d7c)
  • 🎸 Add compliance management endpoints (#34) (7ced074)
  • 🎸 Add confidential transaction related APIs (fbdf8d9)
  • 🎸 Add DELETE endpoint to remove a checkpoint schedule (1cb1585)
  • 🎸 Add DELETE endpoint to remove a checkpoint schedule (6eed222)
  • 🎸 add dev testing endpoint to aid with integration tests (#158) (e99198b)
  • 🎸 Add endpoint for Asset ownership transfer (a1324f4)
  • 🎸 add endpoint for auditors to verify all legs in a tx (9b05e23)
  • 🎸 Add endpoint for controller transfer (441771f)
  • 🎸 Add endpoint for modifying checkpoint (3052c77)
  • 🎸 Add endpoint GET accounts/:account/balance (9db42cc)
  • 🎸 Add endpoint GET identities/:did/tickers (1b03b0e)
  • 🎸 Add endpoint POST accounts/transfer (4ca9dd0)
  • 🎸 Add endpoint to get held Assets by a DID (c42331d)
  • 🎸 Add endpoint to get Portfolio creation event details (1fd0b77)
  • 🎸 Add endpoint to get transaction details by hash (7d00be5)
  • 🎸 Add endpoint to get transaction history of an account (d5ff950)
  • 🎸 Add endpoint to get transactions associated with a CA (2a62f44)
  • 🎸 Add endpoint to pay dividends for a Distribution (008b8e5)
  • 🎸 Add endpoint to redeem an amount of Asset's tokens (ab815d0)
  • 🎸 Add endpoint to remove a corporate action (8cb5544)
  • 🎸 add endpoint to retrieve grouped instructions (af80fd5)
  • 🎸 Add endpoint to set CA defaults (ca8f5cd)
  • 🎸 Add endpoints to accept, reject an authorization request (4afeb81)
  • 🎸 add endpoints to freeze and unfreeze assets (9739d70)
  • 🎸 Add endpoints to modify/revoke account permissions (#131) (1f6c771)
  • 🎸 add Entity serialization capabilities (0989ef3)
  • 🎸 add event scope to notification payload (7759bc8)
  • 🎸 add fireblocks signer (#153) (164135e)
  • 🎸 Add GET /account/:account/permissions (c8c9fa3)
  • 🎸 Add get asset balance at a checkpoint (#65) (295b914)
  • 🎸 add identity namespace APIs (9997ce8)
  • 🎸 add instruction mediator endpoints (7f4e7e9)
  • 🎸 Add Issue Asset endpoint (#29) (bb0545f)
  • 🎸 Add link documents API (e19c6bf)
  • 🎸 Add mock CDD endpoint (e14398b)
  • 🎸 Add modify venue endpoint (6657788)
  • 🎸 Add new APIs related to confidential assets (6a8d735)
  • 🎸 add NFT module (388a572)
  • 🎸 add nonce and mortality tx options (c753309)
  • 🎸 add nonce to notifications (0461bd2)
  • 🎸 add not found response to getInstruction (850e625)
  • 🎸 add offline process mode (a921686)
  • 🎸 Add POST /assets/:ticker/checkpoints endpoint (469d90c)
  • 🎸 Add POST /assets/:ticker/checkpoints/schedules API (66b5f24)
  • 🎸 Add POST /venue (#35) (5eec3ef)
  • 🎸 Add POST API to configure dividend distribution (383a273)
  • 🎸 Add postgres datastore (#127) (a152a67)
  • 🎸 add sdk dual 5.4-6.0 version for smooth upgrade (55c9e4d)
  • 🎸 Add Settlement APIs (bf5258a)
  • 🎸 add ssh signing to the release bot configuration (e27bae3)
  • 🎸 Add subsidy related APIs (827c687)
  • 🎸 Add support for Middleware V2 (8cb8937)
  • 🎸 add swagger support (0197d72)
  • 🎸 add webhook support (c3b0275)
  • 🎸 addClaims, editClaims, revokeClaims (dcf5a94)
  • 🎸 addInvestorUniquenessClaims (c8f1b48)
  • 🎸 Adds new Asset Metadata endpoints (f278c6e)
  • 🎸 Adds new Asset Metadata endpoints (87bf11a)
  • 🎸 Allow for 0 initial balances in mock cdd endpoint (87f433a)
  • 🎸 allow for unliked auditor keys (48c6547)
  • 🎸 Allow optional memo field while creating instruction (3b003ea)
  • 🎸 allow registering CustomClaim (e6cfb27)
  • 🎸 allow webhookUrl param to be passed on write requests (#114) (3a5451c)
  • 🎸 asset compliance requirements - edit, add, delete, deleteAll (#126) (89a66c7)
  • 🎸 build multiplatform docker images (f5565c2)
  • 🎸 bump SDK to support Polymesh 5.4 (6f8b6e8)
  • 🎸 Bump SDK version to 13.0.0-alpha.28 (52c113a)
  • 🎸 Bump SDK version to v19 for chain 5.2.0 support (fa03bd5)
  • 🎸 Bump SDK version to v22 (64611da)
  • 🎸 check if compliance requirements are paused (#141) (9ded4b7)
  • 🎸 Claim Dividends API (51506f0)
  • 🎸 config artemis MQ explictly (365ff6c)
  • 🎸 Create Portfolio API (e59e145)
  • 🎸 Endpoint to get account subsidy (16cfddf)
  • 🎸 Export swagger json in release assets (0412270)
  • 🎸 expose block and transaction hashes on POST (24a6639)
  • 🎸 extend public rest api and remove duplicate code (18f0b44)
  • 🎸 freeze/unfreeze secondary accounts (9d19569)
  • 🎸 get all registered custom claims (#221) (574df13)
  • 🎸 get custodied portfolios for did (594b317)
  • 🎸 Get list of trusting Tokens for an Identity (#21) (31e41de)
  • 🎸 get portfolio details for did (#162) (f2e1b88)
  • 🎸 get portfolio tx history (984b4ea)
  • 🎸 get transaction history for Confidential Account (a55cd2e)
  • 🎸 get treasury account (#140) (049f941)
  • 🎸 getCddClaims (beca99f)
  • 🎸 getClaimScopes (e64b435)
  • 🎸 getInvestorUniquenessClaims (fee81e0)
  • 🎸 handle when artemis is unconfigured (13f9bd7)
  • 🎸 implement enterprise relayer prototype (0bda6d8)
  • 🎸 improve response time by using an SDK without tx queues (9baf0f1)
  • 🎸 init repo (6e1de94)
  • 🎸 introduce processMode option to replace many bools (bb1f889)
  • 🎸 introduce processMode option to replace many bools (87cbd15)
  • 🎸 introduce processMode option to replace many bools (599e020)
  • 🎸 Invite account API (2e2dbaa)
  • 🎸 log errors on amqp connection errors (d001db8)
  • 🎸 modify portfolio name (#163) (b722a3f)
  • 🎸 NCBD-339 Add trusted Claim Issuers API (#16) (ec64bc6)
  • 🎸 NCBD-344 Add Portfolio transfer endpoint (#25) (814cc60)
  • 🎸 NCBD-356 GET Asset Offerings (#24) (6a7e09d)
  • 🎸 NCBD-359 GET Asset Checkpoints (#26) (582c6c7)
  • 🎸 NCBD-360 Get Checkpoint Schedules (#27) (105578f)
  • 🎸 NCBD-362 API to check asset transfer (#31) (76b084e)
  • 🎸 NCBD-364 Get Asset holders at a Checkpoint (#68) (e88b896)
  • 🎸 NCBD-392 Corporate Action Defaults API (#30) (a63636e)
  • 🎸 NCBD-393 Get Dividend Distributions associated with an Asset (#32) (1cf39aa)
  • 🎸 NCBD-453 Get Checkpoint Schedule (37a00a3)
  • 🎸 NCBD-498 Delete Portfolio API (#53) (9f37c4d)
  • 🎸 NCBD-501 Reject Instruction API (#55) (f265920)
  • 🎸 NCBD-504 Create Checkpoint API (#56) (d66459c)
  • 🎸 NCBD-505 Create Checkpoint Schedule API (#57) (90808fb)
  • 🎸 NetworkModule - getLatestBlock, getNetworkProperties (#128) (1fbd7a4)
  • 🎸 Option to redeem tokens from a specific portfolio (50b6001)
  • 🎸 pause/unpause compliance requirements (#123) (d863d6d)
  • 🎸 Point dep to polymeshassociation and bump SDK (b3c117b)
  • 🎸 quit portfolio custody (dafcea9)
  • 🎸 Reclaim funds API (1168953)
  • 🎸 register and get customclaimtype (d595e48)
  • 🎸 register identity (3c86517)
  • 🎸 Remove option to add investor uniqueness for an asset (847e167)
  • 🎸 rename add secondary key endpoint (4d2ab7d)
  • 🎸 reschedule a failed instruction (3fb9c7d)
  • 🎸 Return NotFound when signer is not found (#74) (2f49615)
  • 🎸 return object instead of string from balance endpoints (c0af735)
  • 🎸 Return UnprocessableEntity for UnmetPrerequisite errors (4bd5fab)
  • 🎸 set autoaccept to false (11705aa)
  • 🎸 set portfolio custodian (53e3e7e)
  • 🎸 support NFTs in /assets endpoints where appropriate (eb9ac00)
  • 🎸 support transaction details in response (#144) (cf2e2e4)
  • 🎸 Ticker Reservation APIs (2879978)
  • 🎸 trusted claim issuers: set, add, remove (#135) (9c1c408)
  • 🎸 Update dev dependencies (b9a10a4)
  • 🎸 Update polymesh-rest-api submodule to v5.4.0-alpha.2 (0fae983)
  • 🎸 update repo refs to confidential repo (ae3860c)
  • 🎸 update repo refs to new name (0a43d18)
  • 🎸 Update return type for GET identities/:did/pending-authorizations (b148a36)
  • 🎸 update signing manager dependencies (7cdf76a)
  • 🎸 update to 6.0 (fcffc4b)
  • 🎸 update to sdk v22-beta.1 (786c557)
  • 🎸 update to sdk@23.0.0-alpha.23 (#214) (e42143e)
  • 🎸 upgrade auditor verify to work when key is receiver (91844c9)
  • 🎸 upgrade sdk to 22.alpha-2 (09d4011)
  • 🎸 Upgrade the SDK to be compatible with 4.1 chains (7bbec47)
  • 🎸 use heartbeat to maintain SDK connection (6d9ade9)
  • 🎸 use HMAC for notification payload verification (062fee2)
  • 🎸 use mempool nonce when creating a mock-cdd claim (#146) (647f79d)
  • 🎸 use proper random generation for handshake secrets (f222d1b)
  • 🎸 use RPC like endpoint for reserving a ticker (6348fd1)
  • 🎸 use sdk v22.alpha-3 (4bfacdb)
  • 🎸 Validate intialPolyx is positive in mock cdd endpoint (6e31dfa)
  • 🎸 withdraw affirmation for an instruction (9c6a36f)
  • add endpoint to get auth by id (c301ed5)
  • asset: add funding round to result (6a90f69)
  • getting details of a specific DividendDistribution (bd7b784)
  • rename write endpoints to be more RPC-like (fcdf492)
  • update tests (25d7a28)

BREAKING CHANGES

  • 🧨 GET /:confidentialAccount/incoming-balances/:confidentialAssetId and GET
    :confidentialAccount/balances/:confidentialAssetId return an object
    instead of a plain string

✅ Closes: DA-1248

  • 🧨 POST /confidential-transactions/:id/auditor-verify is now POST
    /confidential-transactions/:id/verify-amounts. Request payload has
    renamed param from auditorKey to publicKey

✅ Closes: DA-1143

  • 🧨 InstructionModel leg "amount" is now optional. It will not be present
    when the leg is for an NFT

✅ Closes: DA-913

  • 🧨 TransactionHistoryFilersDto removes order and field params, replaced
    by orderBy field. Affects GET /accounts/{account}/transactions

  • 🧨 Checkpoint Schedules specify dates explictly, reschedule instruction
    removed - use executeManually instead, InvestorUniquness claim types
    removed

  • 🧨 requireInvestorUniqueness is removed from CreateAssetDto

  • 🧨 ticker-reservations/:ticker now doesn't throw errors if ticker is not
    present or Asset is already created. To check ticker availability, we can now use details.status

  • chore: 🤖 Fix SDK version in yarn.lock

  • feat: 🎸 Add an endpoint to get Asset's operation history

  • feat: rename write endpoints to be more RPC-like

BREAKING CHANGES:

  • POST accounts/transfers -> POST accounts/transfer
  • POST assets/:ticker/set-documents -> POST assets/:ticker/documents/set
  • POST assets/create-asset -> POST assets/create
  • POST assets/:ticker/checkpoints/schedules -> POST assets/:ticker/checkpoints/schedules/create
  • DELETE assets/:ticker/checkpoints/schedules/:id ->
    POST assets/:ticker/checkpoints/schedules/:id/delete
  • PUT assets/:ticker/compliance-requirements ->
    POST assets/:ticker/compliance-requirements/set
  • PATCH assets/:ticker/corporate-actions/default-config ->
    POST assets/:ticker/corporate-actions/default-config/modify
  • POST assets/:ticker/corporate-actions/dividend-distributions ->
    POST assets/:ticker/corporate-actions/dividend-distributions/create
  • DELETE assets/:ticker/corporate-actions/:id ->
    POST assets/:ticker/corporate-actions/:id/delete
  • POST assets/:ticker/corporate-actions/:id/payments ->
    POST assets/:ticker/corporate-actions/dividend-distributions/:id/payments/pay
  • PUT assets/:ticker/corporate-actions/:id/documents ->
    POST assets/:ticker/corporate-actions/:id/documents/link
  • PUT assets/:ticker/corporate-actions/:id/checkpoint ->
    POST assets/:ticker/corporate-actions/dividend-distributions/:id/modify-checkpoint
  • POST identities/secondary-accounts -> POST identities/secondary-accounts/add
  • POST identities/:did/portfolios/asset-movements ->
    POST identities/:did/portfolios/move-assets
  • POST portfolios -> POST portfolios/create
  • DELETE identities/:did/portfolios/:id -> POST identities/:did/portfolios/:id/delete
  • POST venues/:id/instructions ->POST venues/:id/instructions/create
  • POST venues -> POST venues/create
  • PATCH venues/:id -> POST venues/:id/modify
  • fix: 🐛 rename missing endpoint

  • docs: ✏️ Update summary

  • feat: 🎸 rename add secondary key endpoint

  • 🧨 rename POST identities/secondary-accounts/add to POST identities/secondary-accounts/invite

  • chore: 🤖 Address review comments

  • feat: 🎸 Point dep to polymeshassociation and bump SDK

  • feat: 🎸 improve response time by using an SDK without tx queues

by using an SDK that uses batching the response times of some endpoints
is significantly improved. The most improved createAsset call can be up
to 4 times faster (1 minute -> 15 seconds)

  • style: 💄 remove developer comment

  • style: 💄 remove unused import

  • refactor: 💡 address PR comments

  • chore: 🤖 Update CODEOWNERS

  • chore: 🤖 Remove Jere's account from TODO comments

  • style: 💄 rename transactions to transaction in .spec files

  • 🧨 RedeemTokensDto now contains from attribute to specify the portfolio
    from which tokens must be redeemed

  • 🧨 ticker-reservations/:ticker now doesn't throw errors if ticker is not
    present or Asset is already created. To check ticker availability, we can now use details.status

  • chore: 🤖 Fix SDK version in yarn.lock

  • feat: 🎸 Add an endpoint to get Asset's operation history

  • feat: rename write endpoints to be more RPC-like

BREAKING CHANGES:

  • POST accounts/transfers -> POST accounts/transfer
  • POST assets/:ticker/set-documents -> POST assets/:ticker/documents/set
  • POST assets/create-asset -> POST assets/create
  • POST assets/:ticker/checkpoints/schedules -> POST assets/:ticker/checkpoints/schedules/create
  • DELETE assets/:ticker/checkpoints/schedules/:id ->
    POST assets/:ticker/checkpoints/schedules/:id/delete
  • PUT assets/:ticker/compliance-requirements ->
    POST assets/:ticker/compliance-requirements/set
  • PATCH assets/:ticker/corporate-actions/default-config ->
    POST assets/:ticker/corporate-actions/default-config/modify
  • POST assets/:ticker/corporate-actions/dividend-distributions ->
    POST assets/:ticker/corporate-actions/dividend-distributions/create
  • DELETE assets/:ticker/corporate-actions/:id ->
    POST assets/:ticker/corporate-actions/:id/delete
  • POST assets/:ticker/corporate-actions/:id/payments ->
    POST assets/:ticker/corporate-actions/dividend-distributions/:id/payments/pay
  • PUT assets/:ticker/corporate-actions/:id/documents ->
    POST assets/:ticker/corporate-actions/:id/documents/link
  • PUT assets/:ticker/corporate-actions/:id/checkpoint ->
    POST assets/:ticker/corporate-actions/dividend-distributions/:id/modify-checkpoint
  • POST identities/secondary-accounts -> POST identities/secondary-accounts/add
  • POST identities/:did/portfolios/asset-movements ->
    POST identities/:did/portfolios/move-assets
  • POST portfolios -> POST portfolios/create
  • DELETE identities/:did/portfolios/:id -> POST identities/:did/portfolios/:id/delete
  • POST venues/:id/instructions ->POST venues/:id/instructions/create
  • POST venues -> POST venues/create
  • PATCH venues/:id -> POST venues/:id/modify
  • fix: 🐛 rename missing endpoint

  • docs: ✏️ Update summary

  • feat: 🎸 rename add secondary key endpoint

  • 🧨 rename POST identities/secondary-accounts/add to POST identities/secondary-accounts/invite

  • chore: 🤖 Address review comments

Co-authored-by: Jeremías Díaz monitz87@gmail.com
Co-authored-by: Victor Vicente VictorVicente@users.noreply.github.com

  • 🧨 rename POST identities/secondary-accounts/add to POST identities/secondary-accounts/invite

  • 🧨 ticker-reservations/:ticker now doesn't throw errors if ticker is not
    present or Asset is already created. To check ticker availability, we can now use details.status

  • 🧨 GET identities/:did/issued-authorizations has been removed
    🧨 Return type of GET identities/:did/pending-authorizations is now changed from
    Promise<ResultSet<AuthorizationRequestModel>> to Promise<PendingAuthorizationsModel>

  • 🧨 Rename POST /authorizations/:id/reject to POST /authorizations/:id/remove

  • 🧨 rename POST /assets to POST /assets/create-asset

  • 🧨 change POST /ticker-reservations/:ticker to POST /ticker-reservations/reserve-ticker

  • 🧨 RELAYER_DIDS and RELAYER_MNEMONICS were renamed

  • refactor: 💡 Cleanup syntax

  • docs: ✏️ Fix casing

  • chore: 🤖 Update hashicorp vault signing manager package

  • feat: 🎸 log key-address pair when loaded into signing manager

  • fix: 🐛 Resolve hidden merge conflict

Account merge was expecting the moved relayer service which is now
signer service

  • refactor: 💡 Address PR comments

  • feat: 🎸 Allow Vault signer to add keys without a restart

  • feat: 🎸 Lookup key on every call with Vault Signer

Perform key lookup with every call to handle deleted keys correctly

  • test: 💍 Refactor signer service test

  • refactor: 💡 Make LocalSigner and VaultSigner classes

Use different signer classes depending on the type of signer to avoid
type switches in the implementation of methods

  • test: 💍 Use mockSignerProvider to provide abstract service

  • test: 💍 Refactor to avoid unnessesary overrides

  • refactor: 💡 Address PR comments

Ranmes SignerService to SigningService to be more aligned with library
naming conventions

  • refactor: 💡 Move setSigningManager call to base class

  • chore: 🤖 Bump prettier version for override keyword support

Adding override to methods caused prettier to error. 2.3.1 adds support
for it

  • fix: 🐛 Fix build after merge with old relayer

  • feat: 🎸 Add validators for vault env variables

  • refactor: 💡 Ensure either vault or local signer is configured

Co-authored-by: Victor Vicente VictorVicente@users.noreply.github.com

  • 🧨 Endpoint POST assets/reservations/tickers is now moved to POST
    ticker-reservations/:ticker
  • 🧨 totalSupply parameter in CreateAssetDto is renamed to
    initialSupply
  • 🧨 POST identities/secondary-keys is now changed to
    identities/secondary-accounts
    🧨 AddSecondaryKeyParamsDto has been renamed to AddSecondaryAccountParamsDto
    (parameter secondaryKey renamed to secondaryAccount)
    🧨 Parameter identifiers is renamed to securityIdentifiers
    in AssetDetailsModel and CreateAssetDto
  • 🧨 Endpoint - identities/:did/trusting-tokens ->
    identities/:did/trusting-assets
  • 🧨 Replace all number instances with BigNumber. Renamed all key ->
    Account. Renamed dtos to support changes
  • 🧨 * Return type for GET assets/:ticker/compliance-requirements changed
    from ResultSet<RequirementModel> to ComplianceRequirementsModel
  • The API path assets/:ticker/corporate-actions/defaults is now
    changed to assets/:ticker/corporate-actions/default-config for both
    GET and POST requests. Return type for GET has been changed to CorporateActionDefaultConfigModel
  • 🧨 createAsset details renamed to description. Also requireInvestorUniquness` is a new required param

✅ Closes: NCBD-520

  • 🧨 PIA is no longer being returned as part of the token details

  • fix: 🐛 use proper return type for settlement endpoints

  • fix: 🐛 pass constructor parameters to TQ constructor

  • 🧨 PIA is no longer being returned as part of the token details