@faasjs/http 0.0.2-beta.291 → 0.0.2-beta.292

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/lib/index.es.js CHANGED
@@ -536,7 +536,7 @@ class Http {
536
536
  }
537
537
  function useHttp(config) {
538
538
  const name = (config === null || config === void 0 ? void 0 : config.name) || Name;
539
- if (process.env.FaasMode === 'mono' || (process.env.FaasEnv !== 'testing' && globals[name]))
539
+ if (process.env.FaasMode !== 'mono' && process.env.FaasEnv !== 'testing' && globals[name])
540
540
  return usePlugin(globals[name]);
541
541
  return usePlugin(new Http(config));
542
542
  }
package/lib/index.js CHANGED
@@ -540,7 +540,7 @@ class Http {
540
540
  }
541
541
  function useHttp(config) {
542
542
  const name = (config === null || config === void 0 ? void 0 : config.name) || Name;
543
- if (process.env.FaasMode === 'mono' || (process.env.FaasEnv !== 'testing' && globals[name]))
543
+ if (process.env.FaasMode !== 'mono' && process.env.FaasEnv !== 'testing' && globals[name])
544
544
  return func.usePlugin(globals[name]);
545
545
  return func.usePlugin(new Http(config));
546
546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/http",
3
- "version": "0.0.2-beta.291",
3
+ "version": "0.0.2-beta.292",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -26,5 +26,5 @@
26
26
  "rollup-plugin-typescript2": "*",
27
27
  "typescript": "*"
28
28
  },
29
- "gitHead": "5321c45ee65f2c5989ec39ad89d76f9f95bf205e"
29
+ "gitHead": "07a254eef51ef6bd85f9cdead9407b2c8dc85abc"
30
30
  }