Socket
Socket
Sign inDemoInstall

@sap-ux/axios-extension

Package Overview
Dependencies
Maintainers
3
Versions
109
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 1.11.7 to 1.11.8

1

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

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

export declare class AbapServiceProvider extends ServiceProvider {
s4Cloud: boolean | undefined;
protected atoSettings: AtoSettings;

@@ -16,0 +15,0 @@ /**

21

dist/abap/abap-service-provider.js

@@ -95,18 +95,9 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
if (this.s4Cloud === undefined) {
try {
const settings = yield this.getAtoInfo();
this.s4Cloud =
settings.tenantType === types_1.TenantType.Customer &&
settings.operationsType === 'C' &&
settings.isExtensibilityDevelopmentSystem === true &&
settings.developmentPrefix !== '' &&
settings.developmentPackage !== '';
}
catch (error) {
this.log.warn('Failed to detect whether this is an SAP S/4HANA Cloud system or not.');
this.s4Cloud = false;
}
if (this.atoSettings === undefined) {
yield this.getAtoInfo();
}
return this.s4Cloud;
return (this.atoSettings.tenantType === types_1.TenantType.Customer &&
this.atoSettings.operationsType === 'C' &&
this.atoSettings.developmentPrefix !== '' &&
this.atoSettings.developmentPackage !== '');
});

@@ -113,0 +104,0 @@ }

@@ -84,3 +84,9 @@ /**

developmentPrefix?: string;
/**
* Operations type cloud or on premise.
*/
operationsType?: OperationsType;
/**
* True if it is an S/4HANA Cloud Public Edition client for key user extensibility.
*/
isExtensibilityDevelopmentSystem?: boolean;

@@ -87,0 +93,0 @@ tenantType?: TenantType;

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

@@ -32,3 +32,3 @@ "repository": {

"supertest": "6.3.3",
"@sap-ux/project-access": "1.19.10"
"@sap-ux/project-access": "1.19.14"
},

@@ -35,0 +35,0 @@ "files": [

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