Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@endeo/types
Advanced tools
Common types for values in @endeo/specials objects.
These are used when creating an "object spec" to encode a "special object" in a compressed format. They are specified as the 'type' in the enhancers
object.
When endeo's enbyte encodes a "special object" it must test each key's value to determine which type it is so it knows how to encode it. Specify its exact type to skip that work.
See packages:
npm install --save @endeo/types
var types = require('@endeo/types')
var enhancers = {
key: {
type: types.day
}
}
// OR, when specials has the type
specials.addType('day', types.day)
var enhancers = {
key: 'day'
}
There are two extra types available for optional use:
Date
requires many bytes to encode because it has a lot of info. If you only want to store the year, month, and day (in month) then you may use this type and it'll encode it in four bytes instead.Date
requires many bytes. If you only want the hours and minutes (24-hour style) then use this type to encode it in two bytes.FAQs
Common types for values in @endeo/special objects.
The npm package @endeo/types receives a total of 0 weekly downloads. As such, @endeo/types popularity was classified as not popular.
We found that @endeo/types demonstrated a not healthy version release cadence and project activity because the last version was released 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.