@tokel/bitgo-komodo-cc-lib
Advanced tools
Comparing version 0.1.9 to 0.1.10
'use strict'; | ||
/* eslint-disable */ | ||
// prettier-ignore | ||
@@ -39,5 +37,5 @@ const TransactionBuilder = require('../src/transaction_builder'); | ||
if (process.browser) | ||
ccimp = import('@tokel/cryptoconditions'); | ||
ccimp = import('cryptoconditions-js/pkg/cryptoconditions.js'); // in browser, use 'wasm-pack build' (no any --target). Don't forget run browerify! | ||
else | ||
ccimp = require('@tokel/cryptoconditions'); | ||
ccimp = require('cryptoconditions-js/pkg/cryptoconditions.js'); // in nodejs, use 'wasm-pack build -t nodejs' | ||
@@ -44,0 +42,0 @@ |
@@ -10,7 +10,2 @@ /** borrowed from https://github.com/pbca26/bitgo-utxo-lib/blob/57f1a95694bbc825d3b055bfec8e0311181b7d2e/samples/cctokenspoc.js#L479 */ | ||
const Transaction = require('../src/transaction'); | ||
let cimp; | ||
if (process.browser) | ||
ccimp = import('@tokel/cryptoconditions'); | ||
else | ||
ccimp = require('@tokel/cryptoconditions'); | ||
@@ -17,0 +12,0 @@ /** |
{ | ||
"name": "@tokel/bitgo-komodo-cc-lib", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Client-side Bitcoin JavaScript library with Komodo cryptocondions support", | ||
@@ -39,7 +39,5 @@ "main": "./src/index.js", | ||
"dependencies": { | ||
"@tokel/cryptoconditions": "0.1.0", | ||
"bech32": "0.0.3", | ||
"bigi": "1.4.2", | ||
"bip66": "^1.1.0", | ||
"bip39": "2.6.0", | ||
"bitcoin-ops": "^1.3.0", | ||
@@ -54,2 +52,3 @@ "bitcoin-protocol": "^4.1.3", | ||
"create-hmac": "^1.1.3", | ||
"cryptoconditions-js": "git+https://github.com/dimxy/cryptoconditions-js.git#master", | ||
"debug": "~3.1.0", | ||
@@ -67,2 +66,3 @@ "ecurve": "^1.0.0", | ||
"safe-buffer": "^5.2.1", | ||
"secp256k1": "^3.5.2", | ||
"setimmediate": "^1.0.4", | ||
@@ -78,2 +78,3 @@ "sha.js": "2.4.11", | ||
"devDependencies": { | ||
"bip39": "^2.3.0", | ||
"bip65": "^1.0.1", | ||
@@ -80,0 +81,0 @@ "bs58": "^4.0.0", |
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
261187
10
7207
2
+ Addedcryptoconditions-js@git+https://github.com/dimxy/cryptoconditions-js.git#master
+ Addedsecp256k1@^3.5.2
- Removed@tokel/cryptoconditions@0.1.0
- Removedbip39@2.6.0
- Removed@tokel/cryptoconditions@0.1.0(transitive)
- Removedbip39@2.6.0(transitive)
- Removedpbkdf2@3.1.2(transitive)
- Removedunorm@1.6.0(transitive)