From c4aa4c283d785fb139370797e7831042772c8bb7 Mon Sep 17 00:00:00 2001 From: Conner Gallagher Date: Wed, 8 Mar 2023 12:54:20 -0700 Subject: [PATCH] solana.js: published 2.0.136 --- javascript/solana.js/package-lock.json | 4 ++-- javascript/solana.js/package.json | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/javascript/solana.js/package-lock.json b/javascript/solana.js/package-lock.json index 1bdb853..ad36874 100644 --- a/javascript/solana.js/package-lock.json +++ b/javascript/solana.js/package-lock.json @@ -1,12 +1,12 @@ { "name": "@switchboard-xyz/solana.js", - "version": "2.0.135", + "version": "2.0.136", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@switchboard-xyz/solana.js", - "version": "2.0.135", + "version": "2.0.136", "license": "MIT", "dependencies": { "@coral-xyz/anchor": "^0.26.0", diff --git a/javascript/solana.js/package.json b/javascript/solana.js/package.json index c2044e0..b40061f 100644 --- a/javascript/solana.js/package.json +++ b/javascript/solana.js/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/solana.js", - "version": "2.0.135", + "version": "2.0.136", "author": "", "license": "MIT", "description": "API wrapper for integrating with the Switchboard V2 program on Solana", @@ -34,17 +34,16 @@ "prebuild": "npm run lint", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc", - "build": "npm run build:cjs && npm run build:esm", + "build": "shx rm -rf lib || true; npm run build:cjs && npm run build:esm", "watch": "tsc -p tsconfig.cjs.json --watch", - "pretest": "npm run build", "test": "node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 60000 --exit", "test:localnet": "SOLANA_LOCALNET=1 node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 60000 --exit", "test:localnet:mainnet": "SWITCHBOARD_PROGRAM_ID=SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f SOLANA_LOCALNET=1 node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 60000 --exit", "localnet:up": "npm run local:validator & sleep 20 && npm run test:localnet", "localnet:down": "kill -9 $(pgrep command solana-test-validator) || exit 0", "localnet": "npm run localnet:up; npm run localnet:down", - "posttest": "npm run lint", - "prepublishOnly": "shx rm -rf lib && npm run build && npm version patch", + "prepublishOnly": "npm version patch", + "prepack": "npm run build", "docs": "typedoc src/index.ts --githubPages --cleanOutputDir", "lint": "gts lint ./src", "clean": "gts clean",