Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codetanzania/emis-api-client

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codetanzania/emis-api-client - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

#### 0.1.2 (2019-01-14)
##### Bug Fixes
* ReferenceError: process is not defined in react ([7a58433f](https://github.com/CodeTanzania/emis-api-client/commit/7a58433f938cbe0f7aff53fe7eef8c6072c58c3d))
#### 0.1.0 (2019-01-12)

@@ -2,0 +8,0 @@

3

es/index.js

@@ -33,3 +33,4 @@ import axios from 'axios';

if (!client) {
const { env } = process;
// Dont destructure: Fix:ReferenceError: process is not defined in react
const env = process.env; // eslint-disable-line
const { EMIS_API_URL, REACT_APP_EMIS_API_URL } = env;

@@ -36,0 +37,0 @@ const BASE_URL = API_BASE_URL || EMIS_API_URL || REACT_APP_EMIS_API_URL;

@@ -39,3 +39,4 @@ 'use strict';

if (!client) {
const { env } = process;
// Dont destructure: Fix:ReferenceError: process is not defined in react
const env = process.env; // eslint-disable-line
const { EMIS_API_URL, REACT_APP_EMIS_API_URL } = env;

@@ -42,0 +43,0 @@ const BASE_URL = API_BASE_URL || EMIS_API_URL || REACT_APP_EMIS_API_URL;

{
"name": "@codetanzania/emis-api-client",
"version": "0.1.1",
"version": "0.1.2",
"description": "http client for EMIS API.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -33,3 +33,4 @@ import axios from 'axios';

if (!client) {
const { env } = process;
// Dont destructure: Fix:ReferenceError: process is not defined in react
const env = process.env; // eslint-disable-line
const { EMIS_API_URL, REACT_APP_EMIS_API_URL } = env;

@@ -36,0 +37,0 @@ const BASE_URL = API_BASE_URL || EMIS_API_URL || REACT_APP_EMIS_API_URL;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc