bitcoinjs-lib
Advanced tools
Comparing version 3.3.1 to 3.3.2
{ | ||
"name": "bitcoinjs-lib", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Client-side Bitcoin JavaScript library", | ||
@@ -33,3 +33,3 @@ "main": "./src/index.js", | ||
"dependencies": { | ||
"bech32": "0.0.3", | ||
"bech32": "^1.1.2", | ||
"bigi": "^1.4.0", | ||
@@ -36,0 +36,0 @@ "bip66": "^1.1.0", |
@@ -74,3 +74,3 @@ # BitcoinJS (bitcoinjs-lib) | ||
``` bash | ||
uglifyjs ... --mangle --reserved 'BigInteger,ECPair,Point' | ||
uglifyjs ... --mangle reserved=['BigInteger','ECPair','Point'] | ||
``` | ||
@@ -182,3 +182,3 @@ | ||
## Complementing Libraries | ||
- [BIP21](https://github.com/bitcoinjs/bip21) - A BIP21 compatible URL encoding utility library | ||
- [BIP21](https://github.com/bitcoinjs/bip21) - A BIP21 compatible URL encoding library | ||
- [BIP38](https://github.com/bitcoinjs/bip38) - Passphrase-protected private keys | ||
@@ -188,2 +188,3 @@ - [BIP39](https://github.com/bitcoinjs/bip39) - Mnemonic generation for deterministic keys | ||
- [BIP66](https://github.com/bitcoinjs/bip66) - Strict DER signature decoding | ||
- [BIP68](https://github.com/bitcoinjs/bip68) - Relative lock-time encoding library | ||
- [BIP69](https://github.com/bitcoinjs/bip69) - Lexicographical Indexing of Transaction Inputs and Outputs | ||
@@ -190,0 +191,0 @@ - [Base58](https://github.com/cryptocoinjs/bs58) - Base58 encoding/decoding |
@@ -56,2 +56,3 @@ // OP_0 [signatures ...] | ||
function decodeStack (stack, allowIncomplete) { | ||
typeforce(typeforce.Array, stack) | ||
typeforce(check, stack, allowIncomplete) | ||
@@ -58,0 +59,0 @@ return stack.slice(1) |
@@ -24,2 +24,3 @@ // {signature} | ||
function decodeStack (stack) { | ||
typeforce(typeforce.Array, stack) | ||
typeforce(check, stack) | ||
@@ -26,0 +27,0 @@ return stack[0] |
@@ -32,2 +32,3 @@ // {signature} {pubKey} | ||
function decodeStack (stack) { | ||
typeforce(typeforce.Array, stack) | ||
typeforce(check, stack) | ||
@@ -34,0 +35,0 @@ |
@@ -62,2 +62,3 @@ // <scriptSig> {serialized scriptPubKey script} | ||
function decodeStack (stack) { | ||
typeforce(typeforce.Array, stack) | ||
typeforce(check, stack) | ||
@@ -64,0 +65,0 @@ |
@@ -32,2 +32,3 @@ // {signature} {pubKey} | ||
function decodeStack (stack) { | ||
typeforce(typeforce.Array, stack) | ||
typeforce(check, stack) | ||
@@ -34,0 +35,0 @@ |
@@ -51,7 +51,8 @@ // <scriptSig> {serialized scriptPubKey script} | ||
function decodeStack (chunks) { | ||
typeforce(check, chunks) | ||
function decodeStack (stack) { | ||
typeforce(typeforce.Array, stack) | ||
typeforce(check, stack) | ||
return { | ||
witnessData: chunks.slice(0, -1), | ||
witnessScript: chunks[chunks.length - 1] | ||
witnessData: stack.slice(0, -1), | ||
witnessScript: stack[stack.length - 1] | ||
} | ||
@@ -58,0 +59,0 @@ } |
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
117405
2791
203
+ Addedbech32@1.1.4(transitive)
- Removedbech32@0.0.3(transitive)
Updatedbech32@^1.1.2