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

@adempiere/grpc-api

Package Overview
Dependencies
Maintainers
5
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 4.4.7 to 4.4.8

src/utils/dictionaryFromGRPC.js

12

lib/convertBaseDataType.js

@@ -108,11 +108,15 @@ /*************************************************************************************

const { getValueFromGRPC } = require('@adempiere/grpc-api/src/utils/baseDataTypeFromGRPC.js');
const { isEmptyValue } = require('@adempiere/grpc-api/src/utils/valueUtils.js');
const values = context.forEach((value, key) => {
const values = []
context.forEach((value, key) => {
const convertedValue = getValueFromGRPC(value);
const currentValue = isEmptyValue(convertedValue) ? null : convertedValue;
return {
values.push({
key: key,
value: currentValue
};
})
});
});
return values;

@@ -119,0 +123,0 @@ },

{
"name": "@adempiere/grpc-api",
"version": "4.4.7",
"version": "4.4.8",
"description": "ADempiere Web write in Javascript for a node service",

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

@@ -22,2 +22,3 @@ // GENERATED CODE -- DO NOT EDIT!

var proto_base_data_type_pb = require('../proto/base_data_type_pb.js');
var proto_dictionary_pb = require('../proto/dictionary_pb.js');

@@ -24,0 +25,0 @@ function serialize_dashboarding_ExistsWindowDashboardsRequest(arg) {

/*************************************************************************************
* Product: ADempiere gRPC Dashboarding Client Convert Utils *
* Copyright (C) 2012-2023 E.R.P. Consultores y Asociados, C.A. *
* Copyright (C) 2018-2023 E.R.P. Consultores y Asociados, C.A. *
* Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com *

@@ -182,2 +182,6 @@ * This program is free software: you can redistribute it and/or modify *

}
const {
getReferenceFromGRPC
} = require('@adempiere/grpc-api/src/utils/dictionaryFromGRPC.js');
return {

@@ -201,3 +205,6 @@ id: windowChartParameterToConvert.getId(),

display_logic: windowChartParameterToConvert.getDisplayLogic(),
read_only_logic: windowChartParameterToConvert.getReadOnlyLogic()
read_only_logic: windowChartParameterToConvert.getReadOnlyLogic(),
reference: getReferenceFromGRPC(
windowChartParameterToConvert.getReference()
)
}

@@ -204,0 +211,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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