Skip to content

Commit

Permalink
Give headers option for Faucet Client
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajames committed Sep 20, 2023
1 parent 74cb1af commit 09384a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions v4-client-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v4-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-client-js",
"version": "0.36.1",
"version": "0.36.2",
"description": "General client library for the new dYdX system (v4 decentralized)",
"main": "build/src/index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions v4-client-js/src/clients/faucet-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export class FaucetClient extends RestClient {
address: string,
subaccountNumber: number,
amount: number,
headers?: {},
): Promise<Response> {
const uri = '/faucet/tokens';

Expand All @@ -22,6 +23,7 @@ export class FaucetClient extends RestClient {
subaccountNumber,
amount,
},
headers,
);
}
}

0 comments on commit 09384a0

Please sign in to comment.