Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@polkadot/types
Advanced tools
Implementation of the types and their (de-)serialisation via SCALE codec. On the Rust side, the codec types and primitive types are implemented via the parity-codec.
12.0.2 June 27, 2024
Important Changes:
withSignedTransaction
: This option has been added to SignerOptions
. When using signAndSend
, signAsync
, and dryRun
you may now enable or disable the use of the signedTransaction
field by adding the withSignedTransaction
option. When withSignedTransaction is not enabled but the signer adds a signedTransaction the api will error.
signPayload
.withSignedTransaction
has also been added to the SignerPayload
type which allows for payload.toPayload()
to include the option.signAsync
: now accepts the signedTransaction
field as well. This means that if withSignedTransaction
is enabled, and signedTransaction
is present the api will adjust the current payload attached to the SubmittableExtrinsic, and add the signature. Then the user can call .send()
as they please.dryRun
: All steps will be the same as signAsync with the exception that .send() has never needed to be called.Contributed:
FAQs
Implementation of the Parity codec
The npm package @polkadot/types receives a total of 57,098 weekly downloads. As such, @polkadot/types popularity was classified as popular.
We found that @polkadot/types 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.