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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
scope: '@wyre-technology'
scope: '@wyre-ai'
cache: 'npm'
- run: npm ci
env:
Expand All @@ -48,7 +48,7 @@ jobs:
with:
node-version: '22.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@wyre-technology'
scope: '@wyre-ai'
cache: 'npm'
- run: npm ci
env:
Expand Down
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}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @wyre-technology/node-scalepad
# @wyre-ai/node-scalepad

Node.js client library for the ScalePad platform APIs — **Core**, **Lifecycle
Manager**, **ControlMap**, **Backup Radar**, and **Quoter** — with zero runtime
Expand All @@ -9,21 +9,21 @@ dependencies (native `fetch` only).
The package is published to GitHub Packages. Add to your `.npmrc`:

```ini
@wyre-technology:registry=https://npm.pkg.github.com
@wyre-ai:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
```

Then:

```bash
export NODE_AUTH_TOKEN=$(gh auth token)
npm install @wyre-technology/node-scalepad
npm install @wyre-ai/node-scalepad
```

## Usage

```ts
import { ScalePadClient } from '@wyre-technology/node-scalepad';
import { ScalePadClient } from '@wyre-ai/node-scalepad';

const client = new ScalePadClient({
apiKey: process.env.SCALEPAD_API_KEY!,
Expand Down Expand Up @@ -106,7 +106,7 @@ ScalePad platform APIs paginate with `cursor` + `page_size` (1–200). The
`paginate` helper walks every page:

```ts
import { paginate } from '@wyre-technology/node-scalepad';
import { paginate } from '@wyre-ai/node-scalepad';

for await (const item of paginate((cursor) =>
client.coreClients.list({ cursor, page_size: 200 })
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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@wyre-technology/node-scalepad",
"name": "@wyre-ai/node-scalepad",
"version": "1.0.0",
"description": "Node.js client library for the ScalePad platform APIs: Core, Lifecycle Manager, ControlMap, Backup Radar, and Quoter",
"type": "module",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/wyre-technology/node-scalepad.git"
"url": "git+https://github.com/WYRE-AI/node-scalepad.git"
},
"keywords": [
"scalepad",
Expand Down
Loading