Skip to content

Commit

Permalink
Merge pull request #112 from Polymarket/fix/orderbook-type-order
Browse files Browse the repository at this point in the history
set orderbook properties the same order as the API
  • Loading branch information
poly-rodr authored May 1, 2024
2 parents 3984cab + 31405e1 commit 9d6a425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 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.5.1",
"version": "4.5.2",
"contributors": [
{
"name": "Jonathan Amenechi",
Expand Down
11 changes: 1 addition & 10 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ export interface OrderMarketCancelParams {
export interface OrderBookSummary {
market: string;
asset_id: string;
hash: string;
bids: OrderSummary[];
asks: OrderSummary[];
hash: string;
}

export interface OrderSummary {
Expand Down Expand Up @@ -424,18 +424,13 @@ export interface RewardsConfig {
end_date: string;
rate_per_day: number;
total_rewards: number;
remaining_reward_amount: number;
}

export interface MarketReward {
condition_id: string;
market_id: number;
question: string;
market_slug: string;
event_slug: string;
active: boolean;
archived: boolean;
closed: boolean;
image: string;
rewards_max_spread: number;
rewards_min_size: number;
Expand All @@ -451,13 +446,9 @@ export interface Earning {

export interface UserRewardsEarning {
condition_id: string;
market_id: number;
question: string;
market_slug: string;
event_slug: string;
active: boolean;
archived: boolean;
closed: boolean;
image: string;
rewards_max_spread: number;
rewards_min_size: number;
Expand Down

0 comments on commit 9d6a425

Please sign in to comment.