Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "rcaptcha", | ||
"version": "v1.0.0", | ||
"version": "v1.0.1", | ||
"description": "rCaptcha Human Verification | by Swôth#9990 & Loiren#0555 & Roalia#0001", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -38,3 +38,11 @@ import { IrCaptcha } from "./interfaces"; | ||
let buffer = canvas.toBuffer(); | ||
return response | ||
return { | ||
text: captcha, | ||
difficulty: this.difficulty, | ||
length: this.length, | ||
response: { | ||
dataURL: response, | ||
buffer: buffer | ||
} | ||
} | ||
} else { | ||
@@ -54,3 +62,3 @@ const canvas = Canvas.createCanvas(900, 300); | ||
let buffer = canvas.toBuffer(); | ||
return response /*{ | ||
return { | ||
text: captcha, | ||
@@ -63,3 +71,3 @@ difficulty: this.difficulty, | ||
} | ||
}*/ | ||
} | ||
} | ||
@@ -66,0 +74,0 @@ }; |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
13657
312
1