@usecapsule/core-sdk
Advanced tools
Comparing version 1.6.0 to 1.6.1-dev.1
@@ -60,8 +60,4 @@ "use strict"; | ||
} | ||
return new Promise((resolve, reject) => rsa.generateKeyPair(options, (err, keypair) => { | ||
if (err) { | ||
reject(err); | ||
} | ||
resolve(keypair); | ||
})); | ||
console.log('generating key pair...'); | ||
return rsa.generateKeyPair(options); | ||
}); | ||
@@ -68,0 +64,0 @@ } |
@@ -52,8 +52,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
return new Promise((resolve, reject) => rsa.generateKeyPair(options, (err, keypair) => { | ||
if (err) { | ||
reject(err); | ||
} | ||
resolve(keypair); | ||
})); | ||
console.log('generating key pair...'); | ||
return rsa.generateKeyPair(options); | ||
}); | ||
@@ -60,0 +56,0 @@ } |
{ | ||
"name": "@usecapsule/core-sdk", | ||
"version": "1.6.0", | ||
"version": "1.6.1-dev.1", | ||
"main": "dist/cjs/index.js", | ||
@@ -37,3 +37,3 @@ "module": "dist/esm/index.js", | ||
}, | ||
"gitHead": "17a0301dea0c93a05fb200b6f68fb15388ced7d5" | ||
"gitHead": "86be3bd943673f87685b87b6e87fc33366be04e7" | ||
} |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
167981
3733
1
2
7