
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@adempiere/grpc-pos-client
Advanced tools
ADempiere POS Client write in Javascript for gRPC service
ADempiere POS Client write in Javascript for gRPC service, use it for connect with ADempiere-gRPC-Server.
# installing via NPM
npm i @adempiere/grpc-pos-client --save
# installing via Yarn
yarn add @adempiere/grpc-pos-client
const POS = require('@adempiere/grpc-pos-client');
let data = new POS(GRPC_HOST, 'Session UUID');
const POS = require('@adempiere/grpc-pos-client');
let data = new POS(GRPC_HOST, 'Session UUID', 'es_VE');
// Request a single Object
data.getProductPrice(searchValue: 'Patio Fun', priceListUuid: '8cc49692-fb40-11e8-a479-7a0060f0aa01')
.then(productPrice => {
console.log("Product Price");
// Value
console.log(productPrice);
})
.catch(err => console.log("Error: " + err.message));
Output
Product Price
For recreate stub class you must have follow:
Note: You can also install protoc
and protoc-gen-grpc-web
by going to the repository directory and run the command:
sh install-protoc.sh
When installation is complete, check the version with
protoc --version
After installed it just go to source code folder and run it:
And run it for Point Of Sales
protoc proto/point_of_sales.proto \
--js_out=import_style=commonjs:src/grpc \
--grpc-web_out=import_style=commonjs,mode=grpcwebtext:src/grpc
Or run:
sh generate-stub.sh
The result is generated on: src/grpc folder
pont_of_sales_pb.js
pont_of_sales_grpc_web_pb.js
FAQs
ADempiere POS Client write in Javascript for gRPC service
The npm package @adempiere/grpc-pos-client receives a total of 48 weekly downloads. As such, @adempiere/grpc-pos-client popularity was classified as not popular.
We found that @adempiere/grpc-pos-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.