Skip to content

Commit

Permalink
Merge branch 'main' into fix-125
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Nov 9, 2024
2 parents af0f6eb + e234d22 commit 61aa521
Show file tree
Hide file tree
Showing 30 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion core/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/nats-core",
"version": "3.0.0-36",
"version": "3.0.0-38",
"exports": {
".": "./src/mod.ts",
"./internal": "./src/internal_mod.ts"
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/nats-core",
"version": "3.0.0-36",
"version": "3.0.0-38",
"files": [
"lib/",
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file is generated - do not edit
export const version = "3.0.0-36";
export const version = "3.0.0-38";
2 changes: 1 addition & 1 deletion jetstream/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"test": "deno test -A --parallel --reload --trace-leaks --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38"
}
}
4 changes: 2 additions & 2 deletions jetstream/examples/01_consumers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect } from "@nats-io/transport-deno";
import { jetstream } from "@nats-io/jetstream";
import { setupStreamAndConsumer } from "./util.ts";

// create a connection
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/02_next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect } from "@nats-io/transport-deno";
import { jetstream } from "@nats-io/jetstream";
import { setupStreamAndConsumer } from "./util.ts";

// create a connection
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/03_batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect } from "@nats-io/transport-deno";
import { jetstream } from "@nats-io/jetstream";
import { setupStreamAndConsumer } from "./util.ts";

// create a connection
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/04_consume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect } from "@nats-io/transport-deno";
import { jetstream } from "@nats-io/jetstream";
import { setupStreamAndConsumer } from "./util.ts";

// create a connection
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/05_consume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect } from "@nats-io/transport-deno";
import { jetstream } from "@nats-io/jetstream";
import { setupStreamAndConsumer } from "./util.ts";

// create a connection
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/06_heartbeats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { ConsumerEvents, jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect } from "@nats-io/transport-deno";
import { ConsumerEvents, jetstream } from "@nats-io/jetstream";
import { setupStreamAndConsumer } from "./util.ts";

// create a connection
Expand Down
8 changes: 4 additions & 4 deletions jetstream/examples/07_consume_jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
* limitations under the License.
*/

import { connect, delay } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { SimpleMutex } from "jsr:@nats-io/nats-core@3.0.0-17/internal";
import { jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import type { JsMsg } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect, delay } from "@nats-io/transport-deno";
import { SimpleMutex } from "@nats-io/nats-core/internal";
import { jetstream } from "@nats-io/jetstream";
import type { JsMsg } from "@nats-io/jetstream";
import { setupStreamAndConsumer } from "./util.ts";

// create a connection
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/08_consume_process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* limitations under the License.
*/

import { connect } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { connect } from "@nats-io/transport-deno";
import { setupStreamAndConsumer } from "./util.ts";
import { jetstream } from "jsr:@nats-io/jetstream@3.0.0-18";
import { jetstream } from "@nats-io/jetstream";

// create a connection
const nc = await connect();
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/js_readme_publish_examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect, Empty } from "jsr:@nats-io/transport-deno@3.0.0-7";
import { jetstream, jetstreamManager } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect, Empty } from "@nats-io/transport-deno";
import { jetstream, jetstreamManager } from "@nats-io/jetstream";
import type { PubAck } from "../src/mod.ts";

const nc = await connect();
Expand Down
6 changes: 3 additions & 3 deletions jetstream/examples/jsm_readme_jsm_example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* limitations under the License.
*/

import { connect, Empty } from "jsr:@nats-io/nats-transport-deno@3.0.0-5";
import { AckPolicy, jetstreamManager } from "jsr:@nats-io/jetstream@3.0.0-18";
import { connect, Empty } from "@nats-io/transport-deno";
import { AckPolicy, jetstreamManager } from "@nats-io/jetstream";

const nc = await connect();
const jsm = await jetstreamManager(nc);
Expand Down Expand Up @@ -48,7 +48,7 @@ await jsm.streams.update(name, si.config);
// get a particular stored message in the stream by sequence
// this is not associated with a consumer
const sm = await jsm.streams.getMessage("mystream", { seq: 1 });
console.log(sm.seq);
console.log(sm?.seq);

// delete the 5th message in the stream, securely erasing it
await jsm.streams.deleteMessage("mystream", 5);
Expand Down
4 changes: 2 additions & 2 deletions jetstream/examples/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
*/

import { createConsumer, fill, initStream } from "../tests/jstest_util.ts";
import type { NatsConnection } from "jsr:@nats-io/nats-core@3.0.0-31";
import { nuid } from "jsr:@nats-io/nats-core@3.0.0-31";
import type { NatsConnection } from "@nats-io/nats-core";
import { nuid } from "@nats-io/nats-core";

