Skip to content

Commit 0b0cfbe

Browse files
committed
Export module version.
Export module version so data store modules can check for the minimum required server version.
1 parent 0acd35b commit 0b0cfbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/jsonApi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* @flow weak */
22
"use strict";
33
var jsonApi = module.exports = { };
4+
jsonApi._version = require(require("path").join(__dirname, "../package.json")).version;
45
jsonApi._resources = { };
56
jsonApi._apiConfig = { };
67

0 commit comments

Comments
 (0)