Skip to content

Commit

Permalink
[BUMP] nbc to 1.12.0, version to 1.13.0, ci dependencies (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Feb 9, 2023
1 parent f7d3f3f commit cc4749a
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 99 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/natsws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout NATS.ws
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denolib/setup-deno@master
uses: denoland/setup-deno@v1.1.1
with:
deno-version: 1.29.2
deno-version: 1.30.3
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.9.11" >> $GITHUB_ENV
run: echo "NATS_VERSION=v2.9.14" >> $GITHUB_ENV
- name: Set CA
run: echo "NODE_EXTRA_CA_CERTS=/home/runner/work/nats.ws/nats.ws/test/certs/ca.crt" >> $GITHUB_ENV
- name: Get nats-server
Expand Down
141 changes: 59 additions & 82 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nats.ws",
"version": "1.12.0",
"version": "1.13.0",
"description": "WebSocket NATS client",
"main": "./cjs/nats.js",
"module": "./esm/nats.js",
Expand Down Expand Up @@ -44,18 +44,18 @@
"debug-test": "node node_modules/.bin/ava --verbose -T 6500000 --match"
},
"optionalDependencies": {
"nkeys.js": "1.0.4"
"nkeys.js": "1.0.5"
},
"devDependencies": {
"@types/node": "^18.11.18",
"ava": "^5.1.0",
"@types/node": "^18.13.0",
"ava": "^5.2.0",
"browser-env": "^3.3.0",
"minimist": "^1.2.5",
"nats-jwt": "^0.0.3",
"nats-jwt": "^0.0.5",
"nyc": "^15.1.0",
"shx": "^0.3.3",
"tslint": "^6.1.3",
"typescript": "^4.9.4",
"typescript": "^4.9.5",
"web-streams-polyfill": "^3.2.1"
},
"ava": {
Expand Down
2 changes: 1 addition & 1 deletion src/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
setTransportFactory,
Transport,
TransportFactory,
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.11.0/nats-base-client/internal_mod.ts";
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.12.0/nats-base-client/internal_mod.ts";

import { WsTransport } from "./ws_transport.ts";

Expand Down
2 changes: 1 addition & 1 deletion src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.11.0/nats-base-client/mod.ts";
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.12.0/nats-base-client/mod.ts";
export { connect } from "./connect.ts";
2 changes: 1 addition & 1 deletion src/nats-base-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
* limitations under the License.
*/
// this import here to drive the build system
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.11.0/nats-base-client/internal_mod.ts";
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.12.0/nats-base-client/internal_mod.ts";
6 changes: 3 additions & 3 deletions src/ws_transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import type {
Server,
ServerInfo,
Transport,
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.11.0/nats-base-client/internal_mod.ts";
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.12.0/nats-base-client/internal_mod.ts";
import {
checkOptions,
DataBuffer,
Expand All @@ -30,9 +30,9 @@ import {
INFO,
NatsError,
render,
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.11.0/nats-base-client/internal_mod.ts";
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.12.0/nats-base-client/internal_mod.ts";

const VERSION = "1.12.0";
const VERSION = "1.13.0";
const LANG = "nats.ws";

export type WsSocketFactory = (u: string, opts: ConnectionOptions) => Promise<{
Expand Down

0 comments on commit cc4749a

Please sign in to comment.