From d0699afdc98a42dbb15817365376351914814f24 Mon Sep 17 00:00:00 2001 From: Rodrigo <95635797+poly-rodr@users.noreply.github.com> Date: Mon, 23 Jan 2023 19:17:55 -0300 Subject: [PATCH] Feat/add creation time to open orders Adding a new field named `created_at` to `OpenOrder` type that represents the order creation timestamp --- package.json | 2 +- src/types.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7b6104a..07a6fbf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@polymarket/clob-client", "description": "Typescript client for Polymarket's CLOB", - "version": "1.1.19", + "version": "1.1.20", "contributors": [ { "name": "Jonathan Amenechi", diff --git a/src/types.ts b/src/types.ts index cb35cf2..0b8c142 100644 --- a/src/types.ts +++ b/src/types.ts @@ -182,6 +182,7 @@ export interface OpenOrder { associate_trades: Trade[]; outcome: string; outcome_index: number; + created_at: number; } export type OpenOrdersResponse = OpenOrder[];