@bitgo/sdk-api 2.0.0-hotfix.0 → 2.1.0
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.
- package/dist/package.json +33 -28
- package/dist/src/api.d.ts +9 -8
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +132 -72
- package/dist/src/bitgoAPI.d.ts +366 -22
- package/dist/src/bitgoAPI.d.ts.map +1 -1
- package/dist/src/bitgoAPI.js +1286 -212
- package/dist/src/encrypt.d.ts +16 -6
- package/dist/src/encrypt.d.ts.map +1 -1
- package/dist/src/encrypt.js +92 -14
- package/dist/src/encryptV2.d.ts +68 -0
- package/dist/src/encryptV2.d.ts.map +1 -0
- package/dist/src/encryptV2.js +202 -0
- package/dist/src/encryptionSession.d.ts +34 -0
- package/dist/src/encryptionSession.d.ts.map +1 -0
- package/dist/src/encryptionSession.js +95 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +8 -3
- package/dist/src/types.d.ts +195 -65
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +5 -15
- package/dist/src/util.d.ts +12 -8
- package/dist/src/util.d.ts.map +1 -1
- package/dist/src/util.js +54 -20
- package/dist/src/v1/blockchain.d.ts +5 -0
- package/dist/src/v1/blockchain.d.ts.map +1 -0
- package/dist/src/v1/blockchain.js +127 -0
- package/dist/src/v1/keychains.d.ts +5 -0
- package/dist/src/v1/keychains.d.ts.map +1 -0
- package/dist/src/v1/keychains.js +328 -0
- package/dist/src/v1/markets.d.ts +5 -0
- package/dist/src/v1/markets.d.ts.map +1 -0
- package/dist/src/v1/markets.js +68 -0
- package/dist/src/v1/pendingapproval.d.ts +6 -0
- package/dist/src/v1/pendingapproval.d.ts.map +1 -0
- package/dist/src/v1/pendingapproval.js +361 -0
- package/dist/src/v1/pendingapprovals.d.ts +6 -0
- package/dist/src/v1/pendingapprovals.d.ts.map +1 -0
- package/dist/src/v1/pendingapprovals.js +102 -0
- package/dist/src/v1/signPsbt.d.ts +14 -0
- package/dist/src/v1/signPsbt.d.ts.map +1 -0
- package/dist/src/v1/signPsbt.js +69 -0
- package/dist/src/v1/transactionBuilder.d.ts +5 -0
- package/dist/src/v1/transactionBuilder.d.ts.map +1 -0
- package/dist/src/v1/transactionBuilder.js +1034 -0
- package/dist/src/v1/travelRule.d.ts +5 -0
- package/dist/src/v1/travelRule.d.ts.map +1 -0
- package/dist/src/v1/travelRule.js +316 -0
- package/dist/src/v1/verifyAddress.d.ts +6 -0
- package/dist/src/v1/verifyAddress.d.ts.map +1 -0
- package/dist/src/v1/verifyAddress.js +50 -0
- package/dist/src/v1/wallet.d.ts +6 -0
- package/dist/src/v1/wallet.d.ts.map +1 -0
- package/dist/src/v1/wallet.js +2366 -0
- package/dist/src/v1/wallets.d.ts +5 -0
- package/dist/src/v1/wallets.d.ts.map +1 -0
- package/dist/src/v1/wallets.js +537 -0
- package/dist/test/unit/api.d.ts +2 -0
- package/dist/test/unit/api.d.ts.map +1 -0
- package/dist/test/unit/api.js +307 -0
- package/dist/test/unit/bitgoAPI.d.ts +2 -0
- package/dist/test/unit/bitgoAPI.d.ts.map +1 -0
- package/dist/test/unit/bitgoAPI.js +1001 -0
- package/dist/test/unit/encrypt.d.ts +2 -0
- package/dist/test/unit/encrypt.d.ts.map +1 -0
- package/dist/test/unit/encrypt.js +377 -0
- package/dist/test/unit/hmacStrategy.d.ts +2 -0
- package/dist/test/unit/hmacStrategy.d.ts.map +1 -0
- package/dist/test/unit/hmacStrategy.js +136 -0
- package/dist/test/unit/utils.d.ts +2 -0
- package/dist/test/unit/utils.d.ts.map +1 -0
- package/dist/test/unit/utils.js +65 -0
- package/dist/test/unit/v1/fixtures/accelerate-tx.d.ts +4 -0
- package/dist/test/unit/v1/fixtures/accelerate-tx.d.ts.map +1 -0
- package/dist/test/unit/v1/fixtures/accelerate-tx.js +53 -0
- package/dist/test/unit/v1/fixtures/index.d.ts +3 -0
- package/dist/test/unit/v1/fixtures/index.d.ts.map +1 -0
- package/dist/test/unit/v1/fixtures/index.js +24 -0
- package/dist/test/unit/v1/signPsbt.d.ts +2 -0
- package/dist/test/unit/v1/signPsbt.d.ts.map +1 -0
- package/dist/test/unit/v1/signPsbt.js +53 -0
- package/dist/test/unit/v1/travelRule.d.ts +2 -0
- package/dist/test/unit/v1/travelRule.d.ts.map +1 -0
- package/dist/test/unit/v1/travelRule.js +125 -0
- package/dist/test/unit/v1/wallet.d.ts +2 -0
- package/dist/test/unit/v1/wallet.d.ts.map +1 -0
- package/dist/test/unit/v1/wallet.js +1658 -0
- package/dist/tsconfig.tsbuildinfo +1 -5259
- package/package.json +33 -28
- package/.eslintignore +0 -5
- package/CHANGELOG.md +0 -67
- package/dist/src/bip32path.d.ts +0 -24
- package/dist/src/bip32path.d.ts.map +0 -1
- package/dist/src/bip32path.js +0 -45
- package/dist/web/browser.html +0 -1
- package/dist/web/main.js +0 -2
- package/dist/web/main.js.LICENSE.txt +0 -30
package/dist/src/bitgoAPI.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { BitGoRequest } from '
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { BaseCoin, BitGoBase, BitGoRequest, CoinConstructor, DecryptKeysOptions, DecryptOptions, EcdhDerivedKeypair, EncryptionVersion, EncryptOptions, EnvironmentName, GetSharingKeyOptions, GetSigningKeyApi, IRequestTracer } from '@bitgo/sdk-core';
|
|
2
|
+
import { type IHmacAuthStrategy } from '@bitgo/sdk-hmac';
|
|
3
|
+
import { ECPairInterface } from '@bitgo/utxo-lib';
|
|
4
|
+
import * as superagent from 'superagent';
|
|
5
|
+
import { AccessTokenOptions, AddAccessTokenOptions, AddAccessTokenResponse, AuthenticateOptions, AuthenticateWithAuthCodeOptions, BitGoAPIOptions, BitGoJson, BitGoSimulateWebhookOptions, CalculateHmacSubjectOptions, CalculateRequestHeadersOptions, CalculateRequestHmacOptions, ChangePasswordOptions, Constants, DeprecatedVerifyAddressOptions, EstimateFeeOptions, ExtendTokenOptions, GetEcdhSecretOptions, GetUserOptions, ListWebhookNotificationsOptions, LoginResponse, PingOptions, ProcessedAuthenticationOptions, ReconstitutedSecret, ReconstituteSecretOptions, RegisterPushTokenOptions, RemoveAccessTokenOptions, RequestHeaders, RequestMethods, SplitSecret, SplitSecretOptions, TokenIssuance, TokenIssuanceResponse, UnlockOptions, User, VerifyPasswordOptions, VerifyPushTokenOptions, VerifyResponseInfo, VerifyResponseOptions, VerifyShardsOptions, WebhookOptions } from './types';
|
|
6
|
+
export declare class BitGoAPI implements BitGoBase {
|
|
7
|
+
protected _keychains: any;
|
|
8
|
+
protected _wallets: any;
|
|
9
|
+
protected _markets?: any;
|
|
10
|
+
protected _blockchain?: any;
|
|
11
|
+
protected _travelRule?: any;
|
|
12
|
+
protected _pendingApprovals?: any;
|
|
6
13
|
protected static _constants: any;
|
|
7
14
|
protected static _constantsExpire: any;
|
|
8
15
|
protected static _testnetWarningMessage: boolean;
|
|
@@ -10,12 +17,13 @@ export declare abstract class BitGoAPI {
|
|
|
10
17
|
protected readonly _baseUrl: string;
|
|
11
18
|
protected readonly _baseApiUrl: string;
|
|
12
19
|
protected readonly _baseApiUrlV2: string;
|
|
20
|
+
protected readonly _baseApiUrlV3: string;
|
|
13
21
|
protected readonly _env: EnvironmentName;
|
|
14
22
|
protected readonly _authVersion: Exclude<BitGoAPIOptions['authVersion'], undefined>;
|
|
15
23
|
protected _hmacVerification: boolean;
|
|
16
24
|
protected readonly _proxy?: string;
|
|
17
25
|
protected _user?: User;
|
|
18
|
-
protected _extensionKey?:
|
|
26
|
+
protected _extensionKey?: ECPairInterface;
|
|
19
27
|
protected _reqId?: IRequestTracer;
|
|
20
28
|
protected _token?: string;
|
|
21
29
|
protected _version: string;
|
|
@@ -25,7 +33,29 @@ export declare abstract class BitGoAPI {
|
|
|
25
33
|
protected readonly _clientId?: string;
|
|
26
34
|
protected readonly _clientSecret?: string;
|
|
27
35
|
protected _validate: boolean;
|
|
36
|
+
readonly cookiesPropagationEnabled: boolean;
|
|
37
|
+
private _customProxyAgent?;
|
|
38
|
+
private _requestIdPrefix?;
|
|
39
|
+
private getAdditionalHeadersCb?;
|
|
40
|
+
protected _hmacAuthStrategy: IHmacAuthStrategy;
|
|
28
41
|
constructor(params?: BitGoAPIOptions);
|
|
42
|
+
/**
|
|
43
|
+
* Initialize client constants if provided.
|
|
44
|
+
* @param clientConstants - The client constants from params
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
private _initializeClientConstants;
|
|
48
|
+
/**
|
|
49
|
+
* Get a superagent request for specified http method and URL configured to the SDK configuration
|
|
50
|
+
* @param method - http method for the new request
|
|
51
|
+
* @param url - URL for the new request
|
|
52
|
+
*/
|
|
53
|
+
protected getAgentRequest(method: RequestMethods, url: string): superagent.SuperAgentRequest;
|
|
54
|
+
/**
|
|
55
|
+
* Create a basecoin object
|
|
56
|
+
* @param name
|
|
57
|
+
*/
|
|
58
|
+
coin(name: string): BaseCoin;
|
|
29
59
|
/**
|
|
30
60
|
* Return the current BitGo environment
|
|
31
61
|
*/
|
|
@@ -34,6 +64,11 @@ export declare abstract class BitGoAPI {
|
|
|
34
64
|
* Return the current auth version used for requests to the BitGo server
|
|
35
65
|
*/
|
|
36
66
|
getAuthVersion(): number;
|
|
67
|
+
/**
|
|
68
|
+
* Signs and sends a v2-authenticated request, then verifies the response HMAC.
|
|
69
|
+
* Extracted from the req.then override in requestPatch to keep that method readable.
|
|
70
|
+
*/
|
|
71
|
+
private _sendRequestWithHmac;
|
|
37
72
|
/**
|
|
38
73
|
* This is a patching function which can apply our authorization
|
|
39
74
|
* headers to any outbound request.
|
|
@@ -45,6 +80,7 @@ export declare abstract class BitGoAPI {
|
|
|
45
80
|
put(url: string): BitGoRequest;
|
|
46
81
|
del(url: string): BitGoRequest;
|
|
47
82
|
patch(url: string): BitGoRequest;
|
|
83
|
+
options(url: string): BitGoRequest;
|
|
48
84
|
/**
|
|
49
85
|
* Calculate the HMAC for the given key and message
|
|
50
86
|
* @param key {String} - the key to use for the HMAC
|
|
@@ -59,28 +95,34 @@ export declare abstract class BitGoAPI {
|
|
|
59
95
|
* @param timestamp request timestamp from `Date.now()`
|
|
60
96
|
* @param statusCode Only set for HTTP responses, leave blank for requests
|
|
61
97
|
* @param method request method
|
|
62
|
-
* @returns {string}
|
|
98
|
+
* @returns {string | Buffer}
|
|
63
99
|
*/
|
|
64
|
-
calculateHMACSubject
|
|
100
|
+
calculateHMACSubject<T extends string | Buffer = string>(params: CalculateHmacSubjectOptions<T>): T;
|
|
65
101
|
/**
|
|
66
102
|
* Calculate the HMAC for an HTTP request
|
|
67
103
|
*/
|
|
68
|
-
calculateRequestHMAC(
|
|
104
|
+
calculateRequestHMAC(params: CalculateRequestHmacOptions): string;
|
|
69
105
|
/**
|
|
70
106
|
* Calculate request headers with HMAC
|
|
71
107
|
*/
|
|
72
|
-
calculateRequestHeaders(
|
|
108
|
+
calculateRequestHeaders(params: CalculateRequestHeadersOptions): RequestHeaders;
|
|
109
|
+
/**
|
|
110
|
+
* Verify the HMAC for an HTTP response (synchronous, uses sdk-hmac directly).
|
|
111
|
+
* Kept for backward compatibility with external callers.
|
|
112
|
+
*/
|
|
113
|
+
verifyResponse(params: VerifyResponseOptions): VerifyResponseInfo;
|
|
73
114
|
/**
|
|
74
|
-
* Verify the HMAC for an HTTP response
|
|
115
|
+
* Verify the HMAC for an HTTP response via the configured strategy (async).
|
|
116
|
+
* Used internally by the request pipeline.
|
|
75
117
|
*/
|
|
76
|
-
|
|
118
|
+
verifyResponseAsync(params: VerifyResponseOptions): Promise<VerifyResponseInfo>;
|
|
77
119
|
/**
|
|
78
120
|
* Fetch useful constant values from the BitGo server.
|
|
79
121
|
* These values do change infrequently, so they need to be fetched,
|
|
80
122
|
* but are unlikely to change during the lifetime of a BitGo object,
|
|
81
123
|
* so they can safely cached.
|
|
82
124
|
*/
|
|
83
|
-
fetchConstants(): Promise<
|
|
125
|
+
fetchConstants(): Promise<Constants>;
|
|
84
126
|
/**
|
|
85
127
|
* Create a url for calling BitGo platform APIs
|
|
86
128
|
* @param path
|
|
@@ -105,13 +147,27 @@ export declare abstract class BitGoAPI {
|
|
|
105
147
|
*/
|
|
106
148
|
setRequestTracer(reqTracer: IRequestTracer): void;
|
|
107
149
|
/**
|
|
108
|
-
* Utility function to encrypt locally.
|
|
150
|
+
* Utility function to encrypt locally. Defaults to v2 (Argon2id + AES-256-GCM);
|
|
151
|
+
* pass `encryptionVersion: 1` to produce a legacy v1 (SJCL) envelope.
|
|
109
152
|
*/
|
|
110
|
-
encrypt(params: EncryptOptions): string
|
|
153
|
+
encrypt(params: EncryptOptions): Promise<string>;
|
|
111
154
|
/**
|
|
112
|
-
*
|
|
155
|
+
* Create an encryption session for multi-call operations.
|
|
156
|
+
* Runs Argon2id once; all subsequent calls derive keys via HKDF.
|
|
113
157
|
*/
|
|
114
|
-
|
|
158
|
+
createEncryptionSession(password: string): Promise<import("./encryptionSession").EncryptionSession>;
|
|
159
|
+
/**
|
|
160
|
+
* Decrypt an encrypted string locally. Auto-detects v1 (SJCL) or v2 (Argon2id).
|
|
161
|
+
*/
|
|
162
|
+
decrypt(params: DecryptOptions): Promise<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Attempt to decrypt multiple wallet keys with the provided passphrase.
|
|
165
|
+
* @param {DecryptKeysOptions} params - Parameters object containing wallet key pairs and password
|
|
166
|
+
* @param {Array<{walletId: string, encryptedPrv: string}>} params.walletIdEncryptedKeyPairs - Array of wallet ID and encrypted private key pairs
|
|
167
|
+
* @param {string} params.password - The passphrase to attempt decryption with
|
|
168
|
+
* @returns {Promise<string[]>} - Array of wallet IDs for which decryption failed
|
|
169
|
+
*/
|
|
170
|
+
decryptKeys(params: DecryptKeysOptions): Promise<string[]>;
|
|
115
171
|
/**
|
|
116
172
|
* Serialize this BitGo object to a JSON object.
|
|
117
173
|
*
|
|
@@ -135,21 +191,52 @@ export declare abstract class BitGoAPI {
|
|
|
135
191
|
* Process the username, password and otp into an object containing the username and hashed password, ready to
|
|
136
192
|
* send to bitgo for authentication.
|
|
137
193
|
*/
|
|
138
|
-
preprocessAuthenticationParams({ username, password, otp, forceSMS, extensible, trust, }: AuthenticateOptions): ProcessedAuthenticationOptions
|
|
194
|
+
preprocessAuthenticationParams({ username, password, otp, forceSMS, extensible, trust, forReset2FA, initialHash, fingerprintHash, }: AuthenticateOptions): Promise<ProcessedAuthenticationOptions>;
|
|
195
|
+
/**
|
|
196
|
+
* Validate the passkey response is in the expected format
|
|
197
|
+
* Should be as is returned from navigator.credentials.get()
|
|
198
|
+
*/
|
|
199
|
+
validatePasskeyResponse(passkeyResponse: string): void;
|
|
139
200
|
/**
|
|
140
201
|
* Synchronous method for activating an access token.
|
|
141
202
|
*/
|
|
142
203
|
authenticateWithAccessToken({ accessToken }: AccessTokenOptions): void;
|
|
204
|
+
/**
|
|
205
|
+
* Creates a new ECDH keychain for the user.
|
|
206
|
+
* @param {string} loginPassword - The user's login password.
|
|
207
|
+
* @returns {Promise<any>} - A promise that resolves with the new ECDH keychain data.
|
|
208
|
+
* @throws {Error} - Throws an error if there is an issue creating the keychain.
|
|
209
|
+
*/
|
|
210
|
+
createUserEcdhKeychain(loginPassword: string, encryptionVersion?: EncryptionVersion): Promise<any>;
|
|
211
|
+
/**
|
|
212
|
+
* Updates the user's settings with the provided parameters.
|
|
213
|
+
* @param {Object} params - The parameters to update the user's settings with.
|
|
214
|
+
* @returns {Promise<any>}
|
|
215
|
+
* @throws {Error} - Throws an error if there is an issue updating the user's settings.
|
|
216
|
+
*/
|
|
217
|
+
private updateUserSettings;
|
|
218
|
+
/**
|
|
219
|
+
* Ensures that the user's ECDH keychain is created for wallet sharing and TSS wallets.
|
|
220
|
+
* If the keychain does not exist, it will be created and the user's settings will be updated.
|
|
221
|
+
* @param {string} loginPassword - The user's login password.
|
|
222
|
+
* @returns {Promise<any>} - A promise that resolves with the user's settings ensuring we have the ecdhKeychain in there.
|
|
223
|
+
* @throws {Error} - Throws an error if there is an issue creating the keychain or updating the user's settings.
|
|
224
|
+
*/
|
|
225
|
+
private ensureUserEcdhKeychainIsCreated;
|
|
143
226
|
/**
|
|
144
227
|
* Login to the bitgo platform.
|
|
145
228
|
*/
|
|
146
|
-
authenticate(params: AuthenticateOptions): Promise<any>;
|
|
229
|
+
authenticate(params: AuthenticateOptions): Promise<LoginResponse | any>;
|
|
147
230
|
/**
|
|
148
|
-
*
|
|
231
|
+
* Login to the bitgo platform with passkey.
|
|
232
|
+
*/
|
|
233
|
+
authenticateWithPasskey(passkey: string, initialHash?: string, fingerprintHash?: string): Promise<LoginResponse | any>;
|
|
234
|
+
/**
|
|
235
|
+
* Decrypt an issued token (and the ECDH xprv when needed). Auto-detects v1/v2 envelopes.
|
|
149
236
|
* @param responseBody Response body object
|
|
150
237
|
* @param password Password for the symmetric decryption
|
|
151
238
|
*/
|
|
152
|
-
handleTokenIssuance(responseBody: TokenIssuanceResponse, password?: string): TokenIssuance
|
|
239
|
+
handleTokenIssuance(responseBody: TokenIssuanceResponse, password?: string): Promise<TokenIssuance>;
|
|
153
240
|
/**
|
|
154
241
|
*/
|
|
155
242
|
verifyPassword(params?: VerifyPasswordOptions): Promise<any>;
|
|
@@ -157,6 +244,7 @@ export declare abstract class BitGoAPI {
|
|
|
157
244
|
* Clear out all state from this BitGo object, effectively logging out the current user.
|
|
158
245
|
*/
|
|
159
246
|
clear(): void;
|
|
247
|
+
clearAsync(): Promise<void>;
|
|
160
248
|
/**
|
|
161
249
|
* Use refresh token to get new access token.
|
|
162
250
|
* If the refresh token is null/defined, then we use the stored token from auth
|
|
@@ -211,7 +299,7 @@ export declare abstract class BitGoAPI {
|
|
|
211
299
|
* unlock: <info for actions that require an unlock before firing>
|
|
212
300
|
* }
|
|
213
301
|
*/
|
|
214
|
-
addAccessToken(params: AddAccessTokenOptions): Promise<
|
|
302
|
+
addAccessToken(params: AddAccessTokenOptions): Promise<AddAccessTokenResponse>;
|
|
215
303
|
/**
|
|
216
304
|
* Sets the expire time of an access token matching either the id or label to the current date, effectively deleting it
|
|
217
305
|
*
|
|
@@ -289,6 +377,15 @@ export declare abstract class BitGoAPI {
|
|
|
289
377
|
* @param email email of user to share wallet with
|
|
290
378
|
*/
|
|
291
379
|
getSharingKey({ email }: GetSharingKeyOptions): Promise<any>;
|
|
380
|
+
/**
|
|
381
|
+
* Users that want to sign with a key will use this api to fetch the keychain and the path.
|
|
382
|
+
* Users that want to verify a signature will use this api to fetch another users ecdh pubkey.
|
|
383
|
+
* Note: If the user id is not provided, it will default to getting the current user's keychain.
|
|
384
|
+
* @param bitgo
|
|
385
|
+
* @param enterpriseId
|
|
386
|
+
* @param userId
|
|
387
|
+
*/
|
|
388
|
+
getSigningKeyForUser(enterpriseId: string, userId?: string): Promise<GetSigningKeyApi>;
|
|
292
389
|
/**
|
|
293
390
|
*
|
|
294
391
|
*/
|
|
@@ -297,5 +394,252 @@ export declare abstract class BitGoAPI {
|
|
|
297
394
|
*
|
|
298
395
|
*/
|
|
299
396
|
setValidate(validate: boolean): void;
|
|
397
|
+
/**
|
|
398
|
+
* Register a new coin instance with its builder factory
|
|
399
|
+
* @param {string} name coin name as it was registered in @bitgo/statics
|
|
400
|
+
* @param {CoinConstructor} coin the builder factory class for that coin
|
|
401
|
+
* @returns {void}
|
|
402
|
+
*/
|
|
403
|
+
register(name: string, coin: CoinConstructor): void;
|
|
404
|
+
/**
|
|
405
|
+
* Get bitcoin market data
|
|
406
|
+
*
|
|
407
|
+
* @deprecated
|
|
408
|
+
*/
|
|
409
|
+
markets(): any;
|
|
410
|
+
/**
|
|
411
|
+
* Get the latest bitcoin prices
|
|
412
|
+
* (Deprecated: Will be removed in the future) use `bitgo.markets().latest()`
|
|
413
|
+
* @deprecated
|
|
414
|
+
*/
|
|
415
|
+
market(): Promise<any>;
|
|
416
|
+
/**
|
|
417
|
+
* Get market data from yesterday
|
|
418
|
+
* (Deprecated: Will be removed in the future) use bitgo.markets().yesterday()
|
|
419
|
+
* @deprecated
|
|
420
|
+
*/
|
|
421
|
+
yesterday(): Promise<any>;
|
|
422
|
+
/**
|
|
423
|
+
* Get the blockchain object.
|
|
424
|
+
* @deprecated
|
|
425
|
+
*/
|
|
426
|
+
blockchain(): any;
|
|
427
|
+
/**
|
|
428
|
+
* Get the user's keychains object.
|
|
429
|
+
* @deprecated
|
|
430
|
+
*/
|
|
431
|
+
keychains(): any;
|
|
432
|
+
/**
|
|
433
|
+
* Get the travel rule object
|
|
434
|
+
* @deprecated
|
|
435
|
+
*/
|
|
436
|
+
travelRule(): any;
|
|
437
|
+
/**
|
|
438
|
+
* Get the user's wallets object.
|
|
439
|
+
* @deprecated
|
|
440
|
+
*/
|
|
441
|
+
wallets(): any;
|
|
442
|
+
/**
|
|
443
|
+
* Get pending approvals that can be approved/ or rejected
|
|
444
|
+
* @deprecated
|
|
445
|
+
*/
|
|
446
|
+
pendingApprovals(): any;
|
|
447
|
+
/**
|
|
448
|
+
* A factory method to create a new Wallet object, initialized with the wallet params
|
|
449
|
+
* Can be used to reconstitute a wallet from cached data
|
|
450
|
+
* @param walletParams
|
|
451
|
+
* @deprecated
|
|
452
|
+
*/
|
|
453
|
+
newWalletObject(walletParams: any): any;
|
|
454
|
+
/**
|
|
455
|
+
* V1 method for calculating miner fee amounts, given the number and
|
|
456
|
+
* type of transaction inputs, along with a fee rate in satoshis per vkB.
|
|
457
|
+
*
|
|
458
|
+
* This method should not be used for new code.
|
|
459
|
+
*
|
|
460
|
+
* @deprecated
|
|
461
|
+
* @param params
|
|
462
|
+
* @return {any}
|
|
463
|
+
*/
|
|
464
|
+
calculateMinerFeeInfo(params: any): Promise<any>;
|
|
465
|
+
/**
|
|
466
|
+
* Verify a Bitcoin address is a valid base58 address
|
|
467
|
+
* @deprecated
|
|
468
|
+
*/
|
|
469
|
+
verifyAddress(params?: DeprecatedVerifyAddressOptions): boolean;
|
|
470
|
+
/**
|
|
471
|
+
* Split a secret into shards using Shamir Secret Sharing.
|
|
472
|
+
* @param seed A hexadecimal secret to split
|
|
473
|
+
* @param passwords An array of the passwords used to encrypt each share
|
|
474
|
+
* @param m The threshold number of shards necessary to reconstitute the secret
|
|
475
|
+
* @param encryptionVersion Optional encryption version for the encrypted shards (defaults to v2)
|
|
476
|
+
*/
|
|
477
|
+
splitSecret({ seed, passwords, m, encryptionVersion }: SplitSecretOptions): Promise<SplitSecret>;
|
|
478
|
+
/**
|
|
479
|
+
* Reconstitute a secret which was sharded with `splitSecret`.
|
|
480
|
+
* @param shards
|
|
481
|
+
* @param passwords
|
|
482
|
+
*/
|
|
483
|
+
reconstituteSecret({ shards, passwords }: ReconstituteSecretOptions): Promise<ReconstitutedSecret>;
|
|
484
|
+
/**
|
|
485
|
+
* @param shards
|
|
486
|
+
* @param passwords
|
|
487
|
+
* @param m
|
|
488
|
+
* @param xpub Optional xpub to verify the results against
|
|
489
|
+
*/
|
|
490
|
+
verifyShards({ shards, passwords, m, xpub }: VerifyShardsOptions): Promise<boolean>;
|
|
491
|
+
/**
|
|
492
|
+
* @deprecated - use `getSharedSecret()`
|
|
493
|
+
*/
|
|
494
|
+
getECDHSecret({ otherPubKeyHex, eckey }: GetEcdhSecretOptions): string;
|
|
495
|
+
/**
|
|
496
|
+
* Gets the user's private ECDH keychain
|
|
497
|
+
*/
|
|
498
|
+
getECDHKeychain(ecdhKeychainPub?: string): Promise<any>;
|
|
499
|
+
/**
|
|
500
|
+
* Returns the user derived public and private ECDH keypair
|
|
501
|
+
* @param password password to decrypt the user's ECDH encrypted private key
|
|
502
|
+
* @param entId? optional enterprise id to check for permissions
|
|
503
|
+
*/
|
|
504
|
+
getEcdhKeypairPrivate(password: string, entId: string): Promise<EcdhDerivedKeypair>;
|
|
505
|
+
/**
|
|
506
|
+
* @param params
|
|
507
|
+
* - operatingSystem: one of ios, android
|
|
508
|
+
* - pushToken: hex-formatted token for the respective native push notification service
|
|
509
|
+
* @returns {*}
|
|
510
|
+
* @deprecated
|
|
511
|
+
*/
|
|
512
|
+
registerPushToken(params: RegisterPushTokenOptions): Promise<any>;
|
|
513
|
+
/**
|
|
514
|
+
* @param params
|
|
515
|
+
* - pushVerificationToken: the token received via push notification to confirm the device's mobility
|
|
516
|
+
* @deprecated
|
|
517
|
+
*/
|
|
518
|
+
verifyPushToken(params: VerifyPushTokenOptions): Promise<any>;
|
|
519
|
+
/**
|
|
520
|
+
* Login to the bitgo system using an authcode generated via Oauth
|
|
521
|
+
*/
|
|
522
|
+
authenticateWithAuthCode(params: AuthenticateWithAuthCodeOptions): Promise<any>;
|
|
523
|
+
/**
|
|
524
|
+
* Change the password of the currently logged in user.
|
|
525
|
+
* Also change all v1 and v2 keychain passwords if they match the
|
|
526
|
+
* given oldPassword. Returns nothing on success.
|
|
527
|
+
* @param oldPassword {String} - the current password
|
|
528
|
+
* @param newPassword {String} - the new password
|
|
529
|
+
*/
|
|
530
|
+
changePassword({ oldPassword, newPassword }: ChangePasswordOptions): Promise<any>;
|
|
531
|
+
/**
|
|
532
|
+
* Get all the address labels on all of the user's wallets
|
|
533
|
+
*
|
|
534
|
+
* @deprecated
|
|
535
|
+
*/
|
|
536
|
+
labels(): Promise<any>;
|
|
537
|
+
/**
|
|
538
|
+
* Estimates approximate fee per kb needed for a tx to get into a block
|
|
539
|
+
* @param {number} params.numBlocks target blocks for the transaction to be confirmed
|
|
540
|
+
* @param {number} params.maxFee maximum fee willing to be paid (for safety)
|
|
541
|
+
* @param {array[string]} params.inputs list of unconfirmed txIds from which this transaction uses inputs
|
|
542
|
+
* @param {number} params.txSize estimated transaction size in bytes, optional parameter used for CPFP estimation.
|
|
543
|
+
* @param {boolean} params.cpfpAware flag indicating fee should take into account CPFP
|
|
544
|
+
* @deprecated
|
|
545
|
+
*/
|
|
546
|
+
estimateFee(params?: EstimateFeeOptions): Promise<any>;
|
|
547
|
+
/**
|
|
548
|
+
* Get BitGo's guarantee using an instant id
|
|
549
|
+
* @param params
|
|
550
|
+
* @deprecated
|
|
551
|
+
*/
|
|
552
|
+
instantGuarantee(params: {
|
|
553
|
+
id: string;
|
|
554
|
+
}): Promise<any>;
|
|
555
|
+
/**
|
|
556
|
+
* Get a target address for payment of a BitGo fee
|
|
557
|
+
* @deprecated
|
|
558
|
+
*/
|
|
559
|
+
getBitGoFeeAddress(): Promise<any>;
|
|
560
|
+
/**
|
|
561
|
+
* Gets an address object (including the wallet id) for a given address.
|
|
562
|
+
* @param {string} params.address The address to look up.
|
|
563
|
+
* @deprecated
|
|
564
|
+
*/
|
|
565
|
+
getWalletAddress({ address }: {
|
|
566
|
+
address: string;
|
|
567
|
+
}): Promise<any>;
|
|
568
|
+
/**
|
|
569
|
+
* Fetch list of user webhooks
|
|
570
|
+
*
|
|
571
|
+
* @returns {*}
|
|
572
|
+
* @deprecated
|
|
573
|
+
*/
|
|
574
|
+
listWebhooks(): Promise<any>;
|
|
575
|
+
/**
|
|
576
|
+
* Add new user webhook
|
|
577
|
+
*
|
|
578
|
+
* @param params
|
|
579
|
+
* @returns {*}
|
|
580
|
+
* @deprecated
|
|
581
|
+
*/
|
|
582
|
+
addWebhook(params: WebhookOptions): Promise<any>;
|
|
583
|
+
/**
|
|
584
|
+
* Remove user webhook
|
|
585
|
+
*
|
|
586
|
+
* @param params
|
|
587
|
+
* @returns {*}
|
|
588
|
+
* @deprecated
|
|
589
|
+
*/
|
|
590
|
+
removeWebhook(params: WebhookOptions): Promise<any>;
|
|
591
|
+
/**
|
|
592
|
+
* Fetch list of webhook notifications for the user
|
|
593
|
+
*
|
|
594
|
+
* @param params
|
|
595
|
+
* @returns {*}
|
|
596
|
+
*/
|
|
597
|
+
listWebhookNotifications(params?: ListWebhookNotificationsOptions): Promise<any>;
|
|
598
|
+
/**
|
|
599
|
+
* Simulate a user webhook
|
|
600
|
+
*
|
|
601
|
+
* @param params
|
|
602
|
+
* @returns {*}
|
|
603
|
+
*/
|
|
604
|
+
simulateWebhook(params: BitGoSimulateWebhookOptions): Promise<any>;
|
|
605
|
+
/**
|
|
606
|
+
* Synchronously get constants which are relevant to the client.
|
|
607
|
+
*
|
|
608
|
+
* Note: This function has a known race condition. It may return different values over time,
|
|
609
|
+
* especially if called shortly after creation of the BitGo object.
|
|
610
|
+
*
|
|
611
|
+
* New code should call fetchConstants() directly instead.
|
|
612
|
+
*
|
|
613
|
+
* @deprecated
|
|
614
|
+
* @return {Object} The client constants object
|
|
615
|
+
*/
|
|
616
|
+
getConstants(): any;
|
|
617
|
+
/**
|
|
618
|
+
* Execute an asset request which does not need HMAC validation
|
|
619
|
+
* @param url The URL for the asset request
|
|
620
|
+
* @returns {Promise<any>} The response body
|
|
621
|
+
*/
|
|
622
|
+
protected executeAssetRequest(url: string): Promise<any>;
|
|
623
|
+
/**
|
|
624
|
+
* Pack keychains into batches using First Fit Decreasing (FFD) algorithm.
|
|
625
|
+
*
|
|
626
|
+
* @param keychains - V1 keychains
|
|
627
|
+
* @param v2Keychains - V2 keychains
|
|
628
|
+
* @param maxBatchSizeBytes - Maximum byte size per batch
|
|
629
|
+
* @private
|
|
630
|
+
*/
|
|
631
|
+
private packKeychainsFFD;
|
|
632
|
+
/**
|
|
633
|
+
* Process keychain password updates in batches with retry logic.
|
|
634
|
+
* Uses First Fit Decreasing (FFD) bin packing to ensure no batch exceeds
|
|
635
|
+
* maxBatchSizeKB
|
|
636
|
+
*
|
|
637
|
+
* @param keychains - The v1 keychains to update
|
|
638
|
+
* @param v2Keychains - The v2 keychains to update
|
|
639
|
+
* @param maxBatchSizeKB - Maximum payload size per batch in kilobytes
|
|
640
|
+
* @param maxRetries - Maximum number of retries per batch
|
|
641
|
+
* @private
|
|
642
|
+
*/
|
|
643
|
+
private processKeychainPasswordUpdatesInBatches;
|
|
300
644
|
}
|
|
301
645
|
//# sourceMappingURL=bitgoAPI.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitgoAPI.d.ts","sourceRoot":"","sources":["../../src/bitgoAPI.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3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