@bitgo-beta/sdk-core 8.2.1-beta.99 → 8.2.1-beta.990

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (536) hide show
  1. package/CHANGELOG.md +2797 -0
  2. package/dist/src/account-lib/baseCoin/baseTransaction.d.ts +0 -1
  3. package/dist/src/account-lib/baseCoin/baseTransaction.d.ts.map +1 -1
  4. package/dist/src/account-lib/baseCoin/baseTransactionBuilder.d.ts +3 -3
  5. package/dist/src/account-lib/baseCoin/baseTransactionBuilder.d.ts.map +1 -1
  6. package/dist/src/account-lib/baseCoin/baseTransactionBuilder.js +4 -3
  7. package/dist/src/account-lib/baseCoin/ed25519KeyPair.d.ts +1 -0
  8. package/dist/src/account-lib/baseCoin/ed25519KeyPair.d.ts.map +1 -1
  9. package/dist/src/account-lib/baseCoin/ed25519KeyPair.js +41 -29
  10. package/dist/src/account-lib/baseCoin/enum.d.ts +17 -3
  11. package/dist/src/account-lib/baseCoin/enum.d.ts.map +1 -1
  12. package/dist/src/account-lib/baseCoin/enum.js +32 -7
  13. package/dist/src/account-lib/baseCoin/errors.d.ts +3 -0
  14. package/dist/src/account-lib/baseCoin/errors.d.ts.map +1 -1
  15. package/dist/src/account-lib/baseCoin/errors.js +8 -2
  16. package/dist/src/account-lib/baseCoin/iface.d.ts +19 -35
  17. package/dist/src/account-lib/baseCoin/iface.d.ts.map +1 -1
  18. package/dist/src/account-lib/baseCoin/iface.js +26 -18
  19. package/dist/src/account-lib/baseCoin/index.d.ts +1 -1
  20. package/dist/src/account-lib/baseCoin/index.d.ts.map +1 -1
  21. package/dist/src/account-lib/baseCoin/index.js +8 -5
  22. package/dist/src/account-lib/baseCoin/messages/baseMessage.d.ts +81 -0
  23. package/dist/src/account-lib/baseCoin/messages/baseMessage.d.ts.map +1 -0
  24. package/dist/src/account-lib/baseCoin/messages/baseMessage.js +136 -0
  25. package/dist/src/account-lib/baseCoin/messages/baseMessageBuilder.d.ts +67 -0
  26. package/dist/src/account-lib/baseCoin/messages/baseMessageBuilder.d.ts.map +1 -0
  27. package/dist/src/account-lib/baseCoin/messages/baseMessageBuilder.js +144 -0
  28. package/dist/src/account-lib/baseCoin/messages/baseMessageBuilderFactory.d.ts +33 -0
  29. package/dist/src/account-lib/baseCoin/messages/baseMessageBuilderFactory.d.ts.map +1 -0
  30. package/dist/src/account-lib/baseCoin/messages/baseMessageBuilderFactory.js +44 -0
  31. package/dist/src/account-lib/baseCoin/messages/iface.d.ts +157 -0
  32. package/dist/src/account-lib/baseCoin/messages/iface.d.ts.map +1 -0
  33. package/dist/src/account-lib/baseCoin/messages/iface.js +3 -0
  34. package/dist/src/account-lib/baseCoin/messages/index.d.ts +6 -0
  35. package/dist/src/account-lib/baseCoin/messages/index.d.ts.map +1 -0
  36. package/dist/src/account-lib/baseCoin/messages/index.js +22 -0
  37. package/dist/src/account-lib/baseCoin/messages/simple/index.d.ts +3 -0
  38. package/dist/src/account-lib/baseCoin/messages/simple/index.d.ts.map +1 -0
  39. package/dist/src/account-lib/baseCoin/messages/simple/index.js +19 -0
  40. package/dist/src/account-lib/baseCoin/messages/simple/simpleMessage.d.ts +13 -0
  41. package/dist/src/account-lib/baseCoin/messages/simple/simpleMessage.d.ts.map +1 -0
  42. package/dist/src/account-lib/baseCoin/messages/simple/simpleMessage.js +31 -0
  43. package/dist/src/account-lib/baseCoin/messages/simple/simpleMessageBuilder.d.ts +21 -0
  44. package/dist/src/account-lib/baseCoin/messages/simple/simpleMessageBuilder.d.ts.map +1 -0
  45. package/dist/src/account-lib/baseCoin/messages/simple/simpleMessageBuilder.js +28 -0
  46. package/dist/src/account-lib/baseCoin/secp256k1ExtendedKeyPair.d.ts +1 -2
  47. package/dist/src/account-lib/baseCoin/secp256k1ExtendedKeyPair.d.ts.map +1 -1
  48. package/dist/src/account-lib/baseCoin/secp256k1ExtendedKeyPair.js +38 -26
  49. package/dist/src/account-lib/index.js +23 -9
  50. package/dist/src/account-lib/mpc/curves/ed25519.d.ts +4 -18
  51. package/dist/src/account-lib/mpc/curves/ed25519.d.ts.map +1 -1
  52. package/dist/src/account-lib/mpc/curves/ed25519.js +6 -60
  53. package/dist/src/account-lib/mpc/index.d.ts +4 -4
  54. package/dist/src/account-lib/mpc/index.d.ts.map +1 -1
  55. package/dist/src/account-lib/mpc/index.js +11 -7
  56. package/dist/src/account-lib/mpc/shamir.d.ts +5 -37
  57. package/dist/src/account-lib/mpc/shamir.d.ts.map +1 -1
  58. package/dist/src/account-lib/mpc/shamir.js +6 -130
  59. package/dist/src/account-lib/mpc/tss/ecdsa/ecdsa.d.ts +38 -9
  60. package/dist/src/account-lib/mpc/tss/ecdsa/ecdsa.d.ts.map +1 -1
  61. package/dist/src/account-lib/mpc/tss/ecdsa/ecdsa.js +497 -349
  62. package/dist/src/account-lib/mpc/tss/ecdsa/index.js +23 -9
  63. package/dist/src/account-lib/mpc/tss/ecdsa/rangeproof.d.ts +2 -2
  64. package/dist/src/account-lib/mpc/tss/ecdsa/rangeproof.d.ts.map +1 -1
  65. package/dist/src/account-lib/mpc/tss/ecdsa/rangeproof.js +3 -3
  66. package/dist/src/account-lib/mpc/tss/ecdsa/types.d.ts +73 -52
  67. package/dist/src/account-lib/mpc/tss/ecdsa/types.d.ts.map +1 -1
  68. package/dist/src/account-lib/mpc/tss/ecdsa/types.js +1 -1
  69. package/dist/src/account-lib/mpc/tss/eddsa/eddsa.d.ts +1 -2
  70. package/dist/src/account-lib/mpc/tss/eddsa/eddsa.d.ts.map +1 -1
  71. package/dist/src/account-lib/mpc/tss/eddsa/eddsa.js +66 -69
  72. package/dist/src/account-lib/mpc/tss/eddsa/index.js +23 -9
  73. package/dist/src/account-lib/mpc/tss/eddsa/types.d.ts +1 -1
  74. package/dist/src/account-lib/mpc/tss/eddsa/types.d.ts.map +1 -1
  75. package/dist/src/account-lib/mpc/tss/eddsa/types.js +1 -1
  76. package/dist/src/account-lib/mpc/tss/index.js +23 -9
  77. package/dist/src/account-lib/mpc/util.d.ts +7 -1
  78. package/dist/src/account-lib/mpc/util.d.ts.map +1 -1
  79. package/dist/src/account-lib/mpc/util.js +19 -1
  80. package/dist/src/account-lib/staking/index.js +6 -2
  81. package/dist/src/account-lib/staking/utils.js +3 -3
  82. package/dist/src/account-lib/util/crypto.d.ts +8 -2
  83. package/dist/src/account-lib/util/crypto.d.ts.map +1 -1
  84. package/dist/src/account-lib/util/crypto.js +69 -38
  85. package/dist/src/account-lib/util/ed25519KeyDeriver.d.ts +2 -1
  86. package/dist/src/account-lib/util/ed25519KeyDeriver.d.ts.map +1 -1
  87. package/dist/src/account-lib/util/ed25519KeyDeriver.js +5 -3
  88. package/dist/src/api/bip32path.js +2 -3
  89. package/dist/src/api/index.js +6 -2
  90. package/dist/src/api/types.d.ts +8 -0
  91. package/dist/src/api/types.d.ts.map +1 -1
  92. package/dist/src/api/types.js +1 -1
  93. package/dist/src/bitgo/address-book/address-book.d.ts +61 -0
  94. package/dist/src/bitgo/address-book/address-book.d.ts.map +1 -0
  95. package/dist/src/bitgo/address-book/address-book.js +139 -0
  96. package/dist/src/bitgo/address-book/index.d.ts +3 -0
  97. package/dist/src/bitgo/address-book/index.d.ts.map +1 -0
  98. package/dist/src/bitgo/address-book/index.js +19 -0
  99. package/dist/src/bitgo/address-book/types.d.ts +170 -0
  100. package/dist/src/bitgo/address-book/types.d.ts.map +1 -0
  101. package/dist/src/bitgo/address-book/types.js +3 -0
  102. package/dist/src/bitgo/baseCoin/baseCoin.d.ts +90 -10
  103. package/dist/src/bitgo/baseCoin/baseCoin.d.ts.map +1 -1
  104. package/dist/src/bitgo/baseCoin/baseCoin.js +142 -16
  105. package/dist/src/bitgo/baseCoin/iBaseCoin.d.ts +113 -19
  106. package/dist/src/bitgo/baseCoin/iBaseCoin.d.ts.map +1 -1
  107. package/dist/src/bitgo/baseCoin/iBaseCoin.js +7 -3
  108. package/dist/src/bitgo/baseCoin/index.js +6 -2
  109. package/dist/src/bitgo/bip32util.d.ts +3 -16
  110. package/dist/src/bitgo/bip32util.d.ts.map +1 -1
  111. package/dist/src/bitgo/bip32util.js +4 -56
  112. package/dist/src/bitgo/bitcoin.d.ts +0 -1
  113. package/dist/src/bitgo/bitcoin.d.ts.map +1 -1
  114. package/dist/src/bitgo/bitcoin.js +26 -13
  115. package/dist/src/bitgo/bitgoBase.d.ts +6 -2
  116. package/dist/src/bitgo/bitgoBase.d.ts.map +1 -1
  117. package/dist/src/bitgo/bitgoBase.js +1 -1
  118. package/dist/src/bitgo/coinFactory.d.ts +17 -3
  119. package/dist/src/bitgo/coinFactory.d.ts.map +1 -1
  120. package/dist/src/bitgo/coinFactory.js +26 -3
  121. package/dist/src/bitgo/config.d.ts +94 -20
  122. package/dist/src/bitgo/config.d.ts.map +1 -1
  123. package/dist/src/bitgo/config.js +26 -15
  124. package/dist/src/bitgo/ecdh.d.ts +0 -1
  125. package/dist/src/bitgo/ecdh.d.ts.map +1 -1
  126. package/dist/src/bitgo/ecdh.js +26 -13
  127. package/dist/src/bitgo/enterprise/enterprise.d.ts +16 -14
  128. package/dist/src/bitgo/enterprise/enterprise.d.ts.map +1 -1
  129. package/dist/src/bitgo/enterprise/enterprise.js +64 -31
  130. package/dist/src/bitgo/enterprise/enterprises.d.ts +6 -0
  131. package/dist/src/bitgo/enterprise/enterprises.d.ts.map +1 -1
  132. package/dist/src/bitgo/enterprise/enterprises.js +48 -9
  133. package/dist/src/bitgo/enterprise/iEnterprise.d.ts +6 -7
  134. package/dist/src/bitgo/enterprise/iEnterprise.d.ts.map +1 -1
  135. package/dist/src/bitgo/enterprise/iEnterprise.js +1 -1
  136. package/dist/src/bitgo/enterprise/iEnterprises.d.ts +2 -0
  137. package/dist/src/bitgo/enterprise/iEnterprises.d.ts.map +1 -1
  138. package/dist/src/bitgo/enterprise/iEnterprises.js +1 -1
  139. package/dist/src/bitgo/enterprise/index.js +6 -2
  140. package/dist/src/bitgo/environments.d.ts +60 -5
  141. package/dist/src/bitgo/environments.d.ts.map +1 -1
  142. package/dist/src/bitgo/environments.js +96 -32
  143. package/dist/src/bitgo/errors.d.ts +6 -0
  144. package/dist/src/bitgo/errors.d.ts.map +1 -1
  145. package/dist/src/bitgo/errors.js +14 -2
  146. package/dist/src/bitgo/index.d.ts +1 -1
  147. package/dist/src/bitgo/index.d.ts.map +1 -1
  148. package/dist/src/bitgo/index.js +26 -11
  149. package/dist/src/bitgo/inscriptionBuilder/iInscriptionBuilder.d.ts +3 -3
  150. package/dist/src/bitgo/inscriptionBuilder/iInscriptionBuilder.d.ts.map +1 -1
  151. package/dist/src/bitgo/inscriptionBuilder/iInscriptionBuilder.js +1 -1
  152. package/dist/src/bitgo/inscriptionBuilder/index.js +6 -2
  153. package/dist/src/bitgo/internal/index.js +6 -2
  154. package/dist/src/bitgo/internal/internal.js +5 -6
  155. package/dist/src/bitgo/internal/keycard.js +6 -7
  156. package/dist/src/bitgo/keychain/decryptKeychain.d.ts +13 -0
  157. package/dist/src/bitgo/keychain/decryptKeychain.d.ts.map +1 -0
  158. package/dist/src/bitgo/keychain/decryptKeychain.js +35 -0
  159. package/dist/src/bitgo/keychain/iKeychains.d.ts +63 -7
  160. package/dist/src/bitgo/keychain/iKeychains.d.ts.map +1 -1
  161. package/dist/src/bitgo/keychain/iKeychains.js +2 -2
  162. package/dist/src/bitgo/keychain/index.d.ts +1 -0
  163. package/dist/src/bitgo/keychain/index.d.ts.map +1 -1
  164. package/dist/src/bitgo/keychain/index.js +7 -2
  165. package/dist/src/bitgo/keychain/keychains.d.ts +13 -3
  166. package/dist/src/bitgo/keychain/keychains.d.ts.map +1 -1
  167. package/dist/src/bitgo/keychain/keychains.js +128 -37
  168. package/dist/src/bitgo/keychain/ovcJsonCodec.d.ts +3 -3
  169. package/dist/src/bitgo/keychain/ovcJsonCodec.d.ts.map +1 -1
  170. package/dist/src/bitgo/keychain/ovcJsonCodec.js +23 -9
  171. package/dist/src/bitgo/legacyBitcoin.d.ts +0 -1
  172. package/dist/src/bitgo/legacyBitcoin.d.ts.map +1 -1
  173. package/dist/src/bitgo/legacyBitcoin.js +27 -13
  174. package/dist/src/bitgo/lightning/lightningWalletUtil.d.ts +7 -0
  175. package/dist/src/bitgo/lightning/lightningWalletUtil.d.ts.map +1 -0
  176. package/dist/src/bitgo/lightning/lightningWalletUtil.js +25 -0
  177. package/dist/src/bitgo/market/iMarkets.d.ts +2 -2
  178. package/dist/src/bitgo/market/iMarkets.d.ts.map +1 -1
  179. package/dist/src/bitgo/market/index.js +6 -2
  180. package/dist/src/bitgo/market/markets.js +23 -9
  181. package/dist/src/bitgo/pendingApproval/iPendingApproval.d.ts +1 -0
  182. package/dist/src/bitgo/pendingApproval/iPendingApproval.d.ts.map +1 -1
  183. package/dist/src/bitgo/pendingApproval/iPendingApproval.js +4 -4
  184. package/dist/src/bitgo/pendingApproval/index.js +6 -2
  185. package/dist/src/bitgo/pendingApproval/pendingApproval.d.ts +20 -8
  186. package/dist/src/bitgo/pendingApproval/pendingApproval.d.ts.map +1 -1
  187. package/dist/src/bitgo/pendingApproval/pendingApproval.js +221 -107
  188. package/dist/src/bitgo/pendingApproval/pendingApprovals.js +23 -9
  189. package/dist/src/bitgo/recovery/index.js +6 -2
  190. package/dist/src/bitgo/recovery/initiate.d.ts +8 -2
  191. package/dist/src/bitgo/recovery/initiate.d.ts.map +1 -1
  192. package/dist/src/bitgo/recovery/initiate.js +7 -8
  193. package/dist/src/bitgo/staking/goStakingInterfaces.d.ts +129 -0
  194. package/dist/src/bitgo/staking/goStakingInterfaces.d.ts.map +1 -0
  195. package/dist/src/bitgo/staking/goStakingInterfaces.js +3 -0
  196. package/dist/src/bitgo/staking/goStakingWallet.d.ts +62 -0
  197. package/dist/src/bitgo/staking/goStakingWallet.d.ts.map +1 -0
  198. package/dist/src/bitgo/staking/goStakingWallet.js +143 -0
  199. package/dist/src/bitgo/staking/iGoStakingWallet.d.ts +17 -0
  200. package/dist/src/bitgo/staking/iGoStakingWallet.d.ts.map +1 -0
  201. package/dist/src/bitgo/staking/iGoStakingWallet.js +3 -0
  202. package/dist/src/bitgo/staking/iStakingWallet.d.ts +120 -4
  203. package/dist/src/bitgo/staking/iStakingWallet.d.ts.map +1 -1
  204. package/dist/src/bitgo/staking/iStakingWallet.js +2 -2
  205. package/dist/src/bitgo/staking/index.d.ts +3 -0
  206. package/dist/src/bitgo/staking/index.d.ts.map +1 -1
  207. package/dist/src/bitgo/staking/index.js +9 -2
  208. package/dist/src/bitgo/staking/stakingWallet.d.ts +13 -2
  209. package/dist/src/bitgo/staking/stakingWallet.d.ts.map +1 -1
  210. package/dist/src/bitgo/staking/stakingWallet.js +45 -4
  211. package/dist/src/bitgo/trading/iTradingAccount.d.ts +2 -32
  212. package/dist/src/bitgo/trading/iTradingAccount.d.ts.map +1 -1
  213. package/dist/src/bitgo/trading/iTradingAccount.js +1 -1
  214. package/dist/src/bitgo/trading/index.d.ts +1 -15
  215. package/dist/src/bitgo/trading/index.d.ts.map +1 -1
  216. package/dist/src/bitgo/trading/index.js +7 -17
  217. package/dist/src/bitgo/trading/network/decrypt-aes-gcm.d.ts +8 -0
  218. package/dist/src/bitgo/trading/network/decrypt-aes-gcm.d.ts.map +1 -0
  219. package/dist/src/bitgo/trading/network/decrypt-aes-gcm.js +31 -0
  220. package/dist/src/bitgo/trading/network/decrypt-rsa.d.ts +8 -0
  221. package/dist/src/bitgo/trading/network/decrypt-rsa.d.ts.map +1 -0
  222. package/dist/src/bitgo/trading/network/decrypt-rsa.js +23 -0
  223. package/dist/src/bitgo/trading/network/decrypt.d.ts +14 -0
  224. package/dist/src/bitgo/trading/network/decrypt.d.ts.map +1 -0
  225. package/dist/src/bitgo/trading/network/decrypt.js +23 -0
  226. package/dist/src/bitgo/trading/network/encrypt-aes-gcm.d.ts +8 -0
  227. package/dist/src/bitgo/trading/network/encrypt-aes-gcm.d.ts.map +1 -0
  228. package/dist/src/bitgo/trading/network/encrypt-aes-gcm.js +25 -0
  229. package/dist/src/bitgo/trading/network/encrypt-rsa-browser.d.ts +8 -0
  230. package/dist/src/bitgo/trading/network/encrypt-rsa-browser.d.ts.map +1 -0
  231. package/dist/src/bitgo/trading/network/encrypt-rsa-browser.js +65 -0
  232. package/dist/src/bitgo/trading/network/encrypt-rsa.d.ts +8 -0
  233. package/dist/src/bitgo/trading/network/encrypt-rsa.d.ts.map +1 -0
  234. package/dist/src/bitgo/trading/network/encrypt-rsa.js +23 -0
  235. package/dist/src/bitgo/trading/network/encrypt.d.ts +37 -0
  236. package/dist/src/bitgo/trading/network/encrypt.d.ts.map +1 -0
  237. package/dist/src/bitgo/trading/network/encrypt.js +58 -0
  238. package/dist/src/bitgo/trading/network/index.d.ts +5 -0
  239. package/dist/src/bitgo/trading/network/index.d.ts.map +1 -0
  240. package/dist/src/bitgo/trading/network/index.js +21 -0
  241. package/dist/src/bitgo/trading/network/network.d.ts +36 -0
  242. package/dist/src/bitgo/trading/network/network.d.ts.map +1 -0
  243. package/dist/src/bitgo/trading/network/network.js +101 -0
  244. package/dist/src/bitgo/trading/network/types.d.ts +277 -0
  245. package/dist/src/bitgo/trading/network/types.d.ts.map +1 -0
  246. package/dist/src/bitgo/trading/network/types.js +3 -0
  247. package/dist/src/bitgo/trading/network/utils.d.ts +20 -0
  248. package/dist/src/bitgo/trading/network/utils.d.ts.map +1 -0
  249. package/dist/src/bitgo/trading/network/utils.js +54 -0
  250. package/dist/src/bitgo/trading/tradingAccount.d.ts +11 -35
  251. package/dist/src/bitgo/trading/tradingAccount.d.ts.map +1 -1
  252. package/dist/src/bitgo/trading/tradingAccount.js +9 -96
  253. package/dist/src/bitgo/tss/bitgoPubKeys.d.ts +27 -0
  254. package/dist/src/bitgo/tss/bitgoPubKeys.d.ts.map +1 -0
  255. package/dist/src/bitgo/tss/bitgoPubKeys.js +61 -0
  256. package/dist/src/bitgo/tss/common.d.ts +37 -5
  257. package/dist/src/bitgo/tss/common.d.ts.map +1 -1
  258. package/dist/src/bitgo/tss/common.js +103 -17
  259. package/dist/src/bitgo/tss/ecdsa/ecdsa.d.ts +6 -4
  260. package/dist/src/bitgo/tss/ecdsa/ecdsa.d.ts.map +1 -1
  261. package/dist/src/bitgo/tss/ecdsa/ecdsa.js +78 -66
  262. package/dist/src/bitgo/tss/ecdsa/ecdsaMPCv2.d.ts +15 -0
  263. package/dist/src/bitgo/tss/ecdsa/ecdsaMPCv2.d.ts.map +1 -0
  264. package/dist/src/bitgo/tss/ecdsa/ecdsaMPCv2.js +162 -0
  265. package/dist/src/bitgo/tss/ecdsa/index.d.ts +1 -0
  266. package/dist/src/bitgo/tss/ecdsa/index.d.ts.map +1 -1
  267. package/dist/src/bitgo/tss/ecdsa/index.js +25 -10
  268. package/dist/src/bitgo/tss/ecdsa/types.d.ts +27 -27
  269. package/dist/src/bitgo/tss/ecdsa/types.d.ts.map +1 -1
  270. package/dist/src/bitgo/tss/ecdsa/types.js +3 -3
  271. package/dist/src/bitgo/tss/eddsa/eddsa.d.ts +11 -8
  272. package/dist/src/bitgo/tss/eddsa/eddsa.d.ts.map +1 -1
  273. package/dist/src/bitgo/tss/eddsa/eddsa.js +38 -41
  274. package/dist/src/bitgo/tss/eddsa/index.js +23 -9
  275. package/dist/src/bitgo/tss/eddsa/types.d.ts +4 -4
  276. package/dist/src/bitgo/tss/eddsa/types.d.ts.map +1 -1
  277. package/dist/src/bitgo/tss/index.d.ts +3 -2
  278. package/dist/src/bitgo/tss/index.d.ts.map +1 -1
  279. package/dist/src/bitgo/tss/index.js +26 -10
  280. package/dist/src/bitgo/tss/types.d.ts +3 -3
  281. package/dist/src/bitgo/tss/types.d.ts.map +1 -1
  282. package/dist/src/bitgo/tss/types.js +2 -2
  283. package/dist/src/bitgo/types.d.ts +3 -3
  284. package/dist/src/bitgo/types.d.ts.map +1 -1
  285. package/dist/src/bitgo/utils/abstractUtxoCoinUtil.d.ts +11 -0
  286. package/dist/src/bitgo/utils/abstractUtxoCoinUtil.d.ts.map +1 -1
  287. package/dist/src/bitgo/utils/abstractUtxoCoinUtil.js +66 -10
  288. package/dist/src/bitgo/utils/codecProps.js +24 -11
  289. package/dist/src/bitgo/utils/decode.d.ts.map +1 -1
  290. package/dist/src/bitgo/utils/decode.js +30 -16
  291. package/dist/src/bitgo/utils/index.d.ts +3 -2
  292. package/dist/src/bitgo/utils/index.d.ts.map +1 -1
  293. package/dist/src/bitgo/utils/index.js +26 -11
  294. package/dist/src/bitgo/utils/messageTypes.d.ts +37 -0
  295. package/dist/src/bitgo/utils/messageTypes.d.ts.map +1 -0
  296. package/dist/src/bitgo/utils/messageTypes.js +14 -0
  297. package/dist/src/bitgo/utils/mpcUtils.d.ts +2 -3
  298. package/dist/src/bitgo/utils/mpcUtils.d.ts.map +1 -1
  299. package/dist/src/bitgo/utils/mpcUtils.js +34 -12
  300. package/dist/src/bitgo/utils/notEmpty.d.ts +2 -0
  301. package/dist/src/bitgo/utils/notEmpty.d.ts.map +1 -0
  302. package/dist/src/bitgo/utils/notEmpty.js +7 -0
  303. package/dist/src/bitgo/utils/opengpgUtils.d.ts +11 -9
  304. package/dist/src/bitgo/utils/opengpgUtils.d.ts.map +1 -1
  305. package/dist/src/bitgo/utils/opengpgUtils.js +74 -73
  306. package/dist/src/bitgo/utils/postWithCodec.d.ts.map +1 -1
  307. package/dist/src/bitgo/utils/postWithCodec.js +4 -38
  308. package/dist/src/bitgo/utils/promise-utils.d.ts +1 -1
  309. package/dist/src/bitgo/utils/promise-utils.d.ts.map +1 -1
  310. package/dist/src/bitgo/utils/promise-utils.js +2 -3
  311. package/dist/src/bitgo/utils/triple.d.ts +1 -1
  312. package/dist/src/bitgo/utils/triple.d.ts.map +1 -1
  313. package/dist/src/bitgo/utils/triple.js +2 -3
  314. package/dist/src/bitgo/utils/tss/baseTSSUtils.d.ts +52 -14
  315. package/dist/src/bitgo/utils/tss/baseTSSUtils.d.ts.map +1 -1
  316. package/dist/src/bitgo/utils/tss/baseTSSUtils.js +186 -44
  317. package/dist/src/bitgo/utils/tss/baseTypes.d.ts +205 -34
  318. package/dist/src/bitgo/utils/tss/baseTypes.d.ts.map +1 -1
  319. package/dist/src/bitgo/utils/tss/baseTypes.js +22 -20
  320. package/dist/src/bitgo/utils/tss/ecdsa/SMC/utils.d.ts +23 -0
  321. package/dist/src/bitgo/utils/tss/ecdsa/SMC/utils.d.ts.map +1 -0
  322. package/dist/src/bitgo/utils/tss/ecdsa/SMC/utils.js +157 -0
  323. package/dist/src/bitgo/utils/tss/ecdsa/base.d.ts +28 -0
  324. package/dist/src/bitgo/utils/tss/ecdsa/base.d.ts.map +1 -0
  325. package/dist/src/bitgo/utils/tss/ecdsa/base.js +53 -0
  326. package/dist/src/bitgo/utils/tss/ecdsa/ecdsa.d.ts +20 -52
  327. package/dist/src/bitgo/utils/tss/ecdsa/ecdsa.d.ts.map +1 -1
  328. package/dist/src/bitgo/utils/tss/ecdsa/ecdsa.js +145 -280
  329. package/dist/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.d.ts +199 -0
  330. package/dist/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.d.ts.map +1 -0
  331. package/dist/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.js +950 -0
  332. package/dist/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2KeyGenSender.d.ts +8 -0
  333. package/dist/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2KeyGenSender.d.ts.map +1 -0
  334. package/dist/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2KeyGenSender.js +13 -0
  335. package/dist/src/bitgo/utils/tss/ecdsa/index.d.ts +4 -0
  336. package/dist/src/bitgo/utils/tss/ecdsa/index.d.ts.map +1 -1
  337. package/dist/src/bitgo/utils/tss/ecdsa/index.js +10 -2
  338. package/dist/src/bitgo/utils/tss/ecdsa/types.d.ts +15 -9
  339. package/dist/src/bitgo/utils/tss/ecdsa/types.d.ts.map +1 -1
  340. package/dist/src/bitgo/utils/tss/ecdsa/types.js +1 -1
  341. package/dist/src/bitgo/utils/tss/ecdsa/typesMPCv2.d.ts +107 -0
  342. package/dist/src/bitgo/utils/tss/ecdsa/typesMPCv2.d.ts.map +1 -0
  343. package/dist/src/bitgo/utils/tss/ecdsa/typesMPCv2.js +55 -0
  344. package/dist/src/bitgo/utils/tss/eddsa/eddsa.d.ts +5 -3
  345. package/dist/src/bitgo/utils/tss/eddsa/eddsa.d.ts.map +1 -1
  346. package/dist/src/bitgo/utils/tss/eddsa/eddsa.js +75 -58
  347. package/dist/src/bitgo/utils/tss/eddsa/index.js +23 -9
  348. package/dist/src/bitgo/utils/tss/eddsa/types.d.ts +7 -7
  349. package/dist/src/bitgo/utils/tss/eddsa/types.d.ts.map +1 -1
  350. package/dist/src/bitgo/utils/tss/index.js +23 -9
  351. package/dist/src/bitgo/utils/txRequest.d.ts +10 -0
  352. package/dist/src/bitgo/utils/txRequest.d.ts.map +1 -0
  353. package/dist/src/bitgo/utils/txRequest.js +47 -0
  354. package/dist/src/bitgo/utils/util.js +24 -10
  355. package/dist/src/bitgo/utils/wallet.d.ts +7 -0
  356. package/dist/src/bitgo/utils/wallet.d.ts.map +1 -0
  357. package/dist/src/bitgo/utils/wallet.js +48 -0
  358. package/dist/src/bitgo/wallet/BuildParams.d.ts +52 -8
  359. package/dist/src/bitgo/wallet/BuildParams.d.ts.map +1 -1
  360. package/dist/src/bitgo/wallet/BuildParams.js +65 -19
  361. package/dist/src/bitgo/wallet/iWallet.d.ts +204 -19
  362. package/dist/src/bitgo/wallet/iWallet.d.ts.map +1 -1
  363. package/dist/src/bitgo/wallet/iWallet.js +1 -1
  364. package/dist/src/bitgo/wallet/iWallets.d.ts +91 -16
  365. package/dist/src/bitgo/wallet/iWallets.d.ts.map +1 -1
  366. package/dist/src/bitgo/wallet/iWallets.js +43 -3
  367. package/dist/src/bitgo/wallet/index.js +6 -2
  368. package/dist/src/bitgo/wallet/wallet.d.ts +198 -25
  369. package/dist/src/bitgo/wallet/wallet.d.ts.map +1 -1
  370. package/dist/src/bitgo/wallet/wallet.js +983 -309
  371. package/dist/src/bitgo/wallet/wallets.d.ts +96 -9
  372. package/dist/src/bitgo/wallet/wallets.d.ts.map +1 -1
  373. package/dist/src/bitgo/wallet/wallets.js +816 -193
  374. package/dist/src/bitgo/webhook/index.js +6 -2
  375. package/dist/src/bitgo/webhook/webhooks.js +23 -9
  376. package/dist/src/coins/fiataed.d.ts +32 -0
  377. package/dist/src/coins/fiataed.d.ts.map +1 -0
  378. package/dist/src/coins/fiataed.js +61 -0
  379. package/dist/src/coins/fiateur.d.ts +3 -2
  380. package/dist/src/coins/fiateur.d.ts.map +1 -1
  381. package/dist/src/coins/fiateur.js +5 -1
  382. package/dist/src/coins/fiatgbp.d.ts +3 -2
  383. package/dist/src/coins/fiatgbp.d.ts.map +1 -1
  384. package/dist/src/coins/fiatgbp.js +5 -1
  385. package/dist/src/coins/fiatsgd.d.ts +32 -0
  386. package/dist/src/coins/fiatsgd.d.ts.map +1 -0
  387. package/dist/src/coins/fiatsgd.js +61 -0
  388. package/dist/src/coins/fiatusd.d.ts +3 -2
  389. package/dist/src/coins/fiatusd.d.ts.map +1 -1
  390. package/dist/src/coins/fiatusd.js +5 -1
  391. package/dist/src/coins/index.d.ts +4 -0
  392. package/dist/src/coins/index.d.ts.map +1 -1
  393. package/dist/src/coins/index.js +10 -2
  394. package/dist/src/coins/ofc.d.ts +3 -2
  395. package/dist/src/coins/ofc.d.ts.map +1 -1
  396. package/dist/src/coins/ofc.js +6 -2
  397. package/dist/src/coins/ofcToken.js +2 -2
  398. package/dist/src/coins/susd.d.ts +3 -2
  399. package/dist/src/coins/susd.d.ts.map +1 -1
  400. package/dist/src/coins/susd.js +5 -1
  401. package/dist/src/coins/tfiataed.d.ts +11 -0
  402. package/dist/src/coins/tfiataed.d.ts.map +1 -0
  403. package/dist/src/coins/tfiataed.js +17 -0
  404. package/dist/src/coins/tfiatsgd.d.ts +11 -0
  405. package/dist/src/coins/tfiatsgd.d.ts.map +1 -0
  406. package/dist/src/coins/tfiatsgd.js +17 -0
  407. package/dist/src/common.js +27 -13
  408. package/dist/src/index.d.ts +2 -1
  409. package/dist/src/index.d.ts.map +1 -1
  410. package/dist/src/index.js +26 -11
  411. package/dist/src/units.js +5 -6
  412. package/dist/test/unit/account-lib/baseCoin/messages/baseMessage.d.ts +2 -0
  413. package/dist/test/unit/account-lib/baseCoin/messages/baseMessage.d.ts.map +1 -0
  414. package/dist/test/unit/account-lib/baseCoin/messages/baseMessage.js +218 -0
  415. package/dist/test/unit/account-lib/baseCoin/messages/baseMessageBuilder.d.ts +2 -0
  416. package/dist/test/unit/account-lib/baseCoin/messages/baseMessageBuilder.d.ts.map +1 -0
  417. package/dist/test/unit/account-lib/baseCoin/messages/baseMessageBuilder.js +173 -0
  418. package/dist/test/unit/account-lib/baseCoin/messages/baseMessageBuilderFactory.d.ts +2 -0
  419. package/dist/test/unit/account-lib/baseCoin/messages/baseMessageBuilderFactory.d.ts.map +1 -0
  420. package/dist/test/unit/account-lib/baseCoin/messages/baseMessageBuilderFactory.js +105 -0
  421. package/dist/test/unit/account-lib/baseCoin/messages/fixtures.d.ts +46 -0
  422. package/dist/test/unit/account-lib/baseCoin/messages/fixtures.d.ts.map +1 -0
  423. package/dist/test/unit/account-lib/baseCoin/messages/fixtures.js +71 -0
  424. package/dist/test/unit/account-lib/mpc/tss/ecdsa/ecdsa.d.ts +2 -0
  425. package/dist/test/unit/account-lib/mpc/tss/ecdsa/ecdsa.d.ts.map +1 -0
  426. package/dist/test/unit/account-lib/mpc/tss/ecdsa/ecdsa.js +233 -0
  427. package/dist/test/unit/account-lib/mpc/tss/ecdsa/fixtures.d.ts +3 -0
  428. package/dist/test/unit/account-lib/mpc/tss/ecdsa/fixtures.d.ts.map +1 -0
  429. package/dist/test/unit/account-lib/mpc/tss/ecdsa/fixtures.js +24 -0
  430. package/dist/test/unit/bitgo/trading/network/encrypt.d.ts +2 -0
  431. package/dist/test/unit/bitgo/trading/network/encrypt.d.ts.map +1 -0
  432. package/dist/test/unit/bitgo/trading/network/encrypt.js +71 -0
  433. package/dist/test/unit/bitgo/utils/abstractUtxoCoinUtil.d.ts +2 -0
  434. package/dist/test/unit/bitgo/utils/abstractUtxoCoinUtil.d.ts.map +1 -0
  435. package/dist/test/unit/bitgo/utils/abstractUtxoCoinUtil.js +45 -0
  436. package/dist/test/unit/bitgo/utils/messageTypes.d.ts +2 -0
  437. package/dist/test/unit/bitgo/utils/messageTypes.d.ts.map +1 -0
  438. package/dist/test/unit/bitgo/utils/messageTypes.js +64 -0
  439. package/dist/test/unit/bitgo/utils/notEmpty.d.ts +2 -0
  440. package/dist/test/unit/bitgo/utils/notEmpty.d.ts.map +1 -0
  441. package/dist/test/unit/bitgo/utils/notEmpty.js +15 -0
  442. package/dist/test/unit/bitgo/utils/postWithCodec.js +32 -38
  443. package/dist/test/unit/bitgo/utils/txRequest.d.ts +2 -0
  444. package/dist/test/unit/bitgo/utils/txRequest.d.ts.map +1 -0
  445. package/dist/test/unit/bitgo/utils/txRequest.js +105 -0
  446. package/dist/test/unit/bitgo/wallet/BuildParams.d.ts +2 -0
  447. package/dist/test/unit/bitgo/wallet/BuildParams.d.ts.map +1 -0
  448. package/dist/test/unit/bitgo/wallet/BuildParams.js +68 -0
  449. package/dist/test/unit/bitgo/wallet/SendTransactionRequest.js +37 -17
  450. package/dist/test/unit/units.js +63 -63
  451. package/dist/tsconfig.tsbuildinfo +1 -1
  452. package/package.json +24 -21
  453. package/dist/src/account-lib/baseCoin/blsKeyPair.d.ts +0 -77
  454. package/dist/src/account-lib/baseCoin/blsKeyPair.d.ts.map +0 -1
  455. package/dist/src/account-lib/baseCoin/blsKeyPair.js +0 -209
  456. package/dist/src/account-lib/mpc/hdTree.d.ts +0 -31
  457. package/dist/src/account-lib/mpc/hdTree.d.ts.map +0 -1
  458. package/dist/src/account-lib/mpc/hdTree.js +0 -141
  459. package/dist/src/account-lib/mpc/types.d.ts +0 -5
  460. package/dist/src/account-lib/mpc/types.d.ts.map +0 -1
  461. package/dist/src/account-lib/mpc/types.js +0 -3
  462. package/dist/src/bitgo/lightning/iLightning.d.ts +0 -186
  463. package/dist/src/bitgo/lightning/iLightning.d.ts.map +0 -1
  464. package/dist/src/bitgo/lightning/iLightning.js +0 -106
  465. package/dist/src/bitgo/lightning/index.d.ts +0 -5
  466. package/dist/src/bitgo/lightning/index.d.ts.map +0 -1
  467. package/dist/src/bitgo/lightning/index.js +0 -17
  468. package/dist/src/bitgo/lightning/lightning.d.ts +0 -25
  469. package/dist/src/bitgo/lightning/lightning.d.ts.map +0 -1
  470. package/dist/src/bitgo/lightning/lightning.js +0 -111
  471. package/dist/src/bitgo/lightning/lightningUtils.d.ts +0 -46
  472. package/dist/src/bitgo/lightning/lightningUtils.d.ts.map +0 -1
  473. package/dist/src/bitgo/lightning/lightningUtils.js +0 -133
  474. package/dist/src/bitgo/lightning/lnurlCodec.d.ts +0 -3
  475. package/dist/src/bitgo/lightning/lnurlCodec.d.ts.map +0 -1
  476. package/dist/src/bitgo/lightning/lnurlCodec.js +0 -28
  477. package/dist/src/bitgo/trading/affirmation.d.ts +0 -35
  478. package/dist/src/bitgo/trading/affirmation.d.ts.map +0 -1
  479. package/dist/src/bitgo/trading/affirmation.js +0 -53
  480. package/dist/src/bitgo/trading/affirmations.d.ts +0 -23
  481. package/dist/src/bitgo/trading/affirmations.d.ts.map +0 -1
  482. package/dist/src/bitgo/trading/affirmations.js +0 -45
  483. package/dist/src/bitgo/trading/iAffirmation.d.ts +0 -15
  484. package/dist/src/bitgo/trading/iAffirmation.d.ts.map +0 -1
  485. package/dist/src/bitgo/trading/iAffirmation.js +0 -13
  486. package/dist/src/bitgo/trading/iAffirmations.d.ts +0 -10
  487. package/dist/src/bitgo/trading/iAffirmations.d.ts.map +0 -1
  488. package/dist/src/bitgo/trading/iAffirmations.js +0 -3
  489. package/dist/src/bitgo/trading/iSettlement.d.ts +0 -25
  490. package/dist/src/bitgo/trading/iSettlement.d.ts.map +0 -1
  491. package/dist/src/bitgo/trading/iSettlement.js +0 -17
  492. package/dist/src/bitgo/trading/iSettlements.d.ts +0 -19
  493. package/dist/src/bitgo/trading/iSettlements.d.ts.map +0 -1
  494. package/dist/src/bitgo/trading/iSettlements.js +0 -3
  495. package/dist/src/bitgo/trading/iTradingPartner.d.ts +0 -14
  496. package/dist/src/bitgo/trading/iTradingPartner.d.ts.map +0 -1
  497. package/dist/src/bitgo/trading/iTradingPartner.js +0 -17
  498. package/dist/src/bitgo/trading/iTradingPartners.d.ts +0 -15
  499. package/dist/src/bitgo/trading/iTradingPartners.d.ts.map +0 -1
  500. package/dist/src/bitgo/trading/iTradingPartners.js +0 -9
  501. package/dist/src/bitgo/trading/lock.d.ts +0 -16
  502. package/dist/src/bitgo/trading/lock.d.ts.map +0 -1
  503. package/dist/src/bitgo/trading/lock.js +0 -12
  504. package/dist/src/bitgo/trading/payload.d.ts +0 -22
  505. package/dist/src/bitgo/trading/payload.d.ts.map +0 -1
  506. package/dist/src/bitgo/trading/payload.js +0 -3
  507. package/dist/src/bitgo/trading/settlement.d.ts +0 -16
  508. package/dist/src/bitgo/trading/settlement.d.ts.map +0 -1
  509. package/dist/src/bitgo/trading/settlement.js +0 -21
  510. package/dist/src/bitgo/trading/settlements.d.ts +0 -32
  511. package/dist/src/bitgo/trading/settlements.d.ts.map +0 -1
  512. package/dist/src/bitgo/trading/settlements.js +0 -61
  513. package/dist/src/bitgo/trading/trade.d.ts +0 -29
  514. package/dist/src/bitgo/trading/trade.d.ts.map +0 -1
  515. package/dist/src/bitgo/trading/trade.js +0 -11
  516. package/dist/src/bitgo/trading/tradingPartner.d.ts +0 -26
  517. package/dist/src/bitgo/trading/tradingPartner.d.ts.map +0 -1
  518. package/dist/src/bitgo/trading/tradingPartner.js +0 -31
  519. package/dist/src/bitgo/trading/tradingPartners.d.ts +0 -24
  520. package/dist/src/bitgo/trading/tradingPartners.d.ts.map +0 -1
  521. package/dist/src/bitgo/trading/tradingPartners.js +0 -32
  522. package/dist/src/bitgo/utils/blsUtils.d.ts +0 -52
  523. package/dist/src/bitgo/utils/blsUtils.d.ts.map +0 -1
  524. package/dist/src/bitgo/utils/blsUtils.js +0 -237
  525. package/dist/src/bitgo/utils/iBlsUtils.d.ts +0 -14
  526. package/dist/src/bitgo/utils/iBlsUtils.d.ts.map +0 -1
  527. package/dist/src/bitgo/utils/iBlsUtils.js +0 -3
  528. package/dist/src/bitgo/wallet/SendTransactionRequest.d.ts +0 -71
  529. package/dist/src/bitgo/wallet/SendTransactionRequest.d.ts.map +0 -1
  530. package/dist/src/bitgo/wallet/SendTransactionRequest.js +0 -41
  531. package/dist/src/openssl/index.d.ts +0 -5
  532. package/dist/src/openssl/index.d.ts.map +0 -1
  533. package/dist/src/openssl/index.js +0 -9
  534. package/dist/test/unit/openssl.d.ts +0 -2
  535. package/dist/test/unit/openssl.d.ts.map +0 -1
  536. package/dist/test/unit/openssl.js +0 -39
