From 2a5d4fe51dad08a09460fb3900e0e05bd69560ba Mon Sep 17 00:00:00 2001 From: Binye Barwe Date: Tue, 24 Oct 2023 15:29:07 +0200 Subject: [PATCH] publish new npm pkg --- ts/client/src/client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index f7828f026..b54c40958 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -337,6 +337,7 @@ export class OpenBookV2Client { public async createOpenOrders( market: PublicKey, accountIndex: BN, + name: string, openOrdersIndexer?: PublicKey, ): Promise { if (openOrdersIndexer == null) { @@ -360,7 +361,7 @@ export class OpenBookV2Client { const openOrders = this.findOpenOrders(market, accountIndex); const ix = await this.program.methods - .createOpenOrdersAccount() + .createOpenOrdersAccount(name) .accounts({ openOrdersIndexer, openOrdersAccount: openOrders,