@firmer/mesh 0.0.1 → 0.0.3

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,13 +1,13 @@
1
1
  export declare class Triplet {
2
- readonly code: number;
2
+ readonly code: number | string;
3
3
  readonly text: string;
4
4
  readonly color: string;
5
- constructor(code: number, text: string, color: string);
5
+ constructor(code: number | string, text: string, color: string);
6
6
  }
7
7
  export declare class States {
8
8
  private readonly values;
9
9
  constructor(values: Triplet[]);
10
- from(status: number): Triplet;
10
+ from(status: number | string): Triplet;
11
11
  asMap(): Map<string, Triplet>;
12
12
  static readonly Route: States;
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firmer/mesh",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Mesh: A lightweight, distributed, relational network architecture for MPC",
5
5
  "homepage": "mesh",
6
6
  "repository": "git.firmer.tech/firmer/mesh",