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

@adempiere/grpc-api

Package Overview
Dependencies
Maintainers
4
Versions
405
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adempiere/grpc-api - npm Package Compare versions

Comparing version 1.6.4 to 1.6.5

20

lib/convertPointOfSales.js

@@ -29,3 +29,3 @@ /*************************************************************************************

} = require('./convertCoreFunctionality.js');
const { getDecimalFromGRPC } = require('./convertBaseDataType.js');
return {

@@ -70,6 +70,7 @@ uuid: pointOfSales.getUuid(),

is_allows_collect_order: pointOfSales.getIsAllowsCollectOrder(),
maximum_refund_allowed: convertCurrencyFromGRPC(
maximum_refund_allowed: getDecimalFromGRPC(
pointOfSales.getMaximumRefundAllowed()
),
maximum_daily_refund_allowed: convertCurrencyFromGRPC(
maximum_daily_refund_allowed: getDecimalFromGRPC(
pointOfSales.getMaximumRefundAllowed()

@@ -110,2 +111,15 @@ )

// Convert available currency from gRPC to JSON
convertAvailableCurrency(currency) {
if(currency) {
return {
id: currency.getId(),
uuid: currency.getUuid(),
key: currency.getKey(),
name: currency.getName()
}
}
return undefined;
},
// Convert available document type from gRPC to JSON

@@ -112,0 +126,0 @@ convertAvailableDocumentType(availableDocumentType) {

2

package.json
{
"name": "@adempiere/grpc-api",
"version": "1.6.4",
"version": "1.6.5",
"description": "ADempiere Web Store write in Javascript for a node service",

@@ -5,0 +5,0 @@ "author": "Yamel Senih",

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