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

@sap-ux/axios-extension

Package Overview
Dependencies
Maintainers
3
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/axios-extension - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

dist/abap/lrep-service.d.ts

7

dist/abap/abap-service-provider.d.ts

@@ -7,2 +7,3 @@ import { ServiceProvider } from '../base/service-provider';

import { ODataVersion } from '../base/odata-service';
import { LayeredRepositoryService } from './lrep-service';
export interface AbapServiceProviderExtension {

@@ -64,3 +65,9 @@ s4Cloud: boolean | undefined;

appIndex(): AppIndexService;
/**
* Create or get an existing instance of design time adaptation service.
*
* @returns an instance of the design time adaptation service.
*/
layeredRepository(): LayeredRepositoryService;
}
//# sourceMappingURL=abap-service-provider.d.ts.map

@@ -19,2 +19,3 @@ "use strict";

const odata_service_1 = require("../base/odata-service");
const lrep_service_1 = require("./lrep-service");
/**

@@ -132,4 +133,15 @@ * Extension of the service provider for ABAP services.

}
/**
* Create or get an existing instance of design time adaptation service.
*
* @returns an instance of the design time adaptation service.
*/
layeredRepository() {
if (!this.services[lrep_service_1.LayeredRepositoryService.PATH]) {
this.services[lrep_service_1.LayeredRepositoryService.PATH] = this.createService(lrep_service_1.LayeredRepositoryService.PATH, lrep_service_1.LayeredRepositoryService);
}
return this.services[lrep_service_1.LayeredRepositoryService.PATH];
}
}
exports.AbapServiceProvider = AbapServiceProvider;
//# sourceMappingURL=abap-service-provider.js.map

1

dist/abap/index.d.ts
export { Ui5AbapRepositoryService, AppInfo, ApplicationConfig } from './ui5-abap-repository-service';
export { LayeredRepositoryService, AdaptationConfig } from './lrep-service';
export { AbapServiceProvider } from './abap-service-provider';

@@ -3,0 +4,0 @@ export { AppIndex, AppIndexService } from './app-index-service';

4

dist/abap/index.js

@@ -13,5 +13,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.TenantType = exports.AppIndexService = exports.AbapServiceProvider = exports.Ui5AbapRepositoryService = void 0;
exports.TenantType = exports.AppIndexService = exports.AbapServiceProvider = exports.LayeredRepositoryService = exports.Ui5AbapRepositoryService = void 0;
var ui5_abap_repository_service_1 = require("./ui5-abap-repository-service");
Object.defineProperty(exports, "Ui5AbapRepositoryService", { enumerable: true, get: function () { return ui5_abap_repository_service_1.Ui5AbapRepositoryService; } });
var lrep_service_1 = require("./lrep-service");
Object.defineProperty(exports, "LayeredRepositoryService", { enumerable: true, get: function () { return lrep_service_1.LayeredRepositoryService; } });
var abap_service_provider_1 = require("./abap-service-provider");

@@ -18,0 +20,0 @@ Object.defineProperty(exports, "AbapServiceProvider", { enumerable: true, get: function () { return abap_service_provider_1.AbapServiceProvider; } });

@@ -145,6 +145,6 @@ "use strict";

});
// throw error on connection issues and remove interceptor if successfully connected
// throw error if the user is unauthorized otherwise, remove interceptor if successfully connected
const oneTimeRespInterceptorId = provider.interceptors.response.use((response) => {
var _a, _b, _c, _d;
if (response.status >= 400) {
if (response.status === 401) {
throw new error_1.ConnectionError(response.statusText, response);

@@ -151,0 +151,0 @@ }

{
"name": "@sap-ux/axios-extension",
"version": "0.4.0",
"version": "0.5.0",
"description": "Extension of the Axios module adding convinience methods to interact with SAP systems especially with OData services.",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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