discord-verify
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31658
800
Updated@types/express@^4.17.17