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

@huddle01/observer-client-sdk

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huddle01/observer-client-sdk - npm Package Compare versions

Comparing version 0.12.1-217174e.0 to 0.12.1-3246ffe.0

3

lib/ObserverDashboardAdminClient.d.ts
import { ObserverDashboardClient, ObserverDashboardClientConfig } from "./ObserverDashboardClient";
import { ConsumableJobMap } from "./protocols/ConsumableJobMap";
import { DashboardListConsumableJobsResponsePayload, GetWorkerStatesResponsePayload } from "./protocols/DashboardMessageProtocol";
import { DashboardQueryOperations, DashboardListConsumableJobsResponsePayload, GetRegistryLedgersResponsePayload, GetWorkerStatesResponsePayload } from "./protocols/DashboardMessageProtocol";
export declare class ObserverDashboardAdminClient extends ObserverDashboardClient {

@@ -8,2 +8,3 @@ constructor(config: ObserverDashboardClientConfig);

getServerState(): Promise<GetWorkerStatesResponsePayload>;
getRegistryLedgers(parameters: DashboardQueryOperations['getRegistryLedgers']): Promise<GetRegistryLedgersResponsePayload>;
startJob<J extends keyof ConsumableJobMap>(type: J, parameters: ConsumableJobMap[J]['input']): Promise<{

@@ -10,0 +11,0 @@ jobId?: string;

@@ -27,2 +27,10 @@ "use strict";

}
async getRegistryLedgers(parameters) {
return this.connection.request({
request: new DashboardMessageProtocol_1.DashboardQueryRequest((0, uuid_1.v4)(), {
method: 'getRegistryLedgers',
parameters,
})
});
}
async startJob(type, parameters) {

@@ -29,0 +37,0 @@ return this.connection.request({

@@ -123,2 +123,11 @@ import { CallSnapshot } from "./CallSnapshotSchema";

};
export type GetRegistryLedgersResponsePayload = {
results: {
nodeId: string;
dstRegion: string;
totalDownloadSpeed: number;
totalUploadSpeed: number;
recordCount: number;
}[];
};
export type DashboardClientConnectionContext = {

@@ -186,2 +195,8 @@ role: 'admin' | 'customer';

getServerStates: undefined;
getRegistryLedgers: {
momoId: string;
dstRegion: string;
startTimestamp: number;
endTimestamp?: number;
};
};

@@ -188,0 +203,0 @@ export declare class DashboardQueryRequest {

{
"name": "@huddle01/observer-client-sdk",
"version": "0.12.1-217174e.0",
"version": "0.12.1-3246ffe.0",
"description": "ObserverDashboardClient SDK",

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

Sorry, the diff of this file is not supported yet

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