From bce474147b66b461814b6451a8159ffc46342083 Mon Sep 17 00:00:00 2001 From: feruz Date: Sat, 18 Jul 2020 08:01:54 +0300 Subject: [PATCH] @esteemapp/dhive to @hiveio/dhive change --- package.json | 2 +- src/providers/steem/auth.js | 2 +- src/providers/steem/dsteem.js | 2 +- .../settings/container/settingsContainer.js | 2 +- src/utils/image.js | 2 +- yarn.lock | 42 +++++++++---------- 6 files changed, 24 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 74009c4b7..6b5b52c1e 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,13 @@ }, "dependencies": { "@babel/runtime": "^7.5.5", - "@esteemapp/dhive": "^0.12.1", "@esteemapp/esteem-render-helpers": "^1.3.8", "@esteemapp/react-native-autocomplete-input": "^4.2.1", "@esteemapp/react-native-modal-popover": "^0.0.15", "@esteemapp/react-native-multi-slider": "^1.1.0", "@esteemapp/react-native-render-html": "^4.1.5", "@esteemapp/react-native-slider": "^0.12.0", + "@hiveio/dhive": "^0.14.1", "@react-native-community/async-storage": "^1.7.1", "@react-native-community/cameraroll": "^1.3.0", "@react-native-community/cli-platform-ios": "^4.10.1", diff --git a/src/providers/steem/auth.js b/src/providers/steem/auth.js index bcdcfb77c..86ee7e756 100644 --- a/src/providers/steem/auth.js +++ b/src/providers/steem/auth.js @@ -1,4 +1,4 @@ -import * as dsteem from '@esteemapp/dhive'; +import * as dsteem from '@hiveio/dhive'; import sha256 from 'crypto-js/sha256'; import Config from 'react-native-config'; import get from 'lodash/get'; diff --git a/src/providers/steem/dsteem.js b/src/providers/steem/dsteem.js index 2d8f2c565..cd21336f4 100644 --- a/src/providers/steem/dsteem.js +++ b/src/providers/steem/dsteem.js @@ -2,7 +2,7 @@ // import '../../../shim'; // import * as bitcoin from 'bitcoinjs-lib'; -import { Client, PrivateKey, cryptoUtils } from '@esteemapp/dhive'; +import { Client, PrivateKey, cryptoUtils } from '@hiveio/dhive'; import hivesigner from 'hivesigner'; import Config from 'react-native-config'; import { get, has } from 'lodash'; diff --git a/src/screens/settings/container/settingsContainer.js b/src/screens/settings/container/settingsContainer.js index be666e9ec..c0c93a8ef 100644 --- a/src/screens/settings/container/settingsContainer.js +++ b/src/screens/settings/container/settingsContainer.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import { Platform } from 'react-native'; import { connect } from 'react-redux'; -import { Client } from '@esteemapp/dhive'; +import { Client } from '@hvieio/dhive'; import VersionNumber from 'react-native-version-number'; import Config from 'react-native-config'; import { injectIntl } from 'react-intl'; diff --git a/src/utils/image.js b/src/utils/image.js index 940f89cd4..2cca72035 100644 --- a/src/utils/image.js +++ b/src/utils/image.js @@ -1,5 +1,5 @@ import CryptoJS from 'crypto-js'; -import * as dsteem from '@esteemapp/dhive'; +import * as dsteem from '@hiveio/dhive'; import { Buffer } from 'buffer'; import { proxifyImageSrc } from '@esteemapp/esteem-render-helpers'; diff --git a/yarn.lock b/yarn.lock index 17ffc1d6e..bcfbfb187 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1131,19 +1131,6 @@ dependencies: "@types/hammerjs" "^2.0.36" -"@esteemapp/dhive@^0.12.1": - version "0.12.1" - resolved "https://registry.yarnpkg.com/@esteemapp/dhive/-/dhive-0.12.1.tgz#44291cb646a46aee7468cac4e2556a8b019e56ee" - integrity sha512-VSnYZFuajSINIVOaQqwqBB19QwVzmthB3OcRjFphrSvj7mVGpOTm4JCdZxwvjmwlSLf56huNXKrl+dofVwr+yQ== - dependencies: - bs58 "^4.0.1" - bytebuffer "^5.0.1" - core-js "^2.5.0" - node-fetch "^2.1.2" - secp256k1 "^3.3.1" - verror "^1.10.0" - whatwg-fetch "^2.0.3" - "@esteemapp/esteem-render-helpers@^1.3.8": version "1.4.4" resolved "https://registry.yarnpkg.com/@esteemapp/esteem-render-helpers/-/esteem-render-helpers-1.4.4.tgz#02360a8be20188009e4157d4956a7b74d473933f" @@ -1261,6 +1248,20 @@ dependencies: "@hapi/hoek" "^8.3.0" +"@hiveio/dhive@^0.14.1": + version "0.14.1" + resolved "https://registry.yarnpkg.com/@hiveio/dhive/-/dhive-0.14.1.tgz#1a6273d1544bd97bf2a047baa85a6afb4cecae78" + integrity sha512-80I1alxQW5Cnt61KvAuSa+dPH6V+JNrE/0vR+DgQGH9y8l3xmn+pr4TXNLtSvx37pI8Zt1UEPsgvren/R02WeQ== + dependencies: + bs58 "^4.0.1" + bytebuffer "^5.0.1" + core-js "^3.6.4" + cross-fetch "^3.0.4" + node-fetch "^2.6.0" + secp256k1 "^3.8.0" + verror "^1.10.0" + whatwg-fetch "^3.0.0" + "@jest/console@^24.7.1", "@jest/console@^24.9.0": version "24.9.0" resolved "https://registry.yarnpkg.com/@jest/console/-/console-24.9.0.tgz#79b1bc06fb74a8cfb01cbdedf945584b1b9707f0" @@ -3092,12 +3093,12 @@ core-js@^1.0.0: resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY= -core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0, core-js@^2.6.0: +core-js@^2.2.2, core-js@^2.4.0, core-js@^2.4.1, core-js@^2.6.0: version "2.6.11" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c" integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== -core-js@^3.1.4: +core-js@^3.1.4, core-js@^3.6.4: version "3.6.5" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.5.tgz#7395dc273af37fb2e50e9bd3d9fe841285231d1a" integrity sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA== @@ -3149,7 +3150,7 @@ create-react-class@*, create-react-class@^15.6.2, create-react-class@^15.6.3: loose-envify "^1.3.1" object-assign "^4.1.1" -cross-fetch@^3.0.1: +cross-fetch@^3.0.1, cross-fetch@^3.0.4: version "3.0.5" resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.0.5.tgz#2739d2981892e7ab488a7ad03b92df2816e03f4c" integrity sha512-FFLcLtraisj5eteosnX1gf01qYDCOc4fDy0+euOt8Kn9YBY2NtXL/pCoYPavw24NIQkQqm5ZOLsGD5Zzj0gyew== @@ -6934,7 +6935,7 @@ node-abi@^2.7.0: dependencies: semver "^5.4.1" -node-fetch@2.6.0, node-fetch@^2.1.2, node-fetch@^2.2.0, node-fetch@^2.5.0, node-fetch@^2.6.0: +node-fetch@2.6.0, node-fetch@^2.2.0, node-fetch@^2.5.0, node-fetch@^2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== @@ -8710,7 +8711,7 @@ scheduler@0.15.0, scheduler@^0.15.0: loose-envify "^1.1.0" object-assign "^4.1.1" -secp256k1@^3.3.1: +secp256k1@^3.8.0: version "3.8.0" resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.8.0.tgz#28f59f4b01dbee9575f56a47034b7d2e3b3b352d" integrity sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw== @@ -9806,11 +9807,6 @@ whatwg-fetch@>=0.10.0, whatwg-fetch@^3.0.0: resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.2.0.tgz#8e134f701f0a4ab5fda82626f113e2b647fd16dc" integrity sha512-SdGPoQMMnzVYThUbSrEvqTlkvC1Ux27NehaJ/GUHBfNrh5Mjg+1/uRyFMwVnxO2MrikMWvWAqUGgQOfVU4hT7w== -whatwg-fetch@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" - integrity sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng== - whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"