@blockaid/ppom-mock
Advanced tools
Comparing version 1.0.0 to 1.0.1
import { PPOM } from "./pkg/ppom"; | ||
export { PPOM }; | ||
declare const _default: () => Promise<any>; | ||
declare const _default: (input?: any) => Promise<any>; | ||
export default _default; |
@@ -39,7 +39,7 @@ "use strict"; | ||
let initOutput = undefined; | ||
exports.default = () => __awaiter(void 0, void 0, void 0, function* () { | ||
exports.default = (input) => __awaiter(void 0, void 0, void 0, function* () { | ||
if (!initOutput) { | ||
initOutput = yield (0, ppom_1.default)("./ppom_bg.wasm"); | ||
initOutput = yield (0, ppom_1.default)(input ? input : "./ppom_bg.wasm"); | ||
} | ||
return initOutput; | ||
}); |
{ | ||
"name": "@blockaid/ppom-mock", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist/**/*.js", |
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
180013
8
1069
2