From a66b2b3f6d477307a26f119cb33734e80b472597 Mon Sep 17 00:00:00 2001 From: feruz Date: Sat, 18 Jul 2020 10:23:09 +0300 Subject: [PATCH] update dhive library --- 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 | 28 +++++++++---------- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 6b5b52c1e..12a127fab 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,13 @@ }, "dependencies": { "@babel/runtime": "^7.5.5", + "@esteemapp/dhive": "^0.14.2", "@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 86ee7e756..bcdcfb77c 100644 --- a/src/providers/steem/auth.js +++ b/src/providers/steem/auth.js @@ -1,4 +1,4 @@ -import * as dsteem from '@hiveio/dhive'; +import * as dsteem from '@esteemapp/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 0f2fc0a0e..56cbe5f6c 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 '@hiveio/dhive'; +import { Client, PrivateKey, cryptoUtils } from '@esteemapp/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 93667c791..be666e9ec 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 '@hiveio/dhive'; +import { Client } from '@esteemapp/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 2cca72035..940f89cd4 100644 --- a/src/utils/image.js +++ b/src/utils/image.js @@ -1,5 +1,5 @@ import CryptoJS from 'crypto-js'; -import * as dsteem from '@hiveio/dhive'; +import * as dsteem from '@esteemapp/dhive'; import { Buffer } from 'buffer'; import { proxifyImageSrc } from '@esteemapp/esteem-render-helpers'; diff --git a/yarn.lock b/yarn.lock index bcfbfb187..dddaa17e6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1131,6 +1131,20 @@ dependencies: "@types/hammerjs" "^2.0.36" +"@esteemapp/dhive@^0.14.2": + version "0.14.2" + resolved "https://registry.yarnpkg.com/@esteemapp/dhive/-/dhive-0.14.2.tgz#8368f884f7ba18d267516e34a503a747b2d9bc14" + integrity sha512-TMfQDISrHueh0j1/j9SF3krrc4+u5tMC34eL8X8RdMXyDMiZ9UKIf/qkHX9Qph/2Y5eijMsdGZMDRy/UCvwlig== + 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" + "@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" @@ -1248,20 +1262,6 @@ 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"