@shardus/types
Advanced tools
Comparing version 1.2.18 to 1.2.19
@@ -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; |
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
90217
106
2547
1