From 984f991d1aa59f13480ca2ce727556e9399d320a Mon Sep 17 00:00:00 2001 From: Dario Ramos Date: Tue, 27 Nov 2018 12:02:28 -0300 Subject: [PATCH] [KEOK-117] Use keoken-wallet-client package --- package-lock.json | 76 ++++++++++++++++++++-------------------- package.json | 2 +- src/providers/bwc/bwc.ts | 2 +- 3 files changed, 40 insertions(+), 40 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1e9a194c811..a7e8ea148ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3040,41 +3040,6 @@ } } }, - "bitcore-wallet-client": { - "version": "6.7.5", - "resolved": "https://registry.npmjs.org/bitcore-wallet-client/-/bitcore-wallet-client-6.7.5.tgz", - "integrity": "sha1-6oNm8NdDGMQ6squ/xE3lj95pwpg=", - "requires": { - "async": "^0.9.0", - "bip38": "^1.3.0", - "bitcore-lib": "^0.15.0", - "bitcore-lib-cash": "^0.16.1", - "bitcore-mnemonic": "^1.3.0", - "bitcore-payment-protocol": "^1.7.0", - "json-stable-stringify": "^1.0.0", - "lodash": "^4.17.4", - "preconditions": "^1.0.8", - "sjcl": "1.0.3", - "superagent": "^3.4.1" - }, - "dependencies": { - "preconditions": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/preconditions/-/preconditions-1.0.8.tgz", - "integrity": "sha1-e8GDHvaBVgLzrQxGloy3XrHZLMU=", - "requires": { - "lodash": "^2.4.1" - }, - "dependencies": { - "lodash": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-2.4.2.tgz", - "integrity": "sha1-+t2DS5aDBz2hebPq5tnA0VBT9z4=" - } - } - } - } - }, "bitsyntax": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.0.4.tgz", @@ -11111,6 +11076,41 @@ "colors": "^1.1.2" } }, + "keoken-wallet-client": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/keoken-wallet-client/-/keoken-wallet-client-6.8.0.tgz", + "integrity": "sha512-PgmwHmp3zFb3VRFsws4PgqPRharHjymJL1o7NZ9OByouJGAafctoidFXLUDAumUVQ+zcoH/GnCWj5GqwK+y9ew==", + "requires": { + "async": "^0.9.0", + "bip38": "^1.3.0", + "bitcore-lib": "^0.15.0", + "bitcore-lib-cash": "^0.16.1", + "bitcore-mnemonic": "^1.3.0", + "bitcore-payment-protocol": "^1.7.0", + "json-stable-stringify": "^1.0.0", + "lodash": "^4.17.4", + "preconditions": "^1.0.8", + "sjcl": "1.0.3", + "superagent": "^3.4.1" + }, + "dependencies": { + "preconditions": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/preconditions/-/preconditions-1.0.8.tgz", + "integrity": "sha1-e8GDHvaBVgLzrQxGloy3XrHZLMU=", + "requires": { + "lodash": "^2.4.1" + }, + "dependencies": { + "lodash": { + "version": "2.4.2", + "resolved": "http://registry.npmjs.org/lodash/-/lodash-2.4.2.tgz", + "integrity": "sha1-+t2DS5aDBz2hebPq5tnA0VBT9z4=" + } + } + } + } + }, "kew": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz", @@ -15217,7 +15217,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" + "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=" } } }, @@ -19187,7 +19187,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", "dev": true } } @@ -20084,7 +20084,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", "dev": true } } diff --git a/package.json b/package.json index ad18eaf71cc..e1003f85156 100644 --- a/package.json +++ b/package.json @@ -144,7 +144,7 @@ "@zxing/ngx-scanner": "1.2.0", "angular2-moment": "1.7.1", "bitauth": "git+https://github.com/bitpay/bitauth.git#copay", - "bitcore-wallet-client": "6.7.5", + "keoken-wallet-client": "6.8.0", "buffer-compare": "1.1.1", "chalk": "2.4.1", "config": "2.0.1", diff --git a/src/providers/bwc/bwc.ts b/src/providers/bwc/bwc.ts index 5c88c26af20..30b3cfc93b3 100644 --- a/src/providers/bwc/bwc.ts +++ b/src/providers/bwc/bwc.ts @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'; import { Logger } from '../../providers/logger/logger'; -import * as BWC from 'bitcore-wallet-client'; +import * as BWC from 'keoken-wallet-client'; @Injectable() export class BwcProvider {