diff --git a/package.json b/package.json index f64c90c3b..16e84af14 100644 --- a/package.json +++ b/package.json @@ -26,13 +26,13 @@ }, "dependencies": { "@babel/runtime": "^7.5.5", - "@esteemapp/dhive": "0.12.1", "@esteemapp/esteem-render-helpers": "^1.5.5", "@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.11.0", "@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 153bfd44b..8398eaa97 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 38282ec6b..990b9838a 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 '@hiveio/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 99a8b75be..044fa542f 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'; import { Platform } from 'react-native'; diff --git a/yarn.lock b/yarn.lock index 2d48563a1..be5a161a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -705,19 +705,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.5.5": version "1.5.5" resolved "https://registry.yarnpkg.com/@esteemapp/esteem-render-helpers/-/esteem-render-helpers-1.5.5.tgz#2ee61be38c48a5fa0d2a5ea23d7c50cc5548f551" @@ -837,6 +824,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" @@ -2629,7 +2630,7 @@ 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== @@ -6519,7 +6520,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== @@ -8305,7 +8306,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== @@ -9401,11 +9402,6 @@ whatwg-fetch@>=0.10.0, whatwg-fetch@^3.0.0: resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.3.1.tgz#6c1acf37dec176b0fd6bc9a74b616bec2f612935" integrity sha512-faXTmGDcLuEPBpJwb5LQfyxvubKiE+RlbmmweFGKjvIPFj4uHTTfdtTIkdTRhC6OSH9S9eyYbx8kZ0UEaQqYTA== -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"