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 1.8.1 to 1.9.0

4

dist/abap/app-index-service.d.ts
import type { Service } from '../base/service-provider';
import { Axios } from 'axios';
import type { Logger } from '@sap-ux/logger';
export interface App {
export interface App extends Record<string, unknown> {
'sap.app/id': string;
'sap.app/title': string;
'sap.fiori/registrationIds': string[];
url: string;

@@ -7,0 +9,0 @@ }

@@ -51,2 +51,6 @@ /// <reference types="node" />

safeMode?: boolean;
/**
* if set to true, then any additional info messages will be logged
*/
showAddInfo?: boolean;
}

@@ -108,5 +112,6 @@ /**

* @param config.safeMode if set then the SafeMode url parameter will be set. SafeMode is by default active, to activate provide false
* @param config.showAddInfo if set to true, then additional info message will be logged
* @returns the Axios response object for further processing
*/
deploy({ archive, bsp, testMode, safeMode }: DeployConfig): Promise<AxiosResponse>;
deploy({ archive, bsp, testMode, safeMode, showAddInfo }: DeployConfig): Promise<AxiosResponse>;
/**

@@ -113,0 +118,0 @@ * Undeploy an existing app.

@@ -115,5 +115,6 @@ "use strict";

* @param config.safeMode if set then the SafeMode url parameter will be set. SafeMode is by default active, to activate provide false
* @param config.showAddInfo if set to true, then additional info message will be logged
* @returns the Axios response object for further processing
*/
deploy({ archive, bsp, testMode = false, safeMode }) {
deploy({ archive, bsp, testMode = false, safeMode, showAddInfo = false }) {
var _a, _b;

@@ -143,4 +144,4 @@ return __awaiter(this, void 0, void 0, function* () {

: '';
if (this.isDest) {
this.log.info('(Note: You will need to replace the host in the URL with the internal host, if your destination is configured using an On-Premise SAP Cloud Connector)');
if (this.isDest && showAddInfo) {
this.log.info('(Note: As the destination is configured using an On-Premise SAP Cloud Connector, you will need to replace the host in the URL above with the internal host)');
}

@@ -147,0 +148,0 @@ this.log.info(`App available at ${frontendUrl}${path}${query}`);

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

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

"@xmldom/xmldom": "0.8.10",
"@sap-ux/btp-utils": "0.12.1",
"@sap-ux/btp-utils": "0.13.0",
"@sap-ux/logger": "0.4.0"

@@ -33,3 +33,3 @@ },

"supertest": "6.3.3",
"@sap-ux/project-access": "1.16.2"
"@sap-ux/project-access": "1.17.0"
},

@@ -36,0 +36,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