@8ms/helpers 1.1.28 → 1.1.29

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.
@@ -4,5 +4,5 @@ var platforms_1 = require("./platforms");
4
4
  /**
5
5
  * Check to see if we are working on AWS Lambda.
6
6
  */
7
- var isAws = function () { return platforms_1.platforms.AWS === process.env['EMS_ENVIRONMENT']; };
7
+ var isAws = function () { return platforms_1.platforms.AWS === process.env['EMS_PLATFORM']; };
8
8
  exports.default = isAws;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"