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

@shardus/types

Package Overview
Dependencies
Maintainers
0
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.18 to 1.2.19

build/src/p2p/ServiceQueueTypes.d.ts

2

build/src/index.d.ts

@@ -24,2 +24,3 @@ import * as ActiveTypes_ from './p2p/ActiveTypes';

import * as ModesTypes_ from './p2p/ModesTypes';
import * as ServiceQueueTypes_ from './p2p/ServiceQueueTypes';
import * as Utils_ from './utils/functions/stringify';

@@ -53,2 +54,3 @@ export declare type hexstring = string;

export import ModesTypes = ModesTypes_;
export import ServiceQueueTypes = ServiceQueueTypes_;
}

@@ -55,0 +57,0 @@ export declare namespace StateManager {

@@ -46,2 +46,3 @@ "use strict";

const ModesTypes_ = __importStar(require("./p2p/ModesTypes"));
const ServiceQueueTypes_ = __importStar(require("./p2p/ServiceQueueTypes"));
const Utils_ = __importStar(require("./utils/functions/stringify"));

@@ -70,2 +71,3 @@ var P2P;

P2P.ModesTypes = ModesTypes_;
P2P.ServiceQueueTypes = ServiceQueueTypes_;
})(P2P = exports.P2P || (exports.P2P = {}));

@@ -72,0 +74,0 @@ var StateManager;

5

build/src/p2p/CycleCreatorTypes.d.ts

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

import * as LostArchivers from './LostArchiverTypes';
import * as ServiceQueue from './ServiceQueueTypes';
/** TYPES */

@@ -30,3 +31,3 @@ export declare type CycleMarker = string;

}
export declare type CycleTxs = Modes.Txs & SafetyMode.Txs & Refresh.Txs & Archivers.Txs & Join.Txs & Active.Txs & Apoptosis.Txs & Lost.Txs & Rotation.Txs & CycleAutoScale.Txs & LostArchivers.Txs;
export declare type CycleTxs = Modes.Txs & SafetyMode.Txs & Refresh.Txs & Archivers.Txs & Join.Txs & Active.Txs & Apoptosis.Txs & Lost.Txs & Rotation.Txs & CycleAutoScale.Txs & LostArchivers.Txs & ServiceQueue.Txs;
export declare type CycleRecord = BaseRecord & Modes.Record & SafetyMode.Record & Refresh.Record & Archivers.Record & Join.Record & Active.Record & Apoptosis.Record & Lost.Record & Rotation.Record & {

@@ -45,3 +46,3 @@ joined: string[];

random: number;
};
} & ServiceQueue.Record;
export declare type CycleData = CycleRecord & {

@@ -48,0 +49,0 @@ marker: CycleMarker;

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

activeTimestamp: number;
activeCycle: number;
syncingTimestamp: number;

@@ -29,0 +30,0 @@ readyTimestamp: number;

{
"name": "@shardus/types",
"version": "1.2.18",
"version": "1.2.19",
"description": "",

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

@@ -24,2 +24,3 @@ import * as ActiveTypes_ from './p2p/ActiveTypes'

import * as ModesTypes_ from './p2p/ModesTypes'
import * as ServiceQueueTypes_ from './p2p/ServiceQueueTypes'
import * as Utils_ from './utils/functions/stringify'

@@ -55,2 +56,3 @@

export import ModesTypes = ModesTypes_
export import ServiceQueueTypes = ServiceQueueTypes_
}

@@ -57,0 +59,0 @@

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

import * as LostArchivers from './LostArchiverTypes'
import * as ServiceQueue from './ServiceQueueTypes'

@@ -46,3 +47,4 @@ /** TYPES */

CycleAutoScale.Txs &
LostArchivers.Txs
LostArchivers.Txs &
ServiceQueue.Txs
// don't forget to add new modules here

@@ -73,3 +75,4 @@

LostArchivers.Record &
{ random: number }
{ random: number } &
ServiceQueue.Record

@@ -76,0 +79,0 @@ export type CycleData = CycleRecord & {

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

activeTimestamp: number
activeCycle: number
syncingTimestamp: number

@@ -31,0 +32,0 @@ readyTimestamp: number

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