Comparing version 1.1.5 to 1.1.6
const {createHash} = require('crypto'); | ||
const {bech32} = require('bech32'); | ||
const {ecdsaRecover} = require('secp256k1'); | ||
const {encode} = require('bech32'); | ||
@@ -9,2 +9,3 @@ const hexAsWords = require('./hex_as_words'); | ||
const {encode} = bech32; | ||
const {isArray} = Array; | ||
@@ -11,0 +12,0 @@ const {MAX_SAFE_INTEGER} = Number; |
@@ -1,4 +0,5 @@ | ||
const {toWords} = require('bech32'); | ||
const {bech32} = require('bech32'); | ||
const encoding = 'utf8'; | ||
const {toWords} = bech32; | ||
@@ -5,0 +6,0 @@ /** Description string as words |
@@ -1,4 +0,5 @@ | ||
const {toWords} = require('bech32'); | ||
const {bech32} = require('bech32'); | ||
const encoding = 'hex'; | ||
const {toWords} = bech32; | ||
@@ -5,0 +6,0 @@ /** Hex data as bech32 words |
@@ -1,2 +0,2 @@ | ||
const {decode} = require('bech32'); | ||
const {bech32} = require('bech32'); | ||
const {ecdsaRecover} = require('secp256k1'); | ||
@@ -14,2 +14,3 @@ | ||
const asHex = arr => Buffer.from(arr).toString('hex'); | ||
const {decode} = bech32; | ||
const lnPrefix = 'ln'; | ||
@@ -16,0 +17,0 @@ const maxRequestLength = Number.MAX_SAFE_INTEGER; |
# Versions | ||
## 1.1.4 | ||
## 1.1.5 | ||
@@ -5,0 +5,0 @@ - `createUnsignedRequest`: Allow empty descriptions |
@@ -7,7 +7,7 @@ { | ||
"dependencies": { | ||
"bolt07": "1.7.0", | ||
"bolt07": "1.7.1", | ||
"bolt09": "0.1.3", | ||
"bech32": "1.1.4", | ||
"bech32": "2.0.0", | ||
"bitcoinjs-lib": "5.2.0", | ||
"bn.js": "5.1.3", | ||
"bn.js": "5.2.0", | ||
"secp256k1": "4.0.2" | ||
@@ -39,3 +39,3 @@ }, | ||
}, | ||
"version": "1.1.5" | ||
"version": "1.1.6" | ||
} |
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
83083
2144
+ Addedbech32@2.0.0(transitive)
+ Addedbn.js@5.2.0(transitive)
+ Addedbolt07@1.7.1(transitive)
- Removedbn.js@5.1.3(transitive)
- Removedbolt07@1.7.0(transitive)
Updatedbech32@2.0.0
Updatedbn.js@5.2.0
Updatedbolt07@1.7.1