From afe3917bb865a62d6a0d4ed540d37c04c047abf9 Mon Sep 17 00:00:00 2001 From: 0xscuba Date: Mon, 11 Oct 2021 09:31:21 -0700 Subject: [PATCH] Bump to 1.1.9; add prepublishOnly script; typo --- package.json | 3 ++- src/public/farms/types.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2075ee7..b53a9d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orca-so/sdk", - "version": "1.1.8", + "version": "1.1.9", "description": "Typescript SDK for the Orca protocol.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -35,6 +35,7 @@ "watch": "tsc -w -p src", "prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write", "prepare": "husky install", + "prepublishOnly": "tsc -p src", "test": "jest" }, "lint-staged": { diff --git a/src/public/farms/types.ts b/src/public/farms/types.ts index 028f3a7..25fdb36 100644 --- a/src/public/farms/types.ts +++ b/src/public/farms/types.ts @@ -71,7 +71,7 @@ export type OrcaFarm = { * Throws error if the user does not have a farm initialized (by calling deposit) * * @param owner The keypair for the user's wallet or just the user's public key - * @returnThe transaction signature of the harvest instruction + * @return The transaction signature of the harvest instruction */ harvest: (owner: Keypair | PublicKey) => Promise; };