diff --git a/package-lock.json b/package-lock.json index 2ab3bca..caa8e24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "nats.ws", - "version": "1.10.2", + "version": "1.11.0-0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "nats.ws", - "version": "1.10.2", + "version": "1.11.0-0", "license": "Apache-2.0", "devDependencies": { - "@types/node": "^18.0.4", + "@types/node": "^16.18.3", "ava": "^4.3.3", "browser-env": "^3.3.0", "minimist": "^1.2.5", @@ -521,9 +521,9 @@ } }, "node_modules/@types/node": { - "version": "18.11.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", - "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", + "version": "16.18.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz", + "integrity": "sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg==", "dev": true }, "node_modules/abab": { @@ -5165,9 +5165,9 @@ } }, "@types/node": { - "version": "18.11.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", - "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", + "version": "16.18.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.3.tgz", + "integrity": "sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg==", "dev": true }, "abab": { diff --git a/package.json b/package.json index bf3bb89..876df85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nats.ws", - "version": "1.10.2", + "version": "1.11.0", "description": "WebSocket NATS client", "main": "./cjs/nats.js", "module": "./esm/nats.js", @@ -47,7 +47,7 @@ "nkeys.js": "1.0.3" }, "devDependencies": { - "@types/node": "^18.0.4", + "@types/node": "^16.18.3", "ava": "^4.3.3", "browser-env": "^3.3.0", "minimist": "^1.2.5", diff --git a/src/connect.ts b/src/connect.ts index 0c0b58d..aeb09b3 100644 --- a/src/connect.ts +++ b/src/connect.ts @@ -19,7 +19,7 @@ import { setTransportFactory, Transport, TransportFactory, -} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.9.3/nats-base-client/internal_mod.ts"; +} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.10.0/nats-base-client/internal_mod.ts"; import { WsTransport } from "./ws_transport.ts"; diff --git a/src/mod.ts b/src/mod.ts index 2b8b139..9612ad9 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -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.9.3/nats-base-client/mod.ts"; +export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.10.0/nats-base-client/mod.ts"; export { connect } from "./connect.ts"; diff --git a/src/nats-base-client.ts b/src/nats-base-client.ts index 937042d..dabe502 100644 --- a/src/nats-base-client.ts +++ b/src/nats-base-client.ts @@ -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.9.3/nats-base-client/internal_mod.ts"; +export * from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.10.0/nats-base-client/internal_mod.ts"; diff --git a/src/ws_transport.ts b/src/ws_transport.ts index d3c9d7a..4cad409 100644 --- a/src/ws_transport.ts +++ b/src/ws_transport.ts @@ -19,7 +19,7 @@ import type { Server, ServerInfo, Transport, -} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.9.3/nats-base-client/internal_mod.ts"; +} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.10.0/nats-base-client/internal_mod.ts"; import { checkOptions, DataBuffer, @@ -30,9 +30,9 @@ import { INFO, NatsError, render, -} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.9.3/nats-base-client/internal_mod.ts"; +} from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.10.0/nats-base-client/internal_mod.ts"; -const VERSION = "1.10.2"; +const VERSION = "1.11.0"; const LANG = "nats.ws"; export type WsSocketFactory = (u: string, opts: ConnectionOptions) => Promise<{