@bitgo-beta/sdk-api 1.10.1-beta.216 → 1.10.1-beta.2160
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 +23 -28
- package/dist/src/api.d.ts +18 -6
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +151 -72
- package/dist/src/bitgoAPI.d.ts +134 -31
- package/dist/src/bitgoAPI.d.ts.map +1 -1
- package/dist/src/bitgoAPI.js +863 -346
- package/dist/src/decryptV1.d.ts +51 -0
- package/dist/src/decryptV1.d.ts.map +1 -0
- package/dist/src/decryptV1.js +107 -0
- package/dist/src/encrypt.d.ts +17 -6
- package/dist/src/encrypt.d.ts.map +1 -1
- package/dist/src/encrypt.js +88 -15
- package/dist/src/encryptV2.d.ts +67 -0
- package/dist/src/encryptV2.d.ts.map +1 -0
- package/dist/src/encryptV2.js +234 -0
- package/dist/src/encryptionSession.d.ts +63 -0
- package/dist/src/encryptionSession.d.ts.map +1 -0
- package/dist/src/encryptionSession.js +140 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +10 -2
- package/dist/src/tlsPolicy.d.ts +47 -0
- package/dist/src/tlsPolicy.d.ts.map +1 -0
- package/dist/src/tlsPolicy.js +179 -0
- package/dist/src/types.d.ts +106 -43
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +4 -2
- package/dist/src/util.d.ts +12 -0
- package/dist/src/util.d.ts.map +1 -1
- package/dist/src/util.js +57 -4
- package/dist/src/v1/blockchain.js +25 -12
- package/dist/src/v1/keychains.js +52 -26
- package/dist/src/v1/markets.js +10 -5
- package/dist/src/v1/pendingapproval.d.ts.map +1 -1
- package/dist/src/v1/pendingapproval.js +57 -18
- package/dist/src/v1/pendingapprovals.d.ts.map +1 -1
- package/dist/src/v1/pendingapprovals.js +41 -7
- 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.js +221 -91
- package/dist/src/v1/travelRule.js +125 -66
- 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.map +1 -1
- package/dist/src/v1/wallet.js +498 -230
- package/dist/src/v1/wallets.js +118 -53
- 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 +331 -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 +1384 -0
- package/dist/test/unit/decryptV1.d.ts +2 -0
- package/dist/test/unit/decryptV1.d.ts.map +1 -0
- package/dist/test/unit/decryptV1.js +168 -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 +544 -0
- package/dist/test/unit/fixtures/keycard.d.ts +25 -0
- package/dist/test/unit/fixtures/keycard.d.ts.map +1 -0
- package/dist/test/unit/fixtures/keycard.js +28 -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 +169 -0
- package/dist/test/unit/serializeRequestDataIntegration.d.ts +2 -0
- package/dist/test/unit/serializeRequestDataIntegration.d.ts.map +1 -0
- package/dist/test/unit/serializeRequestDataIntegration.js +115 -0
- package/dist/test/unit/tlsPolicy.d.ts +2 -0
- package/dist/test/unit/tlsPolicy.d.ts.map +1 -0
- package/dist/test/unit/tlsPolicy.js +450 -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/keychains.d.ts +2 -0
- package/dist/test/unit/v1/keychains.d.ts.map +1 -0
- package/dist/test/unit/v1/keychains.js +114 -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 +1717 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +23 -28
- package/.eslintignore +0 -5
- package/CHANGELOG.md +0 -639
- package/dist/web/main.js +0 -2
- package/dist/web/main.js.LICENSE.txt +0 -110
package/dist/src/bitgoAPI.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { BaseCoin, BitGoBase, BitGoRequest, CoinConstructor, DecryptOptions, EcdhDerivedKeypair, EncryptOptions, EnvironmentName, GetSharingKeyOptions, GetSigningKeyApi, IRequestTracer } from '@bitgo-beta/sdk-core';
|
|
1
|
+
import { BaseCoin, BitGoBase, BitGoRequest, type BitGoApiV1Wallets, CoinConstructor, DecryptKeysOptions, DecryptOptions, EcdhDerivedKeypair, EncryptionVersion, EncryptOptions, EnvironmentName, GetSharingKeyOptions, GetSigningKeyApi, IEncryptionSession, IRequestTracer } from '@bitgo-beta/sdk-core';
|
|
2
|
+
import { type IHmacAuthStrategy } from '@bitgo-beta/sdk-hmac';
|
|
2
3
|
import { ECPairInterface } from '@bitgo-beta/utxo-lib';
|
|
3
4
|
import * as superagent from 'superagent';
|
|
4
|
-
import { AccessTokenOptions, AddAccessTokenOptions, AddAccessTokenResponse, AuthenticateOptions, AuthenticateWithAuthCodeOptions, BitGoAPIOptions, BitGoJson, BitGoSimulateWebhookOptions, CalculateHmacSubjectOptions, CalculateRequestHeadersOptions, CalculateRequestHmacOptions, ChangePasswordOptions, DeprecatedVerifyAddressOptions, EstimateFeeOptions, ExtendTokenOptions, GetEcdhSecretOptions, GetUserOptions, ListWebhookNotificationsOptions, LoginResponse, PingOptions, ProcessedAuthenticationOptions, ReconstitutedSecret, ReconstituteSecretOptions, RegisterPushTokenOptions, RemoveAccessTokenOptions, RequestHeaders, SplitSecret, SplitSecretOptions, TokenIssuance, TokenIssuanceResponse, UnlockOptions, User, VerifyPasswordOptions, VerifyPushTokenOptions, VerifyResponseInfo, VerifyResponseOptions, VerifyShardsOptions, WebhookOptions } from './types';
|
|
5
|
-
|
|
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
|
+
/** Re-export of the deprecated **v1** wallets facade type (`bitgo.wallets()`). Not v2 `IWallets`. */
|
|
7
|
+
export type { BitGoApiV1Wallets } from '@bitgo-beta/sdk-core';
|
|
6
8
|
export declare class BitGoAPI implements BitGoBase {
|
|
7
9
|
protected _keychains: any;
|
|
8
|
-
protected _wallets:
|
|
10
|
+
protected _wallets: BitGoApiV1Wallets | null;
|
|
9
11
|
protected _markets?: any;
|
|
10
12
|
protected _blockchain?: any;
|
|
11
13
|
protected _travelRule?: any;
|
|
@@ -17,9 +19,12 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
17
19
|
protected readonly _baseUrl: string;
|
|
18
20
|
protected readonly _baseApiUrl: string;
|
|
19
21
|
protected readonly _baseApiUrlV2: string;
|
|
22
|
+
protected readonly _baseApiUrlV3: string;
|
|
20
23
|
protected readonly _env: EnvironmentName;
|
|
21
24
|
protected readonly _authVersion: Exclude<BitGoAPIOptions['authVersion'], undefined>;
|
|
22
25
|
protected _hmacVerification: boolean;
|
|
26
|
+
protected readonly _hmacMethodBinding: boolean;
|
|
27
|
+
protected readonly _upgradeEncryptionOnSign: boolean;
|
|
23
28
|
protected readonly _proxy?: string;
|
|
24
29
|
protected _user?: User;
|
|
25
30
|
protected _extensionKey?: ECPairInterface;
|
|
@@ -33,13 +38,24 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
33
38
|
protected readonly _clientSecret?: string;
|
|
34
39
|
protected _validate: boolean;
|
|
35
40
|
readonly cookiesPropagationEnabled: boolean;
|
|
41
|
+
private _customProxyAgent?;
|
|
42
|
+
private _tlsPolicy?;
|
|
43
|
+
private _requestIdPrefix?;
|
|
44
|
+
private getAdditionalHeadersCb?;
|
|
45
|
+
protected _hmacAuthStrategy: IHmacAuthStrategy;
|
|
36
46
|
constructor(params?: BitGoAPIOptions);
|
|
47
|
+
/**
|
|
48
|
+
* Initialize client constants if provided.
|
|
49
|
+
* @param clientConstants - The client constants from params
|
|
50
|
+
* @private
|
|
51
|
+
*/
|
|
52
|
+
private _initializeClientConstants;
|
|
37
53
|
/**
|
|
38
54
|
* Get a superagent request for specified http method and URL configured to the SDK configuration
|
|
39
55
|
* @param method - http method for the new request
|
|
40
56
|
* @param url - URL for the new request
|
|
41
57
|
*/
|
|
42
|
-
protected getAgentRequest(method:
|
|
58
|
+
protected getAgentRequest(method: RequestMethods, url: string): superagent.SuperAgentRequest;
|
|
43
59
|
/**
|
|
44
60
|
* Create a basecoin object
|
|
45
61
|
* @param name
|
|
@@ -49,10 +65,20 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
49
65
|
* Return the current BitGo environment
|
|
50
66
|
*/
|
|
51
67
|
getEnv(): EnvironmentName;
|
|
68
|
+
/**
|
|
69
|
+
* Whether signing with your wallet passphrase upgrades the stored encryption of your user key
|
|
70
|
+
* to the latest format when the call does not set `upgradeEncryption`.
|
|
71
|
+
*/
|
|
72
|
+
isUpgradeEncryptionOnSignEnabled(): boolean;
|
|
52
73
|
/**
|
|
53
74
|
* Return the current auth version used for requests to the BitGo server
|
|
54
75
|
*/
|
|
55
76
|
getAuthVersion(): number;
|
|
77
|
+
/**
|
|
78
|
+
* Signs and sends a v2-authenticated request, then verifies the response HMAC.
|
|
79
|
+
* Extracted from the req.then override in requestPatch to keep that method readable.
|
|
80
|
+
*/
|
|
81
|
+
private _sendRequestWithHmac;
|
|
56
82
|
/**
|
|
57
83
|
* This is a patching function which can apply our authorization
|
|
58
84
|
* headers to any outbound request.
|
|
@@ -64,6 +90,7 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
64
90
|
put(url: string): BitGoRequest;
|
|
65
91
|
del(url: string): BitGoRequest;
|
|
66
92
|
patch(url: string): BitGoRequest;
|
|
93
|
+
options(url: string): BitGoRequest;
|
|
67
94
|
/**
|
|
68
95
|
* Calculate the HMAC for the given key and message
|
|
69
96
|
* @param key {String} - the key to use for the HMAC
|
|
@@ -78,28 +105,34 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
78
105
|
* @param timestamp request timestamp from `Date.now()`
|
|
79
106
|
* @param statusCode Only set for HTTP responses, leave blank for requests
|
|
80
107
|
* @param method request method
|
|
81
|
-
* @returns {string}
|
|
108
|
+
* @returns {string | Buffer}
|
|
82
109
|
*/
|
|
83
|
-
calculateHMACSubject
|
|
110
|
+
calculateHMACSubject<T extends string | Buffer = string>(params: CalculateHmacSubjectOptions<T>): T;
|
|
84
111
|
/**
|
|
85
112
|
* Calculate the HMAC for an HTTP request
|
|
86
113
|
*/
|
|
87
|
-
calculateRequestHMAC(
|
|
114
|
+
calculateRequestHMAC(params: CalculateRequestHmacOptions): string;
|
|
88
115
|
/**
|
|
89
116
|
* Calculate request headers with HMAC
|
|
90
117
|
*/
|
|
91
|
-
calculateRequestHeaders(
|
|
118
|
+
calculateRequestHeaders(params: CalculateRequestHeadersOptions): RequestHeaders;
|
|
119
|
+
/**
|
|
120
|
+
* Verify the HMAC for an HTTP response (synchronous, uses sdk-hmac directly).
|
|
121
|
+
* Kept for backward compatibility with external callers.
|
|
122
|
+
*/
|
|
123
|
+
verifyResponse(params: VerifyResponseOptions): VerifyResponseInfo;
|
|
92
124
|
/**
|
|
93
|
-
* Verify the HMAC for an HTTP response
|
|
125
|
+
* Verify the HMAC for an HTTP response via the configured strategy (async).
|
|
126
|
+
* Used internally by the request pipeline.
|
|
94
127
|
*/
|
|
95
|
-
|
|
128
|
+
verifyResponseAsync(params: VerifyResponseOptions): Promise<VerifyResponseInfo>;
|
|
96
129
|
/**
|
|
97
130
|
* Fetch useful constant values from the BitGo server.
|
|
98
131
|
* These values do change infrequently, so they need to be fetched,
|
|
99
132
|
* but are unlikely to change during the lifetime of a BitGo object,
|
|
100
133
|
* so they can safely cached.
|
|
101
134
|
*/
|
|
102
|
-
fetchConstants(): Promise<
|
|
135
|
+
fetchConstants(): Promise<Constants>;
|
|
103
136
|
/**
|
|
104
137
|
* Create a url for calling BitGo platform APIs
|
|
105
138
|
* @param path
|
|
@@ -124,13 +157,30 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
124
157
|
*/
|
|
125
158
|
setRequestTracer(reqTracer: IRequestTracer): void;
|
|
126
159
|
/**
|
|
127
|
-
* Utility function to encrypt locally.
|
|
160
|
+
* Utility function to encrypt locally. Defaults to v2 (Argon2id + AES-256-GCM);
|
|
161
|
+
* pass `encryptionVersion: 1` to produce a legacy v1 (SJCL) envelope.
|
|
128
162
|
*/
|
|
129
|
-
encrypt(params: EncryptOptions): string
|
|
163
|
+
encrypt(params: EncryptOptions): Promise<string>;
|
|
130
164
|
/**
|
|
131
|
-
*
|
|
165
|
+
* Create an encryption session for multi-call operations.
|
|
166
|
+
*
|
|
167
|
+
* v2 (default): runs Argon2id once, all subsequent calls derive per-envelope AES keys via HKDF.
|
|
168
|
+
* v1: returns a shim that satisfies the same interface but runs SJCL PBKDF2 per call. Lets
|
|
169
|
+
* callers that must produce v1 envelopes use the same factory as v2 callers.
|
|
170
|
+
*/
|
|
171
|
+
createEncryptionSession(password: string, encryptionVersion?: EncryptionVersion): Promise<IEncryptionSession>;
|
|
172
|
+
/**
|
|
173
|
+
* Decrypt an encrypted string locally. Auto-detects v1 (SJCL) or v2 (Argon2id).
|
|
174
|
+
*/
|
|
175
|
+
decrypt(params: DecryptOptions): Promise<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Attempt to decrypt multiple wallet keys with the provided passphrase.
|
|
178
|
+
* @param {DecryptKeysOptions} params - Parameters object containing wallet key pairs and password
|
|
179
|
+
* @param {Array<{walletId: string, encryptedPrv: string}>} params.walletIdEncryptedKeyPairs - Array of wallet ID and encrypted private key pairs
|
|
180
|
+
* @param {string} params.password - The passphrase to attempt decryption with
|
|
181
|
+
* @returns {Promise<string[]>} - Array of wallet IDs for which decryption failed
|
|
132
182
|
*/
|
|
133
|
-
|
|
183
|
+
decryptKeys(params: DecryptKeysOptions): Promise<string[]>;
|
|
134
184
|
/**
|
|
135
185
|
* Serialize this BitGo object to a JSON object.
|
|
136
186
|
*
|
|
@@ -154,7 +204,12 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
154
204
|
* Process the username, password and otp into an object containing the username and hashed password, ready to
|
|
155
205
|
* send to bitgo for authentication.
|
|
156
206
|
*/
|
|
157
|
-
preprocessAuthenticationParams({ username, password, otp, forceSMS, extensible, trust, }: AuthenticateOptions): ProcessedAuthenticationOptions
|
|
207
|
+
preprocessAuthenticationParams({ username, password, otp, forceSMS, extensible, trust, forReset2FA, initialHash, fingerprintHash, }: AuthenticateOptions): Promise<ProcessedAuthenticationOptions>;
|
|
208
|
+
/**
|
|
209
|
+
* Validate the passkey response is in the expected format
|
|
210
|
+
* Should be as is returned from navigator.credentials.get()
|
|
211
|
+
*/
|
|
212
|
+
validatePasskeyResponse(passkeyResponse: string): void;
|
|
158
213
|
/**
|
|
159
214
|
* Synchronous method for activating an access token.
|
|
160
215
|
*/
|
|
@@ -165,7 +220,7 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
165
220
|
* @returns {Promise<any>} - A promise that resolves with the new ECDH keychain data.
|
|
166
221
|
* @throws {Error} - Throws an error if there is an issue creating the keychain.
|
|
167
222
|
*/
|
|
168
|
-
createUserEcdhKeychain(loginPassword: string): Promise<any>;
|
|
223
|
+
createUserEcdhKeychain(loginPassword: string, encryptionVersion?: EncryptionVersion): Promise<any>;
|
|
169
224
|
/**
|
|
170
225
|
* Updates the user's settings with the provided parameters.
|
|
171
226
|
* @param {Object} params - The parameters to update the user's settings with.
|
|
@@ -186,11 +241,15 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
186
241
|
*/
|
|
187
242
|
authenticate(params: AuthenticateOptions): Promise<LoginResponse | any>;
|
|
188
243
|
/**
|
|
189
|
-
*
|
|
244
|
+
* Login to the bitgo platform with passkey.
|
|
245
|
+
*/
|
|
246
|
+
authenticateWithPasskey(passkey: string, initialHash?: string, fingerprintHash?: string): Promise<LoginResponse | any>;
|
|
247
|
+
/**
|
|
248
|
+
* Decrypt an issued token (and the ECDH xprv when needed). Auto-detects v1/v2 envelopes.
|
|
190
249
|
* @param responseBody Response body object
|
|
191
250
|
* @param password Password for the symmetric decryption
|
|
192
251
|
*/
|
|
193
|
-
handleTokenIssuance(responseBody: TokenIssuanceResponse, password?: string): TokenIssuance
|
|
252
|
+
handleTokenIssuance(responseBody: TokenIssuanceResponse, password?: string): Promise<TokenIssuance>;
|
|
194
253
|
/**
|
|
195
254
|
*/
|
|
196
255
|
verifyPassword(params?: VerifyPasswordOptions): Promise<any>;
|
|
@@ -198,6 +257,7 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
198
257
|
* Clear out all state from this BitGo object, effectively logging out the current user.
|
|
199
258
|
*/
|
|
200
259
|
clear(): void;
|
|
260
|
+
clearAsync(): Promise<void>;
|
|
201
261
|
/**
|
|
202
262
|
* Use refresh token to get new access token.
|
|
203
263
|
* If the refresh token is null/defined, then we use the stored token from auth
|
|
@@ -388,10 +448,14 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
388
448
|
*/
|
|
389
449
|
travelRule(): any;
|
|
390
450
|
/**
|
|
391
|
-
* Get the user's wallets object.
|
|
392
|
-
*
|
|
451
|
+
* Get the user's **v1** wallets object (`modules/sdk-api/src/v1/wallets.ts`).
|
|
452
|
+
*
|
|
453
|
+
* Returns {@link BitGoApiV1Wallets}. This is **not** the v2 wallets API —
|
|
454
|
+
* for coin wallets use `this.coin(coinName).wallets()` ({@link IWallets}).
|
|
455
|
+
*
|
|
456
|
+
* @deprecated Prefer `coin(coinName).wallets()`.
|
|
393
457
|
*/
|
|
394
|
-
wallets():
|
|
458
|
+
wallets(): BitGoApiV1Wallets;
|
|
395
459
|
/**
|
|
396
460
|
* Get pending approvals that can be approved/ or rejected
|
|
397
461
|
* @deprecated
|
|
@@ -425,22 +489,22 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
425
489
|
* @param seed A hexadecimal secret to split
|
|
426
490
|
* @param passwords An array of the passwords used to encrypt each share
|
|
427
491
|
* @param m The threshold number of shards necessary to reconstitute the secret
|
|
492
|
+
* @param encryptionVersion Optional encryption version for the encrypted shards (defaults to v2)
|
|
428
493
|
*/
|
|
429
|
-
splitSecret({ seed, passwords, m }: SplitSecretOptions): SplitSecret
|
|
494
|
+
splitSecret({ seed, passwords, m, encryptionVersion }: SplitSecretOptions): Promise<SplitSecret>;
|
|
430
495
|
/**
|
|
431
496
|
* Reconstitute a secret which was sharded with `splitSecret`.
|
|
432
497
|
* @param shards
|
|
433
498
|
* @param passwords
|
|
434
499
|
*/
|
|
435
|
-
reconstituteSecret({ shards, passwords }: ReconstituteSecretOptions): ReconstitutedSecret
|
|
500
|
+
reconstituteSecret({ shards, passwords }: ReconstituteSecretOptions): Promise<ReconstitutedSecret>;
|
|
436
501
|
/**
|
|
437
|
-
*
|
|
438
502
|
* @param shards
|
|
439
503
|
* @param passwords
|
|
440
504
|
* @param m
|
|
441
505
|
* @param xpub Optional xpub to verify the results against
|
|
442
506
|
*/
|
|
443
|
-
verifyShards({ shards, passwords, m, xpub }: VerifyShardsOptions): boolean
|
|
507
|
+
verifyShards({ shards, passwords, m, xpub }: VerifyShardsOptions): Promise<boolean>;
|
|
444
508
|
/**
|
|
445
509
|
* @deprecated - use `getSharedSecret()`
|
|
446
510
|
*/
|
|
@@ -448,7 +512,9 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
448
512
|
/**
|
|
449
513
|
* Gets the user's private ECDH keychain
|
|
450
514
|
*/
|
|
451
|
-
getECDHKeychain(ecdhKeychainPub?: string
|
|
515
|
+
getECDHKeychain(ecdhKeychainPub?: string, options?: {
|
|
516
|
+
allowMissing?: boolean;
|
|
517
|
+
}): Promise<any | undefined>;
|
|
452
518
|
/**
|
|
453
519
|
* Returns the user derived public and private ECDH keypair
|
|
454
520
|
* @param password password to decrypt the user's ECDH encrypted private key
|
|
@@ -479,8 +545,19 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
479
545
|
* given oldPassword. Returns nothing on success.
|
|
480
546
|
* @param oldPassword {String} - the current password
|
|
481
547
|
* @param newPassword {String} - the new password
|
|
482
|
-
|
|
483
|
-
|
|
548
|
+
* @param encryptionVersion {EncryptionVersion} - optional envelope version for the re-encrypted keychains;
|
|
549
|
+
* defaults to preserving each keychain's existing envelope version
|
|
550
|
+
* @param progressCallback {PasswordRotationProgressCallback} - optional observer for rotation progress.
|
|
551
|
+
* Invoked synchronously and never awaited; an exception thrown by the callback is swallowed, so it can
|
|
552
|
+
* never change the outcome of the rotation. Events, in order: `keychains/started`, one `keychains/updated`
|
|
553
|
+
* per listed keychain record (`updated` or `skipped`), then `finalizing/started` and `finalizing/completed`
|
|
554
|
+
* (only after the final request succeeds). `total` is the backend's first-page `totalCount` plus the size of
|
|
555
|
+
* the v1 keychain set; it stays `undefined` while the backend supplies no count, except that an account with
|
|
556
|
+
* only v1 keychains receives one terminal `keychains/updated` event carrying the v1 set size. Consumers should
|
|
557
|
+
* render indeterminate progress while `total` is `undefined`. `completed` reaches `total` unless keychains are
|
|
558
|
+
* added or removed during the rotation, because `total` is latched from the first v2 page.
|
|
559
|
+
*/
|
|
560
|
+
changePassword({ oldPassword, newPassword, encryptionVersion, progressCallback, }: ChangePasswordOptions): Promise<any>;
|
|
484
561
|
/**
|
|
485
562
|
* Get all the address labels on all of the user's wallets
|
|
486
563
|
*
|
|
@@ -567,6 +644,32 @@ export declare class BitGoAPI implements BitGoBase {
|
|
|
567
644
|
* @return {Object} The client constants object
|
|
568
645
|
*/
|
|
569
646
|
getConstants(): any;
|
|
647
|
+
/**
|
|
648
|
+
* Execute an asset request which does not need HMAC validation
|
|
649
|
+
* @param url The URL for the asset request
|
|
650
|
+
* @returns {Promise<any>} The response body
|
|
651
|
+
*/
|
|
652
|
+
protected executeAssetRequest(url: string): Promise<any>;
|
|
653
|
+
/**
|
|
654
|
+
* Pack keychains into batches using First Fit Decreasing (FFD) algorithm.
|
|
655
|
+
*
|
|
656
|
+
* @param keychains - V1 keychains
|
|
657
|
+
* @param v2Keychains - V2 keychains
|
|
658
|
+
* @param maxBatchSizeBytes - Maximum byte size per batch
|
|
659
|
+
* @private
|
|
660
|
+
*/
|
|
661
|
+
private packKeychainsFFD;
|
|
662
|
+
/**
|
|
663
|
+
* Process keychain password updates in batches with retry logic.
|
|
664
|
+
* Uses First Fit Decreasing (FFD) bin packing to ensure no batch exceeds
|
|
665
|
+
* maxBatchSizeKB
|
|
666
|
+
*
|
|
667
|
+
* @param keychains - The v1 keychains to update
|
|
668
|
+
* @param v2Keychains - The v2 keychains to update
|
|
669
|
+
* @param maxBatchSizeKB - Maximum payload size per batch in kilobytes
|
|
670
|
+
* @param maxRetries - Maximum number of retries per batch
|
|
671
|
+
* @private
|
|
672
|
+
*/
|
|
673
|
+
private processKeychainPasswordUpdatesInBatches;
|
|
570
674
|
}
|
|
571
|
-
export {};
|
|
572
675
|
//# sourceMappingURL=bitgoAPI.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitgoAPI.d.ts","sourceRoot":"","sources":["../../src/bitgoAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAER,SAAS,EACT,YAAY,EACZ,eAAe,EAEf,cAAc,EAEd,kBAAkB,EAClB,cAAc,EACd,eAAe,
|
|
1
|
+
{"version":3,"file":"bitgoAPI.d.ts","sourceRoot":"","sources":["../../src/bitgoAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAER,SAAS,EACT,YAAY,EACZ,KAAK,iBAAiB,EACtB,eAAe,EAEf,kBAAkB,EAClB,cAAc,EAEd,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,eAAe,EAIf,oBAAoB,EACpB,gBAAgB,EAEhB,kBAAkB,EAClB,cAAc,EAGf,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAA2B,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEvF,OAAO,EAAS,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAM9D,OAAO,KAAK,UAAU,MAAM,YAAY,CAAC;AAYzC,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EAEtB,mBAAmB,EACnB,+BAA+B,EAC/B,eAAe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