@stevenkellner/team-conduct-api 1.0.7 → 1.0.9

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.
@@ -4,7 +4,7 @@ export declare class MoneyAmount implements Flattable<MoneyAmount.Flatten> {
4
4
  value: number;
5
5
  subunitValue: number;
6
6
  constructor(value: number, subunitValue: number);
7
- static zero(): MoneyAmount;
7
+ static get zero(): MoneyAmount;
8
8
  formatted(currency: Configuration.Currency): string;
9
9
  get flatten(): MoneyAmount.Flatten;
10
10
  }
@@ -42,7 +42,7 @@ class MoneyAmount {
42
42
  this.value = value;
43
43
  this.subunitValue = subunitValue;
44
44
  }
45
- static zero() {
45
+ static get zero() {
46
46
  return new MoneyAmount(0, 0);
47
47
  }
48
48
  formatted(currency) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stevenkellner/team-conduct-api",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Firebase API for Team Conduct",
5
5
  "license": "MIT",
6
6
  "author": "Steven Kellner",
@@ -9,7 +9,7 @@ export class MoneyAmount implements Flattable<MoneyAmount.Flatten> {
9
9
  public subunitValue: number
10
10
  ) {}
11
11
 
12
- public static zero(): MoneyAmount {
12
+ public static get zero(): MoneyAmount {
13
13
  return new MoneyAmount(0, 0);
14
14
  }
15
15