export async function setupStreamAndConsumer(
nc: NatsConnection,
Expand Down
4 changes: 2 additions & 2 deletions jetstream/import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"imports": {
"@nats-io/nkeys": "jsr:@nats-io/[email protected]",
"@nats-io/nuid": "jsr:@nats-io/[email protected]",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-36/internal",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-38/internal",
"test_helpers": "../test_helpers/mod.ts",
"@std/io": "jsr:@std/[email protected]"
}
Expand Down
2 changes: 1 addition & 1 deletion jetstream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"description": "jetstream library - this library implements all the base functionality for NATS JetStream for javascript clients",
"dependencies": {
"@nats-io/nats-core": "3.0.0-36"
"@nats-io/nats-core": "3.0.0-38"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
2 changes: 1 addition & 1 deletion kv/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-25"
}
}
4 changes: 2 additions & 2 deletions kv/import_map.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-36/internal",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-38/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-25",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-25/internal",
"test_helpers": "../test_helpers/mod.ts",
Expand Down
2 changes: 1 addition & 1 deletion kv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"description": "kv library - this library implements all the base functionality for NATS KV javascript clients",
"dependencies": {
"@nats-io/jetstream": "3.0.0-25",
"@nats-io/nats-core": "3.0.0-36"
"@nats-io/nats-core": "3.0.0-38"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
2 changes: 1 addition & 1 deletion obj/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-25"
}
}
4 changes: 2 additions & 2 deletions obj/import_map.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-36/internal",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-38/internal",
"@nats-io/jetstream": "jsr:@nats-io/jetstream@~3.0.0-25",
"@nats-io/jetstream/internal": "jsr:@nats-io/jetstream@~3.0.0-25/internal",
"test_helpers": "../test_helpers/mod.ts",
Expand Down
2 changes: 1 addition & 1 deletion obj/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"description": "obj library - this library implements all the base functionality for NATS objectstore for javascript clients",
"dependencies": {
"@nats-io/jetstream": "3.0.0-25",
"@nats-io/nats-core": "3.0.0-36"
"@nats-io/nats-core": "3.0.0-38"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
2 changes: 1 addition & 1 deletion services/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"test": "deno test -A --parallel --reload --quiet tests/ --import-map=import_map.json"
},
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36"
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38"
}
}
4 changes: 2 additions & 2 deletions services/import_map.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"imports": {
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-36/internal",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38",
"@nats-io/nats-core/internal": "jsr:@nats-io/nats-core@~3.0.0-38/internal",
"test_helpers": "../test_helpers/mod.ts",
"@nats-io/nkeys": "jsr:@nats-io/[email protected]",
"@nats-io/nuid": "jsr:@nats-io/[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"description": "services library - this library implements all the base functionality for NATS services for javascript clients",
"dependencies": {
"@nats-io/nats-core": "3.0.0-36"
"@nats-io/nats-core": "3.0.0-38"
},
"devDependencies": {
"@types/node": "^22.7.6",
Expand Down
4 changes: 2 additions & 2 deletions transport-deno/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/transport-deno",
"version": "3.0.0-11",
"version": "3.0.0-13",
"exports": {
".": "./src/mod.ts"
},
Expand All @@ -20,7 +20,7 @@
},
"imports": {
"@std/io": "jsr:@std/[email protected]",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-36",
"@nats-io/nats-core": "jsr:@nats-io/nats-core@~3.0.0-38",
"@nats-io/nkeys": "jsr:@nats-io/[email protected]",
"@nats-io/nuid": "jsr:@nats-io/[email protected]"
}
Expand Down
2 changes: 1 addition & 1 deletion transport-deno/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file is generated - do not edit
export const version = "3.0.0-11";
export const version = "3.0.0-13";
10 changes: 5 additions & 5 deletions transport-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nats-io/transport-node",
"version": "3.0.0-22",
"version": "3.0.0-24",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
"keywords": [
"nats",
Expand Down Expand Up @@ -54,7 +54,7 @@
"node": ">= 18.0.0"
},
"dependencies": {
"@nats-io/nats-core": "3.0.0-36",
"@nats-io/nats-core": "3.0.0-38",
"@nats-io/nkeys": "1.2.0-7",
"@nats-io/nuid": "2.0.1-2"
},
Expand All @@ -64,8 +64,8 @@
"nats-jwt": "^0.0.9",
"shx": "^0.3.3",
"typescript": "5.6.3",
"@nats-io/jetstream": "3.0.0-24",
"@nats-io/kv": "3.0.0-18",
"@nats-io/obj": "3.0.0-19"
"@nats-io/jetstream": "3.0.0-25",
"@nats-io/kv": "3.0.0-19",
"@nats-io/obj": "3.0.0-20"
}
}
2 changes: 1 addition & 1 deletion transport-node/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// This file is generated - do not edit
export const version = "3.0.0-22";
export const version = "3.0.0-24";

0 comments on commit 61aa521

Please sign in to comment.