🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

discord-verify

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-verify - npm Package Compare versions

Comparing version

to
1.0.3

dist/shared/discord-verify.710b4879.mjs

10

dist/node.d.ts

@@ -1,3 +0,3 @@

import { R as Request, S as SubtleCryptoImportKeyAlgorithm } from './verify-a44bae14.js';
export { P as PlatformAlgorithm, h as hexStringToBinary, v as verify } from './verify-a44bae14.js';
import { R as Request, S as SubtleCryptoImportKeyAlgorithm } from './verify-b4db2f9d.js';
export { P as PlatformAlgorithm, h as hexStringToBinary, v as verify } from './verify-b4db2f9d.js';

@@ -9,5 +9,5 @@ /**

* to calling this function.
* @param request Request to verify. This should not have been consumed yet.
* @param publicKey The application's public key
* @param algorithm The name of the crypto algorithm to use
* @param request - Request to verify. This should not have been consumed yet.
* @param publicKey - The application's public key
* @param algorithm - The name of the crypto algorithm to use
* @returns Whether the request is valid or not

@@ -14,0 +14,0 @@ */

@@ -1,3 +0,3 @@

import { R as Request, S as SubtleCryptoImportKeyAlgorithm } from './verify-a44bae14.js';
export { P as PlatformAlgorithm, h as hexStringToBinary, v as verify } from './verify-a44bae14.js';
import { R as Request, S as SubtleCryptoImportKeyAlgorithm } from './verify-b4db2f9d.js';
export { P as PlatformAlgorithm, h as hexStringToBinary, v as verify } from './verify-b4db2f9d.js';

@@ -7,5 +7,5 @@ /**

* to calling this function.
* @param request Request to verify. This should not have been consumed yet.
* @param publicKey The application's public key
* @param algorithm The name of the crypto algorithm to use
* @param request - Request to verify. This should not have been consumed yet.
* @param publicKey - The application's public key
* @param algorithm - The name of the crypto algorithm to use
* @returns Whether the request is valid or not

@@ -12,0 +12,0 @@ */

{
"name": "discord-verify",
"version": "1.0.2",
"version": "1.0.3",
"author": "Ian Mitchell",

@@ -41,3 +41,3 @@ "description": "A library for verifying the authenticity of requests coming from the Discord Interactions API",

"scripts": {
"clean": "rimraf dist",
"clean": "rimraf dist .turbo",
"build": "unbuild",

@@ -60,4 +60,4 @@ "typecheck": "tsc --noEmit",

"dependencies": {
"@types/express": "^4.17.14"
"@types/express": "^4.17.17"
}
}

@@ -16,5 +16,5 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/prefer-ts-expect-error

* to calling this function.
* @param request Request to verify. This should not have been consumed yet.
* @param publicKey The application's public key
* @param algorithm The name of the crypto algorithm to use
* @param request - Request to verify. This should not have been consumed yet.
* @param publicKey - The application's public key
* @param algorithm - The name of the crypto algorithm to use
* @returns Whether the request is valid or not

@@ -21,0 +21,0 @@ */

@@ -19,5 +19,5 @@ import {

* to calling this function.
* @param request Request to verify. This should not have been consumed yet.
* @param publicKey The application's public key
* @param algorithm The name of the crypto algorithm to use
* @param request - Request to verify. This should not have been consumed yet.
* @param publicKey - The application's public key
* @param algorithm - The name of the crypto algorithm to use
* @returns Whether the request is valid or not

@@ -24,0 +24,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet