Skip to content

Commit

Permalink
Merge pull request #107 from Polymarket/feat/improvements-on-balance-…
Browse files Browse the repository at this point in the history
…checker

adding signature to the balance allowance fetching
  • Loading branch information
poly-rodr authored Mar 16, 2024
2 parents f771533 + 0f1f5ce commit 3b87818
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@polymarket/clob-client",
"description": "Typescript client for Polymarket's CLOB",
"version": "4.2.0",
"version": "4.3.0",
"contributors": [
{
"name": "Jonathan Amenechi",
Expand Down
7 changes: 6 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,12 @@ export class ClobClient {
headerArgs,
);

return this.get(`${this.host}${endpoint}`, { headers, params });
const _params = {
...params,
signature_type: this.orderBuilder.signatureType,
};

return this.get(`${this.host}${endpoint}`, { headers, params: _params });
}

public async createOrder(
Expand Down

0 comments on commit 3b87818

Please sign in to comment.