
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.
@beredo/ngx-ion-client
Advanced tools
This Angular library simplifies API communication with Infor M3 and Infor ION, providing utility methods for managing transactions, user context, and CSRF tokens. It abstracts common functionalities such as parameter handling, context management, and erro
This Angular library simplifies API communication with Infor M3 and Infor ION, providing utility methods for managing transactions, user context, and CSRF tokens. It abstracts common functionalities such as parameter handling, context management, and error handling to streamline API integrations.
To install the library, add it to your Angular project:
npm install @beredo/ngx-ion-client
If using stand alone components, this can also be configured in the component.
Either in your app.module.ts
...
import { HttpClientModule } from '@angular/common/http';
...
@NgModule({
...
providers: [
...
HttpClientModule
...
]
...
Or in your app.config.ts
...
import { provideHttpClient } from '@angular/common/http';
export const appConfig: ApplicationConfig = {
providers: [
....
provideHttpClient(),
...
],
};
import { HttpClientModule } from '@angular/common/http';
import { MIService, UserService } from '@beredo/ngx-ion-client';
@NgModule({
imports: [
HttpClientModule,
// Other imports
],
providers: [MIService, UserService],
})
export class AppModule {}
To make a simple API call, import the service and use the execute or executeV2 methods
import { Component } from '@angular/core';
import { MIService } from "@beredo/ngx-ion-client";
@Component({
selector: 'app-transaction',
template: `<pre>{{ transactionResult | json }}</pre>`,
})
export class TransactionComponent {
transactionResult: any;
constructor(private miService: MIService) {
this.miService
.execute({
program: 'MMS001MI',
transaction: 'LstItems',
record: { ITNO: 'ITEM001' },
})
.subscribe(
(result) => {
this.transactionResult = result;
},
(error) => {
console.error('Transaction error', error);
}
);
}
}
Or with V2 API
import { Component } from '@angular/core';
import { MIService } from "@beredo/ngx-ion-client";
@Component({
selector: 'app-transaction',
template: `<pre>{{ transactionResult | json }}</pre>`,
})
export class TransactionComponent {
transactionResult: any;
constructor(private miService: MIService) {
return this.miService.executeV2<
GetHeadInputs,
GetHeadOutputs
>({
program: "OIS100MI",
transaction: "GetHead",
records: params,
});
}
}
User context uses MNS150MI when developing locally.
import { Component, OnInit } from '@angular/core';
import { UserService, UserContext } from "@beredo/ngx-ion-client";
@Component({
selector: 'app-user-context',
template: `<pre>{{ userContext | json }}</pre>`,
})
export class UserContextComponent implements OnInit {
userContext: UserContext | undefined;
constructor(private userService: UserService) {}
ngOnInit() {
this.userService.getUserContext().subscribe((context) => {
this.userContext = context;
});
}
}
This repository contains both open-source and proprietary components:
src/ee
directory are licensed under the MIT License with an additional restriction (see LICENSE
file).src/ee
directory are not open source and are part of a commercial offering. These files require a separate license for use.FAQs
This Angular library simplifies API communication with Infor M3 and Infor ION, providing utility methods for managing transactions, user context, and CSRF tokens. It abstracts common functionalities such as parameter handling, context management, and erro
The npm package @beredo/ngx-ion-client receives a total of 307 weekly downloads. As such, @beredo/ngx-ion-client popularity was classified as not popular.
We found that @beredo/ngx-ion-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.