Socket
Socket
Sign inDemoInstall

@foxglove/rtps

Package Overview
Dependencies
4
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.4.0

2

dist/discovery/simple.js

@@ -57,2 +57,3 @@ "use strict";

const typeName = params.typeName();
const durability = params.durability() ?? common_1.Durability.Volatile;
const reliability = params.reliability();

@@ -79,2 +80,3 @@ const history = params.history() ?? { kind: common_1.HistoryKind.KeepLast, depth: 1 };

typeName,
durability,
reliability,

@@ -81,0 +83,0 @@ history,

@@ -805,2 +805,3 @@ "use strict";

entityId: writerEntityId,
durability: common_1.Durability.TransientLocal,
reliability: { kind: common_1.Reliability.Reliable, maxBlockingTime: (0, rostime_1.fromMillis)(100) },

@@ -807,0 +808,0 @@ history: { kind: common_1.HistoryKind.KeepLast, depth: 1 },

@@ -9,2 +9,3 @@ "use strict";

const WriterView_1 = require("./routing/WriterView");
const BUILTIN_DURABILITY = common_1.Durability.TransientLocal;
const BUILTIN_RELIABILITY = {

@@ -105,2 +106,3 @@ kind: common_1.Reliability.Reliable,

entityId: readerEntityId,
durability: BUILTIN_DURABILITY,
reliability: BUILTIN_RELIABILITY,

@@ -122,2 +124,3 @@ history: BUILTIN_HISTORY,

entityId: writerEntityId,
durability: BUILTIN_DURABILITY,
reliability: BUILTIN_RELIABILITY,

@@ -137,2 +140,3 @@ history: BUILTIN_HISTORY,

entityId: readerEntityId,
durability: BUILTIN_DURABILITY,
reliability: BUILTIN_RELIABILITY,

@@ -139,0 +143,0 @@ history: BUILTIN_HISTORY,

3

dist/routing/Endpoint.d.ts
import { Time } from "@foxglove/rostime";
import { EntityId, GuidPrefix, HistoryAndDepth, ProtocolVersion, ReliabilityAndMaxBlockingTime, VendorId } from "../common";
import { Durability, EntityId, GuidPrefix, HistoryAndDepth, ProtocolVersion, ReliabilityAndMaxBlockingTime, VendorId } from "../common";
export declare type EndpointAttributes = {

@@ -9,2 +9,3 @@ timestamp?: Time;

typeName?: string;
durability: Durability;
reliability: Readonly<ReliabilityAndMaxBlockingTime>;

@@ -11,0 +12,0 @@ history: Readonly<HistoryAndDepth>;

@@ -19,2 +19,3 @@ "use strict";

typeName: subscription.typeName,
durability: subscription.durability,
reliability: subscription.reliability,

@@ -21,0 +22,0 @@ history: subscription.history,

{
"name": "@foxglove/rtps",
"version": "1.3.0",
"version": "1.4.0",
"description": "Real-Time Publish Subscribe (DDS-RTPS) protocol implementation with a pluggable transport layer. This is a subset of the complete specification optimized for ROS 2 (Robot Operating System) connections",

@@ -5,0 +5,0 @@ "license": "MIT",

import { Time } from "@foxglove/rostime";
import { ParticipantAttributes } from "../ParticipantAttributes";
import { guidParts, HistoryKind, Locator, LocatorKind } from "../common";
import { Durability, guidParts, HistoryKind, Locator, LocatorKind } from "../common";
import { ParametersView } from "../messaging";

@@ -74,2 +74,3 @@ import { EndpointAttributes } from "../routing";

const typeName = params.typeName();
const durability = params.durability() ?? Durability.Volatile;
const reliability = params.reliability();

@@ -101,2 +102,3 @@ const history = params.history() ?? { kind: HistoryKind.KeepLast, depth: 1 };

typeName,
durability,
reliability,

@@ -103,0 +105,0 @@ history,

@@ -10,2 +10,3 @@ import { CdrReader } from "@foxglove/cdr";

ChangeKind,
Durability,
EntityId,

@@ -727,2 +728,3 @@ EntityIdBuiltin,

entityId: writerEntityId,
durability: Durability.TransientLocal,
reliability: { kind: Reliability.Reliable, maxBlockingTime: fromMillis(100) },

@@ -729,0 +731,0 @@ history: { kind: HistoryKind.KeepLast, depth: 1 },

@@ -16,2 +16,3 @@ import { fromMillis } from "@foxglove/rostime";

makeGuid,
Durability,
} from "./common";

@@ -22,2 +23,3 @@ import { DataFragments, Reader } from "./routing";

const BUILTIN_DURABILITY = Durability.TransientLocal;
const BUILTIN_RELIABILITY: ReliabilityAndMaxBlockingTime = {

@@ -177,2 +179,3 @@ kind: Reliability.Reliable,

entityId: readerEntityId,
durability: BUILTIN_DURABILITY,
reliability: BUILTIN_RELIABILITY,

@@ -196,2 +199,3 @@ history: BUILTIN_HISTORY,

entityId: writerEntityId,
durability: BUILTIN_DURABILITY,
reliability: BUILTIN_RELIABILITY,

@@ -215,2 +219,3 @@ history: BUILTIN_HISTORY,

entityId: readerEntityId,
durability: BUILTIN_DURABILITY,
reliability: BUILTIN_RELIABILITY,

@@ -217,0 +222,0 @@ history: BUILTIN_HISTORY,

import { Time } from "@foxglove/rostime";
import {
Durability,
EntityId,

@@ -18,2 +19,3 @@ GuidPrefix,

typeName?: string;
durability: Durability;
reliability: Readonly<ReliabilityAndMaxBlockingTime>;

@@ -20,0 +22,0 @@ history: Readonly<HistoryAndDepth>;

@@ -49,2 +49,3 @@ import { ParticipantAttributes } from "../ParticipantAttributes";

typeName: subscription.typeName,
durability: subscription.durability,
reliability: subscription.reliability,

@@ -51,0 +52,0 @@ history: subscription.history,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc