Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
steps:
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/wyre-technology/projects/1
project-url: https://github.com/orgs/WYRE-AI/projects/1
github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@wyre-technology:registry=https://npm.pkg.github.com
@wyre-ai:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Thanks for your interest in contributing!
## Getting started

```bash
git clone https://github.com/wyre-technology/node-ncentral.git
git clone https://github.com/WYRE-AI/node-ncentral.git
cd node-ncentral
npm install
```
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ Node.js/TypeScript client library for the [N-able N-central](https://www.n-able.

## Installation

The package is published to **GitHub Packages**, not npmjs.org. Point the `@wyre-technology` scope at the GitHub registry first:
The package is published to **GitHub Packages**, not npmjs.org. Point the `@wyre-ai` scope at the GitHub registry first:

```bash
# .npmrc (project or user level)
@wyre-technology:registry=https://npm.pkg.github.com
@wyre-ai:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
```

`NODE_AUTH_TOKEN` must be a GitHub token with `read:packages` scope (any authenticated token works for public packages).

```bash
npm install @wyre-technology/node-ncentral
npm install @wyre-ai/node-ncentral
```

Requires Node.js ≥ 20.

## Quick start

```typescript
import { NCentralClient } from '@wyre-technology/node-ncentral';
import { NCentralClient } from '@wyre-ai/node-ncentral';

const client = new NCentralClient({
serverUrl: 'https://ncentral.example.com', // your N-central server
Expand Down Expand Up @@ -195,7 +195,7 @@ import {
ValidationError, // 400/422 — carries .errors: { field, message }[]
RateLimitError, // 429 — carries .retryAfter (seconds)
ServerError, // 5xx
} from '@wyre-technology/node-ncentral';
} from '@wyre-ai/node-ncentral';

try {
await client.devices.get(1);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@wyre-technology/node-ncentral",
"name": "@wyre-ai/node-ncentral",
"version": "1.0.0",
"description": "Node.js/TypeScript client library for the N-able N-central REST API",
"type": "module",
Expand Down Expand Up @@ -42,12 +42,12 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/wyre-technology/node-ncentral.git"
"url": "https://github.com/WYRE-AI/node-ncentral.git"
},
"bugs": {
"url": "https://github.com/wyre-technology/node-ncentral/issues"
"url": "https://github.com/WYRE-AI/node-ncentral/issues"
},
"homepage": "https://github.com/wyre-technology/node-ncentral#readme",
"homepage": "https://github.com/WYRE-AI/node-ncentral#readme",
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
Expand Down
Loading