From b1b580126a3b3769752e121385df5c5f931002ba Mon Sep 17 00:00:00 2001 From: Rodrigo <95635797+poly-rodr@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:25:00 -0300 Subject: [PATCH 1/2] adding signature to the balance allowance fetching --- src/client.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 1dbec35..55575f1 100644 --- a/src/client.ts +++ b/src/client.ts @@ -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( From 0f1f5ce3cd3c5ef984d0b284915fca0ca87acafa Mon Sep 17 00:00:00 2001 From: Rodrigo <95635797+poly-rodr@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:25:30 -0300 Subject: [PATCH 2/2] version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fe4e750..381d46d 100644 --- a/package.json +++ b/package.json @@ -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",