You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@discord-interactions/verify

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discord-interactions/verify

A verification module using the Web SubtleCrypto API.

0.3.16
latest
npmnpm
Version published
Weekly downloads
40
90.48%
Maintainers
1
Weekly downloads
 
Created
Source

@discord-interactions/verify

Discord server npm version npm downloads Tests status

Verification module for @discord-interactions/core. Implements signature verification using the Web SubtleCrypto API.

import verifySignature from "@discord-interactions/verify";

verifySignature

verifySignature(publicKey, signature, timestamp, rawBody): Promise<boolean>

Parameters

NameType
publicKeystring
signaturestring
timestampstring
rawBodystring

Keywords

discord

FAQs

Package last updated on 07 Mar 2023

Did you know?

Socket

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.

Install

Related posts