@hestia-earth/glossary 0.78.0 → 0.79.1

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.
package/index.js CHANGED
@@ -103,6 +103,11 @@ const isInSystemBoundary = (id) => {
103
103
  return !value || value === "true";
104
104
  };
105
105
 
106
+ const getEcoalimMapping = (id) => loadResourceKey("ecoalimMapping.json", id);
107
+
108
+ const getEcoinventMapping = (id) =>
109
+ loadResourceKey("ecoinventMapping.json", id);
110
+
106
111
  /**
107
112
  * Return the group for this term with a specific model.
108
113
  *
@@ -143,6 +148,8 @@ module.exports = {
143
148
  getTermModelRestrictions,
144
149
  getTermTypeLookups,
145
150
  isInSystemBoundary,
151
+ getEcoalimMapping,
152
+ getEcoinventMapping,
146
153
  getModelGroup,
147
154
  termOrder,
148
155
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/glossary",
3
- "version": "0.78.0",
3
+ "version": "0.79.1",
4
4
  "description": "HESTIA Earth Glossary library",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -27,7 +27,8 @@
27
27
  "devDependencies": {
28
28
  "@commitlint/cli": "^17.3.0",
29
29
  "@commitlint/config-conventional": "^17.3.0",
30
- "@hestia-earth/schema": "^31.3.0",
30
+ "@hestia-earth/engine-models": "^0.74.16",
31
+ "@hestia-earth/schema": "^35.0.1",
31
32
  "axios": "^1.2.1",
32
33
  "csvtojson": "^2.0.10",
33
34
  "dotenv": "^16.0.3",