Skip to content

Commit

Permalink
updated vault client in sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptroger committed Oct 11, 2024
1 parent b9dd569 commit 36dce85
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/vault/src/vault/http/rest/dto/account.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PublicAccount } from 'apps/vault/src/shared/type/domain.type'
import { createZodDto } from 'nestjs-zod'
import { PublicAccount } from '../../../../shared/type/domain.type'

export class AccountDto extends createZodDto(PublicAccount) {}
24 changes: 18 additions & 6 deletions packages/armory-sdk/src/lib/http/client/vault/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,22 @@ export interface AccountDto {
'id': string;
/**
*
* @type {string}
* @type {any}
* @memberof AccountDto
*/
'address': string;
'publicKey': any;
/**
*
* @type {any}
* @memberof AccountDto
*/
'publicKey': any;
'address': any;
/**
*
* @type {WalletsDtoWalletsInnerOrigin}
* @memberof AccountDto
*/
'origin': WalletsDtoWalletsInnerOrigin;
/**
*
* @type {string}
Expand Down Expand Up @@ -1272,16 +1278,22 @@ export interface WalletDtoAccount {
'id': string;
/**
*
* @type {string}
* @type {any}
* @memberof WalletDtoAccount
*/
'address': string;
'publicKey': any;
/**
*
* @type {any}
* @memberof WalletDtoAccount
*/
'publicKey': any;
'address': any;
/**
*
* @type {WalletsDtoWalletsInnerOrigin}
* @memberof WalletDtoAccount
*/
'origin': WalletsDtoWalletsInnerOrigin;
/**
*
* @type {string}
Expand Down

0 comments on commit 36dce85

Please sign in to comment.