Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dlghq/dialog-types

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlghq/dialog-types - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

16

index.js

@@ -40,5 +40,7 @@ /**

export type PeerType = 'user' | 'group';
export type Peer = {
id: number,
type: 'user' | 'group',
type: PeerType,
key?: string

@@ -187,4 +189,14 @@ };

export type MessageMedia = MessageMediaImage | MessageMediaWebsite;
export type MessageMediaAudio = {
type: 'audio',
content: {
fileUrl: string,
fileSize: number,
mimeType: string,
duration: number
}
};
export type MessageMedia = MessageMediaImage | MessageMediaWebsite | MessageMediaAudio;
export type MessageContentText = {

@@ -191,0 +203,0 @@ type: 'text',

10

package.json
{
"name": "@dlghq/dialog-types",
"version": "1.2.0",
"version": "1.2.1",
"description": "Flow types for Dialog projects",

@@ -34,7 +34,7 @@ "main": "index.js",

"devDependencies": {
"@dlghq/babel-preset-dialog": "^2.2.0",
"@dlghq/eslint-config-dialog": "1.7.0",
"eslint": "3.5.0",
"jest-cli": "^15.1.1"
"@dlghq/babel-preset-dialog": "2.2.0",
"@dlghq/eslint-config-dialog": "1.9.0",
"eslint": "3.7.0",
"jest-cli": "15.1.1"
}
}
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