scrypttest
Advanced tools
Comparing version 0.1.33 to 0.1.34
# CHANGELOG | ||
## 0.1.32 | ||
Enhancements: | ||
* Bump `scryptc` to 0.1.20 | ||
## 0.1.30 | ||
@@ -4,0 +10,0 @@ |
export { buildContractClass, bsv, literal2Asm, int2Asm } from './local'; | ||
export { lockScriptTx, unlockScriptTx, unlockFundedScriptTx, getSighashPreimage, getFundedSighashPreimage, getSignature, showError } from './remote'; | ||
export { lockScriptTx, unlockScriptTx, unlockFundedScriptTx, getSighashPreimage, getFundedSighashPreimage, getSignature, sendTx, showError } from './remote'; |
@@ -15,2 +15,3 @@ "use strict"; | ||
exports.getSignature = remote_1.getSignature; | ||
exports.sendTx = remote_1.sendTx; | ||
exports.showError = remote_1.showError; |
@@ -0,1 +1,2 @@ | ||
declare const sendTx: (txhex: any) => Promise<any>; | ||
declare const lockScriptTx: (lockingScriptStr: any, key: any, amount: any) => Promise<any>; | ||
@@ -12,2 +13,2 @@ declare const unlockScriptTx: (unlockingScriptStr: any, lockingTxid: any, lockingScriptStr: any, inputAmount: any, newLockingScriptStr: any, outputAmount: any) => Promise<any>; | ||
declare const showError: (error: any) => void; | ||
export { lockScriptTx, unlockScriptTx, unlockFundedScriptTx, getSighashPreimage, getFundedSighashPreimage, getSignature, showError }; | ||
export { lockScriptTx, unlockScriptTx, unlockFundedScriptTx, getSighashPreimage, getFundedSighashPreimage, getSignature, sendTx, showError }; |
@@ -100,2 +100,3 @@ 'use strict'; | ||
}); | ||
exports.sendTx = sendTx; | ||
// send tx to send funds to locking script | ||
@@ -218,3 +219,4 @@ const lockScriptTx = (lockingScriptStr, key, amount) => __awaiter(void 0, void 0, void 0, function* () { | ||
getSignature, | ||
sendTx, | ||
showError, | ||
}; |
{ | ||
"name": "scrypttest", | ||
"version": "0.1.33", | ||
"version": "0.1.34", | ||
"description": "testing library for sCrypt projects", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"bsv": "git+https://github.com/scrypt-sv/bsv.git", | ||
"scryptc": "^0.1.19" | ||
"scryptc": "^0.1.20" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
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
23605
484
Updatedscryptc@^0.1.20