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.9 to 1.2.10

8

build/src/p2p/JoinTypes.d.ts

@@ -33,5 +33,9 @@ import { hexstring } from '..';

}
export interface KeepInStandby {
publicKey: string;
cycleNumber: number;
sign?: Types.Signature;
}
export interface Txs {
join: JoinRequest[];
synced?: FinishedSyncingRequest[];
}

@@ -49,2 +53,4 @@ export interface Record {

finishedSyncing?: hexstring[];
/** Public keys of standby nodes that have refreshed their keep alive timer. where do we put the keep aliver timer? */
standbyRefresh?: hexstring[];
}

@@ -29,2 +29,3 @@ export declare type LooseObject = Record<string, unknown>;

readyTimestamp: number;
refreshedCounter?: number;
}

@@ -31,0 +32,0 @@ export interface Node {

2

package.json
{
"name": "@shardus/types",
"version": "1.2.9",
"version": "1.2.10",
"description": "",

@@ -5,0 +5,0 @@ "main": "build/src/index.js",

@@ -39,5 +39,10 @@ import { hexstring } from '..'

export interface KeepInStandby {
publicKey: string //pub key of the standby node
cycleNumber: number //a recent cycle
sign?: Types.Signature //sig of standby node
}
export interface Txs {
join: JoinRequest[]
synced?: FinishedSyncingRequest[]
}

@@ -61,2 +66,4 @@

finishedSyncing?: hexstring[]
/** Public keys of standby nodes that have refreshed their keep alive timer. where do we put the keep aliver timer? */
standbyRefresh?: hexstring[]
}

@@ -31,2 +31,3 @@ export type LooseObject = Record<string, unknown>

readyTimestamp: number
refreshedCounter?: number
}

@@ -33,0 +34,0 @@

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