diff --git a/README.md b/README.md index 09e1ea6..d3bb315 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ To wrap a string representing a GICS code, just build a new instance of GICS pas const GICS = require("gics"); let validSectorLevelGICS = new GICS("10"); -console.log(gics.sector) // "Energy" +console.log(validSectorLevelGICS.sector.name) // "Energy" let validFullGICS = new GICS("10101010"); console.log(validFullGICS.sector.name) // "Energy" diff --git a/package.json b/package.json index e845a0a..a3149f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gics", - "version": "1.0.2", + "version": "1.0.3", "description": "A Javascript library to parse and manipulate GICS codes", "main": "index.js", "scripts": {