diff --git a/package.json b/package.json index 4076721..adddb10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@barchart/common-js", - "version": "4.42.1", + "version": "4.43.0", "description": "Library of common JavaScript utilities", "author": { "name": "Bryan Ingle", diff --git a/test/SpecRunner.js b/test/SpecRunner.js index 3d52605..45a7f7b 100644 --- a/test/SpecRunner.js +++ b/test/SpecRunner.js @@ -2284,6 +2284,17 @@ module.exports = (() => { return cad; } + /** + * The Swiss Franc. + * + * @public + * @static + * @returns {Currency} + */ + static get CHF() { + return chf; + } + /** * The Euro. * @@ -2355,6 +2366,7 @@ module.exports = (() => { } const aud = new Currency('AUD', 'Australian Dollar', 2, 'AUD$'); const cad = new Currency('CAD', 'Canadian Dollar', 2, 'CAD$'); + const chf = new Currency('CHF', 'Swiss Franc', 2, 'CHF'); const eur = new Currency('EUR', 'Euro', 2, 'EUR'); const gbp = new Currency('GBP', 'British Pound', 2, 'GBP'); const gbx = new Currency('GBX', 'British Penny', 2, 'GBX');