@flashbacktech/flashbackclient 0.0.80 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  export declare enum BucketStatusType {
2
2
  ONLINE = "ONLINE",
3
3
  OFFLINE = "OFFLINE",
4
- ERROR = "ERROR"
4
+ DISCONNECTED = "DISCONNECTED"
5
5
  }
6
6
  interface NodeSignedMessage {
7
7
  ip: string;
@@ -15,10 +15,10 @@ export interface BucketStatus {
15
15
  latency_ms?: number;
16
16
  createdAt: string;
17
17
  }
18
- export interface BucketStatusRequest extends NodeSignedMessage {
18
+ export interface NodeStatusRequest extends NodeSignedMessage {
19
19
  buckets: BucketStatus[];
20
20
  }
21
- export interface NodeStatsResponse {
21
+ export interface NodeStatusResponse {
22
22
  nodeIP: string;
23
23
  buckets: BucketStatus[];
24
24
  }
@@ -5,5 +5,5 @@ var BucketStatusType;
5
5
  (function (BucketStatusType) {
6
6
  BucketStatusType["ONLINE"] = "ONLINE";
7
7
  BucketStatusType["OFFLINE"] = "OFFLINE";
8
- BucketStatusType["ERROR"] = "ERROR";
8
+ BucketStatusType["DISCONNECTED"] = "DISCONNECTED";
9
9
  })(BucketStatusType || (exports.BucketStatusType = BucketStatusType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },