Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
apollo-link-batch
Advanced tools
Apollo Link that performs batching and operation on batched Operations
An Apollo Link to allow batching of multiple operations into a single request. For example, the apollo-link-batch-http
uses this link to batch operations into a single http request.
npm install apollo-link-batch --save
To use this package in a web browser or mobile app, you'll need a build system capable of loading NPM packages on the client. Some common choices include Browserify, Webpack, and Meteor +1.3.
import BatchLink from "apollo-link-batch";
const link = new BatchLink({
batchHandler: (operations: Operation[], forward: NextLink) => Observable<FetchResult[]> | null
});
Batch Link takes an object with three options on it to customize the behavoir of the link. The only required option is the batchHandler function
name | value | default | required |
---|---|---|---|
batchInterval | number | 10 | false |
batchMax | number | 0 | false |
batchHandler | (operations: Operation[], forward: NextLink) => Observable<FetchResult[]> | null | NA |
The Batch Link does not use the context for anything
FAQs
Apollo Link that performs batching and operation on batched Operations
The npm package apollo-link-batch receives a total of 18,022 weekly downloads. As such, apollo-link-batch popularity was classified as popular.
We found that apollo-link-batch 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.