Skip to content

Commit

Permalink
replace @ZettaScaleLabs/zenoh-ts with @eclipse-zenoh/zenoh-ts in exam…
Browse files Browse the repository at this point in the history
…ples
  • Loading branch information
Charles-Schleich committed Oct 24, 2024
1 parent f8775f8 commit 261117e
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 32 deletions.
13 changes: 6 additions & 7 deletions zenoh-ts/examples/package-lock.json

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

2 changes: 1 addition & 1 deletion zenoh-ts/examples/src/z_delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import "./style.css";
import "./webpage.ts";

import { Config, Session } from "@ZettaScaleLabs/zenoh-ts";
import { Config, Session } from "@eclipse-zenoh/zenoh-ts";

export async function _delete() {
const session = await Session.open(new Config ("ws/127.0.0.1:10000"));
Expand Down
6 changes: 3 additions & 3 deletions zenoh-ts/examples/src/z_get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// ZettaScale Zenoh Team, <[email protected]>
//

import { ReplyError } from "@ZettaScaleLabs/zenoh-ts";
import { deserialize_string } from "@ZettaScaleLabs/zenoh-ts";
import { ReplyError } from "@eclipse-zenoh/zenoh-ts";
import { deserialize_string } from "@eclipse-zenoh/zenoh-ts";
import "./style.css";
import "./webpage.ts";

import { Config, Receiver, RecvErr, Reply, Sample, Session } from "@ZettaScaleLabs/zenoh-ts";
import { Config, Receiver, RecvErr, Reply, Sample, Session } from "@eclipse-zenoh/zenoh-ts";

export async function get() {
const session = await Session.open(new Config ("ws/127.0.0.1:10000"));
Expand Down
4 changes: 2 additions & 2 deletions zenoh-ts/examples/src/z_ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// ZettaScale Zenoh Team, <[email protected]>
//

import { FifoChannel } from "@ZettaScaleLabs/zenoh-ts";
import { FifoChannel } from "@eclipse-zenoh/zenoh-ts";
import "./style.css";
import "./webpage.ts";

import { Encoding, CongestionControl, Config, Session } from "@ZettaScaleLabs/zenoh-ts";
import { Encoding, CongestionControl, Config, Session } from "@eclipse-zenoh/zenoh-ts";

export async function ping() {
const session = await Session.open(new Config ("ws/127.0.0.1:10000"));
Expand Down
2 changes: 1 addition & 1 deletion zenoh-ts/examples/src/z_pong.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import "./style.css";
import "./webpage.ts";

import { Encoding, CongestionControl, Sample, Config, Session } from "@ZettaScaleLabs/zenoh-ts";
import { Encoding, CongestionControl, Sample, Config, Session } from "@eclipse-zenoh/zenoh-ts";

export async function pong() {
const session = await Session.open(new Config ("ws/127.0.0.1:10000"));
Expand Down
2 changes: 1 addition & 1 deletion zenoh-ts/examples/src/z_pub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import "./style.css";
import "./webpage.ts";

import { Priority, Reliability, Encoding, CongestionControl, Config, KeyExpr, Publisher, Session } from "@ZettaScaleLabs/zenoh-ts";
import { Priority, Reliability, Encoding, CongestionControl, Config, KeyExpr, Publisher, Session } from "@eclipse-zenoh/zenoh-ts";

export async function pub() {
const session = await Session.open(new Config ("ws/127.0.0.1:10000"));
Expand Down
2 changes: 1 addition & 1 deletion zenoh-ts/examples/src/z_put.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import "./style.css";
import "./webpage.ts";
import { Config, Session } from "@ZettaScaleLabs/zenoh-ts";
import { Config, Session } from "@eclipse-zenoh/zenoh-ts";

export async function put() {
console.warn('Running Zenoh Put !');
Expand Down
2 changes: 1 addition & 1 deletion zenoh-ts/examples/src/z_queryable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import "./style.css";
import "./webpage.ts";

import { Config, KeyExpr, Query, Queryable, Session, ZBytes } from "@ZettaScaleLabs/zenoh-ts";
import { Config, KeyExpr, Query, Queryable, Session, ZBytes } from "@eclipse-zenoh/zenoh-ts";


export async function queryable() {
Expand Down
2 changes: 1 addition & 1 deletion zenoh-ts/examples/src/z_sub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import "./webpage.ts";

import {
RingChannel, deserialize_string, Sample, Config, Subscriber, Session, KeyExpr
} from "@ZettaScaleLabs/zenoh-ts";
} from "@eclipse-zenoh/zenoh-ts";

export async function sub() {
const session = await Session.open(new Config ("ws/127.0.0.1:10000"));
Expand Down
2 changes: 1 addition & 1 deletion zenoh-ts/examples/src/z_sub_thr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import "./style.css";
import "./webpage.ts";

import { Config, Session, Sample } from "@ZettaScaleLabs/zenoh-ts";
import { Config, Session, Sample } from "@eclipse-zenoh/zenoh-ts";

// Throughput test
class Stats {
Expand Down
24 changes: 11 additions & 13 deletions zenoh-ts/examples/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
# yarn lockfile v1


"@eclipse-zenoh/zenoh-ts@file:../":
version "0.0.9"
resolved "file:.."
dependencies:
base64-arraybuffer "^1.0.2"
channel-ts "^0.1.2"
eslint "^9.10.0"
text-encoding "^0.7.0"
tslog "^4.9.3"
uuid "^10.0.0"

"@esbuild/[email protected]":
version "0.20.2"
resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz"
Expand Down Expand Up @@ -118,19 +129,6 @@
resolved "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz"
integrity sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==

"@eclipse-zenoh/zenoh-ts@file:../":
version "0.0.8"
resolved "file:.."
dependencies:
base64-arraybuffer "^1.0.2"
base64-js "^1.5.1"
channel-ts "^0.1.2"
eslint "^9.10.0"
text-encoding "^0.7.0"
ts-log "^2.2.5"
tslog "^4.9.3"
uuid "^10.0.0"

acorn-jsx@^5.3.2:
version "5.3.2"
resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz"
Expand Down

0 comments on commit 261117e

Please sign in to comment.