Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: reference to new nats.js #638

Merged
merged 4 commits into from
Jul 31, 2024
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
13 changes: 6 additions & 7 deletions .github/workflows/natsjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ jobs:
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.10.17" >> $GITHUB_ENV
- name: Get nats-server
run: |
wget "https://github.com/nats-io/nats-server/releases/download/$NATS_VERSION/nats-server-$NATS_VERSION-linux-amd64.zip" -O tmp.zip
unzip tmp.zip
mv nats-server-$NATS_VERSION-linux-amd64 nats-server
- name: Install nats-server
uses: aricart/[email protected]
with:
repo: nats-io/nats-server
name: nats-server
cache: true
- run: npm ci
- run: npm run prepack
- run: npm test
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# NATS.js - A [NATS](http://nats.io) client for [Node.Js](https://nodejs.org/en/)

> [!IMPORTANT]
>
> This repository was renamed from nats.js to nats.node. A new
> [nats.js](https://github.com/nats-io/nats.js) repository houses all nats
> clients for JavaScript Please visit the above link for more information.

A Node.js client for the [NATS messaging system](https://nats.io).

[![License](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](./LICENSE)
Expand Down Expand Up @@ -758,7 +764,7 @@ more performant or appropriate.
The following is the list of connection options and default values.

| Option | Default | Description |
|-------------------------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ----------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `authenticator` | none | Specifies the authenticator function that sets the client credentials. |
| `debug` | `false` | If `true`, the client prints protocol interactions to the console. Useful for debugging. |
| `ignoreClusterUpdates` | `false` | If `true` the client will ignore any cluster updates provided by the server. |
Expand Down
4 changes: 1 addition & 3 deletions test/helpers/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,7 @@ exports.NatsServer = class NatsServer {
}

static async start(conf = {}, debug = undefined) {
const exe = process.env.CI
? "/home/runner/work/nats.js/nats.js/nats-server/nats-server"
: "nats-server";
const exe = "nats-server";
const tmp = path.resolve(process.env.TMPDIR || ".");

let srv;
Expand Down
Loading