@stevenkellner/team-conduct-api 1.0.10 → 1.0.11

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.
@@ -8,6 +8,7 @@ export declare class MoneyAmount implements Flattable<MoneyAmount.Flatten> {
8
8
  added(amount: MoneyAmount): MoneyAmount;
9
9
  multiplied(factor: number): MoneyAmount;
10
10
  formatted(currency: Configuration.Currency, configuration: Configuration): string;
11
+ get completeValue(): number;
11
12
  get flatten(): MoneyAmount.Flatten;
12
13
  }
13
14
  export declare namespace MoneyAmount {
@@ -28,6 +28,9 @@ class MoneyAmount {
28
28
  });
29
29
  return numberFormat.format(this.value + this.subunitValue / 100);
30
30
  }
31
+ get completeValue() {
32
+ return this.value + this.subunitValue / 100;
33
+ }
31
34
  get flatten() {
32
35
  return this.value + this.subunitValue / 100;
33
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stevenkellner/team-conduct-api",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Firebase API for Team Conduct",
5
5
  "license": "MIT",
6
6
  "author": "Steven Kellner",
@@ -32,6 +32,10 @@ export class MoneyAmount implements Flattable<MoneyAmount.Flatten> {
32
32
  return numberFormat.format(this.value + this.subunitValue / 100);
33
33
  }
34
34
 
35
+ public get completeValue(): number {
36
+ return this.value + this.subunitValue / 100;
37
+ }
38
+
35
39
  public get flatten(): MoneyAmount.Flatten {
36
40
  return this.value + this.subunitValue / 100;
37
41
  }