@undp/carbon-library 1.0.90 → 1.0.92

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.
@@ -106,7 +106,7 @@ export declare const addCommSep: (value: any) => string;
106
106
  export declare const addCommSepRound: (value: any) => string;
107
107
  export declare const addRoundNumber: (value: any) => number;
108
108
  export declare const addSpaces: (text: string) => string;
109
- export declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR) => {
109
+ export declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR | ProgrammeT) => {
110
110
  estimatedProgrammeCostUSD: string;
111
111
  creditEst: string;
112
112
  financingType: string;
package/dist/esm/index.js CHANGED
@@ -344,7 +344,7 @@ var getFinancialFields = function (programme) {
344
344
  estimatedProgrammeCostUSD: addCommSep(programme.programmeProperties.estimatedProgrammeCostUSD),
345
345
  creditEst: addCommSep(programme.creditEst),
346
346
  financingType: addSpaces(programme.programmeProperties.sourceOfFunding),
347
- grantEquivalent: new UnitField('USD', addCommSep(programme.programmeProperties.grantEquivalentAmount)),
347
+ grantEquivalent: new UnitField("USD", addCommSep(programme.programmeProperties.grantEquivalentAmount)),
348
348
  carbonPriceUSDPerTon: addCommSep(programme.programmeProperties.carbonPriceUSDPerTon),
349
349
  };
350
350
  };