@shardus/types
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -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 {}; |
{ | ||
"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[]; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59528
1881