New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@webxdc/types

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webxdc/types - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "@webxdc/types",
"version": "2.1.0",
"version": "2.1.1",
"description": "TypeScript type definitions for webxdc",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/webxdc/webxdc-types#readme",

@@ -1,2 +0,2 @@

# Types for webxdc
# Types for webxdc [![npm package](https://img.shields.io/npm/v/@webxdc/types.svg)](https://npmjs.com/package/@webxdc/types)

@@ -3,0 +3,0 @@ When you develop a [webxdc app](https://webxdc.org), you use the [webxdc

@@ -17,18 +17,2 @@ type SendingStatusUpdate<PayloadType> = {

summary?: string;
};
type ReceivedStatusUpdate<PayloadType> = {
/** the payload, deserialized json */
payload: PayloadType;
/** the serial number of this update. Serials are larger than 0 and newer serials have higher numbers */
serial: number;
/** the maximum serial currently known */
max_serial: number;
/** optional, short, informational message. */
info?: string;
/** optional, if the Webxdc creates a document, this is the name of the document;
* not set if the Webxdc does not create a document */
document?: string;
/** optional, short text, shown beside the webxdc's icon. */
summary?: string;
/** optional, a string that specifies a relative URL.

@@ -49,2 +33,9 @@ When a receiver starts the webxdc app based on the update object

type ReceivedStatusUpdate<PayloadType> = SendingStatusUpdate<PayloadType> & {
/** the serial number of this update. Serials are larger than 0 and newer serials have higher numbers */
serial: number;
/** the maximum serial currently known */
max_serial: number;
};
type XDCFile = {

@@ -51,0 +42,0 @@ /** name of the file, including extension */

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc