From 89e7b83bfc0ad39e1afe512892dc8a9f5ca83907 Mon Sep 17 00:00:00 2001 From: Binye Barwe Date: Tue, 2 Jan 2024 17:41:34 +0100 Subject: [PATCH] fix client & bump client --- package.json | 2 +- ts/client/src/client.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 944eb50b..24c44309 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openbook-dex/openbook-v2", - "version": "0.1.4", + "version": "0.1.5", "description": "Typescript Client for openbook-v2 program.", "repository": "https://github.com/openbook-dex/openbook-v2/", "author": { diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index af21089a..a6129399 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -715,7 +715,6 @@ export class OpenBookV2Client { userQuoteAccount: PublicKey, openOrdersAdmin: PublicKey | null, args: PlaceOrderArgs, - referrerAccount: PublicKey | null, remainingAccounts: PublicKey[], openOrdersDelegate?: Keypair, ): Promise<[TransactionInstruction, Signer[]]> { @@ -742,7 +741,6 @@ export class OpenBookV2Client { marketBaseVault: market.marketBaseVault, marketQuoteVault: market.marketQuoteVault, marketAuthority: market.marketAuthority, - referrerAccount, tokenProgram: TOKEN_PROGRAM_ID, openOrdersAdmin, })