Comparing version 0.0.4 to 0.0.5
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const axios_1 = __importDefault(require("axios")); | ||
const tslib_1 = require("tslib"); | ||
const axios_1 = tslib_1.__importDefault(require("axios")); | ||
/** | ||
@@ -24,3 +13,3 @@ * Performs a GET operation against our backend | ||
function get(url, config = {}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const requestConfig = Object.assign({}, config); | ||
@@ -40,3 +29,3 @@ const response = yield axios_1.default.get(url, requestConfig); | ||
function post(url, body = {}, config = {}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const requestConfig = Object.assign({}, config); | ||
@@ -56,3 +45,3 @@ const response = yield axios_1.default.post(url, body, requestConfig); | ||
function put(url, body = {}, config = {}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const requestConfig = Object.assign({}, config); | ||
@@ -72,3 +61,3 @@ const response = yield axios_1.default.put(url, body, requestConfig); | ||
function del(url, config = {}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const requestConfig = Object.assign({}, config); | ||
@@ -75,0 +64,0 @@ const response = yield axios_1.default.delete(url, requestConfig); |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const baseService = __importStar(require("./baseService")); | ||
const tslib_1 = require("tslib"); | ||
const baseService = tslib_1.__importStar(require("./baseService")); | ||
exports.baseService = baseService; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "exos-core", | ||
"version": "0.0.4", | ||
"description": "Core library for front end projects", | ||
"version": "0.0.5", | ||
"description": "Library with core scripts that helps you to develop your React + TypeScript application and micro frontends", | ||
"main": "./dist/index.js", | ||
@@ -37,3 +37,3 @@ "types": "./dist/types/index.d.ts", | ||
}, | ||
"gitHead": "f8b77165502f0f4466e6691559ddd600a61efb43" | ||
"gitHead": "b74807913fbcea918918d42548cdb49006a38bfb" | ||
} |
@@ -7,3 +7,2 @@ { | ||
"module": "commonjs", | ||
"esModuleInterop": true, | ||
"moduleResolution": "node", | ||
@@ -13,3 +12,7 @@ "target": "es2015", | ||
"declaration": true, | ||
"declarationDir": "dist/types" | ||
"declarationDir": "dist/types", | ||
"esModuleInterop": true, | ||
"importHelpers": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"strict": true | ||
}, | ||
@@ -16,0 +19,0 @@ "include": ["src/**/*"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
12
1
8
10935
181