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

ssb-typescript

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-typescript - npm Package Compare versions

Comparing version 2.7.1 to 2.8.0

2

package.json
{
"name": "ssb-typescript",
"version": "2.7.1",
"version": "2.8.0",
"description": "TypeScript type definitions for Secure Scuttlebutt",

@@ -5,0 +5,0 @@ "repository": {

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

import { Msg, PostContent, BlogContent, AboutContent, ContactContent, VoteContent, UnboxedMsg, MsgId, MsgInThread, AttendeeContent } from './readme';
import { Msg, PostContent, BlogContent, AboutContent, ContactContent, VoteContent, UnboxedMsg, MsgId, MsgInThread, AttendeeContent, GatheringContent } from './readme';
export declare function isMsg(msg: any): msg is Msg<any>;

@@ -12,2 +12,3 @@ export declare function isRootMsg(msg: Msg<any>): boolean;

export declare function isVoteMsg(msg: Msg<any>): msg is Msg<VoteContent>;
export declare function isGatheringMsg(msg: Msg<any>): msg is Msg<GatheringContent>;
export declare function isAttendeeMsg(msg: Msg<any>): msg is Msg<AttendeeContent>;

@@ -14,0 +15,0 @@ export declare function isPrivate(msg: Msg<any> | UnboxedMsg): boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isBlogMsg = exports.isPublic = exports.isPrivate = exports.isAttendeeMsg = exports.isVoteMsg = exports.isContactMsg = exports.isAboutMsg = exports.isReplyPostMsg = exports.isRootPostMsg = exports.isPostMsg = exports.isIndirectReplyMsgToRoot = exports.isReplyMsgToRoot = exports.isRootMsg = exports.isMsg = void 0;
exports.isBlogMsg = exports.isPublic = exports.isPrivate = exports.isAttendeeMsg = exports.isGatheringMsg = exports.isVoteMsg = exports.isContactMsg = exports.isAboutMsg = exports.isReplyPostMsg = exports.isRootPostMsg = exports.isPostMsg = exports.isIndirectReplyMsgToRoot = exports.isReplyMsgToRoot = exports.isRootMsg = exports.isMsg = void 0;
function isMsg(msg) {

@@ -54,2 +54,7 @@ return msg && msg.key && msg.value && typeof msg.value === 'object';

exports.isVoteMsg = isVoteMsg;
function isGatheringMsg(msg) {
var _a, _b;
return ((_b = (_a = msg === null || msg === void 0 ? void 0 : msg.value) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.type) === 'gathering';
}
exports.isGatheringMsg = isGatheringMsg;
function isAttendeeMsg(msg) {

@@ -56,0 +61,0 @@ var _a, _b;

Sorry, the diff of this file is not supported yet

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