scryptlib
Advanced tools
Comparing version 2.1.18-test.5 to 2.1.18
# CHANGELOG | ||
## 2.1.18 | ||
- Fix patching issue. | ||
## 2.1.17 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "scryptlib", | ||
"version": "2.1.18-test.5", | ||
"version": "2.1.18", | ||
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -9,20 +9,16 @@ | ||
function apply(patches) { | ||
console.log('__filename', __filename) | ||
console.log('__dirname', __dirname) | ||
console.log('cwd', process.cwd()) | ||
console.log('process.env.NODE_ENV', process.env.NODE_ENV) | ||
const targets = findNodeModules({ relative: false }) | ||
const targets = findNodeModules({ relative: false }) | ||
console.log('target', targets) | ||
if (targets.length < 1) { | ||
throw new Error('No node modules found.'); | ||
} | ||
patches.map(patch => { | ||
targets.forEach(target => { | ||
try { | ||
const dest = join(target, patch); | ||
console.log('dest', dest) | ||
const src = join(__dirname, patch); | ||
copyFileSync(src, dest); | ||
} catch (error) { | ||
} | ||
}) | ||
@@ -29,0 +25,0 @@ }) |
@@ -664,3 +664,5 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
One: BN; | ||
static Zero: BN; | ||
static One: BN; | ||
static Minus1: BN; | ||
@@ -680,2 +682,3 @@ clone(): BN; | ||
isZero(): boolean; | ||
isBN(): boolean; | ||
cmp(b: any): number; | ||
@@ -724,3 +727,2 @@ lt(b: any): boolean; | ||
static fromNumber(n: number): BN; | ||
//toBuffer(opts?: IOpts): Buffer; | ||
static fromHex(hex: string, opts?: IOpts): BN; | ||
@@ -727,0 +729,0 @@ static fromString(hex: string, base?: number): BN; |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
8
980696