📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
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
npm
Version published
Weekly downloads
58
-7.94%
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