Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@onflow/sdk
Advanced tools
A collection of modules that make interacting with Flow easier.
npm install --save @onflow/sdk
import * as sdk from "@onflow/sdk"
import * as t from "@onflow/types"
const ixBuilt = await sdk.build([
sdk.script`
pub fun main(): UFix64 {
let a = ${p => p.a}
let b = ${p => p.b}
return a + b
}
`,
sdk.params([sdk.param(5, t.UFix64, "a"), sdk.param(6, t.UFix64, "b")]),
])
const ixResolved = await sdk.resolve(ixBuild, [sdk.resolveParams])
const response = await sdk.send(ixResolved, {
node: "accessNode url",
})
const result = await sdk.decodeResponse(response, {
UFix64: v => BigInt(v),
})
console.log(result === 11n) // true
FAQs
Flow SDK
The npm package @onflow/sdk receives a total of 13,765 weekly downloads. As such, @onflow/sdk popularity was classified as popular.
We found that @onflow/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.