Skip to content

Commit

Permalink
Release 2.6.0 (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart authored Feb 2, 2022
1 parent d27c600 commit 41ef7c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/natsjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
deno-version: 1.17.3
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.7.0" >> $GITHUB_ENV
run: echo "NATS_VERSION=v2.7.1" >> $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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nats",
"version": "2.5.0",
"version": "2.6.0",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
"keywords": [
"nats",
Expand Down Expand Up @@ -40,7 +40,7 @@
"build": "tsc",
"cjs": "deno run --allow-all bin/cjs-fix-imports.ts -o nats-base-client/ ./.deps/nats.deno/nats-base-client/",
"clean": "shx rm -Rf ./lib/* ./nats-base-client ./.deps",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.5.0 https://github.com/nats-io/nats.deno.git",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.6.0 https://github.com/nats-io/nats.deno.git",
"fmt": "deno fmt ./src/ ./examples/ ./test/",
"prepack": "npm run clone-nbc && npm run cjs && npm run check-package && npm run build",
"ava": "nyc ava --verbose -T 60000",
Expand Down
2 changes: 1 addition & 1 deletion src/node_transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const { resolve } = require("path");
const { readFile, existsSync } = require("fs");
const dns = require("dns");

const VERSION = "2.5.0";
const VERSION = "2.6.0";
const LANG = "nats.js";

export class NodeTransport implements Transport {
Expand Down
2 changes: 1 addition & 1 deletion test/tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const tlsConfig = {

test("tls - fail if server doesn't support TLS", async (t) => {
t.plan(1);
const ns = await NatsServer.start();
const ns = await NatsServer.start({host: "0.0.0.0"});
const lock = Lock();
await connect({ servers: `localhost:${ns.port}`, tls: {} })
.then(() => {
Expand Down

0 comments on commit 41ef7c5

Please sign in to comment.