File tree Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 3939 ]
4040 },
4141 "dependencies" : {
42- "@bitgo/public-types" : " 5.31 .0" ,
42+ "@bitgo/public-types" : " 5.34 .0" ,
4343 "@bitgo/sdk-core" : " ^36.15.0" ,
4444 "@bitgo/statics" : " ^58.7.0" ,
4545 "@bitgo/utxo-lib" : " ^11.13.0" ,
Original file line number Diff line number Diff line change 138138 "superagent" : " ^9.0.1"
139139 },
140140 "devDependencies" : {
141- "@bitgo/public-types" : " 5.31 .0" ,
141+ "@bitgo/public-types" : " 5.34 .0" ,
142142 "@bitgo/sdk-opensslbytes" : " ^2.1.0" ,
143143 "@bitgo/sdk-test" : " ^9.1.7" ,
144144 "@openpgp/web-stream-tools" : " 0.0.14" ,
Original file line number Diff line number Diff line change 5858 "superagent" : " ^9.0.1"
5959 },
6060 "devDependencies" : {
61- "@bitgo/public-types" : " 5.31 .0" ,
61+ "@bitgo/public-types" : " 5.34 .0" ,
6262 "@bitgo/sdk-lib-mpc" : " ^10.8.1" ,
6363 "@bitgo/sdk-test" : " ^9.1.7" ,
6464 "@types/argparse" : " ^1.0.36" ,
Original file line number Diff line number Diff line change 4040 ]
4141 },
4242 "dependencies" : {
43- "@bitgo/public-types" : " 5.31 .0" ,
43+ "@bitgo/public-types" : " 5.34 .0" ,
4444 "@bitgo/sdk-core" : " ^36.15.0" ,
4545 "@bitgo/sdk-lib-mpc" : " ^10.8.1" ,
4646 "@bitgo/statics" : " ^58.7.0" ,
Original file line number Diff line number Diff line change 4040 ]
4141 },
4242 "dependencies" : {
43- "@bitgo/public-types" : " 5.31 .0" ,
43+ "@bitgo/public-types" : " 5.34 .0" ,
4444 "@bitgo/sdk-lib-mpc" : " ^10.8.1" ,
4545 "@bitgo/secp256k1" : " ^1.6.0" ,
4646 "@bitgo/sjcl" : " ^1.0.1" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import {
3131} from '../utils' ;
3232import { SerializedNtilde } from '../../account-lib/mpc/tss/ecdsa/types' ;
3333import { IAddressBook } from '../address-book' ;
34- import { WalletUser } from '@bitgo/public-types' ;
34+ import { WalletUser , AddressQueryResult } from '@bitgo/public-types' ;
3535import { SubmitTransactionResponse } from '../inscriptionBuilder' ;
3636
3737export interface MaximumSpendableOptions {
@@ -939,7 +939,7 @@ export interface IWallet {
939939 sweep ( params ?: SweepOptions ) : Promise < any > ;
940940 freeze ( params ?: FreezeOptions ) : Promise < any > ;
941941 transferComment ( params ?: TransferCommentOptions ) : Promise < any > ;
942- addresses ( params ?: AddressesOptions ) : Promise < any > ;
942+ addresses ( params ?: AddressesOptions ) : Promise < AddressQueryResult > ;
943943 getAddress ( params ?: GetAddressOptions ) : Promise < any > ;
944944 createAddress ( params ?: CreateAddressOptions ) : Promise < any > ;
945945 updateAddress ( params ?: UpdateAddressOptions ) : Promise < any > ;
Original file line number Diff line number Diff line change 11/**
22 * @prettier
33 */
4- import { TxSendBody } from '@bitgo/public-types' ;
4+ import { TxSendBody , type AddressQueryResult } from '@bitgo/public-types' ;
55import { CoinFamily } from '@bitgo/statics' ;
66import assert from 'assert' ;
77import BigNumber from 'bignumber.js' ;
@@ -1077,7 +1077,7 @@ export class Wallet implements IWallet {
10771077 * @param params
10781078 * @returns {* }
10791079 */
1080- async addresses ( params : AddressesOptions = { } ) : Promise < any > {
1080+ async addresses ( params : AddressesOptions = { } ) : Promise < AddressQueryResult > {
10811081 common . validateParams ( params , [ ] , [ ] ) ;
10821082
10831083 const query : AddressesOptions = { } ;
Original file line number Diff line number Diff line change 944944 "@scure/base" "1.1.5"
945945 micro-eth-signer "0.7.2"
946946
947- "@bitgo/public-types@5.31 .0":
948- version "5.31 .0"
949- resolved "https://registry.npmjs.org/@bitgo/public-types/-/public-types-5.31 .0.tgz#1af37545bdaaf6bb65de6a9c47cb38817d16472c "
950- integrity sha512-4uiFZHcwVPwfDKLG/lNPy8zIfp8esVxAjXLWrx5LUHZBKguphWWgmx6RzP2LwFr6H4GZ7pxDO3xr7AF0RRL3Ug ==
947+ "@bitgo/public-types@5.34 .0":
948+ version "5.34 .0"
949+ resolved "https://registry.npmjs.org/@bitgo/public-types/-/public-types-5.34 .0.tgz#ffd7b8ac438ca70901ce904583c9a504dc5c5b4b "
950+ integrity sha512-HnCf9Mpoy3BoIDsaZvRQACBYbmLyt3tyWFIuR10T1Q3/LZnUeJYuYLIdprVp8vRAztqKwr9NRn3/V4Gg3gLccw ==
951951 dependencies:
952952 fp-ts "^2.0.0"
953953 io-ts "npm:@bitgo-forks/
[email protected] "
You can’t perform that action at this time.
0 commit comments