scrypt-voting
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -1,1 +0,1 @@ | ||
export declare function main(): Promise<void>; | ||
export declare function deploy(): Promise<void>; |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.main = void 0; | ||
exports.deploy = void 0; | ||
const voting_1 = require("./contracts/voting"); | ||
@@ -42,3 +42,3 @@ const scrypt_ts_1 = require("scrypt-ts"); | ||
})); | ||
async function main() { | ||
async function deploy() { | ||
await voting_1.Voting.compile(); | ||
@@ -57,4 +57,6 @@ const candidateNames = [ | ||
} | ||
exports.main = main; | ||
main(); | ||
exports.deploy = deploy; | ||
if (require.main === module) { | ||
deploy(); | ||
} | ||
//# sourceMappingURL=deploy.js.map |
{ | ||
"name": "scrypt-voting", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A demo sCrypt smart contract.", | ||
@@ -11,3 +11,3 @@ "author": "", | ||
"clean": "rimraf scrypt.index.json && rimraf dist && rimraf artifacts", | ||
"compile": "npx scrypt-cli compile", | ||
"compile": "npx scrypt-cli@test compile", | ||
"pretest": "npm run build && npm run compile", | ||
@@ -31,3 +31,3 @@ "test": "mocha", | ||
"dotenv": "^16.0.3", | ||
"scrypt-ts": "test" | ||
"scrypt-ts": "^1.1.0-test.3" | ||
}, | ||
@@ -54,2 +54,2 @@ "devDependencies": { | ||
"license": "MIT" | ||
} | ||
} |
23547
19
326
+ Addedscrypt-ts@1.3.31(transitive)
- Removedscrypt-ts@1.3.24-test.1(transitive)
Updatedscrypt-ts@^1.1.0-test.3