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

@shardus/types

Package Overview
Dependencies
Maintainers
6
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shardus/types - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

1

build/src/p2p/CycleCreatorTypes.d.ts

@@ -35,2 +35,3 @@ import { hexstring } from '..';

refuted: string[];
appRemoved: string[];
apoptosized: string[];

@@ -37,0 +38,0 @@ } & Snapshot.Record & CycleAutoScale.Record & {

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

import { SignedObject } from './P2PTypes';
import { Signature, SignedObject } from './P2PTypes';
/** TYPES */

@@ -20,2 +20,12 @@ export interface LostReport {

}
export declare type RemoveByAppMessage = {
target: string;
certificate: RemoveCertificate;
};
export declare type RemoveCertificate = {
nodePublicKey: string;
cycle: number;
signs?: Signature[];
sign?: Signature;
};
export declare type SignedLostReport = LostReport & SignedObject;

@@ -28,2 +38,4 @@ export declare type SignedDownGossipMessage = DownGossipMessage & SignedObject;

status: string;
checker: string;
reporter: string;
message?: any;

@@ -35,2 +47,3 @@ gossiped?: boolean;

refuted: SignedUpGossipMessage[];
removedByApp: RemoveByAppMessage[];
}

@@ -41,3 +54,4 @@ export interface Record {

refuted: string[];
appRemoved: string[];
}
export {};

7

package.json
{
"name": "@shardus/types",
"version": "1.2.6",
"version": "1.2.7",
"description": "",

@@ -40,6 +40,9 @@ "main": "build/src/index.js",

"gts": "3.1.1",
"np": "7.7.0",
"np": "9.2.0",
"prettier": "2.8.8",
"typescript": "4.4.4"
},
"overrides": {
"got": "11.8.5"
}
}

@@ -62,2 +62,3 @@ import { hexstring } from '..'

refuted: string[]
appRemoved: string[]
apoptosized: string[]

@@ -64,0 +65,0 @@ } & Snapshot.Record &

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

import {SignedObject} from './P2PTypes';
import {Signature, SignedObject} from './P2PTypes';

@@ -21,2 +21,12 @@ /** TYPES */

}
export type RemoveByAppMessage = {
target: string
certificate: RemoveCertificate
}
export type RemoveCertificate = {
nodePublicKey: string;
cycle: number;
signs?: Signature[];
sign?: Signature;
}
export type SignedLostReport = LostReport & SignedObject;

@@ -29,2 +39,4 @@ export type SignedDownGossipMessage = DownGossipMessage & SignedObject;

status: string; // reported, checking, down, up
checker: string
reporter: string

@@ -39,2 +51,3 @@ // message?: SignedLostReport & SignedDownGossipMessage & SignedUpGossipMessage

refuted: SignedUpGossipMessage[];
removedByApp: RemoveByAppMessage[];
}

@@ -46,2 +59,3 @@

refuted: string[];
appRemoved: string[];
}
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