Skip to content

Commit

Permalink
[update] updated nbc to 1.0.2 (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart authored Apr 5, 2021
1 parent 82e03a2 commit bd10f4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export interface ServerInfo {
"auth_required"?: boolean;
"client_id": number;
"client_ip"?: string;
cluster?: string;
"connect_urls"?: string[];
"git_commit"?: string;
go: string;
Expand Down Expand Up @@ -289,6 +290,7 @@ export interface JetStreamPublishOptions {
msgID: string;
timeout: number;
ackWait: Nanos;
headers: MsgHdrs;
expect: Partial<{
lastMsgID: string;
streamName: string;
Expand Down Expand Up @@ -464,7 +466,7 @@ export interface StreamConfig {
"max_msgs": number;
"max_bytes": number;
discard?: DiscardPolicy;
"max_age": number;
"max_age": Nanos;
"max_msg_size"?: number;
storage: StorageType;
"num_replicas": number;
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.0.1",
"version": "2.0.2",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
"keywords": [
"nats",
Expand Down Expand Up @@ -41,7 +41,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.0.1 https://github.com/nats-io/nats.deno.git",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.0.2 https://github.com/nats-io/nats.deno.git",
"fmt": "deno fmt ./src/ ./examples/ ./test/",
"prepack": "npm run clone-nbc && npm run cjs && 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 @@ -33,7 +33,7 @@ import { connect as tlsConnect, TlsOptions, TLSSocket } from "tls";
const { resolve } = require("path");
const { readFile, existsSync } = require("fs");

const VERSION = "2.0.1";
const VERSION = "2.0.2";
const LANG = "nats.js";

export class NodeTransport implements Transport {
Expand Down

0 comments on commit bd10f4c

Please sign in to comment.