Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Add url and provider as constructor args for hdwallet
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplantzzz committed Nov 4, 2021
1 parent f470bba commit 72b2760
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/hdwallet-provider/src/constructor/Constructor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type {
Mnemonic,
MnemonicPhrase,
PrivateKey,
Provider,
ProviderOrUrl,
AddressIndex,
NumberOfAddresses,
Expand Down Expand Up @@ -38,7 +39,9 @@ export type InputSigningAuthority =
| PrivateKeysSigningAuthority;

export interface CommonOptions {
providerOrUrl: ProviderOrUrl;
providerOrUrl?: ProviderOrUrl;
provider?: Provider;
url?: string;
addressIndex?: AddressIndex;
numberOfAddresses?: NumberOfAddresses;
shareNonce?: ShareNonce;
Expand Down

0 comments on commit 72b2760

Please sign in to comment.