From 976fcf077338dc8e71dcda8d0acc421c04ecb536 Mon Sep 17 00:00:00 2001 From: TP Honey Date: Thu, 26 Sep 2024 11:39:46 +0100 Subject: [PATCH] (feat) add new ListAllSourcesStatusRequest endpoint (#210) --- README.md | 22 +++++++++++++++++++--- src/connect.ts | 1 + 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f77f875..ddc56bb 100644 --- a/README.md +++ b/README.md @@ -8,22 +8,38 @@ Please make any changes in a feature branch and add a pull request. All changes ### Testing -Tests can be run with `pnpm run test` or the VSCode Test task +Tests can be run with `pnpm run test` or the VSCode Test task. ### Style Code formatting/style can be validated using: -``` +```shell pnpm codequality:check ``` And fixed using: -``` +```shell pnpm codequality:fix ``` +### Local Development + +To use a local version of this package in the frontend. You can build the package and then linking it: + +```shell +pnpm build +``` + +Then in the frontend edit the `package.json` to point to the local package: + +```json +"dependencies": { + "@overmindtech/sdp": "file:../sdp-js/dist" +} +``` + ## Releasing The package is automatically released each time a tag is created, so to release just create a tag such as `v1.23.6` and push that tag. This automatically triggers NPM publish etc. diff --git a/src/connect.ts b/src/connect.ts index 6dc0856..f660aa7 100644 --- a/src/connect.ts +++ b/src/connect.ts @@ -60,6 +60,7 @@ export { updateSource, deleteSource, keepaliveSources, + listAllSourcesStatus, createToken, deleteAccount, getTrialEnd,