Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@1auth/crypto

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1auth/crypto - npm Package Compare versions

Comparing version 0.0.0-alpha.41 to 0.0.0-alpha.42

2

index.js

@@ -415,2 +415,3 @@ import { promisify } from 'node:util'

) => {
// if (typeof data !== 'string') throw new TypeError('data must me a string')
encryptionKey ??= options.symetricEncryptionKey

@@ -431,2 +432,3 @@ algorithm ??= options.hmacAlgorithm

) => {
if (typeof signedData !== 'string') return false
const data = signedData.slice(0, signedData.lastIndexOf('.'))

@@ -433,0 +435,0 @@ const signedDataExpected = makeSymmetricSignature(data, encryptionKey, {

2

package.json
{
"name": "@1auth/crypto",
"version": "0.0.0-alpha.41",
"version": "0.0.0-alpha.42",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc