Skip to content

Commit 819bd1a

Browse files
fix: typing issue on getSignerFromPrivateKey, providers option is optional (#464)
1 parent 3609370 commit 819bd1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/modules/utils.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ const iexec = new IExec({ ethProvider });
186186
| `options.allowExperimentalNetworks?` | `boolean` | if true allows using a provider connected to an experimental networks (default false) ⚠️ experimental networks are networks on which the iExec's stack is partially deployed, experimental networks can be subject to instabilities or discontinuity. Access is provided without warranties. |
187187
| `options.gasPrice?` | `string` \| `number` \| `bigint` | gas price override |
188188
| `options.getTransactionCount?` | (`blockTag?`: `BlockTag`) => `Promise`<`number`\> | nonce override |
189-
| `options.providers` | [`ProviderOptions`](../interfaces/ProviderOptions.md) | providers options |
189+
| `options.providers?` | [`ProviderOptions`](../interfaces/ProviderOptions.md) | providers options |
190190

191191
#### Returns
192192

src/lib/utils.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const getSignerFromPrivateKey: (
4141
/**
4242
* providers options
4343
*/
44-
providers: ProviderOptions;
44+
providers?: ProviderOptions;
4545
/**
4646
* if true allows using a provider connected to an experimental networks (default false)
4747
*

0 commit comments

Comments
 (0)