@@ -1,11 +1,14 @@
1
- import { IBaseCoin, SignedMessage, SignedTransaction } from '../baseCoin';
1
+ import { IBaseCoin, NFTTransferOptions, SignedMessage, SignedTransaction } from '../baseCoin';
2
2
  import { BitGoBase } from '../bitgoBase';
3
+ import { KeychainWithEncryptedPrv } from '../keychain';
3
4
  import { IPendingApproval } from '../pendingApproval';
4
- import { TradingAccount } from '../trading/tradingAccount';
5
+ import { TradingAccount } from '../trading';
5
6
  import { TxRequest } from '../utils';
6
- import { AccelerateTransactionOptions, AddressesOptions, BuildConsolidationTransactionOptions, BuildTokenEnablementOptions, ChangeFeeOptions, ConsolidateUnspentsOptions, CreateAddressOptions, CreatePolicyRuleOptions, CreateShareOptions, CrossChainUTXO, DeployForwardersOptions, DownloadKeycardOptions, FanoutUnspentsOptions, FetchCrossChainUTXOsOptions, FlushForwarderTokenOptions, ForwarderBalance, ForwarderBalanceOptions, FreezeOptions, FundForwardersOptions, GetAddressOptions, GetPrvOptions, GetTransactionOptions, GetTransferOptions, GetUserPrvOptions, IWallet, MaximumSpendable, MaximumSpendableOptions, ModifyWebhookOptions, PaginationOptions, PrebuildAndSignTransactionOptions, PrebuildTransactionOptions, PrebuildTransactionResult, RecoverTokenOptions, RemovePolicyRuleOptions, RemoveUserOptions, SendManyOptions, SendOptions, ShareWalletOptions, SimulateWebhookOptions, SubmitTransactionOptions, SweepOptions, TransferBySequenceIdOptions, TransferCommentOptions, TransfersOptions, UnspentsOptions, UpdateAddressOptions, WalletCoinSpecific, WalletData, WalletEcdsaChallenges, WalletSignMessageOptions, WalletSignTransactionOptions, WalletSignTypedDataOptions, WalletType } from './iWallet';
7
- import { StakingWallet } from '../staking/stakingWallet';
8
- import { Lightning } from '../lightning';
7
+ import { AccelerateTransactionOptions, AddressesByBalanceOptions, AddressesOptions, BuildConsolidationTransactionOptions, BuildTokenEnablementOptions, BulkCreateShareOption, BulkWalletShareOptions, ChangeFeeOptions, ConsolidateUnspentsOptions, CreateAddressOptions, CreateBulkWalletShareListResponse, CreatePolicyRuleOptions, CreateShareOptions, CrossChainUTXO, DeployForwardersOptions, DownloadKeycardOptions, FanoutUnspentsOptions, FetchCrossChainUTXOsOptions, FlushForwarderTokenOptions, ForwarderBalance, ForwarderBalanceOptions, FreezeOptions, FundForwarderParams, FundForwardersOptions, GetAddressOptions, GetPrvOptions, GetTransactionOptions, GetTransferOptions, GetUserPrvOptions, IWallet, ManageUnspentReservationOptions, MaximumSpendable, MaximumSpendableOptions, ModifyWebhookOptions, NftBalance, PaginationOptions, PrebuildAndSignTransactionOptions, PrebuildTransactionOptions, PrebuildTransactionResult, RecoverTokenOptions, RemovePolicyRuleOptions, RemoveUserOptions, SendManyOptions, SendNFTOptions, SendNFTResult, SendOptions, SharedKeyChain, ShareWalletOptions, SignAndSendTxRequestOptions, SimulateWebhookOptions, SubmitTransactionOptions, SubWalletType, SweepOptions, TransferBySequenceIdOptions, TransferCommentOptions, TransfersOptions, UnspentsOptions, UpdateAddressOptions, UpdateBuildDefaultOptions, WalletCoinSpecific, WalletData, WalletEcdsaChallenges, WalletSignMessageOptions, WalletSignTransactionOptions, WalletSignTypedDataOptions, WalletType } from './iWallet';
8
+ import { GoStakingWallet, StakingWallet } from '../staking';
9
+ import { IAddressBook } from '../address-book';
10
+ import { IRequestTracer } from '../../api';
11
+ import { SubmitTransactionResponse } from '../inscriptionBuilder';
9
12
  export declare enum ManageUnspentsOptions {
10
13
  BUILD_ONLY = 0,
11
14
  BUILD_SIGN_SEND = 1
@@ -70,12 +73,19 @@ export declare class Wallet implements IWallet {
70
73
  * Get the coin identifier for the type of coin this wallet holds
71
74
  */
72
75
  coin(): string;
73
- type(): WalletType | undefined;
76
+ type(): WalletType;
74
77
  multisigType(): 'onchain' | 'tss';
78
+ multisigTypeVersion(): 'MPCv2' | undefined;
79
+ subType(): SubWalletType | undefined;
75
80
  /**
76
81
  * Get the label (name) for this wallet
77
82
  */
78
83
  label(): string;
84
+ flags(): {
85
+ name: string;
86
+ value: string;
87
+ }[];
88
+ flag(name: string): string | undefined;
79
89
  /**
80
90
  * Get the public object ids for the keychains on this wallet.
81
91
  */
@@ -83,7 +93,7 @@ export declare class Wallet implements IWallet {
83
93
  /**
84
94
  * Get a receive address for this wallet
85
95
  */
86
- receiveAddress(): string;
96
+ receiveAddress(): string | undefined;
87
97
  /**
88
98
  * Get the wallet id of the wallet that this wallet was migrated from.
89
99
  *
@@ -116,6 +126,26 @@ export declare class Wallet implements IWallet {
116
126
  * @returns {*}
117
127
  */
118
128
  transactions(params?: PaginationOptions): Promise<any>;
129
+ /**
130
+ * Return a list of nft tokens for this wallet. Will always return undefined if the wallet
131
+ * was not initialized with the allTokens flag.
132
+ *
133
+ * @returns {NftBalance[] | undefined}
134
+ */
135
+ nftBalances(): NftBalance[] | undefined;
136
+ /**
137
+ * Return a list of unsupported nft tokens for this wallet. Will always return undefined if the wallet
138
+ * was not initialized with the allTokens flag.
139
+ *
140
+ * @returns {NftBalance[] | undefined}
141
+ */
142
+ unsupportedNftBalances(): NftBalance[] | undefined;
143
+ /**
144
+ * Returns a list of the wallets nft & unsupported nfts.
145
+ *
146
+ * @returns {NftBalance[]}
147
+ */
148
+ getNftBalances(): Promise<NftBalance[]>;
119
149
  /**
120
150
  * List the transactions for a given wallet
121
151
  * @param params
@@ -190,8 +220,25 @@ export declare class Wallet implements IWallet {
190
220
  * - maximum number of unspents you want to use in the transaction
191
221
  * Output parameters:
192
222
  * @param {Number} params.numUnspentsToMake - the number of new unspents to make
223
+ * @param {Boolean} params.bulk - if set to True, this enables the consolidation of large number of unspents by creating multiple transactions,
224
+ * with each transaction composed of 200 unspents, except for the last transaction which may have fewer unspents.
193
225
  */
194
226
  private manageUnspents;
227
+ /**
228
+ * Manage the unspent reservations on the wallet
229
+ *
230
+ * @param params.create - create a new reservation
231
+ * @param params.modify - modify an existing reservation
232
+ * @param params.delete - delete an existing reservation
233
+ */
234
+ manageUnspentReservations(params: ManageUnspentReservationOptions): Promise<{
235
+ unspents: {
236
+ id: string;
237
+ walletId: string;
238
+ expireTime: string;
239
+ userId?: string;
240
+ }[];
241
+ }>;
195
242
  /**
196
243
  * Consolidate unspents on a wallet
197
244
  *
@@ -210,9 +257,11 @@ export declare class Wallet implements IWallet {
210
257
  * @param {Number} params.limit for routeName === 'consolidate'
211
258
  * params.maxNumInputsToUse for routeName === 'fanout'
212
259
  * - maximum number of unspents you want to use in the transaction
213
- * @param {Number} params.numUnspentsToMake - the number of new unspents to make
260
+ * @param {Number} params.numUnspentsToMake - the number of new unspents to make. It is not applicable for if bulk consolidate.
261
+ * @param {Boolean} params.bulk - if set to True, this enables the consolidation of large number of unspents by creating multiple transactions,
262
+ * with each transaction composed of 200 unspents, except for the last transaction which may have fewer unspents.
214
263
  */
215
- consolidateUnspents(params?: ConsolidateUnspentsOptions, option?: ManageUnspentsOptions): Promise<any>;
264
+ consolidateUnspents(params?: ConsolidateUnspentsOptions, option?: ManageUnspentsOptions): Promise<unknown>;
216
265
  /**
217
266
  * Fanout unspents on a wallet
218
267
  *
@@ -229,8 +278,10 @@ export declare class Wallet implements IWallet {
229
278
  * @param {Number} params.maxFeeRate - The max limit for a fee rate in satoshis/kB
230
279
  * @param {Number} params.maxNumInputsToUse - the number of unspents you want to use in the transaction
231
280
  * @param {Number} params.numUnspentsToMake - the number of new unspents to make
281
+ *
282
+ * @param {ManageUnspentsOptions} option - flag to toggle build and send or build only
232
283
  */
233
- fanoutUnspents(params?: FanoutUnspentsOptions): Promise<any>;
284
+ fanoutUnspents(params?: FanoutUnspentsOptions, option?: ManageUnspentsOptions): Promise<unknown>;
234
285
  /**
235
286
  * Set the token flush thresholds for the wallet. Updates the wallet.
236
287
  * Tokens will only be flushed from forwarder contracts if the balance is greater than the threshold defined here.
@@ -304,6 +355,12 @@ export declare class Wallet implements IWallet {
304
355
  * @returns {*}
305
356
  */
306
357
  addresses(params?: AddressesOptions): Promise<any>;
358
+ /**
359
+ * List the addresses sorted by balance for a given wallet
360
+ * @param params
361
+ * @returns {*}
362
+ */
363
+ addressesByBalance(params: AddressesByBalanceOptions): Promise<any>;
307
364
  /**
308
365
  * Get a single wallet address by its id
309
366
  * @param params
@@ -337,6 +394,7 @@ export declare class Wallet implements IWallet {
337
394
  * @returns {*}
338
395
  */
339
396
  updateAddress(params?: UpdateAddressOptions): Promise<any>;
397
+ updateWalletBuildDefaults(params: UpdateBuildDefaultOptions): Promise<unknown>;
340
398
  /**
341
399
  * List webhooks on this wallet
342
400
  * @param params
@@ -362,15 +420,12 @@ export declare class Wallet implements IWallet {
362
420
  */
363
421
  removeWebhook(params?: ModifyWebhookOptions): Promise<any>;
364
422
  /**
365
- * Gets the user key chain for this wallet
423
+ * Gets the user keychain for this wallet
366
424
  *
367
- * The user key chain is the first keychain of the wallet and usually has the encrypted prv stored on BitGo.
425
+ * The user keychain is the first keychain of the wallet and usually has the encrypted prv stored on BitGo.
368
426
  * Useful when trying to get the users' keychain from the server before decrypting to sign a transaction.
369
- * @param params
370
427
  */
371
- getEncryptedUserKeychain(params?: Record<string, never>): Promise<{
372
- encryptedPrv: string;
373
- }>;
428
+ getEncryptedUserKeychain(): Promise<KeychainWithEncryptedPrv>;
374
429
  /**
375
430
  * Gets the unencrypted private key for this wallet (be careful!)
376
431
  * Requires wallet passphrase
@@ -383,6 +438,41 @@ export declare class Wallet implements IWallet {
383
438
  * @param params
384
439
  */
385
440
  createShare(params?: CreateShareOptions): Promise<any>;
441
+ /**
442
+ * Shares a wallet with multiple users by creating bulk wallet shares.
443
+ *
444
+ * @async
445
+ * @param {BulkWalletShareOptions} params - The options for sharing wallets in bulk.
446
+ * @param {Array<ShareOption>} params.shareOptions - An array of share option objects containing user and permissions information.
447
+ * @param {Object} [params.shareOptions[].keychain] - The keychain object used to share the wallet.
448
+ * @param {string} [params.shareOptions[].keychain.toPubKey] - The recipient's public key.
449
+ * @param {string} [params.shareOptions[].keychain.path] - The derivation path of the keychain.
450
+ * @param {string} params.shareOptions[].user - The user to share the wallet with.
451
+ * @param {string} params.shareOptions[].permissions - The permissions granted to the user.
452
+ * @param {string} [params.walletPassphrase] - The wallet passphrase used to decrypt the keychain.
453
+ * @throws {Error} If `shareOptions` is empty, or if required keychain parameters (`toPubKey` and `path`) are missing when needed.
454
+ * @throws {Error} If unable to decrypt the user keychain.
455
+ * @returns {Promise<CreateBulkWalletShareListResponse>} A promise that resolves with the response of the bulk wallet share creation.
456
+ */
457
+ createBulkWalletShare(params: BulkWalletShareOptions): Promise<CreateBulkWalletShareListResponse>;
458
+ /**
459
+ * Creates bulk wallet share entries for specified share options.
460
+ * Filters out share options that do not contain valid keychain information or have missing keychain fields.
461
+ * If all share options are invalid or empty, it throws an error.
462
+ * Sends a POST request to create the wallet shares for valid share options.
463
+ *
464
+ * @async
465
+ * @param {BulkCreateShareOption[]} [params=[]] - The array of share options to process.
466
+ * Keychain entries must include the following fields: `pub`, `encryptedPrv`, `fromPubKey`, `toPubKey`, and `path`.
467
+ * @returns {Promise<CreateBulkWalletShareListResponse>} A promise resolving to the result of the wallet shares creation.
468
+ * @throws {Error} Throws an error if no valid share options are provided.
469
+ */
470
+ createBulkKeyShares(params?: BulkCreateShareOption[]): Promise<CreateBulkWalletShareListResponse>;
471
+ /**
472
+ * Gets keychain with encrypted private key to be shared for wallet sharing.
473
+ */
474
+ private getEncryptedWalletKeychainForWalletSharing;
475
+ prepareSharedKeychain(walletPassphrase: string | undefined, pubkey: string, path: string): Promise<SharedKeyChain>;
386
476
  /**
387
477
  * Share this wallet with another BitGo user.
388
478
  * @param params
@@ -432,6 +522,16 @@ export declare class Wallet implements IWallet {
432
522
  * @returns {*}
433
523
  */
434
524
  prebuildTransaction(params?: PrebuildTransactionOptions): Promise<PrebuildTransactionResult>;
525
+ /**
526
+ * Gets the User Keychain and sign a TSS transaction
527
+ * @param txRequestId The transaction request id
528
+ * @param walletPassphrase The wallet passphrase
529
+ * @return Promise<SignedTransaction>
530
+ */
531
+ getUserKeyAndSignTssTransaction({ txRequestId, walletPassphrase, }: {
532
+ txRequestId: string;
533
+ walletPassphrase: string;
534
+ }): Promise<SignedTransaction>;
435
535
  /**
436
536
  * Sign a transaction
437
537
  * @param params
@@ -453,6 +553,13 @@ export declare class Wallet implements IWallet {
453
553
  * - custodianMessageId
454
554
  */
455
555
  signMessage(params?: WalletSignMessageOptions): Promise<SignedMessage>;
556
+ /**
557
+ * Prepares and creates a sign message request for TSS wallets, that can be used later for signing.
558
+ *
559
+ * @param params - Parameters for creating the sign message request
560
+ * @returns Promise<TxRequest> - The created transaction request for signing a message
561
+ */
562
+ buildSignMessageRequest(params: WalletSignMessageOptions): Promise<TxRequest>;
456
563
  /**
457
564
  * Get the user private key from either a derivation or an encrypted keychain
458
565
  * @param [params.keychain / params.key] (object) or params.prv (string)
@@ -465,17 +572,21 @@ export declare class Wallet implements IWallet {
465
572
  */
466
573
  prebuildAndSignTransaction(params?: PrebuildAndSignTransactionOptions): Promise<SignedTransaction>;
467
574
  /**
468
- * Accelerate a transaction's confirmation using Child-Pays-For-Parent (CPFP)
575
+ * Accelerate a transaction's confirmation using Child-Pays-For-Parent (CPFP) or Replace-By-Fee (RBF)
469
576
  * @param params
470
577
  */
471
578
  accelerateTransaction(params?: AccelerateTransactionOptions): Promise<any>;
579
+ private validateAccelerationParams;
580
+ private validateRbfParams;
581
+ private validateCpfpParams;
472
582
  /**
473
583
  * Submit a half-signed transaction to BitGo
474
584
  * @param params
475
585
  * - txHex: transaction hex to submit
476
586
  * - halfSigned: object containing transaction (txHex or txBase64) to submit
587
+ * @param reqId - request tracer request id
477
588
  */
478
- submitTransaction(params?: SubmitTransactionOptions): Promise<any>;
589
+ submitTransaction(params?: SubmitTransactionOptions, reqId?: IRequestTracer): Promise<any>;
479
590
  /**
480
591
  * Send coins to a recipient
481
592
  * @param params
@@ -491,6 +602,19 @@ export declare class Wallet implements IWallet {
491
602
  * @returns {*}
492
603
  */
493
604
  send(params?: SendOptions): Promise<any>;
605
+ /**
606
+ * Send an ERC-721 NFT or ERC-1155 NFT(s).
607
+ *
608
+ * This function constructs the appropriate call data for an ERC-721/1155 token transfer,
609
+ * and calls the token contract with the data, and amount 0. This transaction will always produce
610
+ * a pending approval.
611
+ *
612
+ * @param sendOptions Options to specify how the transaction should be sent.
613
+ * @param sendNftOptions Options to specify the NFT(s) to be sent.
614
+ *
615
+ * @return A pending approval for the transaction.
616
+ */
617
+ sendNft(sendOptions: SendNFTOptions, sendNftOptions: NFTTransferOptions): Promise<SendNFTResult>;
494
618
  /**
495
619
  * Send money to multiple recipients
496
620
  * 1. Gets the user keychain by checking the wallet for a key which has an encrypted prv
@@ -613,10 +737,18 @@ export declare class Wallet implements IWallet {
613
737
  * Create a trading account from this wallet
614
738
  */
615
739
  toTradingAccount(): TradingAccount;
740
+ /**
741
+ * Get the address book for this wallet
742
+ */
743
+ toAddressBook(): IAddressBook;
616
744
  /**
617
745
  * Create a staking wallet from this wallet
618
746
  */
619
747
  toStakingWallet(): StakingWallet;
748
+ /**
749
+ * Create a go staking wallet from this wallet
750
+ */
751
+ toGoStakingWallet(): GoStakingWallet;
620
752
  /**
621
753
  * Creates and downloads PDF keycard for wallet (requires response from wallets.generateWallet)
622
754
  *
@@ -686,28 +818,41 @@ export declare class Wallet implements IWallet {
686
818
  success: any[];
687
819
  failure: Error[];
688
820
  }>;
689
- /**
690
- * Create lightning for btc/tbtc from this wallet
691
- */
692
- lightning(): Lightning;
693
821
  /**
694
822
  * Prebuilds a transaction for a TSS wallet.
695
823
  *
696
824
  * @param params prebuild transaction options
697
825
  */
698
- private prebuildTransactionTss;
826
+ private prebuildTransactionTxRequests;
699
827
  /**
700
828
  * Signs a transaction from a TSS EdDSA wallet using external signer.
701
829
  *
702
830
  * @param params signing options
703
831
  */
704
832
  private signTransactionTssExternalSignerEdDSA;
833
+ /**
834
+ * Signs and sends a transaction request from a TSS (hot) wallet, or a SMC (cold) wallet with an external signer.
835
+ * Meant to be used for a transaction request where the signing process is aborted.
836
+ *
837
+ * @param params
838
+ * txRequestId - The ID of the transaction request.
839
+ * walletPassphrase - The passphrase for the wallet.
840
+ * isTxRequestFull - Flag indicating if the transaction request is full.
841
+ * @returns A promise that resolves to a SignedTransaction.
842
+ */
843
+ signAndSendTxRequest(params: SignAndSendTxRequestOptions): Promise<SignedTransaction>;
705
844
  /**
706
845
  * Signs a transaction from a TSS ECDSA wallet using external signer.
707
846
  *
708
847
  * @param params signing options
709
848
  */
710
849
  private signTransactionTssExternalSignerECDSA;
850
+ /**
851
+ * Signs a transaction from a TSS ECDSA wallet using external signer.
852
+ *
853
+ * @param params signing options
854
+ */
855
+ private signTransactionTssExternalSignerECDSAMPCv2;
711
856
  /**
712
857
  * Signs a transaction from a TSS wallet.
713
858
  *
@@ -731,7 +876,7 @@ export declare class Wallet implements IWallet {
731
876
  *
732
877
  * @param params send options
733
878
  */
734
- private sendManyTss;
879
+ private sendManyTxRequests;
735
880
  /**
736
881
  * Send funds from a fee address to a forwarder. Only supports eth-like coins.
737
882
  *
@@ -740,7 +885,15 @@ export declare class Wallet implements IWallet {
740
885
  * @param {String} params.amount - Amount to send the forwarder (optional). If not given, defaults to sending an estimate of the amount needed for a fund recovery
741
886
  * @returns {*}
742
887
  */
743
- fundForwarder(params: FundForwardersOptions): Promise<any>;
888
+ fundForwarder(params: FundForwardersOptions): Promise<WalletData>;
889
+ /**
890
+ * Send funds from a fee address to a forwarder.
891
+ *
892
+ * @param {Object} params - parameters object
893
+ * @param {List} params.forwarders - list of fund forwarder options
894
+ * @returns {*}
895
+ */
896
+ fundForwarders(params: FundForwarderParams): Promise<WalletData>;
744
897
  /**
745
898
  * Gets forwarder's balance
746
899
  * @param params - optional query parameters
@@ -756,5 +909,25 @@ export declare class Wallet implements IWallet {
756
909
  * @returns {Promise<WalletEcdsaChallenges>}
757
910
  */
758
911
  getChallengesForEcdsaSigning(): Promise<WalletEcdsaChallenges>;
912
+ private sendTransaction;
913
+ private initiateTransaction;
914
+ /**
915
+ * Get wallet keychains and validate passphrase if necessary
916
+ * @param {PrebuildTransactionOptions} params - prebuild transaction options
917
+ * @param {string} params.walletPassphrase - wallet passphrase
918
+ * @param {string} params.reqId - request id for tracing purposes
919
+ * @param {Function} params.customSigningFunction - custom signing function for external signing
920
+ * @returns {Promise<Keychain[]>}
921
+ */
922
+ private getKeychainsAndValidatePassphrase;
923
+ /**
924
+ * Approve token for use with a batcher contract
925
+ * This function builds, signs, and sends a token approval transaction
926
+ *
927
+ * @param {string} walletPassphrase - The passphrase to be used to decrypt the user key
928
+ * @param {string} tokenName - The name of the token to be approved
929
+ * @returns {Promise<any>} The transaction details
930
+ */
931
+ approveErc20Token(walletPassphrase: string, tokenName: string): Promise<SubmitTransactionResponse>;
759
932
  }
760
933
  //# sourceMappingURL=wallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../src/bitgo/wallet/wallet.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,SAAS,EACT,aAAa,EACb,iBAAiB,EAIlB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzC,OAAO,EAAE,gBAAgB,EAAmB,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3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