2.0.0-preview.3.20240503190622.4ea9bc90f9c3eb71ff8b4a0f0b53a3fe0cece4f4 • Published 2 years ago

@solana/assertions v2.0.0-preview.3.20240503190622.4ea9bc90f9c3eb71ff8b4a0f0b53a3fe0cece4f4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm npm-downloads semantic-release code-style-prettier

@solana/assertions

This package contains utilities for asserting that a JavaScript environment supports certain features necessary for the operation of the Solana JavaScript SDK.

Functions

assertKeyExporterIsAvailable()

Throws an exception unless crypto.subtle.exportKey() is available in the current JavaScript environment.

assertKeyGenerationIsAvailable()

Throws an exception unless crypto.subtle.generateKey() is available in the current JavaScript environment and has support for the Ed25519 curve.

assertSigningCapabilityIsAvailable()

Throws an exception unless crypto.subtle.sign() is available in the current JavaScript environment.

assertVerificationCapabilityIsAvailable()

Throws an exception unless crypto.subtle.sign() is available in the current JavaScript environment.

2.1.1

11 months ago

2.1.0

1 year ago

2.0.0-rc.4

1 year ago

2.0.0

1 year ago

2.0.0-rc.2

1 year ago

2.0.0-rc.3

1 year ago

2.0.0-preview.4

2 years ago

2.0.0-rc.0

2 years ago

2.0.0-rc.1

2 years ago

2.0.0-preview.3

2 years ago

2.0.0-preview.2

2 years ago

2.0.0-preview.1

2 years ago