@smartledger/bsv 9.3.0 → 9.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/README.md +19 -19
- package/bsv-gdaf.min.js +52 -52
- package/bsv-ltp.min.js +1 -1
- package/bsv-smartcontract.min.js +18 -18
- package/bsv.bundle.js +52 -52
- package/bsv.d.ts +8 -0
- package/bsv.min.js +52 -52
- package/docs/AUDIT_SCOPE.md +135 -34
- package/docs/MODULE_REFERENCE_COMPLETE.md +27 -27
- package/docs/advanced/UTXO_MANAGER_GUIDE.md +1 -1
- package/docs/getting-started/INSTALLATION.md +23 -23
- package/docs/getting-started/QUICK_START.md +7 -7
- package/docs/migration/FROM_BSV_1_5_6.md +5 -5
- package/lib/script/interpreter.js +7 -2
- package/lib/smart_contract/dsl.js +55 -3
- package/package.json +3 -3
- package/version.js +1 -1
package/bsv.d.ts
CHANGED
|
@@ -1112,6 +1112,14 @@ declare module '@smartledger/bsv' {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
class Policy {
|
|
1114
1114
|
payTo(dest: Address | PublicKey | Script | Transaction.Output, satoshis: number): Policy;
|
|
1115
|
+
/**
|
|
1116
|
+
* Require nLockTime >= height, in the unit `height` itself uses: below
|
|
1117
|
+
* 500000000 a block height, at or above it a unix timestamp. The compiled
|
|
1118
|
+
* script also requires the spending input to be non-final, without which
|
|
1119
|
+
* consensus ignores nLockTime entirely.
|
|
1120
|
+
*
|
|
1121
|
+
* @throws if height is not an integer in 1..4294967295. 0 means "no lock".
|
|
1122
|
+
*/
|
|
1115
1123
|
lockUntil(height: number): Policy;
|
|
1116
1124
|
outputs(): Transaction.Output[];
|
|
1117
1125
|
describe(): string;
|