From c1feb9aa5c2db689ba30000f822f4fa0d1dcfa57 Mon Sep 17 00:00:00 2001 From: Connor O'Hara Date: Mon, 6 Jun 2022 14:23:14 -0400 Subject: [PATCH] Publish - @switchboard-xyz/switchboardv2-cli@0.1.28 - @switchboard-xyz/sbv2-utils@0.1.19 - @switchboard-xyz/switchboard-v2@0.0.107 - @switchboard-xyz/lease-observer@0.1.7 - website@0.1.5 --- cli/README.md | 64 ++++++++++++++++++++-------- cli/package.json | 6 +-- libraries/sbv2-utils/package.json | 4 +- libraries/ts/package.json | 2 +- packages/lease-observer/package.json | 6 +-- website/package.json | 2 +- 6 files changed, 56 insertions(+), 28 deletions(-) diff --git a/cli/README.md b/cli/README.md index 96d177d..c4b400c 100644 --- a/cli/README.md +++ b/cli/README.md @@ -12,24 +12,52 @@ npm install -g @switchboard-xyz/switchboardv2-cli ``` -# Command Topics +* [`sbv2 help [COMMAND]`](#sbv2-help-command) +* [`sbv2 print:job:templates`](#sbv2-printjobtemplates) +* [`sbv2 update [CHANNEL]`](#sbv2-update-channel) -* [`sbv2 aggregator`](../website/api/cli/aggregator.md) - interact with a switchboard aggregator account -* [`sbv2 config`](../website/api/cli/config.md) - print cli config -* [`sbv2 crank`](../website/api/cli/crank.md) - interact with a switchboard crank account -* [`sbv2 help`](../website/api/cli/help.md) - Display help for sbv2. -* [`sbv2 job`](../website/api/cli/job.md) - interact with a switchboard job account -* [`sbv2 json`](../website/api/cli/json.md) - create and manage an oracle queue from a json file -* [`sbv2 lease`](../website/api/cli/lease.md) - interact with a switchboard lease account -* [`sbv2 localnet`](../website/api/cli/localnet.md) - create a localnet switchboard environment -* [`sbv2 oracle`](../website/api/cli/oracle.md) - interact with a switchboard oracle account -* [`sbv2 permission`](../website/api/cli/permission.md) - create a permission account -* [`sbv2 print`](../website/api/cli/print.md) - find and print a switchboard account by public key for a given cluster -* [`sbv2 queue`](../website/api/cli/queue.md) - interact with a switchboard oracle queue account -* [`sbv2 sandbox`](../website/api/cli/sandbox.md) - sandbox -* [`sbv2 test`](../website/api/cli/test.md) - sandbox -* [`sbv2 update`](../website/api/cli/update.md) - update the sbv2 CLI -* [`sbv2 vrf`](../website/api/cli/vrf.md) - create a Switchboard VRF Account -* [`sbv2 watch`](../website/api/cli/watch.md) - watch an aggregator for a new value +## `sbv2 help [COMMAND]` +Display help for sbv2. + +``` +USAGE + $ sbv2 help [COMMAND] + +ARGUMENTS + COMMAND Command to show help for. + +OPTIONS + -n, --nested-commands Include all nested commands in the output. +``` + +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_ + +## `sbv2 print:job:templates` + +list available templates to build a job from + +``` +USAGE + $ sbv2 print:job:templates + +ALIASES + $ sbv2 job:print:templates +``` + +_See code: [src/commands/print/job/templates.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.1.28/src/commands/print/job/templates.ts)_ + +## `sbv2 update [CHANNEL]` + +update the sbv2 CLI + +``` +USAGE + $ sbv2 update [CHANNEL] + +OPTIONS + --from-local interactively choose an already installed version +``` + +_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v1.5.0/src/commands/update.ts)_ diff --git a/cli/package.json b/cli/package.json index 1259563..fb4c1ea 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,7 +1,7 @@ { "name": "@switchboard-xyz/switchboardv2-cli", "description": "command line tool to interact with switchboard v2", - "version": "0.1.27", + "version": "0.1.28", "license": "MIT", "repository": { "type": "git", @@ -98,8 +98,8 @@ "@project-serum/anchor": "^0.24.2", "@solana/spl-token": "^0.1.8", "@solana/web3.js": "^1.42.0", - "@switchboard-xyz/sbv2-utils": "^0.1.17", - "@switchboard-xyz/switchboard-v2": "^0.0.106", + "@switchboard-xyz/sbv2-utils": "^0.1.19", + "@switchboard-xyz/switchboard-v2": "^0.0.107", "assert": "^2.0.0", "big.js": "^6.1.1", "bs58": "^5.0.0", diff --git a/libraries/sbv2-utils/package.json b/libraries/sbv2-utils/package.json index 97076a1..315424f 100644 --- a/libraries/sbv2-utils/package.json +++ b/libraries/sbv2-utils/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/sbv2-utils", - "version": "0.1.18", + "version": "0.1.19", "description": "some basic utility functions when working with switchboard-v2", "author": "", "license": "ISC", @@ -36,7 +36,7 @@ "@saberhq/token-utils": "^1.12.68", "@solana/spl-token": "^0.1.8", "@solana/web3.js": "^1.42.0", - "@switchboard-xyz/switchboard-v2": "^0.0.106", + "@switchboard-xyz/switchboard-v2": "^0.0.107", "big.js": "^6.1.1", "chalk": "4", "decimal.js": "^10.3.1", diff --git a/libraries/ts/package.json b/libraries/ts/package.json index b562d96..353e079 100644 --- a/libraries/ts/package.json +++ b/libraries/ts/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/switchboard-v2", - "version": "0.0.106", + "version": "0.0.107", "license": "MIT", "author": "mitch@switchboard.xyz", "description": "API wrapper for intergating with the Switchboardv2 program", diff --git a/packages/lease-observer/package.json b/packages/lease-observer/package.json index 55e7b3c..b06b161 100644 --- a/packages/lease-observer/package.json +++ b/packages/lease-observer/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/lease-observer", - "version": "0.1.6", + "version": "0.1.7", "description": "receive pager duty alerts when a switchboard v2 lease crosses a provided threshold", "private": true, "repository": { @@ -16,8 +16,8 @@ "dependencies": { "@project-serum/anchor": "^0.24.2", "@solana/web3.js": "1.33.0", - "@switchboard-xyz/sbv2-utils": "^0.1.17", - "@switchboard-xyz/switchboard-v2": "^0.0.106", + "@switchboard-xyz/sbv2-utils": "^0.1.19", + "@switchboard-xyz/switchboard-v2": "^0.0.107", "dotenv": "^16.0.0", "node-pagerduty": "^1.3.6" }, diff --git a/website/package.json b/website/package.json index b02b6e0..63236fd 100644 --- a/website/package.json +++ b/website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "0.1.4", + "version": "0.1.5", "private": true, "license": "MIT", "repository": {