Skip to content

Commit

Permalink
[BUMP] nbc to 1.29.0 and ci dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Jan 10, 2025
1 parent 40f64a8 commit 9d37201
Show file tree
Hide file tree
Showing 8 changed files with 666 additions and 496 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/natsws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
node-version: [22.x]
deno-version: [1.44.4]
deno-version: [1.46.3]
environment: CI
runs-on: ubuntu-latest
steps:
Expand All @@ -31,7 +31,7 @@ jobs:
with:
deno-version: ${{ matrix.deno-version }}
- name: Set NATS Server Version
run: echo "NATS_VERSION=v2.10.17" >> $GITHUB_ENV
run: echo "NATS_VERSION=v2.10.24" >> $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
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node-version: [22.x]
deno-version: [1.44.4]
deno-version: [1.46.3]

runs-on: ubuntu-latest
permissions:
Expand Down
1,136 changes: 653 additions & 483 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nats.ws",
"version": "1.29.2",
"version": "1.30.0",
"description": "WebSocket NATS client",
"main": "./cjs/nats.js",
"module": "./esm/nats.js",
Expand Down Expand Up @@ -52,7 +52,7 @@
"nkeys.js": "1.1.0"
},
"devDependencies": {
"@types/node": "^20.14.12",
"@types/node": "^22.10.5",
"ava": "^5.3.x",
"minimist": "^1.2.8",
"nats-jwt": "^0.0.9",
Expand All @@ -61,7 +61,7 @@
"typescript": "^5.5.4",
"web-streams-polyfill": "^4.0.0",
"websocket": "^1.0.35",
"nyc": "^15.1.0"
"nyc": "^17.1.0"
},
"ava": {
"failFast": true,
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.28.2/nats-base-client/internal_mod.ts";
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.29.0/nats-base-client/internal_mod.ts";

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

Expand Down
4 changes: 2 additions & 2 deletions src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
* 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.28.2/nats-base-client/mod.ts";
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/jetstream/mod.ts";
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.29.0/nats-base-client/mod.ts";
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.29.0/jetstream/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.28.2/nats-base-client/internal_mod.ts";
export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.29.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.28.2/nats-base-client/internal_mod.ts";
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.29.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.28.2/nats-base-client/internal_mod.ts";
} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.29.0/nats-base-client/internal_mod.ts";

const VERSION = "1.29.2";
const VERSION = "1.30.0";
const LANG = "nats.ws";

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

0 comments on commit 9d37201

Please sign in to comment.