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

@depay/js-verify-signature

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depay/js-verify-signature - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

dist/esm/index.js

@@ -32,3 +32,3 @@ let crypto;

const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*$/, '');
const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*/g, '');
const binaryString = atob(publicKeyContent);

@@ -35,0 +35,0 @@ const binaryStringArrayBuffer = string2ArrayBuffer(binaryString);

@@ -38,3 +38,3 @@ (function (global, factory) {

const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*$/, '');
const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*/g, '');
const binaryString = atob(publicKeyContent);

@@ -41,0 +41,0 @@ const binaryStringArrayBuffer = string2ArrayBuffer(binaryString);

{
"name": "@depay/js-verify-signature",
"moduleName": "DePayVerifySignature",
"version": "2.0.3",
"version": "2.0.4",
"description": "JavaScript library to verify RSA PSS SHA256 signatures with a given public key.",

@@ -6,0 +6,0 @@ "main": "dist/umd/index.js",

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