Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eases/tag/v1.0.8 (#435)

[UPDATED] nats-server for tests to current release
  • Loading branch information
aricart authored Jun 24, 2021
1 parent f88e3d0 commit f369e3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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.9.2
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.2.6" >> $GITHUB_ENV
run: echo "NATS_VERSION=v2.3.0" >> $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
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,11 @@ export interface JetStreamClient {
export interface ConsumerOpts {
config: Partial<ConsumerConfig>;
mack: boolean;
subQueue: string;
stream: string;
callbackFn?: JsMsgCallback;
name?: string;
max?: number;
queue?: string;
debug?: boolean;
}
export declare function consumerOpts(opts?: Partial<ConsumerConfig>): ConsumerOptsBuilder;
Expand All @@ -362,6 +362,7 @@ export interface ConsumerOptsBuilder {
maxAckPending(max: number): void;
maxWaiting(max: number): void;
maxMessages(max: number): void;
queue(n: string): void;
callback(fn: JsMsgCallback): void;
}
export interface Lister<T> {
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.6",
"version": "2.0.8",
"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.6 https://github.com/nats-io/nats.deno.git",
"clone-nbc": "shx mkdir -p ./.deps && cd ./.deps && git clone --branch v1.0.8 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

0 comments on commit f369e3b

Please sign in to comment.